Sei sulla pagina 1di 25

SMART TRAFFIC CONTROLLER

USING FUZZY LOGIC

BATCH 13EE713
ANKUR RAI
RAVI PRAKASH
SHIVPRASAD
RAJU

A BRIEF INTRODUCTION TO
FUZZY LOGIC
Fuzzy logic deals with approximate,
rather than fixed and exact reasoning.
Compared to traditional
binarylogic(where variables may take
on true or false values),fuzzy
logicvariables may have a truth value
that ranges in degree between 0 and 1.

WHY FUZZY LOGIC?


Fuzzy logicis build on a set of user-supplied
rules.
The fuzzy systems convert these rules to
their mathematical equivalents.
These mathematical equivalents are then
used in to solve the various real life
problems.
Eg: IF (the distance is very small)
AND (speed is fast)
THEN (brake immediately)

A TYPICAL FUZZY SYSTEM

WHY TRAFFIC CONTROL?


On an average 20% new of vehicles are added
to road every year.
The burden increases on the roadways system.
During peak hours there is a long queue of
vehicles at every junction.
It leads to more pollution and waste of time.

WHY SMART TRAFFIC CONTROLLER?


The conventional time based traffic systems are
inefficient as it cannot judge the density of traffic.
The vehicles start queuing up on all the sides of the
junction as the time based controller gives a free
channel of 120-150secs.
When the conventional system fails the human
traffic controller has to come in to clear the traffic.
It is difficult task for a traffic controller to clear all
the traffic early.

FEATURES
Real time control of traffic.
Can be implemented at all types of
intersections.
Green phase extender function to save
time.
Emergency vehicle detectors.
Reduction in man power to control traffic.

ADVANTAGES
Waiting time in the traffic decreases.
Priority to the emergency vehicles such
as fire tender, ambulance, police etc.
Manual intervention decreases.
Less congestions during peak hours.
Impartial control as each phase gets even
time for de-congestion.
Can be used for pedestrian crossings also.

THE PROPOSED CONTROL


SYSTEM

THE PROPOSED CONTROL


SYSTEM
A 4 phase junction is considered.
Each phase has a pair of density sensors.
Each phase has an emergency vehicle sensor.
No free left is considered so as to make the
system more efficient.
The movement of traffic in a phased manner is
shown in A,B,C &D.

CONTROLLER STRUCTURE

DESIGN OF THE CONTROL


SYSTEM
We define the following terms:
TMAXG=maximum green time for each phase,in
sec.

TMAXRi= maximum red time for red phase i,in


sec.

( TMAXG <

TMAXRi )

DESIGN OF THE CONTROL


SYSTEM
PROCEDURE

Step 1: System gets the necessary data from the


detectors of junction.
Step 2:The system Specifies that which of the
current red phases should switch to green in the
next phase (fuzzy phase selector function).
Step 3: Check MAXRi T
Step 3.1: If MAXRi T is reached, then terminates
the current green phase and switches the red
phase i to green and goes to Step 1.
Step 3.2: If MAXRi T is not reached, then go to

DESIGN OF THE CONTROL


SYSTEM
PROCEDURE
Step
4: Check MAXG T.
Step 4.1: If MAXG T is reached, then terminate the
current green phase and switches the selected red phase
(in Step 2) to green and goes to Step 1.
Step 4.2: If MAXG T is not reached, then goes to Step 5.
Step 5: The system specifies whether current green phase
should extend or terminate (fuzzy green phase extender
function).
Step 5.1: If the current green phase should terminate,
then terminate the current green phase and switch the
selected red phase (in Step 2) to green and goes to Step
1.

IF-THEN RULES FOR THE INPUT


FROM DENSITY SENSORS

EMERGENCY VEHICLE DETECTOR


{ EA=1 if EV appears in phase A lanes
EA=0 otherwise;

{ EB=1 if EV appears in phase B lanes


EB=0 otherwise;
{ EC=1 if EV appears in phase C lanes
EC=0 otherwise;
{ ED=1 if EV appears in phase D lanes
ED=0 otherwise;

IF-THEN RULES FOR INPUT BY


EMERGENCY VEHICLE SENSOR

FUZZY GREEN PHASE EXTENDER

IF-THEN RULES FOR FUZZY GREEN


PHASE EXTENDER

SIMULATIONS

SIMULATIONS

SIMULATIONS

SIMULATIONS

CONCLUSION
Traffic congestion is a real life problem
which almost everyone faces in the
world.
The use of fuzzy based controller will
save time and money.
The manpower required to clear the
traffic decreases by implementing this
controller.

THANK
YOU

Potrebbero piacerti anche