Challenge

Week - 4

Aim:

To make the following Simulink models by using State Flow logic as per given sequence,

1.Implement control logic of a “washing machine” as per given sequence:

  • 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
  1. Make a Simulink chart for the “Gear shift” logic as per below conditions,

        Speed Range (KMPH)        Gear       

              0 to 15                         1               

             16 to 25                        2               

             26 to 40                        3               

             41 to 60                        4               

             Above 61                     5               

Answer#1,

A Washing machine Model

The first state is power, when the power is enabled system moves to second state of Water level check if the water supply is ON the state flow system is shifted to soaking, if the water supply is OFF means the state flow control shifted to check the water supply again,

When the water supply state is compromised the system moves to next state SOAK and do the process of soaking for next 200sec, and move to WASH state for do the process of Washing for next 100sec, Rinsing 20sec and Drying 50sec, finally Completed lamp glow. The simulation run up to 500sec..

Sequence-1

If the power supply is available the system gets activated. Now power connected to device shows Red indication, when we start the process, it will change to green.

Sequence-2

We start the process but the water supply is not available, so the Water suply lamp is indicated Red, when we give water supply it will change to green.

Sequence-3

When the water level satisfied Soaking proces takes 200sec.

Sequence-4

After 200sec, Washing takes place upto 100s.

Sequence-5

After 100s washing, Rinsing will takes 20s

Sequence-6

After 20s Rinsing, Drying will takes 50s.

After Drying system shows completed indication.

**One cycle of Washing has completed.

____________________  XxXx ______________________________________________________

Answer #2

A State flow chart was created for change the gear of a vehicle according to the speed, where different states has programmed according to the speed,

The State flow Chart:

Sequence-1

At starting the speed level is Zero hence the gear should be in First gear before that neutral gear, we start the vehicle from speed range is 0 to 15Kmph at 1st gear, as programmed the green colour indicated 1st gear.

Sequence-2

The speed range is 16 to 25Kmph second gear is enabled and the speed is raised up to the given range the vehicle is on 2nd gear shows blue colour on lamp and display shows gear no2.

Sequence-3

The Speed range is 26 to 40Kmph Third gear is enabled and the speed is raised up to the given range the vehicle is on 3rd  gear shows orange colour on lamp and display shows gear no3.

Sequence-4

The Speed range is 41 to 60 Fourth gear is enabled and the speed is raised up to the given range the vehicle is on 4th  gear shows yellow colour on lamp and display shows gear no4.

Sequence-5

The Speed range above 61 Fifth gear is enabled and the speed is raised up to the given range the vehicle is on 5th gear shows violet colour on lamp and display shows gear no5.

The output of the simulation was ploted by scope as on below, the graph from the scope shows the gradual shifting of the gear from 1st -2nd -3rd- 4th -5th when the speed is reduced from the 80Kmph the gear is gradualy down from 5 to 1 and zero.

Conclusion:

1.The Semi-Automatic washing machine operation has implemented by using Simulink and Sate flow chart, and the output was displayed by Lamp. The different sequences were cared out as given by Skill-Lync.

2.The model of automatic gear change of a vehicle was made by using Simulink and state flow chart and the various outputs was displayed by one lamp and a display, then the different sequences were cared out as given by Skill-Lync.

Thankyou Everyone who has guide me.

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.