Open VdR1960 opened 2 years ago
From what i can tell, you are setting the set point to zero and your reading at the moment is -26... That should be the behavior of the inverted PID. Can you set the set point to 26 and select the invert?
I have tried all of that. Positive error, negative error, invert, not invert, K values at zero, K values at max. For several hours now. I also display the P,I and D attributes now, and for life of me cannot make them show anything else than 0.
More trail end error:
When the set point is <=0, the open loop PID output sticks to the min-output whatever you do with the other values. Why?
With the setpoint at 1, the open loop proportional response is fine. But the integral part of the response does not work. There is an initial reaction to the reading step change, but it does not integrate.
Sorry for the delay in response, some personal problems made me be off for some time.
I'll take a look at it.
Tks
Trying the PID in open loop. The output always just tracks the 'minimum'. Nothing else has any influence.
Installed using HACS. Essentially copied the config file. Exposed the input_numbers, input_boolean, and the output to a dashboard (see attached).
Want to use to control my EV charger to use excess solar, by controlling the charger current (PID output) to control the grid current (PID input) and a zero set point.
I'm a controls engineer, I understand the basics of a discrete PID controller. I must be doing something obvious wrong. Any suggestions?
.