PI Controller

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PI Controller

1,576 Views
leoncorleone
Contributor II

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.

1.jpg

How could I program a PI controller in Keil. Is there any library for it, if not, what can I do?
Very thank you.

0 Kudos
2 Replies

872 Views
rons
Contributor II

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.

0 Kudos

872 Views
soledad
NXP Employee
NXP Employee

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 :

  • Biquad filter 
  • Fast Fourier transform
  • Dot product
  • Vector manipulation
  • FIR filter
  • Resonator
  • PID controller
  • Random number generator

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 

Feedback control system based on a remote operated PID controller implemented using mbed NXP LPC1768... 

I hope this helps.


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos