zmariela buchin, wonron cho, scott fisher · 2020. 7. 9. · attitude indicator zthe attitude...
TRANSCRIPT
![Page 1: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/1.jpg)
Have a Safe Flight: Bon Voyage!
Mariela Buchin, Wonron Cho, Scott Fisher
![Page 2: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/2.jpg)
Making the “Smart Flight Vest”
Mount two angular rate sensors onto the upper body of the flight vestSeparate device will measure throttle
![Page 3: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/3.jpg)
Controlling Throttle
Want functionality of being able to adjust and set throttleWill mount a handle onto resistor arm to imitate a throttle lever
![Page 4: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/4.jpg)
Main Block Diagram
![Page 5: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/5.jpg)
Measuring the Roll of the Plane
Please see http://www.grc.nasa.gov/WWW/K-12/airplane/roll.html
![Page 6: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/6.jpg)
Measuring the Pitch of the Plane
Please see http://www.grc.nasa.gov/WWW/K-12/airplane/pitch.html
![Page 7: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/7.jpg)
ADXRS300 - Angular Rate Sensor
Contains an internal GyroscopeOutput voltage proportional to the angular rate about the axis perpendicular to the surface of the chipRange of rate: +/- 300 o/secZero movement: outputs 2.5 V
![Page 8: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/8.jpg)
Getting an Angle from Angular Rate
AngleRate = K * (ADCVoltage-ZeroVoltage)
K is some constant (Degs/sec/volt)
Angle = Angle + AngleRate*deltaT
May need calibration for ZeroVoltage
![Page 9: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/9.jpg)
Interfacing the ADXRS300
Will use an analog to digital converter AD7895AN-2Output of the AD7895 is 12 bitsUses a reference potential of 2.5 volts Serial Output
![Page 10: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/10.jpg)
Interfacing the ADXRS300
Bandwidth of the ADXRS300: 400HzMinimum sampling rate for ADC is 800HzWe’ll use 10 KHz sampling rate
![Page 11: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/11.jpg)
Timing Operation Diagram
![Page 12: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/12.jpg)
Data Read Operation
AD7895 uses 16 clock cycles to output the digital data bits resulting from the conversionIt outputs 4 leading zeros, then the 12 bits of actual data, starting with the MSB(DB 11)
![Page 13: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/13.jpg)
Forces Determined in Physics Module
Forces and Anglular Velocities determined in Minor FSMPositions and Angles calculated in Physics FSM
![Page 14: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/14.jpg)
Forces on an Airplane
Please see http://www.grc.nasa.gov/WWW/K-12/airplane/forces.html
![Page 15: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/15.jpg)
Force equations
Thrust: F = maWeight: F = mg
lift = CL x ( ρV ) x S2
drag = CD x ( 1 ρV2) x A2
21
Please see:
http://www.grc.nasa.gov/WWW/K-12/WindTunnel/Activities/lift_formula1.GIFhttp://www.grc.nasa.gov/WWW/K-12/airplane/lifteq.htmlhttp://www.grc.nasa.gov/WWW/K-12/airplane/drageq.html
![Page 16: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/16.jpg)
Aircraft Rotations
Please see http://www.grc.nasa.gov/WWW/K-12/airplane/rotations.html
![Page 17: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/17.jpg)
Rotation produces VectorsPlease see http://www.grc.nasa.gov/WWW/K-12/airplane/turns.html
![Page 18: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/18.jpg)
Displaying the State of the Flight
The pilot flying the plane stands in front of a monitor that displays the main features of an airplane console, including an attitude indicator and a display for altitude, ascent rate, and velocity.
![Page 19: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/19.jpg)
Video Display Block Diagram
![Page 20: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/20.jpg)
Screenshot
![Page 21: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/21.jpg)
Displaying numbers
Approach 1- Instantiate rectangles to form numbers (similar to how MIT logo was made in the Pong game)Approach 2- Create and store table of ASCII characters in memory and render characters when they are needed
![Page 22: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/22.jpg)
Attitude IndicatorThe Attitude Indicator Module takes in two angles (pitch and roll).The roll of the airplane determines the slope of the white line (horizon) .The area above is colored blue (sky).The area below is colored brown (earth).The pitch determines the position of the horizon.
![Page 23: zMariela Buchin, Wonron Cho, Scott Fisher · 2020. 7. 9. · Attitude Indicator zThe Attitude Indicator Module takes in two angles (pitch and roll). zThe roll of the airplane determines](https://reader036.vdocuments.mx/reader036/viewer/2022071007/5fc53b91700d586c5c2a247f/html5/thumbnails/23.jpg)
Attitude Indicator – Algorithm
The goal is to make the horizon shift and rotate in response to pitch and roll.When airplane is flying “sideways,” a different equation is used to draw the line representing the horizon.