Download Modeling and Implementation of PID Control for Autonomous Robots

Transcript
Four of these plates are arranged in a Wheatstone bridge configuration. Each
rectangle represents one of the plates shown in Figure 14. The voltage drop across +Vo
to –Vo is the signal that provides the measure of heading. The voltage across Vcc to GND
is the applied voltage from the power source.
Figure 14.
Bridge configuration for magneto resistive effect. (Philips Semiconductors)
To account for other magnetic fields present due to the robot’s electronics, the
compass was calibrated manually by aligning to magnetic north. Once the calibration
was complete, the compass aligned magnetic north along the same direction as the other
compass, and showed the correct heading for the cardinal directions. Without calibration,
the compass does not even read 90 degrees between the cardinal directions properly. The
compass sends out an 8 bit signal, and therefore has 256 possible values. Dividing 360
degrees by 256 possible outputs means the compass is precise to 1.4 degrees, as it is
implemented here. It is possible to get the compass to operate at +/-.1 degrees with a
pulse width modulated signal, but that involves significant software modifications and
would not be very helpful since the GPS is only accurate to commercial specifications.
For a complete description of all the hardware capabilities and how the hardware
was incorporated into the robot see Herkamp, pages 11 to 35.
15