Top Banner
61
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Aifcraft pitch
Page 2: Aifcraft pitch

Group members

Muhammad Bilal (11-EE-074)

Waheed Ashfaq (11-EE-140)

Farhaj Ishtiaq ch. (11-EE-031)

HITEC UNIVERSITY TAXILA CANTT PAKISTAN(DEPARTMENT OF ELECTRICAL ENGINEERING)

Page 3: Aifcraft pitch

TOPIC

Aircraft Pitch

Page 4: Aifcraft pitch

CONTENTS:

Aircraft Pitch System Modeling

Aircraft Pitch System Analysis

Aircraft Pitch PID Controller Design

Aircraft Pitch Root Locus Controller Design

Aircraft Pitch Simulink Modeling

Page 5: Aifcraft pitch

What is pitch angle and angle of attack in

air-craft

Page 6: Aifcraft pitch

Pitch angle: is the angle between the center line of the roll axis of the aircraft (nose to tail, the longitudinal axis) and the horizon.

Angle of attack is the angle between the chord line of an airfoil and the relative wind through which it is moving.

The angle of attack and the pitch angle are usually different in flights

Sometimes the pitch angle may be positive or negative in normal flight, but the angle of attack is always positive.

Page 7: Aifcraft pitch

Principle of flight

Page 8: Aifcraft pitch

There are 4 forces involved with flight:i. Lift

ii. Weight

iii. Thrust

iv. Drag

Page 9: Aifcraft pitch

AXIS OF FLIGHT

Page 10: Aifcraft pitch

Three axis’ of flight include:Pitch, Roll, and Yaw

1. Pitch is controlled by the air flow across the elevators.

1. Yaw is controlled by the air flow across the rudder

1. Roll is controlled by the air flow across the ailerons

Page 11: Aifcraft pitch

Design Requirements

Of Air-craft

a) Overshoot less than 10%

b) Rise time less than 2 seconds

c) Settling time less than 10 seconds

d) Steady-state error less than 2%

Page 12: Aifcraft pitch

Aircraft Pitch: System Modeling

Page 13: Aifcraft pitch

System Modeling

• The of equations governing the motion of an aircraft are a very complicated set of six nonlinear coupled differential equations.

• However, under certain assumptions, they can be decoupled and linearized into longitudinal and lateral equations. Aircraft pitch is governed by the longitudinal dynamics. In this example we will design an autopilot that controls the pitch of an aircraft.

Page 14: Aifcraft pitch

Conti……

We will assume that the aircraft is in steady-state at

constant altitude and velocity.

Thus, the thrust, drag, weight and lift forces balance each

other in the x- and y-directions.

We will also assume that a change in pitch angle will not

change the speed of the aircraft under any circumstance

(unrealistic but simplifies the problem a bit).

Under these assumptions, the longitudinal equations of

motion for the aircraft can be written as follows:

Page 15: Aifcraft pitch
Page 16: Aifcraft pitch

Transfer Function:

Before finding the transfer function and state-space models,

let's plug in some numerical values to simplify the modeling

equations shown above:

Above equation become:

Page 17: Aifcraft pitch

Transfer Function:

To find the transfer function of the above system, we need to take the Laplace transform of the above modeling equations.

The Laplace transform of the above equations are shown below.

Page 18: Aifcraft pitch

MATLAB

Representation:

Page 19: Aifcraft pitch

Output:

Page 20: Aifcraft pitch

Aircraft Pitch: System

Analysis

Page 21: Aifcraft pitch

System analysis contain:

Open loop response.

Close loop response.

Page 22: Aifcraft pitch

Open loop response:

MATLAB (M-FILE CODE)

Page 23: Aifcraft pitch

Output:

From the above plot, we see that the open-loop response does not satisfy the design criteria at all. In fact, the open-loop response is unstable.

Stability of a system can be determined by examining the poles of the transfer function where the poles can be identified using the MATLAB command pole as shown below.

Page 24: Aifcraft pitch

Pole(P_pitch)

As indicated by this function, one of the poles of the open-loop transfer function is on the imaginary axis while the other two poles are in the left-half of the complex s-plane.

A pole on the imaginary axis indicates that the free response of the system will not grow unbounded, but also will not decay to zero. Even though the free response will not grow unbounded.

Page 25: Aifcraft pitch

Closed-loop response:

In order to stabilize this system and eventually meet our given design requirements, we will add a feedback controller.

Page 26: Aifcraft pitch

Closed loop code:

Page 27: Aifcraft pitch

OUTPUT

Page 28: Aifcraft pitch

conti…..

The above plot again demonstrates that this closed-loop system does not meet the given design requirements.

Page 29: Aifcraft pitch

Aircraft Pitch:

PID Controller Design

Page 30: Aifcraft pitch

PID Controller Design

In PID controller design we cover:

• Proportional control

