0% found this document useful (0 votes)
105 views100 pages

List of Experiments: S. No Name of The Experiment Any Eight Experiments Should Be Conducted

This document describes experiments conducted with control systems, including a time response of a second order system and characteristics of synchros. The time response experiment aims to obtain time domain specifications of a second order system using an RLC circuit. Key time response specifications measured include delay time, rise time, peak time, settling time, and peak overshoot. The synchro experiment aims to obtain stator voltages for a given rotor position in a synchro transmitter and to study a synchro transmitter-receiver pair as an error detector. Synchros are described as transmitting electrical signals corresponding to rotor angle and enabling a receiver rotor to assume the same angular position. Circuit diagrams and procedures are provided for both experiments.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
105 views100 pages

List of Experiments: S. No Name of The Experiment Any Eight Experiments Should Be Conducted

This document describes experiments conducted with control systems, including a time response of a second order system and characteristics of synchros. The time response experiment aims to obtain time domain specifications of a second order system using an RLC circuit. Key time response specifications measured include delay time, rise time, peak time, settling time, and peak overshoot. The synchro experiment aims to obtain stator voltages for a given rotor position in a synchro transmitter and to study a synchro transmitter-receiver pair as an error detector. Synchros are described as transmitting electrical signals corresponding to rotor angle and enabling a receiver rotor to assume the same angular position. Circuit diagrams and procedures are provided for both experiments.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 100

CONTROL SYSTEMS

List of Experiments
S. No Name of the Experiment

Any eight experiments should be conducted


1 Time response of Second order system
2 Characteristics of Synchros
3 Programmable logic controller – Study and verification of truth tables of logic gates,
simple Boolean expressions, and application of speed control of motor.
4 Effect of feedback on DC servo motor
5 Transfer function of DC motor
6 Transfer function of DC generator
7 Temperature controller using PID
8 Characteristics of AC servo motor
Any two experiments should be conducted
9 Effect of P, PD, PI, PID Controller on a second order systems
10 Lag and lead compensation – Magnitude and phase plot
11 (a) Simulation of P, PI, PID Controller.
b) Linear system analysis (Time domain analysis, Error analysis) using suitable
software
12 Stability analysis (Bode, Root Locus, Nyquist) of Linear Time Invariant system using
suitable software
13 State space model for classical transfer function using suitable software -Verification.
14 Design of Lead-Lag compensator for the given system and with specification using
suitable software

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

EXPERIMENT- 1
TIME RESPONSE OF SECOND ORDER SYSTEM

AIM: To obtain time domain specifications of a second order system.

APPARATUS:
1. Oscillator
2. C.R.O.
3. Decade resistance box.
4. Decade inductance box.
5. Decade capacitance box.
6. Connecting wires.

CIRCUIT DIAGRAM:

BLOCK DIAGRAM:

Connection Diagram for Second Order System using RLC

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

THEORY:

When the resistance, inductance and capacitance are connected in series to the voltage
source ‘e’ and the voltage across the capacitor is taken as output.

The mathematical equations are

ei(t) = R i(t) +L di/dt+(1/C)  i dt and eo =(1/C)  i dt

Ei(s)/Eo(s) = (s2+(R/L) s+(1/LC))LC

Eo(s)/Ei(s) =1/(s2+(R/L) s+(1/LC))LC

Compare with characteristic equation s2+2wns+wn2=0

1
wn  and R  2 L
LC C

Damping frequency = wd = wn1-2

TIME RESPONSE SPECIFICATIONS:

(i) Delay Time: It is the time taken to reach 50% of its final value.

td = (1+0.7 )/ wn

(ii) Rise Time: It is the time taken to rise from 10% to 90% for over damped system.

It is the time taken for the system response to rise from 0 to 100% for under
damped system.

It is the time taken for the system response to rise from 5% to 95% for the
critically damped system.

td = [(-tan-1(1-2/)]/wd

(iii) Peak Time: It is the time taken for the response to reach peak value for the first attempt.
tp = /wd

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

(iv) Settling Time: It is the time taken to reach and stay within the tolerable limit (2-5%).

ts = 4/(wn)

(v) Peak Overshoot: It is the ratio of maximum peak value measured to the final value.

Mp = e-/(1-2)
PROCEDURE:

1. Make the connections as per the connection diagram for second order system shown in
figure.
2. Switch on the mains supply to the unit; observe the signal source output by selecting
square wave or step input and by varying amplitude potentiometer.
3. Make sure signal source is correct before connecting the input of the second order system.
4. Now select square wave signal. Draw the input square wave signal.
5. Connect the second order system output for different values of damping factors from 0 to 2
in steps of 0.1 by varying potentiometer R provided.
6. Compare this with theoretical wave forms.
7. Measure the R values using digital DC voltmeter or multimeter between the input
terminals with main switch in OFF position.

TABULAR COLUMN:

S.No. R in L in C in  td tr tp ts Mp
ohm Henry microF (Damping
Factor)

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

MODEL GRAPH:
V

RESULT:

VIVA-VOCE QUESTIONS:
1. What is delay time?
2. Define rise time.
3. What is settling time?
4. Define peak time.
5. What is peak overshoot?
6. Differentiate critically, under damped and over damped system.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

EXPERIMENT-2
CHARACTERISTICS OF SYNCHRO

AIM:

(1) To obtain the stator voltages corresponding to the given rotor positions for the

given Synchro transmitter and

(2) To study Synchro transmitter and receiver pair as error detector.

APPARATUS:
1. Synchro transmitter and receiver pair
2. Voltmeter (0-300V)
3. Dc power supply
4. Connecting wires

THEORY:

The most important unit in a modern transmission system is the synchro. Synchros of different
types transmit, receive, or combine signals among stations which may be widely separated; for
example, they transmit gun order signals from a computer to the automatic control equipment at a
gun mount. The simplest types of synchro units are the Synchro transmitter (sometimes called
synchro generator) and the synchro receiver (sometimes called synchro motor). The transmitter is
a device that transmits an electrical signal corresponding to the angle of rotation of its shaft. The
receiver is a device that, when it receives such a signal, causes its own shaft (if not appreciably
loaded) to rotate to an angle corresponding to the signal.

The transmitter and receiver are identical in construction except that the motor has a damper -a
device that keeps it from “running away” when there are violent changes in its electrical input.

When a current flows in the primary, it forms a magnetic field in its core. As the current changes
and reverses (which it does constantly, being an alternating current), so does the magnetic field.
The changes in the field induce current in the secondary (whose circuit is closed through a load).
The currents in the secondary produce their own magnetic field. At any instant, the induced or
secondary field opposes in direction that produced by the primary.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

Now consider a synchro transmitter connected to a receiver as in fig, so that the rotors are fed by
the same AC line and the stator coils of the receiver load the corresponding coils of the
transmitter. The currents induced in the transmitter stator flow also in the receiver, and produce

the resultant stator fields shown by the white arrows. Thus the receiver rotor, which produces a
magnetic field similar to that of the transmitter rotor (because it is excited by the same AC line),
always, because it is free to rotate, assumes exactly the same angular position (relative to the
stator) as does the transmitter rotor. When the transmitter rotor is turned-say 30 degrees, as in fig,
the resultant field produced by the stator turns too, as it did in fig, so does the receiver stator field.

Fig 1.a Schematic diagram of synchro transmitter

Fig 1.b Stator voltages

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

Synchro control transformer has a wound rotor coil and three stator coils, but the internal
construction is different. The rotor is round instead of bobbin-shaped (to keep it from tending to
line up with a magnetic field as a receiver rotor does) and is wound with finer wire to increase

electrical impedance and limit the amount of current it will carry. The synchro control transformer
has 2 inputs, 1 mechanical (its rotor is driven by the mechanism or load whose position it
regulates) and the other electrical (the synchro signal from the transmitter which is to control the
load). The electrical (synchro) 3-wire input goes into the control transformer’s stator. The stator’s
field acts as the primary of the transformer; the rotor is its secondary. The output thus comes from
the rotor and varies with its position with respect to the stator. This output is not a synchro signal;
it is a voltage whose value and polarity with respect to the AC supply depend on the position of
the control transformer’s rotor with respect to the stator.

Fig.2. Synchro Transmitter and Receiver pair as error detector

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

CIRCUIT DIAGRAM:

PROCEDURE (SYNCHRO TRANSMITTER):

1) Connect the mains supply to the system with the help of cable provided. Do not interconnect
S1, S2 and S3 to S1’ S2’ and S3’ any wires between the stator winding of transmitter and
receiver.
2) Switch on mains supply for the unit and transmitter rotor supply.
3) Starting from zero position, note down the voltages between stator winding terminals i.e.,

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

4) VS1S2, VS2S3, & VS3S1 in a sequential manner. Enter readings in tabular form and plot a graph
of angular position v/s rotor voltages for all three phases.
5) Note that zero position of the stator rotor coincide with V S3S1 voltage equal to zero voltage.
Do not disturb this condition.

OBSERVATION TABLE 1:

S.No. Rotor angle in Stator voltages


Degrees
1 0 VS1S2 VS2S3 VS3S1
2 30

3 60
4 .
5

6 .
7.
.. …

12 330

PROCEDURE (SYNCHRO TRANSMITTER AND RECEIVER PAIR):

1) Connect mains supply cable.


2) With the help of patch cords, establish connections between corresponding terminals of
transmitter and receiver i.e., connect S1 to S1, S2 to S2 and S3 to S3 of transmitter and
receiver respectively.
3) Switch on rotor supply of both transmitter and receiver and also switch on the mains
supply.
4) Move the pointer i.e., rotor position of Synchro transmitter in steps of 30 degrees and
observe the new rotor position.
5) Enter the input angular position and output angular position in the tabular column and
plot the graph.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

OBSERAVATION TABLE 2:

S.No. Rotation of rotor of Rotation of rotor of


Synchro Transmitter, t Synchro Receiver,r
1 0
2 30

. 60

. 90

. …

12 330

PRECAUTIONS:

1. Handle the pointers for both the rotors in gentle manner.


2. Do not attempt to pull out the pointers.
3. Do not short rotor or stator terminals.

RESULT:

1) The graph of VS1S2, VS2S3, & VS3S1 has been plotted for various positions of rotor.

It is observed that the voltages are displaced by 120 degrees.

2) The graph of angular position of rotor of receiver v/s angular position of rotor of

transmitter has been plotted.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

VIVA-VOCE QUESTIONS:

1. What are the principles of synchro pair?


2. Why the rotor of control transformer is made cylindrical in shape?
3. What is the difference between Synchro transmitter and synchro control transformer?
4. What is Synchro Transmitter?
5. Synchros is a ___________
6. The input to synchro Transmitter is _____________
7. The magnitude of output voltage of the synchro transmitter is function of ___________
8. Synchro transmitter-Control transformer pair acts as _________
9. The rotor of control transformer is made up of __________
10. When the two rotors of synchro pair are at right angle, then the voltage induced in control
transformer is _________
11. The electrical zero of transmitter is __________

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

EXPERIMENT-3

PROGRAMMABLE LOGIC CONTROLLER – STUDY AND


VERIFICATION OF TRUTH TABLES OF LOGIC GATES, SIMPLE
BOOLEAN EXPRESSIONS, AND APPLICATION OF SPEED CONTROL
OF MOTOR

AIM: To study and verification of truth tables of logic gates, simple Boolean expressions and
application of speed control of motor with PLC.

APPARATUS:
PLC kit
PC
Boolean Algebra kit
Logical gate kit
Connecting wires

SCHEMATIC DIAGRAM:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

1. LOGIC GATE SIMULATION:

Definition: Logic Gate Simulation panel is an experimental module where the program is
written in LD to simulate the LOGIC GATES, such as INV, OR, NOR, AND, EX-OR for any two
given inputs. Two LED's are given to indicate the status of output Q and invQ. If the LED's in ON it
indicates 1 if LED is off it indicates 0.

Digital inputs DI -0 (X0) to DI-6 (X6) are used as two switches and DO-0 (Y0) and DO-
1(Y1) is used as output to LED.

PROCEDURE: Connect the Digital inputs from the PLC panel to the SAP panel using
patch cards.Connect DI-0 and DI-1 on the PLC trainer to DI-0 and DI-1 on the application
panel respectively and DO-0 on the PLC trainer to DO-0 on the application panel.
Connect 24V power supply and Ground to the respective terminals matching the terminal
color.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

1. BOOLEAN ALBEBRA:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

Definition: Boolean Algebra (Demorgan’s Theorem) panel is an experimental module where


the program is written inLD to prove Demorgan’s theorem that LHS of an equation is equal to
RHS for three inputs. Two LED's are given to indicate the status of LHS and RHS of the
equation. If the LED's in ON it indicates 1 if LED is off it indicates 0.
Digital inputs DI -0 (X0) to DI-5 (X5) are used as two switches and DO-0 (Y0) to DO-
3(Y3) are used as output to LED.
PROCEDURE: Connect the Digital inputs from the PLC panel to the SAP panel using
patch cards.
Connect DI-0 and DI-1 on the PLC trainer to DI-0 and DI-1 on the application panel
respectively and DO-0 on the PLC trainer to DO-0 on the application panel. Connect 24V
power supply and Ground to the respective terminals matching the terminal color.

2. DC MOTOR CONTROL USING RELAYS:

Definition: DC Motor Control Using Relays is a working model it has a DC motor fixed on the
panel.
Ladder Program is written to control the motor direction of rotation and timer control. The
panel is an experimental module Two relays are used inside to control he direction of motor.
These relays are driven using Digital output of PLC. Two toggle switch are provided as input to
PLC to select the Direction of rotation and timer control mode.
Digital inputs DI -0 (X0) to DI-3 (X3) are used switches and DO-0 (Y0) to DO-3(Y3)
are used as output to RELAYS.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

PROCEDURE: Connect the Digital inputs from the PLC panel to the SAP panel using
patch cards.
Connect DI-0 to DI-3 on the PLC trainer to DI-0 to DI-3 on the application panel respectively,
And DO-0 and DO-1 on the PLC trainer to DO-0 and DO-1 on the application panel. Connect
24V power supply and Ground to the respective terminals matching the terminal color.

RESULT: The performance of PLC is studied and verified the truth tables of logic gates, simple Boolean
expressions and application of speed control of motor.

VIVA-VOCE QUESTIONS:

1. What are the different types of logic gates?


2. Draw the truth table for NAND, NOR and XOR gates.
3. How does a relay functions?
4. Explain different relay instructions used in PLC programming.
5. What are the standard steps involved in developing a ladder?

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

EXPERIMENT-4

EFFECT OF FEEDBACK ON DC SERVO MOTOR

AIM: To study the performance characteristics of a dc motor angular position control system.

APPARATUS:
DC Servo Motor kit 1 no s
DMM 2 no s

Connecting wires Required

CIRCUIT DIAGRAM & BLOCK DIAGRAM:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

THEORY:

The DC servo motors resemble a dc shunt motor turned inside out. Dc servo motors feature
permanent magnets, located on the rotor, or a wound rotor excited by dc voltage through slip
rings, requires that the flux created by the current carrying conductors in the stator rotate around
the inside of the stator in order to achieve servo motor action. The servo motor features a rotating
field is obtained by placing three stator windings around the interior of the stator punching. The
windings are then interconnected so that introducing a three-phase excitation voltage to the three
stator windings (which are separated by 120 electrical degrees) produces a rotating magnetic field.
Brushless dc servo motor construction speeds heat dissipation and reduces rotor inertia.

The DC servo motor features permanent magnet poles on the rotor, which are attracted to
the rotating poles of the opposite magnetic polarity in the stator creating torque. As in the dc shunt
motor, the dc servo motor offers torque, which is proportional to the strength of the permanent
magnetic field and the field created by the current carrying conductors. The magnetic field in the
dc servo motor stator rotates at a speed proportional to the frequency of the applied voltage and
the number of poles.

The rotor rotates in synchronism with the rotating field, thus the name synchronous motor
is often used to designate servo motors of this design. More recently, this servo motor design has
been called an electrically commutated motor (ECM) due to its similarity to the dc shunt motor. In
the dc shunt motor, the flux generated by the current carrying winding (rotor) is mechanically
commutated to stay in position with respect to the field flux. In the synchronous dc servo motor,
the flux of the current carrying winding rotates with respect to the stator; but, like the dc motor,
the current carrying flux stays in position with respect to the field flux that rotates with the rotor.
The major difference is that the synchronous dc servo motor maintains position by electrical
commutation, rather than mechanical commutation.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

PROCEDURE:

OPERATION WITH OUT FEEDBACK:

(SW1 in OFF position i.e., Tacho out)

1). Now slowly advance the input potentiometer P1 in clockwise direction. The output
potentiometer along with load will be seen to be following the change in the input potentiometer.

2). When the input is disturbed, the null indicator will be showing some indication but when it
may be noted that when input pot is moved in anticlockwise direction, the output pot P2 also
moves in the reverse direction.

3). Keep the pot P1 at around 180 degree position. Pot P2 also will be in the same position.

4). Now change the input pot in a step fusion by 60 to 80 degrees. The output will be observed to
change in oscillatory mode before it settles to a final position. The tendency for oscillations is
found to be dependent on the amplifier gain setting. For high gain there are too many oscillations
where as low gain oscillations are reduced but with static error. OPERATION WITH
STABILIZING FEEDBACK:

1. Now put the SW1switch in lower position i.e., Tacho in position. SW2 must be in down
position i.e., degeneration mode.

2. Keep P4 in fully anticlockwise direction, output again indicates oscillations.

3. Now take the pot P1 to 1800 position and effect step input change in one of the directions, O/P
gain indicates oscillations is found to be dependent on the amplifier gain setting. For high gain
there are too many oscillations where as for low gain oscillations are reduced but with static error.

OPERATION WITH STABILIZING FEEDBACK:

1. Now put the Sw1 in lower position.

2. Sw2 must be in down ward position i.e degeneration mode. Keep P4 in fully anti clock wise
direction.

3. Now take the pot P1 to 1800 position, effect the step input change in one of the direction, output
again indicates oscillations.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

4. Now advance the tachogain pot P4 in clockwise direction, the output now is observed to follow
the input in a smooth fashion without oscillation. If the tachogain pot P4 is too much advanced,
the output now follows input in a sluggish fashion indicating over damped system.

5. Now the switch SW2 in upward position i.e., regenerative mode. Now if the pot P1 is disturbed,
the output pot P2 is found to oscillate continuously around the desired position.

As the amount of feedback is adjusted the frequency and the amplitude of output is observed to
vary.

6.Bring the switch SW2 in down ward position.

Warning: Do not operate the DC position control in regenerative mode for long time. This can
damage the potentiometers.

OBSERVATION TABLES:
Without stabilizing feedback(SW1 upward ):
S.No. Input angular Output angular Remarks
position in degrees position in degrees

With stabilizing feedback (SW1 downward):


S.No. Input angular Output angular Remarks
position in degrees position in degrees
SW2 in regenerative
mode

With stabilizing feedback (SW1 downward):


S.No. Input angular Output angular Remarks
position in degrees position in degrees
SW2 in
degenerative mode

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

PRECAUTIONS:

1. Please do not cross zero degree position by moving pot P1 i.e., do not operate between 330
and 10 degrees.
2. Do not try to rotate output potentiometer by hand. This may damage the potentiometer.
3. Students should note the following: Try to understand the function of output potentiometer.
4. The null indicator indicates a small deviation from zero indication at various positions of
angle 1 and 2. This is so because of backlash in the gear, friction and the fact that some
definite torque is required to be produced by the motor, so that the system can be set in to
rotation. More over this torque goes on changing from position to position. Hence this causes
error.
5. Observe the effect of change in amplifier gain. Higher the gain, smaller is the error.
6. When system is not using, keep SW3 and SW4 in OFF position (upward position) to avoid
heating and possible damage of the power stage.

RESULT:

VIVA VOCE QUESTIONS:


1. What is meant by servo motor?
2. How it is different from DC motor?
3. Explain the advantages of DC servo motor.
4. Draw the characteristics of DC servo motor.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

Experiment 5
TRANSFER FUNCTION OF D.C. MOTOR

AIM: To determine the transfer function of the given D.C motor after determining the various
constants.

APPARATUS:

1. Voltmeter 0-300V M.C, 0-30V M.I. 0-30V M.C.


2. Ammeter 0-1A, 0-2A, 0-10A M.C
3. Rheostat 360 / 1.6A. 45/5A
4. DPDT Switch
5. Stop watch
6. Tachometer
7. Variac 0-220V / 270V.
8. Loading Resistors (220v. 5KVA)
9. Connecting Wires.

CIRCUIT DIAGRAM:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

THEORY:
Transfer function is defined as the Laplace transform of output to Laplace transform of
input with zero initial conditions. It is useful for finding the gain of the system.

The speed of D.C motor is directly proportional to armature voltage and inversely
proportional to flux in field winding. In armature controlled DC motor, the desired speed is
obtained by varying the armature voltage. This speed control system is an electro mechanical
control system. The electrical system consists of the armature and the field circuit but for analysis
purpose, only the armature circuit is considered and the field is excited by a constant voltage. The
mechanical system consists of armature controlled DC motor speed control system.
From the equivalent circuit for armature by applying KVL

Ia Ra + La dia/ dt + Eb = Va
Since flux is constant,
Torque is proportional to Ia
T = Kt Ia

Differential equation of a mechanical system is


J d2 m/dt+B dm /dt = T

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

Back e.m.f. Eb = Kb (dm/dt)


Taking Laplace transform of the above differential equations with zero initial condition and
equating.
T(s)= KtIa(s) and Eb(s) = Kbwm(s)
T(s) = [Js2 + sB]*m(s)
Va(s)- Eb (s) = [Ra+ sLa(s)]*Ia(s)
The overall transfer function of DC motor is

 ( s) Kt

V ( s) s[( Ra  sLa )( sJ  B)  K t K b ]

Where J=Moment of Inertia=0.024 Kg-m2


B=Frictional Co-efficient=0.8

PROCEDURE:
Load Test on DC Motor:
1. Circuit connections are made as per the circuit diagram.
2. Connect 220V fixed Dc supply to the field of DC motor and brake drum belt should be
loosened.
3. Start the motor by applying 0-220V variable Dc supply from the controller till the motor
rotates as its rated speed.
4. Note down meter readings which indicates no load reading.
5. Apply load in steps up to rated current of the motor and note down corresponding IL, N,
F1 and F2 readings.
6. Switch OFF the armature DC supply using armature supply ON/OFF switch and then
Switch OFF the MCB.

Speed control by Armature Voltage Control:


1. Circuit connections are made as per the circuit diagram.
2. Connect 220V fixed DC supply to the motor field, keep the armature control pot at its
minimum position and switch at OFF position.
3. Switch ON the MCB, Switch ON the armature control switch. Vary the armature voltage
and note down the speed and the corresponding meter readings.
4. Repeat the same for different armature voltages.
5. Switch OFF the armature control switch and then the mains MCB.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

TABULAR COLUMN:

Load Test on DC Motor:


S.No. IL F1 F2 N rpm T=(F1-F2)*6.5*9.81
N-cm

Speed control by Armature Voltage Control:


S.No. Ia N V Eb=V-IaRa w=2πN/60

MODEL GRAPHS:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

RESULT:

VIVA-VOCE QUESTIONS:

1. Why does the speed fall slightly when the D.C. shunt motor is loaded?
2. What will happen if the field current of the D.C. shunt motor gets interrupted?
3. What are the possible errors in the experiment?
4. How will you avoid the breaking arrangements getting heated?
5. Why the motors are not operated to develop maximum power.
6. By applying which law, the direction of rotation of d.c. motor can be determined.
7. The transfer function dc motor with armature control is ____ system.
8. The transfer function dc motor with field control is ____ system.
9. What is order the of the transfer function of DC motor?
10. The motor time constant is given by; ___________
11. In armature control ________ is maintained constant.
12. Armature control is suitable for speeds ________________

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

EXPERIMENT 6
TRANSFER FUNCTION OF DC GENERATOR
STUDY OF DC GENERATOR
OBJECTIVE:
To Study the
1. DC Motor & DC Generator Characteristics
2. DC Motor Torque Speed Characteristics
3. Step response of DC Motor

EXPERIMENTS:
1. DC MOTOR & DC GENERATOR CHARACTERISTIC:
At no load (load step at 0) the motor is supplied with varying armature voltages, Ea = 4,6….18V.
For each Ea, the motor current Ia, speed N, and
generator voltage Eg are recorded. Straight line approximation of the Ea v/s
speed and Eg v/s speed yield the motor and generator gain constants KM
(rpm/volt)and KG(volts/rpm).

PROCEDURE:
1. Connecting the patch cords as shown in diagram1.
2. Set ‘MOTOR’ switch to ‘ON’. Set ‘RESET’ switch to ‘RESET’. Set ‘LOAD’ switch to 0
position.
3. Vary Ea (the voltage can be observed by using DC voltmeter) in small steps and take readings
as under (Table 1).

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

4. EG (Generator Voltage) can also be observed at DC Voltmeter and Ia can observed at DC


ammeter.
5. Obtain the slopes and compute KM(Motor gain constant) and KG(Generator gain constant).By
using formulas mentioned below.

6. Now plot N (Speed) V/s Ea (armature voltage) and Eg (Generator Voltage) V/s N (Speed),
7. Take average values of KM (Motor gain constant) and KG (Generator gain constant).

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

PROCEDURE:
1. Set ‘MOTOR’ switch to ‘OFF’, Set ‘RESET’ switch to ‘RESET’. Set
‘LOAD’ switch to 0 position.
2. Connect Ea to the voltmeter and set some value.
3. Shift the ‘MOTOR’ switch to ‘ON’. Measure armature voltage (Ea). Motor current (Ia) and
motor speed in rpm. Record the readings as per Table – 2.
4. Set the ‘LOAD’ switch to 1,2,….5 and take readings as shown in the
Table 2.
5. Complete the table below with the calculated values.
6. Plot Torque Vs. Speed curves on a graph paper (approximated straight line
plots)

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

7. Compute B (Viscous friction coefficient ) from the slope of Torque-Speed


curve and average Kb(back emf constant) from the table.

3.STEP RESPONSE:
The dynamics of the motor is studied with the help of its step response.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

PROCEDURE:
1. Set ‘MOTOR’ switch to ‘OFF’, set ‘RESET’ switch to ‘RESET’. Set
‘LOAD’ switch to 0 position.
2. Connect Ea to the voltmeter and set some value
3. Switch ’ON’ the motor and measure Eg and the speed in rpm. These are the steady state
generator voltage Eg and steady state motor speed N,
respectively.
4. Set Es to 63.2% of Eg measured above. This is the generator voltage at
which the counter will stop counting.
5. Switch ‘OFF’ the motor. Set ‘RESET’ switch to ‘READY’.
6. Now switch the motor ‘ON’ Record the counter reading as time constant in milliseconds.
7. Repeat above for different Ea value and tabulate shown below in Table3.
8. Substitute the value of KM and 􀀃m in eqn.(6) and write down the motor
transfer function.
9. Using the average values of 􀀃m , B, Kb and Ra, calculate the motor inertia
from eqn.(7).

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

Fig 5. STEP RESPONSE OF THE MOTOR

RESULT: The performance of DC GENERATOR is studied and characteristics are obtained.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

EXPERIMENT 7
TEMPERATURE CONTROLLER USING PID
AIM: To study the performance of various types of controllers used to control the temperature of

an oven.

APPARATUS: -

1. Patch cards.

2. Temperature control module.

3. Stop watch.

BLOCK DIAGRAM:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

CONNECTION DIAGRAMS:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

THEORY:

P-CONTROLLER:

Proportional action is a mode of controller action in which there is a continuous linear relation
between values of deviation and manipulated variable. Thus the action of the controlled variable is
repeated and amplified in the action of the final control element.

INTEGRAL ACTION:
Integral action is a mode of control action in which the value of the manipulated variable is
changed at a rate proportional to the deviation. Thus if the deviation is doubled over a previous
value, the final control element is moved twice as fast.
The integral action adjustment is the integral time. For a step change of deviation, the integral
time is the time required to add and increment the response equal to the original step change of
response. Integral action is alone very seldom.
The integral action is used in association with proportional action. As a result of the integral
action the offset error is almost reduced to zero. But the transient response is adversely affected.
In other words the integral action has a destabilizing effect on the process under the conditions of
load variations.

DERIVATIVE ACTION:
Derivative control action may be defined as a control action in which the magnitude of
manipulated variable is proportional to the rate of change of deviation. The net effect of the
derivative action is to shift the manipulated variable ahead by the derivative time.
The advantage of derivative action is that the proportional gain may be made larger without
producing excessive oscillations. This in turn reduces offset. It is sometimes possible through the
use of P+D reduce offset to such a small value that integral action would not required. The P+D
action improves the transient under larger load changes.

P+I+D ACTION:
Proportional+Integral+Derivative action produces smallest max. deviations and offset is
eliminated, because of integral action.
The derivative action tries to improve the transient response to a greater extent.
The P+I+D action is more effective for control of process with many energy strong
elements than the P+I action used alone.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

PROCEDURE:
EXPERIMENT-1: P-CONTROLLER
1. Establish the connection between the conditioning unit and the model process with the
help of cables provided.
2. Connect Red 3 and Black 1 with the help of patch card.
3. Set the “SET” potentiometer at the position of 18ohms corresponds to 45 degree
centigrade of temperature.
4. Set the proportional band control to 10% i.e., K1=10
5. Now turn ON the power supply and also turn ON the fan. Place the fan regulator at low
position.
6. Wait until the deviation indicator stabilizes at some point. Record the deviation readings
and percentage of power reading at interval of 15 seconds.
7. Now suddenly increase the fan speed to full level by moving fan control to high position.
8. Now note down the deviation meter reading when the pointer stabilizes.
Record the deviation meter readings. The difference between the two readings i.e., step 8
and step 6 is the offset (steady state error).
9. Now increase the gain to 100 i.e., proportional band to 1% and repeat the steps 5 to 8. We
can observe that the offset error is reduced.
10. Draw the graph of time v/s deviation.

EXPERIMENT-2: P+I CONTROLLER


1. Establish the connections as per fig. with the help of patch cards.
a) SET 18 ohms (45 degree centigrade)
b) PB=10%
c) Course control for integral action=10 seconds
d) Fine control=Midway

2. Turn on the fan with control on low position.


3. Wait until the process stabilizes with almost zero deviation.
4. Now suddenly increase the fan speed to high position with the help of a stop watch record,
the deviation meter readings at an interval of 15 seconds. Continue the process until the
deviation meter almost stabilizes at zero deviation. There might be negligible error.
5. We can observe that the integral action gives zero offset but transient response is
hampered.

EXPERIMENT-3: P+D CONTROLLER


1. Establish the connections as per fig. with the help of patch cards.
e) SET 18 ohms (45 degree centigrade)
f) PB=10%
g) Course control for derivative action=5 seconds
h) Fine control=Midway

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

2. Turn on the fan with control on low position.


3. Wait until the process stabilizes.
4. Now introduce the load change by moving the fan control to high position with the help of
a stop watch record, the deviation meter readings at an interval of 5 to 10 seconds.
Note: We may observe that process comes to almost zero deviation point quickly. In fact in
this process the performance of P+D and P+I+D are almost identical.

EXPERIMENT-4: P+I+D CONTROLLER


1. Establish the connections as per fig. with the help of patch cards. Get the indicated settings
for the various controls.
2. Turn on the fan with control on low position.
3. Wait until the process stabilizes.
4. Now introduce the load change by moving the fan control to high position with the help of
a stop watch record, the deviation meter readings at an interval of 5 to 10 seconds.
Note: We may observe that the process comes to almost zero deviation point quickly. Thus the
transient response is improved and offset is also avoided.

PRECAUTIONS:
1. Operate SET control point in a gentle fashion.
2. Study all the controls carefully before using the equipment.
3. ADJUST control is adjusted in proportional mode to get 50% of output power when
deviation is zero.
4. Make or break the connection only after turning OFF the mains supply.
5. During winter season in view of low ambient temperature and vice-versa for summer
season.

TABULAR COLUMN:

P-CONTROLLER P-CONTROLLER
(FAN LOW SPEED) (FAN HIGH SPEED)
S.No. Time in sec Deviation in 0C Time in sec Deviation in 0C

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

P+I CONTROLLER P+I CONTROLLER


(FAN LOW SPEED) (FAN HIGH SPEED)
S.No. Time in sec Deviation in 0C Time in sec Deviation in 0C

P+D CONTROLLER P+D CONTROLLER


(FAN LOW SPEED) (FAN HIGH SPEED)
S.No. Time in sec Deviation in 0C Time in sec Deviation in 0C

RESULT:
The performance of P, P+I, P+D and P+I+D controllers with an oven is studied.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

EXPERIMENT 8
CHARACTERISTICS OF AC SERVO MOTOR

AIM: To obtain the control characteristics of AC servomotor.

APPARATUS: 1. A.C. servo motor.


2. Tachometer
3. Voltmeter 0-300V M.I. type.
4. Connecting wires.

CIRCUIT DIAGRAM:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

THEORY:

The motors that are used in automatic control systems are called Servomotors. When the objective
of the system is to control the position of an object then the system is called Servo Mechanism.
The servomotors are used to convert an electrical signal (control Voltage) applied to them into an
angular displacement of the shaft. Then can either operate in a continuous duty or step duty
depending on construction.
There are different varieties of servomotors available for control system applications. The
suitability of a motor for a particular application depends on the characteristic of the system, the
purpose of the system and its operating conditions. In general, a servomotor should have the
following features.
1. Linear relationship between the speed and electric control signal.
2. Steady state stability.
3. Wide range of speed control.
4. Linearity of mechanical characteristics throughout the entire speed range.
5. Low mechanical and electrical inertial.
6. Fast Response.
Depending on the supply required to run the motor, they are broadly classified as DC
Servomotor and AC Servomotor
An AC Servomotor is basically a 2-Ph induction motor except for certain special design features.
A 2-Ph servomotor differs in the following 2 ways from a normal induction motor:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

i. The rotor of the servomotor is built with high resistance, so that its X/R ratio is small
which results in linear speed-torque characteristics. But conventional induction motors
will have high value of X/R ratio which results in high efficiency and non-linear speed torque
characteristics.
ii. The excitation voltage applied to two stator windings should have a phase difference of 90˚.

PROCEDURE:
1. Study all the controls carefully on the front panel.
2. Initially keep the load control switch at OFF position, indicating that the armature circuit of
D.C machine is not connected to auxiliary power supply-12V DC. Keep Servomotor supply
also at OFF position.
3. Ensure load potentiometer and control voltage auto transformer at minimum position.
4. Now switch ON mains supply to the unit and AC servomotor by moving the control voltage
transformer. We can observe that A.C. servo motor will start rotating and speed will be
indicated by tachometer in the front panel.
5. With load switch in OFF position, vary the speed of the A.C servomotor by moving the
control voltage and note down e.m.f generated by the D.C machine. (i.e., now working as
D.C generator or Tacho).

TABULAR COLUMN:
S.No. SPEED (r.p.m) Eb (Volts)

6. Now load switch at OFF position, switch ON AC servomotor and keep the speed in the
minimum. Now vary the control winding voltage by varying the auto transformer and set the
speed for maximum speed. Now switch ON the load switch and start loading AC servomotor
by varying the load potentiometer slowly. Note down the corresponding values of I a and
speed and also note down control voltage and enter these readings in the table.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

TABULAR COLUMN:

S.No N (rpm) Eb Ia P = Eb Ia T (gm-cm)


=[P*1.019*104*60]/[2*pi*N]

7. Repeat the above procedure for different control voltage 200V, 180V also and plot the graph
of speed V/s Torque.

MODEL GRAPH:

RESULT:-

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

EXPERIMENT 9
EFFECT OF P, PD, PI, PID CONTROLLER ON A SECOND ORDER
SYSTEMS
OBJECTIVE:
To study the performance characteristics of an analogue PID controller
using simulated systems.
EXPERIMENTAL UNIT:
This is a very well designed and compact unit for classroom experiments on the study of
proportional-integral-derivative controllers. The schematic diagram of the unit shown in fig. 1
comprises of a flexible process, a PID controller, signal sources, a DVM and a regulator power
source for all the sub-systems. The various sections along with their specifications are described
below.
2.1. Process or Plant:
In a practical situation the process of plant is that part of the system which produces the desired
response under the influence of command signal. Usual processes are higher order, nonlinear
functions having inherent dead time or pure time delay. In process control studies such plants are
commonly modeled by transfer functions of the form.

where is the time delay in sec., is the effective time constant and K is the
DC gain. In the present system, the process is an analogue simulation through a few basic building
blocks which may be connected suitably to form a variety of processes or plants. These blocks
are,

a. Integrator – having an approximate transfer function of 10/s.


b. Simple Pole – two identical units, each having a transfer function of
1(1+0.0155s)
c. Pure time delay –a time delay of about 5.64 m sec generated by a high order multiple pole
approximation of the delay function.
Note that all the above blocks, except pure time delay, have 180 degree phase shift between input
and output.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

Controller:
The controller for the process is an analogue Proportional-Integral- Derivative (PID) circuit in
which the PID parameters are adjustable. The
values may be set within the following range through 10 turn calibrated
Potentiometers:
Gain, Kc : 0 to 20
Integral Time Constant, Ti : 5-100 msec.
Derivative Time Constant, Td : 0-20 msec. It may be mentioned that although in an industrial PID
Controller it is common to adjust the above parameters directly, but in the educational
environment convenience and simplicity is more important. In the present unit, therefore, it is
the proportional, integral and derivative gains viz. Kc, Ki and Kd, which are made variable
through 10 turn potentiometers calibrated from 0 to 1. Equations linking the time constants with
the gain appear in Eq. 3 in sec. 3.2. The PID block has a phase angle of 00 between its input and
output.
2.3. Error Detector:
The Error detector is a unity gain inverting adder which adds the command signal with the
feedback signal. To ensure negative feedback it would therefore be necessary to have
(2n+1) phase shift in the forward path, for n = 0, 1, 2 and so on.
2.4. Uncommitted Amplifier:
It is a unity gain inverting amplifier. This amplifier may be inserted in
the loop, if required, to ensure a proper phase angle.
2.5. Signal Sources: The Signal source comprises of a low frequency square and triangular wave
generator. The square wave has adjustable amplitude and frequency and the triangular wave has
only frequency adjustment. The square wave is used as command input to the system, while the
triangular wave is used for external x-deflection in the CRO. This arrangement gives a perfectly
steady display even up to very low frequencies and is convenient for CRO measurements.
Power Supply and DVM:
A regulated circuit powers the complete unit. A 3 ½ digit DVM of 19.99 volt range mounted on
the panel may be used for DC or steady state measurements. Also a variable DC in the range 1V
(min.) available on the panel may be used as a DC input or set point for the system.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

3. BACKGROUND SUMMARY:
3.1. Introduction:
The performance of a physical system is not always good enough for a given
application. In such a situation the characteristics of the system needs to be modified. This is
referred to as ‘Compensation Design’. Standard procedure available for compensation include
time and frequency domain designs of a variety of compensation networks. Such design
methods have been successfully used in many practical dynamic control systems. The
performance of the system is evaluated in terms of a set of performance specifications e.g.
rise time, peak time, settling time, peak percent overshoot and steady state error in the time
domain, and gain margin, phase margin, closed loop, bandwidth etc. in the frequency domain.
Another approach towards improving the performance of systems has been through
elementary control actions – called control terms – inserted in the forward path of an existing
control system. The block diagram of fig. 2 shows the location of such a controller in a unity
feedback system. The controller work comprise of two or three of the following control
terms.

a. Proportional, P

b. Integral, I

c. Derivative, D

The resulting controller may then turn out to be a PI, PD or PID controller.
The two, and three term controllers indicated above have been used more commonly by process
industries e.g. petroleum, chemical, power, food etc., for the control of temperature, pressure,
flow and similar variables. A common feature of these systems is their sluggish response which
calls for accurate and slow integration and sensitive differentiation. Although near ideal electronic
differentiator and integrator circuits are difficult to achieve except with high impedance
operational amplifiers and good quality components, PI and PD controller valves have existed in
the pneumatic and hydraulic environments for a long time.
In the present unit attempt has been made to expose the students to the study and design of PID
controllers using simulated systems. The speed of response has been deliberately scaled up to
have a fast and easy viewing on CRO.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

Which may be represented as the block diagram of fig.3.

An alternative representation of the, above which is more commonly used in process

control literature, is as under:

1
M(s) = Kc 1+ ------ + Tds E(s)
Tis
Where

Kc
Ti = -------- = Integral time constant Ki

Kd
Td = -------- = Derivative time constant Kc

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

It is easy to develop the structure of PD, and PI controllers from above, by substituting K i = 0

and Kd = 0 respectively.

A special terminology used in process control literature is given below

to facilitate better understanding.

1
Proportional Band = -------- 100%
Kc
Ki 1
Reset Rate = ------- = ------- per minute
Kc Ti
Derivative Time = Td

In the present unit, the three gains are adjustable in the following range with the help of

calibrated 10-turn potentiometers.

Kc : 0 to 20

Ki : 0 to 1000

Kd : 0 to 0.01

Experimental determination of these value is discussed in Sec. 4.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

where w1 and w2 are the two zeros of the PID controller transfer function.

The above transfer function has a pole at the origin and two real zeros for Kc >
4KdKi.
2
Notice that a properly designed PID controller should not, in general, have a pair of
complex conjugate zeros which may result in reduced damping. Bode diagram of the PID
controller is shown in fig.4.

It may be seen that the controller gain increase without limits as the frequency is
decreased. This is due to the integral term, and it results in a reduction of steady state error.
However, the negative phase angle introduced by the controller at low frequencies has a
destabilizing effect as well. The corner frequency 1 should therefore be so located that large
negative phase angle occurs at sufficiently low frequencies only, where the plant already has
a good stability margin.
Again, the Bode diagram of the controller fig.4. shows an increased gain at high
frequencies accompanied by a positive phase angle. The

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

Positive phase angle has a stabilizing effect while the large gain at high frequencies makes
the system then becomes relatively more stable, as it is capable of taking ‘anticipatory’ action
in the presence of signals having fast variations.
A storage CRO trace showing time response of a typical PID Controller is shown in
Appendix-1.

3.2.1. Design:

The PID Controller can be designed both in the frequency domain and in the s-plane, through
the classical or trail-and-error procedure. The method needs the pole-zero locations or
frequency-phase responses of the plant, for its implementation. A large number of process
control systems are however characterized the following:

 Incomplete or inaccurate plant equations

 Extremely slow response

 Presence of time delays

 High order transfer function

 Limited possibility of experimentation for identification of the plant

 Need for fine trimming the compensator at site.

In such a situation alternative simpler techniques of setting the controller parameters (Kc,
Ti, Td), or tuning, are of great practical value. Presented

GPID


  
1 2

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

+ 90

GPID


- 90

FIG 4. BODE DIAGRAM OF PID CONTROLLER

Below are three techniques of tuning a PID controller aimed at obtaining a satisfactory step

response of the overall system [3]. Experimental work based on these methods in outlined in

section 4.

(a) Trial-and-error tuning:

This is a simple and systematic method for on-line tuning of a PID controller. The method

assumes that the three parameters Kc, Ki and Kd are available for adjustment. Following are

the steps for its implementation:

1. Disconnect or reduce derivative and integral block signals by setting K i and Kd

to zero.

2. Starting from a low value increase Kc gradually till sustained

oscillation sets in. This condition is tested by small disturbances generated by

varying the reference signal a little. The value of proportional gain so obtained is

called ultimate gain, Kcu.

3. Set Kc to ½ of the value obtained in step 2.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

4. Increase Ki gradually until sustained oscillations start again. Set K i to 1/3 of this

value.

5. Increase Kd gradually until sustained oscillations start again. Set Kd to 1/3 of this

value.

The above method, though very simple in operation, has the following limitations:

(i) A number of systems which are, or may be approximated to, first or second

order transfer functions without time delay do not oscillate. Step 3 as above

is then not possible and the method fails.

(ii) Open loop unstable systems cannot be handled by this method.

(iii) Tuning of very slow systems by this method is extremely time consuming.

(iv) Sustained oscillations may not be acceptable or may be risky in some

physical processes such as large chemical process.

(b) Continuous Cycling Method:

In this method, given by Ziegler and Nichols, the first step is to determine experimentally the

value of ultimate gain, Kcu as suggested in the previous method. The time period of the

resulting sustained oscillations is referred to as ultimate period Pu. Based on the values of

Kcu and Pu, the controller settings are obtained from Table.1 below which is essentially

empirical in nature.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

Table.1 Empirical Values of the parameters

Controller Type Kc Ti Td

P 0.5 Kcu - -

PI 0.45 Kcu 0.833 Pu -

PID 0.6 Kcu 0.5 Pu 0.125Pu

The values of Ki and Kd may be calculated from Eq.3. for implementation on the present

system.

Some variation in the coefficient settings have also been suggested by various workers. In
any case the above values should be taken as the ‘initial settings’ and should invariably be

followed by fine tuning via trial-and-error.

Most of the limitations of the first method are still present in this method, however the

continuous cycling method is less time consuming.

( c) Process Reaction Curve Method:


This is a second on-line tuning method proposed by Ziegler and Nichols and is very attractive

because it is based on a simple experimentation. The plant is modeled as a first order function

with time delay. The open loop step response of the plant, called reaction curve of the

process, is experimentally obtained. Typical step responses for Type-0, and higher type

number systems are shown in fig. 5(a) and 5(b) respectively.

The step responses are characterized by two parameters,

(i) Slope S of the tangent drawn at the point of inflection, and

(ii) Time T at which the tangent intersects the X-axis.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

The values of S and T are obtained graphically as shown in fig.5. If the input step change was

M then the PID parameters are given by the Table.2 below:

Table.2 PID parameters in terms of reaction curve constants

Controller Type Kc Ti Td

P M - -

PI ST
0.9M 3.33T -

PID ST
1.2M 2T 0.5T
ST

Once again, the above values are empirical in nature and therefore fine tuning of the
for implementation on the present unit.

Although the process reaction curve method based on a single experimentation is fast and

simple, it does have some limitation as given below:

(i) The step response obtained in the open-loop may not be satisfactory in case the

system is highly nonlinear or open loop unstable.

(ii) Accuracy is limited due to the graphical procedure involved.

In conclusion it may be said that any method used to calculate the parameters must be

followed by a fine tuning on the operational process.

1. EXPERIMENTS:

A very wide range of experimentation is possible with the unit, however the ones suggested

below are aimed at bringing out the features of PID controller in one or two laboratory classes

of usual duration. It may be mentioned that a convenient CRO display has been obtained by a

proper design of the system. Tuning of the PID controller is therefore

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

Very fast and avoids expensive accessories like an X-Y/t recorder.

Experimentation in the following material has been suggested with a system having a time

delay block. Such a representation is closer to many real life systems which have pure time

delay. However, this takes the system closer to instability which can then accept only small

values of Kc, Ki etc. As a result, the settings of P, I and D controls may be difficult to make

for a beginner. In that case it is suggested that the beginner may experiment with a system

with one/two time constant blocks without time delay block.

Before starting the experiments, it will be helpful to understand the calibrated dials of P, I and

D control knobs. In section 4.1, the student finds out the maximum values of Kc, Ki and Kd

or in other words the full scale values of these parameters. The potentiometers used are 10-

turn types and each turn is divided into 10 parts by the dial scale. Each part is further divided

into 5 divisions so that the total dial range of 0 to 1 has least count of

1.2. A full revolution of a knob corresponds to a change of 0.1 in dial reading. To obtain

a parameter value, multiply the dial setting by the corresponding full scale value (FSV). As

an example, if FSV for P-control is 20 then a dial setting of 0.032 will correspond to a Kc =

0.032 20 = 0.64.

4.1 Controller Calibration:

The time domain response of the PID controller is of great value for a good understanding of

its performance. This also enables the reader to calibrate the three potentiometers, if felt

necessary. The frequency may be set at the lower end of the range and its actual value may be

experimentally determined. The steps suggested are:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

1. Apply a square wave signal of 100 mV p-p at the input of the error detector.

2. Connect P,I and D outputs to the summer, and display controller output on the CRO.

3. With P-Potentiometer set to maximum and I- and D- potentiometers set to zero, obtain

maximum value of Kc as

p-p Square wave output


Kc(max.) = ------------------------------
p-p square wave input

4. With I-potentiometer set to maximum and P- and D- potentiometers set to zero, a ramp will

be seen on CRO. Maximum value of Ki is then given by:

5. p-p square wave amplitude in volts where f is the frequency of the input.
6. Set D-potentiometer to maximum and P- and I- potentiometers to zero. A series of sharp pulses
will be seen on the CRO. This is obviously not suitable for calibrating the D- potentiometer.
Instead, applying a triangular wave at the input of the error detector a square wave is seen on the
CRO
7. where f is the frequency of the input signal.
Set all the three potentiometers –P, I and D to maximum values and apply a square wave
input of 100 mV (p-p). Observe and trace the step response of the PID controller.
Identify the effects of the P,I and D control individually on the shape of this response.

RESULT: The performance characteristics of PID controller is studied

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

EXPERIMENT 10
LAG AND LEAD COMPENSATION – MAGNITUDE AND PHASE PLOT
AIM: To study the lead lag compensation design.

INTRODUCTION
The unit Lead-Lag Compensation Design has two blocks. The first block deals with the study of
Lead-Lag network. In this we observe the performance characteristics of LEAD-LAG network.
The second block of the unit is compensation design. Here we observe the steady state and
transient response of the system and we select one parameter from steady state and transient
response and force the system to meet the requirement using Compensation techniques.

STUDY OF LEAD-LAG NETWORK


PART – I
INTRODUCTION:
Every control system designed for a specific application has to meet certain performance
specifications. Setting the gain is the first step in adjusting the system for satisfactory
performance. In many practical cases, however the
adjustment of the gain alone may not provide sufficient alteration of the system behavior to meet
the given performance. As is frequently the case, increasing the gain value will improve or
instability. It is then necessary to redesign the system in order to alter the overall behavior so that
the system will behave as desired. An additional device inserted in the system for such purpose is
called a COMPENSATOR .This device compensation for deficient performance of the original
system. If the compensator GC (S) is placed in series with the unalterable transfer function G(S),
then the compensation is called series compensation. If the compensator is placed in feedback
path, what we have is feedback compensation. In general series compensation may be simpler
than feedback compensation. However the series compensation frequently requires additional
amplifier to increase the gain Numerous physical devices are used as compensators. Among the
many compensators the widely used series compensators are the so called LEAD compensators,
LAG compensators & LEAD – LAG compensators. This system is designed to make a detailed
study of these types of compensators. They are usually electrical, mechanical, hydraulic & consist
of R – C networks (Electrical, Mechanical, Pneumatic & Hydraulic) & amplifiers. We shall study
compensating networks in the form of electrical R – C networks. This proposed study of the
compensators will be done in the following fashion.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

1. Simple Phase lead & Phase Lag networks


2. Lead, Lag & Lead – Lag compensating networks that are used in the control systems.
3. Study of Lead, Lag networks with the help of active devices and to provide isolation
PROCEDURE:

EXPERIMENTS – I: STUDY OF SIMPLE PHASE LAG NETWORK:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

PHASE LAG: Variation of Magnitude and Phase for the transfer function of Phase Lag
Network:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

1. Switch ON the supply.


2. Select the components R = 10K, C = 0.1mfd.
3. Make connections as shown in fig. 1.a. So as to form a phase lag network.
4. Using the CRO in X – Y mode, give input of the network to X – input of CRO and output of the
network to Y-input of CRO.
5. Set the sine wave amplitude at 3V.
6. Now vary the frequency from 25Hz to 1000Hz in steps and note down the readings in the Table
given below.
7. Calculate the gain and phase difference from the readings.
8. Now calculate the theoretical value of gain and phase difference from the formulae’s given.
Frequency A X0 B Y0 θ Gain θ Gain
Practical Theoretical
Practical Theoretical

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

9. Now repeat the experiment by connecting a load resistor of 10K between output and ground.
Because of Loading, Characteristics of network changes drastically.
10. To avoid loading, an amplifier may be connected between the network and load. Now repeat
the experiment by connecting an amplifier between the network and load.
a. Connect output of network to input of amplifier.
b. Connect the load resistor of 10K between output of amplifier and ground.
The characteristics will be similar without load and with load.
EXPERIMENT2:SIMPLE PHASE LEAD NETWORK:

PHASE LEAD: THE VARIATION OF MAGNITUDE & PHASE FOR THE TRANSFER
FUNCTION OF A PHASE LEAD NETWORK:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

PROCEDURE:
1. Switch ON the supply.
2. Select the components R = 10K, C= 0.1 mfd.
3. Make connections as shown in fig.2.a So as to form a phase lead network.
4. Repeat step 4 to step 11 of Experiment No.1.
5. Perform the Experiment without Load and with Load, without amplifier and with amplifier.
Note down the column and observe the result.

EXPERIMENT 3: STUDY OF LEAD COMPENSATOR:

LEAD
COMPENSATOR:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

BODE PLOT OF LEAD COMPENSATOR WITH AMPLIFIER GAIN A

The S plane representation of a lead compensator is shown in fig. It has a zero at S= -1/t and pole
at S = 1/alpha*t, with zero closer to the origin than the pole. The general form of the compensator
is

The values of the three network components R1, R2 and C are to be determined from the 2 LEAD
compensators parameters. The sinusoidal transfer function, of the lead compensator is then given
by:

The Bode diagram of the LEAD compensator with amplifier gain A = 1/alpha is given in fig. The
phase lead of the compensator at any frequency ώ is given by:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

PROCEDURE:
1. Switch ON the supply.
2. Select the components R1 = 10K, R2 = 10K, and C = 0.22μF.
3. Make connections on shown in fig.3.a. So as to form a lead Compensator network.
4. Repeat step 4 to step 11 of Experiment No.1.
5. Perform the Experiment without Load and with Load, without amplifier and with amplifier.
Note down the readings in the Tabular column and observe the result.

EXPERIMENT 4: STUDY OF LAG COMPENSATOR:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

The S plane representation of lag compensator is shown in fig. It has a pole at -1/Beta*z and zero
at -1/t with zero located to the left of the pole on the negative real axis. We have

Since beta is greater than unity, steady state output has lagging phase angle with respect to the
sinusoidal input and hence the name LAG network. The phase lag of the compensator is at any
frequency omega is given by:

PROCEDURE:

1. Switch ON the supply.


2. Select the components R1=10K,R2=10K , C=0.22µF.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

3. Make connections on shown in fig.4.a. network.


4. Repeat step 4 to step 11 of Experiment No.1.
5. Perform the Experiment without Load and with Load, without amplifier and with amplifier. Note
down the readings in he Tabular column and observe the result.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

PROCEDURE:
1. Switch ON the supply.
2. Select the components R1 = 10K, R2 = 10K, and C1 = 0.22μF and C2 = 0.22μF.
3. Make connections on shown in fig.5.a. So as to form a Lead Lag Compensator network.
4. Repeat step 4 to step 11 of Experiment No.1.
5. Perform the Experiment without Load and with Load, without amplifier and with amplifier.
Note down the readings in the Tabular column and observe the result.

RESULT: The performance characteristics of lag, lead and lead-lag compensator are studied.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

EXPERIMENT 11

SIMULATION OF P, PI, PID CONTROLLER


AIM:

To control the closed loop system using PID controller

APPARATUS:
Software: NGSPICE

THEORY:

PID controllers are commercially successful and widely used as controllers in industries. For
example, in a typical paper mill there may be about 1500 controllers and out of these 90 percent
would be PID controllers. The PID controller consists of a proportional mode, an Integral mode
and a Derivative mode. The first letters of these modes make up the name PID controller.

Depending upon the application one or more combinations of these modes are used. For example,
in a liquid control system where we want zero steady state error, a PI controller can be
used and in a temperature control system where zero stead state error is not specified, a simple P
controller can be used.

The equation of a PID controller in time-domain is given by

Where is the proportional gain, is the integral reset time and is the derivative time of the
PID controller, m(t) is the output of the controller and e(t) is the error signal given by e(t)=r(t)-
c(t).
The controller used here is a PID controller represented by a block PID and the system or plant is
represented by G(s). R(s) and D(s) are reference signal and disturbance signal respectively.
Y(s),E(s) and M(s) are the output, error and controller output of the system respectively.

For purpose of good control, we require the system output Y(s) to track any reference signal F(s)
and at the same time reject or suppress deviation due to the disturbance signal D(s). Hence the
PID controller can realize this objective.

Proportional controller:
A proportional controller has a proportional term alone. The output of a proportional controller is

proportional to the error e(t) . The equation representing the proportional controller in time
domain is
M(t) =

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

MATLAB PROGRAM:

num=input('enter the numerator of the transfer function')


den=input('enter the denominator of the transfer function')
h=tf(num,den)
[gm pm wcp wcg]=margin(h)
km=10*(gm/20)
wm=wcp
kp=0.6*km
ki=(kp*wm)/pi
kd=(kp*ki)/(4*wm)
h1=tf([1,0],[1])
g=(kp+(kd*h1)+(ki/h1))*h
bode(g)

PROCEDURE:
Note down the given transfer function.
Sketch the bode plot for the given transfer function by Factor the transfer function into
pole-zero form.
Find the frequency response from the Transfer function.
Use logarithms to separate the frequency response into a sum of decibel terms

Use w=0 to find the starting magnitude.


The locations of every pole and every zero are called break points. At a zero breakpoint,
the Slope of the line increases by 20dB/Decade. At a pole, the slope of the line decreases
by 20dB/Decade.
At a zero breakpoint, the value of the actual graph differs from the value of the starightline
graph by 3dB. A zero is +3dB over the straight line, and a pole is -3dB below the
straight line.
Sketch the actual bode plot as a smooth-curve that follows the straight lines of the
previous point, and travels through the breakpoints
If A is positive, start your graph (with zero slopes) at 0 degrees. If A is negative, start
your graph with zero slope at 180 degrees (or -180 degrees, they are the same thing).
For every zero, slope the line up at 45 degrees per decade when w= (1 decade before
the Break frequency). Multiple zeros means the slope is steeper
For every pole, slope the line down at 45 degrees per decade when w = (1 decade

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

before the break frequency). Multiple poles means the slope is steeper.
Find out the gain margin, phase margin, wcp and wcg

From those calculate km,wm,kp,ki,kd


Already transfer function h1 is given. Now find out the transfer function g and sketch
bode plot for g by repeating steps.
EXAMPLE:

THEORITICAL CALCULATIONS:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

THEORITICAL CALCULATIONS:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

RESULT:

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

EXPERIMENT-12
STABILITY ANALYSIS (ROOT LOCUS, BODE PLOT AND NYQUIST PLOT) USING
OCTAVE

AIM:

To plot the Root locus for the given transfer function and verify it using OCTAVE.

k ( s  1)
G ( s) 
s( s  1)( s 2  2s  5)

APPARATUS:

PC with OCTAVE software

THEORY (ROOT LOCUS):

In control theory, the root locus is the locus of the poles and zeros of a transfer function as
the system gain K is varied on some interval. The root locus is a useful tool for analyzing single
input single output (SISO) linear dynamic systems. A system is stable if all of its poles are in the
left-hand side of the s-plane (for continuous systems) or inside the unit circle of the z-plane (for
discrete systems).

In addition to determining the stability of the system, the root locus can be used to identify
the damping ratio and natural frequency of a system. Where lines of constant damping ratio can be
drawn radially from the origin and lines of constant natural frequency can be drawn as arcs whose
center points coincide with the origin. By selecting a point along the root locus that coincides with
a desired damping ratio and natural frequency a gain can be calculated and implemented in the
controller.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

Suppose there is a motor with a transfer function expression P(s), and a controller with
both an adjustable gain K and a transfer function expression C(s). A unity feedback loop is

constructed to complete this feedback system. For this system, the overall transfer function
is given by

Thus the closed-loop poles (roots of the characteristic equation) of the transfer function are
the solutions to the equation 1+ KC(s).P(s) = 0. The principal feature of this equation is that roots
may be found wherever KCP = -1. The variability of K (that's the gain you can choose for the
controller) removes amplitude from the equation, meaning the complex valued evaluation of the
polynomial in s K(s).C(s) needs to have net phase of 180 deg, wherever there is a closed loop
pole. We are solving a root cracking problem using angles alone! So there is no computation per-
se, only geometry. The geometrical construction adds angle contributions from the vectors
extending from each of the poles of KC to a prospective closed loop root (pole) and subtracts the
angle contributions from similar vectors extending from the zeros, requiring the sum be 180. The
vector formulation arises from the fact that each polynomial term in the factored CP, (s-a) for
example, represents the vector from which is one of the roots, to s which is the prospective closed
loop pole we are seeking. Thus the entire polynomial is the product of these terms, and according
to vector mathematics the angles add (or subtract, for terms in the denominator) and lengths
multiply (or divide). So to test a point for inclusion on the root locus, all you do is add the angles
to all the open loop poles and zeros. Indeed a form of protractor, the "spirule" was once used to
draw exact root loci.

From the function T(s), we can also see that the zeros of the open loop system (CP) are
also the zeros of the closed loop system. It is important to note that the root locus only gives the
location of closed loop poles as the gain K is varied, given the open loop transfer function. The
zeros of a system cannot be moved.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

Using a few basic rules, the root locus method can plot the overall shape of the path
(locus) traversed by roots as the value of K varies. The plot of the root locus then gives an idea of
the stability and dynamics of this feedback system for different values of k.

Roots of the transfer function move on the s-plane tracing a particular path when gain is
changed from 0 to . This path is called root locus.

Open loop transfer function = G (s )

G( s)
Closed loop transfer function =
(1  G ( s) H ( s))

The characteristic equation is 1  G ( s ) H ( s ) = 0

 G ( s) H ( s)  1

To make above equation true, G( s) H ( s)  1800 (2k  1) ------(1)

| G ( s ) H ( s ) | 1 ------(2)

A plot satisfying (1) and (2) is the root locus. The constant part in G ( s ) H ( s ) is called the “Gain”.

ROOT LOCUS PLOT USING OCTAVE

num
The characteristic equation can be written as 1  k 0.
den

The command rlocus (num, den) gives the root locus plot.

If the system is defined in state space, root locus is obtained by the command

rlocus (A, B, C, D).

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

THEORETICAL CALCULATIONS:

(-to be done by the student-)

PROCEDURE:
1. Switch on Computer with Linux operating systems.
2. Go to the search panel and search for qtoctave.
3. Click on the qtocatve .
3. Open Edit window to write the program.
4. After completion of program, save it and press on run (blue icon).
5. Observe the output results.
6. Compare with theoretical values.

PROGRAM:

num=[1 1];

den=[1 4 9 0 0];

sys=tf(num,den);

rlocus(sys)

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

OUTPUT:

The Root locus for the given transfer function has been obtained and verified it by using
OCTAVE.

EXPERIMENT-2: BODE PLOT USING OCTAVE

AIM:

To obtain the Bode Plot for the given transfer function and to verify it using OCTAVE.

50( s  2)
G( s) 
( s  1)( s  3)( s  4)

APPARATUS:

PC with OCTAVE software

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

THEORY:

A Bode magnitude plot is a graph of log magnitude versus frequency, plotted with a log-
frequency axis, to show the transfer function or frequency response of a linear, time-invariant
system.

The Bode plot is named after Hendrik Wade Bode. It is usually a combination of a Bode
magnitude plot and Bode phase plot

The magnitude axis of the Bode plot is usually expressed as decibels, that is, 20 times the
common logarithm of the amplitude gain. With the magnitude gain being logarithmic, Bode plots
make multiplication of magnitudes a simple matter of adding distances on the graph (in decibels),
since

A Bode phase plot is a graph of phase versus frequency, also plotted on a log-frequency
axis, usually used in conjunction with the magnitude plot, to evaluate how much a frequency will

be phase-shifted. For example a signal described by: Asin(ωt) may be attenuated but also
phase-shifted. If the system attenuates it by a factor x and phase shifts it by −Φ the signal out of
the system will be (A/x) sin(ωt − Φ). The phase shift Φ is generally a function of frequency.

Phase can also be added directly from the graphical values, a fact that is mathematically
clear when phase is seen as the imaginary part of the complex logarithm of a complex gain.

BODE PLOT USING OCTAVE:

A stable linear system subjected to a sinusoidal input gives sinusoidal output of the same
frequency after steady state conditions are reached. However, the magnitude and phase angle
change. The output magnitude and phase depends on the input frequency. Bode plot give this
relation in a graphical way. It can be proved that if ‘s’ is replaced by ‘jw’, the transfer function
gives steady state response to sinusoidal inputs where w is the angular frequency. The command
bode (num, den) produces the bode plot.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

The command (mag, phase, w) =bode (num, den, w) can be used for specified frequency points
contained in w-vector. Result is stored in magnitude and phase matrices. The command mag
dB=20*log (mag) produces magnitude in dB.

The command log space (d1, d2) generates 50 points between 10d1 and 10d2, w=log space
(1, 2) generates 50 points between 10 -1 and 102 i.e., and 100 rad/sec. but if we have to generate
100 points use the command, w=log space (-1, 2, 100).

50( s  2)
G( s) 
( s  1)( s  3)( s  4)

THEORETICAL CALCULATIONS:

(- to be done by the student-)

PROCEDURE:
1. Switch on Computer with Linux operating systems.
2. Go to the search panel and search for qtoctave.
3. Click on the qtocatve .
3. Open Edit window to write the program.
4. After completion of program, save it and press on run (blue icon).
5. Observe the output results.
6. Compare with theoretical values.

PROGRAM:

num=[50 100];

den=[1 8 19 12];

sys=tf(num,den);

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

bode(sys)

[gm pm wcp wcg]=margin(sys)

disp('phase cross over frequency is :\n');

disp('gain cross over frequency is :\n');

disp('phase margin in degrees is :\n');

disp('gain margin in db is :\n');

GM=20*log10(gm)

if(wcg<wcp)

disp('closed loop system is stable')

elseif(wcg>wcp)

disp('closed loop system is unstable')

else

disp('close loop system is marginally stable')

end

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

OUTPUT: The Bode plot for the given transfer function has been obtained and verified it by
using OCTAVE.

EXPERIMENT-3: NYQUIST PLOT USING OCTAVE

AIM:

To obtain the Bode Plot for the given transfer function and to verify it using OCTAVE.

50( s  2)
G( s) 
( s  1)( s  3)( s  4)

APPARATUS:

PC with OCTAVE software

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

THEORY:

Nyquist Plots were invented by Nyquist - who worked at Bell Laboratories, the premiere technical
organization in the U.S. at the time. He was interested in designing telephone amplifiers to be
placed in ocean-floor cables. In those days, between the first and second world wars, undersea
cables were the only reliable means of intercontinental communication.

