Challenge

Week - 4

Question 1

Aim

To use Simulink to form a stateflow of the given problem of washing machine and to solve it.

Blocks used

  1. Constants
  2. Chart
  3. Scope
  4. Lamp

Process

The constants are marked as power in and water in, and these are then called inside the chart through some conditional statements.

Then the chart is formed with all the necessary states such as soaking, washing, rinsing, drying.

All the conditions are given while connecting the states. And the time is set as in model.

Connect a lamp to indicate the state of work of the washing machine.

Charts

Question 2

Aim

To use Simulink to form a stateflow of the given problem of Gear shift and to solve it.

Blocks used

  1. Constants
  2. Chart
  3. Display for gear shift
  4. Lamp

Process

The constant is set to enter the speed value and is connected to the chart.

The charts is then formed with blocks that are necessary for the gear shift.

The conditional statements are then assigned as per the question and is then solved as per the solution needed.

Then the chart is connected to the display to show the gear value.

model link:

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

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.