Traffic Light Controls

Thread Starter

bjerkset

Joined Nov 8, 2009
5
Hello everyone.

I am trying to design a circuit that operates a traffic control system at the intersection of a primary and secondary highway. The conditions for the operation of the control system are specified below.


1.
If no vehicle is detected on the secondary road, the highway lights should be green, while the secondary road lights should be red.

2.
If a vehicle is detected on the secondary road, the change signal will be asserted and the highway lights should cycle through yellow, then red. The secondary road lights will then turn green.

3.
The secondary road lights will remain green so long as a vehicle is detected on the secondary road.

4.
When no further cars are detected on the secondary road, the light should cycle from yellow to red. The highway light will then turn green.

5.
If an emergency vehicle is detected on the primary highway at any time, the EMV signal will be asserted and the highway lights should immediately (next clock cycle) switch to green, while the secondary road lights should turn red.


Based on the description i think that it will have to be implimented using 2 D flip flops and some type of memory elements.

So far I have come up with a state table i would like to use but I am lost as to where to go from this point, mainly because in class we have only analysied circuits and have yet to design them.

My state table is attached

Help is greatly thanked, oh its important to note in the attached state table the presence of the !(not) operator in some places, its kind of hard to see.

I will continue to work on it and hope to hear from you guys soon
 

Attachments

Last edited:

Thread Starter

bjerkset

Joined Nov 8, 2009
5
It is asked that we make use of D flip flops instead of JK flip flops. So far we have covered how the analysis of state machines, but this requires me to do the reverse i guess. Any insight as to where i should go from the state table/next state chart?
 
Last edited:
Top