Electrical Engineering › Section U · Sequential logic › Topic U.2

One-shots and astable multivibrators

A latch has two stable states. Give a circuit one stable state and it becomes a pulse timer; give it none and it becomes an oscillator. Together these supply the timed pulses and clock signals that sequential logic runs on.

Three kinds of multivibrator

Circuits that switch between two output levels are called multivibrators, and they are classed by how many of those states are stable. A bistable multivibrator, such as a latch or flip-flop, stays in either state until told to change. A monostable multivibrator, or one-shot, has one stable state: a trigger flips it into the other state, and it returns by itself after a time set by a resistor and a capacitor. An astable multivibrator has no stable state and switches back and forth on its own, producing a pulse train that can serve as a clock. The timing in both comes from the RC exponential of "Charging and discharging transients".

One-shots

A one-shot rests with \(Q = 0\). A trigger edge sends Q HIGH for a pulse width \(t_W\), after which it falls back to 0, however short the trigger was. The two types differ in how they treat a trigger that arrives during the pulse. A nonretriggerable one-shot ignores it: the pulse ends on time. A retriggerable one-shot starts timing again from the new trigger, so the pulse is stretched. Feed a retriggerable one-shot with trigger edges closer together than \(t_W\) and its output stays HIGH; when the triggers stop, it falls \(t_W\) after the last one. That makes it a missing-pulse detector.

IC one-shots

The 74121 is a classic nonretriggerable one-shot. Its pulse width is set by an external capacitor \(C_{EXT}\) and either an internal 2 kΩ resistor or an external one:

t_W \approx 0.7RC_{EXT}

The factor 0.7 is close to \(\ln 2\). With the internal resistor and a 10 nF capacitor, \(t_W \approx 0.7 \times 20\,\mu\text{s}\), or \(14\,\mu\text{s}\). Retriggerable parts such as the 74LS122 add a clear input that ends the pulse early. Datasheets give each part's own timing formula and the range of R and C over which it holds, so always check the one for the device in hand.

Schmitt triggers

Timing circuits produce slowly changing voltages, and an ordinary gate fed a slow or noisy edge may switch several times as the input wanders through its threshold. A Schmitt-trigger input has hysteresis: two thresholds. A rising input must pass the upper threshold \(V_{T+}\) before the output switches, and a falling one must drop below the lower threshold \(V_{T-}\) before it switches back. Noise smaller than the gap between them cannot cause extra transitions. The logic symbol shows a small hysteresis loop inside the gate. Schmitt inverters also make a simple astable: a resistor from output to input and a capacitor from input to ground, which charges and discharges between the two thresholds.

Inside the 555 timer

The 555 is the best-known timer IC. Three equal internal resistors divide the supply into \(\tfrac13 V_{CC}\) and \(\tfrac23 V_{CC}\). Two comparators watch the external capacitor through the trigger and threshold inputs. When the trigger input falls below \(\tfrac13 V_{CC}\), one comparator sets an internal S-R latch and the output goes HIGH. When the threshold input rises above \(\tfrac23 V_{CC}\), the other comparator resets the latch, the output goes LOW and a discharge transistor turns on to empty the capacitor. Everything the 555 does, as a one-shot or as an oscillator, comes from the capacitor moving between those two levels.

The 555 as a one-shot

In monostable mode, a resistor \(R_1\) from \(V_{CC}\) charges the capacitor C, which also connects to the threshold and discharge inputs. At rest the discharge transistor holds C empty and the output is LOW. A brief LOW pulse on the trigger input sets the latch: the output goes HIGH and C starts charging from 0 V towards \(V_{CC}\). When it reaches \(\tfrac23 V_{CC}\), the latch resets and C is discharged. Charging from 0 to two-thirds of the final value takes \(RC\ln 3\), so

t_W = 1.1R_1C

Worked example: a 1.1 s pulse

A 555 one-shot has \(R_1 = 100\,\text{k}\Omega\) and \(C = 10\,\mu\text{F}\). Find the output pulse width. 1. Time constant: \(R_1C = 100\,\text{k}\Omega \times 10\,\mu\text{F}\), which is 1.00 s. 2. Pulse width: \(t_W = 1.1 \times 1.00 = 1.1\,\text{s}\). 3. Check with the exponential: \(v_C = V_{CC}(1 - e^{-t/RC})\) equals \(\tfrac23 V_{CC}\) when \(e^{-t/RC} = \tfrac13\), so \(t = RC\ln 3 = 1.0986\,\text{s}\), which rounds to 1.1 s. 4. Real pulses vary with the capacitor's tolerance, often 10 to 20% for electrolytic types, so the third figure means little.

