SlideShare a Scribd company logo
1 of 10
Download to read offline
Thrust Vector Controlled (TCV) Rocket modelling using
LQR Controller
Project course: Advanced Control Theory (EEE4001)
Project By: Mrinal Harsh
REG Number: 18BEE0285
AIM
To model a Thrust Vector Controlled (TCV) Rocket by using Linear Quadrature Control
(LQR) technique, control the various parameters of the rocket such as Gimbal Angle,
Angular Rate of change and Drift Experienced in its ascent. We would also compare the
modelling technique to another control technique known as Proportional Integral
Derivative (PID) control and conclude why LQR is preferred over PID when modelling TCV
Rockets.
INTRODUCTION
The Linear Quadratic Regulator (LQR) is a well-known method that provides optimally
controlled feedback gains to enable the closed-loop stable and high performance design of
systems. The LQR algorithm is essentially an automated way of finding an appropriate
state-feedback controller. The LQR algorithm reduces the amount of work done by the
control systems engineer to optimize the controller. However, the engineer still needs to
specify the cost function parameters, and compare the results with the specified design
goals. Often this means that controller construction will be an iterative process in which the
engineer judges the "optimal" controllers produced through simulation and then adjusts
the parameters to produce a controller more consistent with design goals.
DESIGN PROBLEM AND EQUATIONS
Controlling the flight of the rocket during the launch phase as it’s the state most prone to
failure due to disturbances and has to clear the atmosphere safely.
Input to be controlled: Gimbal Angle (The angle between the thrust and the perpendicular)
Outputs: Pitch Angle ( theta), Angular Velocity (theta dot) and Drift experienced by the
TCV (Z)
DRIFT- A phenomenon that occurs in vehicles that use ascent and is caused due to the
wind. It makes the vehicle move sideways, causing unpredictability in our flight.
MATLAB CODE:
%%% STATE SPACE MODELLING %%%
clc;
close all;
clear all;
%cosntant values
Iyy=2.186e8; %[Slug ft^2]
m=38901; %[Slug]
Tc=2.361e6; %[lbf]
V=1347; %[ft/s]
Cn_alpha=0.1465;
g=26.10; %[ft/s^2]
N_alpha=686819; %[lbf/rad]
M_alpha=0.3807; %[s^-2]
M_delta=0.5726; %[s^-2]
x_cg=53.19; %[ft]
x_cp=121.2; %[ft]
F=Tc;
%Other important constants
Mach=1.4 %mach
h=34000; %height of the launch vehicle
S=116.2; %Area of the platform
Fbase=1000; %base drag
Ca=2.4; %coefficients
D=Ca*680*S - Fbase; %drag
Drag=7.15*D %total drag
%state space matrix
A_m=[0 1 0;M_alpha 0 M_alpha/V;-(F-Drag+N_alpha)/m 0 -N_alpha/(m*V)];
B_m=[0;M_delta;Tc/m];
C_m=diag([1 1 1]);
D_m=[0;0;0];
pitch_ss=ss(A_m,B_m,C_m,D_m);
%%% COST FUNCTION %%%
%cost function
SIMULINK MODELS:
Main TCV Model
Subsystem Model
cvector={'bo' 'ro' 'go'};
R_vector=[0.1 5 10]
%lowest weight to TVC angle, max to drift
figure;hold on;
for k=1:1
R_matrix_drift=R_vector(k);
Q_matrix_drift=[1 0 1/V; 0 0 0;1/V 0 1/V^2];
[K S e]=lqr(pitch_ss,Q_matrix_drift,R_matrix_drift);
for i=1:10000
e_val(:,i)=eig(A_m-B_m*K*i/10000);
end
plot(real(e_val(1,:)),imag(e_val(1,:)),cvector{k});
plot(real(e_val(2,:)),imag(e_val(2,:)),cvector{k});
plot(real(e_val(3,:)),imag(e_val(3,:)),cvector{k});
grid;
end
xlim([-2 1]);
legend('R=0.1');
%LQR Gains are obtained
K_1=K(1);
K_2=K(2);
K_3=K(3);
RESULTS
Controllability and Stability of the System
For analysing a system using LQE we need to make sure that the system is
controllable and observable. Since the rank of A_m matrix is same as the rank of Qc
(controllability matrix) and Qb (stability matrix), the obtained state space model is
controllable and stable.
Root Locus of the System
To check stability of the system we plot the eigen values as root locus. As we can see,
the system is marginally stable since some values of the Root Locus graph lie on the
positive plane.
Take OFF Angle
 
