Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. First Crossing > Controller Specifications

Controller Specifications

Let’s take a look at the specifications for the controller. We have two directions. The controller controls state transitions, probably by transitioning to the next state when some timer expires. The controller will change just one light at a time. For example, if the traffic light shows green for one direction and red for another one, then the controller changes the first direction to yellow before the red one is changed to red and yellow. Otherwise, we would enter an invalid state.

Thus we can simplify our controller to the case where we change one light at a time. We have to consider two previous light states for the two directions and will get two light states afterwards. We can assume that our controller changes just the first of the two states.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint