Vous êtes sur la page 1sur 8

The 555

A Versatile
Timer
°<>

^ % RAY M. MARSTON

FIG. 1—FUNCTIONAL BLOCKS OF THE 555 TIMER with its pinout identified.

Learn to use the 555 and 556 timer 1C in practical


circuits to obtain accurate time delays and square waves

IN ANY ASSOCIATION TEST FOR rather than sine or other com- supply will be +12 volts DC or
those who know integrated cir- plex waveforms. This article ex- less.
cults, the three digits 555 will plains how the 555 works and The outstanding features of
summon up the instant re- shows you how to apply the 1C the 555/556 include:
sponse "timer 1C." It's the short in various practical control cir- • Timing adjustable from mi-
form generic designation for cults. croseconds to hours
progeny of the NE555, apopular • Duty cycle adjustable
monolithic timer/oscillator 1C A 555/556 overview • Ability of output to source
first introduced by Slgnetics Figure 1 is a simplified (supply) or sink (dissipate) 200-
block diagram of the 555 show- milliampere current
i
many years ago. Still widely sec-
ond-sourced because of its ver- ing its principal functional • Output can drive TTL logic

j
satility, the 555 ranks as a blocks: threshold comparator, circuits
^ standard "building block." trigger comparator, R-S flip- • Temperature stability ex-
The 555 and its derivatives flop, low-power complementary ceeds 0.005%/°C
can be found in thousands of output stage, slave discharge • Normally "on" and normally
w
different circuits, and its pos- transistor, and a voltage-refer- "off output
slbilities for further applica- ence potential divider. Both The 555 and 556 were de-
tions appear limitless. Al- halves of a dual version of the signed for precision timing ap-
though classed as a linear 1C, it 555 (two 555's on a single chip), plicatlons, with the timing
s
I is often used in digital or the 556, have identical elec- interval controlled by an exter-
LU "quasi-digital" applications be- trical characteristics. The nal resistor and capacitor (RC)
cause its inputs and outputs 555/556 will mn from 4.5 to 16 network. The devices contain
58 are essentially square waves volts DC, although a typical voltage dividers consisting of
three 5000-ohm resistors in se- tie and metal DIP'S and 8-pin Q10 in the trigger comparator. It
ries between the supply voltage metal cans for operation in the applies one-third of the supply
and ground so that one-third of commercial temperature range voltage to the non-inverting in-
the supply voltage is developed of 0 °C to +70°C. Some plastic put terminal of the trigger com-
across each resistor. The inter- DIPs can operate in the -40°C to parator and two-thirds of the
nal flip-flop circuit provides a +85°C extended temperature supply voltage to the inverting
definite "on" or "off response. range. input of the IC's threshold com-
Its timing intervals are indepen- Alternate-sourced 555's can parator.
dent of the supply voltage. usually be identified by the in- The output of the two com-
The 555 has two basic operat- clusion of the numbers 55 or parators controls the R-S flip-
ing modes: monostable (one- 555 in their designations. Ex- flop, which in turn controls the
shot—a single pulse is emitted), amples include Harris' CA555, states of the complementary
and astable (a stream of output Motorola's MC1455, andNation- output stage and the slave tran-
pulses is generated). In the al Semiconductors' LM555C. sistor Q6. The flip-flop's state
monostable mode when func- Other sources include Exar, can also be set by signals at
tioning as timers, time is pre- Goldstar, Raytheon, Samsung, RESET pin 4. MONOSTABLE = ONE SHOT
cisely controlled by the external SGS-Thomson, and Sharp Elec- When organized as a mono-
RC network. In that mode the tronics. CMOS versions of the stable timer, the TRIGGER pin 2
555 produces output pulses 555, such as Texas Instruments' is held high by external resistor
with rise and fall times mea- TLC555 are also available. In RT in series with the DC supply
sured In microseconds. addition to their low power con- voltage. Under that condition,
In the astable mode, the 555 sumption compared to stan- Q6 is saturated, shorting exter-
can be an oscillator. It can main- dard 555's, their outputs are nal timing capacitor C^ to
tain an accurately controlled compatible with CMOS as well ground, and OUTPUT pin 3 is
free-running frequency and asTTL. driven low. Timer action is
duty cycle with only two exter- Thble 1 presents some basic started by applying a negative-
nal resistors and one capacitor. electrical characteristics for the going trigger pulse to pin 2. As
In either monostable or astable 555. The 556 is housed in a 14- this pulse falls below one-third
modes, timing accuracy is es- pin DIP package but the block of the DC supply voltage, the
sentially independent of varia- diagram of each circuit is iden- output of the trigger com-
tlons in supply voltage or tical to that of the 555 shown in parator changes state. That
ambient temperature. The de- Fig. 1. The 556 is also alternate- causes the R-S flip-flop to
vice can be triggered and reset sourced by many of the same switch, turning Q6 off, and
on falling waveforms. firms that offer the 555. Exam- driving OUTPUT pin 3 high.
Typical applications for the pies are Motorola's MC3556 and As Q6 turns off, the short is
555 include precision and se- Ttexas Instruments' TLC7556. removed from the external ca-
quential timing, pulse genera- pacitor Ci-,. The capacitor
tion, pulse-width and pulse- How the 555 works. charges through the external
position modulation, and linear Figure 2 is a representative resistor R^ until the voltage
ramp generation. Moreover, it circuit schematic for the 555. It across Cj^ rises to two-thirds of
can directly drive loads such as contains 21 transistors, 4 di- the supply voltage. Then the
relays, solenoids, low-power odes, and 15 resistors. The volt- threshold comparator changes
lamps, and high-impedance age divider consisting of three state and switches the R-S flip-
speakers. 5000-ohm resistors (shown in Hop back to its original state,
The 555 is packaged in plas- Fig. 1) appears to the right of turning Q6 "on" and rapidly dis-
charging C;-,. At the same time,
TABLE 1—ELECTRICAL CHARACTERISTICS OUTPUT pin 3 reverts to its low
state. The timing cycle is then
Characteristics Symbol Unit complete.
Min. Typ. Max.
A characteristic of the 555 is
DC Supply Voltage Vcc 4.5 16 v that, once triggered, it cannot
3 6
t
DC Supply Current (V+ = 5V) 'ec mA respond to additional triggering
(V+ =5V) 10 15 mA

I
until the timing sequence is
Power Dissipation 600 mW complete. However, the se-
Threshold Voltage vth % v quence can be aborted at any TO
Trigger Voltage (V+ = 5V) VT 1.67 v time by feeding a negative-going -A.

(V+=15V) 5 v ?0

Reset Voltage VR 0.4 0.7 1.0 v pulse to RESET pin 4. is


The output pulse is a square m
Reset Current IR' 0.1 mA
Timing Error (Monostable) 1 % wave whose duration (time de-
lay) depends on the values of R 3
Frequency Drift with 5'
Temperature 50 ppm/°C and C. The formula for this is: u>

Drift with Supply Voltage 0.1 %A/ to (time delay) =1.1 (value of R
Output Rise Time tr 100 ns x value of C)
Output Fall Time tf 100 ns Simply stated, time delay is
directly proportional to the 63
FIG. 2—REPRESENTATIVE CIRCUIT SCHEMATIC FOR A 555 timer with external re-
sistive and capacitive components.
1 thousand ohms to 10
megohms.
Figure 4-a is a simple fixed-
period (approximately 50-sec-
and) manually-triggered time
delay circuit, and Fig. 4-b
v^ shows the waveforms as they
would appear on an os-
^A
A
cilloscope. The sequence of
events in Fig. 4-b is initiated by
-^y
6^
^^
grounding TRIGGER pin 2 with
momentary START switch Sl.
The CONTROL VOLTAGE pin 5 is
decoupled by C2, and the out-
put state can be determined by

A A
observing whether LED 1 is il-

ii
luminated or not. A square out-
put pulse (whose fixed-period is
determined by Rl and Cl) ap-

I i»?;a:8t
pears at OUTPUT pin 3, while an
exponential sawtooth (with the

Ii
same period as the square wave)
appears at DISCHARGE pin 7.
jS
FIG. 3-COMBINATIONS OF RESISTANCE AND CAPACITANCE yield a range of time The fixed-period output of the
co delays. The trigger pulse width must be less than the timing period. circuit in Fig. 4 can vary from
1.1 to 120 seconds by making
product of R and C. Figure 3 is a family of time delay curves with the changes shown in Fig. 5.
0 plot of time delay vs. resistance variations in R-p and C-p Delays Resistor Rl is replaced with a
c
g and capacitance based upon from 10 microseconds to 100 10K fixed resistor and 1-
•G
0)
the time-delay formula where t^ seconds can be obtained by se- megohm potentiometer R5 in
LU is in milliseconds, R is in thou- lecting suitable values of low- series, as shown. A reset feature
sands of ohms, and C is in mi- leakage capacitors from 0.001 can be added by installing
64 crofarads. Figure 3 gives a (xF to 100 |J.F and resistors from RESET switch S2, permitting
premature termination of the
timing period.
The 555 timer can drive non-
inductive loads directly from
pin 3 with currents as large as
200 milliamperes. However, if
the circuit contains an induc-
tlve relay load, either of the
schematlcs shown in Fig. 6 ap-
ply. In Fig. 6-a, the relay RY1 is
normally off, but It goes on only
when OUTPUT pin 3 goes high
during the timing interval; in
Fig. 6-b. RY1 Is normaUyon, but
it turns off during the timing
interval. Diode Dl in both cir-
cults protects the 555 against
Inductive-switching damage.
FIG.4—FIXED-PERIOD TIMER produces a 50-second time delay (a). The wave-
The contacts of relay RY1 can
forms at three pins are shown (b + a).
control external circuits.
Figure 7 shows how a relay
and a 555 can form a simple 1.1-
to 120-second timer in two
swltch-selected decades. How-
ever, the general-purpose cir-
cult has several drawbacks.
First, it draws current continu-
ously, even when the timer is
off. Second, because of the wide
tolerance variations in the elec-
trolytic timing capacltors Cl
FIG. 5—VARIABLE-PERIOD TIMER CIRCUIT with reset capability produces time de- and C2, potentlometer R4
lays from 1.1 to 120 seconds. needs two custom calibrated
scales.
The schematic in Fig. 8 shows
how to overcome these draw-
backs. The RESET switch S2 and
the set of relay contacts in paral-
lel with the START switch Sl,
which are both normally open
(N.O.) keep the circuit off so
there is no current drain. The
timing cycle is started by press-
ing momentary pushbutton
switch Sl, which connects
power to the 555. At the instant
FIG. 6—ALTERNATE METHODS FOR ENERGIZING a relay from the output of a 555. of Sl closure. C3 is fully dls-
charged. It therefore sends a
start pulse to TRIGGER pin 2
through R4 and initiates a tim-
ing cycle.
As the timing cycle starts, RY1
is energized. The contacts In
parallel with Sl close and keep
the 555 powered even when S2

i
is released. At the end of the
timing cycle RY1 Is de-energized ?
and its contacts re-open, dis- m
(D
connecting power from the 555.
The timing of the circuit in
|5-
Fig. 8 is principally controlled U)
by the values of reslstor Rl and
potentiometer R5, and either Cl
or C2, which are switch-se-
FIG. 7— TIMER WITH A RELAY OUTPUT provides time delays of 1.1 to 120 seconds. lected by S3-a. Note. however, 65
that timing is also influenced by +12V 81 NO
the setting of potentiometers START
R6 and R7. They are selected
with switch S3-b and connected
to CONTROL voltage pin 5 of the
1C. Those potentiometers effec-
tively shunt the internal voltage
of the 555, thereby altering tim-
OUTPUT
ing periods. -^-K>
That feature allows the circuit
to produce precise timing peri-
ods even when capacitors with
loose-tolerance values are in the RY1
circuit. It also allows a single 'S2NO D2 12V
1N4001 '>eoQ
calibrated timing scale to cover 0 RESET
the two switch-selected timing ^1cf 1+
cz
•0.1uF
ranges. w^ w^ 5ft
To set up the Fig. 8 circuit,
first set potentiometer R5 to its
maximum value, set switch S3 FIG. 8—PRECISION (COMPENSATED) TIMER with a relay output has two ranges: 0.9
to 10 seconds and 9 to 100 seconds.
to position 1 and push START
button Sl. Then adjust potenti- S1
ometer R6 for a precise period of (HEADUGWS
10 seconds. Next, set 3 to posi- SWITCH)
tion 2, push START switch Sl, r<l-^'tT ON
and adjust potentiometer R7 for AUTO m^ R2
BATTERY 470K 22K
^: HEAD
a precise period of 100 seconds.
With those adjustments com- S2
plete, the timing scale can be (IfiNITlON IC1 01 LfGHTS
SWITCH) '? 555 1N48B1
calibrated over its full 100-sec-
and range. swr °^w
•ON -w—y

^
D2 _L :RY1
01 ±t ,C3 1 N40014 12V
Timers for car lights 100|iF ^ >eon
TO.OItiF
Figure 9 is a circuit that auto- R3 03
A02.
matically delays the turn-off of
1.OK
?1 1N4001
an automobile's headlights, per- ^•(CHASSIS)
mitting them to function as
safety lights at night after the FIG. 9—HEADLIGHT TURNOFF CONTROL with automatic delay for automobiles.
ignition switch is turned off. It HEADL16HTS
is a useful circuit if you want O'R'SPOTUSHT rtDFF
your car's headlights to remain ^ SWITCH g^o ^
on for 50 seconds after you have
parked, turned off the ignition,
locked the doors, and walked
away. The headlights will stay
on long enough to illuminate
your route until you can reach
the safety of your home. The cir-
cult does not interfere with nor-
mal headlight operation.
When the car's ignition
switch S2 is turned "on," RY1 is
I energized (through diode D3)

^
closing its contacts and con-
(CHASSIS)
Ii
necting the 12-volt battery to
the 555 and headlights switch
FIG. 10—HEADLIGHT/SPOTLIGHT TURNOFF CONTROL for automobiles is manually
Sl. In this state the headlights
co actuated.
operate normally. However, be-
cause both sides ofcapacitor C2 negatlve-going trigger pulse to after S2 is turned off, keeping
are connected to the positive TRIGGER pin 2, initiating a 50- the positive battery supply con-
0
supply, it is fully discharged. second timing cycle that applies nected to Sl during this period.
I When S2 is turned "off," the current to the relay coil through That keeps the headlights on if
voltage across R3 goes to zero, Dl. Sl is in its ON position. At the
de-energizing the relay. How- Relay RYl's contacts remain end of that 50-second time de-
66 ever, at that time C3 applies a closed for about 50 seconds lay, RY1 de-energizes, its con-
They will be turned on for a pre-
set 50-second period as soon as
momentary pushbutton START
ijiffi switch Sl is pressed. When the
'mMswm iSifflB delay period times out, the
lights will be turned off again
automatically.
•oiis—SIMI?:
Rislf'S£§itM^My@atsi The Fig. 10 circuit includes
%r(|itsijCTIIIIIII relay RY1 with two sets of nor-
8§I::ISa%NS»S? mally-open contacts. The tim-
^: ^ ^rqi^l^f^.'.:^.;:^; ^^;^^.^ ^^:^;;;?:^1^ ::i'^:':?'i:: '
ing sequence is started with the
iSi3Siitt3SiiiSSK!liS& momentary closure ofpushbut-
VSSS9SK88iSSS9Si ton switch Sl. Normally, both Sl
and the relay contacts are open,
so the timer circuit is not
FIG. 11—PORCH LIGHT CONTROL AUTOMATICALLY turns on a light for a preset powered and the lights are off.
period only when triggered at night. Capacitor C3 is discharged un-
der this condition.
When Sl is momentarily
closed, RYl's coil is energized.
WsSSXSSSSXSw^^SSSS That action closes its first set of
^SS^S^WSSSis^SS^iiSsS
contacts, applying power to the
car's lights while also closing its
second set of contacts, applying
power to the 555. However,
'v^y^. :^;:t:/"''VM;;':: '^^^^Mr::"" ^"w":" IC1 TRIGGER pin 2 of the 1C is briefly
555 grounded through C2, so a
negative trigger pulse is fed to
it, and a timing cycle is begun.
Consequently, OUTPUT pin 3 of
the 555 switches high when the
BIBillBSMSI relay contacts close, locking the
relay into its "on" state (re-
gardless of the subsequent state
FIG. 12—ADD-ON PULSE GENERATOR can supplement a stand-alone pulse gener-
ator. It is triggered by rectangular input signals. Table 1 gives output pulse widths for
of Sl), keeping the lights on for
various values of C3. 50 seconds. At the end of the
timing cycle, pin 3 of the 1C
switches to its low state, de-en-
ergizing RY1. Then both sets of
relay contacts open, discon-
necting power from the 555 and
the lights.

Automatic porch light


Figure 11 is an automatic con-
trol circuit for a porch light. It
will turn a porch light on auto-
matically for a preset 50-second
period when its sensor detects
the presence of a person. How-
ever, it performs that function

t
only at night or under condi-

I
tions of reduced visibility such
FIG. 13—MODIFIED ADD-ON PULSE GENERATOR can be triggered by any kind of as might occur during a storm.
input waveform including sine waves. The circuit is activated with

I
switch Sl, which can be a
tacts open, and battery supply ever, the circuit shown in Fig. 10 microswitch triggered by a por-
is disconnected from the 555 is applicable to older vehicles ch gate. It might also be a pres- m
and Sl. whose headlights or spotlight sure-switch hidden under a
The circuit in Fig. 9 is com- are independent of the ignition porch mat and triggered by a 3
patible with modern practice for switch. The circuit illustrates a person weighing perhaps 50 0
tn
powering the headlights switch manual delayed turn-off light pounds or more. z
Sl with ignition switch S2 so control. Circuit operation depends on
that headlights work only when That circuit works if the vehi- a negative-going pulse that falls
the ignition switch is on. How- de is parked with its lights off. below the internally controlled 67
so far, the 555 functions as a
^reiaSM': monostable (one-shot) pulse
^M
sssssasu liliSitisI- 8W
iBWiKiffii iM generator. Suitable trigger sig-
nals are fed to TRIGGER pin 2 and
output pulses are taken from
OUTPUT pin 3. The 555 can gen-
^wrei
erate well formed output pulses
with periods from 5 microse-
conds to hundreds of seconds.
SSSs The maximum usable pulse re-
pitition frequency is approxi-
mately 100 kHz.
V8KSS
BSMtl The signal reaching TRIGGER
iHM pin 2 must be a carefully shaped
negative-going pulse. Its ampli-
assBi

w
tude must switch from an "off
value greater than two-thirds of
the supply voltage to an "on"val-
ue less than one-third of the
supply voltage. (Triggering ac-
tually occurs as pin 2 drops
through the one-third supply
voltage value.) Trigger pulse
width must be greater than 100
nanoseconds but less than that
of the desired output pulse.
That condition assures trigger
pulse removal by the time the
monostable period times out.
Suitable trigger signals for
the 555 in the monostable mode
can be formed by converting the
input signal to a good square
wave that switches between the
full positive supply voltage and
ground. The square wave is
FIG. 14—ADD-ON DELAYED PULSE GENERATOR can be triggered by any input wave-
then coupled to pin 2 with a re-
form (a). Waveforms at input to IC1 and those at the outputs of IC2 and IC3 based on
different values of R and C (to). sistor-capacltor differentiating
network having a short time
constant. That network con-
one-third supply voltage being under reduced visibility, caus-
fed to TRIGGER pin 2 of the 555^ ing a low voltage to appear at the
If the trigger pulse does not fall R4-R5 junction. Under that ii!iHiSiiiiiiiBii®iB
below that value, the timing cy- condition, closing Sl generates 8BSiiii8l@liillB8iB8i?
cles cannot be initiated. a voltage pulse that pulls pin 2
In Fig. 11, the photocell (re- below the one-third supply volt- SlililiMMiiiiliiMiliK
sistor R4) and potentiometer R5 age value, triggering the timer. BKilSSiSHilii
are in series as a light-depen- The cadmium-sulphide (CdS)
dent voltage divider. One side of photocell (resistor R4) should
Sl is connected to the junction have a resistance of 1000 to
between R4 and R5, and the 47,000 ohms under "dark"

I
other side is connected to pin 2 turn-on conditions. Potentiom-
through a the network of C2 eter R5 can be adjusted to preset

Ii
® and R3. In normal daylight the the minimum "dark" level for
photocell's resistance is low, so a circuit triggering. The trigger verts the leading or trailing
high voltage appears at the signal is fed to pin 2 of the~555 edges of the square wave into
junction of R4 and R5. As a re- through the C3 and R3, a net- suitable trigger pulses.
suit, closing Sl sends a voltage work that shapes the trigger Figure 12 shows a timing cir-
pulse to pin 2 whose value is too pulse and effectively isolates the cuit that accepts input signals
u low to pull pin 2 below one-third DC component of the photocell- already in the form of square
c of the supply voltage. Thus, the
g potentiometer network from waves or pulses. 'D-ansistor Ql
•5 timer cannot be triggered with pin 2. converts a i-ectangular input
a)
LU Sl under those conditions. signal into a form that switches
However, the photocell's resis- Pulse generators between the positive supply and
68 tance value increases at night or In all of the circuits presented ground. The output signal is
As shown in Fig. 14-b, the
output pulse at pin 3 ofICS ap-
pears at a time interval after the
initial application of the trigger
signal. This time delay wfdth
Tm is determined by the prod-
uct of the value of capacitor C3
and the sum of the values of re-
sistorR5 andpotentiometerR6,
in accordance with the time de-
lay formula given earlier. Sim-
ilarly, outpufpulse width t^ is
determined with the values'of
C7, and R8 and R9.
This circuit can become part
of a stand-alone pulse delay gen-
erator by building it info a
square-wave generator case.
The square-wave generator will
provide the initial trigger sig-
nals needed.
A number of monostable
pulse generators can be placed
in series to operate in sequen-
tial form. Figure 15-a, for exam-
pie, shows a three-stage se-
quential generator circuit. It
can control lamps or relays in a
pre-programmed time sequence
after pushbutton switch Sl is
pressed to give the START
command. Note that the RESET
pins (pin 4) of all three 555's are
iiiiiiSSiSSsSS ~~"- • —-• v^~ " ' —~~ v WiXSSiiSiSiSiSS.
shorted together and positively
biased by R6. Those pins can be
shorted to ground with SET
;^5fiS^^%ENTIALTIMEROrpulsegenerator(a)andwaveformsat switch S2 When power is ap-
plied, Sl should be closed. en-
suring that none of the 555's in
then fed to TRIGGER pin 2 waves. Here the first 555 (IC1) is the circuit are falsely triggered.
through differentiating net- configured as a Schmitt trigger Figure 14-b shows the'wave-
work C2-R4. The circuit can be- to convert all input signals Into forms from the output pins of
come an add-on pulse generator square-wave output signals. all three 555's (Id to IC3). The
In combination with a~separate Those square waves trigger the time delay t^i is determined by
square-wave or pulse generator. second 555 (IC2) in the-mono- the values of-C1 and R2, t^ is
Variable-amplitude output stable mode in the same way as
pulses can be obtained from'po-
determined by the value aTc4
described earlier. The circuit and R4 and tpg is determined by
tentiometer R7. can also become an add-on the values ofC7 and R7 when
The output pulse widths of pulse generator in combination inserted in the time delay for-
the Fig. 12 circuit can be varied with any kind of stand-alone mula given earlier.
over more than a decade range waveform generator that pro- Finally, three or more mono-
with potentiometer R6, and duces output signals with peak-
t
stable circuits can be connected
they can be switched in overlap- tp-peak amplitudes greater with capacitor C9 (shown in a
ping decade ranges with the val- than one-half the IC's~supply dashed connection line) be-
ues of C3 listed m Table 2. With
the component values shown,
voltage.
Figure 14-a shows how two
tween Sl and pin 3 of the third I
output pulse width is variable
555 (IC3) This loop feeds a sig- co
monostable circuits can be con- »
nal back from the OUTPUT pin of
from 9 microseconds to 1.2 sec- nected in series to make a de- ^
IC3 to the input TRIGGER pin of m
onds. Capacltor C4 decouples

I
layed-pulse generator. As in Fig. 1C 1, permitting infinite repeti- (D
CONTROL VOLTAGE pin 5 to im- 13, the first~555 (IC1) is config- tion of pulse sequence. The cir-
prove circuit stability. ured as aSchmitt trigger. The cuit can drive LED's and digital |
0
Figure 13 shows a modifica- second 555 (IC2) controls time logic. The circuit also has"the z
tionofthe circuit in Fig. 12 that delay width, while the third 555 reset capability provided by S2
can be triggered by any kind of (IC3) determines the output that clears the" circuit when
input waveform, including sine pulse width. power is first applied. R-E 69

Vous aimerez peut-être aussi