LCS 1st Lab Manual
LCS 1st Lab Manual
LCS 1st Lab Manual
1
Experiment 1
Modeling of first order systems and
response analysis
Objectives
The objective of this lab is to grasp the important role of mathematical
models of physical systems in the design and analysis of control systems. We
will learn how MATLAB helps in solving such models.
Introduction
The system whose input-output equation is a first order differential equation
is called first order system. First order systems are mass-less systems, which
means that they do not exhibit the property of inertia. First order systems
by themselves do not overshoot or oscillate. Example of fist order system
include
RC or RL electrical network
Thermometer
Radioactive decay
Mixing process
Pressure system
2
Figure 1.1: Step response consisting of transient and steady state response
Let the the output of the system is y(t) related to the input r(t) by a
differential equation of the form
dy
+ ay = br (1.1)
dt
Where the input term forms the driving function of the equation, a and b
are the constants of the equation.
Laplace transforming the Eq.1.1, we have
sY (s) − y(0−) + aY (s) = bR(s)
bR(s) y(0−)
Y (s) = +
|s {z
+ a} |s {z
+ a}
Zero−state−component Zero−input−component
Y (s) b
G(s) = = (1.2)
R(s) s+a
where a and b in Eq. 1.2 are the system parameters which depends on
the physical characteristics of the system under consideration. In standard
form, first order system is given by the transfer function:
k
G(s) = (1.3)
τs + 1
where K is the steady state value or gain and τ is the system time con-
stant. Expressing equation 1.2 in standard form, we can obtain relationship
3
between the system parameters a and b, and the standard first order system
parameters, K and τ :
b
k=
a
1
τ=
a
For a step input r(t) = u(t) or we can say R(s) = 1/s, output becomes
as following
b
Y (s) = (1.4)
s(s + a)
Taking the inverse Laplace transform of Eq. 1.4 and assuming b = a, the
step response is given by
Time Constant
It can be described as the time for e−at to decay to 37% of its initial value.
Referring to Eq. 1.6 it can also be defines as the time taken by the step
response to rise to 63% of its final value as shown in Fig. 1.2. Hence l/a is
the time constant of the step response. The reciprocal of the time constant
a has units of (1/s) or frequency. Thus we can call the parameter a is the
exponential frequency
Since the derivative of e−at is —a when t = 0, a is the initial rate of change
of the exponential at t = 0. Thus, the time constant can be considered as
transient response specification for a first order system, since it is related to
the speed at which the system responds to a step input.
4
Figure 1.2: First-order system
Rise Time, Tr
Rise time is defined as the time for the waveform to go from 10% to 90% of
its final value.
Settling Time, Ts
Settling time is defined as the time for the response to reach, and stay within,
2% of its final value.
5
Lab Tasks
1. For a series RC circuit with E(t) as a DC source applied to this circuit
6
2. Construct a first order transfer function in Matlab, i.e.,
K/τ
G(s) =
s + 1/τ
Take your Roll number as the value of both k and τ and obtain
the step response.
Now apply ramp as an input to the same system and see what
happens?
Why it is not following the ramp exactly?
Apply sinusoid as an input and observe the response
7
Figure 1.3: The DC Motor Speed Control Block Diagram
8
Present the MATLAB Codes with plots in the respective spaces
given below
Determine the Step Response Performance parameters in the table
1.1
9
Provide performance analysis report (minimum 50 words)
10
Determine the Step Response Performance parameters in the table
1.2
11
Repeat the step response analysis with ONLY the motor field
inductance is reduced to Your Roll No (mH)
Show the system Step response plots for all three cases (Half of
Roll No(mH), Roll No(mH), and Double of Roll No(mH), ) on
same graph or use sub-plots for comparative view: Present the
MATLAB Codes with plots in the respective spaces given below
by indicating values of L in title of step response.
12
Determine the Step Response Performance parameters in the table
1.3
Complete the following table 1.4 to present the effect of the system
parameter changes on both the first order standard parameters
and step response performance
Sr. No. System parameters Effect on K and τ Effect on speed & steady state accuracy
1 R
2 L
Table 1.4: System parameter changes on 1st order system standard parame-
ters
13
Conclusion
Student’s Comments
Lesson Learnt
14