Week - 4
1. https://drive.google.com/file/d/10aQhjrAqCdC7drzoWcThkSll0XAwXw1I/view?usp=sharing
Control logic of washing machine using state flow is created and the Google drive link is attached.
Separate constant values have been created as input (power and water). Outputs such as water, soak, wash, rinse, drain and finish has been created and respective indication lamps have been created. the program is in such a way that once the previous program is over it gets switched OFF and the next program gets ON. separate displays have been created for each and every output. If either power or water is switched OFF using the provided slider switch or toggle switch provided the program gets aborted.
2. https://drive.google.com/file/d/1ry2ErOT09a9BT1n5g3fqjo8O1s1u4-Ui/view?usp=sharing
Simulink chart for the Gear shift Logic has been created and the google drive link is attached.
A slider gain with a constant value 1 has been given as input to chart. Slider gain is used so that during execution we can use it to see the results of in which gear it is as soon as we change the speed. In order to see the result of gear when speed is varied we have made the simulation stop time to infinity so that we can see the change in gear when speed is varied using slider gain.