You are on page 1of 13

UCK 441E

Flight Stability and Control


(2014 2015 Fall Semester)

MATLAB Control Toolbox Applications

Contents
Control System Basics
Root Locus Basics
Linear Modeling of Cessna 182

- Obtaining state-space representation of longitudinal


and lateral motion.
Control System Design Applications
- Roll control system
- Matlab SISO (Single-input-single-output) Tool
- Simulink Application

2/XX

Control System Basics

3/XX

Root Locus Basics


The basic characteristics of the transient response of a
closed-loop system is closely related to the location of
the closed-loop poles.

In some systems,
- A simple gain adjustment may move the c/l poles to
desired location. => Root locus design

If the gain adjustment alone does not yield a desired


result;
- Add a compensator to the system => Compensator
design
o

Lead Compensator

Lag Compensator

Lag-Lead Compensator
4/XX

Root Locus Basics


Consider a system;
+

- Open loop transfer function =>


- Closed loop transfer function =>

5/XX

Root Locus Basics


Basic Commands
- sys = tf(num,den)
- sys = ss(A,B,C,D)
- sys = series(sys1, sys2)
- sys = parallel(sys1, sys2)
- sys = feedback(sysg, sysh)
- [z,p,k] = tf2zp(num,den)
- [num, den] = zp2tf(z,p,k)
- [A,B,C,D] = tf2ss(num,den)
- [num,den] = ss2tf(A,B,C,D,ui)

6/XX

Root Locus Basics


Basic Commands
- [num, den] = ord2(wn,xsi)
- y = step(sys,t)
- [y,x,t] = step(A,B,C,D,ui,t)
- S = stepinfo(sys)
- [y,t] = impulse(num,den,t) or
- [y,t] = impulse(sys,t)
- [y,x,t] = impulse(A,B,C,D,ui,t)
- y = lsim(A,B,C,D,u,t)
- y = lsim(sys,u,t)
- [y,x] = initial(A,B,C,D,initialStates,t)
- rlocus(ol_num, ol_den)
7/XX

Linear Modeling of Cessna


182
Longitudinal Model

Lateral Model

8/XX

Approximations
Roll approximation

9/XX

Control System Design


Applications
Roll Attitude Control System
+

Actuat
or

Roll
Dyn.

10/XX

Control System Design


Applications
Roll Attitude Control System Design on M-File
- Obtain the roll mode transfer function
- Write the TF on a Matlab M-file
- Write the actuator TF on M-File
- Obtain the Open Loop Transfer Function
(actuator*A/C)
- Use rlocus command to obtain the controller gain
- Close the loop by using feedback command
- Obtain the step response by using step comand

11/XX

Matlab SISOTOOL

12/XX

Simulink Application

13/XX

You might also like