1 / 42

Digital Audio Controller 2302

Digital Audio Controller 2302. Ece345 Senior Design Project by Todd “Slave-Driver” Konecny Jay “Late-Night” Burgett Insoo “Ninja” Shin April 25, 2001. Introduction.

alden
Download Presentation

Digital Audio Controller 2302

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. Digital Audio Controller 2302 Ece345 Senior Design Project by Todd “Slave-Driver” Konecny Jay “Late-Night” Burgett Insoo “Ninja” Shin April 25, 2001

  2. Introduction Based on an overall team interest in DSP coding and a desire to experiment with analog circuitry, we proposed to create the Digital Audio Controller 2302. This project was intended to emphasize an exploration in operational amplifier theory and the use of digital filtering to create a high-fidelity device that could be used in the real world.

  3. Project Objective • To design a high fidelity audio spectrum controller using digital and analog components that is compatible with professional audio equipment.

  4. Device Description • Audio crossover to be accessed by D.J.’s to control a sound system’s response, much like a conventional equalizer, but with limited, more powerful controls. • Hybrid design using digital filters and analog amplifiers to modify a stereo program by altering band gains and/or selectively muting bands.

  5. Device Description • Accepts a stereo analog program as input. • DSP divides the stereo program into six bands: right and left lows, mids, and highs. • Analog circuitry accepts these six signals and controls stereo pairs of bands with three potentiometers and three mute buttons. • Analog circuitry recombines the bands and outputs a stereo program.

  6. Software Overview • High and low-pass filters designed using Matlab. • FIR filters guarantee linear phase shift across the spectrum. • High number of coefficients provides for < 1% magnitude ripple. • View response using Matlab’s graphing functions.

  7. Software Overview • Initial filter. • Removes aliasing error caused by filters on DSP board allowing frequencies greater than the Nyquist frequency into A/D converters. • Low-pass at 18khz.

  8. Software Overview Initial Filter Response

  9. Software Overview • Second filter (diagram). • High-pass filter at 3kHz produces high band. • Delay included to re-align high bands with mid and low bands after multi-rate occurs. • Third filter (diagram). • Low-pass filter at 3kHz. • Output contains mid and low bands information.

  10. Software Overview Second and Third Filter Response

  11. Software Overview • Down-sample by 3. • Allows for smoother low and mid-pass filter responses. • Consists of making every second and third sample equal to zero.

  12. Software Overview • Fourth filter (diagram). • High pass at 150Hz creates mid bands. • Fifth filter (diagram). • Low pass at 150Hz creates low bands.

  13. Software Overview Fourth and Fifth Filter Response

  14. Software Overview • Up-sample by 3. • Consists of inserting two zeros between every sample. • Restores frequencies to correct positions. • Creates images in the baseband that must be filtered.

  15. Software Overview • Anti-image filter (diagram). • Removes images created by multi-rate processing. • Filter is divided into three sets of coefficients and only one set is run each loop according to the value of a counter. • Output. • Each band is output individually. • High band phase-aligned with mid/low bands.

  16. Software Overview Anti-image Response

  17. Software Overview In High Out LPF HPF Z-1 To X LPF 3 X Mid Out HPF HPF 3 Low Out LPF 3 LPF Block Diagram

  18. Software Overview • Software is tested by mathematically comparing an input waveform to its output waveform using an oscilloscope. • Response of digital processing is shown to be within specifications.

  19. Hardware Overview • Input Level Indicator • Optimizes input level of signal going into DSP to maximize resolution • National Semiconductor LM3916 Dot/Bar Display Driver

  20. Hardware Overview • Analog Input Stage • Compatible with pro-audio industry standards • National Semiconductor LM318 • Gain of an op-amp is defined as:

  21. Hardware Overview • Analog Input Stage (continued). • High-frequency compensation filters on each amplifier stage.

  22. Hardware Overview

  23. Hardware Overview Analog Input Stage

  24. Hardware Overview • Analog Input Stage Frequency Response

  25. Hardware Overview • Analog Gain Stage • If pot fully clockwise, 2.5dB boost is enabled • If pot fully counter-clockwise, gain fully attenuated

  26. Hardware Overview Analog Gain Stage

  27. Hardware Overview • Analog Servo Circuit • Strips DC and extremely low-frequencies from signal w/out using coupling capacitors • Miller integrator forms core of servo

  28. Hardware Overview Servo Circuit Response

  29. Hardware Overview • Summing Stage • Weighted summer using LM318 op-amp • Combine the three frequency bands (low, mid, high) into a single output (left/right)

  30. Hardware Overview Analog Summer Stage

  31. Hardware Overview • Output Stage. • Texas Instruments NE5534 op-amps used for drive capabilities. • Differential output compatible with audio industries standard XLR plugs.

  32. Hardware Overview …Continued

  33. Hardware Overview Output Stage

  34. Phase Plot of Differential Output 40d -0d -40d -80d -120d -160d -200d 0Hz 50KHz 100KHz 150KHz 200KHz 250KHz 300KHz 350KHz 400KHz 450KHz 500KHz VP(R14:2) VP(R10:1) Frequency

  35. Verification of Hardware • Setup input signal to circuit. • Frequencies of: 50Hz, 500Hz, 2kHz, 8kHz, 16kHz, and 20kHz. • Measurements taken with HP Vector Signal Analyzer. • Averaged the three frequency bands for the LEFT and RIGHT. • Gain values match calculated design values. • Left and Right circuitry highly symmetrical.

  36. Verification of Hardware Input Stage

  37. Verification of Hardware Gain Stage

  38. Verification of Hardware Summing Stage

  39. Verification Of Hardware Output Stage

  40. Project Successes • Design successfully meets proposal description and specifications. • Device functions properly and sounds great! • Less than 1% distortion from input to output. • Team learned a great deal about op-amps and digital filtering.

  41. Challenges • Software. • Minimizing ripple in filters. • Getting code to run within one sample period. • Hardware. • Choosing operational amplifier models. • Choosing values for passive components. • Wiring!

  42. Recommendations • Explore the use of serial control over DSP to accomplish gain & muting. • Use analog ramp circuits to eliminate “click” from muting of circuit.

More Related