Challenge

Week - 4 simulation of implement control logic of a washing machine

AIM:

1.implement control logic of a'' washing machine '' using state flow as per give seqence.

2.make a simulink chart for the ''gear shift'' logic as per given condition .

objective :

1.in simlink ,implement the control logic of a washing machine using state flow as per given input condition .create model and operate the modellogic system and display the output result by using lamp indicator.

2.create a model for gear shifting logic as per given conditions given the speed input while simulation is running and display the gear number.

Explanation:

STUDY-1:

state flow :

state flow provides a graphical language that includes state transition diagram ,flow chart transition table and thruth table by using state flow to describle how matlab algorithms and simulink modes react to input signals ,events and time -based conditions.

control logic:

control logic is model system logic using state machines, flow chart and thruth tables.

Explanation for control system logic using state machines using state flow:

state flow is a simulink tool to implement the state machine. here the model system logic of a washing machine using stable flow has been done.

STEP-1:create a chart and enter the given input condition .

*if the power supply is available the system gets activated.

*if the water supply is not available ,sotp the process &indicate through LLED.

*soaking time should be 200s followed by washing time of 100s.

*then rising happen for next 20s&dryer run for 50s.

*then rising happens for next 20s &dryer run for 50s.

after all the process have completed turn on the finished LED.

STEP-2:

After entering the input condition in the chart ,good symbols panel and design tghe given variable (ex.i=input data,output data ,etc ....)

STEP-3:

given thge values for turning on or off for the power supplyand water supply.

condition:

*if value =1, power and water supply will turn on .

*if value =0 , power and water supply will turn off.

STEP-4:

use ;display 'and 'lamp' indicator to display the result.

STUDY-2:

Gear shifting mechanism:

mechanical devices that drvier to engage gears in such a way as to obtain the desired transmission ratio are called shifting mechanism.

Explanation for gear shifting mechansim using simulink .

STEP-1:

create a chart and enter the ginen condition for gear shifting.

given conditions:

speed range (kmph) gear

0 to 15 1

16 to 25 2

26 to 40 3

41 to 60 4

above 61 5

STEP-2:

After entering the input condition in the chart ,go to symbols pane and assign the given variable (EX:input data , output data ect...)

STEP-3: connect the silder gain to varry the speed while simulation is running .

STEP-4: create a constant and giving value 1 and 0 for turning on &off/

STEP-5: create LAMP' to indiacte the power is on or off.

STEP-6: use' display ' block to display the gear position .

OUTPUT:

STUDY-1:

control logic a washing machine using state flow has been implemented:

CASE:-1

if the power source =0 supply is not available and system will not activate.

CASE-2:

if the power source =1 and water source =0 , then power supply will turn on and water supply will not be available and to system will not activate.

CASE-3:

if the power source =1 and water source=1, then power will turn on and water supply will not be available and to system will not activated. all the process completed end lamp will turn on.

STUDY-2:

gear shifting has been created and by using slider gain block to varry the speed while running the simulation.

CASE-1: if the key =0 then the power will turn off lamp indicate the red colour and gear shifting .mechanism will not active shifting .

CASE-2:

if the key =1, then power will turn on , lamp indicate green colour and gear shifting mechanism will activate.

CASE-3:

by varying the speed (parameter) in the speedomoter (slider gain), gear position will changing to the given condition .

giving speed=30 km/ph in the speedometer ,if the speed is between 25km/ph-403rd gear, will activate as per the given condition .gear position is displayed between in the simulink model.

like wise ,changing the speed in the speedometer according to the given ,gear position will changed .

RESULT:

1.thus the control logic of a washing machine using state flow is processed as per the given sequence and LED light are turns to green colour and the system is completed .

2.a simulink model is created for the gear shifting logic and using slider gain the values are obtained.

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.