Challenge

Week - 4

AIM:

1.implement control logic of a "washing machine"using stateflow 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

PROCEDURE:

modeling of washing machine in Simulink:

these are the following things we need for modeling the subsystem of washing machine logical block settings:

1.toggle switch

2.constant

3.State flow chart

4.lamps

5.Display

1.SWITCHED OFF when non operational

2.Power ON

3.Water Supply ON

3.Soaking

4.Washing ON

5.Rinsing

6.Drying

7.END process

Just according to every step we define here execute accordingly

RESULT:Thus the control logic of a washing machine using stateflow is processed as per the given sequence and LED lights are turns to the green colour and the system is completed

SIMULINK MODEL-2 (GEAR SHIFT)

2.AIM: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

procedure:

CASE-1:

IF the key=0,then the power will turn off,Lamp indicate the red colour and gear shifting mechanism will not activate.

\

CASE-2:

if the Key=1,then the power will turn on,Lamp indicate Green colour and Gear shifthing mechanism will activate.

CASE:3

by varying the speed in the speedometer ,Gear position will change according to the given condition

like wise,changing the speed in the speedometer according to the given condition

RESULT:thus the depending upon the LED LAMP the "gear shifting mechanism" of a system is designed in simulink

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.