The TVC input causes the take-off angle to increase initially but its stabilized once the
rocket starts its upward ascent.
Angular Rate
 
For a successful launch, we need the angular rate to be zero In order to cut down on
the angular spin faced by the vehicle. As seen in the plot, the Angular rate increases
initially and then decreases rapidly as the system is stabilized in mid-flight.
Drift experienced by the Rocket
Since we have accounted for wind speed and other physical factors in our state space
modelling equations, the system experiences a drift and a motion caused by it that
like other parameters are quite large at start but are stabilized successfully mid-
flight.
Comparisons with PID Control
As we can see in the graph alongside, PID controller used for a similar simulation
would give us faster stabilizing rate but the overshoot is greater. This gives an insight
as to why PID control can be used for small launch system but for larger, real life
system LQR control is used as a slightly greater time taken to stabilize Is compensated
by the lower overshoot which makes the system safer, especially during the initial
ascent.
 
Conclusion:
The given state space model was checked for stability and controllability and the outcome
was that it satisfied the given conditions. It was judged marginally stable by the help of its
root locus plot. The system design was successful as we could control and stabilize our
three control parameters ie. Take off angle, angular rate and drift faced by the rocket. We
compared the two most common control techniques for- Linear Quadratic Control (LQC)
and Proportional Integral & Derivative control (PID) and saw why the latter is used in real
life simulations.

More Related Content

What's hot

Modeling and control of a Quadrotor UAV
Modeling and control of a Quadrotor UAVModeling and control of a Quadrotor UAV
Modeling and control of a Quadrotor UAVAniket Shirsat
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningAmr E. Mohamed
 
Avionics buses
Avionics busesAvionics buses
Avionics busesyasir2761
 
Introduction to Quad-copters, Drones
Introduction to Quad-copters, DronesIntroduction to Quad-copters, Drones
Introduction to Quad-copters, Droneswinfred lu
 
Fly by-wire flight control
Fly by-wire flight controlFly by-wire flight control
Fly by-wire flight controlraj_sevak
 
Modeling and Roll, Pitch and Yaw Simulation of Quadrotor.
Modeling and Roll, Pitch and Yaw Simulation of Quadrotor.Modeling and Roll, Pitch and Yaw Simulation of Quadrotor.
Modeling and Roll, Pitch and Yaw Simulation of Quadrotor.Oka Danil
 
Considerations for choosing a data link for UAV
Considerations for choosing a data link for UAVConsiderations for choosing a data link for UAV
Considerations for choosing a data link for UAVYaron Benita
 
Flight control system
Flight control systemFlight control system
Flight control systemApoorv Anand
 
PID control dynamics of a robotic arm manipulator with two degrees of freedom.
PID control dynamics of a robotic arm manipulator with two degrees of freedom.PID control dynamics of a robotic arm manipulator with two degrees of freedom.
PID control dynamics of a robotic arm manipulator with two degrees of freedom.popochis
 
Aircraft Dynamic Stability and Equation of motion
Aircraft Dynamic Stability and Equation of motionAircraft Dynamic Stability and Equation of motion
Aircraft Dynamic Stability and Equation of motionDhruv Panchal
 
Synchro and servomotor
Synchro and servomotorSynchro and servomotor
Synchro and servomotorjawaharramaya
 
Aircraft Performance: Part I
Aircraft Performance: Part IAircraft Performance: Part I
Aircraft Performance: Part IMohammad Tawfik
 
Backstepping control of cart pole system
Backstepping  control of cart pole systemBackstepping  control of cart pole system
Backstepping control of cart pole systemShubhobrata Rudra
 
Flight control systems
Flight control systemsFlight control systems
Flight control systemsTalha Karim
 
Vor navigation and_tracking
Vor navigation and_trackingVor navigation and_tracking
Vor navigation and_trackingdrbagwell
 
