Professional Documents
Culture Documents
2nd Review DCD
2nd Review DCD
2nd Review DCD
• 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