JayC, the purpose for the PI controller is the preference to control current, rather than duty cycle. Current is a function of duty cycle and RPM, so at 0RPM a 1%duty has a HUGE current draw. At 1000RPM a 1% duty has a small current draw. Since current is directly proportional to torque, we felt that we should be relating the pedal position to current so that the control is a) more intuitive and b) you don't burn out at every stoplight.
|