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

Search found 12 matches
CCS Forum Index
Author Message
  Topic: Autotuning of PID Algo in 8 bit Microcontroller
cmengnr

Replies: 23
Views: 37564

PostForum: General CCS C Discussion   Posted: Fri Jan 11, 2013 3:55 am   Subject: Autotuning of PID Algo in 8 bit Microcontroller
Hello all,

after studying some documents and doing some practicals i could able to write a code of autotuning.

I am using Relay feedback approach for autotuning. Everything is clear but only one ...
  Topic: Autotuning of PID Algo in 8 bit Microcontroller
cmengnr

Replies: 23
Views: 37564

PostForum: General CCS C Discussion   Posted: Tue Jan 01, 2013 10:38 pm   Subject: Autotuning of PID Algo in 8 bit Microcontroller
Thanks all for your reply. I will test PID practically and then comes ther if still face any problem
  Topic: Autotuning of PID Algo in 8 bit Microcontroller
cmengnr

Replies: 23
Views: 37564

PostForum: General CCS C Discussion   Posted: Tue Jan 01, 2013 7:11 am   Subject: Autotuning of PID Algo in 8 bit Microcontroller
Hello John

I am using PIC16 with CCS compiler.

But till now i dont have C code for PID. Before clearing all concepts of PID how can i write a code for PID.

After completely understanding the ...
  Topic: Autotuning of PID Algo in 8 bit Microcontroller
cmengnr

Replies: 23
Views: 37564

PostForum: General CCS C Discussion   Posted: Tue Jan 01, 2013 6:21 am   Subject: Autotuning of PID Algo in 8 bit Microcontroller
I think now i am clear.

When temp reaches set point, the P only controller comes into action. So o/p of PID becomes kp(S-P). Here by changing different values of kp, the controller changes its o/p ...
  Topic: Autotuning of PID Algo in 8 bit Microcontroller
cmengnr

Replies: 23
Views: 37564

PostForum: General CCS C Discussion   Posted: Tue Jan 01, 2013 5:42 am   Subject: Autotuning of PID Algo in 8 bit Microcontroller
Also how many hit and trial the controller have to applied on value of kp and in what factor it increase it.

And how kp relates to o/p voltage. What is the relationship b/w changing kp and voltage ...
  Topic: Autotuning of PID Algo in 8 bit Microcontroller
cmengnr

Replies: 23
Views: 37564

PostForum: General CCS C Discussion   Posted: Tue Jan 01, 2013 4:36 am   Subject: Autotuning of PID Algo in 8 bit Microcontroller
Thanks Ttelmah for your explanation.

Could you please explain it in terms of voltage applied to heater and change in temperature. And when temp reaches set point, what the code will do to compute v ...
  Topic: Autotuning of PID Algo in 8 bit Microcontroller
cmengnr

Replies: 23
Views: 37564

PostForum: General CCS C Discussion   Posted: Tue Jan 01, 2013 12:21 am   Subject: Autotuning of PID Algo in 8 bit Microcontroller
I have read somewhere that for Autotuning ZN method is not best. They said go for Discrete Autotuning Methods.

Could anyone please help me to move one step ahead toward autotuning.
  Topic: Autotuning of PID Algo in 8 bit Microcontroller
cmengnr

Replies: 23
Views: 37564

PostForum: General CCS C Discussion   Posted: Sun Dec 30, 2012 7:53 am   Subject: Autotuning of PID Algo in 8 bit Microcontroller
Actually my requirement is to design a Autotune PID based Temperature controller up to 850 degrees. In some cases i want max temp of 200 degree with different wattage of heater and sometimes i want te ...
  Topic: Autotuning of PID Algo in 8 bit Microcontroller
cmengnr

Replies: 23
Views: 37564

PostForum: General CCS C Discussion   Posted: Sat Dec 29, 2012 9:34 pm   Subject: Autotuning of PID Algo in 8 bit Microcontroller
Could anyone please give some links, tutorials etc as I searched a lot but feeling not comfortable with all stuff.

Everywhere for autotuning zieglers method is mentioned.

But how to implement th ...
  Topic: Autotuning of PID Algo in 8 bit Microcontroller
cmengnr

Replies: 23
Views: 37564

PostForum: General CCS C Discussion   Posted: Sat Dec 29, 2012 8:19 am   Subject: Autotuning of PID Algo in 8 bit Microcontroller
Thanks SherpaDoug for your reply.

Mathematical calculations with scaled integer is fine for me, but i want to know how to find out ultimate gain and period using Ziegler Method during undershoot a ...
  Topic: Autotuning of PID Algo in 8 bit Microcontroller
cmengnr

Replies: 23
Views: 37564

PostForum: General CCS C Discussion   Posted: Sat Dec 29, 2012 7:16 am   Subject: Autotuning of PID Algo in 8 bit Microcontroller
Thanks for your reply.

I want to control temp of oven in which sometimes i wants to control in slow manner like with Proportional band from 25 degree and sometimes i want controlling of PID starts ...
  Topic: Autotuning of PID Algo in 8 bit Microcontroller
cmengnr

Replies: 23
Views: 37564

PostForum: General CCS C Discussion   Posted: Fri Dec 28, 2012 11:44 pm   Subject: Autotuning of PID Algo in 8 bit Microcontroller
Hello

I want to implement Autotuning of PID Algo in PIC16 Microcontroller to control temperature.

Most commonly used Ziegler method is clear to me with Ultimate Gain and Period Oscillations.

...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group