Question: You are implementing a control system that is responding based on a situation and input. The parts of the situation are broken down as follows.

You are implementing a control system that is responding based on a situation and input. The parts of the situation are broken down as follows. Two roads intersect perpendicularly. One road is a highway road. One road is a country road. There is a traffic signal for each road. Traffic only runs in one direction on each road. There are no delays from external factors in this system, so it doesnt matter if the sun is visible. There is a bridge further down the highway. Each signal can be green or red. (Yeah in reality there is yellow, but that makes this problem harder) Both signals can not be green at the same time, but there are times when both should be red. Cars and trucks use these roads. So do motorcycles. It doesnt matter how many people are in the vehicle. A vehicle is anything with wheels. There is an overall enable that corresponds to the sensor counting the vehicles being on or off; if the sensor is off, then the country road will have a red light. The vehicle counting sensor will always be functioning unless the system is not enabled. If you follow the country road you will find a pumpkin farm. There is a weather sensor that tells if it is snowing or not. There are three vehicles parked on the side of the road There is a counting sensor that tells how many vehicles pass through the intersection. All vehicles are treated equally independent of how many wheels it has. The counting sensor, weather sensor, and the sensor enable must be used as a factor to decide which color each signal is. Each time you have to change the signal color, you must temporarily have both signals red to avoid collisions. During the transition time for the signal, there will be no vehicles going through the light, so the counting sensor can be ignored. (You can assume ideal behaviors of the drivers) The area has lots of wild turkeys roaming around and the occasional goose. Vehicles move at a constant speed. All vehicles are controlled by humans

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!