Challenge

State Flow Chart Analysis

Task 1

https://drive.google.com/file/d/1PyUEdyff9O1HcSc7yUY1NKSefNqkfBHh/view?usp=sharing

Input: Water & Electricity

Output: Stats of the process with lamp indication.

System diagram:

Two inputs are the primary condition to run the washing machine process further.

Electricity source is shown using slider switch and constant block and water source are shown using signal builder block.

Using a state flow chart each stat is decided and according to the state warning lamps are also linked with some of the stats.

To observe the system output display and scope are used in the model. Which shows the condition of stats (On/Off) and also for how much time the specific stat is activated in the given duty cycle.

Result Analysis:

The washing machine system is designed in such a way that if it is satisfying the primary condition of the system then the only further procedure will be executed.

In this system, a slider switch is used for an electricity source if it is on then further state of the system will be executed otherwise system will be stopped.

A second input is a water and its flow in the washing machine is shown using signal builder. This state of the state flow chart is conditioned as if the flow of the water is higher than 1 only when the next state of the process will be executed otherwise the process will be stopped and indicates the red light as a warning that insufficient water level.

Once both the condition of this process is satisfied the washing procedure of the washing machine will be start and this procedure is divided into the 4 stats like Soaking, Washing, Rinsing and drying.

All these stats of the process are delayed by the specific time firstly the soaking process will be done for 200sec then washing for 100sec then rinsing for 20sec and then drying for 50sec.

All these stats of the process are defined in the state flow chart and also the timing until when it will be start and end. The starting and ending time of the stats are observed through the scope observer.

Task 2

https://drive.google.com/file/d/16Bqc6v0Nb884yNYRoaHsR5ygskynoKjD/view?usp=sharing

Input: Speed

Output: Display the Gear number

System diagram:

The input of the system is speed and it is created using the real-time situation acceleration.

The output of the system is the gear sequence number according to the given acceleration which is conditioned using a state flow chart.

Result Analysis:

The input of the system is speed and the stats of the stat flow chart is the gear sequence number.

There are 5 stats defined in the state flow chart and varies according to the applied acceleration. Each stat is conditioned in a way that for a specific range of speed the specific stat will be active and displayed in the observation panel.

For a speed range of 0 to 16 gear 1 is active and thus on the display output is “1”. This means state: gear 1 is active.

For a speed range of 16 to 25 gear 2 is active and thus on the display output is “2”. This means state: gear 2 is active.

For a speed range of 26 to 41 gear 3 is active and thus on the display output is “3”. This means state: gear 3 is active.

For a speed range of 42 to 61 gear 4 is active and thus on the display output is “4”. This means state: gear 4 is active.

For a speed range more than 61 gear 5 is active and thus on the display output is “5”. This means state: gear 5 is active.

Each stat is also a condition in bi-directional way so that when the speed decreases the number of gears is also reduced according to speed.

At the end of the process finished process stats is also defined and it indicates the blue light which means all the stats of the process are executed for given specific time.

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.