EASA Part 66 Module 5 software management control
EASA Part 66 Module 5 software management controlEASA Part 66 Module 5 software management control
EASA Part 66 Module 5 software management controlAnjani Kumar singh
 
F-35, Stealth and Designing a 21st Century Fighter from the Ground Up
F-35, Stealth and Designing a 21st Century Fighter from the Ground UpF-35, Stealth and Designing a 21st Century Fighter from the Ground Up
F-35, Stealth and Designing a 21st Century Fighter from the Ground UpICSA, LLC
 
032 aeroplane performance
032 aeroplane performance032 aeroplane performance
032 aeroplane performancechococrispis37
 

What's hot (20)

Modeling and control of a Quadrotor UAV
Modeling and control of a Quadrotor UAVModeling and control of a Quadrotor UAV
Modeling and control of a Quadrotor UAV
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID Tuning
 
Gain Scheduling (GS)
Gain Scheduling (GS)Gain Scheduling (GS)
Gain Scheduling (GS)
 
Avionics buses
Avionics busesAvionics buses
Avionics buses
 
Introduction to Quad-copters, Drones
Introduction to Quad-copters, DronesIntroduction to Quad-copters, Drones
Introduction to Quad-copters, Drones
 
Fly by-wire flight control
Fly by-wire flight controlFly by-wire flight control
Fly by-wire flight control
 
Modeling and Roll, Pitch and Yaw Simulation of Quadrotor.
Modeling and Roll, Pitch and Yaw Simulation of Quadrotor.Modeling and Roll, Pitch and Yaw Simulation of Quadrotor.
Modeling and Roll, Pitch and Yaw Simulation of Quadrotor.
 
Considerations for choosing a data link for UAV
Considerations for choosing a data link for UAVConsiderations for choosing a data link for UAV
Considerations for choosing a data link for UAV
 
Flight control system
Flight control systemFlight control system
Flight control system
 
Avionics sai
Avionics saiAvionics sai
Avionics sai
 
PID control dynamics of a robotic arm manipulator with two degrees of freedom.
PID control dynamics of a robotic arm manipulator with two degrees of freedom.PID control dynamics of a robotic arm manipulator with two degrees of freedom.
PID control dynamics of a robotic arm manipulator with two degrees of freedom.
 
Aircraft Dynamic Stability and Equation of motion
Aircraft Dynamic Stability and Equation of motionAircraft Dynamic Stability and Equation of motion
Aircraft Dynamic Stability and Equation of motion
 
Synchro and servomotor
Synchro and servomotorSynchro and servomotor
Synchro and servomotor
 
Aircraft Performance: Part I
Aircraft Performance: Part IAircraft Performance: Part I
Aircraft Performance: Part I
 
Backstepping control of cart pole system
Backstepping  control of cart pole systemBackstepping  control of cart pole system
Backstepping control of cart pole system
 
Flight control systems
Flight control systemsFlight control systems
Flight control systems
 
Vor navigation and_tracking
Vor navigation and_trackingVor navigation and_tracking
Vor navigation and_tracking
 
EASA Part 66 Module 5 software management control
EASA Part 66 Module 5 software management controlEASA Part 66 Module 5 software management control
EASA Part 66 Module 5 software management control
 
F-35, Stealth and Designing a 21st Century Fighter from the Ground Up
F-35, Stealth and Designing a 21st Century Fighter from the Ground UpF-35, Stealth and Designing a 21st Century Fighter from the Ground Up
F-35, Stealth and Designing a 21st Century Fighter from the Ground Up
 
032 aeroplane performance
032 aeroplane performance032 aeroplane performance
032 aeroplane performance
 

Similar to LQR Controller Models Thrust Vector Controlled Rocket

Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...Zac Darcy
 
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...Zac Darcy
 
AIRCRAFT PITCH EECE 682 Computer Control Of Dynamic.docx
AIRCRAFT PITCH EECE 682  Computer Control Of Dynamic.docxAIRCRAFT PITCH EECE 682  Computer Control Of Dynamic.docx
AIRCRAFT PITCH EECE 682 Computer Control Of Dynamic.docxgalerussel59292
 
Implementation Of Flight Control System Based ON KF AND PID CONTROL
Implementation Of Flight Control System Based ON KF  AND PID CONTROL Implementation Of Flight Control System Based ON KF  AND PID CONTROL
Implementation Of Flight Control System Based ON KF AND PID CONTROL NITISH K
 
ENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTER
ENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTERENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTER
ENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTERijics
 
ENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTER
ENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTERENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTER
ENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTERijcisjournal
 
Tracking and control problem of an aircraft
Tracking and control problem of an aircraftTracking and control problem of an aircraft
Tracking and control problem of an aircraftANSUMAN MISHRA
 
Optimal backstepping control of quadrotor UAV using gravitational search opti...
Optimal backstepping control of quadrotor UAV using gravitational search opti...Optimal backstepping control of quadrotor UAV using gravitational search opti...
Optimal backstepping control of quadrotor UAV using gravitational search opti...journalBEEI
 
Development of a Customized Autopilot for Unmanned Helicopter Model Using Gen...
Development of a Customized Autopilot for Unmanned Helicopter Model Using Gen...Development of a Customized Autopilot for Unmanned Helicopter Model Using Gen...
Development of a Customized Autopilot for Unmanned Helicopter Model Using Gen...Ahmed Momtaz Hosny, PhD
 
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...csandit
 
Aircraft pitch control design using LQG controller based on genetic algorithm
Aircraft pitch control design using LQG controller based on genetic algorithmAircraft pitch control design using LQG controller based on genetic algorithm
Aircraft pitch control design using LQG controller based on genetic algorithmTELKOMNIKA JOURNAL
 
Elevation, pitch and travel axis stabilization of 3DOF helicopter with hybrid...
Elevation, pitch and travel axis stabilization of 3DOF helicopter with hybrid...Elevation, pitch and travel axis stabilization of 3DOF helicopter with hybrid...
Elevation, pitch and travel axis stabilization of 3DOF helicopter with hybrid...IJECEIAES
 
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...cscpconf
 
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy ControllerIRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy ControllerIRJET Journal
 
IRJET- A Performance of Hybrid Control in Nonlinear Dynamic Multirotor UAV
IRJET- A Performance of Hybrid Control in Nonlinear Dynamic Multirotor UAVIRJET- A Performance of Hybrid Control in Nonlinear Dynamic Multirotor UAV
IRJET- A Performance of Hybrid Control in Nonlinear Dynamic Multirotor UAVIRJET Journal
 
Modified Chattering Free Sliding Mode Control of DC Motor
Modified Chattering Free Sliding Mode Control of DC MotorModified Chattering Free Sliding Mode Control of DC Motor
Modified Chattering Free Sliding Mode Control of DC MotorIJMER
 
NT-33 Report Final
NT-33 Report FinalNT-33 Report Final
NT-33 Report FinalZack White
 
PID vs LQR controller for tilt rotor airplane
PID vs LQR controller for tilt rotor airplane PID vs LQR controller for tilt rotor airplane
PID vs LQR controller for tilt rotor airplane IJECEIAES
 

Similar to LQR Controller Models Thrust Vector Controlled Rocket (20)

Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...
 
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
Optimal and Pid Controller for Controlling Camera's Position InUnmanned Aeria...
 
AIRCRAFT PITCH EECE 682 Computer Control Of Dynamic.docx
AIRCRAFT PITCH EECE 682  Computer Control Of Dynamic.docxAIRCRAFT PITCH EECE 682  Computer Control Of Dynamic.docx
AIRCRAFT PITCH EECE 682 Computer Control Of Dynamic.docx
 
Implementation Of Flight Control System Based ON KF AND PID CONTROL
Implementation Of Flight Control System Based ON KF  AND PID CONTROL Implementation Of Flight Control System Based ON KF  AND PID CONTROL
Implementation Of Flight Control System Based ON KF AND PID CONTROL
 
ENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTER
ENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTERENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTER
ENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTER
 
ENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTER
ENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTERENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTER
ENHANCED DATA DRIVEN MODE-FREE ADAPTIVE YAW CONTROL OF UAV HELICOPTER
 
Tracking and control problem of an aircraft
Tracking and control problem of an aircraftTracking and control problem of an aircraft
Tracking and control problem of an aircraft
 
