1. Under the esteemed guidance of
Mr.G.CHAKRAPANI M.Tech
Assistant Professor
Department of E.C.E
Presented By
CH.RAMADEVI
P.KONDALA RAO
SK.MADAR SAHEB
CH.HARIKA
B.SRINIVASA RAO
09X91A0473
09X91A04A9
09X91A04B3
09X91A0475
09X91A0468
3.
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
4.
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.
5. Tools
IBM Rational Rhapsody 7.5.2
Kiel
Flash magic
Hardware requirement
Intel 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 XP
Compiler: MinGW
6. 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.
7.
family of Rational Rhapsody provides
collaborative design and development for
systems engineers and software developers
creating real-time or embedded systems and
software.
It supports UML, SysML, AUTOSAR, DoDAF,
MODAF, UPDM
8. UML diagrams
Class Diagram
Object Diagram
Component
Package
Structure
Activity
Sequence
State Machine
Communication
Timing
9. A ut o ma t e d R o a d T r a ffic C o nt r o lle r Using R h a p so dy
Control Room
ON
OF F
M an u al
NS
EW
10. itsC ontroller
itsC ontroller
Emergency
itsC ontroller
Controller
NS_RED:int=0
Em_f lag:bool=f alse
Power_s wit ch
Hold
EW_RED:int =0
1
1
ev _Emergency ()
NS_ORANGE:int=0
ev _EWopen()
EW_ORANGE:int =0
ev _NSopen()
NS_GREEN:int =0
ev _On()
EW_GREEN:int =0
ev _Of f ()
ev _Hold()
Em_c heck (p: bool): .. .
LEF T_GREEN:int =1
1
x: bool=f als e
1
itsN S_SENSOR
y :bool=f alse
z:bool=f alse
NS_REDTI ME: int=0
1
itsEm ergency
itsEm ergency
1
NS_SEN SOR
NS_ORANGETI ME: int=0
NS_GREENTIME: int=0
EW_SEN SOR
EW_REDTI ME: int=0
EW_ORANGETI ME: int=0
EW_GREENTIME: int=0
ev _NSs.. .
NS_MSG:c har*=" "
ev _NSs.. .
EW_MSG:c har*=" "
ev _NSs.. .
ev _EWse. ..
ev _EWse. ..
ev _EWse. ..
ev _Start()
1
ev _Stop()
Res et():v oid
ev _Manual()
Reduce_time(): v oid
ev _EmergNS()
ev _EmergEW()
ev ent _22()
itsEW_SENSOR
14. Normal
t ime: 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_t ime: int = 0
S_t ime: int = 0
E_t ime: int = 0
W _t ime: int = 0
T
URN_LEFT int = 1
:
dec _t ime(): 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()
Res et (): v
oid
15. 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/
16. UML diagrams
Class Diagram
Object Diagram
Deployment
Component
Package
Profile
Structure
Use Case
Activity
Sequence
State Machine
Communication
Interaction Overview
Timing
17. Off
ev_Start
On
Reset( )...
ev_Stop
On tm(5000)/y= tr ue;
tm(5000)/z= true;
ev_M anual
M anual_mode
On_000
Reset( );
if(x= =fal...
if(x= =fal...
if(x= =fal...
it represents the traffic
On_011
On_001
NS_...
control system is
working under
software control and
without any abnormal
NS_ORANGE= ...
condition
ev_M anual
timing - this state
took the responsibility
tm(5000)/x= tr ue;
Emerg _ns
ev_Emerg NS
of reducing the time
by one second
tm(5000)/x= fal se;
Reset( );...
Manual_mode- it
On_111
ev_Emerg NS
On_100
Emerg _ew
ev_Emerg EW
tm(5000)/y= fal se;
On_110
tm(5000)/z= false;
if(x= =tru...
if(x= =tru...
if(x= =tru...
represents the traffic
control system is
oprated manually due
to external
interferance
Reset( );...
Emerg_ns - there is
an emergency
ev_Emerg EW
condition in north
south route
T imi ng
Emerg_ew - there is
T ime
an emergency
condition in east west
Reduce_ti me();
tm(1000)
route
18.
19.
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