Solved! Go to Solution.
Hi,
there are plenty of application notes out there on how to implement PID compensation.
E.g. Freescale offers AN1215 for download. Get it here
For more, just use Google.
If you really want to calculate Kp, Ki, Kd, you need to get into control theory, set up the closed loop equation for your particular application (which implies having a suitable model of the response characteristic of each component), define your requirements for speed, accuracy and stability range of your control and then go from there.
You might be better off by simply setting up a lab experiment and find suitable values by trial and error. Start with P (keep D and I set to zero first).
Regards,
Sven
Hi,
there are plenty of application notes out there on how to implement PID compensation.
E.g. Freescale offers AN1215 for download. Get it here
For more, just use Google.
If you really want to calculate Kp, Ki, Kd, you need to get into control theory, set up the closed loop equation for your particular application (which implies having a suitable model of the response characteristic of each component), define your requirements for speed, accuracy and stability range of your control and then go from there.
You might be better off by simply setting up a lab experiment and find suitable values by trial and error. Start with P (keep D and I set to zero first).
Regards,
Sven
Hello Sir,
i am using MCF51CN128 microcontroller.
i want ot impliment PID controller using this microcontroller.
my feedback is current (DC) and using is current i vl control voltage. do you have any idea? please tell me