Topic 2. Matemethical Modelling of Control Systems V1
Topic 2. Matemethical Modelling of Control Systems V1
The dynamics of many systems, whether they are mechanical, electrical, thermal, economic, biological, and so
on, may be described in terms of differential equations (ordinary differential equations if the system is related
with only one variable and partial equations for multivariable).
For practical purposes we assume that the principle of causality applies to the systems considered. This
means that the current output of the system (the output at time 𝒕 = 𝟎) depends on the past input (the input
for 𝒕 < 𝟎 or initial conditions) but does not depend on the future input (the input for 𝒕 > 𝟎 future conditions).
NOTE: To perform reasonable mathematical models is the most important part of the entire analysis of control systems.
2
Some terms and definitions
• Mathematical Models. Mathematical models may assume many different forms. Depending on the particular
system and the particular circumstances, one mathematical model may be better suited than other models. For
example, in optimal control problems, it is advantageous to use state-space representations and in another
cases transfer functions could be more convenient to use. Once a mathematical model of a system is obtained,
various analytical and computer tools can be used for analysis and synthesis purpose
• Simplicity Versus Accuracy. In obtaining a mathematical model, we must make a compromise between the
simplicity of the model and the accuracy of the results of the analysis. In general, in solving a new problem, it
is desirable to build a simplified model so that we can get a general feeling for the solution. A more complete
mathematical model with disturbances effects may then be built and used for a more accurate analysis.
• Linear Systems. A system is called linear if the principle of superposition applies. The principle of
superposition states that the response produced by the simultaneous application of two different forcing
functions is the sum of the two individual responses. In differential equations if the coefficients are constants
the systems are called LTI (Linear-Time-Invariant) systems. When de coefficients are functions of the
dependent variable are called Linear-Time-Variant systems.
3
Transfer Function and properties
The transfer function of a LTI (linear, time-invariant) system, differential equation system is defined as the ratio
of the Laplace transform of the output (response function) to the Laplace transform of the input (driving function)
under the assumption that all initial conditions are zero. In the next equations are given this mathematical
definition for a nth-order , where 𝑦 is the output of the system and 𝑥 is the input.
It follows that the output 𝒀(𝒔) can be written as the product of 𝑮(𝒔) and 𝑿(𝒔), or
𝑌 𝑠 =𝐺 𝑠 𝑋 𝑠
Then, to obtain the response of 𝒀 𝒔 in the time 𝒚 𝒕 , is used the convolution integral in time domain, so the
inverse Laplace transform is given by the following convolution integral, where both 𝒈(𝒕) and 𝒙(𝒕) are 0 for 𝒕 < 𝟎.
𝑡 𝑡
𝑦 𝑡 = න 𝑥 𝜏 𝑔 𝑡 − 𝜏 𝑑𝜏 = න 𝑔 𝜏 𝑥 𝑡 − 𝜏 𝑑𝜏
0 0
5
Impulse Response
Consider the output (response) of a LTI system to a unit-impulse input 𝜹 𝒕 when the initial conditions are zero.
Since the Laplace transform of the unit-impulse function is unity (𝑳 𝜹 𝒕 = 𝟏), the Laplace transform of the
output of the system is:
𝑌 𝑠 =𝐺 𝑠
Thus, the inverse Laplace transform of the output given by equation gives the impulse response of the system.
The inverse Laplace transform of 𝑮(𝒔), or
This expression is called the impulse-response function. This function 𝒈(𝒕) is also called the weighting function of
the system. The impulse-response function 𝒈(𝒕) is thus the response of a linear time-invariant system to a unit-
impulse input when the initial conditions are zero. It is observed that the Laplace transform of this function gives
the transfer function definition. Therefore, the transfer function and impulse-response function of a linear, time-
invariant system contain the same information about the dynamic of the system.
6
Automated Control Systems
A control system may consist of a number of components. To show the functions performed by each component,
in control engineering, we commonly use a diagram called the block diagram.
A block diagram of a system is a pictorial representation of the functions performed by each component and of
the flow of signals. In a block diagram all system variables are linked to each other through functional blocks. The
functional block or simply block is a symbol for the mathematical operation on the input signal to the block that
produces the output.
´
Input Output
The transfer functions of the components are usually entered in the corresponding blocks, which are connected by
arrows to indicate the direction of the flow of signals.
NOTE: It should be noted that in a block diagram the main source of energy is not explicitly shown and that the
block diagram of a given system is not unique. A number of different block diagrams can be drawn for a system
depending the complexity of the modelling.
7
Automated Control Systems
Two important elements in the block diagram analysis of one
system are the next elements.
To observe the use of these elements, in the Figure are shown Note that if the output of the system 𝑪 𝒔 is
the components in one close-loop system. In this case, the equal to the reference value 𝑹 𝒔 , the error
output of the system is 𝑪 𝒔 and the reference or desired 𝑬 𝒔 is equal to 0. In other words the output
value of the output is 𝑹 𝒔 . The output 𝑪 𝒔 is compared with variable has been controlled.
the reference 𝑹 𝒔 to obtain the error 𝑬 𝒔 that enter to the
transfer fucntion 𝑮 𝒔 to make the control of the output. 8
Automated Control Systems
In the block diagram of one system, is often observed the next
three configurations of blocks called basic configuration blocks
that perform one equivalent transfer function 𝐺 𝑠 that is
obtained for the algebratic multiplication of the inputs and the 𝑪 𝒔
𝑮 𝒔 = = 𝑮𝟏 𝒔 𝑮𝟐 𝒔
addition (or rest) in the summing points. 𝑹 𝒔
NOTE: When the block is not present and the row is direct, the 𝑪 𝒔 𝑮𝟏 𝒔
𝑮 𝒔 = =
function have a value of 1 (transform of an unit impulse). 𝑹 𝒔 𝟏 + 𝑮𝟏 𝒔 𝑮𝟐 𝒔 9
Classification of Industrial Controls
Some of the most usefull type of controllers for the industrial
applications are listed below.
What kind of controller to use must be decided based on the nature of the
plant and the operating conditions, including such considerations as safety,
cost, availability, reliability, accuracy, weight, and size. 10
ON/OFF controllers
In a two-position control system, the actuating element has only two 𝑈1 𝑒 𝑡 >1
𝑢 𝑡 =ቊ
fixed positions, which are, in many cases, simply on and off. Two- 𝑈2 𝑒 𝑡 <0
position or on–off control is relatively simple and inexpensive and, for
this reason, is very widely used in control systems.
Lets consider that the output signal 𝒖 𝒕 from the controller have only
two values 𝑼𝟏 y 𝑼𝟐 (𝑼𝟐 is usually 0 or off for some practical cases, not
always). The output selection is defined by the error signal 𝒆 𝒕 , so when
the difference is positive the value of the output 𝒖 𝒕 = 𝑼𝟏 and when is
negative 𝒖 𝒕 = 𝑼𝟐 .
There are some technics like time delay or the use of a second point of
control to define a differential gap to retard the switching on-off of the
control output, protect the system and compensate the effects of the
disturbances. When the gap is 0, it could be expected a very quick
switching in the output control. In the figure is observed the effect of the
gap in a control level 𝒉 𝒕 in a tank, where the differential gap permit a
decay from the reference control position to alternate the switching.
11
Proportional controllers
For a controller with proportional control action, the relationship between the output of the controller 𝒖 𝒕 and
the actuating error signal 𝒆 𝒕 is defined by the next expressio, where 𝑲𝒑 is the proportional constant or gain:
𝑈 𝑠
𝑢 𝑡 = 𝐾𝑝 𝑒 𝑡 → 𝐺 𝑠 = = 𝐾𝑝
𝐸 𝑠
Whatever the actual mechanism may be and whatever the form of the operating power, the proportional
controller is essentially an amplifier with an adjustable gain.
12
Summary
The kind of control system will depend for the requirements or variables to be controlled and the information
of the system, where the Engineer point of view is very important in the decision.
• Classical Control Theory. Input and Output model of one system or Plant.
• Modern Control Theory. Time-domain state Space of one system.
• Robust Control Theory. Robust system considering external noise and perturbation
• Adaptive Control Theory. Numerical methods or AI is applied to modify the parameters of the basic model
of one systems.
NOTE: The manual or automated control could be with or without feedback, it will depend for the used
variables to define the control. Remember that if it is used the time as reference of control, it could be
considered open-loop control. The closed loop control or feedback control requires the same nature of the
outputs to be compared with one reference in the system.
13