PID Controller using Microcontrollers

Jan 19, 2005 5 Replies

Hi Everybody, I am Naresh - pursuing M.Tech Need to get an algo/C Code for implementing PID controller in Microcontrollers - if any one has it for AVR Microcontrollers,please help me.



Looking for early help. Thanks ND



Google is your friend. John Shaw's website

formatting link
contains useful information.

Andrew

If you are doing an M. Tech then presumably you already know about descrete time (z) transforms. All you need do is code these in C.

Ian

Ian Bell

You can also see

formatting link
All of the coding is in floating point with implementation on an integer machine left as an exercise to the reader, but I think you'll find it useful.

Tim Wescott Wescott Design Services http://www.wescottdesign.com

Sorry Tim, and I even browsed your site the other week!

Andrew

On 19 Jan 2005 01:25:27 -0800, "dhamija snipped-for-privacy@yahoo.com" wrote in comp.arch.embedded:

There are some code samples for a demonstration program, and some pre-build scripts to feed it, at

formatting link

There isn't the text from the book, the publisher paid me for that and they own it, I can't give it away.

Jack Klein Home: http://JK-Technology.Com FAQs for comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html comp.lang.c++ http://www.parashift.com/c++-faq-lite/alt.comp.lang.learn.c-c++ http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required