Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Use of accelerometer to control destabilisation in a plane

Requirement
Three axes Accelerometer -> MMA7260Q
Microcontroller 4 Servo motors

Basic Idea
The image below shows the rolling, pitching and yawing motion of the plane.

Rolling is achieved through movement of ailerons which require two servo motors operating at the same time. Pitching is done through movement of the elevator which requires one servo motor. Yawing is achieved through movement of the rudder requiring one servo motor.

If any of small deflection is detected which is unwanted, our system should try to bring it back to the original configuration of a level flight. For this purpose first we have to detect the amount of deviation and the axis. Secondly we have to employ certain mechanism to restore the plane to its original configuration. Using an accelerometer will solve our purpose of detecting the tilt in any axis. Now the value reported by it is given to a microcontroller. The microcontroller, in turn, will operate on the servo motors for deflecting the various control surfaces(ailerons,rudder or elevator) until the plane returns to its original configuration which is again decided by the accelerometer.

Description of the accelerometer(MMA7260Q)

The following table summarises the output and input pins of the MMA7260Q accelerometer

The output voltage is between 0 and 3.3V. Note -> The N/C pins are not connected. The g select 1 and g select 2 are used for various g values the accelerometer can be used. These are connected to dip switches. Adjusting the dip-switches the accelerometer can toggle between the different g-Ranges. The table below shows the g-ranges

Where 0 represents ground and 1 represents high state or 3.3V When there's no acceleration on a given axis, the output for that axis outputs half the supply voltage, or about 1.65V. With acceleration in a positive direction along the axis, the output voltage for that axis rises. With negative acceleration along the axis, the voltage goes down. In other words:

at rest the voltage is in the middle at full forward acceleration, the voltage is at its highest at full backward acceleration, the voltage is at its lowest

You might also like