On/Off control system

Hi all,
My project is to control a water tank system, that is the Motor is ON when the water in the tank reaches below a certain level(Δh) and it motor is OFF when the water level is above the specified level (H).
I have attached the picture of the system below. (motor can be considered as a unity proportional controller).
Any help will be much appreciated. Thank you.

Answers (1)

Sabin
Sabin on 29 Jan 2023

0 votes

A Relay block can be used to implement this. Alternatively, a Stateflow algorithm can be used, see the folowing resource for more insights:

Asked:

on 11 Jun 2020

Answered:

on 29 Jan 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!