Vehicle Following System - PowerPoint PPT Presentation

1 / 88
About This Presentation
Title:

Vehicle Following System

Description:

United Arab Emirates University College of Engineering Graduation Project II Vehicle Following System Project Advisor: Dr. Hassan Noura Project Co-ordinator: Dr ... – PowerPoint PPT presentation

Number of Views:196
Avg rating:3.0/5.0
Slides: 89
Provided by: stud1522
Category:

less

Transcript and Presenter's Notes

Title: Vehicle Following System


1
Vehicle FollowingSystem
United Arab Emirates University College of
Engineering Graduation Project II

Project Advisor Dr. Hassan Noura Project
Co-ordinator Dr. Qurban Ali
  • Mohammad Saad Laghari 200235906
  • Saeed Aqeel Saeed 200305445
  • Badr Al-Salmy 200235572
  • Marwan Essa Bastaki 200540932

Second Semester 2007/2008
2
Contents
  • Introduction
  • Background Theory
  • Mathematical Modeling
  • Digital Control
  • Sensor
  • Microcontroller
  • Motor Switching Function
  • System Structure and Final Design
  • Gantt Chart for GPI
  • Gantt Chart for GPII
  • Conclusion

3
Introduction
4
  • Make the 2nd car follow the 1st car
  • 1st car ? remote controlled
  • 2nd car ? autonomous motion by
  • keeping the distance constant
  • using a digital control system
  • Safety Factor
  • Environmental Factor

5
  • The team objective is to design this system and
    develop the controller that allows achieving the
    vehicle following system
  • Necessary instruments to complete the project
    are
  • Sensors
  • Micro-controller
  • H-bridges
  • Mosfets
  • Circuit Components
  • Etc.

6
  • The team work includes
  • Design construction
  • Instrumentation
  • Computer modeling analysis
  • Implementation and control
  • Testing experimental investigation

7
  • Both cars are to communicate via a communication
    system (transmitter receiver) set
  • A control system has to be installed on the
    follower car
  • This will allow it to start into motion when the
    first car does and stop when the first car stops,
    keeping a predetermined distance
  • The control system basically includes some
    computer software which translates the logic of
    motion of the follower car
  • This software is to be installed onto an
    appropriate micro controller chip

8
Applications and Uses
  • Decrease man-power (lower cost and time, more
    work)
  • Pesticide Control (Farming)
  • Transportation
  • Manufacturing
  • Carriages
  • Automated High-ways

9
Background Theory
10
Cars
  • Speed
  • Deceleration
  • Weight
  • Size
  • Circuitry of Motor
  • Price

11
Communication
  • Ultra-sonic
  • Only frequency around 40KHz is detected
  • Distance increases, Voltage decreases
  • (vice-versa)

12
(No Transcript)
13
(No Transcript)
14
Microcontroller Motor
  • The peak voltage received from receiver is
    received by micro-controller
  • Micro-controller determines if the voltage is
    nominal (set voltage) using simple
    microprogramming codes
  • Micro-controller then sends a signal to the
    H-bridges
  • The H-bridges then sends the signals to the
    powere MOSFETs, which in turn send the signals to
    the motors

15
(No Transcript)
16
Mathematical Modeling
17
(No Transcript)
18
(No Transcript)
19
  • The 2nd Cars body coordinates

Define
20
This model is not complete, since the state space
should include input voltages (or currents).
21
J Mass moment of inertia kt Torque Constant B
Friction of Motor
22
(No Transcript)
23
(No Transcript)
24
(No Transcript)
25
Digital Control
26
Main Parts of a Digital Controller
  • A/D conversion
  • D/A conversion
  • A program

27
High Proportional Gain
28
Low Proportional Gain
29
Reasonable Proportional Gain
30
PD Controller Response
31
PID Controller Response
32
Car Position Block Diagram
33
Car Direction Block Diagram
34
Sensors
35
Ultra-sonic Sensors
  • Systems typically use a transducer which
    generates sound waves in the ultrasonic range,
    above 20,000 hertz,
  • by turning electrical energy into sound,
  • then upon receiving the echo
  • turn the sound waves into electrical energy which
    can be measured and displayed

36
Transducer
  • An ultrasonic transducer is a device that
    converts energy into ultrasound, or sound waves
    above the normal range of human hearing
  • Piezoelectric crystals
  • Changing size when a voltage is applied
  • Applying an alternating voltage (AC) across them
    causes them to oscillate at very high frequencies
  • Thus producing very high frequency sound waves

37
Detectors
  • Since piezoelectric crystals generate a voltage
    when force is applied to them, the same crystal
    can be used as an ultrasonic detector
  • Since the detector will only be used to detect
    ultrasonic waves, the design is such a way that
    all other waves (or most of them) are eliminated

38

Receiver
Transmitter
39
(No Transcript)
40
  • Frequency 40 KHz
  • Input Voltage 14Vpp

Distance (cm) Receiver output (V)
50 0.646
37.5 0.91
25 1.23
12.5 1.4
41
CAR 1
CAR 2
42

43
(No Transcript)
44
(No Transcript)
45
15 cm
5 cm
1.2 mm
46
(No Transcript)
47
Logic
  • Angle Sensors
  • Programming
  • Both increase or both decrease
  • Right sensor increases, Left decreases
  • car turns right
  • Left sensor increases, Right decreases
  • car turns left

48
Microcontroller
49
PIC16F877
  • InputH and InputL
  • 0-0.5V
  • 2.0-5.5V
  • OutputH and OutputL
  • 0-0.7V
  • 4.2-5V

50
PIC16F877
51
PIC Programming
  • Ports (I/O)
  • TRISA 0x00000000
  • Bit 0 output, Bit 1 input
  • (TRISA, TRISB, TRISC,
  • TRISD, TRISE)
  • ADCON1 00000000
  • (Set PORTA to Analog)

52
ADC
  • Voltage range VCC (5V)
  • 0-5V input 8 bits --gt 0-255 or 0-64k
  • DEFINE ADC_BITS 8
  • ADCIN 0, measurement
  • DEFINE ADC_SAMPLEUS X
  • (Sampling time in us)

53
Reset Circuit
54
External Oscillator
55
Variable Speed
  • Sensor Levels
  • Motor Input
  • Microcontroller Output

56
PWM - Duty Cycle
  • Duty cycle
  • HPwm 1, control, 15000

57
The Code
58
(No Transcript)
59
(No Transcript)
60
(No Transcript)
61
(No Transcript)
62
Motor Switching Function
63
High and Low Side Driver
64
  • Function
  • Amplification
  • Isolation
  • Features
  • Fully operational to 600V.
  • Matched propagation delay for both channels.
  • Noise immunity.
  • Outputs in phase with inputs.

65
(No Transcript)
66
DC Motor-Driver H-Bridge Circuit
67
A B C D State
0 0 0 0 Off
0 0 0 1 Off
0 0 1 0 Off
0 0 1 1 Brake
0 1 0 0 Off
0 1 0 1 SHORT
0 1 1 0 Reverse
0 1 1 1 SHORT
A B C D State
1 0 0 0 Off
1 0 0 1 Forward
1 0 1 0 SHORT
1 0 1 1 SHORT
1 1 0 0 Brake
1 1 0 1 SHORT
1 1 1 0 SHORT
1 1 1 1 SHORT
68
(No Transcript)
69
(No Transcript)
70
System Structure and Final Design
71
  • AC Signal Generator
  • Ultra-Sonic Transmitter-Receiver Set
  • Bridge Rectifier Amplifier
  • PIC16F877 Microcontroller
  • Driver Chip MOSFET H-Bridge
  • Voltage Regulator

72
AC Signal Generator
73
Bridge Rectifier Amplifier
74
PIC16F877 Microcontroller
75
Driver Chip MOSFET H-Bridge
76
Voltage Regulator
77
(No Transcript)
78
Final Circuit of the Second Car
79
Final Circuit of the First Car
80
Final Design Side View
81
Gantt Chart for GPI
82
(No Transcript)
83
Gantt Chart for GPII
84
(No Transcript)
85
Conclusion
86
  • Project was successful
  • Information from courses
  • Digital Control Systems
  • Programming Courses (Java and C)
  • Electronics
  • Power Electronics

87
  • Hardships Faced
  • Sensors
  • H-Bridge
  • Microcontroller

88
Thank You For ListeningQUESTIONS?
Write a Comment
User Comments (0)
About PowerShow.com