Shown in figure 1 is a Simulink/Stateflow model of a traffic light system. Red c Y low fo buon Set signal Padestian buto

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Shown in figure 1 is a Simulink/Stateflow model of a traffic light system. Red c Y low fo buon Set signal Padestian buto

Post by answerhappygod »

Shown In Figure 1 Is A Simulink Stateflow Model Of A Traffic Light System Red C Y Low Fo Buon Set Signal Padestian Buto 1
Shown In Figure 1 Is A Simulink Stateflow Model Of A Traffic Light System Red C Y Low Fo Buon Set Signal Padestian Buto 1 (174.75 KiB) Viewed 34 times
Shown in figure 1 is a Simulink/Stateflow model of a traffic light system. Red c Y low fo buon Set signal Padestian buton pushed Pasta Rad Pedestrian, buton SE F PR Reset signal Podestian Green PG 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. O 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. O 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 3 to stay on for 5 seconds and state 4 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). R 10 t 6 PR PG Gen
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply