automated traffic control system
TRANSCRIPT
Under the esteemed guidance of
Mr.G.CHAKRAPANI M.Tech
Assistant Professor
Department of E.C.E
Presented By
CH.RAMADEVI 09X91A0473
P.KONDALA RAO 09X91A04A9
SK.MADAR SAHEB 09X91A04B3
CH.HARIKA 09X91A0475
B.SRINIVASA RAO 09X91A0468
Abstract
Introduction
Technology Used
Project information
Software used
Conclusion
The main goal of engineering is the planning and
management of traffic systems.
One aspect of the project aims at developing a traffic
control algorithm for future technology.
We then deal with all four routes
i.e. East, West, North and South
A newly emerged area is demand estimation through microscopic traffic modeling.
According to development of our project it is a step by step analysis of traffic system.
Emergency sensor is built upon, to continuously check the emergency situations like ambulance, police and fire-bridge etc.
ToolsIBM Rational Rhapsody 7.5.2Kiel Flash magic
Hardware requirementIntel Pentium 1.5 Ghz.1 GB main memory.3 GB of free hard disk space.14” or bigger monitor.Mouse.Standard Keyboard
Software Requirement:-
Operating System: Windows XPCompiler: MinGW
LPC 2138 MICROCONTROLLER
FEATURES
32-bit ARM7TDMI-S microcontroller.
32 KB of on-chip static RAM and 512 KB of on-chip Flash program memory.
128 bit wide interface/accelerator enables high speed 60 MHz operation.
Single Flash sector or full chip erase in 400ms and programming of 256 bytes in 1 ms.
family of Rational Rhapsody providescollaborative design and development forsystems engineers and software developerscreating real-time or embedded systems andsoftware.
It supports UML, SysML, AUTOSAR, DoDAF,
MODAF, UPDM
UML diagrams Class Diagram
Object Diagram
Component
Package
Structure
Activity
Sequence
State Machine
Communication
Timing
ON
M anu al
EWNS
OFF
Automated Road Traffic Controller Using Rhapsody
Control Room
Controller
NS_RED:int=0
EW_RED:int=0
NS_ORANGE:int=0
EW_ORANGE:int=0
NS_GREEN:int=0
EW_GREEN:int=0
LEFT_GREEN:int=1
x:bool=f alse
y :bool=f alse
z:bool=f alse
NS_REDTIME: int=0
NS_ORANGETIME: int=0
NS_GREENTIME: int=0
EW_REDTIME: int=0
EW_ORANGETIME: int=0
EW_GREENTIME: int=0
NS_MSG:char*=" "
EW_MSG:char*=" "
ev _Start()
ev _Stop()
Reset():v oid
ev _Manual()
Reduce_time():void
ev _EmergNS()
ev _EmergEW()
ev ent_22()
1
itsController
Power_switch
ev _On()
ev _Of f ()
1
itsController
Hold
ev _Hold()
Emergency
Em_f lag:bool=f alse
ev _Emergency ()
ev _EWopen()
ev _NSopen()
Em_check(p:bool): .. .
1
itsController
1
itsEmergency
NS_SENSOR
ev _NSs.. .
ev _NSs.. .
ev _NSs.. .
1
itsNS_SENSOR1
itsEmergency
EW_SENSOR
ev _EWse...
ev _EWse...
ev _EWse...
1
itsEW_SENSOR
On Off
controller_density
time:int
NS_red:int=0
NS_green:int=0
NS_orange:int=0
EW_orange:int=0
EW_green:int=0
EW_red:int=0
d:bool=true
free_left:int=1
ev_Den()
is_Change1():bool
is_Change2():bool
set_status(n:bool):void
ev_DenON()
Reset():void
ev_DenOFF()
1
itsController_density
Density_sensor
NS:int=0
EW:int=0
density():void
compare():void
ON
OFF
Normal
time:int
N_red:int=0
S_red:int=0
E_red:int=0
W_red:int=0
N_orange:int=0
S_orange:int=0
E_orange:int=0
W_orange:int=0
N_green:int=0
S_green:int=0
E_green:int=0
W_green:int=0
N_time:int=0
S_time:int=0
E_time:int=0
W_time:int=0
TURN_LEFT:int=1
dec_time():bool
is_Norm1():bool
is_Norm2():bool
is_Norm3():bool
is_Norm4():bool
is_Norm5():bool
is_Norm6():bool
is_Norm7():bool
is_Norm8():bool
ev_NormON()
ev_NormOFF()
Reset():void
Density sensor
1. It calculates number of vehicles
2. It compares no. of vehicles on both side and alert the machine
Emergency eV_sensor
1. It has 2 radio receivers
2. When desired frequency received it will send the desired signal to the control state chart/
UML diagrams Class Diagram Object Diagram Deployment Component Package Profile Structure Use Case Activity Sequence State Machine Communication Interaction Overview Timing
Off
Reset( )...On
On_000
if(x==fal...
On_001
if(x==fal...
tm(5000)/z=true;
On_110
if(x==tru...
On_100
if(x==tru...
tm(5000)/y=false;
tm(5000)/x=false;
On_011
if(x==fal...
tm(5000)/y=true;
On_111
if(x==tru...
tm(5000)/x=true;
tm(5000)/z=false;
Time
Reduce_time();
tm(1000)
Timing
ev_Start
ev_Stop
Timing
ev_ManualManual_mode
Reset( ); NS_...
NS_ORANGE=...
ev_Manual
ev_EmergNSEmerg_ns
Reset( );...
ev_EmergNS
ev_EmergEWEmerg_ew
Reset( );...
ev_EmergEW
On -
it represents the traffic
control system is
working under
software control and
without any abnormal
condition
timing - this state
took the responsibility
of reducing the time
by one second
Manual_mode- it
represents the traffic
control system is
oprated manually due
to external
interferance
Emerg_ns - there is
an emergency
condition in north
south route
Emerg_ew - there is
an emergency
condition in east west
route
Traffic is the most essential part of modern world as “Time is money”.
The Quality Assurance Professional can be a part of each of these review process.
It is basically based on four way traffic
But with slight modifications it can be made for any way systems effectively as it is based on Boolean algebra