Dr. Bilal Siddiqui of DHA Suffa University conducted a two day workshop on softwares used extensively in aerospace industry. The first session was organized by ASME's student chapter at DSU on Friday, the 2nd of December, 2016, which covered USAF Stability and Control DATCOM software used for aerodynamic prediction and aircraft design. Students and faculty from DSU as well as those from Pakistan Airforce Karachi Institute of Economics and Technology (PAF KIET) attended the session. The second session was held on Tuesday, 6th of December at PAF KIET's Korangi Creek campus and focused on interfacing DATCOM with Matlab and Simulink softwares for aircraft simulator design. Students were given hands on training on the softwares. It is worth noting that Dr. Bilal also delivered a lecture titled "It isn't exactly Rocket Science: The artsy science of rocket propulsion" at PAF KIET on the 6th October, as part of an effort to popularize rocket science among academia and changing the scientific culture in Pakistan.
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
ย
2 Day Workshop on Digital Datcom and Simulink
1. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Project TitleWorkshop: Digital DATCOM
Dr. Bilal Ahmed Siddiqui
2. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
1. Introduction to Aerodynamics
2. Stability and Control
3. USAF DATCOM
4. Digital DATCOM
5. Enhancements
6. Missile DATCOM
7. Sample Cases
8. Some Practice
9. Whatโs More?
2
Contents
3. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Aerodynamics
โข Aerodynamics : interplay of air & bodies trying to
move through it
โ Air resists some motionโฆand aids some motion
โ Important to understand this interplay to harness it
โข Formal study of aerodynamics began 300 years
ago, so it is a relatively young science!
โข Informally, we have been harnessing wind since a
long timeโฆโฆ.really long
4. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Ancient Egyptian Aerospace!
https://en.wikipedia.org/wiki/Helicopter_hieroglyphs [1290 BC]
5. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
But Preserved History is differentโฆ
โข In 1799, Sir George Cayley became the first person to identify the
four aerodynamic forces of flight
โข In 1871, Francis Herbert Wenham constructed the first wind
tunnel, allowing precise measurements of aerodynamic forces.
โข In 1889, Charles Renard became the first person to predict the
power needed for sustained flight.
โข Otto Lilienthal was the first to propose thin, curved airfoils that
would produce high lift and low drag.
โข However, interestingly the Wright brothers, mechanics โ not
engineers- found most of the initial work flawed and did
something elseโฆ.a hundred years after Cayley.
6. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
27th of Ramadhanโฆ.a Friday
โข On Dec 15, 1903 (corresponding to Hijri date
above), Wilbur and Orville Wright made
history after failing to achieve it for 3 years.
โข Cycle mechanics, enthusiastic about flight,
they designed airplanes based on
aerodynamic data published by Leinthall and
Langley.
โข All attempts were splendid failures, so they
began to doubt the crude theories of their
times.
โข They built themselves a windtunnel and
started testing airfoils. To their surprise, they
obtained reliable results and the rest is
history.
7. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
The [W]Right [Bi]Plane
8. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Forces and Moments in Flight
โข Straight level flight means constant velocity and altitude.
โข There are four main forces which govern straight level flight
โข For level flight, Lift=Weight and Thrust=Drag
โข In other words,
๐
๐
=
๐ฟ
๐ท
in level flight
โข Except weight, all other variables depend
on Aerodynamics.
โข Aerodynamics also causes moments in all three axes
9. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Aerodynamic Moments
โข Aerodynamics also causes moments in all three axes.
โข Performance of aircraft depends on aerodynamics!
10. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Source of all Aerodynamic Forces
&Moments
โข No matter how complex the body shape and flow, the
aerodynamic forces and moments on the body are due to only
two basic sources:
a) Pressure distribution p over the body surface
b) Shear stress distribution ฯ over the body surface
โข Pressure varies with velocity of air over the surface and acts
normal to it. For incompressible, inviscid flow, it follows Bernoulli
principle.
โข Shear stress is due to friction in the boundary layer and acts
tangent to the surface. Typically ๐ โช ๐
11. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Net Effect of Pressure and Shear
Distribution
โข Each body shape and flow condition creates unique p & ฯ
distribution
โข The net effect of the p and ฯ distributions integrated over
the complete body surface is a resultant aerodynamic force
R and moment M on the body.
โข Far ahead of the body, the flow is undisturbed and called
free stream.
โข Vโ = free stream velocity=flow velocity far ahead of the
body.
12. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Components of Aerodynamic Force R
โข Let distance between leading and trailing edges be โchordโ=c
โข โAngle of attackโ is the angle between ๐โ and c
โข R can be resolved into two sets of components: either wrt ๐โ or c
โข
๐ฟ = ๐๐๐๐ก = ๐๐๐๐๐๐๐๐๐ก ๐๐๐๐๐๐๐๐๐๐ข๐๐๐ ๐ก๐ ๐โ
๐ท = ๐๐๐๐ = ๐๐๐๐๐๐๐๐๐ก ๐๐๐๐๐๐๐๐ ๐ก๐ ๐โ
โข
๐ = ๐๐๐๐๐๐ ๐๐๐๐๐ = ๐๐๐๐๐๐๐๐๐ก ๐๐๐๐๐๐๐๐๐๐ข๐๐๐ ๐ก๐ ๐
๐ด = ๐๐ฅ๐๐๐ ๐๐๐๐๐ = ๐๐๐๐๐๐๐๐๐ก ๐๐๐๐๐๐๐๐ ๐ก๐ ๐
โข But, {L,D} and {N,A} are related through ๐ผ
๐ฟ = ๐ cos๐ผ โ ๐ด ๐ ๐๐ฮฑ
๐ท = ๐ ๐ ๐๐๐ผ + ๐ด ๐๐๐ ๐ผ
13. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Source of {N,A} and {L,D}
โข Pressure p, shear ฯ , surface slope ฮธ are
functions of path length s.
โข For a unit span l=1, the forces are
๐ = โ
๐ฟ๐ธ
๐๐ธ
๐ ๐ข ๐๐๐ ๐ + ๐ ๐ข ๐ ๐๐๐ ๐๐ ๐ข
+
๐ฟ๐ธ
๐๐ธ
๐๐ ๐๐๐ ๐ โ ๐๐ ๐ ๐๐๐ ๐๐ ๐
๐ด =
๐ฟ๐ธ
๐๐ธ
โ๐ ๐ข ๐ ๐๐๐ + ๐ ๐ข ๐๐๐ ๐ ๐๐ ๐ข
+
๐ฟ๐ธ
๐๐ธ
๐๐ ๐ ๐๐๐ + ๐๐ ๐๐๐ ๐ ๐๐ ๐
14. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Source of Aerodynamic Moment
โข The aerodynamic moment exerted on the body depends on the point about
which moments are taken.
โข Moments that tend to increase ฮฑ (pitch up) are positive, and moments that tend
to decrease ฮฑ (pitch down) are negative.
โข Moment about the leading edge is simply the forces x moment arms.
๐๐ฟ๐ธ =
๐ฟ๐ธ
๐๐ธ
๐ ๐ข ๐๐๐ ๐ + ๐ ๐ข ๐ ๐๐๐ ๐ฅ โ ๐ ๐ข ๐ ๐๐๐ โ ๐ ๐ข ๐๐๐ ๐ ๐ฆ ๐๐ ๐ข
+
๐ฟ๐ธ
๐๐ธ
โ๐๐ ๐๐๐ ๐ + ๐๐ ๐ ๐๐๐ ๐ฅ + ๐๐ ๐ ๐๐๐ + ๐๐ ๐๐๐ ๐ ๐ฆ ๐๐ ๐
โข In equations above, x, y and ฮธ are known functions of s for given shape.
โข A major goal of aerodynamics is to calculate p(s) and ฯ(s) for a given body shape
and freestream conditions (๐โ and ฮฑ)๏ aerodynamic forces/moments
15. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Getting rid of the
Dimensionsโฆconvenience
โข It will become clear later that it is of benefit to non-dimensionalize forces
and moments.
โข Let ๐โ be the free stream air density and S and l be reference area and
reference length respectively.
โข Dynamic pressure, ๐โ =
1
2
๐โ ๐โ
2
โข Lift coefficient, CL =
L
QโS
โข Drag coefficient, CD =
D
QโS
โข Lift coefficient, CL =
M
QโS๐
โข Axial and normal force coefficients are similarly defined.
Coefficients makes the math
manageable. An aircraft with a 50m2
wing area and weight of 10,000kg at sea
level cruise will have a lift coefficient of
0.3 at a speed of 100m/s, rather than a
lift of 9.8x104 N.
16. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Reference Area and Length
โข In these coefficients, the reference area S and
reference length l are chosen to pertain to the
given geometric body shape
โข E.g., for an airplane wing, S is the planform
area, and l is the mean chord length c.
โข for a sphere, S is the cross-sectional area, and
l is the diameter
โข Particular choice of reference area and length
is not critical
โข But, when using force and moment coefficient
data, we must always know what reference
quantities the particular data are based upon.
17. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Parameters which influence Aerodynamics
โข By intuition, the resultant aerodynamic force R should depend on
โ Freestream velocity ๐โ (faster air ๏ more force and moment)
โ Freestream density ๐โ (denser air ๏ more force and moment)
โ Freestream viscosity ๐โ (viscosity ๏ shear stress)
โ Size of the body (more reference area and length ๏ more force and moment)
โ Compressibility of air (density changes if flow speed is comparable to speed of sound ๐โ)
โ Angle of attack ๐ผ
Therefore,
๐ฟ = ๐๐(๐โ, ๐โ, ๐, ๐, ๐โ, ๐โ, ๐ผ)
๐ท = ๐ ๐(๐โ, ๐โ, ๐, ๐, ๐โ, ๐โ, ๐ผ)
M= ๐ ๐(๐โ, ๐โ, ๐, ๐, ๐โ, ๐โ, ๐ผ)
for some nonlinear functions ๐๐, ๐ ๐ and ๐ ๐.
โข This is not useful as this means a huge combination of parameters needs to be tested or
simulated to find the relationships necessary for designing aerodynamic vehicles and
products.
18. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Dimensional Analysis
โข Fortunately, we can simplify the problem and considerably reduce our time and effort
by first employing the method of dimensional analysis.
โข Dimensional analysis is based on the obvious fact that in an equation dealing with the
real physical world, each term must have the same dimensions.
โข So it is equivalent to find relationships between dimensionless groups of parameters
rather than the parameters themselves.
โข We can show that force and moment coefficients depend on the Reynold and Mach
numbers and flow angles only, i.e.
๐ถ๐ = ๐๐(๐โ, ๐ ๐โ, ๐ผ)
๐ถ ๐ = ๐๐(๐โ, ๐ ๐โ, ๐ผ)
๐ถ ๐ = ๐๐(๐โ, ๐ ๐โ, ๐ผ)
i.e. fl, fd and fm.
โข Notice that all parameters are dimensionless!
โข Notice that we have reduced the number of parameters from 7 to just 3!
โข There may be other โsimilarity parametersโ other than these 3, depending on problem.
๐ ๐โ =
๐โ ๐โ ๐
๐โ
๐โ =
๐โ
๐โ
19. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Flow Similarity
โข Consider two different flow fields over two different bodies. By definition, different flows
are dynamically similar if:
1. Streamline patterns are geometrically similar.
2. Distributions of
๐
๐โ
,
๐
๐โ
,
๐
๐โ
etc., throughout the flow field are the same when plotted against
non-dimensional coordinates.
3. Force coefficients are the same.
โข If nondimensional pressure (CP) and shear stress distributions (
๐
๐โ
) over different bodies
are the same, then the force and moment coefficients will be the same.
โข In other words, two flows will be dynamically similar if:
1. The bodies and any other solid boundaries are geometrically similar for both
flows.
2. The similarity parameters are the same for both flows.
โข This is a key point in the validity of wind-tunnel testing.
20. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Wait a MinuteโฆToo much Math ๏
โข Hey, this was supposed to be fun
21. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
So how to solve these equations?
โข Obviously, this is pretty darn hard mathematics!
โข So how to solve these equalities and inequalities?
โข No closed form analytic solution (except simplest cases)
โข One way is the wind tunnel!
1/3 scale model of space shuttle in
NASAโs 40-foot-by-80-foot WT
Mercedes-Benzโs Aeroacoustic Wind Tunnel Educational Wind Tunnel
22. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Computational Fluid Dynamics (CFD)
โข An alternate technique is to divide the flow into small
boxes (grid) and solve the full Navier Stokes (or
simplifications) equations at every point numerically.
โข This is now possible with high speed computing.
โข But it is not really as useful as thought.
โข In the end, it is really Colorful Fluid Dynamics. A lot of
colors which may mean somethingโฆor nothing.
โข Needs a lot of calibration and EXPERTISE.
โข Also, not feasible for trade studies and initial design.
โข Slow solutions. One design iteration can take days.
23. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Between Wind Tunnels and CFD
โข So, wind tunnels are expensive and time
consuming.
โข So is CFD. Both requires experts to interpret
results.
โข You really canโt DESIGN your aircraft in WT/CFD.
โข Here is where โengineering solutionsโ come in.
โข Ultimately somewhere between an โeducated
guessโ and JUGAAR!
24. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Engineering Aerodynamic Softwares
โข For preliminary aircraft design, we need quick, somewhat
crude solutions. Ball park estimates will do.
โข The USAF saw that need, and decided to compile data on
aerodynamic predictions. Contract: McDonnel Douglas.
โข There were some approximate analytic solutions.
โข There were some correlations.
โข There were half a century of wind/water tunnel tests
โข All of this was compiled in two volumes called USAF Stability
and Control Data Compendium (or DATCOM!) in 1978
25. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
What is DATCOM?
โข DATCOM is a collection, correlation, codification, and recording of best knowledge,
opinion, and judgment in the area of aerodynamic stability and control prediction
methods.
โข Used for
โ Conceptual and Preliminary aircraft design
โ Evaluate changes resulting from proposed engineering fixes
โ For making simulators.
โข For any given configuration and flight condition, a complete set of stability and control
derivatives can be determined without resort to outside information.
โข Methods range from very simple and easily applied techniques to quite accurate and
thorough procedures.
โข The book is intended to be used for preliminary design purposes before WT/CFD.
โข It is not easy to sift through two volumes of 3000 pages though!
26. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Digital DATCOM
โข USAF Stability and Control Digital DATCOM is a computer
program that implements the methods contained in
the USAF DATCOM.
โข First version in 1978. Implemented in FORTRAN IV.
โข It calculates the stability, control and dynamic derivative
characteristics of fixed-wing aircraft.
โข It uses text based input and text based output.
โข Some GUIs have recently come out, but are not very stable.
โข The program was declassified around the year 2000.
http://www.pdas.com/datcomdownload.html
27. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
What can DATCOM do?
โข Datcom requires two basic inputs
โ Flight Conditions (Altitude, Speed, Re, M, Flow angles)
โ Aircraft Geometry (Wings, Tails, Fuselage dimensions etc)
โ Optionally propulsion data (jet/propeller can also be input)
โข It calculates:
โ Lift, Drag, Moments, Center of Pressure, Flow angle derivatives
(stability derivatives)
โ Output can be for whole aircraft or components
โขCL
โขCD
โขCm
โขCN
โขCA
โขCLฮฑ
โขCmฮฑ
โขCYฮฒ
โขCnฮฒ
โขClฮฒ
28. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Letโs Begin with the Input File
โข Remember we are talking about FORTRAN, so data must be entered in the correct column.
โ FORTRAN uses Control Cards (objects) and Namelists (functions).
โ Namelists start with $ sign. They star after one space.
โ Inputs to namelists can be entered one space after a namelist title or beginning with the third space of a new line.
โ Control Cards come alone on a line. The start in the first column.
โข Easier to edit old files than making one from scratch.
โข Begin by first naming the aircraft or โcaseโ to be run.
โข This is done by typing CASEID, spacing once, and typing the desired name.
โข CASEID is a control card, and thus the โCโ should be the first letter on the line and no characters
should follow the case name on the line.
โข Next, the system of units for the input may be specified by DIM control card :
โ DIM M โ kilogram-meter-second
โ DIM CM โ centimeter-gram-second
โ DIM FT โ foot-pound-second
โ DIM IN โ inch-pound-second
โข Angles are entered as degrees, always!
29. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
โข Next, flight conditions should be entered.
โข This is done by calling out the FLTCON namelist. A namelist must be called out
on a new line by spacing once and entering the $ symbol followed by the
namelist title.
โข The inputs under the FLTCON namelist includes
โ MACH โ Mach number
โ VINF โ Airspeed in units of length (as chosen by the DIM control card) per unit time
โ NALPHA โ number of angles of attack to be evaluated
โ ALSCHD โ angles of attack to be evaluated, written sequentially
โ GAMMA โ flight path angle
โ ALT โ altitudes to be evaluated
โ WT โ aircraft weight
โข Alternatively, Reynold Number can be entered.
30. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
What does it look like so far?
The โpictureโ so far
31. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Geometryโฆ.Fuselage
โข Next, geometry of the aircraft must be entered.
โข Fuselage is defined by the BODY namelist.
โข It can be defined by a maximum of 20 longitudinal stations.
โ NX โ number of stations used to define the body
โ X(1) โ longitudinal location of station
โ R(1) โ planform half-width of the fuselage in the spanwise direction
โ ZU(1) โ location of upper vertical surface of fuselage with respect to an
arbitrary reference plane
โ ZL(1) โ location of lower vertical surface of fuselage with respect to an
arbitrary reference plane
โข Alternatively, a cylindrical fore, mid and aft body is all that is needed
32. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Namelist BODY
33. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Geometryโฆ.Lifting Surfaces
โข Wing, horizontal and vertical tails all have similar inputs.
โข Use WGPLNF, VTPLNF, and HTPLNF namelists.
โข All the necessary inputs to define a straight tapered planform are as follows:
โ SSNPE โ exposed semi-span
โ SSPN โ theoretical semi-span
โ CHRDR โ root chord
โ CHRDTP โ tip chord
โ SAVSI โ sweep angle
โ DHDADI โ dihedral angle
โ TWISTA โ twist angle
โ CHSTAT โ reference chord station for inboard for panel sweep angle
โ TYPE โ type of wing planform (1.0=straight tapered planform)
โข It is also possible to make cranked wings (see manual)
34. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
WGPLNF, VTPLNF, and HTPLNF
35. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Wing Sections (Airfoils)
โข Airfoil can be entered using the NACA control card. (begin column 01)
โข NACA 23012 airfoil for a vertical tail is given by:
โ NACA-V-5-23012
โข V specifies that the airfoil is for the vertical tail. A W, H, or F in the same
place would specify the wing, horizontal tail, or ventral fin airfoil
respectively.
โข The 5 specifies the type of airfoil, in this case the 5-digit airfoils.
โข Other options are 1, 4, 6, and S for 1-series, 4-digit, 6-series NACA
airfoils, and supersonic airfoils respectively.
โข Last input is the airfoil designation.
โข You can also enter your own or exotic airfoils (See manual)
36. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
The โPictureโ so farโฆ
37. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Locating the Components on the Fuse
โข SYNTHS namelist used to place wings, tail, center of gravity.
โ XCG โ longitudinal location of center of gravity
โ ZCG โ vertical location of center of gravity
โ XW โ longitudinal location of theoretical wing apex
โ ZW โ vertical location of theoretical wing apex
โ XH โ longitudinal location of theoretical horizontal tail apex
โ ZH โ vertical location of theoretical horizontal tail apex
โ XV โ longitudinal location of theoretical vertical tail apex
โ ZV โ vertical location of theoretical vertical tail apex
โ ALIW โ wing incidence angle
โ ALIH โ horizontal tail incidence angle
โข
39. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Reference Areas and Lengths
โข Finally, we may want to put our own reference areas and
lengths (can be left if you want DATCOM to calculate the
same)
40. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Flaps, Control Surfaces
โข Flaps and elevators can be modeled using the SYMFLP and ailerons by ASYFLP
namelists, which output results for symmetrical and asymmetrical flap
deflections, respectively.
โ FTYPE โ type of flaps (SYMFLP only)
โ NDELTA โ number of flap deflections to be evaluated
โ DELTA(1) โ flap deflections listed sequentially (maximum of 9, SYMFLP only)
โ CHRDFI โ inboard flap chord length
โ CHRDFO โ outboard flap chord length
โ SPANFI โ spanwise location of flap inboard panel
โ SPANFO โ spanwise location of flap outboard panel
โ STYPE โ control surface type (1.0=flap spoiler, 2.0=plug spoiler, 3.0=spoiler-slot
deflection, 4.0=plain flap aileron, 5.0=all moveable tail, ASYFLP only)
โ DELTAL(1) โ left flap deflection angles listed sequentially (maximum of 9, ASYFLP only)
โ DELTAR(1) โ right flap deflection angles
41. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Control Surfaces
42. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Some other Options
โข You may also want dynamic deratives (with pitch rate, angle
of attack rate etc)
โข Use DAMP control card
โข DERIV RAD and DERIV DEG output these derivatives in radian
and degree
43. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Complete File
44. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Processing the Input file
โข Save the file as ***.inp
โข Then run datcom.exe and process
45. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Output
โข Letโs see the output in Class.
โข You can import the ouput to Matlab using Aerospace Toolbox
โข alldata = datcomimport('astdatcom.out', true, 0);
โข Plotting Lift Curve Moments
h1 = figure;
for k=1:2
subplot(2,1,k)
plot(data.alpha,permute(data.cl(:,k,:),[1 3 2]))
end
46. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Plotting the Input Aircraft
โข Bill Galbraith of HolyCows sells DATCOM+ for $100 doing this
47. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Intermission โ Equations of Motion
48. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Equations of Motion
โข So, these are 12 nonlinear ODEs.
โข There is no analytical solution.
โข We need to use numerical integration methods (Adams, RK..)
โข Luckily, this is all programmed in Simulink graphical
programming language.
49. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Simulink Aerospace Toolbox
โข Aerospace Blocksetโข software extends Simulinkยฎ with blocks for
โ modeling and simulating
โข aircraft,
โข spacecraft,
โข rocket,
โข propulsion systems,
โข unmanned airborne vehicles.
โ aerospace standards,
โ modeling equations of motion
โ navigation,
โ gain scheduling,
โ visualization,
โ unit conversion
50. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
So, let us implement the first step
51. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Next Set Some Aerodynamic Variables
โข Use conversions for flow angles (๐ผ, ๐ฝ)
โข Use standard atmosphere and gravity models for (๐, ๐)
52. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Tidy Things Up a bit
โข Create subsystems
53. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
A detailed example
โข Lightweight Airplane Simulator Design
โ Four seater monoplane: Skyhogg
โข We will use Simulink for rapid
โ Aircraft design
โ Modeling
โ Simulation
โ Control Design
54. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Aerodynamics
โข The designed geometry is
modeled in Datcom
โข Datcom provides
aerodynamic stability and
control derivatives and
coefficients at specified
flight conditions.
โข Import in Matlab using
statdyn = datcomimport('SkyHogg.out');
55. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Letโs get this Aerodynamics in Simulink
56. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Next also put the Elevator Model
57. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Equations of Motion Once again
58. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Actuator and Sensor Models
59. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Environmental Models
60. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Trim and Linearize
โข Trim and Linearization can be done to find the operating
point at specified speed and altitude, for example.
โข You Analysis>Control System Design> Linear Analysis
61. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Linear System Analysis
62. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Control System Design
โข Dual Loop Control
โ Time scale separation
63. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Altitude Control
64. DHA
Suffa University
D e p a r t m e n t o f M e c h a n i c a l E n g i n e e r i n g
Pizzaz: Integration with FlighGear