Have a Safe Flight: Bon Voyage!Making the “Smart Flight Vest”Controlling ThrottleMain Block DiagramMeasuring the Roll of the PlaneMeasuring the Pitch of the PlaneADXRS300 - Angular Rate SensorGetting an Angle from Angular RateInterfacing the ADXRS300Slide 10Timing Operation DiagramData Read OperationForces Determined in Physics ModuleForces on an AirplaneForce equationsAircraft RotationsRotation produces VectorsDisplaying the State of the FlightVideo Display Block DiagramScreenshotDisplaying numbersAttitude IndicatorAttitude Indicator – AlgorithmHave a Safe Flight: Bon Voyage!Mariela Buchin, Wonron Cho, Scott FisherMaking the “Smart Flight Vest”Mount two angular rate sensors onto the upper body of the flight vestSeparate device will measure throttleControlling ThrottleWant functionality of being able to adjust and set throttleWill mount a handle onto resistor arm to imitate a throttle leverMain Block DiagramMeasuring the Roll of the PlaneMeasuring the Pitch of the PlaneADXRS300 - Angular Rate SensorContains 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 VGetting an Angle from Angular RateAngleRate = K * (ADCVoltage-ZeroVoltage)K is some constant (Degs/sec/volt)Angle = Angle + AngleRate*deltaTMay need calibration for ZeroVoltageInterfacing the ADXRS300Will use an analog to digital converter AD7895AN-2Output of the AD7895 is 12 bitsUses a reference potential of 2.5 volts Serial OutputInterfacing the ADXRS300Bandwidth of the ADXRS300: 400HzMinimum sampling rate for ADC is 800HzWe’ll use 10 KHz sampling rateTiming Operation DiagramData Read OperationAD7895 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)Forces Determined in Physics ModuleForces and Anglular Velocities determined in Minor FSMPositions and Angles calculated in Physics FSMForces on an AirplaneForce equationsThrust: F = maWeight: F = mgAircraft RotationsRotation produces VectorsDisplaying the State of the FlightThe 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.Video Display Block DiagramScreenshotDisplaying numbersApproach 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 neededAttitude 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.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
View Full Document