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 CCS Technical Support

PID Ziegler-Nichols using CCS

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



Joined: 11 Sep 2006
Posts: 27

View user's profile Send private message

PID Ziegler-Nichols using CCS
PostPosted: Tue Sep 26, 2006 10:07 pm     Reply with quote

Hi there, currently I'm doing a temperature controller using 877. i know that Ziegler-Nichols can be use as a self-tuning method for PID.
But the problem is i dunno how to set the Ku and Pu.
I've search the net, but there are various equations for the Ziegler-Nichols. SOmeone plz help.....provide steps.
if possible examples on CCS plz.....
thanx
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Sep 26, 2006 10:46 pm     Reply with quote

Quote:

i know that Ziegler-Nichols can be use as a self-tuning method for PID.

I did a search on Google and found the following document.
Did you see this one ? It has CCS source code:
http://www.imtek.de/avt/content/upload/projekt/2006/diplomathesis_v1.0dmnew.pdf
wakaka



Joined: 11 Sep 2006
Posts: 27

View user's profile Send private message

PostPosted: Wed Sep 27, 2006 7:57 pm     Reply with quote

no, din manage to get that although i googled for a few times....will look into it, thankx.
wakaka



Joined: 11 Sep 2006
Posts: 27

View user's profile Send private message

PostPosted: Wed Sep 27, 2006 10:09 pm     Reply with quote

browse thru it, nice document PCM, thanx

anyone else? need more infos......
Eugeneo



Joined: 30 Aug 2005
Posts: 155
Location: Calgary, AB

View user's profile Send private message

PostPosted: Fri Sep 29, 2006 3:30 am     Reply with quote

I think he had more fun with the electronics and code design than the actual analysis BSmile
wakaka



Joined: 11 Sep 2006
Posts: 27

View user's profile Send private message

PostPosted: Sun Oct 01, 2006 4:43 am     Reply with quote

plz correct me if I'm wrong

The pid = Kp*E + Ki*sumE + Kd*dE/dt [1]

for the Ziegler-Nichols tuning method, it has open loop and closed loop, both has different calculations to find Kp, Ki and Kd.

The problem is if i wanna use open loop, i just substitute the constants in to the PID equation [1], or i need to use another PID equation which is an open loop? (Cause wat i understand is closed loop has feedback, whereas open loop no feedback)

Or the same equation[1] can be use for closed loop and open loop Ziegler-Nichols ?
Plz help, thanx.......
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Sun Oct 01, 2006 8:42 pm     Reply with quote

Without feedback it is not PID as there is no E to put into the PID equation. Z&N is only used with closed loop PID. First you should try to get a decent responce open loop. Then close the loop with PID and use Z&N to fine tune the loop constants.
_________________
The search for better is endless. Instead simply find very good and get the job done.
wakaka



Joined: 11 Sep 2006
Posts: 27

View user's profile Send private message

PostPosted: Sun Oct 01, 2006 8:49 pm     Reply with quote

dun understand...sorry....
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