Challenge

Week - 4

  • In the model the simulation blocks used & their purpose are as follows :
    1. Constant – The Constant block generates a real or complex constant value signal.
    2. StateFlowChart – Stateflow provides a graphical language that includes state transition diagrams, flow charts, state transition tables, and truth tables. You can use Stateflow to describe how MATLAB® algorithms and Simulink models react to input signals, events, and time-based conditions
    3. Display – Display signals generated during simulation.
  • Working of Model
    1. According to the given control logic, we need two inputs and seven outputs for each chart to complete the control logic.
    2. The input signals are required for Power & Water Supply and the output port is required to know the machine status.
    3. Using constant block we provide the input signals, since they are user interface the input signals are provided which is Power Supply Switch & Water Supply Switch.
    4. Then for the machine to work according to the control logic sequence we use the StateFlowChart block, where we build the control logic of the given sequence which acts upon the given inputs.

            5.Now depending upon the inputs, the control logic takes to transition from one state to another.

            6.The control logic is created in stateflowchart as shown in the attached model and works according to the given sequence.

l

Ans2.Working of Subsystem Model

  1. The model is just a simple program of the control logic with the simple arithmetic equation.
  2. We have a 5-speed range & 5 gear system.
  3. According to the given system requirement, we have built the control logic where it checks the speed and changes the gear according to it.
  4. Following is the stateflowchart for provided gear system.
  5. model is attached.
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.