The 555 as an astable

In astable mode, \(R_1\) runs from \(V_{CC}\) to the discharge input, \(R_2\) from there to the capacitor, and the trigger and threshold inputs both connect to the capacitor. C charges through \(R_1 + R_2\) from \(\tfrac13 V_{CC}\) to \(\tfrac23 V_{CC}\) while the output is HIGH, then discharges through \(R_2\) alone, back to \(\tfrac13 V_{CC}\), while it is LOW. Each half takes \(\ln 2 \approx 0.693\) time constants:

\begin{aligned} t_H &= 0.693(R_1 + R_2)C \\ t_L &= 0.693R_2C \\ f &= \frac{1.44}{(R_1 + 2R_2)C} \end{aligned}

Because \(t_H > t_L\), the duty cycle is always above 50% in this basic circuit; a diode across \(R_2\) lets designers go lower.

Worked example: a 555 clock

A 555 astable has \(R_1 = 4.7\,\text{k}\Omega\), \(R_2 = 10\,\text{k}\Omega\) and \(C = 10\,\text{nF}\). 1. HIGH time: \(t_H = 0.693(R_1 + R_2)C\), with \((R_1 + R_2)C = 147\,\mu\text{s}\), so \(t_H = 102\,\mu\text{s}\). 2. LOW time: \(t_L = 0.693R_2C\), with \(R_2C = 100\,\mu\text{s}\), so \(t_L = 69.3\,\mu\text{s}\). 3. Period: \(T = 171\,\mu\text{s}\), so \(f = 1/T = 5.84\,\text{kHz}\); the 1.44 shortcut gives 5.83 kHz, the difference being rounding. 4. Duty cycle: \(t_H/T = 102/171 = 59.5\%\), as in "Pulse waveforms, repetition rate, duty cycle, and average value". 5. Check: \(t_H/t_L\) should equal \((R_1 + R_2)/R_2 = 1.47\), and \(102/69.3 = 1.47\).

Common mistakes to avoid

First, using the one-shot formula 1.1RC for the astable, or 0.693 for the one-shot: the one-shot charges from 0, the astable only between one-third and two-thirds. Second, forgetting that the astable charges through \(R_1 + R_2\) but discharges through \(R_2\) alone. Third, expecting a nonretriggerable one-shot to stretch its pulse. Fourth, driving ordinary gates with slow RC edges instead of Schmitt-trigger inputs. Fifth, quoting timing to many figures when the capacitor tolerance is 10% or more. Last, when a timer circuit misbehaves, check for glitches: brief unintended pulses from unequal path delays can trigger a one-shot falsely.

Key takeaways

Bistable circuits have two stable states, one-shots one and astables none. A one-shot gives one pulse of width \(t_W\) per trigger; a retriggerable one restarts timing on each new trigger. Schmitt-trigger inputs use two thresholds to switch cleanly on slow or noisy edges. The 555 timer uses comparators at one-third and two-thirds of \(V_{CC}\), an S-R latch and a discharge transistor. As a one-shot, \(t_W = 1.1RC\). As an astable, \(t_H = 0.693(R_1 + R_2)C\), \(t_L = 0.693R_2C\) and \(f = 1.44/((R_1 + 2R_2)C)\), with a duty cycle above 50%.

Flashcards

Flashcard

Bistable

Two stable states

Latches and flip-flops.

Test your understanding

Question 1 of 5

A retriggerable one-shot with t_W = 10 ms receives trigger edges every 4 ms. What does its output do?

Question 2 of 5

A 555 one-shot uses R = 47 kΩ and C = 1 µF. What is the pulse width?

Question 3 of 5

A 555 astable has R₁ = R₂ = 10 kΩ and C = 0.1 µF. What are its frequency and duty cycle?

Question 4 of 5

In a 555 astable, between which voltages does the capacitor charge and discharge?

Question 5 of 5

Why is a Schmitt-trigger input used where a slow RC voltage drives a logic gate?

← Previous topicNext topic →