Exp. 2 Voltage Comparators (II) Level Detectors
Exp. 2 Voltage Comparators (II) Level Detectors
2 Voltage Comparators (II) Level Detectors A threshold detector Basic components : a voltage reference VREF, a voltage divider R1 and R2, and a comparator. VT = (1 + R2/R1)VREF For vI < VT, QO is off and so is the LED. For vI > VT, QO is on and the LED glows Interchanging the intput pins If vI is VCC itself an overvoltage indicator or an undervoltage indicator
2-1
LM 335: a temp. sensor, LM395: a high-beta power transistor, R2: temp. setting, LM329: a 6.9-V ref. diode.
2-2
Window Detectors A window comp. to indicate when a given voltage falls within a specified band or window
A pair of level detectors, whose thresholds VTL and VTH define the lower and upper limits of the window.
Pulse-Width Modulation To compare a slowly varying signal vI against a high-freq wave of the triangular or sawtooth type the output is a square wave with the same freq. as vTR, but with its symmetry controlled by vI in linear fashion.
vTR alternates between 0 and 10 V at 1 kHz, vI alternates between 0.5 V and 9.5 V at 100 Hz.
2-4
The degree of symmetry of vO is expressed via the duty cycle TH v D(%) = 100 = 100 I TL TH Vm PWM Schmitt Triggers Negative feedback and positive feedback
2-5
R1 VTH = VOH R1 R 2
Nonnverting Schmitt trigger
R1 VTL = VOL R1 R 2
2-6
VTH =
R1 VOL R2
VTL =
R1 VOH R2
2-7
VTL =
R 1 // R 3 VCC (R 1 // R 3 ) R 2
VTH =
R1 VCC R 1 (R 2 // R 3 )
2-8
2-9
Experiment 2 1. Using a 311 comp. powered from 15 V supplies, design a circuit that accepts a triangular wave with peak values of 10 V, and generates a square wave with peak values of 5 V and duty cycle D variable from 5% to 95% by means of a 10-k potentiometer.
2-10
Vo +Vsat +Vsat
Vo +Vsat
Vo
5V Vi -5 V -Vsat -5 V
5V Vi
0V -5 V
5V Vi
-Vsat
2-11