Analog Manual
Analog Manual
LABORATORY
MANUAL
555 TIMER. 741 OP-AMP. 324 IC
M.HAREESH BABU
Analog Laboratory.
Dept of Systems Design.
9/15/2010
IN105 – Practical List: Analog Electronics
(Any seven of the following experiments has to be done)
2
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
The 555 Timer IC
T
he 555 Timer IC is an integrated circuit (chip) implementing a variety of
timer and multivibrator applications. The IC was designed by
Hans R. Camenzind in 1970 and brought to market in 1971 by Signetics
(later acquired by Philips). The original name was the SE555 (metal can)/NE555
(plastic DIP) and the part was described as "The IC Time Machine".[1] It has been
claimed that the 555 gets its name from the three 5 kΩ resistors used in typical
early implementations,[2] but Hans Camenzind has stated that the number was
arbitrary.[3] The part is still in wide use, thanks to its ease of use, low price and
good stability. As of 2003, it is estimated that 1 billion units are manufactured
every year.[3]
Ultra-low power versions of the 555 are also available, such as the 7555 and
TLC555.[5] The 7555 requires slightly different wiring using fewer external
components and less power.
3
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
• Bistable mode or Schmitt trigger: the 555 can operate as a flip-flop, if the
DIS pin is not connected and no capacitor is used. Uses include bouncefree
latched switches, etc.
Contents
1 Usage
1.1 Monostable mode
1.2 Bistable Mode
1.3 Astable mode
2 Specifications
3 Derivatives
3.1 Dual timer 556
3.2 Quad timer 558
4 Example applications
4.1 Joystick interface circuit using quad timer 558
4.2 Atari Punk Console
4.3 Pulse Width Modulation
5 References
6 Bibliography
7 External links
Pin-out diagram
4
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
The connection of the pins is as follows:
Monostable mode
The relationships of the trigger signal, the voltage on C and the pulse width in monostable mode
5
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
In the monostable mode, the 555 timer acts as a “one-shot” pulse generator. The
pulse begins when the 555 timer receives a signal at the trigger input that falls
below a third of the voltage supply. The width of the pulse is determined by the
time constant of an RC network, which consists of a capacitor (C) and a resistor
(R). The pulse ends when the charge on the C equals 2/3 of the supply voltage. The
pulse width can be lengthened or shortened to the need of the specific application
by adjusting the values of R and C. The pulse width of time t, which is the time it
takes to charge C to 2/3 of the supply voltage, is given by
Bistable Mode
In bistable mode, the 555 timer acts as a basic flip-flop. The trigger and reset
inputs (pins 2 and 4 respectively on a 555) are held high via pull-up resistors while
the threshold input (pin 6) is simply grounded. Thus configured, pulling the trigger
momentarily to ground acts as a 'set' and transitions the output pin (pin 3) to Vcc
(high state). Pulling the reset input to ground acts as a 'reset' and transitions the
output pin to ground (low state). No capacitors are required in a bistable
configuration. Pins 5 and 7 (control and discharge) are left floating.
Astable mode
6
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
In astable mode, the '555 timer ' puts out a continuous stream of rectangular pulses
having a specified frequency. Resistor R1 is connected between VCC and the
discharge pin (pin 7) and another resistor (R2) is connected between the discharge
pin (pin 7), and the trigger (pin 2) and threshold (pin 6) pins that share a common
node. Hence the capacitor is charged through R1 and R2, and discharged only
through R2, since pin 7 has low impedance to ground during output low intervals of
the cycle, therefore discharging the capacitor.
In the astable mode, the frequency of the pulse stream depends on the values of R1,
R2 and C:
where R1 and R2 are the values of the resistors in ohms and C is the value of the
capacitor in farads.
To achieve a duty cycle of less than 50% a diode can be added in parallel with R2
towards the capacitor. This bypasses R2 during the high part of the cycle so that
the high interval depends only on R1 and C1.
Specifications: These specifications apply to the NE555. Other 555 timers can
have better specifications depending on the grade (military, medical, etc).
7
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
Power Consumption (minimum operating) 30 mW@5V, 225 mW@15V
Operating temperature 0 to 70 °C
8
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
Dual timer 556
The dual version is called 556. It features two complete 555s in a 14 pin DIL
package.
The quad version is called 558 and has 16 pins. To fit four 555s into a 16 pin
package the control voltage and reset lines are shared by all four modules. Also for
each module the discharge and threshold are internally wired together and called
timing.
Example applications
The original IBM personal computer used a quad timer 558 in monostable (or
"one-shot") mode to interface up to two joysticks to the host computer.[8] In the
joystick interface circuit of the IBM PC, the capacitor (C) of the RC network (see
Monostable Mode above) was generally a 10 nF capacitor. The resistor (R) of the
9
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
RC network consisted of the potentiometer inside the joystick along with an
external resistor of 2.2 kilohms.[9] The joystick potentiometer acted as a variable
resistor. By moving the joystick, the resistance of the joystick increased from a
small value up to about 100 kilohms. The joystick operated at 5 V.[10]
Software running in the host computer started the process of determining the
joystick position by writing to a special address (ISA bus I/O address 201h).[11][12]
This would result in a trigger signal to the quad timer, which would cause the
capacitor (C) of the RC network to begin charging and cause the quad timer to
output a pulse. The width of the pulse was determined by how long it took the C to
charge up to 2/3 of 5 V (or about 3.33 V), which was in turn determined by the
joystick position.[11][13]
Software running in the host computer measured the pulse width to determine the
joystick position. A wide pulse represented the full-right joystick position, for
example, while a narrow pulse represented the full-left joystick position.[11]
One of Forrest M. Mims III's many books was dedicated to the 555 timer. In it, he
first published the "Stepped Tone Generator" circuit which has been adopted as a
popular circuit, known as the Atari Punk Console, by circuit benders for its
distinctive low-fi sound similar to classic Atari games.
The 555 can be used to generate a variable PWM signal using a few external
components. The chip alone can drive small external loads or an amplifying
transistor for larger loads.
10
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
741 OP-AMP
L
M741 series are general purpose operational amplifiers which feature
improved performance over industry standards like the LM709. They are
direct, plug-in replacements for the 709C, LM201, MC1439 and 748 in
most applications.
Circuit notation:
The circuit symbol for an op-amp is shown to the right, where:
• : non-inverting input
• : inverting input
• : output
• : positive power supply
• : negative power supply
11
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
Operation : The amplifier's differential inputs consist of a input and a input,
and ideally the op-amp amplifies only the difference in voltage between the two,
which is called the differential input voltage. The output voltage of the op-amp is
given by the equation,
12
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
However, in this circuit V– is a function of Vout because of the negative feedback
through the R1R2 network. R1 and R2 form a voltage divider, and as V– is a high-
impedance input, it does not load it appreciably. Consequently:
Where:
13
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
Inverting amplifier :
In an inverting amplifier, the output voltage changes in an opposite direction to the
input voltage.
As for the non-inverting amplifier, we start with the gain equation of the op-amp:
This time, V– is a function of both Vout and Vin due to the voltage divider
formed by Rf and Rin. Again, the op-amp input does not apply an appreciable
load, so:
Substituting this into the gain equation and solving for Vout:
14
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
A resistor is often inserted between the non-inverting input and ground (so both
inputs "see" similar resistances), reducing the input offset voltage due to different
voltage drops due to bias current, and may reduce distortion in some op-amps.
A DC-blocking capacitor may be inserted in series with the input resistor when
a frequency response down to DC is not needed and any DC voltage on the input is
unwanted. That is, the capacitive component of the input impedance inserts a
DC zero and a low-frequency pole that gives the circuit a bandpass or high-
pass characteristic.
Real op-amps differ from the ideal model in various respects. IC op-amps as
implemented in practice are moderately complex integrated circuits; see
the internal circuitry for the relatively simple 741 op-amp below, for example
DC imperfections
Real operational amplifiers suffer from several non-ideal effects:
Finite gain
Open-loop gain is infinite in the ideal operational amplifier but finite in real
operational amplifiers. Typical devices exhibit open-loop DC gain ranging
from 100,000 to over 1 million. So long as the loop gain (i.e., the product of
open-loop and feedback gains) is very large, the circuit gain will be
determined entirely by the amount of negative feedback (i.e., it will be
independent of open-loop gain). In cases where closed-loop gain must be
very high, the feedback gain will be very low, and the low feedback gain
causes low loop gain; in these cases, the operational amplifier will cease to
behave ideally.
15
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
Finite input impedances
The differential input impedance of the operational amplifier is defined as
the impedance between its two inputs; the common-mode input impedance is
the impedance from each input to ground. MOSFET-input operational
amplifiers often have protection circuits that effectively short circuit any
input differences greater than a small threshold, so the input impedance can
appear to be very low in some tests. However, as long as these operational
amplifiers are used in a typical high-gain negative feedback application,
these protection circuits will be inactive. The input bias and leakage currents
described below are a more important design parameter for typical
operational amplifier applications.
16
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
the input terminals are wired together. Second, in a closed loop, negative
feedback configuration, the input offset voltage is amplified along with the
signal and this may pose a problem if high precision DC amplification is
required or if the input signal is very small.
Temperature effects
All parameters change with temperature. Temperature drift of the input
offset voltage is especially important.
Power-supply rejection
The output of a perfect operational amplifier will be completely independent
from ripples that arrive on its power supply inputs. Every real operational
amplifier has a specified power supply rejection ratio (PSRR) that reflects
how well the op-amp can reject changes in its supply voltage. Copious use
of bypass capacitors can improve the PSRR of many devices, including the
operational amplifier.
Drift
Real op-amp parameters are subject to slow change over time and with
changes in temperature, input conditions, etc.
Noise
Amplifiers generate random voltage at the output even when there is no
signal applied. This can be due to thermal noise and flicker noise of the
17
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
devices. For applications with high gain or high bandwidth, noise becomes a
very important consideration
AC imperfections
The op-amp gain calculated at DC does not apply at higher frequencies. To a first
approximation, the gain of a typical op-amp is inversely proportional to frequency.
This means that an op-amp is characterized by its gain-bandwidth product. For
example, an op-amp with a gain bandwidth product of 1 MHz would have a gain of
5 at 200 kHz, and a gain of 1 at 1 MHz. This low-pass characteristic is introduced
deliberately, because it tends to stabilize the circuit by introducing a dominant
pole. This is known as frequency compensation.
Typical low cost, general purpose op-amps exhibit a gain bandwidth product of a
few megahertz. Specialty and high speed op-amps can achieve gain bandwidth
products of hundreds of megahertz. For very high-frequency circuits, a completely
different form of op-amp called the current-feedback operational amplifier is often
used.
Other imperfections include:
Finite bandwidth
All amplifiers have a finite bandwidth. This creates several problems for op
amps. First, associated with the bandwidth limitation is a phase difference
between the input signal and the amplifier output that can lead
to oscillation in some feedback circuits. The internal frequency
compensation used in some op amps to increase the gain or phase
margin intentionally reduces the bandwidth even further to maintain output
stability when using a wide variety of feedback networks. Second, reduced
bandwidth results in lower amounts of feedback at higher frequencies,
producing higher distortion, noise, and output impedance and also reduced
output phase linearity as the frequency increases.
Input capacitance
Most important for high frequency operation because it further reduces the
open loop bandwidth of the amplifier
18
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
Non-linear imperfections
Saturation
output voltage is limited to a minimum and maximum value close to
the power supply voltages.
Saturation occurs when the output of the amplifier reaches this value and is
usually due to:
Power considerations
Limited output current
the output current must be finite. In practice, most op-amps are designed to
limit the output current so as not to exceed a specified level — around
25 mA for a type 741 IC op-amp — thus protecting the op-amp and
associated circuitry from damage. Modern designs are electronically more
19
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
rugged than earlier implementations and some can sustain direct short
circuits on their outputs without damage.
20
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
LM324, LM324A, LM324K, LM324KA
PROPERTIES:
Single Supply . . . 3 V to 32 V
(26 V for LM2902)
21
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
A Versions . . . 15 nA Typ
22
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
Operating conditions, VCC = ±15 V, TA = 25°C
Unity-Gain Amplifier.
23
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
SMALL PROJECT CIRCUITS
1. 555 as Amplifier.
Notes:
24
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
2. SERVO Motor Tester.
This circuit can be used to manually turn a servo clockwise and anti-clockwise. By
pushing the forward or reverse button for a short period of time you can control the
rotation of the servo. It will also test a servo.
Notes:
25
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
3. 12v to 240v INVERTER.
This circuit will produce 240v at 50Hz. The wattage will depend on the driver
transistors and transformer.
Notes:
26
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
4. MOSQUITO REPELLER.
This circuit produces a tone above the human audible range and this is supposed to
keep the mosquitoes away. You need a piezo diaphragm that will respond to
15kHz and these are very difficult to find.
Notes:
27
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
5. REACTION TIMER GAME.
This is a game for two players. Player 1 presses the START button. This resets the
4026 counter chip and starts the 555 oscillator. The 555 produces 10 pulses per
second and these are counted by the 4026 chip and displayed on the 7-Segment
display. The second player is required to press the STOP button. This freezes the
display by activating the Clock Inhibit line of the 4026 (pin 2). Two time-delay
circuits are included. The first activates the 555 by charging a 10u electrolytic and
at the same time delivering a (high) pulse to the 4026 chip to reset it. The second
timer freezes the count on the display (by raising the voltage on pin 2) so it can be
read.
Notes:
28
Analog Laboretory-SystemsDesign-2010/MHareeshBabu
29
Analog Laboretory-SystemsDesign-2010/MHareeshBabu