Download AN170 NE555 and NE556 applications

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

History of electric power transmission wikipedia , lookup

Control system wikipedia , lookup

Three-phase electric power wikipedia , lookup

Flip-flop (electronics) wikipedia , lookup

Electrical substation wikipedia , lookup

Spark-gap transmitter wikipedia , lookup

Ohm's law wikipedia , lookup

Time-to-digital converter wikipedia , lookup

Islanding wikipedia , lookup

Power inverter wikipedia , lookup

Electrical ballast wikipedia , lookup

Transistor wikipedia , lookup

Capacitor wikipedia , lookup

Analog-to-digital converter wikipedia , lookup

Variable-frequency drive wikipedia , lookup

TRIAC wikipedia , lookup

Triode wikipedia , lookup

Current source wikipedia , lookup

Two-port network wikipedia , lookup

Stray voltage wikipedia , lookup

Alternating current wikipedia , lookup

Distribution management system wikipedia , lookup

Pulse-width modulation wikipedia , lookup

Surge protector wikipedia , lookup

Integrating ADC wikipedia , lookup

Power MOSFET wikipedia , lookup

Resistive opto-isolator wikipedia , lookup

Rectifier wikipedia , lookup

Voltage regulator wikipedia , lookup

Voltage optimisation wikipedia , lookup

Oscilloscope history wikipedia , lookup

Power electronics wikipedia , lookup

Mains electricity wikipedia , lookup

Switched-mode power supply wikipedia , lookup

Schmitt trigger wikipedia , lookup

Buck converter wikipedia , lookup

Current mirror wikipedia , lookup

Immunity-aware programming wikipedia , lookup

Opto-isolator wikipedia , lookup

