Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Begin by using the Counter block ( in the DSP System Toolbox ) to generate the counter for the traffic light system. Set the counter
Begin by using the Counter block in the DSP System Toolbox to generate the counter for
the traffic light system. Set the counters block parameters to the following:
Count Event: Free Running Maximum count:
Initial count:
Output: Count
Use an Integer to Bit Converter block number of bits per integer followed by a Demux block number of outputs to convert the decimal counter output Cnt to individual bits.
Use this binary counter along with Simulink logic blocks and dashboard components to design a Simulink model that:
Consists of Three traffic lights red yellow and green and Two pedestrian lights red and green
The system should start off by allowing traffic to go for Seven seconds the green traffic and red pedestrian lights will both be on all other lights will be off
Next, the system will give the traffic a caution signal for Three seconds the yellowamber traffic and red pedestrian lights will both be on all other lights will be off
Lastly, the pedestrians should be able to cross the road for Six seconds the red traffic and green pedestrian lights will be on all other lights will be off
The system must then reset back to the start and repeat this process.
Use truthtables and Kmaps to find and minimise the Boolean expressions for each light. The inputs will be the bits output from the binary counter: A B C D where A is the most significant bit MSB from the counter and D is the least significant bit LSB
Please explain the timing logic and how i can set that up
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started