i'm student and i have a project about implementation of PID for DC TO DC convertor using microcontroller and i wwill use PWM as out of the microcontroller to control the DC TO DC convertor .... ineed any one has C code for this case or he can help me in my project will send to me full documentation about this program
thanks and regards
___________________________
This message was ported from CCS's old forum
Original Post ID: 2677
Neutone
Joined: 08 Sep 2003 Posts: 839 Location: Houston
Re: need C code of using PID in microcontroller
Posted: Tue Feb 19, 2002 5:38 am
:=i'm student and i have a project about implementation of PID for DC TO DC convertor using microcontroller and i wwill use PWM as out of the microcontroller to control the DC TO DC convertor .... ineed any one has C code for this case or he can help me in my project will send to me full documentation about this program
:=thanks and regards
If you plan to use this method you will need to run your pic's clock very fast and use componants with large time constant.
I posted some code yesterday to control a heater but the code could also work for any other process that has feedback. Just change the variables to fit your aplication. You should also know what a PID controler really is before you try to use one.
<a href="http://www.pic-c.com/forum/general/posts/2658.html" TARGET="_blank">http://www.pic-c.com/forum/general/posts/2658.html</a>
___________________________
This message was ported from CCS's old forum
Original Post ID: 2683
tcwong3
Joined: 16 Jul 2006 Posts: 7
Posted: Sat Apr 21, 2007 11:15 am
Hi!
I tried to click the link to access the codes, but it has been removed.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum