Professional Documents
Culture Documents
Feedback Control Systems: Complex Engineering Problem
Feedback Control Systems: Complex Engineering Problem
AIM
To model the feedback control system of a DC motor.
OBJECTIVES
1. Identify physical parameters.
2. Find the transfer function of the system.
3. Plot different responses using a control parameter.
4. Apply Routh criteria and find the range of stability for motor speed control.
5. Plot root locus.
Background
A common actuator in control systems is the DC motor. It directly provides rotary motion and,
coupled with wheels or drums and cables, can provide translational motion. The electric
equivalent circuit of the armature and the free-body diagram of the rotor are shown in the
following figure.
We will assume that the input of the system is the voltage source (V) applied to the motor's
armature, while the output is the rotational speed of the shaft . The rotor and shaft are assumed
to be rigid. We further assume a viscous friction model, that is, the friction torque is proportional
to shaft angular velocity.
Transfer Function:
Applying the Laplace transform, the modeling equations can be expressed in terms of the
Laplace variable s. We then arrive at our transfer function where the rotational speed is
considered the output and the armature voltage is considered the input
.
METHODOLOGY
First we have designed a hardware to measure the dc motor rpm and print it directly onto
the computer.
Then we upload the rpm readings into MS excel then import to MATLAB to begin our
system modelling and analysis.
Components:
Arduino UNO.
DC motor 9V and disc.
9V battery.
Encoder (FC-03): IR speed sensor module with the comparator LM393. We can
calculate the speed of rotation of the motor if we place a ring gear that rotates attached to
our wheel.
The basic operation of this sensor is as follows; If anything is passed between the sensor
slot, it creates a digital pulse on the D0 pin. This pulse goes from 0V to 5V and is a
digital TTL signal. Then with Arduino we can read this pulse.
Page | 2
Feedback Control Systems Complex Engineering Problem
NED University of Engineering and Technology Department of Electrical Engineering
Circuit Diagram:
Page | 3
Feedback Control Systems Complex Engineering Problem
NED University of Engineering and Technology Department of Electrical Engineering
Arduino Code:
1 120 18 2280
2 480
19 2400
3 600
4 720 20 2220
5 800 21 2820
6 1380 22 2820
7 1620 23 3180
8 1740
9 2160
10 2220
11 2240
12 2700
13 2820
14 2820
15 2820
16 2820
17 1680
Page | 4
Feedback Control Systems Complex Engineering Problem
NED University of Engineering and Technology Department of Electrical Engineering
RESULTS:
Parameter estimation:
The values of parameters were obtained are shown in the figure below:
Page | 5
Feedback Control Systems Complex Engineering Problem
NED University of Engineering and Technology Department of Electrical Engineering
Transfer Function:
Page | 6
Feedback Control Systems Complex Engineering Problem
NED University of Engineering and Technology Department of Electrical Engineering
MATLAB command:
pzmap(P_motor);
The Pole Zero Map obtained shows us that there are no zeroes present in our transfer
functions.
The values of poles are also plotted: poles lie respectively at s = -2.43 and -0.162.
Page | 7
Feedback Control Systems Complex Engineering Problem
NED University of Engineering and Technology Department of Electrical Engineering
for j = 1:rhTableColumn - 1
% first element of upper row
firstElemUpperRow = rhTable(i-1,1);
Page | 8
Feedback Control Systems Complex Engineering Problem
NED University of Engineering and Technology Department of Electrical Engineering
Page | 9
Feedback Control Systems Complex Engineering Problem
NED University of Engineering and Technology Department of Electrical Engineering
Root Locus plots are a very useful way to predict the behavior of a closed loop system as
some parameter of the system (typically a gain) is changed.
As you can see, the locus is symmetric about the real axis.
The open loop transfer function, G(s)H(s), has 2 poles, therefore the locus has 2 branches.
Each branch is displayed in a different color.
Page | 10
Feedback Control Systems Complex Engineering Problem
NED University of Engineering and Technology Department of Electrical Engineering
Bode Plot:
Magnitude plot
Phase plot
In both the plots, x-axis represents angular frequency (logarithmic scale). Whereas, yaxis
represents the magnitude (linear scale) of open loop transfer function in the magnitude plot and
the phase angle (linear scale) of the open loop transfer function in the phase plot.
Page | 11
Feedback Control Systems Complex Engineering Problem
NED University of Engineering and Technology Department of Electrical Engineering
PID Controller:
PID controller consists of three terms, namely proportional, integral and derivative control. The
combined operation of these three controllers gives control strategy for process control. PID
controller manipulates the process variables like pressure, speed, temperature, flow, etc.
As a feedback controller, it delivers the control output at desired levels.
PID controller maintains the output such that there is zero error between process variable
and set point/ desired output by closed loop operations.
Page | 12