Transcript
INTEGRATED CIRCUITS
AN170
NE555 and NE556 applications
1988 Dec
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
oscillator, only one additional resistor is necessary. By proper
selection of external components, oscillating frequencies from one
cycle per half hour to 500kHz can be realized. Duty cycles can be
adjusted from less than one percent to 99 percent over the
frequency spectrum. Voltage control of timing and oscillation
functions is also available.
INTRODUCTION
In mid 1972, Philips Semiconductors introduced the 555 timer, a
unique functional building block that has enjoyed unprecedented
popularity. The timer’s success can be attributed to several inherent
characteristics foremost of which are versatility, stability and low
cost. There can be no doubt that the 555 timer has altered the
course of the electronics industry with an impact not unlike that of
the IC operational amplifier.
Timer Circuitry
The timer is comprised of five distinct circuits: two voltage
comparators; a resistive voltage divider reference; a bistable
flip-flop; a discharge transistor; and an output stage that is the
“totem-pole” design for sink or source capability. Q10-Q13 comprise
a Darlington differential pair which serves as a trigger comparator.
Starting with a positive voltage on the trigger, Q10 and Q11 turn on
when the voltage at Pin 2 is moved below one third of the supply
voltage. The voltage level is derived from a resistive divider chain
consisting of R7, R8 and R9. All three resistors are of equal value
(5kΩ). At 15V supply, the triggering level would be 5V.
When Q10 and Q11 turn on, they provide a base drive for Q15,
turning it on. Q16 and Q17 form a bistable flip-flop. When Q15 is
saturated, Q16 is ”off’ and Q17 is saturated. Q16 and Q17 will remain
in these states even if the trigger is removed and Q15 is turned ”off’.
While Q17 is saturated, Q20 and Q14 are turned off.
The simplicity of the timer, in conjunction with its ability to produce
long time delays in a variety of applications, has lured many
designers from mechanical timers, op amps, and various discrete
circuits into the ever increasing ranks of timer users.
DESCRIPTION
The 555 timer consists of two voltage comparators, a bistable
flip-flop, a discharge transistor, and a resistor divider network. To
understand the basic concept of the timer let’s first examine the
timer in block form as in Figure 1.
The resistive divider network is used to set the comparator levels.
Since all three resistors are of equal value, the threshold comparator
is referenced internally at 2/3 of supply voltage level and the trigger
comparator is referenced at 1/3 of supply voltage. The outputs of the
comparators are tied to the bistable flip-flop. When the trigger
voltage is moved below 1/3 of the supply, the comparator changes
state and sets the flip-flop driving the output to a high state. The
threshold pin normally monitors the capacitor voltage of the RC
timing network. When the
The output structure of the timer is a “totem-pole” design, with Q22
and Q24 being large geometry transistors capable of providing
200mA with a 15V supply. While Q20 is ”off’, base drive is provided
for Q22 by Q21, thus providing a high output.
For the duration that the output is in a high state, the discharge
transistor is ”off’. Since the collector of Q14 is typically connected to
the external timing capacitor, C, while Q14 is off, the timing capacitor
now can charge through the timing resistor, RA.
VCC
555 OR 1/2 556
The capacitor voltage is monitored by the threshold comparator
(Q1-Q4) which is a Darlington differential pair. When the capacitor
voltage reaches two thirds of the supply voltage, the current is
directed from Q3 and Q4 thru Q1 and Q2. Amplification of the current
change is provided by Q5 and Q6. Q5-Q6 and Q7-Q8 comprise a
diode-biased amplifier. The amplified current change from Q6 now
provides a base drive for Q16 which is part of the bistable flip-flop, to
change states. In doing so, the output is driven “low”, and Q14, the
discharge transistor, is turned “on”, shorting the timing capacitor to
ground.
DISCHARGE
CONTROL
VOLTAGE
R
COMP
THRESHOLD
FLIP
FLOP
R
OUTPUT
OUTPUT
COMP
TRIGGER
The discussion to this point has only encompassed the most
fundamental of the timer’s operating modes and circuitry. Several
points of the circuit are brought out to the real world which allow the
timer to function in a variety of modes. It is essential that one
understands all the variations possible in order to utilize this device
to its fullest extent.
R
RESET
SL00954
Reset Function
Figure 1. 555/556 Timer Functional Block Diagram
Regressing to the trigger mode, it should be noted that once the
device has triggered and the bistable flip-flop is set, continued
triggering will not interfere with the timing cycle. However, there may
come a time when it is necessary to interrupt or halt a timing cycle.
This is the function that the reset accomplishes.
capacitor voltage exceeds 2/3 of the supply, the threshold
comparator resets the flip-flop which in turn drives the output to a
low state. When the output is in a low state, the discharge transistor
is “on”, thereby discharging the external timing capacitor. Once the
capacitor is discharged, the timer will await another trigger pulse, the
timing cycle having been completed.
In the normal operating mode the reset transistor, Q25, is off with its
base held high. When the base of Q25 is grounded, it turns on,
providing base drive to Q14, turning it on. This discharges the timing
capacitor, resets the flip-flop at Q17, and drives the output low. The
reset overrides all other functions within the timer.
The 555 and its complement, the 556 Dual Timer, exhibit a typical
initial timing accuracy of 1% with a 50ppm/C timing drift with
temperature. To operate the timer as a one-shot, only two external
components are necessary; resistance & capacitance. For an
1988 Dec
2
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
FM
CONTROL VOTLAGE
VCC
R1
4.7K
R2
330
R3
4.7K
R4
1K
R7
5K
R12
6.8K
Q21
Q6
Q5
Q7
Q9
Q22
Q8
Q1
THRESHOLD
Q19
R10
82.K
Q4
Q2
R13
3.9K
Q3
R5
10K
R8
5K
Q11 Q12
Q10
CB
Q18
E
Q17
Q25
GND
B
Q20
Q16
R14
220
Q24
Q15
RESET
NOTE:
All resistor values are in ohms.
R11
4.7K
Q13
TRIGGER
DISCHARGE
OUTPUT
Q23
C
R15
4.7K
R9
5K
R6
100K
Q14
R16
100
SL00955
Figure 2. Schematic of 555 or 1/2 556 Dual Timer
voltage function is not used, it is strongly recommended that a
Trigger Requirements
bypass capacitor (0.01µF) be placed across the control voltage pin
Due to the nature of the trigger circuitry, the timer will trigger on the
and ground. This will increase the noise immunity of the timer to
negative-going edge of the input pulse. For the device to time-out
high frequency trash which may monitor the threshold levels causing
properly, it is necessary that the trigger voltage level be returned to
timing error.
some voltage greater than one third of the supply before the timeout
period. This can be achieved by making either the trigger pulse
Monostable Operation
sufficiently short or by AC coupling into the trigger. By AC coupling
The timer lends itself to three basic operating modes:
the trigger (see Figure 3), a short negative-going pulse is achieved
1. Monostable (one-shot)
when the trigger signal goes to ground. AC coupling is most
frequently used in conjunction with a switch or a signal that goes to
ground which initiates the timing cycle. Should the trigger be held
low, without AC coupling, for a longer duration than the timing cycle
the output will remain in a high state for the duration of the low
trigger signal, without regard to the threshold comparator state. This
is due to the predominance of Q15 on the base of Q16, controlling
the state of the bistable flip-flop. When the trigger signal then returns
to a high level, the output will fall immediately. Thus, the output
signal will follow the trigger signal in this case.
2. Astable (oscillatory)
3. Time delay
By utilizing one or any combination of basic operating modes and
suitable variations, it is possible to utilize the timer in a myriad of
applications. The applications are limited only to the imagination of
the designer.
One of the simplest and most widely used operating modes of the
timer is the monostable (one-shot). This configuration requires only
two external components for operation (see Figure 4). The
sequence of events starts when a voltage below one third VCC is
sensed by the trigger comparator. The trigger is normally applied in
the form of a short negative-going pulse. On the negative-going
edge of the pulse, the device triggers, the output goes high and the
discharge transistor turns off. Note that prior to the input pulse, the
discharge transistor is on, shorting the timing capacitor to ground. At
this point the timing capacitor, C, starts charging through the timing
resistor, R. The voltage on the capacitor increases exponentially
with a time constant T=RC. Ignoring capacitor leakage, the capacitor
will reach the two thirds VCC level in 1.1 time constants or
Control Voltage
One additional point of significance, the control voltage, is brought
out on the timer. As mentioned earlier, both the trigger comparator,
Q10-Q13, and the threshold comparator, Q1-Q4, are referenced to an
internal resistor divider network, R7, R8, R9. This network
establishes the nominal two thirds of supply voltage (VCC) trip point
for the threshold comparator and one third of VCC for the
trigger comparator. The two thirds point at the junction of R7, R8 and
the base of Q4 is brought out. By imposing a voltage at this point,
the comparator reference levels may be shifted either higher or
lower than the nominal levels of one third and two thirds of the
supply voltage. Varying the voltage at this point will vary the timing.
This feature of the timer opens a multitude of application possibilities
such as using the timer as a voltage-controlled oscillator,
pulse-width modulator, etc. For applications where the control
1988 Dec
T = 1.1 RC
3
(1)
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
Where T is in seconds, R is in ohms, and C is in Farads. This
voltage level trips the threshold comparator, which in turn drives the
output low and turns on the discharge
VCC
transistor. The transistor discharges the capacitor, C, rapidly. The
timer has completed its cycle and will now await another trigger
pulse.
Astable Operation
VCC
In the astable (free-run) mode, only one additional component, RB,
is necessary. The trigger is now tied to the threshold pin. At
power-up, the capacitor is discharged, holding the trigger low. This
triggers the timer, which establishes the capacitor charge path
through RA and RB. When the capacitor reaches the threshold level
of 2/3 VCC, the output drops low and the discharge transistor turns
on.
10k
.001µF
2
555
The timing capacitor now discharges through RB. When the
capacitor voltage drops to 1/3 VCC, the trigger comparator trips,
automatically retriggering the timer, creating an oscillator whose
frequency is given by:
f VCC
1
QUALIFICATION OF
TRIGGER PULSE AS
SEEN BY THE TIMER
SWITCH GROUNDED
AT THIS POINT
SL00956
Figure 3. AC Coupling of the Trigger Pulse
Time Delay
VCC
R
In this third basic operating mode, we aim to accomplish something
a little different from monostable operation. In the monostable mode,
when a trigger was applied, immediately changed to the high state,
timed out, and returned to its pre-trigger low state. In the time delay
mode, we require the output not to change state upon triggering, but
at some precalculated time after trigger is received.
555 OR 1/2 556
DISCHARGE
R
CONTROL
VOLTAGE
The threshold and trigger are tied together, monitoring the capacitor
voltage. The
COMP
THRESHOLD
C
FLIP
FLOP
R
OUTPUT
OUTPUT
COMP
TRIGGER
R
RESET
SL00957
Figure 4. Monostable Operation
1988 Dec
(2)
Selecting the ratios of RA and RB varies the duty cycle accordingly.
Lo and behold, we have a problem. If a duty cycle of less than fifty
percent is required, then what? Even if RA=0, the charge time
cannot be made smaller than the discharge time because the
charge path is RA+RB while the discharge path is RB alone. In this
case it becomes necessary to insert a diode in parallel with RB,
cathode toward the timing capacitor. Another diode is desirable, but
not mandatory (this one in series with RB), cathode away from the
timing capacitor. Now the charge path becomes RA, through the
parallel diode into C. Discharge is through the series diode and RB
to the discharge transistor. This scheme will afford a duty cycle
range from less than 5% to greater than 95%. It should be noted that
for reliable operation a minimum value of 3kΩ for RB is
recommended to assure that oscillation begins.
1/3 VCC
OVOLTS
1.49
(R A 2R B) C
4
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
VCC
VCC
ICHARGE
RA
RA
555 OR 1/2 556
7
DISCHARGE
R
555
OR
1/2 555
R
CONTROL
VOLTAGE
6
OPTIONAL
RB
2
COMP
THRESHOLD
FLIP
FLOP
R
SL00959
OUTPUT
Figure 6. Method of Achieving Duty
Cycles Less Than 50%
COMP
Selecting External Components
TRIGGER
In selecting the timing resistor and capacitor, there are several
considerations to be taken into account.
R
Stable external components are necessary for the RC network if
good timing accuracy is to be maintained. The timing resistor(s)
should be of the metal film variety if timing accuracy and
repeatability are important design criteria. The timer exhibits a
typical initial accuracy of one percent. That is, with any one RC
network, from timer to timer only one percent change is to be
expected. Most of the initial timing error (i.e., deviation from the
formula) is due to inaccuracies of external components. Resistors
range from their rated values by 0.01% to 10% and 20%. Capacitors
may have a 5% to 10% deviation from rated capacity. Therefore, in a
system where timing is critical, an adjustable timing resistor or
precision components are necessary. For best results, a good
quality trim pot, placed in series with the largest feasible resistance,
will allow for best adjustability and performance.
C
RESET
SL00958
Figure 5. Astable Operation
discharge function is not used. The operation sequence begins as
transistor (T1) is turned on, keeping the capacitor grounded. The
trigger sees a low state and forces the timer output high. When the
transistor is turned off, the capacitor commences its charge cycle.
When the capacitor reaches the threshold level, only then does the
output change from its normally high state to the low state. The
output will remain low until T1 is again turned on.
The timing capacitor should be a high quality, stable component with
very low leakage characteristics. Under no circumstances should
ceramic disc capacitors be used in the timing network! Ceramic disc
capacitors are not sufficiently stable in capacitance to operate
properly in an RC mode. Several acceptable capacitor types are:
silver mica, mylar, polycarbonate, polystyrene, tantalum, or similar
types.
GENERAL DESIGN CONSIDERATIONS
The timer will operate over a guaranteed voltage range of 4.5V to
15VDC with 16VDC being the absolute maximum rating. Most of the
devices, however, will operate at voltage levels as low as 3VDC. The
timing interval is independent of supply voltage since the charge rate
and threshold level of the comparator are both directly proportional
to supply. The supply voltage may be provided by any number of
sources, however, several precautions should be taken. The most
important, the one which provides the most headaches if not
practiced, is good power supply filtering and adequate bypassing.
Ripple on the supply line can cause loss of timing accuracy. The
threshold level shifts, causing a change of charging current. This will
cause a timing error for that cycle.
The timer typically exhibits a small negative temperature coefficient
(50ppm/°C). If timer accuracy over temperature is a consideration,
timing components with a small positive temperature coefficient
should be chosen. This combination will tend to cancel timing drift
due to temperature.
In selecting the values for the timing resistors and capacitor, several
points should be considered. A minimum value of threshold current
is necessary to trip the threshold comparator. This value is 0.25µA.
To calculate the maximum value of resistance, keep in mind that at
the time the threshold current is required, the voltage potential on
the threshold pin is two thirds of supply. Therefore:
Due to the nature of the output structure, a high power totem-pole
design, the output of the timer can exhibit large current spikes on the
supply line. Bypassing is necessary to eliminate this phenomenon. A
capacitor across the VCC and ground, directly across the device, is
necessary and ideal. The size of a capacitor will depend on the
specific application. Values of capacitance from 0.01µF to 10µF are
not uncommon, but note that the bypass capacitor would be as
close to the device as physically possible.
1988 Dec
IDISCHARGE
C
Vpotential = VCC - VCapacitor
Vpotential = VCC - 2/3VCC = 1/3VCC
5
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
The most important characteristic of the capacitor should be as low
a leakage as possible. Obviously, any leakage will subtract from the
charge count, causing the calculated time to be longer than
anticipated.
Maximum resistance is then defined as
R MAX +
V CC *
V CAP
(3)
I THRESH
Control Voltage
Example: VCC = 15V
R MAX +
Regressing momentarily, we recall that the control voltage pin is
connected directly to the threshold comparator at the junction of R7,
or
R8. The combination of R7, R8 and R9 comprises the resistive
voltage divider network that establishes the nominal VCC trigger
comparator level (junction R8, R9) and the VCC level for the
threshold comparator (junction R7, R8).
15 * 10
+ 20M
0.25(10 * 6)
VCC = 5V
R MAX +
5 * 3.33
+ 6.6M
0.25(10 * 6)
For most applications, the control voltage function is not used and
therefore is bypassed to ground with a small capacitor for noise
filtering. The control voltage function, in other applications, becomes
an integral part of the design. By imposing a voltage at this pin, it
becomes possible to vary the threshold comparator “set” level above
or below the 2/3 VCC nominal, thereby varying the timing. In the
monostable mode, the control voltage may be varied from 45% to
90% of VCC. The 45-90% figure is not firm, but only an indication to
a safe usage. Control voltage levels below and above those stated
have been used successfully in some applications.
NOTE:
If using a large value of timing resistor, be certain that the capacitor leakage is significantly
lower than the charging current available to minimize timing error.
On the other end of the spectrum, there are certain minimum values
of resistance that should be observed. The discharge transistor,
Q14, is current-limited at 35mA to 55mA internally. Thus, at the
current limiting values, Q14 establishes high saturation voltages.
When examining the currents at Q14, remember that the transistor,
when turned on, will be carrying two current loads. The first being
the constant current through timing resistor, RA. The second will be
the varying discharge current from the timing capacitor. To provide
best operation, the current contributed by the RA path should be
minimized so that the majority of discharge current can be used to
reset the capacitor voltage. Hence it is recommended that a 5kΩ
value be the minimum feasible value for RA. This does not mean
lower values cannot be used successfully in certain applications, yet
there are extreme cases that should be avoided if at all possible.
In the oscillatory (free-run) mode, the control voltage limitations are
from 1.7V to VCC. These values should be heeded for reliable
operation. Keep in mind that in this mode the trigger level is also
important. When the control voltage raises the threshold comparator
level, it also raise the trigger comparator level by one-half that
amount due to R8 and R9 of Figure 2. As a voltage-controlled
oscillator, one can expect ±25% around center frequency (fO) to be
virtually linear with a normal RC timing circuit. For wider linear
variations around fO it may be desirable to replace the charging
resistor with a constant-current source. In this manner, the
exponential charging characteristics of the classical configuration
will be altered to linear charge time.
VCC
RA
555 OR 1/2 556
Reset Control
DISCHARGE
R
The only remaining function now is the reset. As mentioned earlier,
the reset, when taken to ground, inhibits all device functioning. The
output is driven low, the bistable flip-flop is reset, and the timing
capacitor is discharged. In the astable (oscillatory) mode, the reset
can be used to gate the oscillator. In the monostable, it can be used
as a timing abort to either interrupt a timing sequence or establish a
standby mode (i.e., device off during power-up). It can also be used
in conjunction with the trigger pin to establish a positive
edge-triggered circuit as opposed to the normal negative
edge-trigger mode. One thing to keep in mind when using the reset
function is that the reset voltage (switching) point is between 0.4V
and 1.0V (min/max). Therefore, if used in conjunction with the
trigger, the device will be out of the reset mode prior to reaching 1V.
At that point the trigger is in the “turn on” region, below 1/3 VCC. This
will cause the device to trigger immediately, effectively triggering on
the positive-going edge if a pulse is applied to Pins 4 and 2
simultaneously.
R
CONTROL
VOLTAGE
COMP
THRESHOLD
FLIP
FLOP
R
OUTPUT
COMP
TRIGGER
C
R
RESET
SL00960
Figure 7. Time Delay Operation
Capacitor size has not proven to be a legitimate design criteria.
Values ranging from picofarads to greater than one thousand
microfarads have been used successfully. One precaution need be
utilized, though. (It should be a cardinal rule that applies to the
usage of all ICs.) Make certain that the package power dissipation is
not exceeded. With extremely large capacitor values, a maximum
duty cycle which allows some cooling time for the discharge
transistor may be necessary.
1988 Dec
FREQUENTLY ASKED APPLICATIONS
QUESTIONS
The following is a harvest of various maladies, exceptions, and
idiosyncrasies that may exhibit themselves from time to time in
6
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
various applications. Rather than cast aspersions, a quick review of
this list may uncover a solution to the problem at hand.
here are some ingenious applications devised by our applications
engineers and by some of our customers.
1. In the oscillator mode when reset is released the first time
constant is approximately twice as long as the rest. Why?
Answer: In the oscillator mode the capacitor voltage fluctuates
between 1/2 and 2/3 of the supply voltage. When reset is pulled
down, the capacitor discharges completely. Thus for the first cycle
it must charge from ground to 2/3 VCC, which takes twice as long.
Missing Pulse Detector
Using the circuit of Figure 10a, the timing cycle is continuously reset
by the input pulse train. A change in frequency, or a missing pulse,
allows completion of the timing cycle which causes a change in the
output level. For this application, the time delay should be set to be
slightly longer than the normal time between pulses. Figure 10b
shows the actual waveforms seen in this mode of operation.
2. What is maximum frequency of oscillations?
Answer: Most devices will oscillate about 1MHz. However, in the
interest of temperature stability, one should operate only up to
about 500kHz.
Figure 11b shows the waveforms of the timer in Figure 11a when
used as a divide-by-three circuit. This application makes use of the
fact that this circuit cannot be retriggered during the timing cycle.
3. What is temperature drift for oscillator mode?
Answer: Temperature drift of oscillator mode is 3 times that of
one-shot mode due to the addition of a second voltage
comparator. Frequency always increases with an increasing
temperature. Therefore it is possible to partially offset this drift
with an offsetting temperature coefficient in the external
resistor/capacitor combination.
Pulse Width Modulation (PWM)
In this application, the timer is connected in the monostable mode as
shown in Figure 12a. The circuit is triggered with a continuous pulse
train and the threshold voltage is modulated by the signal applied to
the control voltage terminal (Pin 5). This has the effect of modulating
the pulse width as the control voltage varies. Figure 12b shows the
actual waveform generated with this circuit.
4. Oscillator exhibits spurious oscillations on crossover points. Why?
Answer: The 555 can oscillate due to feedback from power
supply. Always bypass with sufficient capacitance close to the
device for all applications.
Pulse Position Modulation (PPM)
This application uses the timer connected for astable (free-running)
operation, Figure 13a, with a modulating signal again applied to the
control voltage terminal. Now the pulse position varies with the
modulating signal, since the threshold voltage, and hence the time
delay, is varied. Figure 13b shows the waveform generated for
triangle-wave modulation signal.
5. Trying to drive a relay but 555 hangs up. How come?
Answer: Inductive feedback. A clamp diode across the coil
prevents the coil from driving Pin 3 below a negative 0.6V. This
negative voltage is sufficient in some cases to cause the timer to
malfunction. The solution is to drive the relay through a diode,
thus preventing Pin 3 from ever seeing a negative voltage.
Tone Burst Generator
The 556 Dual Timer makes an excellent tone burst generator. The
first half is connected as a one-shot and the second half as an
oscillator (Figure 14).
6. Double triggering of the TTL loads sometimes occurs. Why?
Answer: Due to the high current capability and fast rise and fall
times of the output, a totem-pole structure different from the TTL
classical structure was used. Near TTL threshold this output
exhibits a crossover distortion which may double trigger logic. A
1000pF capacitor from the output to ground will eliminate any
false triggering.
The pulse established by the one-shot turns on the oscillator,
allowing a burst to be generated.
Sequential Timing
One feature of the dual timer is that by utilizing both halves it is
possible to obtain sequential timing. By connecting the output of the
first half to the input of the second half via a 0.001µF coupling
capacitor, sequential timing may be obtained. Delay t1 is determined
by the first half and t2 by the second half delay (Figure 15).
7. What is the longest time I can get out of the timer?
Answer: Times exceeding an hour are possible, but not always
practical. Large capacitors with low leakage specs are quite
expensive. It becomes cheaper to use a countdown scheme (see
Figure 15) at some point, dependent on required accuracy.
Normally 20 to 30 min. is the longest feasible time.
VCC
R
DESIGN FORMULAS
4
Before entering the section on specific applications it is
advantageous to review the timing formulas. The formulas given
here apply to the 555 and 556 devices.
D2
3
RELAY
5
2
C
APPLICATIONS
The timer, since introduction, has spurred the imagination of
thousands. Thus, the ways in which this device has been used are
far too numerous to present each one. A review of the basic
operation and basic modes has previously been given. Presented
1988 Dec
8
7
1 5
.01
SL00961
Figure 8. Driving High Q Inductive Loads
7
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
VCC
VCC
RA
RA
7
2
8
T = 1.1 RAC
(T = TIME BEFORE
OUTPUT GOES LOW)
6
C
C
T (OUTPUT HIGH) = 1.1 RAC
a. Monostable Timing
b. True Time Delay
VCC
VCC
RA
RA
7
7
RB
RB
6
C
6
t1 (OUTPUT HIGH) = 0.67 RAC
t1 (OUTPUT lLOW) = 0.67 RBC
T = t1 + t2(TOTAL PERIOD)
1
f T
t1 (OUTPUT HIGH) = 0.67 (RA + (RB)C
t1 (OUTPUT lLOW) = 0.67 (RB)C
T = t1 + t2(TOTAL PERIOD)
C
f d. Astable Timing
RA
4
8
7
NE/SE 555 6
5
1
2
C
.02µF
INPUT
a. Schematic Diagram
INPUT 2V/CM
OUTPUT VOLTAGE 5V/CM
CAPACITOR VOLTAGE 5V/CM
RA 1KΩ C = .09 — F
b. Expected Waveforms
SL00963
Figure 10.
1988 Dec
1.49
(R A 2R B) C
SL00962
Figure 9.
The first half of the timer is started by momentarily connecting Pin 6
to ground. When it is timed-out (determined by 1.1 R1C1) the
second half begins. Its duration is determined by 1.1 R2C2.
VCC (5 TO 15V)
3
RA RB
D(DUTY CYCLE) =
R A 2R B
c. Modified Duty Cycle (Astable)
OUTPUT
1
T
8
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
+ VCC (5 TO 15V)
+ VCC (5 TO 5V)
RESET
RA
4
2
8
3
3 4
OUTPUT
NE/SE 555 6
OUTPUT
RA
7
C
NE/SE 555
5
1
8 7
1
5
RB
26
C
CONTROL
VOLTAGE
.01µF
MODULATION
INPUT
a. Schematic Diagram
a. Schematic Diagram
INPUT
T = 0.1 MS/CM
MODULATION INPUT 2V/CM
INPUT 2V/CM
OUTPUT VOLTAGE 5V/CM
OUTPUT VOLTAGE — 5V/CM
CAPACITOR VOLTAGE 5V/CM
t = 0.1 MS/CM
RA 11250Ω C = .02µF — F
CAPACITOR VOLTAGE — 2V/CM
RA — 3KΩ RB — 500ΩC = .01µF
b. Expected Waveforms
b. Expected Waveforms
SL00964
Figure 11.
+ VCC (5 TO 5V)
OUTPUT
8
In the 556 timer the timing is a function of the charging rate of the
external capacitor. For long time delays, expensive capacitors with
extremely low leakage are required. The practicality of the
components involved limits
7
NE/SE 555 6
CLOCK
INPUT
Long Time Delays
RA
3 4
2
1
C
VCC
VCC
VCC
5
MODULATION
INPUT
R1
2k
MIN
a. Schematic Diagram
INPUT
TRIGGER
T = 0.5 MS/CM
MODULATION INPUT 2V/CM
CLOCK INPUT 5V/CM
4
1, 2
6
2k
MIN
14
13
R2
555
12
C2
8
10
7
9
3
.01‘
OUTPUT
11
.01
NOTE:
All resistor values are in ohms.
OUTPUT VOLTAGE 5V/CM
SL00967
Figure 14. Tone Burst Generator
the time between pulses to around twenty minutes.
OUTPUT VOLTAGE 5V/CM
b. Expected Waveforms
R2
5
C1
To achieve longer time periods, both halves may be connected in
tandem with a “divide-by” network in between.
SL00965
Figure 12.
1988 Dec
SL00966
Figure 13.
9
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
The first timer section operates in an oscillatory mode with a period
of 1/fO. This signal is then applied to a “divide-by-N” network to give
an output with the period of N/fO. This can then be used to trigger
the second half of the 556. The total time is now a function of N and
fO (Figure 16).
that capacitor C can charge. When capacitor voltage reaches the
timer’s control voltage (0.33VCC), the flip-flop resets and the
transistor conducts, discharging the capacitor (Figure 19).
Greater linearity can be achieved by substituting a constant-current
source for the frequency adjust resistor (R).
Speed Warning Device
VCC VCC
Utilizing the “missing pulse detector” concept, a speed warning
device, such as depicted, becomes a simple and inexpensive circuit
(Figure 17a).
VCC
The timer receives pulses from the distributor points. Meter M
receives a calibrated current thru R6 when the timer output is high.
After time-out, the meter receives no current for that part of the duty
cycle. Integration of the variable duty cycle by the meter movement
provides a visible indication of engine speed (Figure 18).
130K
4
10
1
14
12
2
556
C1
1µF
8
7
Oscilloscope-Triggered Sweep
OUTPUT 1
9
6
11
OUTPUT 2
3
.01‘
The 555 timer holds down the cost of adding a triggered sweep to
an economy oscilloscope. The circuit’s input op amp triggers the
timer, setting its flip-flop and cutting off its discharge transistor so
.001
5
INPUT
10K
C2
50µF
13
.001
VCC
R2
R1
10K 1me
g
Car Tachometer
VCC
.01
SL00968
Figure 15. Sequential Timer
LONG TIME COUNTER
(HOURS, DAYS, WEEKS,, ETC.)
VCC
RB
(5M)
RA
(5K)
6
1
2 1/2–556 5
6
C
(130µF)
7
10K
INPUT FROM
N8281 COUNTER
1 3 4 10 111314 6
5
14
8
N8281
3
.01µF
13
(30 MIN.)
(1 HOUR)
9
2
12
7
R
14
12 1/2–556 9
.01µF
(2 HOUR)
(4 HOUR)
CLOCK TO NEXT
N8281 COUNTER
FOR LONGER TIMES
.01µF
10
OUTPUT
8
7
C
11
.01µF
NOTE:
All resistor values are in ohms.
SL00969
Figure 16. Method of Achieving Long Time Delays
VCC = 12V
R15
R1
10K
4
10K
14
12
1
1/2–556
2
VIN
6
.01µF
VIN
RBUFFER
7
3
10
PIN 5
PIN 8
14
13 1/2–556 9
5
.01µF
8
7
15µF
PIN 6
PIN
1 & 2 BV
VOUT
PIN
12 & 138V
OUT
PIN 9
11
.01µF
b. Operating Waveforms
Speed Warning Device
a. Schematic of Speed Warning Device
SL00970
Figure 17.
1988 Dec
10
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
R7
15
12 V
D3
IGNITION
COIL
9V
1N960
R1
1K
C3
10µF
R4
50K
4
R3
5K
C1
0.1µF
R5
5K
8
6
555
2
7
DISTRIBUTOR
POINTS
C2
0.1µF
D1
5V
1N5231
3
R2
5K
5
R6
200K
CALIBRATION
1
C4
0.1µF
M
NOTE:
All resistor values are in ohms.
DC
50mA
FULL
SCALE
SL00971
Figure 18. Tachometer
+ VCC
+ VCC
2K 2K
FROM
VERTICAL
AMPLIFIER
+ VCC
1M
1M
100K
SENSITIVITY
ADJUST
+ VCC
8
TO
HORIZONTAL
AMPLIFIER
5K
2
100pF
6
COMPARATOR
+ VCC
– VCC
100K
0
NE555
5K
100K
TRIGGER
LEVEL
ADJUST
R
5V
CONTROL
1KFREQUENCY
ADJUST
+ VCC
DISCHARGE
FLIP FLOP
COMPARATOR
10K
7
5K
10kHz
1 MHz
PULSE
OUTPUT
TRIGGER
– VCC
4
VREF 3
c
0.001
µF
RANGE
1 – 100Hz
100Hz
10kHz
0.1µF
+
10µF
10K
NOTE:
All resistor values are in ohms.
+ VCC
SL00972
Figure 19. Schematic of Triggered Sweep
VCC (5–15V)
OUTUT
PB
SW
C2
60µF
VCC (5–15V)
R1
300
R5
2.2K
3
4
R4
7.5K
R3
300K
R2
4.7M
8
NE555 6
1
2
C1
1000pF
NOTE:
All resistor values are in ohms.
SL00973
Figure 20. Square Wave Tone Burst Generator
1988 Dec
11
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
+ 15V UNREG
12
6
13
10
Q2 2N3642
REMOTE SHUTDOWN
PEAK INVERSE 110V
µA723
2
3
+ 6VDC
0.1µF
BACK EMF
+ 30 V
R1
3K
4
R12
82K
4
T1
2N3054
NE/SE55N 3
1
5
C2
510pF
1
R3
25
2
6
C1
100µF
GND
3
2
8
7
*SM3359
C3
0.01µF
C4
22mF
35V
1N2071
2A
5
5
1N2071
R7
18K
C8
0.1µF
C11
0.1µF
R5
4
13
7
C6
0.05µF
C5
22µF
35V –– 15 UNREG.
D2
+ 15 V OUT
R4
5.6
C7
100pF
R6
2.2K
GND OUT
C9
0.05µF
12
6
11
10
R9
47K
R10
2K
1N914
D3
30µSEC
Q3
2N3644
9
µA733
Q4
5
4
7
13
R8
22K
NOTES:
All resistor values are in ohms.
*Shafer Magnetics
Covina, Calif.
(213) 331-3115
2N3644
C10
100
pF
R11
5.6
C12
0.1µF
– 15 V OUT
SL00974
Figure 21. Regulated DC-to-DC Converter
VCC + 15V
OFFSEWT
ADJUST
5K
PULSE GENERATOR
OR SYSTEM CLOCK
15V
VOUT
FOR
VIN = 0
10µF
10K
VIN +
2.5K
100K
100K
VREF
2/3 VCC
1M
–
8
741
+
5
– 15V
2N3642
6
a
555
3
47K
4
7
VOUT
b FOR
VIN = V1
2
1
C1
1µF
VOUT
VOUT
FOR
VIN = V2
V2 V1
NOTES:
All resistor values in ohms.
*VIN is limited to 2 diode drops within ground or below VCC.
SL00975
Figure 22. Voltage-to-Pulse Duration Converter
Square Wave Tone Burst Generator
Servo System Controller
Depressing the pushbutton provides square wave tone bursts
whose duration depends on the duration for which the voltage at Pin
4 exceeds a threshold. Components R1, R2 and C1 cause the
astable action of the timer IC (Figure 20).
To control a servo motor remotely, the 555 needs only six extra
components (Figure 23).
Stimulus Isolator
Regulated DC-to-DC Converter
Stimulus isolator uses a photo-SCR and a toroid for shaping pulses
of up to 200V at 200µA (Figure 24).
Regulated DC-to-DC converter produces 15VDC outputs from a
+5VDC input. Line and load regulation is 0.1% (Figure 21).
Voltage-to-Frequency Converter (0.2% Accuracy)
Linear voltage-to-frequency converter (a) achieves good linearity
over the 0 to -10V range. Its mirror image (b) provides the same
linearity over the 0 to +10V range, but is not DTL/TTL compatible
(Figure 25).
Voltage-to-Pulse Duration Converter
Voltage levels can be converted to pulse durations by combining an
op amp and a timer IC. Accuracies to better than 1% can be
obtained with this circuit (a), and the output signals (b) still retain the
original frequency, independent of the input voltage (Figure 22).
1988 Dec
12
Philips Semiconductors
Application note
NE555 and NE556 applications
POSITION SET
R1
5K
AN170
TO PIN
OF 543
V
VCC
4.3K
R8
100
0.2µF
2
R2
68K
8
1
NE544
4
SERVO
AMPLIFIER
6
7 9
5
3
8
4
7
IN457 CR1
2.2pF
555
6
3
V
2
1
C1
0.33µF
5
0.1µF
R2
3.3K
R1
10K
R3
50K
R4
33
R5
33
11.5Ω
MOTOR
V
R7
56K
04.7µF
4.7µF
V
R6
56K
TRANSMITTER
4.7µF
R9
220
TO PIN 5
OF 543
4.7µF
GEAR
TRAIN
NOTE:
All resistor values in ohms.
TO CONTROL SURFACE
SL00976
Figure 23. Servo System Controller
NOTE:
All resistor values in ohms.
*Power rating depends on duty cycle from 1/2W for 20-25% duty cycle to 15-20W for 75-90% duty cycle.
Figure 24. Stimulus Isolator
1988 Dec
13
SL00977
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
Positive-to-Negative Converter
Transformerless DC-DC converter derives a negative supply voltage
from a positive. As a bonus, the circuit also generates a clock signal.
The negative output voltage tracks the DC input voltage linearity (a),
but its magnitude is about 3V lower. Application of a 500Ω load, (b),
causes 10% change from the no-load value (Figure 26).
Auto Burglar Alarm
Timer A produces a safeguard delay, allowing driver to disarm alarm
and eliminating a vulnerable outside control switch. The SCR
prevents timer A from triggering timer B, unless timer B is triggered
by strategically-located sensor switches (Figure 27).
Cable Tester
Compact tester checks cables for open-circuit or short-circuit
conditions. A differential transistor pair at one end of each cable line
remains balanced as long as the same clock pulse-generated by the
timer IC appears at both ends of the line. A clock pulse just at the
clock end of the line lights a green light-emitting diode, and a clock
pulse only at the other end lights a red LED (Figure 28).
a.
Low Cost Line Receiver
The timer makes an excellent line receiver for control applications
involving relatively slow electromechanical devices. It can work
without special drivers over single unshielded lines (Figure 29).
NOTE:
All resistor values in ohms.
b.
SL00978
Figure 25.
NOTE:
All resistor values in ohms.
a. Positive-to-Negative Converter
b.
Figure 26.
1988 Dec
14
c.
SL00979
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
NOTES:
Timer Philips Semiconductors NE555
All resistor values in ohms.
SL00980
Figure 27. Auto Burglar Alarm
1988 Dec
15
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
SL00981
Figure 28. Cable Tester
Temperature Control
A couple of transistors and thermistor in the charging network of the
555-type timer enable this device to sense temperature and produce
a corresponding frequency output. The circuit is accurate to within
±1Hz over a 78°F temperature range (Figure 30).
Automobile Voltage Regulator
NOTES:
All resistor values in ohms.
A monolithic 555-type timer is the heart of this simple automobile
voltage regulator. When the timer is off so that its output (Pin 3) is
low, the power Darlington transistor pair is off. If battery voltage
becomes too low (less than 14.4V in this case), the timer turns on
and the Darlington pair conducts (Figure 31).
SL00982
Figure 29. Low Cost Line Receiver
1988 Dec
16
Philips Semiconductors
Application note
NE555 and NE556 applications
NOTES:
All resistor values in ohms.
AN170
a.
b.
SL00983
Figure 30. Temperature Control
NOTES:
* Can be any general purpose Silicon diode or 1N4157.
** Can be any general purpose Silicon transistor.
All resistor values are in ohms.
SL00984
Figure 31. Automobile Voltage Regulator
DC-to-DC Converter
Ramp Generator
SL00985
SL00986
Figure 32. DC-to-DC Converter
Figure 33. Ramp Generator
1988 Dec
17
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
In other low power operations of the timer where VCC is removed
until timing is needed, it is necessary to consider the output load. If
the output is driving the base of a PNP transistor, for example, and
its power is not removed, it will sink current into Pin 3 to ground and
use excessive power. Therefore, when driving these types of loads,
one should recall this internal sinking path of the timer.
Ramp Generator
f +
1.49
(R A @ 2R B) C
SL00987
Figure 34. Ramp Generator
Low Power Monostable Operation
In battery-operated equipment where load current is a significant
factor, Figure 35 can deliver 555 monostable operation at low
standby power. This circuit interfaces directly with CMOS 4000
series and 74L00 series. During the monostable time, the current
drawn is 4.5mA for T=1.1RC. The rest of the time the current drawn
is less than 50µA. (Circuit submitted by Karl Imhof, Executone Inc.,
Long Island City, NY.)
SL00988
Figure 35. Low Power Monostable
the threshold voltage on Pin 6 from activating the reset action of the
Theory of Operation
timer if the time delay between input pulses is shorter than the
The missing pulse detector (see Figure 10) operates as a triggered
programmed time delay set by the external R/C network. This inhibit
monostable multivibrator but with the added feature that the output
action occurs whenever the timing capacitor is prevented from
signal remains high for a repetitive pulse condition at the trigger
exceeding 2/3 VCC. Note that the degree of capacitor discharge is
input node. This is accomplished by the addition of a reset inhibit
directly proportional to the duration of the turn-on time of the
function which prevents the normal time-out of the timer as long as
external PNP transistor. The capacitor voltage is equal to charge
there are input pulses present with period less than the time delay
Q/capacitance C. The amount of delta VC per input pulse is (IC x TP
period. The circuit which provides this feature is an external PNP
(sec)) / C(F) where TP is the width of the trigger pulse and IC is the
transistor with its base tied in parallel with the trigger input pin.
collector current of the PNP transistor during the duration of the
As the input pulse waveform exceeds the instantaneous timing
trigger pulse. The inhibit condition is fulfilled by making the time
coapacitor voltage by one VBE in the negative direction, the PNP
constant of the RC network, connected to Pin 6 and 7, somewhat
transistor is turned on momentarily, pulling the capacitor voltage
longer than the interpulse period for normal fault free operation. The
toward ground potential. This incremental discharge action prevents
1988 Dec
18
Philips Semiconductors
Application note
NE555 and NE556 applications
AN170
from the first stage continually toggles for a speed condition below
the set point. Next, stage one output signal is fed directly into the
trigger input, Pin 8, of the second stage of the NE556, and
simultaneously to the base of the external PNP discharge transistor.
The second stage operation is identical to the one described in the
missing pulse detector section above. The second stage timer
output is held high when the speed transducer pulse train rate is
below the critical threshold. This stage of the dual timer acts to alter
the dynamic response of the speed detector so that a number of
pulses must be missed to activate its output. This gives the detector
a form of hysteresis and prevents the occurance of intermittent
output signaling due to an instantaneous over speed condition. The
length of the stage-two time delay threshold is programmed by
adjusting RBUFFER.
output will then remain positive until such a fault is long than the RC
time constant. The missing pulse detector then provides a negative
going output pulse proportional to the number of missing pulses
received at the input.
The Speed Warning Circuit
Figure 17 shows an application which uses two missing pulse
detectors in tandem as an aover-speed sensor. A speed transducer
pulse signal of negative polarity is fed into the first stage of the
NE556 which is actually used in the mode for which the timer is
always allowed to time out if the pulse rate is below the desired
speed threshold. This occurs, as discussed above, if the pulse input
period is longer than the natural time-out period of the timer (as
determined by the external RC network). The wavetrain coming
14
13
1
DISCHARGE
THRESHOLD
2
12
THRESHOLD
COMP
CONTROL VOLTAGE
RESET
COMP
3
11
4
10
TRIGGER
GROUND
CONTROL VOLTAGE
RESET
FLIP FLOP
OUTPUT
VCC
DISCHARGE
FLIP FLOP
5
6
9
COMP
COMP
OUTPUT
8
TRIGGER
7
SL00989
Figure 36. Block Diagram
8. “Pair of IC Timers Sounds Auto Burglar Alarm”, Michael
BIBLIOGRAPHY
Harvey, Electronics, June 21, 1973, p. 131.
1. “Unconventional Uses for IC Timers” Jim Wyland and Eugene
Hnatek, Electronic Design, June 7, 1973, pp. 88-90.
9. “Timer ICs and LEDs Form Cable Tester”, L.W. Herring, Electronics, May 10, 1973, p. 115.
2. “DC-to-DC Converter Uses the IC Timer”, Robert Soloman
and Robert Broadway, EDN, September 5, 1973, pp. 87-91.
10. “IC Timer can Function as Low Cost Line Receiver”, John
Pate, Electronics, June 21, 1973, p. 132.
3. “Oscilloscope--Triggered Sweep: Another Job for IC Timer”,
Robert McDermott, Electronics, October 11, 1973, p. 125.
11. “IC Timer Plus Thermister can Control Temperature”, Donald
Dekold, Electronics, June 21, 1973, p. 132.
4. “Get Square Wave Tone Bursts With a Single Timer IC”, Sol
Black, Electronic Design, September 1973, p. 148.
12. “IC Timer Makes Economical Automobile Voltage Regulator”, T.J. Fusar, Electronics, September 21, 1974, p. 100.
5. “Toroid and Photo-SCR Prevent Ground Loops in HighIsolation Biological Pulser”, Joseph Sonsino, Electronic Design, June 21, 1973. p. 128.
13. “Switching Regulators, the Efficient Way to Power”,
Robert Olla, Electronics, August 16, 1973, pp. 94-95.
6. “Voltage-to-Frequency Converter Constructed With Few
Components is Accurate to 0.2%”, ’Chaim Klement, Electronic
Design, June 21, 1973, p. 124.
14. “Put the IC Timer to Work in a Myriad of Ways”, Eu-
gene Hnatek, EDN, March 5, 1973, pp. 54-58.
7. “Positive Voltage Changed into Negative and No Transformer is Required”, Bert Pearl, Electronic Design, May 24, 1973, p.
164.
1988 Dec
19