1 / 28

Self-Calibrating Audio Signal Equalization

Self-Calibrating Audio Signal Equalization. Greg Burns Wade Lindsey Kevin McLanahan Jack Samet. Project Scope. In any closed room, standing waves exist that change the way audio signals arrive at the ear.

amina
Télécharger la présentation

Self-Calibrating Audio Signal Equalization

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Self-Calibrating Audio Signal Equalization Greg Burns Wade Lindsey Kevin McLanahan Jack Samet

  2. Project Scope • In any closed room, standing waves exist that change the way audio signals arrive at the ear. • Variations in amplifier design, speaker efficiency, and room geometry affect the frequency response, degrading it from flat-band operation. • The goal of this project is to automatically calibrate an audio signal to compensate for these effects. Group 15 - Wade Lindsey

  3. Audio Fundamentals • Pink Noise is a randomly generated signal that exhibits a constant voltage per octave. • A spectrum analyzer can be used to obtain the actual frequency response of an audio signal when placed in a test position in a room. • A graphic equalizer can then be used to adjust the amplifier input to compensate for any deviations off flat-band response Group 15 - Wade Lindsey

  4. Block Diagram Sensor Array PIC Microcontroller Pink Noise Generator MUX Spectrum Analyzer Equalizer Audio Preamp Group 15 - Wade Lindsey

  5. Block Diagram Sensor Array PIC Microcontroller Pink Noise Generator Equalizer MUX Spectrum Analyzer Audio Preamp Group 15 - Wade Lindsey

  6. Equalizer Specifications • 10 Bands (32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384 Hz) • Filters, input, and output constructed using LM351 op-amps • Discrete components and 10kΩ DS1803 digital potentiometers Group 15 - Wade Lindsey

  7. 10-Band Equalizer Circuit Group 15 - Wade Lindsey

  8. Built Equalizer Group 15 - Wade Lindsey

  9. Equalizer Response • Frequency response of equalizer with varying resistances tested with HP VEE. Group 15 - Wade Lindsey

  10. Block Diagram Sensor Array PIC Microcontroller Pink Noise Generator MUX Spectrum Analyzer Equalizer Audio Preamp Group 15 - Kevin McLanahan

  11. Block Diagram Sensor Array PIC Microcontroller Pink Noise Generator MUX Spectrum Analyzer Equalizer Audio Preamp Group 15 - Kevin McLanahan

  12. Pink Noise Specifications • Creates pseudorandom digital noise for white noise in first stage at 3dB/dec • Second stage pink noise filter at -3dB/dec • Frequency response 20 Hz – 20 kHz • 33-bit resolution in shift register for pseudorandom number generation • Line level output at 150mV rms Group 15 - Kevin McLanahan

  13. Pink Noise Generation • Equal voltage per octave across audio band. • FFT of Pink Noise viewed on oscilloscope. Group 15 - Kevin McLanahan

  14. Block Diagram Sensor Array PIC Microcontroller Pink Noise Generator MUX Spectrum Analyzer Equalizer Audio Preamp Group 15 - Kevin McLanahan

  15. Block Diagram Sensor Array PIC Microcontroller Pink Noise Generator MUX Spectrum Analyzer Equalizer Audio Preamp Group 15 - Kevin McLanahan

  16. Spectrum Analyzer • Samples input signal from microphone • Performs an FFT (Fast Fourier Transform) algorithm to extract frequency components • Compares relative frequency levels to optimal flat-band response • Samples microphone input at 19.2 μs • Sample length of 256 data points at 8-bit resolution Group 15 - Kevin McLanahan

  17. FFT Explained • Implementing Cooley/Tukey FFT algorithm. • Has Big O of N log N • Takes Fourier matrix of power 2 (28 in our case) • Breaks into 2 log N matrices and performs multiplications on roots of unity (e2πihk/N) • Ultimate result returns a vector with frequency, phase, and magnitude information. Group 15 - Kevin McLanahan

  18. Block Diagram Sensor Array PIC Microcontroller Pink Noise Generator MUX Spectrum Analyzer Equalizer Audio Preamp Group 15 - Greg Burns

  19. Block Diagram Sensor Array PIC Microcontroller Pink Noise Generator MUX Spectrum Analyzer Equalizer Audio Preamp Group 15 - Greg Burns

  20. Microcontroller Software Initialization Mode Sets all initial variables and default settings. Outputs pink noise signal through speakers, receives spectral data from analyzer, and adjusts equalizer to compensate. Calibration Mode Operation Mode Resets MUX to audio source and selects current room location to compensate. Group 15 - Greg Burns

  21. Initialization Mode • Sets system timers and interrupts • Configures input and output pins • Defaults variables to initial conditions • Initializes I2C transfers • Sets digital pots to a predetermined ideal flat-band response Group 15 - Greg Burns

  22. Calibration Mode • Gathers data from spectrum analyzer output • Compares current frequency response peaks to ideal response • Adjusts digital potentiometers based upon previous comparison • Repeats until current frequency response and ideal response fall within 5% tolerance • Calibrates for every room position Group 15 - Greg Burns

  23. Operation Mode • Switches audio source from pink noise to preamp • Sets digital pots to specific values corresponding to room location • Monitors Sensor Arrays for room location variations Group 15 - Greg Burns

  24. Block Diagram Sensor Array PIC Microcontroller Pink Noise Generator MUX Spectrum Analyzer Equalizer Audio Preamp Group 15 - Jack Samet

  25. Future Improvements • Increased number of frequency bands on EQ • Use of DSP processor for improved FFT performance • Use of audio-grade tolerance components • Allow for wide variety of sensor array configurations Group 15 - Jack Samet

  26. Conclusions • Economically feasible and marketable • Modular design allows for easy implementation, innovation, and reproduction • Compatible with most modern stereo systems • Overall a universally usable product from personal to commercial applications Group 15 - Jack Samet

  27. Questions? Group 15

  28. Fin Group 15

More Related