![]() The outputs are not shown as this is a Moore model and showing these outputs in the table given below suffices. We'll number them using a binary code:įrom this we can create the state diagram below. This permits the traffic to start moving again.īutton presses for the first three steps will be ignored - a crossing has already been requested.Ī button push during the last two steps will be remembered and trigger a new sequence when the current one is finished.Įach step in the sequence will map to one state. This keeps the traffic at a standstill and lets pedestrians finish their crossing. This informs the pedestrian that it is safe to cross. Then the signalling sequence is as follows: The pedestrian pushes the button and if the traffic light system is signalling G We'll also need an input button for pedestrians to push when they want to cross the road. Let's call this signal M ('M' for man - the signal is usually a green walking man). Such a system would have three lights for the vehicles on the road: red, yellow, and green.įor the pedestrians we would have a light to signal that the traffic has been stopped and it is safe to cross. Pedestrians could push a button to request that the traffic be signalled to stop to provide them with a safe crossing. Imagine we wanted to design a traffic light system with a pedestrian crossing function. The following is an example of a sequential logic design. Sequential Logic Design Example (Traffic Lights) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |