SlideShare a Scribd company logo
PROJECT 2
DESIGN LQR FULL STATE FEEDBACK CONTROLLER
FOR HIGH BANDWIDTH ACTIVE SUSPENSION
SYSTEM
Name : IB.P.P.Mahartana
NRP : 211100177
Design LQR Full State Feedback Controller for High Bandwidth
Active Suspension System.
A. Mathematical Model
Conventional passive suspensions use a spring and damper between the car body and
wheel assembly. The spring-damper characteristics are selected to emphasize one of several
conflicting objectives such as passenger comfort, road handling, and suspension deflection.
Active suspensions allow the designer to balance these objectives using a feedback-controller
hydraulic actuator between the chassis and wheel assembly.
For this project we use a quarter-car model of the active suspension system shown in
figure 1.
Figure 1.1 Quarter-car mathematical model for active suspension system
The mass ms represent the car chassis (body) and the mass mu represents the wheel assembly.
The spring ks and damper cs represent the passive spring and shock absorber placed between
the car body and the wheel assembly. The spring kt and damper ct represent models
compressibility of the pneumatic tire. The variables zs, zu, and zr are the body travel, wheel
travel, and road disturbance, respectively. The force Fs applied between the body and the wheel
assembly is controlled by feedback and represents the active component of the suspension
system.
B. Free Body Diagram
To be able determine how the system move, we need to draw the free body diagram, shown
in figure 1.2 which are contain all the force work in the system,
zs
zu
Figure 1.2 Free body diagram for the active suspension system
B.1 Equation of motion.
The Equation of motion represent the motions each body through their acceleration, velocity
and displacement, in terms of differential equation.
∑ 𝐹𝑠 = 0
𝑚 𝑠 𝑧̈ 𝑠 + 𝑘 𝑠(𝑧𝑠 − 𝑧 𝑢) + 𝑐 𝑠(𝑧̇ 𝑠 − 𝑧̇ 𝑢) − 𝐹𝑠 = 0
∑ 𝐹𝑢 = 0
𝑚 𝑢 𝑧̈ 𝑢 − 𝑘 𝑠(𝑧𝑠 − 𝑧 𝑢) − 𝑐 𝑠(𝑧̇ 𝑠 − 𝑧̇ 𝑢) + 𝑘 𝑡(𝑧 𝑢 − 𝑧 𝑟)+ 𝑐𝑡(𝑧̇ 𝑢 − 𝑧̇ 𝑟) + 𝐹𝑠 = 0
Define
𝑥1 = 𝑧𝑠 − 𝑧 𝑢 𝑥2 = 𝑧 𝑢 − 𝑧 𝑟 𝑥3 = 𝑧̇ 𝑠 𝑥4 = 𝑧̇ 𝑢
𝜔 = 𝑧 𝑟
ms𝑚 𝑠 𝑧̈ 𝑠
𝑐 𝑠(𝑧̇ 𝑠 − 𝑧̇ 𝑢)
ms
𝑘 𝑠(𝑧𝑠 − 𝑧 𝑢) 𝐹𝑠
𝑘 𝑡(𝑧 𝑢 − 𝑧 𝑟) 𝑐𝑡(𝑧̇ 𝑢 − 𝑧̇ 𝑟)
The State Matrices
The Output Matrices
𝐶𝑧 = [
−𝑘𝑠/𝑚𝑠 0 −𝑐𝑠/𝑚𝑠
1 0 0
0 1 0
𝑐𝑠/𝑚𝑠
0
0
]
𝐷ℎ𝑢 = [
1/𝑚𝑠
0
0
]
𝐷ℎ𝑤 = [
0
0
0
]
C. Simulink Block Diagram
We will use conventional block diagram just for showing there is another way two describe
our system instead of state space block. The first open loop block diagram is shown in figure
1.4 below.
Figure 1.3 HBAS Open-loop system
C.1 Block Diagram Associated with the state and output matrices.
Figure 1.4 Block diagram associated with the state and output matrices
D. Matlab source code.
In this part, we will loads all the parameters, so we can run the simulink block.
%% Load all Phsyical Parameters
ms=300; %
mu=40;
ks=20000;
cs=1000;
kt=200000;
ct=10;
%% Derive State & output matrices
Ah=[0 0 1 -1; 0 0 0 1; -ks/ms 0 -cs/ms cs/ms; ks/mu -kt/mu cs/mu -
(cs+ct)/mu];
Bhw=[0; -1; 0; ct/mu];
Bhu=[0; 0; 1/ms; -1/mu];
Cz=[-ks/ms 0 -cs/ms cs/ms; 1 0 0 0; 0 1 0 0]
Dhu=[1/ms; 0; 0]
Dhw=[0; 0; 0]
%% Simulation control
dt=0.001;
t = 0:dt:3;
Am=0.5;
f=2;
T=1/f;
for ki=1:1:length(t);
tdata=t(ki);
if tdata>T;
ni(ki)=0;
else
ni(ki)=(Am)*(sin((2*pi*f)*tdata));
end
end
in=transpose([t; ni]);
[t,x]=sim('HBAS_LQR',t);
%% plotting open loop respon
figure(1)
plot(t,x3ddot(:,1),'r',t,x3ddot(:,2),'g',t,x3ddot(:,3),'b','linewidth',3)
legend ('Body Acceleration','Body travel','Wheel deflection');
% Obtain magnificion
axes ('position',[0.25 0.25 0.5 0.5]);
box on
h =x3ddot(:,2);
g = x3ddot(:,3);
my_index = 0 & 3;
plot(t,h,'g', t,g,'b','linewidth',3);
axis tight
grid on
E. Open Loop system Plot Result .
Figure 1.5 Open loop response .
As shown above, the open loop system has large body acceleration while the suspension has
oscillation amplitude range about -0.05 m to 0.05 . From this result , we need to add controller
which provides force to actuator to maintain the balance of passenger comfort due to body
acceleration, body travel and suspension deflection.
F. LQR Fullstate Feedback Controller .
F.1 Block Diagram associated
Figure 1.6 Associated block diagram for close loop system.
F.2 Subsystem blocks diagram
Figure 1.7 Subsystem.
F.3 Matlab source code.
We will vary the value of state cost by changing the weight of Q, also we will vary the physical
parameter of the system to see how the system behave when all parameters had changed. The
varying parameters listed in table 1.1.
Table 1.1 Vary weight of Q
Weight of Q
Q11 Q21 Q31
1 5000 1000
800 60000 18000
4000 100000 80000
12000 800000 120000
For varying the phsysical parameter we will improve each value by 10% change .
%% Load all Phsyical Parameters
ms=300; % up to 10
mu=40; % up to 10
ks=20000; % up to 10
cs=1000; % up to 10
kt=200000; % up to 10
ct=10; % up to 10
%% State & output matrices
Ah=[0 0 1 -1; 0 0 0 1; -ks/ms 0 -cs/ms cs/ms; ks/mu -kt/mu cs/mu -
(cs+ct)/mu];
Bhw=[0; -1; 0; ct/mu];
Bhu=[0; 0; 1/ms; -1/mu];
Cz=[-ks/ms 0 -cs/ms cs/ms; 1 0 0 0; 0 1 0 0]
Dhu=[1/ms; 0; 0]
Dhw=[0; 0; 0]
%% Obtain LQR Fullstate Feedback Gain
q1l=1; % vary based on tabel 1.1
q2l=5000; % vary based on tabel 1.1
q3l=1000; % vary based on tabel 1.1
Ql=diag([q1l q2l q3l]);
Qlq=Cz'*Ql*Cz
Rl=Dhu'*Ql*Dhu
N=Cz'*Ql*Dhu
[Klq,S,e] = lqr(Ah,Bhu,Qlq,Rl,N);
Klqr=-Klq
%% Simulation control
dt=0.001;
t = 0:dt:3;
Am=0.5;
f=2;
T=1/f;
for ki=1:1:length(t);
tdata=t(ki);
if tdata>T;
ni(ki)=0;
else
ni(ki)=(Am)*(sin((2*pi*f)*tdata));
end
end
in=transpose([t; ni]);
[t,x]=sim('HBAS_LQR',t);
%% plotting closed loop respon
figure(1) %changes the outputmatrix to closedloop
plot(t,x3ddot(:,1),'b',t,x2(:,1),'r','linewidth',3)
xlabel('Time
[s]','FontSize',20,'Fontname','SansSerif','Interpreter','latex')
ylabel('Amplitude
$ddot{z}_{s}$','FontSize',20,'Fontname','SansSerif','Interpreter','latex')
set(gca,'FontSize',18, 'Fontname','Times New Roman')
title ('Body Acceleration');
grid on
hold on
figure(2) %changes the outputmatrix to closedloop
plot(t,x3ddot(:,2),'k''linewidth',3)
xlabel('Time
[s]','FontSize',20,'Fontname','SansSerif','Interpreter','latex')
ylabel('Amplitude ${z}_{s}-
{z}_{u}$','FontSize',20,'Fontname','SansSerif','Interpreter','latex')
set(gca,'FontSize',18, 'Fontname','Times New Roman')
title ('Suspension Travel');
grid on
hold on
figure(3) %changes the outputmatrix to closedloop
plot(t,x3ddot(:,3),'k', 'linewidth',3)
xlabel('Time
[s]','FontSize',20,'Fontname','SansSerif','Interpreter','latex')
ylabel('Amplitude ${z}_{u}-
{z}_{r}$','FontSize',20,'Fontname','SansSerif','Interpreter','latex')
set(gca,'FontSize',18, 'Fontname','Times New Roman')
title ('Wheel travel');
grid on
hold on
F.4 Plotting Result
Figure 1.8 Body Acceleration Response due to vary weighting parameter
Figure 1.9 Suspension Travel Response due to vary weighting parameter
Figure 2.0 Wheel Travel Response due to vary weighting parameter
G. Analysis of changing the physical parameters and weighting matrices Q in LQR
Controller
The design matrices Q and R hold the penalties on the deviations of state
variables from their setpoint and the control actions, respectively. When element of Q
is increased, therefore the cost function increases the penalty associated with any
deviations from the desired setpoint of that state variable, and thus the specific control
gain will be large. When the values of the R matrix are increased, a large penalty is
applied to the aggressiveness of the control action, and the control gains are uniformly
decreased. From figure 1.8 until figure 2.0 we’d vary the diagonal element of Q matrices
into 3 step first we changed the q11 which is represented the body acceleration and then
q21 represented the suspension travel and then the last is changed 31. Every changed
of the Q element will change the gain K value. we’ve increased the value of each
weighting parameter and the response shown in figure 1.8 until 2.0. For body
acceleration the more value was given, the small body acceleration we’ve got so far.
Then if we take a look at suspension travel, the reason show large overshoot in negative
direction and then the system started to oscillate, the same behavior we’ve got for the
wheel travel, since we had added more weighting value, the system started to have more
oscillated.
G.1 Increased physical parameters up to 10%
Changing the physical parameter up until 10% won't change the system response
significantly as shown in figure 2.1 until 2.3.
Figure 2.1 Body Acceleration Response due to vary weighting parameter
Figure 2.2 Suspension Travel Responses due to vary weighting parameter
Figure 2.3 Wheel Travel Responses due to vary weighting parameter
From figure 2.1 until 2.3 as we can see all the state responded are still same. These meant that
our LQR controller won't worked anymore against the physical parameter changed. In
practiced we can see the physical car parameters always change, like the total mass of the car
will change because the presented of the passenger's load.

More Related Content

What's hot

Wang1998
Wang1998Wang1998
Julio Bravo's Master Graduation Project
Julio Bravo's Master Graduation ProjectJulio Bravo's Master Graduation Project
Julio Bravo's Master Graduation Project
Julio Bravo
 
State space modelling of a quadcopter
State space modelling of a quadcopterState space modelling of a quadcopter
State space modelling of a quadcopter
SrinibashSahoo3
 
Simulation of inverted pendulum presentation
Simulation of inverted pendulum  presentationSimulation of inverted pendulum  presentation
Simulation of inverted pendulum presentation
Pourya Parsa
 
Mdof
MdofMdof
Mdof
Teja Ande
 
Ground Excited Systems
Ground Excited SystemsGround Excited Systems
Ground Excited Systems
Teja Ande
 
Response spectrum
Response spectrumResponse spectrum
Response spectrum
abak2
 
Modelling and Simulations Minor Project
Modelling and Simulations Minor ProjectModelling and Simulations Minor Project
Modelling and Simulations Minor Project
Minjie Lu
 
Quantum state
Quantum stateQuantum state
Quantum state
HelpWithAssignment.com
 
Structural dynamics and earthquake engineering
Structural dynamics and earthquake engineeringStructural dynamics and earthquake engineering
Structural dynamics and earthquake engineering
Bharat Khadka
 
Super-twisting sliding mode based nonlinear control for planar dual arm robots
Super-twisting sliding mode based nonlinear control for planar dual arm robotsSuper-twisting sliding mode based nonlinear control for planar dual arm robots
Super-twisting sliding mode based nonlinear control for planar dual arm robots
journalBEEI
 
Response spectrum method
Response spectrum methodResponse spectrum method
Response spectrum method
321nilesh
 
Modelling and Simulations
Modelling and SimulationsModelling and Simulations
Modelling and Simulations
Minjie Lu
 
Platoon Control of Nonholonomic Robots using Quintic Bezier Splines
Platoon Control of Nonholonomic Robots using Quintic Bezier SplinesPlatoon Control of Nonholonomic Robots using Quintic Bezier Splines
Platoon Control of Nonholonomic Robots using Quintic Bezier Splines
Kaustav Mondal
 
Dynamics of wind & marine turbines
Dynamics of wind & marine turbinesDynamics of wind & marine turbines
Dynamics of wind & marine turbines
University of Glasgow
 
Robust Control of Rotor/AMB Systems
Robust Control of Rotor/AMB SystemsRobust Control of Rotor/AMB Systems
Robust Control of Rotor/AMB Systems
Sina Kuseyri
 
12EE62R11_Final Presentation
12EE62R11_Final Presentation12EE62R11_Final Presentation
12EE62R11_Final Presentation
Amritesh Maitra
 
single degree of freedom systems forced vibrations
single degree of freedom systems forced vibrations single degree of freedom systems forced vibrations
single degree of freedom systems forced vibrations
KESHAV
 
[Review] contact model fusion
[Review] contact model fusion[Review] contact model fusion
[Review] contact model fusion
Hancheol Choi
 

What's hot (19)

Wang1998
Wang1998Wang1998
Wang1998
 
Julio Bravo's Master Graduation Project
Julio Bravo's Master Graduation ProjectJulio Bravo's Master Graduation Project
Julio Bravo's Master Graduation Project
 
State space modelling of a quadcopter
State space modelling of a quadcopterState space modelling of a quadcopter
State space modelling of a quadcopter
 
Simulation of inverted pendulum presentation
Simulation of inverted pendulum  presentationSimulation of inverted pendulum  presentation
Simulation of inverted pendulum presentation
 
Mdof
MdofMdof
Mdof
 
Ground Excited Systems
Ground Excited SystemsGround Excited Systems
Ground Excited Systems
 
Response spectrum
Response spectrumResponse spectrum
Response spectrum
 
Modelling and Simulations Minor Project
Modelling and Simulations Minor ProjectModelling and Simulations Minor Project
Modelling and Simulations Minor Project
 
Quantum state
Quantum stateQuantum state
Quantum state
 
Structural dynamics and earthquake engineering
Structural dynamics and earthquake engineeringStructural dynamics and earthquake engineering
Structural dynamics and earthquake engineering
 
Super-twisting sliding mode based nonlinear control for planar dual arm robots
Super-twisting sliding mode based nonlinear control for planar dual arm robotsSuper-twisting sliding mode based nonlinear control for planar dual arm robots
Super-twisting sliding mode based nonlinear control for planar dual arm robots
 
Response spectrum method
Response spectrum methodResponse spectrum method
Response spectrum method
 
Modelling and Simulations
Modelling and SimulationsModelling and Simulations
Modelling and Simulations
 
Platoon Control of Nonholonomic Robots using Quintic Bezier Splines
Platoon Control of Nonholonomic Robots using Quintic Bezier SplinesPlatoon Control of Nonholonomic Robots using Quintic Bezier Splines
Platoon Control of Nonholonomic Robots using Quintic Bezier Splines
 
Dynamics of wind & marine turbines
Dynamics of wind & marine turbinesDynamics of wind & marine turbines
Dynamics of wind & marine turbines
 
Robust Control of Rotor/AMB Systems
Robust Control of Rotor/AMB SystemsRobust Control of Rotor/AMB Systems
Robust Control of Rotor/AMB Systems
 
12EE62R11_Final Presentation
12EE62R11_Final Presentation12EE62R11_Final Presentation
12EE62R11_Final Presentation
 
single degree of freedom systems forced vibrations
single degree of freedom systems forced vibrations single degree of freedom systems forced vibrations
single degree of freedom systems forced vibrations
 
[Review] contact model fusion
[Review] contact model fusion[Review] contact model fusion
[Review] contact model fusion
 

Viewers also liked

WCC Copyright blackboard-b bposting
WCC Copyright blackboard-b bpostingWCC Copyright blackboard-b bposting
WCC Copyright blackboard-b bposting
Edu Calvachi
 
20130513 training on the job apprendimento permanente
20130513 training on the job apprendimento permanente20130513 training on the job apprendimento permanente
20130513 training on the job apprendimento permanenteMarco Muzzarelli
 
Client of The Future - Phd Brainscape
Client of The Future - Phd BrainscapeClient of The Future - Phd Brainscape
Client of The Future - Phd Brainscape
Fadi Khater
 
[Stp]노스페이스바람막이1
[Stp]노스페이스바람막이1[Stp]노스페이스바람막이1
[Stp]노스페이스바람막이1
eunbi0915
 
10 kickass-technologies-modern-developers-love
10 kickass-technologies-modern-developers-love10 kickass-technologies-modern-developers-love
10 kickass-technologies-modern-developers-love
Hamed Hatami
 
Global Pulse Technology Builds talk at Relief, Camp Roberts, 2011
Global Pulse Technology Builds talk at Relief, Camp Roberts, 2011Global Pulse Technology Builds talk at Relief, Camp Roberts, 2011
Global Pulse Technology Builds talk at Relief, Camp Roberts, 2011
Sara-Jayne Terp
 
BSmith Presentation Samples 0713
BSmith Presentation Samples 0713BSmith Presentation Samples 0713
BSmith Presentation Samples 0713
Brian Smith
 
January - September 2016 - Export Statistics of Turkish Citrus
January - September 2016 - Export Statistics of Turkish CitrusJanuary - September 2016 - Export Statistics of Turkish Citrus
January - September 2016 - Export Statistics of Turkish Citrus
Turkish Citrus Promotion Group
 
Cw concept Cocoa
Cw concept CocoaCw concept Cocoa
Cw concept Cocoa
Meyta Nasetyowati
 
Content schedule 2015
Content schedule   2015 Content schedule   2015
Content schedule 2015
US Navy Social Media
 
Morocco mgf - open data
Morocco mgf - open dataMorocco mgf - open data
Morocco mgf - open data
Richard Kerby
 
Carbónnn
CarbónnnCarbónnn
Carbónnn
Erick Garcia
 
Water Water Everywhere Photo story by P5/1
Water Water Everywhere Photo story by P5/1 Water Water Everywhere Photo story by P5/1
Water Water Everywhere Photo story by P5/1
Edz Balogo-Villaram
 
How to defeat malaria
How to defeat malariaHow to defeat malaria
How to defeat malaria
Devex
 
공생공소 역사
공생공소 역사공생공소 역사
공생공소 역사연근 배
 
Chocolate everything ift Cocoa
Chocolate everything   ift CocoaChocolate everything   ift Cocoa
Chocolate everything ift Cocoa
Meyta Nasetyowati
 
Practico-Condensadores en Paralelo
Practico-Condensadores en ParaleloPractico-Condensadores en Paralelo
Practico-Condensadores en Paralelo
Marcelo Rodriguez
 
Web portfolio pdsi
Web portfolio pdsiWeb portfolio pdsi
Web portfolio pdsi
Presentologics
 
¡Siempre el mejor precio!
¡Siempre el mejor precio!¡Siempre el mejor precio!
¡Siempre el mejor precio!
Beep Informática
 

Viewers also liked (20)

WCC Copyright blackboard-b bposting
WCC Copyright blackboard-b bpostingWCC Copyright blackboard-b bposting
WCC Copyright blackboard-b bposting
 
20130513 training on the job apprendimento permanente
20130513 training on the job apprendimento permanente20130513 training on the job apprendimento permanente
20130513 training on the job apprendimento permanente
 
Client of The Future - Phd Brainscape
Client of The Future - Phd BrainscapeClient of The Future - Phd Brainscape
Client of The Future - Phd Brainscape
 
[Stp]노스페이스바람막이1
[Stp]노스페이스바람막이1[Stp]노스페이스바람막이1
[Stp]노스페이스바람막이1
 
10 kickass-technologies-modern-developers-love
10 kickass-technologies-modern-developers-love10 kickass-technologies-modern-developers-love
10 kickass-technologies-modern-developers-love
 
Global Pulse Technology Builds talk at Relief, Camp Roberts, 2011
Global Pulse Technology Builds talk at Relief, Camp Roberts, 2011Global Pulse Technology Builds talk at Relief, Camp Roberts, 2011
Global Pulse Technology Builds talk at Relief, Camp Roberts, 2011
 
BSmith Presentation Samples 0713
BSmith Presentation Samples 0713BSmith Presentation Samples 0713
BSmith Presentation Samples 0713
 
January - September 2016 - Export Statistics of Turkish Citrus
January - September 2016 - Export Statistics of Turkish CitrusJanuary - September 2016 - Export Statistics of Turkish Citrus
January - September 2016 - Export Statistics of Turkish Citrus
 
Cw concept Cocoa
Cw concept CocoaCw concept Cocoa
Cw concept Cocoa
 
Content schedule 2015
Content schedule   2015 Content schedule   2015
Content schedule 2015
 
Morocco mgf - open data
Morocco mgf - open dataMorocco mgf - open data
Morocco mgf - open data
 
Carbónnn
CarbónnnCarbónnn
Carbónnn
 
Water Water Everywhere Photo story by P5/1
Water Water Everywhere Photo story by P5/1 Water Water Everywhere Photo story by P5/1
Water Water Everywhere Photo story by P5/1
 
How to defeat malaria
How to defeat malariaHow to defeat malaria
How to defeat malaria
 
공생공소 역사
공생공소 역사공생공소 역사
공생공소 역사
 
Chocolate everything ift Cocoa
Chocolate everything   ift CocoaChocolate everything   ift Cocoa
Chocolate everything ift Cocoa
 
Practico-Condensadores en Paralelo
Practico-Condensadores en ParaleloPractico-Condensadores en Paralelo
Practico-Condensadores en Paralelo
 
Web portfolio pdsi
Web portfolio pdsiWeb portfolio pdsi
Web portfolio pdsi
 
Workshop duurzaam ondernemen + alle staalkaarten
Workshop duurzaam ondernemen + alle staalkaartenWorkshop duurzaam ondernemen + alle staalkaarten
Workshop duurzaam ondernemen + alle staalkaarten
 
¡Siempre el mejor precio!
¡Siempre el mejor precio!¡Siempre el mejor precio!
¡Siempre el mejor precio!
 

Similar to High Bandwidth suspention modelling and Design LQR Full state Feedback Controller

Controller design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqrController design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqr
eSAT Publishing House
 
Controller design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqrController design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqr
eSAT Journals
 
lecture 5 courseII (6).pptx
lecture 5 courseII (6).pptxlecture 5 courseII (6).pptx
lecture 5 courseII (6).pptx
AYMENGOODKid
 
lecture 2 courseII (4).pptx
lecture 2 courseII (4).pptxlecture 2 courseII (4).pptx
lecture 2 courseII (4).pptx
AYMENGOODKid
 
Adaptive Control Scheme with Parameter Adaptation - From Human Motor Control ...
Adaptive Control Scheme with Parameter Adaptation - From Human Motor Control ...Adaptive Control Scheme with Parameter Adaptation - From Human Motor Control ...
Adaptive Control Scheme with Parameter Adaptation - From Human Motor Control ...
toukaigi
 
EENG519FinalProjectReport
EENG519FinalProjectReportEENG519FinalProjectReport
EENG519FinalProjectReport
Daniel K
 
lecture 1 courseII (2).pptx
lecture 1 courseII (2).pptxlecture 1 courseII (2).pptx
lecture 1 courseII (2).pptx
AYMENGOODKid
 
Basic Control System unit6
Basic Control System unit6Basic Control System unit6
Basic Control System unit6
Asraf Malik
 
suspension system project report
suspension system project reportsuspension system project report
suspension system project report
UET Taxila
 
DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller
Idabagus Mahartana
 
OConnor_SimulationProject
OConnor_SimulationProjectOConnor_SimulationProject
OConnor_SimulationProject
Kevin O'Connor
 
On tracking control problem for polysolenoid motor model predictive approach
On tracking control problem for polysolenoid motor model predictive approach On tracking control problem for polysolenoid motor model predictive approach
On tracking control problem for polysolenoid motor model predictive approach
IJECEIAES
 
The Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space ApproachThe Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space Approach
Yang Hong
 
Linear quadratic regulator and pole placement for stabilizing a cart inverted...
Linear quadratic regulator and pole placement for stabilizing a cart inverted...Linear quadratic regulator and pole placement for stabilizing a cart inverted...
Linear quadratic regulator and pole placement for stabilizing a cart inverted...
journalBEEI
 
Servo systems
Servo systemsServo systems
Servo systems
cairo university
 
Optimal Control for Torpedo Motion based on Fuzzy-PSO Advantage Technical
Optimal Control for Torpedo Motion based on Fuzzy-PSO Advantage TechnicalOptimal Control for Torpedo Motion based on Fuzzy-PSO Advantage Technical
Optimal Control for Torpedo Motion based on Fuzzy-PSO Advantage Technical
TELKOMNIKA JOURNAL
 
Thesis_EN
Thesis_ENThesis_EN
Thesis_EN
Hristo Ganchev
 
Modeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armModeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic arm
cesarportilla8
 
Linear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentLinear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller Assignment
Isham Rashik
 
Foreman-Report2
Foreman-Report2Foreman-Report2
Foreman-Report2
Rachel Foreman
 

Similar to High Bandwidth suspention modelling and Design LQR Full state Feedback Controller (20)

Controller design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqrController design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqr
 
Controller design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqrController design of inverted pendulum using pole placement and lqr
Controller design of inverted pendulum using pole placement and lqr
 
lecture 5 courseII (6).pptx
lecture 5 courseII (6).pptxlecture 5 courseII (6).pptx
lecture 5 courseII (6).pptx
 
lecture 2 courseII (4).pptx
lecture 2 courseII (4).pptxlecture 2 courseII (4).pptx
lecture 2 courseII (4).pptx
 
Adaptive Control Scheme with Parameter Adaptation - From Human Motor Control ...
Adaptive Control Scheme with Parameter Adaptation - From Human Motor Control ...Adaptive Control Scheme with Parameter Adaptation - From Human Motor Control ...
Adaptive Control Scheme with Parameter Adaptation - From Human Motor Control ...
 
EENG519FinalProjectReport
EENG519FinalProjectReportEENG519FinalProjectReport
EENG519FinalProjectReport
 
lecture 1 courseII (2).pptx
lecture 1 courseII (2).pptxlecture 1 courseII (2).pptx
lecture 1 courseII (2).pptx
 
Basic Control System unit6
Basic Control System unit6Basic Control System unit6
Basic Control System unit6
 
suspension system project report
suspension system project reportsuspension system project report
suspension system project report
 
DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller DC Motor Modelling & Design Fullstate Feedback Controller
DC Motor Modelling & Design Fullstate Feedback Controller
 
OConnor_SimulationProject
OConnor_SimulationProjectOConnor_SimulationProject
OConnor_SimulationProject
 
On tracking control problem for polysolenoid motor model predictive approach
On tracking control problem for polysolenoid motor model predictive approach On tracking control problem for polysolenoid motor model predictive approach
On tracking control problem for polysolenoid motor model predictive approach
 
The Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space ApproachThe Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space Approach
 
Linear quadratic regulator and pole placement for stabilizing a cart inverted...
Linear quadratic regulator and pole placement for stabilizing a cart inverted...Linear quadratic regulator and pole placement for stabilizing a cart inverted...
Linear quadratic regulator and pole placement for stabilizing a cart inverted...
 
Servo systems
Servo systemsServo systems
Servo systems
 
Optimal Control for Torpedo Motion based on Fuzzy-PSO Advantage Technical
Optimal Control for Torpedo Motion based on Fuzzy-PSO Advantage TechnicalOptimal Control for Torpedo Motion based on Fuzzy-PSO Advantage Technical
Optimal Control for Torpedo Motion based on Fuzzy-PSO Advantage Technical
 
Thesis_EN
Thesis_ENThesis_EN
Thesis_EN
 
Modeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armModeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic arm
 
Linear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentLinear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller Assignment
 
Foreman-Report2
Foreman-Report2Foreman-Report2
Foreman-Report2
 

Recently uploaded

UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICSUNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
vmspraneeth
 
Zener Diode and its V-I Characteristics and Applications
Zener Diode and its V-I Characteristics and ApplicationsZener Diode and its V-I Characteristics and Applications
Zener Diode and its V-I Characteristics and Applications
Shiny Christobel
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
upoux
 
SENTIMENT ANALYSIS ON PPT AND Project template_.pptx
SENTIMENT ANALYSIS ON PPT AND Project template_.pptxSENTIMENT ANALYSIS ON PPT AND Project template_.pptx
SENTIMENT ANALYSIS ON PPT AND Project template_.pptx
b0754201
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
nedcocy
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
upoux
 
smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...
um7474492
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
Open Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surfaceOpen Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surface
Indrajeet sahu
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENTNATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
Addu25809
 
Pressure Relief valve used in flow line to release the over pressure at our d...
Pressure Relief valve used in flow line to release the over pressure at our d...Pressure Relief valve used in flow line to release the over pressure at our d...
Pressure Relief valve used in flow line to release the over pressure at our d...
cannyengineerings
 
Supermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdfSupermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdf
Kamal Acharya
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
Accident detection system project report.pdf
Accident detection system project report.pdfAccident detection system project report.pdf
Accident detection system project report.pdf
Kamal Acharya
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 

Recently uploaded (20)

UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICSUNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
 
Zener Diode and its V-I Characteristics and Applications
Zener Diode and its V-I Characteristics and ApplicationsZener Diode and its V-I Characteristics and Applications
Zener Diode and its V-I Characteristics and Applications
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
 
SENTIMENT ANALYSIS ON PPT AND Project template_.pptx
SENTIMENT ANALYSIS ON PPT AND Project template_.pptxSENTIMENT ANALYSIS ON PPT AND Project template_.pptx
SENTIMENT ANALYSIS ON PPT AND Project template_.pptx
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
 
smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
Open Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surfaceOpen Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surface
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENTNATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
 
Pressure Relief valve used in flow line to release the over pressure at our d...
Pressure Relief valve used in flow line to release the over pressure at our d...Pressure Relief valve used in flow line to release the over pressure at our d...
Pressure Relief valve used in flow line to release the over pressure at our d...
 
Supermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdfSupermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdf
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
Accident detection system project report.pdf
Accident detection system project report.pdfAccident detection system project report.pdf
Accident detection system project report.pdf
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 

High Bandwidth suspention modelling and Design LQR Full state Feedback Controller

  • 1. PROJECT 2 DESIGN LQR FULL STATE FEEDBACK CONTROLLER FOR HIGH BANDWIDTH ACTIVE SUSPENSION SYSTEM Name : IB.P.P.Mahartana NRP : 211100177
  • 2. Design LQR Full State Feedback Controller for High Bandwidth Active Suspension System. A. Mathematical Model Conventional passive suspensions use a spring and damper between the car body and wheel assembly. The spring-damper characteristics are selected to emphasize one of several conflicting objectives such as passenger comfort, road handling, and suspension deflection. Active suspensions allow the designer to balance these objectives using a feedback-controller hydraulic actuator between the chassis and wheel assembly. For this project we use a quarter-car model of the active suspension system shown in figure 1. Figure 1.1 Quarter-car mathematical model for active suspension system The mass ms represent the car chassis (body) and the mass mu represents the wheel assembly. The spring ks and damper cs represent the passive spring and shock absorber placed between the car body and the wheel assembly. The spring kt and damper ct represent models compressibility of the pneumatic tire. The variables zs, zu, and zr are the body travel, wheel travel, and road disturbance, respectively. The force Fs applied between the body and the wheel assembly is controlled by feedback and represents the active component of the suspension system.
  • 3. B. Free Body Diagram To be able determine how the system move, we need to draw the free body diagram, shown in figure 1.2 which are contain all the force work in the system, zs zu Figure 1.2 Free body diagram for the active suspension system B.1 Equation of motion. The Equation of motion represent the motions each body through their acceleration, velocity and displacement, in terms of differential equation. ∑ 𝐹𝑠 = 0 𝑚 𝑠 𝑧̈ 𝑠 + 𝑘 𝑠(𝑧𝑠 − 𝑧 𝑢) + 𝑐 𝑠(𝑧̇ 𝑠 − 𝑧̇ 𝑢) − 𝐹𝑠 = 0 ∑ 𝐹𝑢 = 0 𝑚 𝑢 𝑧̈ 𝑢 − 𝑘 𝑠(𝑧𝑠 − 𝑧 𝑢) − 𝑐 𝑠(𝑧̇ 𝑠 − 𝑧̇ 𝑢) + 𝑘 𝑡(𝑧 𝑢 − 𝑧 𝑟)+ 𝑐𝑡(𝑧̇ 𝑢 − 𝑧̇ 𝑟) + 𝐹𝑠 = 0 Define 𝑥1 = 𝑧𝑠 − 𝑧 𝑢 𝑥2 = 𝑧 𝑢 − 𝑧 𝑟 𝑥3 = 𝑧̇ 𝑠 𝑥4 = 𝑧̇ 𝑢 𝜔 = 𝑧 𝑟 ms𝑚 𝑠 𝑧̈ 𝑠 𝑐 𝑠(𝑧̇ 𝑠 − 𝑧̇ 𝑢) ms 𝑘 𝑠(𝑧𝑠 − 𝑧 𝑢) 𝐹𝑠 𝑘 𝑡(𝑧 𝑢 − 𝑧 𝑟) 𝑐𝑡(𝑧̇ 𝑢 − 𝑧̇ 𝑟)
  • 4. The State Matrices The Output Matrices 𝐶𝑧 = [ −𝑘𝑠/𝑚𝑠 0 −𝑐𝑠/𝑚𝑠 1 0 0 0 1 0 𝑐𝑠/𝑚𝑠 0 0 ] 𝐷ℎ𝑢 = [ 1/𝑚𝑠 0 0 ] 𝐷ℎ𝑤 = [ 0 0 0 ] C. Simulink Block Diagram We will use conventional block diagram just for showing there is another way two describe our system instead of state space block. The first open loop block diagram is shown in figure 1.4 below. Figure 1.3 HBAS Open-loop system
  • 5. C.1 Block Diagram Associated with the state and output matrices. Figure 1.4 Block diagram associated with the state and output matrices D. Matlab source code. In this part, we will loads all the parameters, so we can run the simulink block. %% Load all Phsyical Parameters ms=300; % mu=40; ks=20000; cs=1000; kt=200000; ct=10; %% Derive State & output matrices Ah=[0 0 1 -1; 0 0 0 1; -ks/ms 0 -cs/ms cs/ms; ks/mu -kt/mu cs/mu - (cs+ct)/mu]; Bhw=[0; -1; 0; ct/mu]; Bhu=[0; 0; 1/ms; -1/mu]; Cz=[-ks/ms 0 -cs/ms cs/ms; 1 0 0 0; 0 1 0 0] Dhu=[1/ms; 0; 0] Dhw=[0; 0; 0] %% Simulation control dt=0.001; t = 0:dt:3; Am=0.5; f=2; T=1/f; for ki=1:1:length(t); tdata=t(ki); if tdata>T; ni(ki)=0; else
  • 6. ni(ki)=(Am)*(sin((2*pi*f)*tdata)); end end in=transpose([t; ni]); [t,x]=sim('HBAS_LQR',t); %% plotting open loop respon figure(1) plot(t,x3ddot(:,1),'r',t,x3ddot(:,2),'g',t,x3ddot(:,3),'b','linewidth',3) legend ('Body Acceleration','Body travel','Wheel deflection'); % Obtain magnificion axes ('position',[0.25 0.25 0.5 0.5]); box on h =x3ddot(:,2); g = x3ddot(:,3); my_index = 0 & 3; plot(t,h,'g', t,g,'b','linewidth',3); axis tight grid on E. Open Loop system Plot Result . Figure 1.5 Open loop response . As shown above, the open loop system has large body acceleration while the suspension has oscillation amplitude range about -0.05 m to 0.05 . From this result , we need to add controller which provides force to actuator to maintain the balance of passenger comfort due to body acceleration, body travel and suspension deflection.
  • 7. F. LQR Fullstate Feedback Controller . F.1 Block Diagram associated Figure 1.6 Associated block diagram for close loop system. F.2 Subsystem blocks diagram Figure 1.7 Subsystem. F.3 Matlab source code. We will vary the value of state cost by changing the weight of Q, also we will vary the physical parameter of the system to see how the system behave when all parameters had changed. The varying parameters listed in table 1.1.
  • 8. Table 1.1 Vary weight of Q Weight of Q Q11 Q21 Q31 1 5000 1000 800 60000 18000 4000 100000 80000 12000 800000 120000 For varying the phsysical parameter we will improve each value by 10% change . %% Load all Phsyical Parameters ms=300; % up to 10 mu=40; % up to 10 ks=20000; % up to 10 cs=1000; % up to 10 kt=200000; % up to 10 ct=10; % up to 10 %% State & output matrices Ah=[0 0 1 -1; 0 0 0 1; -ks/ms 0 -cs/ms cs/ms; ks/mu -kt/mu cs/mu - (cs+ct)/mu]; Bhw=[0; -1; 0; ct/mu]; Bhu=[0; 0; 1/ms; -1/mu]; Cz=[-ks/ms 0 -cs/ms cs/ms; 1 0 0 0; 0 1 0 0] Dhu=[1/ms; 0; 0] Dhw=[0; 0; 0] %% Obtain LQR Fullstate Feedback Gain q1l=1; % vary based on tabel 1.1 q2l=5000; % vary based on tabel 1.1 q3l=1000; % vary based on tabel 1.1 Ql=diag([q1l q2l q3l]); Qlq=Cz'*Ql*Cz Rl=Dhu'*Ql*Dhu N=Cz'*Ql*Dhu [Klq,S,e] = lqr(Ah,Bhu,Qlq,Rl,N); Klqr=-Klq %% Simulation control dt=0.001; t = 0:dt:3; Am=0.5; f=2; T=1/f; for ki=1:1:length(t); tdata=t(ki); if tdata>T; ni(ki)=0; else ni(ki)=(Am)*(sin((2*pi*f)*tdata)); end end in=transpose([t; ni]); [t,x]=sim('HBAS_LQR',t); %% plotting closed loop respon figure(1) %changes the outputmatrix to closedloop plot(t,x3ddot(:,1),'b',t,x2(:,1),'r','linewidth',3)
  • 9. xlabel('Time [s]','FontSize',20,'Fontname','SansSerif','Interpreter','latex') ylabel('Amplitude $ddot{z}_{s}$','FontSize',20,'Fontname','SansSerif','Interpreter','latex') set(gca,'FontSize',18, 'Fontname','Times New Roman') title ('Body Acceleration'); grid on hold on figure(2) %changes the outputmatrix to closedloop plot(t,x3ddot(:,2),'k''linewidth',3) xlabel('Time [s]','FontSize',20,'Fontname','SansSerif','Interpreter','latex') ylabel('Amplitude ${z}_{s}- {z}_{u}$','FontSize',20,'Fontname','SansSerif','Interpreter','latex') set(gca,'FontSize',18, 'Fontname','Times New Roman') title ('Suspension Travel'); grid on hold on figure(3) %changes the outputmatrix to closedloop plot(t,x3ddot(:,3),'k', 'linewidth',3) xlabel('Time [s]','FontSize',20,'Fontname','SansSerif','Interpreter','latex') ylabel('Amplitude ${z}_{u}- {z}_{r}$','FontSize',20,'Fontname','SansSerif','Interpreter','latex') set(gca,'FontSize',18, 'Fontname','Times New Roman') title ('Wheel travel'); grid on hold on F.4 Plotting Result Figure 1.8 Body Acceleration Response due to vary weighting parameter
  • 10. Figure 1.9 Suspension Travel Response due to vary weighting parameter Figure 2.0 Wheel Travel Response due to vary weighting parameter
  • 11. G. Analysis of changing the physical parameters and weighting matrices Q in LQR Controller The design matrices Q and R hold the penalties on the deviations of state variables from their setpoint and the control actions, respectively. When element of Q is increased, therefore the cost function increases the penalty associated with any deviations from the desired setpoint of that state variable, and thus the specific control gain will be large. When the values of the R matrix are increased, a large penalty is applied to the aggressiveness of the control action, and the control gains are uniformly decreased. From figure 1.8 until figure 2.0 we’d vary the diagonal element of Q matrices into 3 step first we changed the q11 which is represented the body acceleration and then q21 represented the suspension travel and then the last is changed 31. Every changed of the Q element will change the gain K value. we’ve increased the value of each weighting parameter and the response shown in figure 1.8 until 2.0. For body acceleration the more value was given, the small body acceleration we’ve got so far. Then if we take a look at suspension travel, the reason show large overshoot in negative direction and then the system started to oscillate, the same behavior we’ve got for the wheel travel, since we had added more weighting value, the system started to have more oscillated. G.1 Increased physical parameters up to 10% Changing the physical parameter up until 10% won't change the system response significantly as shown in figure 2.1 until 2.3. Figure 2.1 Body Acceleration Response due to vary weighting parameter
  • 12. Figure 2.2 Suspension Travel Responses due to vary weighting parameter Figure 2.3 Wheel Travel Responses due to vary weighting parameter From figure 2.1 until 2.3 as we can see all the state responded are still same. These meant that our LQR controller won't worked anymore against the physical parameter changed. In practiced we can see the physical car parameters always change, like the total mass of the car will change because the presented of the passenger's load.