Академический Документы
Профессиональный Документы
Культура Документы
4)
! Comparator IC ! DAC , ADC ! 555 timer IC
EE2603-10
Comparator IC
Comparator IC = Two inputs of the IC are compared to each other as below: When V+ is more positive than V- Output Vo will go high to +VCC ( = V- is more negative than V+ ) When V- is more positive than V+ Output Vo will go low to VCC ( = V+ is more negative than V- )
VV+ -VCC +VCC VO
+10
VO=+10V
VO=-10V
VO=+10V
-10
+10
Reference
+1 -1 -10 VO
+10
Input
-10
When V+ is more positive than 0 Output Vo will go high to +VCC When V+ is more negative than 0 Output Vo will go low to VCC
+10 +1 -1
Input
VO
+10
Reference
-10
When V- is more positive than 0 Output Vo will go low to -VCC When V- is more negative than 0 Output Vo will go high to +VCC
EE2603-10 3
+5 R1 -4 R2
+10 VO -10
+5 0 -4-5 +10
-5
Output is digital
-10
When V- is more positive than Vref -4 Output Vo will go low to -VCC When V- is more negative than Vref -4 Output Vo will go high to +VCC
EE2603-10
Comparator IC
Some improvements such as faster switching of output levels, preventing oscillation while crossing reference, and its output capable of driving a variety of loads are incorporated in IC Comparators such as 311-IC
+ VCC
When Strobed (pin 6= high) the output will follow the input
6 Balance/strobe
5 Balance 8
When Pause (pin 6=low) the output will always be high regardless of the input
7 output
Open-Collector Output to facilitate any output voltage level when the output is high
Example: Sketch the output waveform for the following 311 IC Comparator Circuit
+10
Output voltage polarity is the same as input voltage polarity
+1 -1
When Strobed (pin 6= high) the output will follow the input
6 strobe 7 311 - IC 1
Input 2
+10
3
0
Reference
4 -10
EE2603-10
Example: Sketch the output waveform for the following 311 IC Comparator Circuit
+10
Output voltage polarity is the same as input voltage polarity
+1 -1
8 7 311 - IC 6 1
Input 2
+10
Output
-10
Reference
4
High=Strobe
-10
-10
When Strobed (pin 6= high) the output will follow the input
Low=0
EE2603-10
339 IC
Four units of 311-IC wit common V+ (pin 3) and V- (pin 12) (output low is pin 12 voltage) Pull-up resistor needed at the output pins (1,2,13.14) to obtain output high.
3 5 4 7 6 9 8 11 10 2
+1 -1 5 4 +10 3 2
+10
7 6
output1
1
14
9 8 11 10
14
13
+1
13
+10
output2
12
12
-1
input2
EE2603-10 8
Comp.2
14
Vin
8 11 10
Output +9
13
+10 +1
Comp.1
12
input Vin > +5V +5 > Vin > +1V Vin < +1V
Output low high low +5V +1V Output low Output high Output low 9
EE2603-10
D / A Converter
LSDigit
Number
Intermediate Digit
22 = 4 1 4
21 = 2 1 2
EE2603-10
10
R 2R D1
R 2R D2 2R D3
MSD
Vo =
ref
D0 to D3 = 1 or 0
R 2R 2R
D0=5V LSD
R 2R
D1=5V
R 2R
D2=5V
Vo =
(1 20 ) + (1 21 ) + (1 22 ) + (0 23 ) 5V = 2.1875V
16
Vref = 5V
0 1 1 1
EE2603-10
11
R I2 2R
0 1 0
R I1 2R
1 0
D3 , D2 , D1, D0
I0 2R
1
Digital Inputs Io
I3 2R
1
2R Rf
D3
MSD
D2
D1
D0 SIn
LSD
Vo Vo= ( n)xRf - SI
Vr 1 In = ef N n R 2
I0 to In = values
1kW I3 9V 0 0 MSD 1 2kW I2 2kW 1 1 1kW 1kW I1 2kW 1 1 LSD I0 2kW SIn 1 2kW Rf=1kW
Vo Vo= ( n)xRf - SI
0 1 1 1
A / D Converter
LSDigit
Digital Outputs Analog Input Comparator Integrator Control Logic Count Reset Clock Count Over Digital Counter
Vref
EE2603-10
13
Vref
Recorded amplitude decreases at fixed rate
Analog amplitude recorded during fixed time
Fixed time
0011
0111 1110
EE2603-10
Stop Count
start count
stop count
1. When analog voltage > Ladder DAC output voltage, comparator opens the Control Logic to let the clock count the Digital Counter. Digital bits will increase at the output of Digital Counter.
2. When analog voltage = Ladder DAC output voltage, comparator closes the Control Logic to stop the clock of the Digital Counter. Digital bits will stop increasing at the output of Digital Counter.
3. If the clock is 1MHz, every step 1 will last 1s/Ladder step. For 12-bit Ladder DAC, there will be 212=4096 steps. Then one full count will last 4096s. Or during 1sec, there will be (1sec/4096x10-6sec) full counts = 244 full counts/sec
EE2603-10 15
555 timer IC
555 Timer
8
vcc
If pin 4 (Reset pin) is less than VCC, PNP BJT conducts and (R) becomes high to reset the Flip-flop
Reset 4 7 Discharge
R 2/3VCC S 1/3VCC
Comparators RS-Flip-flop More positive applied to the positive Reset(R) or Set(S) with terminal (or more negative applied to logic high input the negative terminal will make output high EE2603-10
16
5. If Modulate pin 5 is connected to a dc source or to external resistor, pin 2 and pin 6 levels will be no longer 1/3 or 2/3 of VCC but will be changed to any other Threshold levels. 6
vcc
Reset Discharge R Q 7 4
5 Modulate 5k 2 Trigger 5k 1
5k 2/3VCC
S 1/3VCC
3 output
1. If Threshold pin 6 is more than 2/3 of VCC, R will be high and output Q is Set to zero Threshold pin 6 is less 2. If than 2/3 of VCC, there is no change at output Q
3. If Trigger pin 2 is less than 1/3 of VCC, S will be high and output Q is Set to VCC
4. If Trigger pin 2 is more than 1/3 of VCC, there is no change at output Q
EE2603-10 17
RB
7 6 2
VC
output
(1/3)VCC
tc
#1. Let pin 3 is set (=high). Pin 7 will float. Then C is charged to VCC through RA+RB=RCHA #2. But VC is never charged to VCC because when VC=just above (2/3)VCC pin 6 takes care and the output pin 3 will reset. #3. When pin 3 is reset(=low). Pin 7 will be zero. Then C is discharged to 0 through RB=RDISCHA #4. But VC is never discharged to 0 because when VC= just below (1/3)VCC pin 2 takes care and the output pin 3 will set. It repeats step #1 again. 18 EE2603-10
td
VCC
Pulse frequency
(2/3)VCC
VC
(1/3)VCC
tc
td
t / CR
d
T = tc + td =
19
Example: Find the pulse frequency of the 555 Timer IC Pulse Generator shown below
vcc
RA=7.5kW RB=7.5kW C=0.1m F
7 6 2 1 8 3
output
f= = =
1 1 = T (RC + Rd )C ln 2
1.44
= 635Hz.
20
7 6 2
output
VC
tc
tc=Pulse width
#1. Let pin 2 is high and pin 3 is low. Pin 7 will zero. Output is also zero. Then C is also discharged to 0 through pin 7 #2. When pin 2 is triggered to zero for a short time, Pin 3 will be high. Then pin 7 is floating. #3. Now C is charged to VCC through R. Output pin 3 is then high #4. But VC is never charged to VCC because when VC= just above (2/3)VCC pin 6 takes care and the output pin 3 will reset. And it stays stable at EE2603-10 reset all the time until another external trigger.
21
vcc
R C
7 6 2 1 Thigh Thigh 8 3
VCC
(2/3)VCC
output
VC
Example: Find the pulse width of the 555 Timer IC Monostable circuit, if R = 7.5k and C = 0.1F.