Intelligent Parallel Parking and Obstacle Avoidance System: Spring 2011 Senior Design Project

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 5

Intelligent Parallel Parking and Obstacle Avoidance System

Spring 2011 Senior Design Project

Abhishek Yadav
Department of Electrical Engineering
University of New Orleans
New Orleans, LA USA
ayadav1@uno.edu

Abstract— The objective of this project is to design and enough for parallel parking and perform the necessary parking
build the Intelligent Parallel Parking and Obstacle Avoidance maneuver into the parking spot. IPPOAS will provide the user
System. The system is comprised of mechanical, navigation, with the ability to drop off the vehicle in the traffic lane and be
microprocessing and power systems installed on a model car. The ensured that the vehicle will park independently without any
system measures an available parking space, checks whether the incidents.
space is large enough for parking, aligns the car correctly in the
traffic lane and then performs the necessary parallel parking IPPOAS is a response to the need for an intelligent parallel
maneuvers into the parking spot. In addition to parallel parking, parking system that can be installed in any four-wheeled
the system can detect static obstacles, like road blocks and vehicle regardless of its make and model.
dynamic obstacles, like pedestrians, in the vehicle’s path. If Curb
dynamic obstacles are detected, the vehicle stops until the
obstacle moves out of the way. If static obstacles are detected, the
vehicle maneuvers around the obstacle ensuring a collision free
trajectory. The project entailed many tasks like mechanical
design and assembly, strategic sensor placement and interfacing,
power regulation and programming. This paper focuses on my
personal contributions to the system design in addition to various Ending
contributions my teammates. Position

Keywords-autonomous vehicle; intelligent parallel parking;


sensors; motor control; dc motor; servo motor; stepper motor
Starting
Position
I. INTRODUCTION
With the development in artificial intelligent industry,
more car manufactures are upgrading their product by adding Figure 1 – Parallel Parking Maneuver
smart technology. One of the important additions to four-
wheeled vehicles is the function of autonomous parallel IPPOAS focuses on robust engineering design, advanced
parking. Manufactures like Toyota, Ford and BMW are adding sensor systems, strategic placement of sensor arrays, efficient
this feature. Due to the need of precisely calculated parallel programming techniques and multiple testing scenarios. Design
parking maneuvers, even experienced drivers find it very requirements for this project are the knowledge of available
difficult to parallel park. Therefore, autonomous parallel sensor technologies, knowledge of the vehicle steering
parking feature is very convenient for drivers. function, knowledge of available microprocessing solutions
and design of parallel parking and obstacle avoidance
The parking system of manufactures like Ford only algorithms.
performs the steering maneuvers and requires the driver
to manually operate the gas pedal. Also, in the presence of an Our goal is to provide intelligent and independent parallel
obstacle, the driver is required to hit the brake manually as seen parking solution. Also, we seek to incorporate obstacle
in [1]. Therefore, there is a need for a parallel parking system detection and obstacle avoidance maneuvers in the traffic lane,
that will completely replace the driver for the purpose of therefore, leading to an increase in the use of autonomous
parallel parking. features in vehicle navigation.
Intelligent Parallel Parking and Obstacle Avoidance System Figure 1 shows the maneuver executed by IPPOAS to
(IPPOAS) is flexible enough to be installed in any four- perform parallel parking. Figure 2 shows the maneuver
wheeled vehicle. IPPOAS can detect obstacles in the traffic performed by IPPOAS in presence of a static obstacle. Also,
lane, maneuver around static obstacles like road blocks, stop the vehicle stops in presence of dynamic obstacle as seen in the
for dynamic obstacles like pedestrians crossing the traffic lane, bottom part of Figure 2.
detect parking space, check whether the parking space is large
introduced a few modifications from our initial design. First of
all, the DC motor provided with the chassis required high
current and power which didn’t meet our design specification.
It required a high current of 2.5 A as seen in [2]; whereas, the
Static Obstacle H-bridge providing the forward and backward drive logic to the
DC motor could not handle current over 1 A as seen in [3].
Also, the speed of the original DC motor was too high for the
purpose of parallel parking. Therefore, we used the back-up
DC motor which was ordered separately. As the back-up DC
motor was considerably smaller in size, we had to design a new
Ending Starting motor mount to secure the new DC motor onto the DC motor
Position Position casing designed for a larger motor. To solve this problem, we
used a plastic housing that would hold the small DC motor into
the larger space. It was fastened to the housing using screws
and washers to eliminate any unwanted wobbling of the motor
body.

Dynamic Next, we finalized the design of the steering motor. While


Obstacle testing the steering motor, we realized that using a servo motor
instead of a stepper motor would suffice for our project. The
stepper motor, as the name suggests, can move in precise steps
and operate in an open loop system as seen in [4]. However, the
stepper motor was too bulky to be used for steering; therefore,
we replaced it with a servo motor bought from a local hobby
Stopping for a
pedestrian store.
After, the completion of the final design, we were ready to
Figure 2 – Obstacle Avoidance assemble these parts and interface them with each other. Figure
3 shows the configuration of individual parts mounted on the
IPPOAS will impart a positive societal impact chassis.
by incorporating innovative, clean and smart technologies to
improve the quality of life of drivers. One major societal
impact of the project is to decrease the frequency of parking
1 8 8 2
accidents and increase the safety and comfort of drivers.
13 7
II. MECHANICAL DESIGN 5

