Answered step by step
Verified Expert Solution
Link Copied!

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: 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions

Question

4. Identify the challenges facing todays organizations

Answered: 1 week ago