Question: A DC motor is controlled by two buttons, namely B 1 ( for start ) and B 2 ( for stop ) . When the

A DC motor is controlled by two buttons, namely B1(for start) and B2(for stop). When
the B1 button is pressed, the motor will start rotating to the right (O1 output will be
active) and will continue this movement during 20 seconds. Then, it will rotate to the left
(O2 output will be active) for 20 seconds. This operation will continue until the B2 button
is pressed. When the B2 button is pressed, the motor will stop after 5 seconds and will
not accept the restart command (via the B1 button) for the next 10 seconds. At the end of
these 10 seconds, the system will return to the initial state and wait for the B1 button to
be pressed again.
Chart
B1
B2
O1
O2
Implement the state machine that solves the problem defined above on Simulink

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!