PI Controller

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

PI Controller

1,799 次查看
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 项奖励
回复
2 回复数

1,095 次查看
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 项奖励
回复

1,095 次查看
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 项奖励
回复