1 of 15

  • Multivibrators
    • Bistable: R-S latch
    • Monostable: one-shots
    • Astable: 555 Timer (today's lab)

2 of 15

The R-S latch

  • Cross-coupled gates form an R-S latch with two stable states (bistable multivibrator)

S=1, R=0 : Q=1, Q'=0

S=0, R=1 : Q=0, Q'=1

S=0, R=0 : hold state

S=1, R=1 : unstable

S

R

Q

Q’

INPUT

OUTPUT

A

B

A NOR B

0

0

1

1

0

0

0

1

0

1

1

0

3 of 15

One-shot

  • A monostable multivibrator can be very useful
  • produces an output pulse with the correct voltage levels and of adjustable width
  • 74121 one-shot (monostable multivibrator) non-retriggerable.

Output pulse width is determined by an external RC network

4 of 15

One-shot

  • The 74121 is non-retriggerable - it ignores input transitions when the output pulse is HIGH
  • It is often more useful to use a retriggerable one-shot; e.g. 74LS122

For this type of input both behave the same

For this type:

5 of 15

Oscillators

This sets the threshold levels

This sets the clock period (∝ RC)

v+=vo/2

v-=vC

Digital circuits also need clocks.

We can create a simple "relaxation oscillator" using the Schmitt trigger:

This is an astable multivibrator (no stable state)

6 of 15

Oscillators

  • For lowish frequencies (<1MHz), a cheap and reliable clock can be made with a 555 timer chip.

7 of 15

555 Timer

8 of 15

555 Timer

transistor acts as a voltage controlled switch that passes current from "discharge" input to ground when base voltage is HIGH

9 of 15

555 Timer

Voltage divider

Vcontrol = 2/3 Vcc

Vtrig = 1/3 Vcc

10 of 15

555 Timer

Voltage divider

Control Voltage

Vcontrol = Vcontrol

Vtrig = 1/2 Vcontrol

Alternatively, we can set Vcontrol externally:

11 of 15

555 Timer

Two Comparators:

Output a HIGH voltage level when the "+" input is greater than the "-" input.

Upper comparator: Threshold input is compared to Vcontrol

Lower comparator: Trigger input is compared to Vtrig.

Results are passed to a flipflop

Vcontrol

Vtrig

12 of 15

555 Timer

Flipflop:

Stores the information of which comparator last passed it a high voltage.

If Threshold>Vcontrol ;

S=1

Output state is HIGH. Transistor is switched on

If Trigger< Vtrig;

R=1

Output state is LOW

Transistor is switched off.

Vcontrol

Vtrig

S

R

Q

13 of 15

555 Timer: Monostable configuration.�Single pulse

A

B

C

D

E

A

B

C

D

E

  • Initial state: flipflop is "set". Point C is HIGH.
  • Transistor is on - passing capacitor charge to ground.
  • When trigger input at A goes LOW, bottom comparator triggers and E goes HIGH.
  • Flipflop changes state: C goes LOW
  • Transistor is off - capacitor starts charging (B) through R
  • When point B reaches 2/3 Vcc, flipflop changes state, transistor is on, capacitor discharges rapidly.
  • Output pulse is just the inverse of C
  • Width of output pulse = 1.1×R×C

trigger input

Capacitor voltage

FF output

upper comp.

lower comp.

14 of 15

555 Timer: Astable configuration

  • In this mode, connect both comparator inputs to the capacitor in order to generate a clock.
  • Charge up through RA+RB, discharge through RB
  • Capacitor charging and discharging times can be controlled by resistor selection, in order to define the clock period and duty cycle

15 of 15

555 Timer: Practical limits

  • For reliable performance:
    • The resistors RA and RB must be between 1kΩ and 3MΩ
    • The capacitor C must be greater than 500pF
    • Shortest period ~ 5×10-7, (Max frequency fmax= 2MHz)
  • If RB>>RA, duty cycle ~50% (square wave oscillator)
  • Power supply drift is not a problem - time constant is independent of power supply - only depends upon resistor and capacitor values.
  • Buffer at last stage can provide enough current to drive many TTL loads