Optimal backstepping control of quadrotor UAV using gravitational search opti...
Optimal backstepping control of quadrotor UAV using gravitational search opti...Optimal backstepping control of quadrotor UAV using gravitational search opti...
Optimal backstepping control of quadrotor UAV using gravitational search opti...
 
Development of a Customized Autopilot for Unmanned Helicopter Model Using Gen...
Development of a Customized Autopilot for Unmanned Helicopter Model Using Gen...Development of a Customized Autopilot for Unmanned Helicopter Model Using Gen...
Development of a Customized Autopilot for Unmanned Helicopter Model Using Gen...
 
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
 
Aircraft pitch control design using LQG controller based on genetic algorithm
Aircraft pitch control design using LQG controller based on genetic algorithmAircraft pitch control design using LQG controller based on genetic algorithm
Aircraft pitch control design using LQG controller based on genetic algorithm
 
Elevation, pitch and travel axis stabilization of 3DOF helicopter with hybrid...
Elevation, pitch and travel axis stabilization of 3DOF helicopter with hybrid...Elevation, pitch and travel axis stabilization of 3DOF helicopter with hybrid...
Elevation, pitch and travel axis stabilization of 3DOF helicopter with hybrid...
 
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
MODELING AND DESIGN OF CRUISE CONTROL SYSTEM WITH FEEDFORWARD FOR ALL TERRIAN...
 
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy ControllerIRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
 
IRJET- A Performance of Hybrid Control in Nonlinear Dynamic Multirotor UAV
IRJET- A Performance of Hybrid Control in Nonlinear Dynamic Multirotor UAVIRJET- A Performance of Hybrid Control in Nonlinear Dynamic Multirotor UAV
IRJET- A Performance of Hybrid Control in Nonlinear Dynamic Multirotor UAV
 
Modified Chattering Free Sliding Mode Control of DC Motor
Modified Chattering Free Sliding Mode Control of DC MotorModified Chattering Free Sliding Mode Control of DC Motor
Modified Chattering Free Sliding Mode Control of DC Motor
 
NT-33 Report Final
NT-33 Report FinalNT-33 Report Final
NT-33 Report Final
 
D011121524
D011121524D011121524
D011121524
 
PID vs LQR controller for tilt rotor airplane
PID vs LQR controller for tilt rotor airplane PID vs LQR controller for tilt rotor airplane
PID vs LQR controller for tilt rotor airplane
 
Formation control
Formation controlFormation control
Formation control
 

Recently uploaded

chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 

Recently uploaded (20)

chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 

