unit 3
unit 3
The pins 2 and 6 are connected and hence there is no need for an external trigger
pulse. It will self trigger and act as a free running multivibrator (oscillator). The
rest of the connections are as follows: pin 8 is connected to supply voltage (V CC).
Pin 3 is the output terminal and hence the output is available at this pin. Pin 4 is
the external reset pin. A momentary low on this pin will reset the timer. Hence,
when not in use, pin 4 is usually tied to VCC.
The control voltage applied at pin 5 will change the threshold voltage level. But
for normal use, pin 5 is connected to ground via a capacitor (usually 0.01µF), so
the external noise from the terminal is filtered out. Pin 1 is ground terminal. The
timing circuit that determines the width of the output pulse is made up of R 1,
R2 and C.
Initially, on power-up, the flip-flop is RESET (and hence the output of the timer is
low). As a result, the discharge transistor is driven to saturation (as it is connected
to Q’). The capacitor C of the timing circuit is connected at Pin 7 of the IC 555
and will discharge through the transistor. The output of the timer at this point is
low. The voltage across the capacitor is nothing but the trigger voltage. So, while
discharging, if the capacitor voltage becomes less than 1/3 V CC, which is the
reference voltage to trigger comparator (comparator 2), the output of the
comparator 2 will become high. This will SET the flip-flop and hence the output
of the timer at pin 3 goes to HIGH.
This high output will turn OFF the transistor. As a result, the capacitor C starts
charging through the resistors R1 and R2. Now, the capacitor voltage is same as
the threshold voltage (as pin 6 is connected to the capacitor resistor junction).
While charging, the capacitor voltage increases exponentially towards V CC and the
moment it crosses 2/3 VCC, which is the reference voltage to threshold comparator
(comparator 1), its output becomes high.
As a result, the flip-flop is RESET. The output of the timer falls to LOW. This low
output will once again turn on the transistor which provides a discharge path to the
capacitor. Hence the capacitor C will discharge through the resistor R 2. And hence
the cycle continues.
Thus, when the capacitor is charging, the voltage across the capacitor rises
exponentially and the output voltage at pin 3 is high. Similarly, when the capacitor
is discharging, the voltage across the capacitor falls exponentially and the output
voltage at pin 3 is low. The shape of the output waveform is a train of rectangular
pulses. The waveforms of capacitor voltage and the output in the astable mode are
shown below.
While charging, the capacitor charges through the resistors R 1 and R2. Therefore
the charging time constant is (R 1 + R2) C as the total resistance in the charging
path is R1 + R2. While discharging, the capacitor discharges through the resistor
R2 only. Hence, the discharge time constant is R2C.
If TON is the time for high output and T is the time period of one cycle, then the
duty cycle D is given by:
D = TON/ T
%D = (TON / T) * 100
The value of TON or the charge time (for high output) TC is given by:
The value of TOFF or the discharge time (for low output) TD is given by
T = TON + TOFF = TC + TD
Bistable multivibrator is a type of circuit which has two stable states (high and
low). It stays in the same state until and unless an external trigger input is applied.
Generally, a bistable multivibrator stays low until a trigger signal is applied and it
stays high until a reset signal is applied. Bistable multi vibrators are also called as
flip-flops or latches. The term flip-flop is used because it ‘flips’ to one state and
stays there until a trigger is applied and once the trigger is applied it ‘flops’ back
to the original state.
A bistable multivibrator is one of the easiest circuits that can be built using a 555
timer. It doesn’t require a capacitor as the RC charging unit is not responsible for
the generation of the output. The generation of high and low outputs is not
dependent on the charging and discharging of the capacitor in the RC unit but
rather it is controlled by the external trigger and reset signals.
The explanation of the bi stable mode of operation of the 555 timer is as follows.
The trigger and reset pins (pins 2 and 4 respectively) are connected to the supply
through two resistors R1 and R2 so that they are always high. In all the previous
cases, the reset pin is not used and in order to avoid any accidental reset, it is
simply connected to VCC.
Two switches are connected between these pins and ground in order to make them
go low momentarily. The switch at the trigger input will act as S (SET) input for
the internal flip-flop. The switch at the reset input will act as reset for the internal
flip-flop.
When the switch S1 is pressed, the voltage from VCC will bypass the trigger
terminal and is shorted to ground through the resistor R1. Hence, the trigger pulse
will momentarily go low and the output of the timer at pin 3 will become HIGH.
The output stays HIGH because there is no input from the threshold pin (pin 6 is
left open or better if connected to ground) and the output of the internal
comparator (comparator 1) will not go high.
When the switch S2 is pressed, the voltage from VCC will bypass the reset
terminal and is shorted to ground through the resistor R2. This pin is internally
connected to the RESET terminal of the flip-flop. When this signal goes low for a
moment, the flip-flop receives the reset signal and RESETs the flip-flop.
Hence, the output will become LOW and stays there until the trigger is applied.
The waveforms of the bistable mode of operation of the 555 timer are shown
below.
The details of the connection are as follows. The pins 1 and 8 are connected to
ground and supply (VCC) respectively. Output is taken at pin 3. To avoid
accidental reset of the circuit, pin 4 is connected to the VCC. Pin 5, which is the
control voltage input, should be grounded when not in use. To filter the noise, it is
connected to the ground via a small capacitor of capacitance 0.01µF.
Operation
The monostable mode is also called “one-shot” pulse generator. The sequence of
events starts when a negative going trigger pulse is applied to the trigger
comparator. When this trigger comparator senses the short negative going trigger
pulse to be just below the reference voltage (1/3 VCC), the device triggers and the
output goes HIGH.
The discharge transistor is turned OFF and the capacitor C that is externally
connected to its collector will start charging to the max value through the resistor
R. The HIGH output pulse ends when the charge on the capacitor reaches 2/3
VCC. The internal connection of the IC 555 in monostable mode along with the
RC timing circuit is shown below.
When a negative going trigger pulse input is applied to the trigger comparator
(comparator 2), it is compared with a reference voltage of 1/3 VCC. The output
remains low until the trigger input is greater than the reference voltage. The
moment trigger voltage goes below 1/3 VCC, the output of comparator goes high
and this will SET the flip-flop. Hence the output at pin 3 will become high.
At the same time, the discharge transistor is turned OFF and the capacitor C will
begin to charge and the voltage across it rises exponentially. This is nothing but
the threshold voltage at pin 6. This is given to the comparator 1 along with a
reference voltage of 2/3 VCC. The output at pin 3 will remain HIGH until the
voltage across the capacitor reaches 2/3 VCC.
The instance at which the threshold voltage (which is nothing but the voltage
across the capacitor) becomes more than the reference voltage, the output of the
comparator 1 goes high. This will RESET the flip-flop and hence the output at pin
3 will fall to low (logic 0) i.e. the output returns to its stable state. As the output is
low, the discharge transistor is driven to saturation and the capacitor will
completely discharge.
Hence it can be noted that the output at pin 3 is low at start, when the trigger
becomes less than 1/3 VCC the output at pin 3 goes high and when the threshold
voltage is greater than 2/3 VCC the output becomes low until the occurrence of
next trigger pulse. A rectangular pulse is produced at the output. The time for
which the output stays high or the width of the rectangular pulse is controlled by
the timing circuit i.e. the charging time of the capacitor which depends on the time
constant RC.
VC = VCC (1 – e-t/RC)
2/3 = 1 – e-t/RC
e-t/RC = 1/3
– t/RC = ln (1/3)
– t/RC = -1.098
t = 1.098 RC
∴ t ≈ 1.1 RC
Frequency Divider
Because of the new threshold level, the pulse width of the output is given by
W = -RC ln (1 – UTL/VCC)
Output The output pin can drive any TTL circuit and is capable of sourcing or sinking
up to 200mA of current at an output voltage equal to approximately Vcc – 1.5V so
small speakers, LEDs or motors can be connected directly to the output.
Reset This pin is used to ‘RESET’ the internal flip-flop controlling the state of the
output, pin 3, in spite of any voltage level at S and R pin of S-R flip-flop level. This is
an active-low input and is generally connected to a logic ‘HIGH’ to prevent any
unwanted ‘RESET’ of the output.
Control Voltage This pin controls the timing of the 555 by overriding the 2/3Vcc
level of the voltage divider network. By applying a voltage to this pin the width of the
output signal can be varied independently of the RC timing network. When not used it
is connected to ground via a 10nF capacitor to eliminate any noise.
Threshold It is the positive input to the upper comparator when the voltage at this pin
exceeds 2/3 Vcc, output at pin 3 turns ‘LOW’.
Discharge When the base of discharge transistor turns ‘HIGH’ this transistor is used
to discharge external RC network connected at pin 7 also during discharging output at
pin 3 stays ‘LOW’.
Vcc This is the power supply pin and for general purpose TTL 555 timers are between
4.5V and 15V.
The diagram of a 555 timer is shown in the above figure. A 555 timer has two
comparators, which are basically 2 op-amps), an R-S flip-flop, two transistors and
a resistive network.
Working Principle
Refer Block Diagram of 555 timer IC given above:
The internal resistors act as a voltage divider network, providing (2/3)Vcc at the
non-inverting terminal of the upper comparator and (1/3)Vcc at the inverting
terminal of the lower comparator. In most applications, the control input is not
used, so that the control voltage equals +(2/3) V CC. Upper comparator has a
threshold input (pin 6) and a control input (pin 5). Output of the upper comparator
is applied to set (S) input of the flip-flop. Whenever the threshold voltage exceeds
the control voltage, the upper comparator will set the flip-flop and its output is
high. A high output from the flip-flop when given to the base of the discharge
transistor saturates it and thus discharges the transistor that is connected externally
to the discharge pin 7. The complementary signal out of the flip-flop goes to pin 3,
the output. The output available at pin 3 is low. These conditions will prevail until
lower comparator triggers the flip-flop. Even if the voltage at the threshold input
falls below (2/3) VCC, that is upper comparator cannot cause the flip-flop to
change again. It means that the upper comparator can only force the flip-flop’s
output high.
To change the output of flip-flop to low, the voltage at the trigger input must fall
below + (1/3) Vcc. When this occurs, lower comparator triggers the flip-flop,
forcing its output low. The low output from the flip-flop turns the discharge
transistor off and forces the power amplifier to output a high. These conditions
will continue independent of the voltage on the trigger input. Lower comparator
can only cause the flip-flop to output low.
From the above discussion, it is concluded that for the having low output from the
timer 555, the voltage on the threshold input must exceed the control voltage or +
(2/3) VCC. This also turns the discharge transistor on. To force the output from the
timer high, the voltage on the trigger input must drop below +(1/3) V CC. This turns
the discharge transistor off.
Operational Amplifier
R. Explain integrator circuit using op-amp with derivation and input ,output
waveforms.
Op-Amp Integrator Definition: An op-amp integrator is a
circuit that uses an operational amplifier and a capacitor to
calculate the integral of an input signal, outputting a
voltage that reflects the cumulative effect of the input
signal over time.
Function: The primary function of an op-amp integrator is
to convert waveforms, such as turning a square wave into a
triangular wave, useful in signal processing and control
systems.
Design Principles: Effective integrator circuit design
requires careful selection of resistance, capacitance, and
op-amp characteristics, ensuring optimal performance
across expected signal frequencies.
Circuit Behavior: At its core, the integrator behaves like a
low-pass filter, better processing low-frequency signals
while reducing the impact of higher frequencies.
Practical Applications: Integrators are essential in
various technologies, including analog-to-digital conversion
and waveform shaping, highlighting their versatility in
electronics design.
What is an Op-Amp Integrator?
An op-amp integrator is a circuit that uses an operational
amplifier (op-amp) and a capacitor to perform the
mathematical operation of integration. Integration is the
process of finding the area under a curve or function over
time. An op-amp integrator produces an output voltage that
is proportional to the negative integral of the input voltage,
meaning that the output voltage changes according to the
duration and amplitude of the input voltage.
This equation shows that the voltage gain has a finite value
at DC (f = 0), which is -Rf/Rin. As frequency increases, the
voltage gain decreases by 20 dB per decade (or 6 dB per
octave) until it reaches a corner frequency (fc), where Rf =
Xc. At this frequency, the voltage gain is -Rf/2Rin. Beyond
this frequency, the voltage gain decreases by 40 dB per
decade (or 12 dB per octave) until it reaches the op-amp’s
bandwidth limit.
Example 3: R = 1 kΩ, C = 1 μF
Conclusion
voltage.
derivative of the input signal. For example, if the input signal is a ramp, then the
DC (as the rate of change of ramp signal is constant). Similarly, if the input signal is a
sinusoid, then the output signal is also a sinusoid but with phase difference of 900.
with the input voltage. Differentiating circuits are usually designed to respond for
Differentiators have frequency limitations while operating on sine wave inputs; the
circuit attenuates all low frequency signal components and allows only high
frequency components at the output. In other words, the circuit behaves like a high-
pass filter.
Ideal Op-Amp Differentiator Circuit
An op-amp differentiating amplifier uses a capacitor in series with the input voltage
For DC input, the input capacitor C1, after reaching its potential, cannot accept any
charge and behaves like an open-circuit. The non-inverting input terminal of the op-
amp is connected to ground through a resistor Rcomp, which provides the input bias
compensation, and the inverting input terminal is connected to the output through the
When the input is a positive-going voltage, a current I flows into the capacitor C1, as
shown in the figure. Since the current flowing into the op-amp’s internal circuit is
zero, effectively all of the current I flows through the resistor Rf. The output voltage
is,
Vout = – (I * Rf)
Here, this output voltage is directly proportional to the rate of change of the input
voltage.
From the figure, node ‘X’ is virtually grounded and node ‘Y’ is also at ground
potential i.e., VX = VY = 0 .
Above equation indicates that the output is C1 Rf times the differentiation of the input
circuit. The negative sign indicates the output is out of phase by 1800 with respect to
the input.
The main advantage of such an active differentiating amplifier circuit is the small
Let us now see the output waveforms for different input signals. When a step input
(DC Level) with amplitude Vm is applied to an op-amp differentiator, the output can
of time to rise from 0 volts to Vm volts. Hence, the output appears like a spike at time
If the input to the differentiator is changed to a square wave, the output will be a
Vm is the amplitude of the input signal and t is the period, the output of the
Thus, the output of a differentiator for a sine wave input is a cosine wave and the
frequency of the input signal increases, the output also increases. The frequency
unity. It can be seen from the figure that for frequency less than f1, the gain is less
than unity. For f1, the gain becomes the unity (0 dB) and beyond f1, the gain
For an ideal differentiator, the gain increases as frequency increases. Thus, at some
higher frequencies, the differentiator may become unstable and cause oscillations
uses a resistor R1 in series with the input capacitor and a capacitor Cf in parallel with
i.e., the output voltage is C1 Rf times the differentiation of the input voltage.
particular frequency, f1, the gain becomes the unity (0 dB). The gain continues to
increase at a rate of 20dB per decade till the input frequency reaches a frequency, f2.
Beyond this frequency of the input signal, the gain of the differentiator starts to
decrease at a rate of 20dB per decade. This effect is due to the addition of the resistor
inductor).
signal with respect to time i.e., the instantaneous output voltage is proportional
Op-amp Comparator
The Op-amp comparator compares one analogue voltage level with another
analogue voltage level, or some preset reference voltage, VREF and produces an
output signal based on this voltage comparison. In other words, the op-amp
voltage comparator compares the magnitudes of two voltage inputs and
determines which is the largest of the two.
We have seen in previous tutorials that the operational amplifier can be used
with negative feedback to control the magnitude of its output signal in the linear
region performing a variety of different functions. We have also seen that the
standard operational amplifier is characterised by its open-loop gain AO and that
its output voltage is given by the
expression: VOUT = AO(V+ – V-) where V+ and V- correspond to the voltages at
the non-inverting and the inverting terminals respectively.
The open-loop op-amp comparator is an analogue circuit that operates in its non-
linear region as changes in the two analogue inputs, V+ and V- causes it to
behave like a digital bistable device as triggering causes it to have two possible
output states, +Vcc or -Vcc. Then we can say that the voltage comparator is
essentially a 1-bit analogue to digital converter, as the input signal is analogue
but the output behaves digitally.
With reference to the op-amp comparator circuit above, lets first assume
that VIN is less than the DC voltage level at VREF, ( VIN < VREF ). As the non-
inverting (positive) input of the comparator is less than the inverting (negative)
input, the output will be LOW and at the negative supply voltage, -Vcc resulting
in a negative saturation of the output.
If we now increase the input voltage, VIN so that its value is greater than the
reference voltage VREF on the inverting input, the output voltage rapidly
switches HIGH towards the positive supply voltage, +Vcc resulting in a positive
saturation of the output. If we reduce again the input voltage VIN, so that it is
slightly less than the reference voltage, the op-amp’s output switches back to its
negative saturation voltage acting as a threshold detector.
Then we can see that the op-amp voltage comparator is a device whose output is
dependant on the value of the input voltage, VIN with respect to some DC
voltage level as the output is HIGH when the voltage on the non-inverting input
is greater than the voltage on the inverting input, and LOW when the non-
inverting input is less than the inverting input voltage. This condition is true
regardless of whether the input signal is connected to the inverting or the non-
inverting input of the comparator.
We can also see that the value of the output voltage is completely dependent on
the op-amps power supply voltage. In theory due to the op-amps high open-loop
gain the magnitude of its output voltage could be infinite in both directions,
(±∞). However practically, and for obvious reasons it is limited by the op-amps
supply rails giving VOUT = +Vcc or VOUT = -Vcc.
We said before that the basic op-amp comparator produces a positive or negative
voltage output by comparing its input voltage against some preset DC reference
voltage. Generally, a resistive voltage divider is used to set the input reference
voltage of a comparator, but a battery source, zener diode or potentiometer for a
variable reference voltage can all be used as shown.
But equally we could connect the inputs of the comparator the other way around
inverting the output signal to that shown above. Then an op-amp comparator can
be configured to operate in what is called an inverting or a non-inverting
configuration.
The basic configuration for the positive voltage comparator, also known as a
non-inverting comparator circuit detects when the input signal, VIN is ABOVE
or more positive than the reference voltage, VREF producing an output
at VOUT which is HIGH as shown.
When VIN is greater than VREF, the op-amp comparators output will saturate
towards the positive supply rail, Vcc. When VIN is less than VREF the op-amp
comparators output will change state and saturate at the negative supply
rail, 0v as shown.
The basic configuration for the negative voltage comparator, also known as an
inverting comparator circuit detects when the input signal, VIN is BELOW or
more negative than the reference voltage, VREF producing an output
at VOUT which is HIGH as shown.
Then depending upon which op-amp inputs we use for the signal and the
reference voltage, we can produce an inverting or non-inverting output. We can
take this idea of detecting either a negative or positive going signal one step
further by combining the two op-amp comparator circuits above to produce a
window comparator circuit.
And on the output side: very low impedance, and very high
current.
The input section consists of input terminals where a small control signal is to be
applied. The control section has an electromagnetic coil which gets energised when
control input signal is applied to the input terminals and the output section consists of
an movable armature and mechanical contacts – movable and stationary, the
movement of the armature makes or breaks the electrical circuit.
When an input control voltage is applied to the electromagnetic coil, it gets
magnetised and the armature is attracted by the magnetic field produced by the coil.
The movable mechanical contacts are attached to the armature, thus when the
armature moves towards the electromagnet, the contacts closes, making the output
circuit switched on. When the control signal is removed, the armature comes back to
its original position by the force of spring, making output circuit off.
General Purpose Relays – Such as miniature relays, latching relays, timer relays,
contactors, machine tool relays, hybrid relays, smart relays, signal relays, automobile
relays and PCB relays etc.
Protection Relays – Such as thermal overload relays, earth fault relays, under or over
voltage relays, under or over current relays, buchholz relay, differential relays,
distance protection relays, sequence protection relays, electronic relays etc.
Classification of EMRs based on contact configurations
Single-Pole Single-Throw (SPST)
Single-Pole Double-Throw (SPDT)
Double-Pole single-Throw (DPST)
Double-Pole Double-Throw (DPDT)
Electromagnetic Induction Type Relay – Such as shaded pole type EMR, watt-hour
meter type EMR, induction cup type EMR.
Q.Explain Solid state relay working principle with diagram.
One of the most important components used in an electrical panel is a relay. Mostly,
people are familiar with standard electromechanical relays.
But, there is another type of relay which is also used widely for a large variety of
loads – mainly heavy and resistive types. This is a solid state relay (SSR). In this
post, we will understand the basic concept of a solid state relay.
As the name implies, solid state relay (SSR) works on semiconductors. In contrast to
an electromechanical relay which uses mechanical contacts to switch on or off a
circuit, there are no mechanical contacts inside the solid state relay.
Switching is done swiftly through semiconductors like triac, transistor, diode, and
thyristors. The technique works on either infrared light emitting diodes or LED
couplers to operate. Due to the use of semiconductors, the switching is very fast as
compared to a standard electromechanical relay.
Also, you can get a wide variety of control voltage from SSR, either fixed or variable,
due to the use of semiconductors. The solid state relay is mostly used for resistive
and heavy loads like heaters and heat tracings, which require a large amount of load
current.
Refer to the below figure. As discussed before, solid state relay (SSR) does not have
moving parts. They consist of semiconductors and electronic parts.
Pin
The input circuit consists of a LED which is triggered by the input voltage. Then,
there is isolation between input and output circuits.
The output circuit consists of a photo-coupler for capturing the light and converting it
into electrical energy for the load drive circuit (consisting of either triac, diodes,
transistors, or thyristors).
When the power supply is applied to the input circuit, current flows through LED
which emits light from it. The photo-coupler detects it and converts it into an
electrical voltage which is then fed to the load drive circuit, for controlling the final
output voltage to the load. When the input voltage turns off, the load too turns off.
Due to the use of Opto-coupling technology, the switching is swift, sensitive, and has
high insulation levels. The output voltage can be digital or analog, depending upon
the input circuit and load drive circuit used.
There are three types of control methods available for solid state relays (SSR).
Pin
As soon as it turns off, the output voltage also turns off.
As shown in the figure below, when the input voltage is applied, the output voltage
does not immediately turn on; rather it starts the cycle as soon as it touches the next
available zero point in the waveform.
Pin
Then, it is applied for the whole AC cycle as long as the input voltage is on. When the
input voltage is released, the output voltage does not immediately turn off; rather it
stops the cycle as soon as it touches the next available zero point in the waveform.
Proportional Control of Solid State Relay
The earlier two types we discussed were digital output types. As the name implies,
proportional control solid state relay provides an analog output.
Pin
According to the input voltage given, the output voltage will be given accordingly.
This type is used for PID control of heaters and other devices, where accurate control
of temperature is required.