Presentation is loading. Please wait.

Presentation is loading. Please wait.

April 17, 2015Jonathan Valvano EE445M/EE380L.6 Recap RTOS Debugging/verification Lab 4 Application of RTOS Input sound, analog filter Digital filter, FFT.

Similar presentations


Presentation on theme: "April 17, 2015Jonathan Valvano EE445M/EE380L.6 Recap RTOS Debugging/verification Lab 4 Application of RTOS Input sound, analog filter Digital filter, FFT."— Presentation transcript:

1 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Recap RTOS Debugging/verification Lab 4 Application of RTOS Input sound, analog filter Digital filter, FFT Display amplitude versus freq on the oLED

2 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Objectives Analog circuit design with single supply –MAX494CPD/TLC2274ACN rail to rail op amp Instrumentation amps (EE445L) –INA122 Noise measurements and reduction Electret microphones IR distance sensor

3 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Convert to single supply Vcc = 3.3V, start with design using +Vs -Vs Assume ADC range is 0 to Vmax (0 to 3V) Add an analog reference, Vref = ½ Vmax Map -Vs (-12)todigital ground Analog groundtoVref reference +Vs (+12)toVcc supply Reference EE345L book, chapter 5

4 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Inverting amp Use a rail-to-rail opamp and map -Vs todigital ground Analog groundtoVref reference +Vs toVcc supply

5 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Original design Vout = 2Vin with some LPF

6 April 17, 2015Jonathan Valvano EE445M/EE380L.6 New design Vout = 2Vin-1.23 with some LPF

7 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Instrumentation amp Necessary conditions (must be true) –Differential input Motivation (at least one must be true) –Large gain –Large CMRR –Low noise –Small package –Large input impedance

8 April 17, 2015Jonathan Valvano EE445M/EE380L.6 INA122 Final exam 2006, Q5 Vout = Gain*(V1-V2) + Vpin5 V1 V2 Vout Vpin5

9 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Magnetic field noise How do you reduce S?

10 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Electric field noise How do you reduce C? C

11 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Measure noise DVM (AC mode) Oscilloscope (line trigger) Spectrum analyzer

12 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Reduce noise 1) Reducing noise from the source –enclose noisy sources in a grounded metal box –filter noisy signals –limit the rise/fall times of noisy signals. –limiting the dI/dt in the coil.

13 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Reduce noise 2) limiting the coupling between the noise source and your instrument. –Maximize the distance from source to instrument –Cables with noisy signals should be twisted together, –Cables should also be shielded. –For high frequency signals, use coaxial –Reduce the length of a cable –Place the delicate electronics in a grounded case –Optical or transformer isolation circuits

14 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Reduce noise 2) limiting the coupling between the noise source and your instrument.

15 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Reduce noise –3) reduce noise at the receiver. –bandwidth should be as small as possible. –add frequency-reject digital filters –use power supply decoupling capacitors on each –twisted wires then Id1 should equal Id2. –V1-V2 = Rs1 Id1 - Rs2 Id2.

16 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Electret microphone

17 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Typical cross section of an ECM JFET buffer Phantom Biasing Data sheet says 2k

18 April 17, 2015Jonathan Valvano EE445M/EE380L.6 Electret interface Bias HPF Offset for single supply operation Balance Z to subtract bias current LPF LPF fc = 1/(2  R13*C6) HPF fc = 1/(2  R9||R10)*C5) Gain = 1+R13/R12 Use max494

19 Show Measurements April 17, 2015Jonathan Valvano EE445M/EE380L.6 Noise o DVM o AC mode on scope o Spectrum analyzer Signal o Peak to peak o Spectrum

20 Sharp GP2Y0A21YK April 17, 2015Jonathan Valvano EE445M/EE380L.6 You will need 5V to power IR sensor Needs analog LPF Reduces noise Analog input protection Needs digital median filter Needs 10  F or larger +5V to gnd cap for each sensor

21 Sharp GP2Y0A21YK April 17, 2015Jonathan Valvano EE445M/EE380L.6 d (cm)1/dADC

22 Sharp GP2Y0A21YK April 17, 2015Jonathan Valvano EE445M/EE380L.6 Accuracy => calibration Resolution => noise ADC = 6707/d+40 d = 6707/(ADC-40) d (0.01cm) = /(ADC-40)


Download ppt "April 17, 2015Jonathan Valvano EE445M/EE380L.6 Recap RTOS Debugging/verification Lab 4 Application of RTOS Input sound, analog filter Digital filter, FFT."

Similar presentations


Ads by Google