6
A. Initial Design
The tentative design of our project was sketched 3 12 10 11
9
during our Senior Design I class. Since we were focusing less 4
6
on the mechanical system and more on the navigation and
microprocessing system, we decided to purchase a built-in 13 7
chassis that would come with the motor and gear system
already installed. Each task leader prepared a rough draft of his 1 2
system design and these designs were discussed in the team
meeting for approval. After a couple of weeks, the initial design
S. No Components
was completed. Following the initial design, we decided to use 1 Front Wheels
a DC motor to drive the back wheel, a stepper motor to steer 2 Real Wheels
the vehicle, four infrared sensors for obstacle detection (two on 3 Servo Steering Motor
the front and two on the rear), two ultrasonic sensors for 4 DC Motor for Rear-Wheel Drive
5 Gear Box
distance measurement (attached to the right hand side of the 6 Cross-tanked Front IR Sensors
chassis), a microprocessor with at least 6 analog pins, a 7-8 V 7 Cross-tanked Back IR Sensors
battery to power the dc motor and a 5 V USB battery to power 8 Distance sensors
all other components. Based on these criteria we ordered the 9 Microcontroller
10 7.2 V Ni-Cd Battery
parts, and started to build our product. 11 5 V USB Battery
12 Breadboard with H-bridge
B. Final Design 13 Steering Rods
Once we received these parts, we started to test them
individually and finalize our design. The final design phase
Figure 3 – Final Design

Department of Electrical Engineering, The University of New Orleans


III. MECHANICAL ASSEMBLY plastic casing, and attached our motor into the casing using
As the design of our system was finalized, we started to screws. Next, we attached the gear wheel to the motor head,
assemble the individual components. The Tamiya chassis used and tested the motor for the preferred speed.
as the base of the IPPOAS came in separate pieces along with After making sure that the motor was moving at the desired
the instruction manual. Using the manual, and making minor speed, we attached the gear head of the motor to the gear head
modifications, we assembled the pieces together to build the of the gear box. After proper alignment and fitting of the gear
chassis. Next, we mounted the DC motor onto the DC motor heads, we secured the DC motor mount to the chassis using a
housing of the chassis. single long screw.
After mounting the DC motor, we attached the servo motor
on the chassis. The servo motor was then connected to the
adjustable steering rods which connected to the right and left
front tires. The tires were properly aligned such that our vehicle
moved in a straight path by adjusting the length of steering
rods. An important aspect of assembling was to mount the
infrared sensors in a suitable configuration, such that their line
of sight could be adjusted. For mounts, we cut up aluminum
plates into the desired shapes, and mounted them onto strategic
locations on the chassis. The sensors could then be attached
onto these mounts. The ultrasonic sensors were mounted on the
right hand side of the chassis at the center of the vehicle length
using custom made aluminum plate mounts and double tape. Figure 4 – DC Motor Mount
A breadboard and the microprocessor were then attached on
the top of the chassis using double tape. The H-bridge and Figure 5 shows the completed DC motor mount. The
other circuitry were then placed on the breadboard. The circuits picture on the left shows the back of the DC mount with the
for the DC motor, the infrared sensors and the ultrasonic motor attached inside the casing. The picture on the right
sensors were obtained from their datasheets. The servo motor shows the two gear heads fitting together.
and the distance sensors were connected directly to the
microprocessor’s analog pin. Individual sensors and motors
C. Servo Motor and Steering Rods
were provided with an operating voltage of 5V using the USB
battery powering the microprocessor. After finishing the work on the DC motor mount, we
decided to attach the servo motor to the steering rods which
A. Chassis Assembly would control the angle of the front wheels.
The Chassis was assembled by following the directions in
the manual provided by the chassis manufacturer, Tamiya Servo Motor
Racing. Next, the wheels were attached to the chassis. After the
completion of chassis assembly, we moved on to attaching the
DC motor to the gear box of the chassis, which moved the rear
wheels of the vehicle. Figure 4 shows the assembled chassis.

Figure 6 – Servo Motor

We used double sided tape to fix the servo motor on the


space on the chassis provided for a steering motor. Then, the
steering rods were attached to the servo motor. The steering
Figure 4 – Assembled Chassis
rods were adjustable, meaning that, we could alter the length of
B. DC Motor Mount the rods by screwing or unscrewing the plastic head of the
As the DC motor that came with the chassis was not steering rods. This allowed us to properly align the front
suitable for our project, we had to build our own DC motor wheels, making sure that the vehicle would travel in a straight
mount to attach the suitable Polulu dc motor to the gear system line.
which attached to the back wheels. We started with an empty
Figure 6 shows the top view of the servo motor attached to Similarly, the ultrasonic distance sensors were attached to
the steering rods and the front wheels. Figure 7 shows the the right hand side of the chassis using an L-shaped and a
bottom view of the adjustable steering rods attached to the front square-shaped sensor mount made out of aluminum cut-outs.
wheels, using the screw caps.

