.

Average: 0
Rating Count: 0

Development status: Released, Release: Release_1_0
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/BeamDiagnostics/PIDController
Contact:



Class Description


Class for controlling a variable using the PID algorithm

Families: BeamDiagnostics

Key words:

Platform: Unix Like

Language: Python

License: GPL

Contact:

Hardware


Manufacturer: none

Bus: Not Applicable

Class interface


Attributes:

Name Description
ProportionalScalar: DevDouble P parameter
IntegralScalar: DevDouble I parameter
DifferentialScalar: DevDouble D parameter
LoopTimeScalar: DevDouble Cicle time for the control loop.
StartOutputValueScalar: DevDouble Start value for the output.
InputValueScalar: DevDouble Value readout from the input device or calculated from values from the input device
OutputValueScalar: DevDouble Value calculated by the PID controller and sent to the output device
OutputLimitScalar: DevDouble Limit for the output value.

Commands:

Name Description
StateInput: DevVoid
Output: State
Device state
This command gets the device state (stored in its device_state data member) and returns it to the caller.
StatusInput: DevVoid
Output: ConstDevString
Device status
This command gets the device status (stored in its device_status data member) and returns it to the caller.
StartCtrlLoopInput: DevVoid
Output: DevVoid
Start control loop
StopCtrlLoopInput: DevVoid
Output: DevVoid
Stop control loop

Pipes:

Properties:

Name Description
InputDSDevString Device Server where the input parameters are read from
OutputDSDevString Device Server where the output parameter is write to
InputValueLogicDevString String describing what to read from the input device and possible operations: 0 -> read value 1 -> difference of average values Format, ex. 0,AttrIbuteName (read attribute AttributeName from InputDS and used as input value) 1,Attr1,Attr2,Attr3,Attr4 (read Attr1 ,Attr2 ,Attr3 and Attr4 form InputDS and use (Attr1+Attr) - (Attr3+Attr4) as input value More logics can be implemented.
OutputAttributeDevString Name of the attribute for writing the pid computed value.


Please log in to comment.

22 Sep 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



12 Aug 2017, Piotr Goryl
Created:
The device class has been added to catalogue.
Added by:pgoryl2 on:12 Aug 2017, 3:02 a.m.