timing circuits · 2015-04-27 · timing circuits 4 • using sr ff and d register counters •...
TRANSCRIPT
© 2006, M.K. Kim
TIMING CIRCUITS • one-shots • timer 555 • counting with FF • 555 oscillator • relaxation oscillator • VCO MONOSTABLE MULTIVIBRATOR (ONE-SHOTS) • Generates a fixed length output pulse after receiving a trigger signal. The pulse length is
determined by external RC network
tw ns[ ] = 0.28Rx kΩ[ ]Cx pF[ ] 1+0.7
Rx kΩ[ ]⎛ ⎝ ⎜
⎞ ⎠ ⎟ for Cx > 1000pF
• 74123 • 4538: CMOS • 74121: 74221 dual ‘121 • 74423 One-shot Parameters • input gating • retriggerability • resettability • pulse width
Timing Circuits 2
TIMER 555 General purpose variable timing device: • monostable multivibrator (pulse generator) • astable multivibrator (oscillator) • ramp generator • pulse width modulation • pulse position modulation
Function Table
reset trigger threshold OUT dischargeL X X L onH < 1
3 VCC X H offH > 1
3 VCC > 23 VCC L on
H > 13 VCC < 2
3 VCC n.c. n.c.
Timing Circuits 3
COUNTING WITH FF Divide-by-2
Divide-by-2N: Binary Ripple Counter
Q3 Q2 Q1 Q0
0 0 0 00 0 0 10 0 1 00 0 1 10 1 0 00 1 0 10 1 1 0
1 1 1 01 1 1 10 0 0 00 0 0 1
Dived-by-Three Synchronous Counter
Pulse Train Synchronizer
Timing Circuits 4
• using SR FF and D register
Counters • binary counter: 74393 • BCD counter: modulo-10 counter: 74390 • modulo-n counter • cascading
• ripple counter • synchronous counter
74160-163: 4-bit synchronous 74590,592: 8-bit synchronous
• up/down counter: 74191, 74193, 74569, 74579 • load & clear • counter + latch: latched data can be displayed while counting continues • three-state output: 74779 • 74C925-928: counter + latch + 7-seg decoder, driver • TIL306/7: counter with display • Intersil 7216: 8-bit 10MHz universal counter, w. dispaly
Timing Circuits 5
OSCILLATORS
Timing Circuits 6
OSCILLATOR WITH 555
Q = 0 Vtrig = 0 ∴ trigger ⇒ OUT = Hi
Vtr = Vth = 0 → 23 VCC ⇒ OUT = Lo
Disch = onVtr = Vth = 2
3 VCC → 13 VCC ⇒ OUT = Hi
Charge through RA + RB; discharge through RB
• T = 0.693 RA + 2RB( )C
• duty cycle: RA + RB
RA + 2RB
≥ 50%
Sawtooth Generator
Timing Circuits 7
RELAXATION OSCILLATOR OpAmp circuit with saturation
Saturation: If V+ > V− ⇒ Vout = +VCC
If V+ < V− ⇒ Vout = −VCC
VB = 1
2 Vout always. If Vout = +VCC initially: Capacitor charges toward +VCC VB = 1
2 VCC When VA reaches VCC/2 ⇒ V− > V+ ⇒ Vout = −VCC Capacitor discharges toward -VCC VB = − 1
2 VCC When VA reaches -VCC/2 ⇒ V− < V+ ⇒ Vout = +VCC Repeat from beginning ↵
• f =0.45RC
CMOS Relaxation Oscillator
• R1 << R2 ; f ≈
1RC
• very low noise
Timing Circuits 8
VOLTAGE-CONTROLLED OSCILLATOR: VCO
IC1: Integrator If Q1 is not conducting (Vout = 0)
( )
( )
2
2 3
11
1
1
0.5
0.5 5 /100
5 /0.5 0.5 1000.05
a in in
in a inin
b a in in in in
RV V VR R
V V VI A V VR k
I t A VV V V V t V V tC F
= =+
−= = = µ
µ= − = − = −
µ
If Q1 is conducting (Vout = V+)
( )
1 14
1 1 1 1
1
1
0.5 249.9
0.5 100
a in
b a in in
V VI IR k
I I I II tV V V V tC
′′= = =
′ ′′= − =
= + = +
IC2: Schmitt Trigger
T = 2
3V+
100Vin
; f =150 Vin
V+
Hz[ ]
0 ≤ Vin ≤ 2 V+ −1.5V( )
• VCO’s can also be made from 555 timers. Function Generator
Timing Circuits 9
• VCO + wave shaping • integrate square wave > triagular wave • integrate triangular wave > low pass filter > good approx. of sine wave VCO ICs • 8038, 2206 • 74LS624-9: 20MHz • 1648: 200MHz • VFC, voltage-to-frequency converters: LM331, AD650 • PLL: VCO+phase detector: 4046, 74HC4046
Timing Circuits 10
FREQUENCY MEASUREMENTS Digital Frequency Counter
Period (Reciprocal) Counting
TDC: Time-to-Digital Converter
Timing Circuits 11
PLL: PHASE-LOCKED LOOP
Type I Digital Phase Detector