1 / 36

MATHEMATICAL MODELING

MATHEMATICAL MODELING. Example 5- Aircraft 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

Download Presentation

MATHEMATICAL MODELING

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MATHEMATICAL MODELING

  2. Example 5- Aircraft Pitch • Pitch angle: is the angle between the centerline 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.

  3. 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.

  4. Principle of flight

  5. There are 4 forces involved with flight: i. Lift ii. Weight iii. Thrust iv. Drag

  6. Axis of flight Three axis’ of flight include: Pitch, Roll, and Yaw 1. Roll is controlled by the air flow across the ailerons 2. Yaw is controlled by the air flow across the rudder 3. Pitch is controlled by the air flow across the elevators.

  7. Design Requirements of Air-craft • 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%

  8. Aircraft 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.

  9. Aircraft pitch is governed by the longitudinal dynamics. In this example we will design an autopilot that controls the pitch of an aircraft. • We will assume that the aircraft is in steady-state at constant altitude and velocity.

  10. 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).

  11. Longitudinal equations of motion

  12. Longitudinal equations of motion

  13. 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:

  14. 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.

  15. Computational Model

  16. Output

  17. Aircraft Pitch: System Analysis System analysis contain: • Open loop response. • Close loop response.

  18. Open loop response: MATLAB (M-FILE CODE)

  19. Output:

  20. Conclusions 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.

  21. Closed-loop response MATLAB (M-FILE CODE)

  22. MATLAB (M-FILE CODE)

  23. Output

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

  25. Example 6: Trajectory Motion with Aerodynamic Drag y axis x axis

  26. Example 6 Solve the following differential equations for cd={0.1, 0.3,0.5} N/m.

  27. Solution • To solve the given two differential equations we have to reduce each of them into two first order differential equations. Let

  28. The above equations reduce to the following first order differential equations.

  29. Computational Model • Type the following code in a separate m-file. • The system derivatives must be written in a separate m-file. • Since the name of the function is ‘airdrag’, save the m-file as ‘airdrag.m’ in the current directory.

  30. Computational Model function yp = airdrag(t,y) m = 10; cd = 0.2; g = 9.81; w = m*g; yp = zeros(4,1);

  31. Computational Model yp(1) = y(2); yp(2) = ((-cd/m)*y(2)*(y(2)^2+y(4)^2)^(0.5)); yp(3) = y(4); yp(4) = ((-w/m)-(cd/m)*y(4)*(y(2)^2+y(4)^2)^(0.5)); • Open a new m-file and type the following code for the main program.

  32. Computational Model • This program calls the function ‘airdrag.m’ in order to solve the differential equations. tspan=[0 5]; y0=[0;100;0;10] [t,y]=ode45('airdrag',tspan,y0); plot(y(:,1),y(:,3)) grid

  33. Computational Model xlabel(‘X-Displacement’) ylabel(‘Y-Displacement’) title(‘X vs Y Displacement’) hold on;

  34. Oscillating Model

  35. Conclusions It can be seen from the plots that as the coefficient of the aerodynamic drag is increased the maximum value of the displacement in the y direction decreases. The value of the displacement in the x direction, for which the displacement in the y direction is maximum, also decreases.

  36. Thank You!

More Related