blackbird307
Member
Quick question. I have a PID controller that has the following parameters
Process: Flowrate (L/s)
Setpoint: FlowrateSP (L/s)
Output: ValvePIDOut (L/s)
I add the PID output to the setpoint to get a new variable. This variable is scaled from 0 L/s to 50 L/s to 0 to 65000 for modulating analog output. I don't know what the maximum flowrate possible is. It has never been to 50L/s.
If the error is negative, the PID controller output is negative. Otherwise PID controller output is positive. Controller is reverse acting. I have not touched the gains yet, I will when tuning.
I am using Connected Components Workbench
Does this make sense? I don't see a better way of doing it.
Process: Flowrate (L/s)
Setpoint: FlowrateSP (L/s)
Output: ValvePIDOut (L/s)
I add the PID output to the setpoint to get a new variable. This variable is scaled from 0 L/s to 50 L/s to 0 to 65000 for modulating analog output. I don't know what the maximum flowrate possible is. It has never been to 50L/s.
If the error is negative, the PID controller output is negative. Otherwise PID controller output is positive. Controller is reverse acting. I have not touched the gains yet, I will when tuning.
I am using Connected Components Workbench
Does this make sense? I don't see a better way of doing it.
Last edited: