Beruflich Dokumente
Kultur Dokumente
Submitted by:
Amna Sami - F2017019102
Hafsa Kahif - F2017019026
Haleema Shehzad - F2017019085
Submitted to:
Mr. Waseem Iqbal
Supervised by:
Mr. Waseem Iqbal
Advisor
(Mr. Waseem Iqbal)
Signed:
Signed:
Signed:
Abbreviations
Several characteristics of Control System can be linked to human behavior. Control System
can “think” in the sense that they can replace to some extent, human operation. Control System
can distinguish between open-loop and closed-loop Control System and it is a concept or
principle that seems to fundamental in nature and not necessarily peculiar to engineering. In
human social and political organizations, for example, a leader remains the leader only as long
as he or she is successful in realizing the desires of the group. Nowadays everything is
integrated with the control system. In our surrounding there are a lot of applications which are
using the concept of control system. These application includes satellite which is moving around
earth, automatic Gear transmission of the automobiles, automatic temperature control using Air
Condition and many more.
Literature Review
In designing the control system for any application, our task is to meet the desired output
with nominal overshoot, less steady state error and the system stability. All these
information helps to design and chose the best controller for a system. These systems can be
controlled through any controller using open loop or close loop feedback.
Derivation of System’s Transfer
Function
Introduction
In engineering, a transfer function of an electronic or control system component is a
mathematical function which theoretically models the device's output for each possible
input.
Closed-loop System
Closed-loop Control System, also known as a feedback control system is a control system which
uses the concept of an open loop system as its forward path but has one or more
feedback loops hence its output has an effect on system.
For Pitch Control for UFSS
We can easily derive the transfer function of any control system , for open loop we multiply the pitch
gain, vehicle dynamic, heading rise, and elavator actuator blocks by one and another for pitch of
vehicle. And for closed loop we multiply the feedback given (-K2s).
Open Loop
For open loop we will multiply all the factors except the feedback one and that is how we will get
open loop gain of pitch control:
G(s)=[(-K1)(2/s+2)(-0.125(s+0.435))/((s+1.23)(s2+0.226s+0.0169))]
Closed Loop
For closed loop we will multiply the feedback given in the system so we can see what effect the
feedback imposes on system:
After plugging in the values in the feedback formula we obtain the following Transfer Function
of closed loop:
T(s)=[(0.25s+0.1087K1)/(s4+3.456s3+(3.203+0.25K1)s2+(0.719+0.1097K1)s+0.0415]
For Heading Control for UFSS
We can easily derive the transfer function of any control system , for open loop we multiply the pitch
gain, vehicle dynamic, heading rise, and elavator actuator blocks by one and another for pitch of
vehicle. And for closed loop we multiply the feedback given (-K2s).
Open Loop
For open loop we will multiply all the factors except the feedback one and that is how we will get
open loop gain of heading control:
G(s)=[(-K1)(2/s+2)(1/s)(-0.125(s+0.437))/(s+1.29)(s+0.193)]
G(s)=[0.25s2K1+0.1096sK1/(s4+3.48s3+3.2089s2+0.489s+)]
Closed Loop
For closed loop we will multiply the feedback given in the system so we can see what effect the
feedback imposes on system:
Feedback= [G(s)/1+G(s)H(s)]
After plugging in the values in the feedback formula we obtain the following Transfer Function
of closed loop:
T(s)=[(0.25s+0.1087K1)/(s4+3.48s3+(3.2089+0.25K1)s2+(0.489+0.1097K1)s+0.0415]
We have our overshoot 26%, settling time 8, rise time 5 and steady state error 0.02, these are the
given parameters that we are supposed to follow, for pitch and heading.
Hydraulic-Disturbance Wave:
This is the hydraulic disturbance that we are going to apply to a system and will get its output:
PID of Pitch Control:
We have the PID controller attached with pitch control and that is how the output
of it is given:
Pitch disturbance PID
When pitch is attached to PID controller and with that we supply it the hydraulic disturbance
wave and so the out we get is shown in the figure below:
Pitch Disturbance:
Heading PID
We have the PID controller attached with heading control to enhance its stability
and that is how the output of it is given
PID tuned graph of heading with disturbance:
When pitch is attached to PID controller and with that we supply it the hydraulic disturbance
wave and so the out we get is shown in the figure below:
Simulink block diagram
In state space transformation we deal with state variables which tell us a lot about what system
Is doing how it works.
A first-order lead compensator C(s) can be designed using the root locus. A lead compensator in
root locus form is given by:
The magnitude of z0 is less than the magnitude of p0. This results in an improvement in the
system's stability and an increase in its response speed.
By finding the asymptotes of the root locus that lead to the zeros at infinity, the equation to
determine the intersection of the asymptotes along the real axis is the following:
We have our overshoot 26%, settling time 4, rise time 1 and steady state error 0.02, these are the
given parameters that we are supposed to follow, for pitch and heading.
Tau=[-ln(%OS/100)]/[sqrt(pi2+ln2(%OS/100))]
By putting the overshoot value 26, and after solving the formula we get the value of tau=0.3942.
After finding the value of tau, now we will find the value of “Wn” is the natural frequency of the
poles of system.
So by subtracting each pole and zero from the dominant poles we get the value of K, which is
our gain, K=6.470
[(2.3)/P-0.5]=tanθ
So by putting the values we get the value of new pole 2.5794, and the value of zero 0.5.
And now our dominant poles are -0.5+2.3j.
The poles of the system are, s=0.113-0.06j, s=0.113+0.06j, s=-2, s=1.23, s=2.5794
So by subtracting each pole and zero from the dominant poles we get the value of K, which is
our gain, K=10
So the results we get for lead compensator are:
Tau=[-ln(%OS/100)]/[sqrt(pi2+ln2(%OS/100))]
By putting the overshoot value 26, and after solving the formula we get the value of tau=0.3942.
After finding the value of tau, now we will find the value of “Wn” is the natural frequency of the
poles of system.
So by subtracting each pole and zero from the dominant poles we get the value of K, which is
our gain, K=11.2597
[(2.3)/P-0.5]=tanθ
So by putting the values we get the value of new pole 15.38, and the value of zero 0.5.
And now our dominant poles are -0.5+2.3j.
The poles of the system are, s=0.7756, s=5.1080, s=-2, s=-5.1080, s=0, s=15.38
So by subtracting each pole and zero from the dominant poles we get the value of K, which is
our gain, K=30
So the results we get for lead compensator are:
Root locus of the compensated heading control system is:
The values of P and Q basically balances out the cost function, so the required output in the form
of settling time, overshoot is not achievable so that is why we add a lead compensator and
integrator. The output LQR provides is 1, parameters were not exactly available of L and Q and
Simulink also has its error but still the value R=1 was achieved.
So first to design LQR for pitch control system but here LQR does not have sound values of, so
we need a compensator, integrator, pole and zero to measure that.
We have our overshoot 26%, settling time 5, rise time 2 and steady state error 0.02, these are the
given parameters that we are supposed to follow:
A stable system has a very less value of overshoot, quick response and fast error elimination.
Bode Plot, Root Locus and Step response of Pitch control are shown in the graph below:
Disturbance of the pitch control:
Bode Plot, Root Locus and Step response of heading control are shown in the graph below:
Step-Response of the heading control:
Disturbance of Heading Control:
Conclusion by comparison:
While comparing LQR, Lead and PID controllers in order to check which controller stabilized
the pitch control and heading control system the maximum, by the graphs. So if we do a
comparison of them then, LQR stabilizes the system the most. We can say that
the LQR controllers are able to response faster than PID controllers. It shows that LQR control
method has better performance as compared to PID control method