-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
heater: Add heater controller support
Heater support include the switching between automatic and manual heating control, besides the parameters for both methods. For the manual heating setting, the voltage is used to indirectly control the temperature. On the other hand, automatic control (through PID method) is allows to specify a set-point temperature to be reached and Kp, Ti, and Td constants from both boards. Periodic scan is used in read-back records so that PV has the updated value when some external access is done to the device to update its configuration. An arbitrary value of 1 second has been chosen to keep the value reasonably updated while not overloading the device. Moreover, when a value is updated, the corresponding read-back value must be updated so that scripts can directly read back the correct value. Therefore, it has also been used a forward link to read-back from set-point records. Note that it is used the `PROC` field in the forwarding. This is because a non-passive scan is used in the read-back records. The PV names have been kept from the previous IOC. This implies that the issue reported about the misleading PID coefficient names has not been solved here [1]. This is because we should do that coordinated with the IOC clients. Therefore, Td should be read as Kd and Ti should be read as Ki. For this reason, they have been limited to be non-negative as defined in the PID controller theory. The same goes for Kp. The upper limit (DRVH) must be specified explicitly, so that the clipping condition `DRVL < DRVH` holds (as both values defaults to 0). In this case, it is unlimited (i.e. infinity). [1]: lnls-dig/bpm-epics-ioc#35
- Loading branch information
1 parent
0b3566c
commit f3de442
Showing
2 changed files
with
344 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters