Home / Expert Answers / Computer Science / question-4-17-pts-shown-in-figure-1-is-a-simulink-stateflow-model-of-a-traffic-light-system-figur-pa810

(Solved): Question 4 17 pts Shown in figure 1 is a Simulink/Stateflow model of a traffic light system. Figur ...



Question 4
17 pts
Shown in figure 1 is a Simulink/Stateflow model of a traffic light system.
Figure 1: A Simulink model of a

Question 4 17 pts Shown in figure 1 is a Simulink/Stateflow model of a traffic light system. Figure 1: A Simulink model of a traffic light system. This system contains Three (3) lights that control vehicular traffic (red = stop, yellow = caution, green = go) as well as Two (2) lights to control pedestrian traffic (red = stop, green = walk). This system will remain in state 1 (cars go/pedestrians stop state) until the Button is pushed then the light sequence will: Transition into state 2 (cars go/pedestrians stop state) which will continue to look for the Button's status but will also wait for 8 seconds (this state is to ensure that the light sequence is not instantly triggered if the pedestrian crossing is busy that day). • Transition into state 3 (cars caution/pedestrian stop state), which will be active for 5 seconds, then Transition into state 4 (cars stop/pedestrians go state), which will be active for 10 seconds • Finally the system will transition back to state 1 (cars go/pedestrians stop state) and again wait for the Button to be pushed. Select from the available options below what the purpose of the S-R Latch (S-R Flip-Flop) block will be in this system. Ensures the pushed button signal remains set/on until a reset signal is received from the state machine. This allows for a momentary switch to be used rather than a maintained switch. Allows the pedestrian to change their mind about crossing the road (allows the pedestrian the ability to reset the pushed button signal). Provides the counter information to the state machine allowing state 2 to stay on for 5 seconds and state 3 to stay on for 10 seconds only. O Will allow the traffic light system to change from requiring a pedestrian to press the button to cross the road to being a traffic light sequence that just operates based on a timer. O Converts the signal from the Constant block from a double-precision floating point number into a Boolean (true/false).


We have an Answer from Expert

View Expert Answer

Expert Answer


As S-R latch have some memory that remembers present, input, past inpu
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe