2nd Review DCD

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 12

DESIGN AND IMPLEMENTATION OF

TRAFFIC LIGHTS CONTROLLER


USING FSM

- CATHERINE CRUZ M 19BML0048


- ARDRA R 19BML0052
ABSTRACT
The traffic in road crossings /junctions is controlled by switching ON/OFF Red, Green & Amber lights in
a particular sequence. The Traffic Light Controller is designed to generate a sequence of digital data
called switching sequences that can be used to control the traffic lights of a typical four roads junction
in a fixed sequence. It is also proposed to implement the day mode and night mode operations. It plays
more and more important role in modern management and control of urban traffic to reduce the
accident and traffic jam in road. It is a sequential machine to be analyzed and programmed through a
multistep process. The device that involves an analysis of existing sequential machines in traffic lights
controllers, timing and synchronization and introduction of operation and flashing light synthesis
sequence.
4
WAY
MODEL
OF
ROAD
Traffic Light Controller - Specification

• Main Highway has higher priority and the signal remains green on
default
• Occasionally cars arrive on country road. A signal X becomes 1 when
there is a car on the country road.
• When there is a car the country road traffic light should just turn green
long enough to let the car pass after which the signal turns yellow and
then red and highway light turns green again
• The delay when the signal changes from
• Yellow -> red –3 time units
• Red -> green – 2 time units
BLOCK DIAGRAM
Traffic Light controller – State Graph
Traffic Light Controller - States
S0: Hwy : Green , Country : Red
S1: Hwy : Yellow , Country : Red
S2: Hwy : Red, Country : Red
S3: Hwy : Red , Country : Green
S4: Hwy : Red , Country : Yellow
ALGORITHM
• STEP1:START
• STEP2:INITIAL STATE:S0 ( HS-G,CS-R)
• STEP3: IF X =1
• STEP 4: S0  S1(HS-Y,CS-R)
• STEP5:TIME DELAY: 3 TIME UNITS
• STEP 6: S1  S2(HS-R,CS-R)
• STEP 7 : TIME DELAY : 2 TIME UNITS
• STEP 8: S2  S3(HS-R,CS-G)
• STEP 9: IF X = 1 ,S3  S3.
• STEP 10: IF X= 0 ,S3  S4
• STEP 11: S4,TIME DELAY :3 TIME UNITS
• STEP 12 : S4  S0
• STEP 13: STOP
Simulation
Next review:
• Explaination of Code of 4 way model.
• 6 way Model of road by Ardra
• Code ,algorithm,simulation output.
REFERENCES
• Y.S. Huang, T.H. Chung, and T. Lin, "Design and Analysis Urban Traffic Lights Using Timed Colour Petri Nets," in
Proc. of IEEE International Conf. on Networking, Sensing and Control, pp. 248-253, 2006.
• J. Niittymaki And M. Pursula, "Signal control using fuzzy logic," Fuzzy Sets and Systems, vol. 116, no. 1, pp. 11-22,
2000.
• C.P. Pappis, and E.H. Mamdani, "A fuzzy logic controller for a traffic junction," IEEE Trans. Systems, Man, and
CyberNetics, vol. 7, no.10, pp. 707-717,1977.
• J. Niittymaki And S. Kikuchi, "Application of fuzzy logic to the control of a pedestrian crossing signal,"
Transportation Research Record: Journal of the Transportation Research Board, vol. 1651, pp. 30-38, 1998.
• S. Chiu, "Adaptive traffic signal control using fuzzy logic," in Proc. of the IEEE Intelligent Vehicles Symposium, pp.
98-107, 1992.
• J. Niittymaki, "Installation and experiences of field testing a fuzzy signal controller," European Journal of
Operational Research, pp. 273-281, 2001.
THANK YOU

You might also like