Question: Car Sensor A car sensor circuit is modeled as a toggle switch. A toggle switch is a simple on-off switch that is either in an

Car Sensor A car sensor circuit is modeled as a toggle switch. A toggle switch is a simple on-off switch that is either in an on or off state. The toggle switch remains in its on or off state until the operator toggles the switch (i.e. flips the switch to change its state). A toggle switch that is on indicates the arrival of one or more cars at the intersection. A toggle switch that is off indicates no cars at the intersection. Logisim does not have a toggle switch device. Logisim does have a push-button device. A push-button is a biased-based switch. A push-button is active as long as the operator is pressing the button. To create a car sensor, you must design a toggle switch using a T flip-flop and a push-button. Each time you press the push-button, the output of the circuit toggles between the on and off states. Traffic Lights Notation: NS = North-South, EW = East-West The traffic lights are modeled as two sets of red, yellow, and green LEDs. One traffic light for the NS traffic; and one traffic light for the EW traffic. Logisim has the capability to select the color of the LED lightbulbs. Traffic Light Controller The figure below shows the traffic light system. The sensors detect cars traveling in the NS direction. There are two car sensors in the system a sensor to detect a northbound car arriving at the intersection, and a sensor to detect a southbound car arriving at the intersection. The figure below also shows a pair of traffic signals for each direction. For this assignment implement one traffic light for the NS-direction and one traffic light for the EW-direction because each pair of NS or EW traffic lights work in the same manner. = sensor Traffic Light System 3 The traffic lights work as follows: i. The traffic light sequence is a repeating sequence of green for one or more clock cycles, yellow for two clock cycles, and red for one or more clock cycles. ii. The NS-light is initially red and the EW-light is initially green. iii. The NS-light remains red until a car traveling north-south or south-north direction is detected at the intersection (i.e. either sensor circuit outputs a logic 1). iv. When a NS-car (or SN-car) is detected, the traffic lights cycle until the NS-traffic light is green and EW-traffic light is red. The system remains in this state until no more NS-cars (or SN-cars) are detected at the intersection. The lights then cycle back to the initial state of step (ii). v. Once the traffic signal cycle is started (i.e. changing from green to yellow to red etc.) it cannot be stopped, that is, the cycle must complete. vi. To prevent accidents, the EW and NS traffic signals cannot change state at the same time. The traffic light controller will have 2 inputs for the sensors (with some savvy design you can reduce this to 1 input), and 6 outputs (red, yellow, and green lights for the NS and EW directions).

The sensor is on NS sideCar Sensor A car sensor circuit is modeled as a toggle switch.

OO sensor Traffic Light System

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 Databases Questions!