Week - 4
1. WASHING MACHINE
AIM:
To implement the control logic of washing machine.
CONDITION:
> If power ON system should activate.
> If water flow is not available stop the machine.
> Soaking time is 200 sec,Washing time is 100 sec, Rinsing time is 20 sec & dry in 50 sec.
> Once above contion is satisfied indicate with END LED.
SIMULINK MODEL:


As required condition simulink model were designed. Which has two inputs & seven outouts. And the state flow model were as below.

RESULT:


2. GEAR ID
AIM:
To simulate the condition as below with folw chart. Inddicate the gear ID of reapective speed.
CONDITION:
0-15 rpm is 1st gear,16-15 rpm is 2nd gear,26-40 rpm is 3th gear,41-60 rpm is 4th gear & above 61 rpm is 5th gear
SIMULINK MODEL:

In above model, fig.1 is main block & fig.2 is chart block of main model. The speed of the car input is given by slider gain block of 0-100 rpm. The condition is simulated through the chart block.
RESULT:
