CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

need C code of using PID in microcontroller

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ala
Guest







need C code of using PID in microcontroller
PostPosted: Mon Feb 18, 2002 6:07 pm     Reply with quote

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

View user's profile Send private message

Re: need C code of using PID in microcontroller
PostPosted: Tue Feb 19, 2002 5:38 am     Reply with quote

:=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

View user's profile Send private message Send e-mail

PostPosted: Sat Apr 21, 2007 11:15 am     Reply with quote

Hi!

I tried to click the link to access the codes, but it has been removed.
mickent



Joined: 18 Feb 2007
Posts: 22
Location: TN, USA

View user's profile Send private message

PostPosted: Sat Apr 21, 2007 3:28 pm     Reply with quote

Try This:
http://www.ccsinfo.com/forum/viewtopic.php?t=10807&highlight=pid
_________________
Mick
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group