Control System Lecture Notes
Control System Lecture Notes
Control system is an arrangement of physical system combined to direct or regulate itself or another system.
Control system is implemented in space shuttle, robotics, industry, aerial or ground vehicle, military machines,
and electronics devices. The main purpose of control system in physical system is to regulate or manipulate
a system dynamic to obtain desired characteristics. The control system is also available by nature such as
balancing, walking, voice regulation of human is a simple example of feedback control systems.
Input of a system is a stimulus or excitation applied by external source to trigger or obtain desired response
from control system. Input of a system is also called setpoint, reference, or desired value.
The purpose of control system is to define desired input-output relation or characteristic of a system. The
control system usually generates desired actuating signal by acting against undesired response. The undesired
response of a system usually caused by noise, disturbance, inherent instability and nonlinear dynamics of a
system to produce desired output. If the input and output of a system is known, the system dynamics can be
estimated.
Control system may be part of larger system and its input-output may be internal variable. In this case the
system under control might be subsystem and a control system might be designed to regulate a subsystem.
In closed loop control system, output of a system under control is feedback to compute its relative deviation
from setpoint/reference/input. Thus, a closed loop control system always has information about a current
state of a system. An open loop control system produces a control action or effort depending input and lack
information about current state of a system. Thus, unlike closed loop control system, a control action of open
loop system is independent of output of a system.
1
Major feature of open loop control system:
Examples:
Autopilot system, Segway controller, humanoid robot are examples of a closed loop system.Closed loop system
consists of a feedback signal so called feedback systemf. Feedback is a system characteristic quantitatively
measured and returned back as the input of control system to generate appropriate control action.
• Increased accuracy
• Tendency to instability
• Reduced sensitivity which is a ratio of change in output and input
• Reduced nonlinearity
• Reduced disturbance
• Increased bandwidth
2
Analog, discrete and digital control systems
The input-output signal of control system is a function of independent variable, usually time, t.
A signal dependent on a continuum of value of independent variable t is called a continuous-time signal, more
generally a continuous-data signal or (less frequently) an analog signal.
A signal depends on a discrete value of independent variable, time-t, is called discrete time. A binary
representation of a discrete time value of a signal is called digital signal.
Mathimatical Modeling
Its a method of finding an anlytical function or equation using physical law that reasonabily represents
system characterstics. Once the system model is found, the model will be used to anayze its input output
charactersitics, stability, robustness etc. Most system commonly can be reasonably well described by
differential equation model. The system described by no derivative involved in it is called zero order system; one
derivative, first order; two derivative, second order.
Any control system has input, system and output. Output is a system response to input signal which is known as
excitation signal.
Laplace Transform
Laplace transfrom is used to simplify the system analysis process which is complex in time domain analysis.
In time domain analysis of a system, response to any input signal is obtained by appling convolution operation
which is tedious and time consuming. However the Laplace transform, frequency domain analysis, change
the convolution in time domain to multiplication in time domain. Thus, the system repsonse anlysis is easier in
frequency domain than time domain.
where,
3
Laplace Theorems
Examples
4
Inverse Laplace transform
Inverse Laplace transform is computed using partial fraction expansion of a given transfer function to get
simplified expression and using properties of Laplace Transform.
Where is input, output, a scale or slope, and b is zero bias or zero crossing point.
Example:
Potentiometer:
The potentiometer can be either linear or rotary type. The linear potentiometers are equiped with slider circuit
and neglecting the dynamics of the friction and motion of slider, its resistance at postion is best
described by equation:
Find the mathimatical model of a system variable voltage divider circuit shown below. Lets take the maximum
angle or rotation of potentiometer is .
5
The voltage read at center tap of potentiometer in the above circuit can be found as follows.
Example-2:
Mechanical system
Figure below shows a mass-damper system. The external force is applied to the system. If the mass is
6
b. determine an impulse input
Gs =
1
-------------
0.5 s^2 + 3 s
Thermal system
A thermometer is immersed in boiling water to measure a temperature. If the convective heat transfer coefficient
is , and specific heat capacity of the water cof the water and mercury is know. Calculate the mathimatical
model of a system.
7
There are two types of convection: natural and forced convection.
Natural convection is produced by density difference in a fluid due to temperature difference. eg. Hot air/liquid
rises
Forced convection is produced when fluid/air mostion is produced by fans or pump. It is more efficient than
natural convection and widely used in many engineering applications.
Eg. A Mericury thermometer has the time constant of 0.2 second is immersed into a boiling water from ambient
temperature of 20 C. What is the temperature indicated by thermometer 1 second after immeresed into water
steam, 100C.
Solution:
8
Tm1s = 100
Initial condition
9
#Timed domain
Elecctrical system
Voltage accross an inductor :
gs =
5e-06 s
------------------------
5e-08 s^2 + 0.0005 s + 1
10
Continuous-time transfer function.
11
Sinusoidal response
Compute the mathimatical model of the above circuit taking the voltage as input and current as the output of the
system.
• Step reponse
• Ramp response
• Sinusoidal response
12
Solution:
gse =
1
-----
s + 7
gsm =
1
-------------
0.001 s + 0.1
gsf =
0.1
-------------------------
0.001 s^2 + 0.107 s + 0.7
gs =
0.1
--------------------------
0.001 s^2 + 0.107 s + 0.71
13
Sinusoidal response of DC Motor
14
DC Motor modeling-2 [Ref: Norman Nise - 11Ed]
Example
Calculate the transfer function model of a non-inverting amplifier given in figure below.
15
Solution:
3.
,
4.
5.
gs =
16
17
Inverse Laplace Transform
18
Eg. Find the a time domain step and ramp response of the system with transfer function model of .
19
Exercise
Find the Transfer function model of the system and its response to standard test signals [Norman Nise - 11 Ed]
Solution:
gs =
3 s + 1
-----------------------
s^4 + 7 s^3 + 5 s^2 + s
20
Continuous-time transfer function.
21
Signal generation
22
gs =
3
-----
s + 3
23
Linearization of Non-linear system
Linearization is a process of representing a non-linear system with a best approximate of linear model in small
interval near equilibrium point.
In most approximate representation of nonlinear system, Taylor series is used to get linear model near
equilibrium point.
Non-inverted Pendulum
Find linearized transfer function model of a nonlinear system given in figure below near equilibrium point,
24
Solution:
gs =
1
----------------
0.05 s^2 + 1.226
25
Characteristics of feedback control system
Feedback system is older than humanity. It is widely available in biological control system built in earliest
inhibitants of our planet.
Open loop system generates control effort independent of a measured feedback signal or output of a system.
Consequently, its performance solely depends on accuracy of its caliberation. However, closed loop system
compute and generate controlling signal or effort based on the deviation of process outputf from input or
reference signal.
A negative feedback system can alter the perfromance characteristics of a process. It is usually designed to
reduce error between desired output or input signal and actual process output.
26
Super position principle can be used to analyze error or uncertainity of a system
Gross output of a process or total response of a plant under control is the sum of all the three output computed
above.
Error signal is a difference between the input signal and output signal of a process.
If the system feedback gain is different from unity, then the corresponding error signal become
27
The total gain over the loop is called lopo gain.
System sensitivity is defined as the ratio of change in the system transfer function to small incremental change
in process transfer function or parameter.
It is also possible to calculate closed loop system sensitivity to a parameter variation in a process,
The output of a system or response of a system is the sum of forced response and natural response.These
responses can be found by solving by differential equation model of a system or by using inverse Laplace
transform. However, these methods are time consuming and complex than qualitative techniques that are
based on understanding of polse and zeros of a system. The concept of poles and zeros, fundamental to the
analysis and design of control systems, simplifies the evaluation of a system’s response.
28
The poles of a transfer function are
1. the values of the Laplace transform variable, s, that cause the transfer function to become in finite or
2. any roots of the denominator of the transfer function that are common to roots of the numerator.
The common routes of numerator and denominators might be cancelled ant no more leads the transfer function
to infinity. However, the cancelled poles are considered as the pole in control system eventhough it doesn't
drive a system to infinity.
1. the values of the Laplace transform variable, s, that cause the transfer function to become zero, or
2. any roots of the numerator of the transfer function that are common to roots of the denominator
A strict definition of zeros of a transfer function is mentioned in 1; however, as long as the cancelled zeros are
considered in control system the second definition is also considered.
Example:
29
• A pole of the input function generates the form of the forced response (that is, the pole at the origin
generated a step function at the output).
• A pole of the transfer function generates the form of the natural response (that is, the pole at -5
generated ).
30
• A pole on the real axis generates an exponential response of the form , where is the pole location
on the real axis. Thus, the farther to the left a pole is on the negative real axis, the faster the exponential
transient response will decay to zero
Common terminologies
Free response or natural response of differential equation is a solution of differential equation for zero input
and non-zero initial condition.
Force response of a differential equation is a solution of a differential equation when all initial condition are set
identically to zero and non-zero input.
Total response of a differential equation is the sum of both free response and forced response of a system.
Steady state response of a system is a part of total response which doesnt approach to infinity as time goest to
infinity.
In control system, a transient response is the response of a system to a change from an equilibrium or a
steady state. The transient response is not necessarily tied to abrupt events but to any event that affects the
equilibrium of the system. The transient response of a system is a part of system response which approaches to
zero as time goes to infinity for stable system.
Singularity functions
Singularity functions are widely used to study system characteristics in control system. Each singularity function
are ether integral or differentiation of another signularity function.The singularity functions are also called
standard test function. They includes: unit impulse, unit step and unit ramp functions.
31
A first order system without zeros is described by the following transfer function.
Transfer function of first order system G(s) in general can described by the followong equation.
Example:
32
Unit step response (u(t))
Creep and recovery of any system is a result of a system limit to trace reference signal.
33
Time constant ( can be described as the time for to decay to 37% of its initial value.
The reciprocal of the time constant has the units (1/seconds), or frequency. Thus, we can call the parameter
a the exponential frequency. Since the derivative of is -a when , a is the initial rate of change of the
exponential at . Thus, the time constant can be considered a transient response specification for a first-
order system, since it is related to the speed at which the system responds to a step input.
The time constant is a reciprocal of poles of a system thus the farther the pole from imaginary axis, the faster
the transient response become.
Rise time, , is a time for a system response go from of its final value. It is obtained by computing a
time difference such that .
Settling time is defined as the time for the response to reach, and stay within, 2% of its final value.
34
Ramp input
35
Inverted Pendulum Problem
36
Mathimatical model
Ts =
1.045e-05 s
2: -----------------------------------------------------
2.3e-06 s^3 + 4.182e-07 s^2 - 7.172e-05 s - 1.025e-05
37
Continuous-time transfer function.
Control system topology of inverted pendulum is different from a common controller as it always tend to set
system output, angle, to zero. Thus the set point of a controller is always set to zero; for this reason, it is
called regulator problem. The input force that cause deviation from the equilibrium position is considered as
disturbance.
The main purpose of the controller in this specific problem is to keep system, pendulum, at equilibrium point
Thus, the system output of our interest is angle of deviation from the equilibrium point and the input
disturbance force. The position of a cart in response to disturbance force exerted on inverted pendulum is plot in
figure below.
Warning: Error occurred while executing the listener callback for event POST_REGION defined for class
matlab.internal.language.RegionEvaluator:
Dot indexing is not supported for variables of this type.
Error in alternateGetframe
Error in matlab.internal.editor.FigureManager
Error in matlab.internal.editor.FigureManager.getCurrentFigurePixels
Error in matlab.internal.editor.FigureManager
Error in matlab.internal.editor.FigureManager
Error in matlab.internal.editor.FigureManager.saveSnapshot
Error in matlab.internal.editor.FigureManager.snapshotAllFigures
Error in matlab.internal.editor.OutputsManager/postRegionCallback
Error in matlab.internal.editor.OutputsManager>@(varargin)obj.postRegionCallback(varargin{:})
38
Error in LiveEditorEvaluationHelperE421203478 (line 307)
kp = 34.8;
Error in matlab.internal.editor.evaluateRegions
Error in matlab.internal.editor.EvaluationOutputsService.evalRegions
The movement of the cart as the pendulum oscillate is uncontrolled as it is not our interest. However, it is
possible to see the movement of a cart to set a pendulum to equilibrium position.
39
Root locus design example
gs =
s
-----
s + 3
grs =
4
-------------
s^2 + 2 s + 4
40