Challenge

Week - 4

  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.

WORKING PRINCIPLE OF A WASHING MACHINE:

A washing machine by spinning at 800-1600 rpm helps soap and dirt with it to leave the surface of the cloth via centrifugal force and into outer pipes hence utilizing centrifugation to both clean and partially dry the clothes loaded in it. Thus the processes are electrically cntrolled,such asthe drum,valves,pump,motor and heating. The valve opens again and the dirty water drains out of the drum. The pump works to help get rid of the water. The valve lets clean water in again into the drums. The four process are:

SOAKING:

It is used to dip clothes in detergent water to remove dirt from the clothes. This function is available with wash timer.here we took 200sec for soaking in our model.

WASHING:

During the wash cycle a large plastic agitator turns around, moving cloths throung th e water. When the wash is finished, the pump drains the water from the outer drum. washing time for our moel is 100sec.

RINSING:

Rinsing time taken for our model is 20sec, The process of rinsing includes, The dirty, soapy water is drained, then the washing machine is refilled and clothes are rewashed with clean water. Spin: All the water is drained completely, then your clothe are spun very fast and excess water is removed.

DRYER:

They work by pushing warm dry air through wet washing to extract moisture, then cooling the now humid air in a heating exchanger to condense the moisture, which is collected in a tank or pumped down the drain. The air is reheated and the cycle repeats. Time given in our model is 50sec.

STATE FLOW:

Systematic solution of a problem is possible with sequential,unambiguous and realizable finite process step set. This set is called "algorithm" and it is one of the most important part of the programming language.

BLOCKS USED IN WASHING MACHINE:

The chart block is selected and inside the chart block power is entered in and power=0 and which is connected with the water (water=0). Connection values are [power==1&&water==1]

[power==0&&water==1]. The chart is prepared for soaking with [200sec]. after that washing for [100sec], then comes rinsing for [20sec] then dryer for [50sec] after all process then finally finish.

OUTPUT:

Output are seen throung display which is also connected with lamp.

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

Give speed input while the simulation is running & display the gear number.

GEAR SHIFT LOGIC:

A gear shift mechanism for a manual transmission includes a shaft axially movable for selecting shift planes and rotatable for engaging the gear defining the shift planes. The short is held in reference plane by two helical springs.

WORKING PRINCIPLE:

In a gear shift logic using simulink chart

GEAR 1 - The speed given in gear 1 is 0 to 15.

GEAR 2 - The speed given in gear 2 is 16 to 25.

GEAR 3 - The speed given in gear 3 is 26 to 40.

GEAR 4 - The speed given in gear 4 is 41 to 60.

GEAR 5 - the speed given in gear 5 is 61 or above.

OUTPUT:

Outputs are shown using display and lamp,when the speed varies the lamp with a particular display

shows the output.

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.