Vous êtes sur la page 1sur 6

Model Pitch Hold Autopilot Structure of a Fighter Aircraft

August 26, 2016

Institute of Space Technology, Islamabad.


Flight Dynamics & Controls Center
Department of Aeronautics & Astronautics
Institute of Space Technology, Islamabad

1. We have to model following structure in Simulink

Where Kq = - 2.5 ; Kth = 5; and system (aircraft) is defined by following transfer functions
𝑞𝑞(𝑠𝑠) −4.66𝑠𝑠(𝑠𝑠 + 0.133)(𝑠𝑠 + 0.269)
= 2 𝑟𝑟𝑟𝑟𝑟𝑟. 𝑠𝑠 −1 /𝑟𝑟𝑟𝑟𝑟𝑟
𝛿𝛿𝐸𝐸 (𝑠𝑠) (𝑠𝑠 + 0.015𝑠𝑠 + 0.021)(𝑠𝑠 2 + 0.911𝑠𝑠 + 4.884)

𝜃𝜃(𝑠𝑠) −4.66(𝑠𝑠 + 0.133)(𝑠𝑠 + 0.269)


= 2 𝑟𝑟𝑟𝑟𝑟𝑟/𝑟𝑟𝑟𝑟𝑟𝑟
𝛿𝛿𝐸𝐸 (𝑠𝑠) (𝑠𝑠 + 0.015𝑠𝑠 + 0.021)(𝑠𝑠 2 + 0.911𝑠𝑠 + 4.884)

2. Define Transfer Functions:

>> tf_q = tf(-4.66*conv([1 0.133 0],[1 0.269]),conv([1 0.015 0.021],[1 0.911 4.884]))
>> tf_th = tf(-4.66*conv([1 0.133],[1 0.269]),conv([1 0.015 0.021],[1 0.911 4.884]))
>> sys = [tf_th;tf_q]

3. Open New, Blank Simulink Model

Page 1 of 5
Flight Dynamics & Controls Center
Department of Aeronautics & Astronautics
Institute of Space Technology, Islamabad

4. A new blank window will open as shown below, open “Simulink Library Browser” to add
components.

Page 2 of 5
Flight Dynamics & Controls Center
Department of Aeronautics & Astronautics
Institute of Space Technology, Islamabad

5. First we will add a “Linear Time Invarying (LTI)” System block, go to “Control Systems
Toolbox” select “LTI System” block and drag & drop it to Simulink model.

6. Similarly add following components;


• 2 x Simulink » Commonly Used Blocks » Gain
• 2 x Simulink » Commonly Used Blocks » Sum
• 1 x Simulink » Commonly Used Blocks » Demux
• 1 x Simulink » Sinks » Scope
• 1 x Simulink » Sources » Step

And rearrange them as shown below and save the file by “Ctrl+S”

Page 3 of 5
Flight Dynamics & Controls Center
Department of Aeronautics & Astronautics
Institute of Space Technology, Islamabad

7. Now we have to modify the block accordingly, first double click on one Sum block a
dialog box will open, as shown below, change list of signs from “++” to “+-” and press
ok. Similarly modify the other Sum block.

8. Now Gain block, you can change their names by clicking on their existing names, and
change values by double clicking on them.

9. Now double click the LTI Systems block, type already defined system, and press ok.

Page 4 of 5
Flight Dynamics & Controls Center
Department of Aeronautics & Astronautics
Institute of Space Technology, Islamabad

10. All blocks are defined now, only wiring is remaining. You can connect any two blocks by
click on an input/output and hold the button and drag to another output/input and release
the button. Similarly draw all connections as shown in figure below.

11. Now press the green Play button to simulate the model. And then double click Scope to
see results.

Page 5 of 5

Vous aimerez peut-être aussi