Download Test Circuit

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Electromagnetic compatibility wikipedia , lookup

History of electric power transmission wikipedia , lookup

Variable-frequency drive wikipedia , lookup

Power inverter wikipedia , lookup

Ohm's law wikipedia , lookup

Portable appliance testing wikipedia , lookup

Electrical substation wikipedia , lookup

Immunity-aware programming wikipedia , lookup

Current source wikipedia , lookup

Pulse-width modulation wikipedia , lookup

Islanding wikipedia , lookup

Power MOSFET wikipedia , lookup

Oscilloscope history wikipedia , lookup

Triode wikipedia , lookup

Potentiometer wikipedia , lookup

Rectifier wikipedia , lookup

Integrating ADC wikipedia , lookup

Surge protector wikipedia , lookup

Power electronics wikipedia , lookup

Analog-to-digital converter wikipedia , lookup

Automatic test equipment wikipedia , lookup

Alternating current wikipedia , lookup

Metadyne wikipedia , lookup

Stray voltage wikipedia , lookup

Resistive opto-isolator wikipedia , lookup

Buck converter wikipedia , lookup

Multimeter wikipedia , lookup

Voltage regulator wikipedia , lookup

Current mirror wikipedia , lookup

Voltage optimisation wikipedia , lookup

Switched-mode power supply wikipedia , lookup

Schmitt trigger wikipedia , lookup

Mains electricity wikipedia , lookup

Opto-isolator wikipedia , lookup

Transcript
COMPARATOR TEST CIRCUIT
A comparator is an analog circuit that watches and compares two input voltages. One is
called the reference voltage (Vref) and the other is the input voltage (Vin). Depending on
how you hook it up, you can make an output signal change state (go from low to high, or
go from high to low) based on whether Vin rises above or falls below Vref.
Comparators are good at "conditioning" analog signals and changing them into digital signals.
The output can be directly hooked up directly to any logic input such as on another chip,
a BASIC Stamp, a solid state relay etc. you can also hook it up to a transistor (like a TIP122 or
TIP127) to control a motor, relay etc. Set up the test circuit below and read the descriptions to
get a feel for how it works, and then try out some of the circuits on the sample circuit handout.
LED
pins 1,5,8 on 741
are not connected.
+
+
1K
8
7
6
741 op−amp
−
+
5
1
2
3
V
−−−
20V__
4
test point A
test point B
+
red
test lead
+
black
COM
potentiometer
1
DMM (digital multimeter) set to measure
DC volts. Connect black test lead to bread−
board ground with alligator clip. Use red
test lead to measure voltage at test points.
potentiometer
2
Build this circuit on your breadboard to learn about how the comparator works.
The potentiometers (pots) can be any value or size really, but at least 10K or more
is best. The pots supply a range of adjustable voltages to the 741 inputs. Measure them
with your DMM as described above and below.
In each test example, one pot is used to set the trigger voltage or trip point voltage. Let’s
call this the reference voltage or Vref for short. The other pot is used to simulate an input
voltage signal. We’ll call this Vin for short. In a real circuit the input signal might come
a range of sources: light sensor, flex sensor, audio signal etc.
NON−INVERTING COMPARATOR:
1. In this example POT1 is used to set the reference voltage (Vref) and POT2 supplies the
input voltage (Vin).
2. Use the DMM to measure Vref at TEST POINT A. Turn POT1 to set it. You can set it to
whatever you need, but for now let’s set it to 3 volts.
3. Now measure Vin at TEST POINT B. Turning POT2 changes the voltage up and down.
4. Whenever Vin is HIGHer than 3 volts (Vref) the output is HIGH (LED turns on). Whenever Vin is
LOWer than 3 volts (Vref) the output is LOW (LED turns off).
INVERTING COMPARATOR:
1. In this example POT2 sets Vref and POT1 suppliesVin.
2. Use the DMM to measure Vref at TEST POINT B. Turn POT2 to set it. Let’s use 3 volts again.
3. Now measure Vin at TEST POINT A. Turning POT1 changes the voltage.
4. Whenever Vin is HIGHer than 3 volts (Vref) the output is LOW (LED turns off). Whenever Vin is
LOWer than 3 volts (Vref) the output is HIGH (LED turns on).