Professional Documents
Culture Documents
Low Cost Av
Low Cost Av
V. DECISION MAKING
Ultrasonic Ultrasonic The third loop displays the current distance and angle to
SRF08 SRF08
the destination and the current readings from the ultrasonic
DC Motor sensors on a liquid crystal display (LCD). The LCD has been
PWM
(speed) very useful in testing and troubleshooting the navigation
Microcontroller 3 pin serial PC
DC Servo
system.
PWM
(direction)
VI. CONTROLLING SPEED AND TURNING
3 pin serial
6 DIO
The vehicle uses two motors: one for steering and the other
GPS
LCD for speed. The steering is accomplished by a Futaba S3003
Display
servo (http://www.futaba-rc.com) that came stock with the
Fig. 3. Microcontroller Connections
original radio controlled (RC) car. This servo is controlled 12V DC Bus
by a 50Hz PWM signal from the microcontroller. The pulse 12V Battery
(8 C Cell Batteries)
width is controlled between 1 ms and 2 ms for right and left
respectively. The servo arm is mechanically connected to the
front wheels to steer the vehicle. While stationary the servo
will pull a minimal amount of current with peaks of up to PWM DC- 5V DC Rabbit
300mA when turning. DC Switch Regulator Microcontroller
The original RC car came with a standard DC motor
commonly used in remote control cars. This type of motor is
designed to propel the car at speeds up to 25mph. For this GPS Ultrasonic
application, the desired speed is less than 5mph and the stock DC Motor
Receiver Sensors
motor could not reliably produce enough torque in this range.
The stock motor was replaced with a 24V, 5W, permanent
PWM
magnet, Hitachi DC motor with sufficient torque at low -3V (2 AA Cell
Steering LCD
speeds. A simple DC-DC switch converter was implemented Servo
Batteries)
to control the motor. The converter switched the terminals of
the motor from 12V DC to ground. The microcontroller Fig. 3. Power Distribution block diagram
supplied a PWM signal connected to the gate of an IRL3302
power MOSFET. Adjusting the duty cycle of the PWM
Table 1. Current Requirements (mA)
signal controls the motor speed. Under normal operation, the
Microcontroller 100
motor pulls an average of 1500 mA. This control scheme
works well on flat ground but lacks the feedback loop Drive Motor 1500
necessary to adjust the PWM to maintain constant speed Steering Servo 300
when travelling over different grades. Further, this method GPS 80
of control does not allow engine braking to stop the vehicle. SRF08 Ultrasonic Sensor 3x12
Display 5
VII. POWER MANAGEMENT Total 2021