Professional Documents
Culture Documents
Multivibrator
10.2
MULTIVIBRATORS
In the circuit of Fig. 10.7a, the 301 op amp comparator and the positive-feedback
resistances R1 and R2 form an inverting Schmitt trigger. Assuming symmetric output
saturation at ±Vsat = ±13 V, the Schmitt-trigger thresholds are also symmetric at
±VT = ±Vsat R1 /(R1 + R2 ) = ±5 V. The signal to the inverting input is provided
by the op amp itself via the RC network.
At power turn-on (t = 0) v O will swing either to +Vsat or to −Vsat , since these
are the only stable states admitted by the Schmitt trigger. Assume it swings to
+Vsat , so that v P = +VT . This will cause R to charge C toward Vsat , leading to an
exponential rise in v N with the time constant τ = RC. As soon as v N catches up with
v P = VT , v O snaps to −Vsat , reversing the capacitance current and also causing v P
to snap to −VT . So, now v N decays exponentially toward −Vsat until it catches up
with v P = −VT , at which point v O again snaps to +Vsat , thus repeating the cycle.
It is apparent that once powered, the circuit has the ability to start and then sustain
oscillation, with v O snapping back and forth between +Vsat and −Vsat , and v N
slewing exponentially back and forth between +VT and −VT . After the power-on
cycle, the waveforms become periodic.
We are interested in the frequency of oscillation, which is found from the period
T as f 0 = 1/T . Thanks to the symmetry of the saturation levels, v O has a duty cycle
of 50%, so we only need to find T /2. Applying Eq. (10.3) with t = T /2, τ = RC,
Volts
vO
C vN R Vsat
– VT
vN
301 vO
+ 0 t
R2 16 kΩ 0
vP –VT
R1 10 kΩ
–Vsat
T
(a) (b)
FIGURE 10.7
Basic free-running multivibrator.
V∞ = Vsat , V0 = −VT , and V1 = +VT , we get 493
T Vsat + VT SECTION 10.2
= RC ln Multivibrators
2 Vsat − VT
Substituting VT = Vsat /(1 + R2 /R1 ) and simplifying finally gives
1 1
f0 = = (10.9)
T 2RC ln(1 + 2R1 /R2 )
With the components shown, f 0 = 1/(1.62RC). If we use the ratio R1 /R2 = 0.859,
then f 0 = 1/(2RC).
We observe that f 0 depends only on the external components. In particular, it
is unaffected by Vsat , which is known to be an ill-defined parameter since it varies
from one op amp to another and also depends on the supply voltages. Any variation
in Vsat will cause VT to vary in proportion, thus ensuring the same transition time
and, hence, the same oscillation frequency.
The maximum operating frequency is determined by the comparator speed.
With the 301 op amp as a comparator, the circuit yields a reasonably good square
wave up to the 10-kHz range. This can be extended significantly by using a faster
device. At higher frequencies, however, the stray capacitance of the noninverting
input toward ground becomes a limiting factor. This can be compensated by using a
suitable capacitance in parallel with R2 .
The lowest operating frequency depends on the practical upper limits of R and
C, as well as the net leakage at the inverting input node. FET-input comparators may
be a good choice in this case.
Although f 0 is unaffected by uncertainties in Vsat , it is often desirable to stabilize
the output levels for a cleaner and more predictable square-wave amplitude. This is
readily achieved with a suitable voltage-clamping network. If it is desired to vary
f 0 , a convenient approach is to use an array of decade capacitances and a rotary
switch for decade selection, and a variable resistance for continuous tuning within
the selected decade.
E X A M P L E 10.1. Design a square-wave generator meeting the following specifications:
(a) f 0 must be variable in decade steps from 1 Hz to 10 kHz; (b) f 0 must be variable con-
tinuously within each decade interval; (c) amplitude must be ±5 V, stabilized. Assume
±15-V poorly regulated supplies.
Solution. To ensure stable ±5 V output levels, use a diode-bridge clamp as in Fig. 10.8.
When the op amp saturates at +13 V, current flows through the path R3 -D1 -D5 -D4 , thus
clamping v O at VD1(on) + VZ 5 + VD4(on) . To clamp at 5 V, use VZ 5 = 5 − 2VD(on) =
5 − 2 × 0.7 = 3.6 V. When the op amp saturates at −13 V, current flows through the
path D3 -D5 -D2 -R3 , clamping v O at −5 V.
To vary f 0 in decade steps, use the four capacitances and rotary switch shown.
To vary f 0 within a given decade, implement R with a pot. To cope with component
tolerances, ensure an adequate amount of overlap between adjacent decade intervals.
To be on the safe side, impose a range of continuous variability from 0.5 to 20, that
is, over a 40-to-1 range. We then have Rpot + Rs = 40Rs , or Rpot = 39Rs . To keep
input-bias-current errors low, impose I R(min) I B , say, I R(min) = 10 μA. Moreover,
let R1 = R2 = 33 k, so that VT = 2.5 V. Then, Rmax = (5 − 2.5)/(10 × 10−6 ) =
250 k. Since Rs
Rpot , use a 250-k pot. Then, Rs = 250/39 = 6.4 k (use
6.2 k).
494 R
CHAPTER 10 C1 Rs
Signal Generators
μ
3.3 nF 6.2 kΩ 250 kΩ
C2 R4
– R3
0.33 μ
nF 10 kΩ 301 vO
+ 2.2 kΩ
C3 R2
33 nF R1 33 kΩ
C4 33 kΩ D1 D2
D5
3.3 nF
D3 D4
FIGURE 10.8
Square-wave generator of Example 10.1.
To find C1 , impose f 0 = 0.5 Hz with the pot set to its maximum value. By Eq. (10.9),
C1 = 1/[2 × 0.5 × (250 + 6.2) × 103 × ln 3] = 3.47 μF. The closest standard value is
C1 = 3.3 μF. Then, C2 = 0.33 μF, C3 = 33 nF, and C4 = 3.3 nF.
The function of R4 is to protect the comparator input stage at power turn-off, when
the capacitors may still be charged, and that of R3 is to supply current to the bridge, R2 ,
R, and to the external load, if any. The maximum current drawn by R is when v O = +5 V,
v N = −2.5 V, and the pot is set to zero. This current is [5 − (−2.5)]/6.2 = 1.2 mA. We
also have I R2 = 5/66 = 0.07 mA. Imposing a bridge current of 1 mA and allowing for
a maximum load current of 1 mA, we have I R3 (max) = 1.2 + 0.07 + 1 + 1 ∼ = 3.3 mA.
Hence, R3 = (13 − 5)/3.3 = 2.4 k (use 2.2 k to be safe). For the diode bridge use
a CA3039 array.
(a) (b)
FIGURE 10.9
Single-supply free-running multivibrator.
E X A M P L E 10.2. In the circuit of Fig. 10.9 specify components for f 0 = 1 kHz, and
verify with PSpice for VCC = 5 V.
Solution. Use R1 = R2 = R3 = 33 k, R4 = 2.2 k, C = 10 nF, and R = 73.2 k.
Using the PSpice circuit of Fig. 10.10a, we readily obtain the waveforms of Fig. 10.10b.
Cursor measurements give T = 1.002 ms, or f 0 = 998 Hz.
CMOS logic gates are particularly attractive when analog and digital functions must
coexist on the same chip. A CMOS gate enjoys an extremely high input impedance,
a rail-to-rail input range and output swing, extremely low power consumption, and
VCC (+5 V)
R2
5V
33 kΩ R3 vO
R4
33 kΩ 2.2 kΩ
R1
2 8
+ 2.5 V
7 vN
33 kΩ LM311 vO
0 3
vN –
4 1
C R 0 0
0 0.5 1 1.5 2 2.5
10 nF 73.2 kΩ
0 Time (ms)
(a) (b)
FIGURE 10.10
(a) Free-running multivibrator of Example 10.2, and (b) waveforms.
496 VDD
D1
CHAPTER 10
vO
Signal Generators VDD
Mp
VDD
vI vO vI vO
Mn
0 vI
0 VT VDD
D2
FIGURE 10.11
CMOS inverter: logic symbol, internal circuit diagram, and VTC.
the speed and low cost of logic circuitry. The simplest gate is the inverter depicted in
Fig. 10.11. This gate can be regarded as an inverting-type threshold detector giving
v O = VOH = VDD for v I < VT , and v O = VOL = 0 for v I > VT . The threshold
VT is the result of internal transistor operation, and it is nominally halfway between
VDD and 0, or VT ∼ = VDD /2. The protective diodes, normally in cutoff, prevent v I
from rising above VDD + V D(on) or dropping below −V D(on) , and thus protect the
FETs against possible electrostatic discharge.
In the circuit of Fig. 10.12a assume at power turn-on (t = 0) v2 goes high. Then,
by I2 ’s inverting action, v O remains low, and C starts charging toward v2 = VDD
via R. The ensuing exponential rise is conveyed to I1 via R1 as signal v1 . As soon as
v2
VDD
0 t
0
v3
VT + VDD
VDD
VT
VDD VDD 0 t
VT – VDD 0
v1 v2
I1 I2 vO
vO
R VDD
R1 ( >> R) v3 0 t
C 0 TH TL
(a) (b)
FIGURE 10.12
CMOS-gate free-running multivibrator.
v1 rises to VT , I1 changes state and pulls v2 low, forcing I2 to pull v O high. Since 497
the voltage across C cannot change instantaneously, the step change in v O causes v3 SECTION 10.2
to change from VT to VT + VDD ∼ = 1.5VDD , as shown in the timing diagram. These Multivibrators
changes occur by a snapping action similar to that of Schmitt triggers.
With v3 being high and v2 being low, C will now discharge toward v2 = 0 via
R. As soon as the value of v3 decays to VT , the circuit snaps back to the previous
state; that is, v2 goes high and v O goes low. The step change in v O causes v3 to
jump from VT to VT − VDD ∼ = −0.5VDD , after which v3 will again charge toward
v2 = VDD . As shown, v2 and v O snap back and forth between 0 and VDD , but in
antiphase, and they snap each time v3 reaches VT .
To find f 0 = 1/(TH +TL ), we again use Eq. (10.3), first with t = TH , V∞ = 0,
V0 = VT + VDD , and V1 = VT , then with t = TL , V∞ = VDD , V0 = VT − VDD ,
and V1 = VT . The result is
1
f0 = (10.11)
VDD + VT 2VDD − VT
RC ln ×
VT VDD − VT
For VT = VDD /2 we get f 0 = 1/(RC ln 9) = 1/2.2RC and D(%) = 50%. In practice,
due to production variations, there is a spread in the values of VT . This, in turn,
affects f 0 , thus limiting the circuit to applications where frequency accuracy is not
of primary concern.
We observe that if v3 were applied to I1 directly, the input protective diodes of
I1 would clamp v3 and alter the timing significantly. This is avoided by using the
decoupling resistance R1 R (in practice, R1 ∼ = 10R will suffice).
Xtal
1 MHz
Rf
10 MΩ
R1
I
C2 2 kΩ C1
10 pF vO 10 pF
FIGURE 10.13
CMOS-gate crystal oscillator.
498 place a network that includes a crystal in the feedback loop of a high-gain inverting
CHAPTER 10 amplifier. This network routes a portion of the output signal back to the input, where
Signal Generators it is reamplified in such a way as to sustain oscillation at a frequency set by the
crystal.
A CMOS gate is made to operate as a high-gain amplifier by biasing it near
the center of its VTC, where slope is the steepest and gain is thus maximized.
Using a plain feedback resistance R f , as shown, establishes the dc operating point
at VO = VI = VT ∼ = VDD /2. Thanks to the extremely low input leakage current of
CMOS gates, R f can be made quite large. The function of the remaining components
is to help establish the proper loss and phase, as well as provide a low-pass filter
action to discourage oscillation at the crystal’s higher harmonics.
Although crystals have to be ordered for specific frequencies, a number of
commonly used units are available off the shelf, namely, 32.768 kHz crystals for
digital wristwatches, 3.579545 MHz for TV tuners, and 100 kHz, 1 MHz, 2 MHz,
4 MHz, 5 MHz, 10 MHz, etc., for digital clock applications. A crystal oscillator can
be tuned slightly by varying one of its capacitances, as shown. Crystal oscillators of
the type shown can easily achieve stabilities on the order of 1 ppm/◦ C (1 part-per-
million per degree Celsius).4
The duty cycle of clock generators is not necessarily 50%. Applications requiring
perfect square-wave symmetry are easily accommodated by feeding the oscillator
to a toggle flip-flop. The latter then produces a square wave with D(%) = 50%,
but with half the frequency of the oscillator. To achieve the desired frequency, we
simply use a crystal with a frequency rating twice as high.
Monostable Multivibrator
v2
R VDD
VT
C
G I vO 0 t
vI + v1 v2
vO
VDD
0 t
T
(a) (b)
FIGURE 10.14
CMOS-gate one-shot.
the arrival of the trigger pulse. The timeout T is found via Eq. (10.3) as
VDD
T = RC ln (10.12)
VDD − VT
For VT = VDD /2, this reduces to T = RC ln 2 = 0.69RC.
A retriggerable one-shot begins a new cycle each time the trigger is activated,
including activation during T. By contrast, a nonretriggerable one-shot is insensitive
to triggering during T.
10.3
MONOLITHIC TIMERS
The need for the astable and monostable functions arises so often that special
circuits,4 called IC timers, are available to satisfy these needs. Among the vari-
ety of available products, the one that has gained the widest acceptance in terms
of cost and versatility is the 555 timer. Another popular product is the 2240 timer,
which combines a timer with a programmable counter to provide additional timing
flexibility.
As shown in Fig. 10.15, the basic blocks of the 555 timer are: (a) a trio of identical re-
sistors, (b) a pair of voltage comparators, (c) a flip-flop, and (d) a BJT switch QO . The
resistances set the comparator thresholds at VTH = (2/3)VCC and VTL = (1/3)VCC .
For additional flexibility, the upper threshold node is externally accessible via pin 5
so that the user can modulate the value of VTH . Regardless of the value of VTH , we
always have VTL = VTH /2.