Hi
The function GFLIB_ControllerPIrAW(),Can it return negative values?
Its return value format is tfrac16, that is to say, its return value can be assigned value.
However, in actual use, I found that it seems that it can only return a > = 0 number . When the system is seriously overshoot, the most extreme work that the controller can do is to turn off the output, but it is not enough. For example, when the brushless DC motor is in the power generation state, the motor speed has exceeded my given value, I want to apply the brake, but PID has no negative output,
For this kind of problem, which PID function should I use?
I hope to return a negative value, so that I can implement braking