Week - 4
1.Implement control logic of a “washing machine” using Stateflow.

above fig show the washing machine model.
when power supply is make "ON" then all process started. if cloth are not put in side the washing machine then the washing machine showing only power supply "ON" and remaining process not started. when cloth and power supply is "ON" there is no water flow is not there then also next process will not take place. if three condition will full feel then socking ,washing,rinsing, and drying to be done.
2.Simulink chart for the “Gear shift” logic

The above fig show the Simulink chart for the “Gear shift” logic
first we will make ingnition "ON".If ignition "OFF" Then system will not run before runing we will make ignition "ON"
then we will make speed will be change manualy change and then if change the speed automaticaly gear will be change that can be displayed on display and also indicate on lamp. If speed is above 100 then in 2nd lamp showing red light.