Challenge

Week - 4

Que 1. Ans - 1. State flow is simulink tool to implement the state machine.

2. Create a chart and enter the given input condition. given input condition are If the power supply is available, the system gets activated If the Water supply is not available, stop the process & indicate through LED Soaking time should be 200s followed by Washing time of 100s Then rinsing happens for next 20s & dryer runs for 50s After all the condition have completed turn on the finished LED.

3. After enter all the input condition in chart, open symbol pane and assign given veriable.

4. Give the input for turning ON and OFF for the power supply and water supply. Conditions : if value = 1 Power and Water supply turn ON if value = 0 Power and Water supply turn off

5. Use display and lamp block for display the result.

Que 2. Ans - 1. Create a chart and enter the given condition for gear shifting.

Given condition

Speed Range(kmph) Gear

0 to 15 1

16 to 25 2

26 to 40 3

41 to 60 4

Above 61 5

2. After entering the input condition in the chart, open symbol pane and assign variable value.

3. Connect slider gain for speed varying while simulation in running.

4. Create constant 1 and 0 for given input as ignition and speed.

5. Use lamp and display for power on and off and gear position.

6. Lamp glow red when power input 0 and Lamp glow green when input 1.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.