Question: 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: 15
- Initial count: 0
- Output: Count
Use an Integer to Bit Converter block (number of bits per integer =4) followed by a Demux block (number of outputs =4) 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 (3) traffic lights (red, yellow and green) and Two (2) pedestrian lights (red and green).
- The system should start off by allowing traffic to go for Seven (7) 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 (3) seconds (the yellow/amber 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 (6) 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 truth-tables and K-maps 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

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!