Hello to all. First sorry for my poor English.
I have a question.
Actually I'm controlling speed of DC motor by LPC1768 and I need to a PI controller like below picture.
How could I program a PI controller in Keil. Is there any library for it, if not, what can I do?
Very thank you.
Just search for the article "PID without a P.H.D.". It is also on embedded.com.
A PI controller is something you can do yourself with very little effort.
Hi Leon,
The DSP library for LPC1700 devices includes the below functions as you can check in the application note AN10913 http://www.nxp.com/documents/application_note/AN10913.pdf :
For PI controller you need to implement your own algorithm, please check the following references.
http://www.idc-online.com/technical_references/pdfs/civil_engineering/Universal%20Controller.pdf
I hope this helps.
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------