System and method for closed loop autotuning of PID controllers
First Claim
1. A method for tuning a PID controller, wherein the PID controller is comprised in an PID control loop, the PID control loop receiving a input, the PID controller being coupled to a process being controlled, wherein the process outputs a process variable which is supplied for comparison to the input, wherein a result of said comparison is supplied to the PID controller, the method comprising:
- running the PID control loop until the PID control loop achieves a steady state, wherein the input of the PID control loop receives a set point value;
performing autotuning of the PID control loop, wherein said performing autotuning comprises;
applying a relay to the input of the PID control loop, wherein the relay operates to compare the set point value to the process variable, wherein the relay outputs a first relay value if the set point input is greater than the process variable, and wherein the relay outputs a second relay value if the set point value is less the process variable, wherein the PID controller remains in the PID control loop after said applying said relay to the input of the PID control loop;
measuring a period and amplitude of oscillation of the process variable, wherein said measuring is performed after a sustained oscillation has developed in the process variable;
calculating new PID controller parameters based on said period and amplitude of oscillation;
configuring the PID controller with the new PID controller parameters;
removing the relay from the input of the PID control loop.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for automatically tuning a PID controller resident within a PID control loop. The PID control loop includes a PID controller and a process. The process supplies a process variable which is compared to the loop input. The result of the comparison is supplied to the PID controller, and the PID controller drives the process. A relay is applied to the loop input. The relay compares a set point value to the process variable. If the set point value is greater than the process variable, the relay drives the loop input with a first amplitude value. If the set point value is less than the process variable, the relay drives the loop input with a second amplitude value. In response to the set point relay, the process variable develops a sustained oscillation. The period and amplitude of the sustained oscillation are measured. A new set of PID controller parameters are calculated from the period and amplitude of sustained oscillation. In particular, the oscillation period and amplitude are used to calculated a time constant and dead time for a standard process model. The time constant and dead time are used to calculate the new PID controller parameters either (a) directly through the formulae associated with the Ziegler-Nichols reaction curve method, or (b) through the intermediate step of calculating an ultimate period and frequency from the time constant and deadtime.
98 Citations
13 Claims
-
1. A method for tuning a PID controller, wherein the PID controller is comprised in an PID control loop, the PID control loop receiving a input, the PID controller being coupled to a process being controlled, wherein the process outputs a process variable which is supplied for comparison to the input, wherein a result of said comparison is supplied to the PID controller, the method comprising:
-
running the PID control loop until the PID control loop achieves a steady state, wherein the input of the PID control loop receives a set point value; performing autotuning of the PID control loop, wherein said performing autotuning comprises; applying a relay to the input of the PID control loop, wherein the relay operates to compare the set point value to the process variable, wherein the relay outputs a first relay value if the set point input is greater than the process variable, and wherein the relay outputs a second relay value if the set point value is less the process variable, wherein the PID controller remains in the PID control loop after said applying said relay to the input of the PID control loop; measuring a period and amplitude of oscillation of the process variable, wherein said measuring is performed after a sustained oscillation has developed in the process variable; calculating new PID controller parameters based on said period and amplitude of oscillation; configuring the PID controller with the new PID controller parameters; removing the relay from the input of the PID control loop. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for tuning a PID controller, wherein the PID controller is comprised in an PID control loop, the PID control loop receiving a input, the PID controller being coupled to a process being controlled, wherein the process outputs a process variable which is supplied for comparison to the input, wherein a result of said comparison is supplied to the PID controller, the method comprising:
-
applying a relay to the input of the PID control loop, wherein the relay operates to compare a set point value and the process variable, wherein the relay outputs a first relay value if the set point value is greater than the process variable, and wherein the relay outputs a second relay value if the set point value is less than the process variable, wherein the PID controller remains in the PID control loop after said applying said relay to the input of the PID control loop; measuring a period and amplitude of oscillation of the process variable, wherein said measuring is performed after a sustained oscillation develops in the process variable; calculating new PID controller parameters based on said period and amplitude of oscillation; configuring the PID controller with the new PID controller parameters; removing the relay from the set point input of the PID control loop.
-
-
9. A system which provides embedded autotuning for a PID controller, the system comprising:
-
a PID control loop, wherein the PID control loop includes; a first input; a PID controller; a process coupled to the PID controller, wherein the process supplies a process variable to be controlled; wherein the PID controller receives a comparison of the input and the process variable; a relay, wherein the relay output is coupled to the first input; a subtraction unit, wherein the subtraction unit output is coupled to the relay; a second input coupled to the relay input, wherein the second input is supplied with a set point value; a computer configured to execute program instructions; data acquisition logic configured to supply sampled values of said process variable to said computer; wherein the computer executing under the control of the software instructions is configured to; detect a sustained oscillation in said process variable; measure a period and amplitude of the sustained oscillation; calculate new PID controller parameters based on the period and amplitude of oscillation; wherein the computer is operable to configure the PID controller with the new PID controller parameters. - View Dependent Claims (10, 11, 12, 13)
-
Specification