LQR Controller Models Thrust Vector Controlled Rocket

  • 1. Thrust Vector Controlled (TCV) Rocket modelling using LQR Controller Project course: Advanced Control Theory (EEE4001) Project By: Mrinal Harsh REG Number: 18BEE0285 AIM To model a Thrust Vector Controlled (TCV) Rocket by using Linear Quadrature Control (LQR) technique, control the various parameters of the rocket such as Gimbal Angle, Angular Rate of change and Drift Experienced in its ascent. We would also compare the modelling technique to another control technique known as Proportional Integral Derivative (PID) control and conclude why LQR is preferred over PID when modelling TCV Rockets. INTRODUCTION The Linear Quadratic Regulator (LQR) is a well-known method that provides optimally controlled feedback gains to enable the closed-loop stable and high performance design of systems. The LQR algorithm is essentially an automated way of finding an appropriate state-feedback controller. The LQR algorithm reduces the amount of work done by the control systems engineer to optimize the controller. However, the engineer still needs to specify the cost function parameters, and compare the results with the specified design goals. Often this means that controller construction will be an iterative process in which the engineer judges the "optimal" controllers produced through simulation and then adjusts the parameters to produce a controller more consistent with design goals.
  • 2. DESIGN PROBLEM AND EQUATIONS Controlling the flight of the rocket during the launch phase as it’s the state most prone to failure due to disturbances and has to clear the atmosphere safely. Input to be controlled: Gimbal Angle (The angle between the thrust and the perpendicular) Outputs: Pitch Angle ( theta), Angular Velocity (theta dot) and Drift experienced by the TCV (Z) DRIFT- A phenomenon that occurs in vehicles that use ascent and is caused due to the wind. It makes the vehicle move sideways, causing unpredictability in our flight.
  • 3.
  • 4. MATLAB CODE: %%% STATE SPACE MODELLING %%% clc; close all; clear all; %cosntant values Iyy=2.186e8; %[Slug ft^2] m=38901; %[Slug] Tc=2.361e6; %[lbf] V=1347; %[ft/s] Cn_alpha=0.1465; g=26.10; %[ft/s^2] N_alpha=686819; %[lbf/rad] M_alpha=0.3807; %[s^-2] M_delta=0.5726; %[s^-2] x_cg=53.19; %[ft] x_cp=121.2; %[ft] F=Tc; %Other important constants Mach=1.4 %mach h=34000; %height of the launch vehicle S=116.2; %Area of the platform Fbase=1000; %base drag Ca=2.4; %coefficients D=Ca*680*S - Fbase; %drag Drag=7.15*D %total drag %state space matrix A_m=[0 1 0;M_alpha 0 M_alpha/V;-(F-Drag+N_alpha)/m 0 -N_alpha/(m*V)]; B_m=[0;M_delta;Tc/m]; C_m=diag([1 1 1]); D_m=[0;0;0]; pitch_ss=ss(A_m,B_m,C_m,D_m); %%% COST FUNCTION %%% %cost function
  • 5. SIMULINK MODELS: Main TCV Model Subsystem Model cvector={'bo' 'ro' 'go'}; R_vector=[0.1 5 10] %lowest weight to TVC angle, max to drift figure;hold on; for k=1:1 R_matrix_drift=R_vector(k); Q_matrix_drift=[1 0 1/V; 0 0 0;1/V 0 1/V^2]; [K S e]=lqr(pitch_ss,Q_matrix_drift,R_matrix_drift); for i=1:10000 e_val(:,i)=eig(A_m-B_m*K*i/10000); end plot(real(e_val(1,:)),imag(e_val(1,:)),cvector{k}); plot(real(e_val(2,:)),imag(e_val(2,:)),cvector{k}); plot(real(e_val(3,:)),imag(e_val(3,:)),cvector{k}); grid; end xlim([-2 1]); legend('R=0.1'); %LQR Gains are obtained K_1=K(1); K_2=K(2); K_3=K(3);
  • 6. RESULTS Controllability and Stability of the System For analysing a system using LQE we need to make sure that the system is controllable and observable. Since the rank of A_m matrix is same as the rank of Qc (controllability matrix) and Qb (stability matrix), the obtained state space model is controllable and stable. Root Locus of the System
  • 7. To check stability of the system we plot the eigen values as root locus. As we can see, the system is marginally stable since some values of the Root Locus graph lie on the positive plane. Take OFF Angle   The TVC input causes the take-off angle to increase initially but its stabilized once the rocket starts its upward ascent.
  • 8. Angular Rate   For a successful launch, we need the angular rate to be zero In order to cut down on the angular spin faced by the vehicle. As seen in the plot, the Angular rate increases initially and then decreases rapidly as the system is stabilized in mid-flight. Drift experienced by the Rocket
  • 9. Since we have accounted for wind speed and other physical factors in our state space modelling equations, the system experiences a drift and a motion caused by it that like other parameters are quite large at start but are stabilized successfully mid- flight. Comparisons with PID Control As we can see in the graph alongside, PID controller used for a similar simulation would give us faster stabilizing rate but the overshoot is greater. This gives an insight as to why PID control can be used for small launch system but for larger, real life system LQR control is used as a slightly greater time taken to stabilize Is compensated by the lower overshoot which makes the system safer, especially during the initial ascent.   Conclusion:
  • 10. The given state space model was checked for stability and controllability and the outcome was that it satisfied the given conditions. It was judged marginally stable by the help of its root locus plot. The system design was successful as we could control and stabilize our three control parameters ie. Take off angle, angular rate and drift faced by the rocket. We compared the two most common control techniques for- Linear Quadratic Control (LQC) and Proportional Integral & Derivative control (PID) and saw why the latter is used in real life simulations.