Problem Statement:
Figure 3 shows the tank system now with a control valve at the input.
- Design an on-off controller that maintains the water level to a configurable set point by turning on until it reaches the high threshold.
- Design the controller to have thresholds of +/-10% of the set point.
- Create minor alarms for when the water level exceeds +/- 30% of the set point.
- Create major alarms for when the water level is within 5% full capacity and empty.
Create an asynPortDriver to accomplish this. Additionally, your port driver must either retrieve data from a circular buffer or put data into a circular buffer for the water level of the system.
![](/download/attachments/476645642/phase_3_figure.png?version=1&modificationDate=1719360045182&api=v2)
Figure 3. Phase 3 Tank Diagram with Control Valve
You should be able to use the same pydm display created while completing Problem 5.
Helpful Links:
GDB Cheat Sheet
GDB Cheat Sheet 2
Creating an AsynPortDriver