This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: EE 200 Fall 2008 (Weber) Homework 2 At the upper right corner on page 1 of all homeworks, show: Last name, First name Date EE 200, Homework # Show intermediate steps whenever possible. 1. Problem 3 in chapter 3 of the text. 2. Design a state machine for controlling the traffic signals at an intersection. The intersection has an east-west highway and a north-south cross street. There are also left turn lanes on the highway. There are sensors in the road that indicate whether or not a car is waiting to proceed on the north-south street, or waiting to make a left turn from the highway to the cross street. Assume the state machine reads the values of the inputs N and L (see table below) every 30 seconds and then acts on the input. Traffic flow on the highway has priority and should flow for at least one minute once the light turns green for the highway. The green lights for the north-south street and the left turn lanes should stay on for 30 seconds at a time. Avoid situations where one set of traffic is prevented from ever movingon for 30 seconds at a time....
View Full Document
This note was uploaded on 12/03/2008 for the course EE 200 taught by Professor Zadeh during the Fall '08 term at USC.
- Fall '08