46
1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

Embed Size (px)

Citation preview

Page 1: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

1

ME-114Final Project

Timothy Burkhard - Phil Barat - John Gyurics

Page 2: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

2

Background:

Timothy Burhard and John Gyurics have recently finished designing a UAV model aircraft for the AUVSI competition. The design phase will soon be followed by building the composite aircraft, however the design will first be validated performing simulation analysis and also by building a much cheaper balsa version of it. Phil Barat is a Kite-Boarding enthusiast, who spends every waking moment possible out at the lake being tossed around by the forces of the wind, and is also very interested in the aero-dynamics involved in flight. For our Vibration and Controls project we decided to merge our goals and interests, and joined forces to develop a study of the longitudinal stability of an aircraft.

Page 3: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

3

Objective:

Perform a longitudinal Dynamic stability study on an aircraft, by working with the transfer functions that relates speed to the elevator in particular. Employ Matlab as our guiding tool to derive the Step-Response, Impulse Response, Root Locus, Bode Diagram, and the Sisotool. In “Airplane Flight Dynamics and Automatic Flight Controls”, Jan Roskam did a superb job at deriving the transfer functions for different style aircraft, and also demonstrating the correlation between a mass-spring-dampener system and a general aircraft dynamics system. Some of our work will utilize the resources made available by Jan, and further investigate and validate the work.

Page 4: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

4

Along The Way:

We started out by first analyzing a simple circuit, and generating the Root Locus Diagram, Body Diagram, Step Response Diagram and Impulse Response Diagram. We later turned our attention to Simulink, and performed an overall aircraft control loop analysis. Finally we tackled the Longitudinal Dynamic Stability Study on an aircraft, by performing the Step-Response, Impulse Response, Root Locus, Bode Diagram, and the development of the Sisotool.

Page 5: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

5

ElectronicCircuit

Page 6: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

6

Bond Graph

Page 7: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

7

MATLAB OUTPUT

From the circuit, we enter the parameters of the two inductors, the resistor, and the capacitor in the campgsym.m file

These lines need to be unsuppressed as well, to look like what is shown below:

I2 = 2 ; R4 = 1 ; C6 = 1 ; I7 = 3 ;

Page 8: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

8

MATLAB OUTPUT

Then, the e7 (the efforts link which represents voltage) bond graph link must be chosen to produce a transfer function, state-space form, and related figures. It will need to look like this:

% e7=P2/I2*R4-P7/I7*R4-Q6/C6 fprintf ('\n Output # 1 is e7' ) C(1,:) = [-1/C6,-1/I7*R4,1/I2*R4]; D(1,:) = [0];

Page 9: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

9

MATLAB OUTPUT

State-space form: A MATRIX [ 0 1/3 0 ] [ ] [-1 -1/3 1/2 ] [ ] [ 0 1/3 -1/2] C MATRIX [-1 -1/3 1/2]

B MATRIX [0] [ ] [0] [ ] [1]

D MATRIX 0

Page 10: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

10

MATLAB OUTPUT

Characteristic Polynomial

3 2 s + 5/6 s + 1/3 s +

1/6

Transfer Functions Matrix H ...

2

s 3 --------------------- 3 2 6 s + 5 s + 2 s + 1

Page 11: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

11

BODE Diagram and Root Locus

Page 12: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

12

Step Response

Page 13: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

13

Impulse Response

Page 14: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

14

Impulse Response

We can also use the SISOTOOL feature in MATLAB to design the control for this circuit. The following can be entered in the MATLAB command screen:

num =[1 0 0] num = 1 0 0 >> den=[6 5 2 1] den = 6 5 2 1 >> g=tf(num,den) Transfer function: s^2 ----------------------- 6 s^3 + 5 s^2 + 2 s + 1 >> sisotool(g)

Page 15: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

15

Impulse Response

By moving the cursor over the plot, and following the directions at the bottom dialogue box, you can adjust the loop gain to design a desired system

Page 16: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

16

Final DesignFront View

Page 17: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

17

Final DesignSide View

Page 18: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

18

Final DesignTop View

Page 19: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

19

Final DesignIsometric View

Page 20: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

20

Page 21: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

21

Explanation of Static Stability

Static stability: A statically unstable

body will tend to accelerate away from its equilibrium position when disturbed.

A neutrally stable body will not accelerate toward or away from any position when disturbed; i.e., there is no particular equilibrium position.

A positively stable body will accelerate toward its equilibrium position when disturbed.

Page 22: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

22

Axes: Movement about the lateral

axis drawn from the nose to the tail of the aircraft is called roll.

Movement about the longitudinal axis drawn from wingtip to wingtip is called pitch.

Movement about the directional axis extending vertically through the fuselage is called yaw.

Explanation of Aircraft Axes

Page 23: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

23

Lateral (roll) stability is determined by:

dihedral and wing placement.

Center of Lift

.75”

Lateral Stability

Page 24: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

24

Longitudinal (pitch) stability is determined by the longitudinal stability margin (LSM)

Center of Lift

Center of Gravity

LSM = 1”

Longitudinal Stability

Page 25: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

25

Aerodynamic Requirements: “Positive static stability about all three axes”Directional Stability

Direction (yaw) stability is determined by the directional stability margin (DSM)

Center of Lateral Area

Center of Gravity

DSM = 2”

Page 26: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

26

Airframe Design: WingsThe Concept of an Airfoil

An airfoil profile is a 2-D shape that is designed to behave in a particular way when subjected to external flow.

Airfoils are usually designed to provide a desired coefficient of lift (CL) over a range of angles of attack (AoA) and Reynold’s numbers (Re) while minimizing drag.

The characteristic behavior of an airfoil is empirically derived from wind tunnel testing and is plotted in Polar Curves.

Page 27: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

27

Airframe Design: WingsAirfoil Selection

At a cruising speed of 50 mph the UAV must generate a CL of .202 in order to stay aloft.

At a landing speed of 18 mph the UAV must generate a CL of 1.26 in order to stay aloft.

The NACA 3412 airfoil provides these lift coefficients at low drag.

Page 28: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

28

Airframe Design: FuselageDrag Reduction

Top and side projections of the fuselage are NACA low-drag bodies.

A front projection of the fuselage is an ellipse.

Page 29: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

29

General Stability

Source: Airplane Flight Dynamics and Automated Flight Controls,

Jan Roskam

Page 30: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

30

Transfer Functions for all three axes

Source: Airplane Flight Dynamics and Automated Flight Controls,

Jan Roskam

Page 31: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

31

Overall Aircraft Control Loop

Page 32: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

32

Airspeed Control by Elevator DeflectionPID Loop

Page 33: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

33

Roll Control by Aileron DeflectionPI Loop

Page 34: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

34

Altitude Step ResponseAirspeed Control = 20 knots

Page 35: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

35

Altitude Step ResponseAirspeed Control = 25 knots

Page 36: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

36

Dynamic Stability Criteria

A linear system is stable if and only if the real parts of the roots of the characteristic equation of the system are negative.

A linear system is convergent (stable) if the roots of the characteristic equation of the system are real and negative.

A linear system is divergent (unstable) if the roots of the characteristic equation of the system are real and positive.

A linear system is oscillatory convergent (stable) if the real parts of the roots characteristic equation of the system are negative.

A linear system is oscillatory divergent (unstable) if the real parts of the roots of the characteristic equation of the system are positive.

A linear system is neutral stable if one of the roots of the characteristic equation of the system is zero or if the real parts of the roots of the characteristic equation of the system is zero.

Page 37: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

37

Transfer Function Matrix

Page 38: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

38

Speed to Elevator transfer function

Page 39: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

39

Step Response

Page 40: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

40

Impulse Response

Page 41: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

41

Root Locus

Page 42: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

42

Bode Diagram

Page 43: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

43

SISO

Page 44: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

44

State - Space

Page 45: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

45

References

1. Airplane Flight Dynamics and Automated Flight Controls,

Jan Roskam

2. Aerosim Flight Control Blockset Help Files

Page 46: 1 ME-114 Final Project Timothy Burkhard - Phil Barat - John Gyurics

46

Questions?