The R-S latch
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 |
One-shot
Output pulse width is determined by an external RC network
One-shot
For this type of input both behave the same
For this type:
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)
Oscillators
555 Timer
555 Timer
transistor acts as a voltage controlled switch that passes current from "discharge" input to ground when base voltage is HIGH
555 Timer
Voltage divider
Vcontrol = 2/3 Vcc
Vtrig = 1/3 Vcc
555 Timer
Voltage divider
Control Voltage
Vcontrol = Vcontrol
Vtrig = 1/2 Vcontrol
Alternatively, we can set Vcontrol externally:
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
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
555 Timer: Monostable configuration.�Single pulse
A
B
C
D
E
A
B
C
D
E
trigger input
Capacitor voltage
FF output
upper comp.
lower comp.
555 Timer: Astable configuration
555 Timer: Practical limits