Hello,
I made an Excel sheet to Draw the PWM Law of AOG Arduino code function of gain and PWM parameters (Excel sheet base on calcSteeringPID(void) function):
PWM Law.xlsx (47.2 KB)
It’s help me to understant the effect of Low Max PMW parameter on the PWM law. And more generally it’s help me to visualize the current PWM function my paramter and the impact of changing one of them.
And specially for the Low Max PWM parameter: depending on the Gain et High Max PWM, he could have a affect on the law or no effect. I have’nt understand that before.
I validated that the Excel sheet is correct by test on my test bench: it’s ok at +/-1PW (du to rounding). So normaly it’s correct.
Math