Undersea telephone cables needed to be reliable, and to have a constant gain that did not
change as the amplifier aged. In those days, electronic amplifiers were constructed with tubes,
and tubes had gains that could change dramatically as they aged.

The solution to the aging problem was to design feedback amplifiers. However, those
amplifiers could become unstable. One morning - going to work on the Staten Island ferry, before
the Verrazano Narrows Bridge - Nyquist had an inspiration, and wrote his work, literally, on the
back of an envelope as he rode. Today, millions of control system students are tortured by
instructors making them apply the Nyquist Stability criterion, and it is widely used in control
system design.

Nyquist plots are used to analyze system properties including gain margin, phase margin, and
stability.
nyquist(sys) creates a Nyquist plot of a dynamic system sys. This model can be continuous or
discrete, and SISO or MIMO. In the MIMO case, nyquist produces an array of Nyquist plots,
each plot showing the response of one particular I/O channel. The frequency points are chosen
automatically based on the system poles and zeros.
nyquist(sys,w) explicitly specifies the frequency range or frequency points to be used for the
plot. To focus on a particular frequency interval, set w = {wmin, wmax}. To use particular
frequency points, set w to the vector of desired frequencies. Use logspace to generate
logarithmically spaced frequency vectors. Frequencies must be in rad/Time Unit, where Time
Unit is the time units of the input dynamic system, specified in Time Unit property of sys.

THEORETICAL CALCULATIONS:

(- to be done by the student-)

PROCEDURE:

1. Switch on Computer with Linux operating systems.


2. Go to the search panel and search for qtoctave.
3. Click on the qtocatve .
3. Open Edit window to write the program.
4. After completion of program, save it and press on run (blue icon).

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

5. Observe the output results.


6. Compare with theoretical values.

PROGRAM:
num=[50 100];

den=[1 8 19 12];

sys=tf(num,den);

nyquist(sys)

[gm pm wcp wcg]=margin(sys)

if(wcp>wcg)

disp('system is stable')

else

disp('system is unstable')

end

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

OUTPUT: The Nyquist plot for the given transfer function has been obtained and verified it by
using OCTAVE

RESULT:

For the given transfer function, root locus plot, bode plot and Nyquist plot are drawn and
verified by using OCTAVE.

VIVA VOCE QUESTIONS:

1. Define root locus plot.


2. Give the advantages of root locus.
3. Is root locus plot drawn on open loop or closed loop system?
4. Give the advantages of bode plot and Nyquist plot.
5. Define gain cross over frequency.
6. Define phase cross over frequency.
7. Define gain margin and phase margin.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

EXPERIMENT-13

CONVERSION OF TRANSFER FUNCTIONS TO STATE SPACE MODEL

AIM:

To obtain the state space model from the given transfer function and verify it using
OCTAVE.

s 2  3s  3
T ( s)  3
s  2s 2  3s  1

THEORY:

In control engineering, a state space representation is a mathematical model of a physical


system as a set of input, output and state variables related by first-order differential equations. To
abstract from the number of inputs, outputs and states, the variables are expressed as vectors and
the differential and algebraic equations are written in matrix form (the last one can be done when
the dynamical system is linear and time invariant).

The state space representation (also known as the "time-domain approach") provides a
convenient and compact way to model and analyze systems with multiple inputs and outputs.
With p inputs and q outputs, we would otherwise have to write down Laplace transforms to
encode all the information about a system. Unlike the frequency domain approach, the use of the
state space representation is not limited to systems with linear components and zero initial
conditions. "State space" refers to the space whose axes are the state variables. The state of the
system can be represented as a vector within that space.

The internal state variables are the smallest possible subset of system variables that can
represent the entire state of the system at any given time. State variables must be linearly
independent; a state variable cannot be a linear combination of other state variables. The
minimum number of state variables required to represent a given system, n, is usually equal to the
order of the system's defining differential equation. If the system is represented in transfer
function form, the minimum number of state variables is equal to the order of the transfer
function's denominator after it has been reduced to a proper fraction. It is important to

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

understand that converting a state space realization to a transfer function form may lose
some internal information about the system, and may provide a description of a system which is
stable, when the state-space realization is unstable at certain points. In electric circuits, the number
of state variables is often, though not always, the same as the number of energy storage elements
in the circuit such as capacitors and inductors.

THEORITICAL CALCULATIONS:

(-to be done by the student-)

PROCEDURE:
1. Switch on Computer with Linux operating systems.
2. Go to the search panel and search for qtoctave.
3. Click on the qtocatve .
3. Open Edit window to write the program.
4. After completion of program, save it and press on run (blue icon).
5. Observe the output results.
6. Compare with theoretical values.

PROGRAM:

NUM = [1 3 3]

DEN = [1 2 3 1]

[A, B, C, D] = TF2SS(NUM, DEN)

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

OUTPUT:

-2 -3 -1 1

A= 1 0 0 B= 0 C=1 3 3 D=0

0 1 0 0

EXPERIMENT-2:

CONVERSION OF STATE SPACE MODEL TO TRANSFER FUNCTION

AIM:

To obtain the transfer function for the given state space model and verify it using
OCTAVE.

-2 1 0 1

A= -3 0 1 B= 3 C=1 0 0 D=0

-1 0 0 3

THEORETICAL CALCULATIONS:

(- to be done by the student -)

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

PROCEDURE:

1. Switch on Computer with Linux operating systems.


2. Go to the search panel and search for qtoctave.
3. Click on the qtocatve .
3. Open Edit window to write the program.
4. After completion of program, save it and press on run (blue icon).
5. Observe the output results.
6. Compare with theoretical values

PROGRAM:

A = [-2 1 0; -3 0 1; -1 0 0]

B = [1; 3; 3]

C = [1 0 0]

D = [0]

[NUM, DEN] = SS2TF (A, B, C, D)

OUTPUT:

The transfer function is

s 2  3s  3
T ( s) 
s 3  2s 2  3s  1

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

RESULT:

The state space model of the given transfer function has been verified using OCTAVE and also
verified for transfer function the given state space model using OCTAVE.

VIVA VOCE QUESTIONS:

1. What do you understand by state space model?


2. Explain the advantages of state space model over transfer function approach.
3. Give the formula for transfer function in state space model.
4. What do mean by state vector?

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

EXPERIMENT-14

DESIGN OF LEAD-LAG COMPENSATOR FOR THE GIVEN SYSTEM


AND WITH SPECIFICATION USING SUITABLE SOFTWARE

AIM:

To design lag-lead compensator using closed loop system.

APPARATUS:

Software: NGSPICE

THEORY:

A lead–lag compensator is a component in a control system that improves an undesirable


frequency response in a feedback and control system. It is a fundamental building block in
classical control theory.

lagts delays a financial time series object by a specified time step. newfts = lagts(oldfts) delays the
data series in oldfts by one time series date entry and returns the result in the object newfts. The
end will be padded with zeros, by default.

newfts = lagts(oldfts, lagperiod) shifts time series values to the right on an increasing time scale.
lagts delays the data series to happen at a later time. lagperiod is the number of lag periods
expressed in the frequency of the time series object oldfts. For example, if oldfts is a daily time
series, lagperiod is specified in days. lagts pads the data with zeros (default).

newfts = lagts(oldfts, lagperiod, padmode) lets you pad the data with an arbitrary value, NaN, or
Inf rather than zeros by setting padmode to the desired value.

leadts advances a financial time series object by a specified time step. newfts = leadts(oldfts)
advances the data series in oldfts by one time series date entry and returns the result in the object
newfts. The end will be padded with zeros, by default.

newfts = leadts(oldfts, leadperiod) shifts time series values to the left on an increasing time scale.
leadts advances the data series to happen at an earlier time. leadperiod is the number of lead
periods expressed in the frequency of the time series object oldfts. For example, if oldfts is a
daily time series, leadperiod is specified in days. leadts pads the data with zeros (default).

newfts = leadts(oldfts, leadperiod, padmode) lets you pad the data with an arbitrary value, NaN,
or Inf rather than zeros by setting padmode to the desired value.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

PROGRAAM:

num=input('enter the numerator')


den=input('enter the denominator')
h=tf(num,den)
kv=input('enter velocity error')
phm=input('enter the phase margin')
h1=tf([1 0],[1])
m=dcgain(h1*h)
k=kv/m
g=k*h
[mag phase w]=bode(g)
[gm pm wcg wcp]=margin(g)
e=input('enter margin of safety')
bode(g)
theta=phm+e;
bm=theta-180;
wcm=('enter wcm corresponding to bm')
a=input('enter gain corresponding to wcm')
beta=10^(a/20)
w21g=wcm/4
tou=1/w21g
w11g=1/(beta*tou)
g1=(h1+w21g)/(h1+w11g)
theta1d=theta1d*(pi/180);
alpha=(1-sin(theta1d)/(1+sin(theta1d)))
a=-20*log10(1/sqrt(alpha))
wcm1d=input('enter the value of wcmld corresponding to gain a1')
w11d=wcm1d*sqrt(alpha)
w21d=wcm1d/sqrt(alpha)
g3=tf([1/w11d1],[1/w21d 1])
g4=g3*g1*g
[mag3 phase3 w3]=bode(g2)
bode(g)
hold
bode(g4)

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

PROCEDURE:

Numerator of the given transfer function is assigned to num


Denominator of the transfer function is assigned to den
The value of the static velocity constant is assigned to the kv
Margin of the safty is assigned to e
Plot is obtained by in-build function bode()
Wcm values assigned to wcm which is obtained from above bode plot
The gain corresponding to wcm is assigned to a
If wcg1>wcg orr wcp1>wcp, the network is compensated otherwise it is not
compensated.

ELECTRICAL AND ELECTRONICS ENGINEERING


CONTROL SYSTEMS

ELECTRICAL AND ELECTRONICS ENGINEERING

You might also like