You must login before you can post a comment.
Author: NADIA HUSSNA
Forked from: parithimalan/TimedTraffic
Project access type: Public
Description:
TRAFFIC LIGHT CONTROLLER
I have implemented a traffic light controller for an intersection of 2 busy roads, A and B. The light is controlled based on the traffic sensed by the sensor (sensor output Ta and Tb) on each roads.
Traffic Light Controller has been implemented using Mealy FSM of 4 states. Binary Encoding has been used to describe the states.
State 1: A: Green B:Red
State 2: A:Yellow B:Red
State 3: A: Red B:Green
State 4:A:Red B:Yellow
Timer: A timing feature has been added to the normal traffic light controller. This has been implemented using binary counters (feature in CircuitVerse). The timer avoids single lane traffic flow for a prolonged period of time and thus distributes flow between the 2 roads.
Clock time period: 5 seconds
Timer Limit for changing flow: 30 seconds
Burst: To make the project realistic, a burst mode has been used. Here the inputs A and B are bursts of traffic flow.
A 8-state Moore FSM has been used to create the burst traffic input.
Burst input of A:000111110
Burst input of B:11100110
Many more states could be used but 8 is used for simplicity.
Light Display:
Using the Square RGB led light, the signals are coloured.
Launch the simulator and experience project…
Thank you
Sriram G
IMT2018526
Created: Aug 05, 2020
Updated: Aug 05, 2020
Comments