• PI control

• PID Control

1. In PID controller designing we use SISO tool.

2. The main advantage of using the SISO tool Design within MATLAB is that it have the automated tuning capabilities which design the PID controller

Page 31: Aifcraft pitch
Page 32: Aifcraft pitch

Design Criteria For PID:

Page 33: Aifcraft pitch

Proportional control

Let's begin by designing a proportional controller of the form C(s) = Kp. The SISO Design Tool we will use for design can be opened by typing SISOtool(P_pitch) at the command line.

This will open both the SISO Design Task window as well as the Control and Estimation Tools Manager window.

Page 34: Aifcraft pitch

Since our reference is a step function of 0.2 radians, we can set the precompensator block F(s) equal to 0.2 to scale a unit step input to our system.

This can be accomplished from the Compensator Editor tab of the open window. Specifically, choose F from the drop-down menu in the Compensator portion of the window and set the compensator equal to 0.2 as shown in the figure below

Page 35: Aifcraft pitch

To see the performance of our system with this controller, go to the Analysis Plots tab of the Control and Estimation Tools Manager window.

Then choose a Plot Type of Step for Plot 1 in the Analysis Plots section of the window as shown below. Then choose a response of Closed loop r to y for Plot 1 as shown in the figure below:

Page 36: Aifcraft pitch
Page 37: Aifcraft pitch

The resulting performance is improved, though the settle time is still much too large. We will likely need to add integral and/or derivative terms to our controller in order to meet the given requirements.

Page 38: Aifcraft pitch

PI control

Page 39: Aifcraft pitch

From inspection of the above, notice that the addition of integral control helped reduce the average error in the signal more quickly.

Unfortunately, the integral control also made the response more oscillatory, therefore, the settle time requirement is still not met.

the overshoot requirement is no longer met either. Let's try also adding a derivative term to our controller

Page 40: Aifcraft pitch

PID Control

Increasing the derivative gain Kd in a PID controller can often help reduce overshoot.

Therefore, by adding derivative control we may be able to reduce the oscillation in the response a sufficient amount that we can then increase the other gains to reduce the settling time.

Let's test our hypothesis by changing the Controller type to PID and again clicking the Update Compensator button. The generated controller is shown below.

Page 41: Aifcraft pitch

Output of PID:

Page 42: Aifcraft pitch

Conti…….

The response shown above meets all of the given requirements as summarized below.

Overshoot = 5% < 10%

Rise time = 1.2 seconds < 2 seconds

Settling time = 5 seconds < 10 seconds

Steady-state error = 0% < 2%

Therefore, this PID controller will provide the desired performance of the aircraft's pitch.

Page 43: Aifcraft pitch

Aircraft Pitch: Root Locus Controller Design

Page 44: Aifcraft pitch

M-File Code For Root Locus:

Page 45: Aifcraft pitch

Root Locus Plot:

Page 46: Aifcraft pitch

Root-Locus plot:

Page 47: Aifcraft pitch

Output Of Root Locus:

This diagram meets all the requirements which we needed except settling time which we required 10sec but here it is 35.1sec

Page 48: Aifcraft pitch

Conti…..

In order to get the required criteria we move the pink boxes on the root locus and dragging the box along the locus in the direction of increasing K.

The step response plot will automatically update

The effect of increasing K to a value of 200 will be that the two slowest closed-loop poles will approach closed-loop zeros thereby making their effect minimal

Page 49: Aifcraft pitch

Conti….

A loop gain of K = 200 keeps all of the poles on the real-axis, leading to no overshoot and the presence of the integrator in the plant guarantees zero steady-state error.

Therefore, this controller meets all of the given requirements as shown in the figure below.

Page 50: Aifcraft pitch

Our Required Outputwhen K=200

Page 51: Aifcraft pitch

Aircraft Pitch: Simulink Modeling

Page 52: Aifcraft pitch

In Simulink Model contains:

Building the state-space model

Generating the open-loop and closed-loop response

Page 53: Aifcraft pitch

State-Space Model

Page 54: Aifcraft pitch

Conti….

Page 55: Aifcraft pitch

Simulink models:

Open-loop response:

Page 56: Aifcraft pitch

Open-Loop Response Output

Page 57: Aifcraft pitch

Conti…..

This response is unstable and identical to that obtained in the Aircraft Pitch: System Analysis.

In order to view a stable response, we will now quickly add the state-feedback control gain K.

When gain of K is added our new Simulink diagram of open-loop response becomes…….

Page 58: Aifcraft pitch

Simulink modelclosed-loop response:

Page 59: Aifcraft pitch

Closed-Loop Response Output

Page 60: Aifcraft pitch

Conti…

The output of closed-loop response is similar to Aircraft Pitch: State-Space Methods for Controller Design.

Where the state-feedback controller was designed.

Page 61: Aifcraft pitch