Beruflich Dokumente
Kultur Dokumente
Electronic Instrumentation
Experiment 7 555 Timer
Part A: Controlling Oscillation Frequency with Capacitors and Resistors
Part B: Diodes and Light
555 Timer
The 555 Timer is one of the most popular
and versatile integrated circuits ever produced!
It is 30 years old and still being used!
It is a combination of digital and analog circuits.
It is known as the “time machine” as it performs a wide
variety of timing tasks.
Applications for the 555 Timer include:
• Bounce-free switches and Cascaded timers
• Frequency dividers
• Voltage-controlled oscillators
• Pulse generators and LED flashers
2
555 Timer
8
V CC
R
7
DIS
3
Q
6
2 THR
TR
GND
5
CV
NE555
1
Each pin has a function, the meaning of
which will become clearer later.
Note some familiar components inside
3
Inside the 555 Timer
4
Inside the 555 Timer
You will learn more about these components later in
the course, for now just understand the following:
• The voltage divider has three equal 5K resistors. It
divides the input voltage (Vcc) into three equal parts.
• The two comparators are op-amps which compare the
voltages at their inputs and saturate depending upon
which is greater.
• The flip-flop is a bi-stable device. It generates two
values, a “high” value equal to Vcc and a “low” value
equal to 0V.
• The transistor is being used as a switch, it connects pin 7
(discharge) to ground when it is closed.
5
Periodic Pulse Train from a 555 Timer
TCLOSE = 0 R1
1 2 8V
U1
V V 1k V
1
6V
U2 Capacitor Voltage
V1
10V TOPEN = 0 C1
2 4V
1uF
2V
0V
0 0s
V(U2:1)
1ms
V(R1:2)
2ms
V(V1:+)
3ms 4ms 5ms 6ms 7ms 8ms 9ms 10ms
Time
8mA 8V
6mA 6V
Capacitor and Resistor Current
Capacitor Voltage
4mA 4V
2mA 2V
0A 0V
0s 1ms 2ms 3ms 4ms 5ms 6ms 7ms 8ms 9ms 10ms 0s 1ms 2ms 3ms 4ms 5ms 6ms 7ms 8ms 9ms 10ms
I(R1) I(C1) V(U2:1) V(R1:2) V(V1:+)
Time Time
t
Capacitor Current I Ioe
8V
6V
Capacitor Voltage
4V
2V
0V
0s 1ms 2ms 3ms 4ms 5ms 6ms 7ms 8ms 9ms 10ms
V(U2:1) V(R1:2) V(V1:+)
Time
10
555 Timer
1 144
.
f
0.693( R1 2 R2)C1 ( R1 2 R2)C1
14
555 Animation
Output is low
so the upper
LED is on and
the lower LED
is off
Capacitor is discharging
through Rb
16
Types of 555-Timer Circuits
5V
5V
Ra R
8
R
VCC
R
V CC
7 7
DIS DIS
1K
3
Rb 3 Q
Q
6
6 2 THR
2 THR TR LED
GND
TR LED 5
GND
2
CV
5
CV
0.01uF
NE555
C
0.01 uF
1
NE555
C
1
1
Astable Multivibrator Monostable Multivibrator
puts out a continuous (or one-shot) puts out one
pulse each time the
sequence of pulses switch is connected
17
Monostable Multivibrator (One Shot)
Vcc 8 4 Reset
R Threshold Comparator
Ra 2 +V Output
Vcc -
Q
3
+
R 3
6 -V
R
Trigger +V
-
2 S Q
1 +
Vcc -V
3 Trigger Comparator Control Flip-Flop
7
R
C
1 Monstable Multivibrator
One-Shot 18
Behavior of the Monostable Multivibrator
The monostable multivibrator is constructed by adding an
external capacitor and resistor to a 555 timer.
The circuit generates a single pulse of desired duration
when it receives a trigger signal, hence it is also called a
one-shot.
The time constant of the
resistor-capacitor
combination determines
the length of the pulse.
19
Uses of the Monostable Multivibrator
• Used to generate a clean pulse of the correct
height and duration for a digital system
• Used to turn circuits or external components
on or off for a specific length of time.
• Used to generate delays.
• Can be cascaded to create a variety of
sequential timing pulses. These pulses can
allow you to time and sequence a number of
related operations.
20
Astable Pulse-Train Generator (Multivibrator)
Vcc 8 4
R Threshold Comparator
R1 +V
- Output
R Q
+ 3
R2 6 -V
R
+V
-
2 S Q
+
-V
Trigger Comparator Control Flip-Flop
7
R
C
22
Uses of the Astable Multivibrator
• Flashing LED’s
• Pulse Width Modulation
• Pulse Position Modulation
• Periodic Timers (see mushroom timer in the
experiment).
23
Flashing LED’s
24
PWM: Pulse Width Modulation
Medium
Duty Cycle
High
Duty Cycle
28
Behavior of the Pulse Position Modulator
This application generates a continuous stream of
rectangular off-on pulses that switch between two
voltage levels, BUT they vary in width.
The frequency of the pulses and their duty cycle are
dependent upon the RC network values AND the value
of the input signal.
When a signal is
encoded like this, it
can be transmitted and
then decoded with
a receiver.
29
Optical Receiver Circuit
30
Part B: Diodes and Light
• The Light-Emitting Diode
(LED) is a semiconductor
pn junction diode that
emits visible light or near-
infrared radiation when
forward biased.
• Visible LEDs emit
relatively narrow bands of
green, yellow, orange, or
red light. Infrared LEDs
emit in one of several
bands just beyond red
light.
31
Facts about LED’s
• LEDs switch off and on rapidly, are very rugged
and efficient, have a very long lifetime, and are
easy to use.
• They are current-dependent sources, and their
light output intensity is directly proportional to
the forward current through the LED.
• Always operate an LED within its ratings to
prevent irreversible damage.
• Use a series resistor (Rs) to limit the current
through the LED to a safe value. Usually a 330
Ω resistor is used in series with an LED when
used with a 5V supply.
• VLED is the LED voltage drop. It ranges from
about 1.3 volts to about 2.5 volts. Vin VLED
Rs
• ILED is the specified forward current. I LED
32
33
34
Photodiodes and Phototransistors
• Photodiodes are designed to detect photons and
can be used in circuits to sense light.
• Phototransistors are photodiodes with some
internal amplification. Photodiode Light-detector
Circuit
Note:
Reverse current flows through the
+
photodiode when it is sensing light.
If photons excite carriers in a reverse- V I
biased pn junction, a very small
current proportional to the light
R
intensity flows.
The sensitivity depends on the
wavelength of light.
35
36