Unit 2
Unit 2
2.2 Explain the concept of P, PI and PID controller using Op. Amp. OR
Explain Proportional, Proportional Integral and Proportional Integral
Derivative controller.
Analog Electronics Process Controllers must be capable of providing one or more of
the three main methods of control, namely, Proportional, Integral and Derivative
(i) Proportional Control
The simplest form is the proportional control as shown in figure, which has an
overall voltage gain of
Here Op. Amp. is connected in inverting mode. Hence, for the given circuit
R
V2 = −
R
21
The integral action time of a proportional plus integral controller can best be
explained in terms of the output waveform for a step change in the input
signal shown in figure.
2
Since the Op. Amp. in figure is connected as inverting amplifier, a negative
step change in input voltage is applied to produce a positive output voltage
change. As soon as the step change is applied, the Proportional action of the
controller causes the output voltage to change suddenly by Y1 volts. The
action of the integrator capacitor then causes the controller output voltage to
begin to rise at a steady rate and it takes a time known as the integral action
time for the output voltage to rise by a further Y1 volts.
(iv) Proportional Derivative Control (PD Controller)
A basic proportional plus derivative controller is shown in figure, the
Proportional action being provided by R1 and R2 , while the derivative action
is provided by capacitor C2 together with R3.
Since the op-amp is inverting, a negative ramp signal is applied in order to get
a positive going output voltage. As soon as the change in the input signal is
applied, the derivative action of capacitor C2 causes the output voltage to
suddenly change by Y2 volts. The Proportional action to the controller causes
the output voltage to rise at a constant rate, and takes a time known as the
derivative action time for the output voltage to rise by a further Y 2 volts. In
this case, the derivative action time is given by R1C2 of the controller.
4
(v) Proportional Integral Derivative Control (PID Controller)
The block diagram of a 3-term controller providing P + I + D (PID) control is
shown in figure.
For an ac voltage (v) at the op-amp inverting input terminal in figure(b), the
amplified output is vo = Avv, is as shown. The output is divided by the feedback factor
[B = R1/(R1 + R2)], and fed back to the input. An additional -180° of phase shift can
occur within the op-amp at high frequencies, and this causes v to be in-phase with
vo, as illustrated. Thus, the feedback voltage can be exactly equal to and in phase
with the voltage (v) at the inverting input. In this case, the circuit is supplying its
own ac input voltage, and a state of continuous oscillation exists.
Because of the feedback network, high-frequency oscillations can occur in many
operational amplifier circuits, and when this happens the circuit is termed unstable.
Methods/techniques used to stabilize Operational Amplifier Circuit are referred to
as frequency compensation techniques.
Assuming that the feedback network is purely resistive, it adds nothing to the loop
phase shift. The loop phase shift is essentially the amplifier phase shift. The phase
shift from the inverting input terminal to the output is normally -180°. But at high
frequencies there may be additional phase shift caused by circuit capacitances, and
the total can approach -360°. When this occurs, the circuit is virtually certain to
oscillate. Most currently-available operational amplifiers have internal
compensating components to prevent oscillations. In some cases, compensating
components must be connected externally to stabilize a circuit.
no effect. It can be shown that at frequencies where XC1 ≫ R2, the voltage v2 lags
frequency where the op-amp phase shift is still so small that additional phase lag has
The network in figure(c) introduces a phase lead. In this network, when X C1 ≫ R1,
the voltage v2 leads v1. This phase lead cancels some of the unwanted phase lag in
the operational amplifier θf graph as shown in figure(d), thus rendering the circuit
more stable.
Phase-lag and phase-lead networks are both used internally to Frequency
Compensation methods op-amp circuits. Both types of circuit can also be used
externally
2.5 Explain IC Voltage regulators in detail. OR
Explain three terminal voltage regulators in detail.
A Voltage Regulator is a device or a circuit that is responsible for providing a steady
DC Voltage to an electronic load. IC Voltage Regulator uses integrated circuits for
voltage regulation.
Block diagram of a power supply which uses IC regulator is as shown in figure.
Advantages of IC voltages regulators:
8
It has three terminals.
(1) Input voltage (Vin)
(2) Output voltage (Vo)
(3) Common terminal (Ground).
Several types of both linear (series and shunt) and switching regulators are
available in integrated circuit (IC) form.
Generally, the linear regulators are three-terminal devices that provides either
positive or negative output voltages that can be either fixed or adjustable
Fixed voltage regulator:
The fixed voltage regulator has an unregulated dc input voltage V i applied to one
input terminal, a regulated output dc voltage Vo from a second terminal, and the
third terminal connected to ground.
Fixed-Positive Voltage Regulator
The series 78XX regulators are the three-terminal devices that provide a fixed
positive output voltage.
Some of the fixed positive regulator in 78XX series are given in table.
7805 +5 +7.3
7806 +6 +8.3
7808 +8 +10.5
Some of the fixed negative regulator in 79XX series are given in table.
7905 -5 - 7.3
7906 -6 - 8.3
7908 -8 - 10.5
7910 - 10 - 12.5
7912 - 12 - 14.5
10
Pin configuration of 78XX and 79XX series regulator
Adjustable-Voltage Regulator:
Voltage regulators are also available in circuit configurations that allow to set the
output voltage to a desired regulated value.
The LM317 is an example of an positive adjustable-voltage regulator, can be
operated over the range of voltage from 1.2 to 37 V.
Switching-Voltage Regulator:
The switching regulator is more efficient than the linear series or shunt type. This type
regulator is ideal for high current applications since less power is dissipated. Voltage
regulation in a switching regulator is achieved by the on and off action, limiting the
amount of current flow based on the varying line and load conditions. With switching
regulators 90% efficiencies can be achieved
In switching regulator, the transistor acts as a switch. When the transistor is off
(switch is open), no current flows, therefore no power dissipation takes place. When
the transistor is on (switch is closed), high current flows but V CE becomes low and
therefore power dissipation is less.
Draw the circuit of differential amplifier using one Op. Amp. and derive the
equation of differential gain (AD).
The differential amplifiers amplify the difference between two input voltages making
this type of operational amplifier circuit a Subtractor.
The basic differential amplifier is shown in figure.
Since there are two inputs Superposition theorem can be used to find the output
voltage.
When, Vb = 0,
then the circuit becomes inverting amplifier, hence the output is due to Va only.
Vo = - V
𝑅1
-----(1)
a a
Similarly
When, Va = 0,
the configuration is a Non-inverting amplifier having a voltage divided network
at the non-inverting input.
𝑅𝑓
V = (1+ ) V------(2)
ob 1
𝑅1
but in equation
(2)
𝑅2
V = ( ) V -----(3)
1 a
𝑅2+ 𝑅3
𝐑𝒊𝒇𝒂 = 𝑹𝟏
𝐑𝒊𝒇𝒃 = 𝑹𝒊 (1 + A𝜷)
𝐑𝒊𝒇𝒂 ≠ 𝑹𝒊𝒇𝒃
Thus, it has been observed that input impedances are not matched,
Which is one of the limitation of Differential amplifier using one Op. Amp.
The bridge is balanced at a desired reference condition, which depends on the specific
value of the physical quantity to be measured. Under this condition, resistors R A, RB and
RC are so selected that they are equal in value to the transducer resistance R T. (The
value of the physical quantity normally depends on the transducers characteristics, the
type of physical quantity to be measured, and the desired applications.)
Initially the bridge is balanced at a desired reference condition. As the physical quantity
to be measured changes, the resistance of the transducer also changes, causing the
bridge to be unbalanced (Vb ≠ Va ). Hence, the output voltage of the bridge is a function
of the change in the resistance of the transducer. The expression for the output voltage
V0, in terms of the change in resistance of the transducer is calculated as follows.
Let the change in the resistance of the transducer be ΔR. Since R B and RC are fixed
resistors, the voltage Vb is constant, however, the voltage Va changes as a function of the
change in the transducers resistance.
Therefore, applying the voltage divider rule we have
The output voltage across the bridge terminal is Vab, given by Vab=Va-Vb
Therefore,
The output voltage Vab of the bridge is applied to the Differential Instrumentation
Amplifier through the voltage followers to eliminate the loading effect of the bridge
circuit. The gain of the basic amplifier is (R F/R1) and therefore the output voltage Vo of
the circuit is given by
It can be seen from the above equation that Vo is a function of the change in resistance
ΔR of the transducer. Since the change is caused by the change in a physical quantity, a
meter connected at the output can be calibrated in terms of the units of the physical
quantity.
Applications of Instrumentation Amplifier with Transducer Bridge
We shall now consider some important applications of instrumentation amplifiers using
resistance types transducers. In these transducers, the resistance of the transducer
changes as a function of some physical quantity. Commonly used
resistance transducers are thermisistors, photoconductor cells, and strain gauges.
(i) Temperature Indicators Using Thermistor
(ii) Light Intensity Meter
(iii) Analog Weight Scale
Iin = IF = I
The current through resistor R1 can be given as
---- (1)
-----(2)
----(3)
Integrating both sides of equation (3)
---- (4)
---- (5)
Equation (5) indicates that output is integration of input voltage. Hence this circuit will
work as an integrator circuit.
Where Vo(0) is constant of integration and it indicates initial value of output voltage at
time t=0.
Frequency Response of Integrator:
Frequency response is graph relating Gain and Frequency.
𝟏
𝟐𝛑𝐟𝐂.
Capacitive reactance Xc =
= 2Π R
f
C f
The frequency at which the gain is 0 dB (Unity) is given by equation
1
f�
=� 2Π R
1
C f
Generally fb = 20 fa
Now selecting standard value of capacitor Cf we can determine the value of R1 and Rf
using equation of fa and fb to design Integrator of particular frequency range.
INPUT & OUTPUT WAVE FORMS : -
Draw the output wave form if unit step input is applied to an integrator as shown
in figure.
Let the input waveform is of step type, with a magnitude of A units as shown in the
figure.
For simplicity of understanding, assume that the time constant R1Cf = 1 and the initial
voltage V0(0) = OV.
Thus output waveform is a straight line (negative going Ramp) with a slope of -A where
A is magnitude of the step input. The output waveform is shown in the figure.
Explain Differentiator circuit in detail. OR
Draw circuit diagram of Differentiator using Op. Amp. and derive the
equation of output voltage. Also draw the output waveform if input is (i)
Sine wave, (ii) Square wave and (iii) Triangular wave. OR
Draw circuit diagram of Differentiator using Op. Amp and explain it with
necessary frequency response and derivations. Also draw practical
Differentiator circuit.
The circuit which produces the differentiation of the input voltage at its output is called
Differentiator. The differentiator using an active device like op-amp is called an active
Differentiator. Let us discuss first the operation of Ideal/Basic Differentiator circuit.
The active differentiator circuit can be obtained by exchanging the positions of R and C
in the basic integrator circuit. The op-amp differentiator circuit is shown in the figure.
The node B is grounded. The node A is also at the ground potential because of virtual
ground, hence VA = 0.
DESIGN EQUATION : -
Applying KCL at inverting node,
Iin = IB + IF
As input impedance of op-amp is very large, bias current IB =0. Therefore,
Iin = IF = I1
The current through capacitor C1 can be given as
---- (1)
-- - -(2)
-----(3)
Hence,---------------------------------------------------------------------------(4)
Equation (4) indicates that output is differentiation of input voltage. Hence this circuit
will work as an differentiator circuit.
Frequency Response of Differentiator:
Frequency response is graph relating Gain and Frequency.
𝟏
𝟐𝛑𝐟𝐂.
Capacitive reactance Xc =
1
equation.
f�
=� 2Π Rf
Generally fb = 20 fa C f
Now selecting standard value of capacitor C1 we can determine the value of Cf , R1 and Rf
using equation of fa and fb to design differentiator of particular frequency range.
INPUT & OUTPUT WAVE FORMS : -
Figure shows an Summing Amplifier Circuit in inverting configuration with three inputs
Va, Vb, Vc. Depending on the relation between Ra, Rb, Rc and RF, the circuit can be used as
a Summing amplifier, Scaling amplifier or Average amplifier.
Using Kirchoff‘s circuit equation, we have la + lb+ lc= IB + If. But IB ≡ 0 and V1 ≡ V2 ≡ 0
(Virtual ground)
Therefore,
Ia + Ib + Ic = If--------------------------(1)
+ + =
𝑉𝑎−𝑉2 𝑉𝑏−𝑉2 𝑉𝑐−𝑉2
𝑉2−𝑉𝑜 ---- (2)
𝑅𝑎 𝑅𝑏 𝑅𝑐 𝑅𝑓
+
𝑉𝑎 𝑉𝑏
+ 𝑜 =
𝑉𝑐
−𝑉
---- (3)
𝑅 𝑅 𝑅 𝑅
𝑎 𝑏 𝑐 𝑓
𝑹𝒇 𝑹𝒇 𝑽𝒃 𝑹𝒇
So,
𝐕𝒐 = 𝑽� + 𝑽� + ]
−[
𝒂 𝒄
𝒂 � �� ---- (4)
� �� ��
(i) Summing Amplifier:
In equation (4) if Ra = Rb = Rc = Rf = R then equation (4) is
V𝑜 = −[ V𝑎 + V𝑏 + V𝑐
] ---- (5)
Thus circuit will behaves as Summing Amplifier which gives output that is sum of all
the inputs. It is also called Adder circuit
𝑅 𝑅 𝑅𝑓
V𝑜 = − 𝑉𝑎 + 𝑉𝑏 + 𝑉𝑐
𝑓 𝑓
[ � ]
𝑅�
𝑎 �
𝑅 𝑅�
---- (6)
Thus circuit will behaves as Scaling Amplifier in which every input is amplified by
different scale/weight. Gain of every input is different.
𝑅
V𝑜 = −𝑓 [ V𝑎 + V𝑏 +
V𝑐 ] 𝑅
--- (7)
V𝑎 + V𝑏 +
V𝑜 = − V𝑐 ]
[
---- (8)
Thus circuit will behaves as Average Amplifier in which output is the average of
three inputs.
Explain Subtractor circuit using Op. Amp.
A subtractor circuit using a basic differential amplifier is as shown in figure.
By selecting the appropriate values for the external resistance, the input signal can be
scaled to the desired value.
As shown in figure, all values of the external resistance are equal, and the gain of the
amplifier is unity.
Therefore, the output voltage of differential amplifier with unity gain.
As we know that output voltage in differential amplifier is
V𝑜 = −𝑅𝑓 [
− V]
V𝑎
𝑅1
But in above circuit Rf = R1 = R2 = R3 =
R
V𝑜 = − [ V𝑎 − V𝑏 ]
Hence,
--- (1)
Thus the output is Subtraction of two input signal. So circuit will behaves as Subtractor circuit.
The output of amplifier is given to feedback network. The Output of feedback network
drives the amplifier. The total phase shift around a loop is 180° of amplifier and 180°
due to 3 RC section, thus 360°. This satisfies the required condition for positive
feedback and circuit works as an oscillator.
The frequency of sustained oscillations generated depends on the values of R and C and
is given by,
Thus circuit will work as an oscillator which will produce a sinusoidal waveform if gain
is 29 and total phase shift around a loop is 360°. This satisfies the Barkhausen criterion
for the oscillator. These oscillators are used over the audio frequency range i.e. about 20
Hz up to 100 kHz.
Advantages
(iv) The circuit is simple to design.
(v) Can produce output over audio frequency range.
(vi) Produces sinusoidal output waveform.
(vii) It is a fixed frequency oscillator.
Disadvantages
(i) phase shift oscillator is fixed frequency oscillator. Frequency cannot be varied.
(ii) Frequency stability is poor.
The resistance R and capacitor C are the components of frequency sensitive arms of the
bridge.
The resistance Rf and R1 form the part of the feedback path. The gain of non inverting
op-amp can be adjusted using the resistance Rf and R1. The gain of op-amp is,
To satisfy Barkhausen criterion that AB=1 it is necessary that the gain of the non
inverting op-amp amplifier must be minimum 3.
The feedback is given to the non inverting terminal of op-amp which ensures zero
phase shift.
If in a Wien bridge feedback network, two resistances are not equal i.e. they are R 1 and
R2 while two capacitors are not equal i.e. they are C 1 and C2 then the frequency of
oscillations is given by,
Advantages
(viii) It is stable.
(ix) We can change the frequency very effectively.
(x) The perfect sine wave output is possible.
(xi) It is useful audio frequency range i.e. 20 Hz to 100 kHz.
Disadvantages
(i) The maximum frequency output is limited.
Each of these filters use op-amp as an active element and resistors and capacitors.
Frequency response characteristics of these types of filters are as follow:
Using the voltage divider rule, the voltage across the capacitor, i.e. at the non-inverting
input is
Simplifying, we get
As output voltage
where
Vo/Vin = Gain of the filter as a function of frequency
AF = 1 + RF/R1= pass band gain of the filter
f= frequency of the input signal
fH = 1/2 π RC = high cutoff frequency
The gain magnitude and phase angle can be obtained by applying modulus to
Hence the Basic Low Pass Filter Circuit has a constant gain, A F, from 0 Hz to the high
cutoff frequency fH. At fH, the gain is 0.707 AF and after fH the gain decreases at a
constant rate with increase in frequency; when the frequency is increased 10 times
(one decade), the voltage gain is divided by 10. In other words, the gain decreases by 20
db (20 log 10) each time the frequency is increased by 10. Hence the rate at which the
gain rolls off after fH is 20 db/decade or 6 db/octave, where octave signifies a two fold
increase in frequency. The frequency f = fH is called the cutoff frequency.
The procedure of converting a cutoff frequency to a new cutoff frequency is called
frequency scaling.
To obtain a new cutoff frequency, R or C (but not both) is multiplied by the ratio of the
original cutoff frequency to the new cutoff frequency.
In filter design, the values required for R and C are often not standard, and a variable
capacitor C is not commonly used. Hence, we choose a standard value of the capacitor
and then calculate the value of the resistor required for a desired cutoff frequency. This
is because for a non-standing value of a resistor, a potentiometer can be used.
The first order high pass filter can be obtained by interchanging the elements R and C in
a first order low pass filter circuit. The figure shows the first order high pass
Butterworth filter.
It can be observed that as compared to first order low pass filter, the positions of R and
C are changed in the high pass circuit shown in figure.
The frequency at which the gain is 0.707 times the gain of filter in pass band
(maximum) is called as low cut off frequency, and denoted as fL. So, all the frequencies
greater than fL are allowed to pass but the maximum frequency which is allowed to pass
is determined by the closed loop bandwidth of the op.amp. used.
Analysis of the Filter Circuit
The impedance of the capacitor is
Hence,
This is the required expression for the transfer function of the filter. For the frequency
response, we require the magnitude of the transfer function which is given by,
Thus, the circuit acts as high pass filter with a pass band gain as A f. For the frequencies,
f < fL, the gain increases till f = fL at a rate of + 20 dB/decade. Hence, the slope of the
frequency response in stop band is + 20 dB/decade for first order high pass filter. The
frequency response is shown in the figure.
Note : As high pass filter is basically a low pass filter circuit with positions of R and C
interchanged, the design steps and the frequency scaling method discussed earlier for
low pass filter is equally applicable to the first order high pass Butterworth filter.
At the cut off frequency fH, the gain is 0,707 Af i,e. 3 dB down from its 0 Hz level. After,
fH ( f > fH ) the gain rolls off at a frequency rate of 40 dB/decade,. Hence, the slope of the
‘response after, fH is – 40 dB/decade.