Steering Rod

Figure 7 – Adjustable Steering Rods

Figure 10 – Ultrasonic Sensor Mounts


D. Sensor Mounts
After completing the assembly of the servo motor and the Figure 10 shows the ultrasonic sensors attached to the
steering rods, we moved on to assemble the sensors onto the sensor mounts, which were attached to the chassis using
chassis. To attach the sensors, we had to design sensor mounts. double sided tape.
We knew we were going to configure the sensors in a cross E. Other Components
tank; therefore, we had to ensure that the sensors would not
After the work on sensor mounts were completed, major
interfere with each other’s line of sight. We chose to cut out
work on assembling the chassis was finished. Next, we
aluminum sheets in a T-shape to make the front sensor mounts. attached various other components like the microprocessor, the
Also, the stem of one sensor mount was made smaller than the breadboard and the batteries to the chassis as appropriate.
other, such that, they would not interfere with each other’s line
of sight. Figure 8 shows the front infrared sensors attached to The microprocessor and the breadboard were placed next to
the sensor mounts, which were attached to the chassis. each other on the middle section of the chassis and attached to
the chassis using a piece of aluminum plate and double sided-
tape. Figure 11 shows the mounted microprocessor and the
breadboard.

Figure 8 – Front Infrared Sensor Mounts Microprocessor


.
Similarly, the sensor mounts for the rear infrared sensors
were cut out in an I-shape. Figure 9 shows one of the two rear
infrared sensors attached to the sensor mount, which was
attached to the chassis.

Breadboard

Figure 9 - Rear Infrared Sensor Mount


Figure 11 – Microprocessor and Breadboard Mount
Next, we placed the 7.2 V Ni-Cd battery, which powered ACKNOWLEDGMENT
the DC motor, in the provided battery housing at the base of the I would like to thank Dr. Parviz Rastgoufard for his
chassis. We placed a cover on the battery, to ensure that the unwavering guidance, motivation, and feedback which were
battery would not be exposed to the outside environment using crucial to project management and completion. Also, I would
the battery cover that came with the chassis. like to thank Dr. Jeffrey Frank Gray for getting my team started
with the project, which gave us a head start with the design
phase. Next, I would like to thank the Department of Electrical
Engineering at The University of New Orleans for partially
funding our project.
I would like to thank Anil Pandey for the design of the
power system. I would like to thank Ajit Gauli for his expertise
Battery Casing with the sensor system. I would like to thank Nischal Basnet
for the long hours spent coding the parallel parking algorithms.
Without the collaboration and hard work of the group
members, this project would never be successful.
Last but not the least, I would like to extend my gratitude to
all my friends and family members, whose interest in the
Battery project provided me the moral support to keep working
consistently on the project.

Figure 12 – Battery Housing REFERENCES

Figure 12 shows the base of the chassis with the battery [1] Ford Motor Company. http://media.ford.com/article_display.cfm?
housing and the battery cover. article_id=29625 [Online]
[2] Mabuchi Motor.
Next, we decided to mount the 5 V USB battery, which http://www.mabuchi-motor.co.jp/en_US/cat_files/rs_540rhsh.pdf
powered all other electronic components, beneath the tail of the [Online]
vehicle. Finally, we attached the vehicle cover on the chassis [3] Texas Instruments. http://focus.ti.com/lit/ds/symlink/sn754410.pdf
using a single screw, which completed the assembly of the [Online]
mechanical system. [4] Solarbotics. http://www.solarbotics.net/library/pdflib/pdf/motorbas.pdf
[Online]
Figure 13 shows the completed mechanical design. It must
be noted that the final mechanical assembly was completed as The template will number citations consecutively within
various components were interfaced with each other and we brackets [1]. The sentence punctuation follows the bracket [2].
had a completely working design. Refer simply to the reference number, as in [3]—do not use
“Ref. [3]” or “reference [3]” except at the beginning of a
sentence: “Reference [3] was the first . . .”
The template will number citations consecutively within
brackets [1]. The sentence punctuation follows the bracket [2].
Refer simply to the reference number, as in [3]—do not use
“Ref. [3]” or “reference [3]” except at the beginning of a
sentence: “Reference [3] was the first . . .”
The template will number citations consecutively within
brackets [1]. The sentence punctuation follows the bracket [2].
Refer simply to the reference number, as in [3]—do not use
“Ref. [3]” or “reference [3]” except at the beginning of a
sentence: “Reference [3] was the first reference [3]” except at
the beginning of a sentence: “Reference [3] was the first . . .”
The template will number citations consecutively within
brackets [1]. The sentence punctuation follows the bracket [2].
Refer simply to the reference number, as in [3]—do not use
Figure 13 – Final Assembled Product “Ref. [3]” or “reference [3]” except at the beginning of a
sentence: “Reference [3] was the first . . .”

You might also like