Professional Documents
Culture Documents
2015-2019
TO
OUR LOVING PARENTS
(Having no Substitute, always there where there is no one else)
i
Approval
The Department of Avionics Engineering and Aviation Technology of Superior college Lahore has
approved this final year project. It is certified that the research work titled, Air Data Acquisition
Using COTS Hardware and Software, is submitted in the partial fulfillment of the requirements
for the degree of Bachelor in Avionics Engineering (BAE).
Project Supervisor:
Designation: Professor
Supervisor’s Consent:
I am willing to guide these students in all phases of above mentioned project as advisor. I have
carefully seen the Title and description of the project and believe that it is of an appropriate
difficulty level for the number of students named above.
Supervisor Signature
-------------------------------------
Co-Supervisor Signature
---------------------------------------------
Date: ____________
iii
Acknowledgements
In the name of Allah, the most Gracious and the most Merciful Alhamdulillah, all praises to Allah for
the strengths and His blessing in completing this project. We would like to take this opportunity to
thank all who helped us through this project and our years of study at The Superior College, Lahore,
especially the following.
First and foremost, we sincerely thank our teacher, Mr. Wajih H. Hashmi for his invaluable
guidance, inspiration and discussions through all stages of this project. Words alone cannot express
how important his encouragement and support were during the whole period. Working with him has
been a true privilege and a great experience for us.
iv
Abstract
Air Data Computer (ADC) is an electronics device which acquire and process data from pitot and
static pressure sensors, data buses and analog inputs to computes air data parameters. The
objective of this research is to acquire, analyze and display air data on multi-function display
using COTS components and Graphic User Interface (GUI). The electrical Transducers like
temperature sensor, pressure sensor, gyro sensor is interfaced with DAQ card which are analyzed
by LabVIEW software. The systematic error is the main limitations of Air Data System in earlier
type of aircraft and Havier weight due to pneumatics. Further challenges are faced in modern
type of aircraft, to use the Data Buses which take extra cost and time during the manufacturing.
To overcome these types of limitation we invent the new Air Data System by using RS232 and
low-cost National Instrument (NI) device. And we find the Indicated airspeed, True airspeed,
Mach Number, Altitude, total air temperature and other important parameters i.e. pitch, roll and
yaw movement. This type data acquisition is useful in industry where real time data are required
to compute pressure and temperature.
v
Table of Contents
APPROVAL............................................................................................................................. II
ACKNOWLEDGEMENTS ......................................................................................................... IV
ABSTRACT ............................................................................................................................. V
CHAPTER 01 .......................................................................................................................... 1
CHAPTER 02 ........................................................................................................................ 10
vi
2.1.1.2. Pinout and signal descriptions .............................................................................................................. 12
2.1.2. Pressure transducer ........................................................................................................................................ 13
2.1.3. Temperature Sensor........................................................................................................................................ 14
2.1.4. Gyro Sensor ..................................................................................................................................................... 15
2.1.5. Humidity Sensor .............................................................................................................................................. 15
2.1.6. IR Remote ........................................................................................................................................................ 16
2.1.7. Photodiode ...................................................................................................................................................... 16
2.1.8. Microcontroller ............................................................................................................................................... 17
2.1.8.1. SPECIFICATIONS OF ARDUINO UNO ........................................................................................................... 18
2.1.9. Miscellaneous components............................................................................................................................. 19
CHAPTER 03 ........................................................................................................................ 20
3. CALCULATIONS...................................................................................................................................................20
3.1. Altitude ................................................................................................................................................20
3.2. Airspeed ...............................................................................................................................................21
3.3. Mach number.......................................................................................................................................22
3.4. Outside Air Temperature .....................................................................................................................23
3.5. Total Air Pressure ........................................................................................................................................25
CHAPTER 04 ........................................................................................................................ 27
vii
CHAPTER 05 ........................................................................................................................ 36
CHAPTER 6 .......................................................................................................................... 37
6. REFERENCES ......................................................................................................................................................37
viii
List of Figures
Figure 1-1. Photo of pitot tube working ......................................................................................... 2
Figure 1-2. Photo of pitot tube working. ........................................................................................ 2
Figure 1-3. Photo of Altimeter working. ......................................................................................... 3
Figure 1-4. Photo of airspeed indicator working. ........................................................................... 4
Figure 1-5. Photo of pitot static probe working. ............................................................................ 5
Figure 1-6. Photo of pitot static system in 2nd generation of aircraft. ........................................... 5
Figure 1-7. Photo of typical air data system. .................................................................................. 7
Figure 1-8. Photo of air data computer working. ........................................................................... 8
Figure 2-1. Photo of DAQ device interfacing. ............................................................................... 11
Figure 2-2. Photo of NI USB-6008/6009 Pinouts. ......................................................................... 12
Figure 2-3. Photo of pressure transducer. .................................................................................... 14
Figure 2-4. Photo of temperature transducer. ............................................................................. 14
Figure 2-5. Photo of gyro sensor................................................................................................... 15
Figure 2-6. Photo of humidity sensor. .......................................................................................... 16
Figure 2-7. Photo of IR remote. .................................................................................................... 16
Figure 2-8. Photo of photo diode.................................................................................................. 17
Figure 2-9. Photo of Microcontroller. ........................................................................................... 18
Figure 3-1. Graph between Altitude vs Pressure. ......................................................................... 21
Figure 3-2. Graph between Mach No. vs Airspeed. ...................................................................... 23
Figure 3-3. Graph between Altitude vs Temperature................................................................... 24
Figure 3-4. Graph between Voltages vs Pressure. ........................................................................ 26
Figure 4-1. Photo of block diagram of whole air data system working. ....................................... 27
Figure 4-2. Photo of circuit diagram for temperature transducer. .............................................. 28
Figure 4-3. Photo of LabVIEW icon. .............................................................................................. 29
Figure 4-4. Photo of LabVIEW block diagram. .............................................................................. 30
Figure 4-5. Photo of final results on MFD. .................................................................................... 31
Figure 4-6. Photo of student scope block diagram. ...................................................................... 32
ix
Figure 4-7. Photo of student scope LabVIEW result. .................................................................... 32
Figure 4-8. Photo of circuit of IR remote control.......................................................................... 33
Figure 4-9. Photo of LabVIEW diagram of IR remote control. ...................................................... 33
Figure 4-10. Photo of final result of IR signal response. ............................................................... 34
Figure 4-11. Photo of block diagram of Humidity sensor. ............................................................ 34
Figure 4-12. Photo of LabVIEW block diagram for gyro sensor. ................................................... 35
x
List of abbreviation
A/D – Analog/Digital
AC – Alternate Current
ADS—Air Data System
ADC – Air Data Computer
ALT – Altitude indicator
TAT-Total Air Temperature
Ps—Static Pressure
Pt—Dynamic Pressure
AOA – Angle of Attack
ASI – Airspeed Indicator
TAS—True Air Speed
ATM – Air Traffic Management
COM – Communication
DC – Direct Current
EFIS – Electronic Flight Instrument System
GNSS – Global Navigation Satellite System
GPS – Global Positioning System
ILS – Instrument Landing System
MFD – multi-function display
NAV – Navigation
OAT – Outside Air Temperature
PFD – Primary Flight Display
V – Volts
VHF – Very High Frequency
VOR – VHF Omnidirectional Range
xi
Chapter 01
1. Literature Review:
1.1. Introduction
Air data system takes the measurement of air data parameters and give that measurement to
other systems of the aircraft. The parameters are such as Airspeed, Altitude, Outside Air
Temperature, and Mack number and other system are Flight Management System (FMS),
transponders and Multi-Function Display (MFD) etc. Air data system of old generation aircraft is
mechanical type based on the pressure difference. As the pressure difference changes the air
data system parameter changes directly or inversely. As the generations of the aircraft changes
the air data system improved with the time [1].
1
Figure 1-1. Photo of pitot tube working
2
1.1.1.2. Altimeter
Our most basic pitot static instrument is altimeter it explains the aircraft altitude. As shown in
fig.1-3 the instrument contains elevate aneroid wafers which expand and contracts on base of
pressure of the air inside the wafers is trapped but the air outside the wafers free and able to
match the pressure according to the static port. As we increase altitude the static pressure goes
down. The speed inside escape up back and results the less air pressure in case compare to the
wafers because of this wafers expand pressure of both equal and wafers is connected to the gear
or mechanical linkages and shows dials high pressure now if aircraft start decent the atmospheric
pressure increases as compared to the pressure inside the wafers and bellows start squeezing
that shows decreases the altitude [3].
3
on the instrument [3].
4
Figure 1-5. Photo of pitot static probe working.
The fig1-.6 shows that Pt. is the total pressure and Ps is the static pressure [2]. Same as the 1st
generation the static part is connected to all pitot static instrument through pneumatics.
Air speed is displayed through both Pt. and Ps. The deflection of bellow is proportional to the
difference between total pressure and static pressure. Altimeter uses only the static pressure the
deflection of bellow is direct proportional to the static pressure.
As shown in fig.1-6 there are both analog and digital display in 2nd generation aircraft.
1.1.2.2. Transducer
2nd generation aircraft has electrical transducer which convert the analog signal into digital signal.
The digital signal is then processed for the required parameters and these parameters are
5
displayed digitally on Primary Function Display (PFD).
6
Figure 1-7. Photo of typical air data system.
7
Figure 1-8. Photo of air data computer working.
8
parameter which is to be minimized as possible while designing an aircraft, so we reduce the
weight by using Data busses in our project instead of pneumatics.
1.1.4.5. Expansive
Air data system of old generation aircraft is expansive due to usage of expansive pneumatics and
transducers but now we use only data buses in our project to reduce the cost of air data system.
9
Chapter 02
2. Project hardware development
2.1. Introduction to project hardware development
This chapter explains hardware used in the prototype model of the project. It describes each
component used in project, its application and features. In this chapter, it is also defined how
Arduino Uno is interfaced with LabVIEW software by using DAQ Device. Before build this project,
firstly we understand about the COTS components which uses in the new Air Data System. List of
COTS components required for this project are as follows:
• DAQ Device.
• Pressure Transducer.
• Temperature Sensor.
• Gyro Sensor.
• Humidity Sensor.
• IR Remote.
• Photodiode.
• Microcontroller.
• Miscellaneous components.
10
Figure 2-1. Photo of DAQ device interfacing.
The USB-6009 provides basic functionality for applications such as simple data logging, portable
measurements, and academic lab experiments. The DAQ device has a lightweight mechanical
enclosure and is bus powered for easy portability. We easily connect sensors and signals to the
USB-6009 with screw-terminal connectivity. The NI DAQ device has 8 Analogue inputs (48 KS/s),
2 Analogue output also 13 Digital input/output.
2.1.1.1.1. NI USB 6009 specifications
NI USB-6009 is a modest and low-cost multifunction I/O device from National Instruments.
The stipulations of NI USB 6009 are shown in the Table 2.1.
11
9 Analog Output Pins 2
10 Connection Type USB 2.0
11 Flash Memory 32 KB of which 0.5 KB used by boot loader
12 SRAM 2 KB
13 EEPROM 1 KB
14 Clock Speed 16 MHz
15 Weight 3 oz.
16 Counter 5 MHz
Table 2-1. Specification of NI USB 6009
Below is table which define all the description of signal. Like name, nature, behavior, Use and
operation.
Signal Name Reference Direction Description
12
GND ------------- ----------- Ground—The reference point for the single-ended
analog input measurements, analog output
voltages,
digital signals, +5 VDC supply, and +2.5 VDC at
the I/O connector, and the bias current return
point
for differential mode measurements
P0. <0.7> GND Input or Output Port 0 Digital I/O Channels 0 to 7—You can
individually configure each signal as an input or
output.
Table 2-2. Signal Descriptions.
13
We use three pins of such transducer in such way that, the pin1 is Vout, pin2 is GND and pin3 is
Vcc. The purpose of this sensor to provide the Total air pressure to calculate the Air Data
parameters. The basic figure of the pressure transducer is shown in figure 2-3 [7].
14
2.1.4. Gyro Sensor
The Gyro Sensor (MPU-6050) is Micro Mechanical system, basically it has 3-axis Accelerometer
and 3-axis Gyroscope for measuring the acceleration, velocity, orientation, displacement and
many other motions related parameter of a system or object. It also controls and detect the 3-D
motion of different object. The operating range of Gyro sensor is 3 to 5Vdc and has inside the
Chip built-in 16bit AD converter, 16bit data output. The Gyroscopes range: +/- 250 500 1000 2000
degree/sec. The purpose of this sensor to provide the pitch, roll and Angle of attack like Aircraft.
The Basic figure of the Gyro sensor is shown in figure2-5.
15
• Body size 15.5mm x 12mm x 5.5mm.
• Response time is 6 sec.
The main purpose for use this sensor in our project to find the relative humidity inside the cockpit.
The basic figure of the humidity sensor is shown in figure2-6.
2.1.6. IR Remote
IR remote transmit the infrared signal to the receiver side for operating their function from few
distance. It generates the IR pulses at the rate of 0.1mm to 0.8um wavelength. The IR signal has
frequency of 34khz to transmit the IR signal. The basic figure of the IR remote is shown in figure2-
7 [9].
2.1.7. Photodiode
The photodiode also called the photodetector is the type of semi-conductor which convert IR
16
signal into the electrical signal. When IR signal strike on the photodiode the photons generate
the electrons and holes, electrons goes to the cathode side and holes goes to the anode side
which produced the voltage at the output side. Basically, the photodiode behaves as the reverse
biased, in reverse biased the diode is open circuits which contains maximum value of the voltage.
The basic figure of the photodiode is shown in figure2-8 [9].
2.1.8. Microcontroller
Arduino is an open source hardware. It has single broad microcontroller kit. The broad has the
set on digital and analogue inputs and outputs pins that interfaced various broad and electrical
circuits also provide 14 digital I/O pins, six of which can produce pulse-width modulated signals,
and 6 analog inputs, which can also be used as six digital I/O pins. The serial communication take
place including the Universal Serial Bus (USB) which were used for loading the code from the PC.
The operating voltages are 5v and has 16Mhz crystal oscillator. The Arduino board is connected
to a computer via USB, where it connects with the Arduino development environment (IDE). The
user writes the Arduino code in the IDE, then uploads it to the microcontroller which executes
the code, interacting with inputs and outputs such as sensors. The basic picture of the
Microcontroller is shown in figure2-9.
17
Figure 2-9. Photo of Microcontroller.
18
2.1.9. Miscellaneous components
Miscellaneous Components are those components which are used to join the all COTS
components such as Vero broad, jumper wire, resistor, capacitor, RS232 and VJ-cable. These All
components are use in Air Data system projects to perform their functions.
19
Chapter 03
3. Calculations
In this section we discuss about the calculated and measured value, and how to get the Air Data
parameters value from the equations.
3.1. Altitude
By using the Barometric formula, we calculate that how pressure of the air change with altitude.
The equation 1 is general form of the formula put the different value of the atmospheric pressure
to get the different value of the height [4].
Z= 𝟒𝟒𝟑𝟑𝟎. 𝟖 − 𝟒𝟗𝟒𝟔. 𝟔𝟐 × 𝒑𝟎.𝟏𝟗𝟎𝟐𝟔𝟑 ___________________________ (1)
Putting different value of pressure to get Altitude
Where,
Z = Altitude
P = atmospheric pressure
The table no.3-1 shows the relation of the Atmospheric pressure with height. The comparison of
the calculated value and measured value will show the below table.
Atmospheric Pressure (psi) Calculated Altitude(feet) Measured Altitude(feet)
14.76 0 0.0
14.25 1000 999.98
The graphical representation of the Atmospheric pressure and the Altitude shown below. The
relation between Altitude and the pressure is inversely, as height of the aircraft increase the
pressure will be decreases. For example:
20
1) At 1000 feet altitude, pressure is 14.234
2) At 5000 feet altitude, pressure is 12.2321
The graph between Altitude and Atmospheric pressure shown as
Altitude vs pressure
20000
15000
15000
10000
Altitude
10000
5000
5000 3000
0 1000.01
0
14.7 14.234 13.201 12.231 10.156 8.29
Pressure
Altitude
Figure 3-1. Graph between Altitude vs Pressure.
3.2. Airspeed
Airspeed is the speed of the aircraft relative to the sounding air. The measurement of the
Airspeed has been done by using the pitot-static tube. The Airspeed of an Aircraft increase as
Altitude of an Aircraft increase because of the air density decrease with higher altitude [5].
Airspeed is calculated as a function of the difference between Pitot Pressure and Static Pressure
as follows in equation 2.
𝒒𝒄
𝒗 = 𝑨𝒐√𝟓[(𝒑𝒐 + 𝟏)𝟕/𝟐 − 𝟏] (2)
Where:
V = is the Airspeed.
Ao = 661.74 knots speed of sound at sea level
Po = 29.92 mmhg air pressure at standard sea level
qc = impact pressure sensed by pitot tube.
By putting the different value in equation 2 to get the different value of the Airspeed.
21
3.3. Mach number
Mach number is the ratio of the speed of the body to the speed of sound in the surrounding air.
Basically, Mach number is dimensionless quantity which represent the ratio of flow velocity to
the speed of sound. The formula of Mach number is defined as in equation 3 by putting the
different value to get the Mach number [5].
M = u/c (3)
Where:
M= Mach number.
u= speed of aircraft.
C= speed of sound 343 m/s (666.7 knots)
The table no.3-2 shows the calculated value of Airspeed at different pressure value also represent
the Mach number that varies with Airspeed.
Pressure (psi) Airspeed (knots) Mach number
The graphical representation of Airspeed and the Mach number shown below. The relation
22
between Airspeed and Mach number is directly for example as speed of the Aircraft increase the
0.4 0.34
0.3
0.2
0.1
0
220.172 281.114 290.361 350.411 420.3
Airspeed
Mach number
Figure 3-2. Graph between Mach No. vs Airspeed.
23
The table no. 3-3 shows the calculated value of the resistance per degree.
Now, the graphical representation of calculated temperature and calculated Altitude is shown
below. The relation between temperature and the altitude are inversely for example as height of
aircraft increase the temperature will be decrease.
• At 5000 feet temperature is 5.07 C.
• At 10000 feet temperature is -4.05C.
Altitude vs Temperature
30000
25000
25000
20000
20000
15000
Altitude
15000
10000
10000
5000
5000
0
5.07 -4.05 -14.7 -24.2
Temperature
Altitude
Figure 3-3. Graph between Altitude vs Temperature.
24
3.5. Total Air Pressure
Total air pressure is defined as the sum of the static pressure and dynamic pressure. These
pressure values are taken from the pitot-static tube. By using pressure transducer, we have Vout
at the output end. Use equation 6 to get the output voltage that varies with pressure [7].
Vout = VS x (0.00369 x P + 0.04) _________________________________ (6)
± (Pressure Error x Temp. Factor x 0.00369 x VS)
Where:
VS = 5.1 ± 0.25 Vdc
The table no. 3-4 shows the calculated values of the Vout/ kpa pressure. The Vout varies with
pressure whenever pressure value increases the Vout at output end also increase according to
the above relation (equation 6).
Vout Pressure (psi)
0.5 1.43
1.0 2.90
1.5 4.35
2.0 5.80
2.5 7.20
3.0 8.73
3.5 10.13
Table 3-4. calculated values of the Vout/ KPa pressure.
25
Now, the graphical representation of the pressure and the Vout is shown below. The straight line
shows the directly relation between pressure and voltages.
4 2.9
2 1.43
0
0.5 1 Output voltage1.5 2 2.5
pressure
Figure 3-4. Graph between Voltages vs Pressure.
26
Chapter 04
4. Methodology and Results
We have designed new Air Data System using COTS components, also designed the multi-
function display (MFD) using graphic user interface (GUI) in LabVIEW software. The main parts of
our Air Data System are as follows:
• Physical systems.
• Electrical transducers.
• DAQ Device.
• Microcontroller.
• Air Data processor.
• MFD.
Figure 4-1. Photo of block diagram of whole air data system working.
28
LabVIEW programs-subroutines are termed virtual instruments (VIs). Each VI has three
components for example, a block diagram, a front panel, and a connector pane. The picture of
29
Figure 4-4. Photo of LabVIEW block diagram.
30
Figure 4-5. Photo of final results on MFD.
31
4-6.
32
4.5.2. IR Remote Control
There are two main components is this project i.e. IR remote and Photodiode which are shown
above. Firstly, we transmit the IR signal from the remote this signal is detected by photodetector.
The photodiode converts this signal into the analog signal which is interfaced with DAQ device
and LabVIEW software. Finally, this digitized signal will be analyzed using LabVIEW software to
control the popular iTunes application with the help of ActiveX controls [9]. The circuit diagram
of IR remote control is shown in figure 4-8.
33
4.5.2.2. Final Results
The final results are shown in figure 4-10. The left side show the IR signal response and right side
show the song response that are play and paused by Active-X library.
4.5.3. Humidity
For calculate the relative humidity of inside the cockpit of an aircraft, connect the pin 2 of sensor
to the pin 2 & 3 of the DAQ device. This signal is analyzed by LabVIEW through the DAQ assistant.
DAQ assistant give the dynamically data that convert into to array type data by using dynamic to
array converter. Then apply the mathematically operation to compute the Humidity. The
LabVIEW block diagram is shown in figure 4-11.
The final results of the Humidity are shown above in figure 4-5. Which show that how many
vapors of water present in air relative to environment.
34
4.5.4. Gyro Sensor
The gyro sensor is used for determining the roll, pitch, yaw movements of aircraft and for the
angle of attack. Gyro sensor has built in motion processor. It processes the values from the
accelerometer and gyroscope to give us accurate 3D values. The roll and pitch values from gyro
sensor are used in attitude heading indicator shown in figure 4-5.
35
Chapter 05
5. Conclusion and Recommendations
5.1. Conclusion
Air data computers are used by aircraft to compute the Air Data parameters by taking the inputs
from the pitot-statics tube. Many types of limitation occur in earlier type of aircraft because of
Analogue displays i.e. bending the needle, pneumatics and sometime incorrect calibration. On
other hand, Data buses are used for transmit/receive the signal in modern aircraft which are cost
expensive. Now, we invent the new types of Air Data System using COTS hardware and software
to overcome this type of limitations. We take the inputs from the air by using the electrical
transducers which is interfaced with DAQ device to digitized the analogue inputs at the rate (48
KS/s). These digital outputs are analyzed by LabVIEW software and designed the MFD using GUI
to show Air Data parameters. Use the DAQ assistance in LabVIEW, that take two types of
parameters i.e. pressure and temperature. Further mathematically operation take place to find
the Indicated airspeed, True airspeed, Mach Number, Altitude, total air temperature. And other
important parameters i.e. pitch, roll movement and angle of attack.
In additions we calculate inside cockpit Humidity, IR remote control Using National Instruments
Low Cost Data Acquisition and student scope for get extra understanding about data acquisition.
The main objective/goal is used the RS232 rather than pneumatics/ARNIC-429 and PC (laptop)
like Air Data computer to overcome the maximum weight and systematic error.
5.2. Recommendations
In future we recommend to manufacture cockpit to Analyzed all Air Data parameters and find
the all parameters which are integrated with Air Data system in simulated environment.
36
Chapter 6
6. References
[1] (Moir, Design and develpment of aircraft system 2nd edition, 2013)
[2] (Seabridge, civil Avionics system, 2003)
[3] (Advance Avionics Handbook, 2009)
[4] (A Quick Derivation relating altitude to air pressure, 2004)
[5] (Airspeed/Mach number Derivation from pressure)
[6] (National instrument, 2019)
[7] (Freescale semiconductor, 2009)
[8] (PT-100 temperature sensor)
[9] (Student Scope Using NI USB Data Acquisition,IR Remote Control Lab, 2012)
[10] (Introduction to LabVIEW, 2004)
37