Analog Circuits and Filtering To amplify a signal from an IR (infrared) receiver, change its DC level and amplitude, filter it to remove unwanted noise, and convert its amplitude to a DC signal (peak detect). These functions are the core elements of an infrared homing system. You will also connect the final output from the circuit into analog input of the TINAH board. Peak Detector This circuit is capable of tracking the amplitude of a sinusoid with a response time constant of R1C1, where R1C1 determines the response time of the peak tracking. 0. Read through all lab steps, and draw initial schematics for each stage in your logbook. 1. Wire up a phototransistor (OP 805) on your protoboard. You can use the test circuit shown in the data sheet. Make sure you do not exceed the maximum voltage ratings for these devices. Notes: The phototransistor has a base lead to allow the transistor to be turned on electrically rather than with light. You do not need to wire the base to anything – if you do run current into the base, it will tend to turn on the transistor just like light falling on it would. The outer case of the OP805 is electrically connected to the collector pin as well (look carefully at the pinout diagram). This means the outer case of the OP805 should not come into electrical contact with any other live element on the circuit. 2. Expose the phototransistor to a flashing IR source. Measure the output of the waveform on the oscilloscope. Note the amplitude and frequency response of the phototransistor. 2. a. Build your own IR Emitter (optional but highly recommended). There are four IR Emitter Box sources in the classroom (the grey emitter boxes) which can produce 1 kHz and 10 kHz sine waves and square wave output in the infrared. If you use the IR Emitters, you may want to carry the battery charger with them as well, as they will only last ~1hr without charging. These are the same IR Emitters that will be used on the competition surface. However, there are only four of these IR sources, and the frequencies are fixed. It is advantageous for you to make your own IR LED emitter source, and drive it with the function generator. You can keep this setup at your workbench, and you can vary the frequency continuously and see the frequency response of your system. See the diagram below for a schematic of the IR LED with resistor, and the desired output from the function generator (question: what happens if the voltage going to the IR LED goes below ground?) 3. Design and wire up amplification and filtering in your circuit. You may decide to put amplification before filtering, filtering before amplification, or amplification before and after filtering, it’s up to you. Keep in mind that to make debugging easier, it is usually best to to build and test each stage separately if possible (or at least to allow for each stage to be disconnected and tested separately if it doesn’t work out nicely). 3.a.) Design and wire up an amplifier or sets of amplifiers to amplify the output waveform. A few points to keep in mind as you include amplification in your circuit 3.b.) Design and wire up a band pass filter to detect a 10kHz IR sine wave signal and reject noise at other frequencies. Test the amount of rejection you have achieved by exposing your circuit to a 1 kHz IR sine wave. When designing the circuit, make sure the output of your peak detector swings between 0-5V to match the input range of the TINAH Board. 4. Design and build a peak detector to produce a DC analog signal proportional to the amplitude of the detected IR signal. As you put this together, think about what RC time constant you should aim for in your peak detector circuit. 5. Examine the input and output voltage limits of the amplifier. Note what happens to the output voltage as the input voltage gets close to the power rails values (close to -15V or to +15V). You can see this effect when you have a stage with high gain, and increase the input to “saturate” the circuit. You should examine your output stage by stage, and see the effects of saturating your signal and how it cascades through each stage of your circuit. *** NB: Go through Step 5 slowly, as there are often subtle issues with amplification, saturation, and exceeding voltage levels which can be traced back to input or output levels exceeding the maximum ranges. 6. Connect the IR circuit output to an Analog Input on the TINAH board. Hook up the output of your IR detector circuit to an analog input. Write a program to display IR amplitude readings on the LCD display. You will also want to protect the output using Overvoltage protection, as described below: Overvoltage protection. Use a zener diode to make sure the signal is in the range 0 to 5V before plugging it into the TINAH Board. The zener diodes available in the lab are BZX79C5V, rated for 0.5 Watt of power. Work out an appropriate resistor value for placing in line with the output value if the input of the circuit. See how to use zener diodes as voltage clamps for overvoltage protection [The Circuit Designer’s Companion, pg. 120, Tim Williams] Show the following to a TA/instructor. End of page. Objective
References
Pre-Lab
Operational Amplifier Circuits
Lab
Milestone
- Home
- ProjectLab
- ENPH 479 (Fall 2019)
- ENPH 459 (Fall 2019-Spring 2020)
- ENPH 353 - 2019 Term 2
- ENPH 253 (Summer 2019)
- Guides for 459/479
- ENPH 480/481
- Info for Project Sponsors
- Available Projects
- Hennings 115
- Lab Resources
- Student Awards
- Sign-Up Page
- Jobs
- Events and Talks
- Course Archive
- APSC 278 - 2018March
- ENPH 259 - presentations (2017 Nov)
- Sign-Up Page (APSC 101)
- Arduino (CUEBC 2016)
- COMM 386p (fall 2016)
- COMM 386p (Spring 2016)
- BAEN 580B (2015)
- BAEN 580B (2014)
- BAEN 542 (2013)
- Arduino Hands-On (2015)
- APSC 150 (Feb 2015)
- APSC 150 (Sept 2014)
- APSC 150 Tut 1.4 (Jan 2013)
- ENPH 459 (fall 2014)
- APSC 150 - electronics (2013)
- APSC 150 - Hand Tools (2013)
- IGEN 230 - mini-bootcamp (2012)
- PHYS 350 - projects (2017Jan-Apr)
- ENPH 479 (fall 2017)
- ENPH 479 (fall 2016)
- ENPH 479 (fall 2015)
- ENPH 479 (fall 2014)
- ENPH 479 (2013)
- ENPH 479 (2012)
- ENPH 479 - 2011/12
- APSC 479 - 2010/2011
- APSC 479 - 2009/10
- ENPH 459 (Fall 2018-Spring 2019)
- ENPH 459 (fall 2017)
- ENPH 459 (fall 2016)
- ENPH 459 (fall 2015)
- ENPH 459 (2013)
- ENPH 459 (2012)
- ENPH 459 - 2011/12
- APSC 459 - 2009/10
- APSC 459 2010/2011
- ENPH 253 (2018)
- ENPH 253 (2017)
- ENPH 253 (2016)
- ENPH 253 (2015)
- ENPH 253 (2014)
- ENPH 253 (summer 2013)
- ENPH 253 - 2012
- Phys 253-2011
- PHYS253 - 2010
- Phys 253 2009
- MINE 432 - Fall 2014
- PHYS 350 - projects (2011/12)
- MINE 432 - Fall 2010