Dhruba Paul: Hruba
Dhruba Paul: Hruba
8/20/2012
DHRUBA
Dhruba Paul
Dual(Ae & Av)/09/08 A4717209008
6 DOF Simulation
Table of Contents 1. Development of the 6DOF Nonlinear Model in MATLAB/Simulink 1.2Coordinate System 1.2.1 Euler Method 1.3 The 6DOF Equations of Motion System 1.4 Aerodynamics Module
List of Figures Figure 1 Figure 2 Dhruba/Coefficients Figure 2.1 dhruba/Coefficients/Body rate damping Figure 2.1.1. dhruba/Coefficients/Body rate damping/Coefficient w. r. t r Figure2.2 dhruba/Coefficients/Coefficient w r t actuators Figure 2.2.1 dhruba/Coefficients/Coefficient w r t actuators/Rudder/Angle Conversion Figure 2.2.2 dhruba/Coefficients/Coefficient w r t actuators/Coeff w r t elaevator Figure 2.2.3 dhruba/Coefficients/Coefficient w r t actuators/Coefficient w rt aileron Figure 2.3 dhruba/Coefficients/Coefficient wrt to alpha beta Figure: 3 Dhruba/gravity model Figure:4 Dhruba/Flight Parameters Figure: 5 Dhruba/Servo Command
2|Page
6 DOF Simulation
Acknowledgement I express my sincere gratitude to, my mentor and guide, Prof M. S. Prasad for his able guidance, continuous support and cooperation throughout my research, without which the present work would not have been possible. I would also like to thank all my friends for the constant support and help in the successful completion of my project. And above all, to the Almighty God, whose never ceaseing love and for the continued guidance and protection. Thank you to all mentioned above.
SIGNATURE:
(STUDENT.)
3|Page
6 DOF Simulation
6 DOF Simulation
Equation 1
Since the Euler angles are functions of time, they need to be updated at each time step throughout the simulation process. The Euler kinematic equations are introduced for this purpose. Using the numerical integration method, the equations can be solved to compute the rate of change of the Euler angles in each given time step. The Euler kinematic equations are shhown below.
Equation 2 Note that when the pitch angle () is equal to 90 degrees, the kinematic equations cannot be defined and thus cannot be solved. This is known as the gimbal lock singularity problem.
5|Page
6 DOF Simulation
Forces Equations:
Equation 4
Equation 4
Moment Equations:
Equation 5
From a mathematical viewpoint, Eq.4 and 5 and form a set of six nonlinear differential equations with six unknown variables (u, v, w, p, q, r). Each variable is presented in different equations and interacts with the others. Therefore, the equations cannot be solved individually. The total solution for the system can be obtained only by applying numerical integration to all equations for each given time step.
6|Page
6 DOF Simulation
For the force equations, the inputs for the system are the three major forces applied to the aircraft. These are the aerodynamic forces, thrust forces, and gravity forces. These forces are nonlinear and time variant. The components of each force are broken down in detail and are discussed in Section , Section and Section The inputs for the moment equation are the three moment terms applied to the three aircraft Body-fixed axes. These moments are generated from the aerodynamic and thrust forces with respect to the aircrafts center of gravity (C.G.). As the gravity forces are defined at the C.G. location, no moment is introduced by the gravity forces. The assumption is made that the thrust line passes through the C.G. Therefore, the terms that contribute to the moment equations are only associated with the aerodynamic forces. These aerodynamic moment terms are broken down one-by-one and are presented in Section. The variables P, Q, R from the 6DOF equations are applied to the Euler kinematic equations Eq. 6-8 to update the euler terms. The updated euler terms are then used for vector coordinate transformations. The 6DOF nonlinear equations are implemented in the 6DOF ECEF (Euler) block from the Aerospace Blockset in MATLAB/Simulink as shown in Appendix A.
7|Page
6 DOF Simulation
The aerodynamic forces are composed of three forces, which are the lift, drag, and sideforce. These forces generate moments with respect to the center of gravity about the X, Y, Z-axis and are described as the rolling moment, pitching moment, and yawing moment. The component build-up method is used to generate the forces and moments. The total forces and moments
8|Page
6 DOF Simulation
that act on the aircraft are simply the summation of the forces and moments contributed by each component. The aerodynamic forces and moments are first described as dimensionless coefficients, which are associated with the stability and control derivatives given in the modeling results. Equations above are used to implement the aerodynamic force and moment coefficients. Note that when modeling the aircraft in this study, only one set of derivative values at the trim speed. The six aerodynamic force and moment equations are implemented in the subsystem Aerodynamics Coefficients as shown on Appendix . This subsystem is broken down into three different subsystems They are: 1) Coefficient w.r.t. Body Rate, 2) Coefficient w.r.t. Alpha and Beta Angles, and 3) Coefficient w.r.t. Deflection Angles for each Control Surface, which creates the inputs for equations shown below. Starting with the first vector, they are the drag coefficient, sideforce coefficient, lift coefficient, rolling moment coefficient, pitching moment coefficient, and yawing moment coefficient equations, respectively. They are illustrated on pages through in Appendix . The final dimensional values of the forces and moments are then computed from the dimensionless coefficients using the following equations.
9|Page
6 DOF Simulation
The force components shown in Eqs, ,are defined in the stability axis. To make them useable within Eq., which is defined in the Body-fixed axis, a coordinate frame transformation is needed to transfer the stability axis forces to Body-fixed axis forces using the equations expressedbelow.
The implementation of force and moment equations is within the Aerodynamic Forces and Moments block from the Aerospace Blockset in MATLAB/Simulink and is shown on page in Appendix A .
10 | P a g e
6 DOF Simulation
11 | P a g e
Scope2
X e (ft) Coef
s tab xyz
F F body Add
(lbf)
be
V (ft/s)
b
<signal5>
Fixed Mass M
xyz
Temperature
Pressure
Flight Parameters
APPENDIX A
Actuator
6 DOF Simulation
Pilot command
12 | P a g e
Servo Command
Figure 1
6 DOF Simulation
Dhruba/Coefficients
Figure 2
13 | P a g e
6 DOF Simulation
Product
-KGain
Coefficient w. r. t p
-KProduct1 Gain1
-KProduct2 Gain2
Add
<signal6>
2 Flight Parameters
<signal2>
14 | P a g e
6 DOF Simulation
Coefficient w. r. t r
Figure 2.1.1. dhruba/Coefficients/Body rate damping/Coefficient w. r. t r
Coefficient w.r t q
Figure 2.1.2. dhruba/Coefficients/Body rate damping/Coefficient w.r t q
15 | P a g e
6 DOF Simulation
Coefficient w r t actuators
Figure2.2 dhruba/Coefficients/Coefficient w r t actuators
Angle Conversion
Figure 2.2.1 dhruba/Coefficients/Coefficient w r t actuators/Rudder/Angle Conversion
16 | P a g e
6 DOF Simulation
Coeff w r t elaevator
Figure 2.2.2 dhruba/Coefficients/Coefficient w r t actuators/Coeff w r t elaevator
Coefficient w rt aileron
Figure 2.2.3 dhruba/Coefficients/Coefficient w r t actuators/Coefficient w rt aileron
17 | P a g e
6 DOF Simulation
18 | P a g e
6 DOF Simulation
19 | P a g e
6 DOF Simulation
Coefficient alpha
Figure 2.3.1 dhruba/Coefficients/Coefficient wrt to alpha beta/Coefficient alpha
20 | P a g e
6 DOF Simulation
21 | P a g e
6 DOF Simulation
22 | P a g e
6 DOF Simulation
Dhruba/gravity model
Figure: 3
23 | P a g e
6 DOF Simulation
Dhruba/Servo Command
Figure: 5
24 | P a g e
6 DOF Simulation
25 | P a g e
6 DOF Simulation
Future Work
The USAF digital DATCOM program should be used as another modeling method to potentially improve the models used in this research. The 6DOF model can be interfaced with other existing autopilot systems to develop a hardware-in-the-loop simulation platform.
References
1. Center of Remote Sensing of Ice Sheets Research Institute, Lawrence, KS, URL: http://www.cresis.ku.edu [cited 19 September 2008]. 2. Bernstein, L., Bosch, P., et. al., Climate Change 2007: Synthesis Report. Summary for Policy Markers, Intergovernmental Panel on Climate Change [online publication], URL: http://www.ipcc.ch/pdf/assessment-report/ar4/syr/ar4_syr_spm.pdf [cited 20 August 2008]. 3. Donovan, W. R., The Design of an Uninhabited Air Vehicle for Remote Sensing in the Cryosphere, Masters Thesis, Department of Aerospace Engineering, The University of Kansas, Lawrence, KS, 18 December 2007. 4. Donovan, W. R., CReSIS UAV Critical Design Review: The Meridian, Technical Report 123, Center for Remote Sensing of Ice Sheets, The University of Kansas, Lawrence, KS, 25 June 2007. 5. Underwood, S., Performance and Emission Characteristics of an Aircraft Turbo diesel Engine using JET-A Fuel, Masters Thesis, Department of Aerospace Engineering, The University of Kansas, Lawrence, KS, 05 May 2008.
6.Anderson, J. D., and Wendt, J. F., Computational Fluid Dynamics: An Introduction, 2nd ed., Springer-Velag, New York, 1996. 7. Anderson, J. D., Computational Fluid Dynamics: The Basics with Applications, McGraw Hill Inc., 1995.
8. Phillips, W. F., Mechanics of Flight, John Wiley & Sons, Hoboken, NJ, 2004. 9. Pamadi, B. N., Performance, Stability, Dynamics, and Control of Airplanes, 2nd edition, AIAA Education Series, Reston, VA, 2004. 10. Roskam, J., Aircraft Flight Dynamics and Automatic Flight Controls (Part I), DAR Corporation, Lawrence, KS, 2003.
11,MATLAB/Simulink, Software Package, Version R2012-a, The MathWorks Inc., Natick, MA.
26 | P a g e