algorithmmathcalculuscontrol-theorypid-controller

Formula for PI-regulation Proportional Integral algorithm


I've been reading this website: http://www.csimn.com/CSI_pages/PIDforDummies.html and I'm confused about the proportional integral part. Here's what it says.

Proportional control

Here’s a diagram of the controller when we have enabled only P control:

Proportional

In Proportional Only mode, the controller simply multiplies the Error by the Proportional Gain (Kp) to get the controller output.

The Proportional Gain is the setting that we tune to get our desired performance from a “P only” controller.

A match made in heaven: The P + I Controller

If we put Proportional and Integral Action together, we get the humble PI controller. The Diagram below shows how the algorithm in a PI controller is calculated.

Proportional Integral

The tricky thing about Integral Action is that it will really screw up your process unless you know exactly how much Integral action to apply.

A good PID Tuning technique will calculate exactly how much Integral to apply for your specific process - but how is the Integral Action adjusted in the first place?

As you can see, the proportional part is easy to understand it says that you multiply error by tuning variable. The part that I don't get is where you get the P and I from on the second part, and what mathematical operation you do with them. I don't have a degree in mathematics or advanced calculus knowledge, so I would appreciate it if you would try to keep it algebra level.


Solution

  • I integral part is just summation also multiplied by some constant.

    regulation

    Now the I regulator adds more and more amount of control value

    The controlled device has its own response

    So I-regulator add speed to regulation

    Also take in mind you can also substracting the I part from control value