A Relay block can be used to implement this. Alternatively, a Stateflow algorithm can be used, see the folowing resource for more insights:
On/Off control system
12 次查看(过去 30 天)
显示 更早的评论
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.

0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Specialized Power Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!