



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




University of Florida Department of Electrical and Computer Engineering EEL 5666 Intelligent Machines Design Laboratory TA: William DubelKyle Hagin Steven Pickles Instructor: A. A Arroyo “Autonomous Hover Craft Project” AKA “Betsy 2000” Sensor Report #
Angular Rate Sensors The angular rate sensors will measure the rate of rotation around the vertical axis that passes through the middle of the hovercraft. The angular rate sensor in this design is the ADXRS300 made by Analog Devices. It outputs an analog signal that changes proportionally to the angular rate about the axis perpendicular to the top of the chip. It will out put a value of 2.5V when there is no rotation. The voltage will change as the rotation is increased or decreased. When the hovercraft is hovering there is no force of friction to hold it in place. So it is basically free floating on a cushion of air. There is a force called gyroscopic precession that is acting on the hovercraft caused by the rotation of the lift motor. The motor acts like a physical gyroscope and is mounted to the hovercraft. Since it is mounted to the hovercraft the total angular momentum of the system is conserved causing the gyroscopic precession to be applied to the entire craft. This causes the hovercraft to spin in place. The angular rate sensor will measure the spin caused by gyroscopic precession. This measurement will be used to tell which motors to increase the throttle for hovering in place. There is a basic algorithm for the software in fig 1. The craft will just lower lift motor power to remain in a non-moving state by using the force of friction on the ground. Testing A simple program that takes the analog value and puts out to the LCD can be used to test the sensor.
Accelerometer Sensors The accelerometer is the ADXL203 also from Analog Devices. This particular accelerometer outputs two analog signals one for the x and y axis. It measures the acceleration due to gravity on the x and y axis parallel with the top of the chip. When the top of the chip is perpendicular to the force of gravity the output on both analog channels is 2.5V. As the chip is rotated on either of the axis the voltage will increase or decrease depending on the direction of rotation. The difference between the accelerometer and the angular rate sensor is that the angular rate sensor will go back to 2.5V after it has been rotated and will not tell you which way is up. The accelerometer will put out a voltage proportion to its acceleration due to gravity as long as it remains in that position. Also, the accelerometers are not very accurate in yaw measurements. This sensor was very useful for the previous autonomous plane project because it could be used to measure very important tilt information for the aircraft. Now the roll an pitch axis are very stable due to the gyroscope nature of the motor. It is like a spinning top where it will remain stable and will resist rotational forces perpendicular to the axis that is spinning. So, now this sensor will be used to tell the craft if it is upright in the event of a flip over or crash. The processor will immediately shut down the engines if the craft is flipped upside down or tilted more than 45 degrees.
Testing To test the accelerometer the same program used to test the angular rate sensor can be used. This time the sensor was mounted to a protractor to be able to correspond values of the a/d to the actual angles. This data is seen below.
Degrees
a/d value Left Justified
Series
These data values are consistent with what the data sheet says. As you can see in the graph there can be a linear approximation from 45 to 135. The data sheet says that at plus or minus 45 degrees there will be a linear relationship but below or above these values the slope is different.
Sonar The sonar range finders used are made by a company called Devantech. The sensors are the SRF04. These sensors will allow a microprocessor to accurately measure distance. It uses a sonar ping to detect distances to objects by calculating the flight time of the ping and using the known speed of sound.
Angle A/D 0 19584 20 20352 (^4060 ) 80 30720 10090 3289635200 120 39104 (^140160 ) 180 45440
NMEA Format
The basic software program will look for the headers (ie GPVTG) and then use the commas as delimiters to determine where the data needed is at. It is a little more complicated than that because there is a need for conversion from ASCII to usable data for the decimal numbers. A basic program that will just take what is coming in to the rx and displays it on the LCD is at the end of this report.