Hey Forum
I am attempting to implement a PID loop on a PIC, i want to output
the value to the PWM. What i would like to know is how do you
manage the negative errors, i.e. obviously you can't sent negative values to
the PWM function as it wont accept them, so how do i convert my negative errors in to values that will result in for example the motor slowing down when the process variable has overshot the process setpoint??
Thanks
I am attempting to implement a PID loop on a PIC, i want to output
the value to the PWM. What i would like to know is how do you
manage the negative errors, i.e. obviously you can't sent negative values to
the PWM function as it wont accept them, so how do i convert my negative errors in to values that will result in for example the motor slowing down when the process variable has overshot the process setpoint??
Thanks