Operational Amplifier
(Op-Amp)
1. You will use the Op-Amp in “open-loop” configuration in
this part, where input signals will be applied directly to the pins 2 and 3.
a. Apply 0 V to the inverting input. Sweep the
non-inverting input (Vin) from -5 V to 5 V with 1 V steps. Take more
steps around 0 V (both positive and negative). Create a table for Vin
and Vout. Plot the data (Vout vs Vin). Discuss
your results. What would be the ideal plot?
In this open loop configuration the Op-Amp will Function as a comparator. The Op-Amp's output will be equal to the V+ input if the Non-Inverting (+) input is grater that the Inverting Input (-). An Ideal Model of this Circuit would see an output of +5V for any positive input, 0V if 0V is input, and -5V for any Negative input. But because our circuit is not a theoretical model there is a small loss between our V+/V- inputs and our V-out output. This leaves us with an output range of [-3.63, 4.46] Volts. Additionally under ideal circumstances we would have achieved a 0V output when 0V was present at terminal (-).
In this open loop configuration the Op-Amp will Function as a comparator. The Op-Amp's output will be equal to the V+ input if the Non-Inverting (+) input is grater that the Inverting Input (-). An Ideal Model of this Circuit would see an output of +5V for any positive input, 0V if 0V is input, and -5V for any Negative input. But because our circuit is not a theoretical model there is a small loss between our V+/V- inputs and our V-out output. This leaves us with an output range of [-3.63, 4.46] Volts. Additionally under ideal circumstances we would have achieved a 0V output when 0V was present at terminal (-).
b. Apply 0 V to the non-inverting input. Sweep the
inverting input (Vin) from -5 V to 5 V with 1 V steps. Take more
steps around 0 V (both positive and negative). Create a table for Vin
and Vout. Plot the data (Vout vs Vin). Discuss
your results. What would be the ideal plot?
As stated in 1A this Op-Amp is again acting as a compatator. When a positive voltage is applied to the Inverting Input (-) the Op-Amp's output is negative because:
Voltage at terminal (-) is greater than voltage at terminal (+)
Similarly when a negative voltage is applied to terminal (-) the Op-Amp's output is positive because:
Voltage at terminal (+) is greater than voltage at terminal (-)
If out circuit achieved ideal results the output range would be
[-5, 5] instead of the [-3.7, 4.45] that we achieved. Additionally under ideal circumstances we would have achieved a 0V output when 0V was present at terminal (-).
| Open Loop Inverting Input vs Output Voltage |
When we constructed the Non-Inverting Amplifier as described above according to a theoretical model we should have been able to achieve a gain of 3x as calculated (1+R2/R1) surprisingly at +1V and -1V inputs we actually exceeded this the ideal gain with outputs of 3.07 and -3.23 Volts. Our Minimum/Maximum outputs, however; did not achieve the ideal Minimum/Maximum output range of [-5, 5] Volts as our range was [-3.58, 4.19] Volts.
The Data we collected from this circuit is displayed in the
Table and Scatter Plot below
| Data from our Non-Inverting Amplifier Circuit including Ideal (Theoretical) and Actual Gain |
| Non-Inverting Amplifier: Non-Inverting Input vs Output Voltage |
3. Create an inverting amplifier. (Rf = 2 kΩ, Rin = 1 kΩ). Sweep Vin from -5 V to 5 V with 1 V steps. Create a table for Vin and Vout. Plot the measured and calculated data together.
When we constructed the Inverting Amplifier as described above according to a theoretical model we should have been able to achieve a gain of 2x as calculated (1+R2/R1) surprisingly at +1V and -1V inputs we actually achieved or exceeded this the ideal gain with outputs of -2.24 and exactly 2.00 Volts. Our Minimum/Maximum outputs, however; did not achieve the ideal Minimum/Maximum output range of [-5, 5] Volts as our range was [-3.49, 4.16] Volts.
The Data we collected from this circuit is displayed in the
Table and Scatter Plot below
4. Explain
how an Op-Amp works. How come is the gain of the Op-Amp in the open loop
configuration too high but inverting/non-inverting amplifier configurations
provide such a small gain?
In the open loop configuration the Op-Amp does not actually act as an amplifier, but functions essentially as a comparator. If the Non-Inverting (+) input Exceeds the Inverting (-) input it's output is equal to whatever voltage is present on the V+ input. Conversely if the Inverting (-) input Exceeds the Non-Inverting (+) input it's output is equal to whatever voltage is present on the V- input.
It is only when connecting to a larger circuit with a pair of resistors that the Op-Amp can actually act as an amplifier. Of the two possible configurations (Inverting and Non-Inverting) the Non-Inverting Amplifier achieves a slightly smaller gain calculated as 1(R2/R1) while an Inverting Amplifier only achieves a gain of -1(R2/R1).
Temperature Sensor:
Put TMP36 temp sensor on breadboard. Connect the +VS to 5 volts and GND to ground.
Using a voltage meter, measure the output
voltage from the VOUT. Now put your finger (or cover the sensor with
your palm) on the TMP36 temperature sensor for a while, observing how the
output voltage changes. Check Fig. 6 in the data sheet (EXPLAIN).
As the Data we collected in the table below demonstrates our temperature sensor acts as a variable resistor as with resistance decreasing as temperature increases. To test the sensor we connected it to a 5V power source and read it's output voltage at room temperature, squeezed between my fingers for body heat, and when exposed to a standard Hair Dryer on the high setting.
As the Data we collected in the table below demonstrates our temperature sensor acts as a variable resistor as with resistance decreasing as temperature increases. To test the sensor we connected it to a 5V power source and read it's output voltage at room temperature, squeezed between my fingers for body heat, and when exposed to a standard Hair Dryer on the high setting.
Relay:
1.
Connect your DC power supply to pin 2 and ground
pin 5. Set your power supply to 0V. Switch your multi-meter to measure the
resistance mode; use your multi-meter to measure the resistance between pin 4
and pin 1. Do the same measurement between pin 3 and pin 1. Explain your
findings (EXPLAIN).
With no voltage present on pin 2 of the relay continuity exists between pins 1 and 4, this is not surprising because in it's de-energized position a closed contact connects pins 1 and 4. These contacts remained closed as we applied an gradually increasing voltage to pin 2 until we reached 6V at which time the relay energized breaking the circuit, at which point the Ohm-meter read OL.
The opposite is true when reading the voltage from pin 1 to pin 3. When 0-5 Volts an open circuit existed between the pins with the Ohm-meter reading OL, then when as the Voltage on Pin 2 was increased to 6 Volts the Relay energized closing the contacts between Pins 1 and 3 creating continuity.
With no voltage present on pin 2 of the relay continuity exists between pins 1 and 4, this is not surprising because in it's de-energized position a closed contact connects pins 1 and 4. These contacts remained closed as we applied an gradually increasing voltage to pin 2 until we reached 6V at which time the relay energized breaking the circuit, at which point the Ohm-meter read OL.
The opposite is true when reading the voltage from pin 1 to pin 3. When 0-5 Volts an open circuit existed between the pins with the Ohm-meter reading OL, then when as the Voltage on Pin 2 was increased to 6 Volts the Relay energized closing the contacts between Pins 1 and 3 creating continuity.
The exact readings measured across Pins 1&3 and Pins 1&4 can be seen on the table below.
2. Now sweep your DC power supply from 0V to 8V and back to 0V. What do you observe at the multi-meter (resistance measurements similar to #1)? Did you hear a clicking sound? How many times? What is the “threshold voltage values” that cause the “switching?” (EXPLAIN with a VIDEO).
Chris Explains the operation of our relay as voltage on pin 2 in cycled from 0-8 VDC
We found the Relay had a Threshold Voltage of about 6 Volts and when it was reached we could hear an audible click as it energized. We heard the clicking again when we turned the Voltage down to 2 Volts and the Relay De-Energized.
3. How does the relay work? Apply a separate DC
voltage of 5 V to pin 1. Check the voltage value of pin 3 and pin 4 (each with
respect to ground) while switching the relay (EXPLAIN
with a VIDEO).
A relay operates by using an electro-magnetic coil to actuate one or more internal switch(s). This is useful because a relatively small voltage can be used to control the relay, which in turn can then be used connect/disconnect a different voltage source to components as needed. A common use for a relay to use a low amperage DC power source to control a high amperage AC power source.
LED + Relay
Operational Amplifier
2. Use your temperature sensor as your input. Do you think you can generate enough voltage to trigger the relay? (EXPLAIN)
4. BONUS! Show the operation of the entire circuit. (VIDEO)
A relay operates by using an electro-magnetic coil to actuate one or more internal switch(s). This is useful because a relatively small voltage can be used to control the relay, which in turn can then be used connect/disconnect a different voltage source to components as needed. A common use for a relay to use a low amperage DC power source to control a high amperage AC power source.
Kevin Explains Basic Relay Operation
LED + Relay
1. Connect positive end of the LED diode to the pin
3 of the relay and negative end to a 100 ohm resistor. Ground the other end of
the resistor. Negative end of the diode will be the shorter wire.
2. Apply 3 V to pin 1
3.
Turn LED on/off by switching the relay. Explain
your results in the video. Draw the
circuit schematic (VIDEO)
Kevin demonstrates the circuit's operation
Operational Amplifier
1.
Connect the power supplies to the op-amp (+10V
and 0V). Show the operation of LM 124 operational amplifier in DC mode with a
non-inverting amplifier configuration. Choose any Op-Amp in the IC. Method: Use
several R1 and R2 configurations and change your input voltage (voltages
between 0 and 10V) and record your output voltage. (EXPLAIN
with a TABLE)
2. Use your temperature sensor as your input. Do you think you can generate enough voltage to trigger the relay? (EXPLAIN)
The temperature sensor can't produce enough voltage to trigger the relay on its own, however the voltage could be amplified with an Op-Amp to a reach the relay's threshold.
The relay needs about 6 volts to actuate, and the temperature sensor can only put out about 1.4 volts even when exposed to our heat source's maximum output. A non-inverting Op-Amp can amplify that voltage from 1.4 volts to 6 volts easily, triggering the relay.
The relay needs about 6 volts to actuate, and the temperature sensor can only put out about 1.4 volts even when exposed to our heat source's maximum output. A non-inverting Op-Amp can amplify that voltage from 1.4 volts to 6 volts easily, triggering the relay.
3.
Design a system where LED light turns on when
you heat up the temperature sensor. (CIRCUIT schematic
and explanation in a VIDEO)
Kevin explains the final circuit setup.
4. BONUS! Show the operation of the entire circuit. (VIDEO)
Chris Demonstrates our Final Circuit in Action.




















