Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

how to limit the PID values

Status
Not open for further replies.

kvrajasekar

New Member
Hi all,

I am trying to implement PID algorithm.I dont know how to limit the P,I,D values.I tried when the I,D values exits the maximum value,

IF(I>max)

I=max

But my confusion is,what is the next cycle value?I am getting the limited value all time after the above step.

Please help me on this.
 
The integral term will always reach max if an error is present, it is there to get rid of the minutest errors and causes problems due to wind up. Are you sure you need the integral term as most systems work just as well with just P & D.

Mike.
 
If you want to understand PID then **broken link removed** could be useful. You will get an advert first, just click the skip advert link.

Mike.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top