seyyah
Advanced Member level 2
How do you determine the scaling factor in a PI controller?
Lets talk over numbers. Say we have Kd and Ki, proportional and integral multipliers respectively. Say they can change between 0-100. What we control is the pwm duty cycle (shortly pwm) which can change between 0-500. And there is an error term which can be between 0-1000. Using these values i am trying to determine a scale factor. I think when the error is max the pwm must be max. If i can find the max error than i can find the scale factor. But error term always increases when an integral term exists because we always add the error to the previous error. This makes difficult to determine the max error. Can you please suggest me something. Is my idea true? Or is there a formal way of doing this?
Lets talk over numbers. Say we have Kd and Ki, proportional and integral multipliers respectively. Say they can change between 0-100. What we control is the pwm duty cycle (shortly pwm) which can change between 0-500. And there is an error term which can be between 0-1000. Using these values i am trying to determine a scale factor. I think when the error is max the pwm must be max. If i can find the max error than i can find the scale factor. But error term always increases when an integral term exists because we always add the error to the previous error. This makes difficult to determine the max error. Can you please suggest me something. Is my idea true? Or is there a formal way of doing this?