Abstract: NA
FIELD OF INVENTION
This invention relates to proportional-integral-derivative ("PID") controllers, and in particular, to a method and system for automatically setting the gain values associated with the proportional, integral, and derivative terms of the controller, that is, for "tuning" the controller.
BACKGROUND
A proportional-integral-derivative controller (PID controller) is a feedback control loop mechanism widely used in industrial control systems and in a variety of other applications requiring continuously modulated control. Typically, a user may have desired characteristics in mind for the controller, such as a phase margin, or a closed-loop response speed etc. Conventional applications may require that the user relate these desired controller characteristics to particular values for P, I and D gains that are used to design the controller. Relating desired characteristics to values of P, I, and D may prove difficult for the user because the relation of gains for P, 1 and D to the desired characteristics can be complex, nonlinear, and non-intuitive. Though many theories exist, yet determination of the gains is still considered to be a very troublesome work which is, typically, accomplished by skilled specialists. This is accomplished through iterative trials and error procedure by skilled specialists with many years of experience. In PID control, determination of parameters for proportional, integral and differential gains to improve a characteristic of the system is most important.
Several tools, methods, and theories are available for tuning PID controller gains. However, in practice, most of the known methods require a lot of engineering effort to get satisfactory results. Therefore, auto-tuning or a self-tuning PID controller were developed and there are several automatic gain tuners available in the market. In some automatic gain tuners, the controller PID gains are derived analytically based on a low-order model of the process. In other methods, the tuning is based on the optimization of some performance measure of the controller as related to the characteristics of the frequency and/or time response of the process. Persons skilled in the art will recognize that current auto-tuning techniques require frequent adjustment of the PID gains, are unreliable, and are not particularly effective. Yet, the tuning of PID gains remains a subject of great practical interest.
Hence, there remains a need for an improved method and system for automatically setting the gain values associated with the PID controllers.
SUMMARY OF THE INVENTION
According to embodiments of the invention, a method of identifying values for the Proportional(P) gain, Integral(I) gain and Differential(D) gain of a PID controller is disclosed. The disclosed method includes selecting a value of P gain (represented as Kp) such that a steady state output of a mathematical model of a physical system having PID controller is reasonably close to a target output; assigning a value to the I gain (represented as Ki) and the D gain substantially same as the P gain. The method further includes finding a minimum value of at least one objective function within a range from 0 to Kp max, 0 to Ki max, 0 to Komax by performing numerical simulation.
BRIEF DESCRIPTION OF DRAWINGS
Other objects, features, and advantages of the invention will be apparent from the following description when read with reference to the accompanying drawings:
Figure 1 illustrates a schematic diagram of the exemplary DC Motor; and Figure 2 illustrates an exemplary flow diagram of a method of identifying values for the Proportional(P) gain, Integral(I) gain and Differentia 1(D) gain of a PID controller according to an embodiment of the invention.
DETAILED DESCRIPTION OF DRAWINGS
In the drawings and specification there has been set forth preferred embodiments of the invention, and although specific terms are employed, these are used in a generic and descriptive sense only and not for purposes of limitation. Changes in the form and the proportion of parts, as well as in the substitution of equivalents, are contemplated as circumstances may suggest or render expedient without departing from die spirit or scope of the invention.
Proposed invention is illustrated with reference to an exemplary DC motor. Figure 1 illustrates a schematic circuit diagram of the exemplary DC Motor. As illustrated the circuit consists of an inductor La and a resistor Ra. A mathematical model governing the DC Motor with a PID feedback Control is
La*M21 = 6a(t) -^ia(t)- eb(t) •/•~P = Tm(t)-BcD(t) - TL(t) - T/t)
ea(t)=eref + Kp.er(t)+KlI*er(t')dt' +iC*~P
er(t) =u- co(t) eb = Kboi(t) Tm(t)=Kl.ia(t)
where J is the moment of inertia of a rotor, ia(t) is a current, B is a motor viscous friction constant, Kb is a electromotive force constant, TL is a load torque, 7/- is a friction torque, eb is a back electromotive force, AT, is a motor torque constant, eref is a bias voltage, u is a target speed, co is a angular speed of the rotor, Kp is a proportional gain, Ki is a integral gain, Kj is a derivative gain and eT is the difference between the target and the angular speeds of the rotor. The friction torque 7/ and the load torque 77, are assumed to be zero in this work. Also, the motor is assumed to be excited (and controlled) through the armature circuit.
The following exemplary objective functions are used for the purpose of gains determination:
Integrated Squared error (ISE) = J0 (u — o)(t))2dt
Integrated Absolute error (IAE) = /0' |u-6>(t)| dt
Integrated Time Squared error (TTSE) = /Qr t(u - o>(t))2dt
Mean Squared Error (MSE) = £ /flr t(u - oi(t))2dt
Integrated Time Absolute Error (ITAE) = /Q71 \u - to(t) | dt where ris the time period of the control horizon.
Figure 2 illustrates an exemplary method 100 of identifying values for the Proportional(P) gain, Integral(I) gain and Differential(D) gain of the PID controller according to an embodiment of the invention. The disclosed method 100 includes selecting 102 a value of P gain (represented as Kp) such that a steady state output of the mathematical model (exemplary method illustrated above) of the physical system having PID controller is reasonably close to a target output.
According to an embodiment, the value of the P gain is selected by trial and error method. Usually, this step does not take much time, since running the mathematical model for P alone controller should be accomplished within a few minutes. The method 100 includes the step of assigning 104 a value to the I gain (represented as Ki) and the D gain substantially same as the P gain. The method 100 further includes the step of finding 106 a minimum value of at least one objective functions within a range 0 to Kp max, 0 to Ki max, 0-KD max by performing numeric simulation wherein values of P gain, I gain, and D gain corresponds to the minimum value of identified corresponding objective integrals.
The invention will now be illustrated with two exemplary sets of data of DC motors, named DS1 and DS2 for PED gains determination. The data for DS1 and DS2 are presented in Table
The exemplary simulations are run with a h (time step for the numerical simulation) value of 0.025 seconds for P controller (second column in Tables 2 and 3). And for PI, PD and PID controllers a /; value of 0.05 seconds is chosen. For P alone controller, both DS1 and DS2 gave the minimum as the end point of Kp, i.e., 200. Several ranges ofKp were tried and all of them yielded the end point as the minimum. The PI, PD and PID respectively form the third, fourth and fifth columns of Tables 2 and 3. Predominantly the maximum value of Kp is one of the contributors to the minimum. For PI controller (Table 2), except for ITAE minimum, all of them have the extreme end points of Kp and K;. Other intervals were also considered and the behaviour was pretty much the same, i.e., mostly end points dominate the minima. Another obvious thing that can be noticed is the derivative gain Kd has contributed very little to the optimal gains. According to embodiments of the invention, for a linear system with P alone control, the maximum end point should be the optimal point. For a DC motor (and possibly for other similar linear systems) end points of Kp and/or Ki should be expected as the optimal gain values.
Typically, an optimization methodology is used to determine the optimal gains. Such an optimization methodology can give local minimum as well. There is no way by which one can determine if the obtained value is local/global unless the exact solution is known, which, in general, is not the case. The proposed methodology does not suffer from such a limitation. Within the parameter range considered, the proposed method will obtain the global minimum. Also, for an optimization approach, getting local/global minimum is, in general, dependent on
whether the objective function is convex or not. The proposed approach can handle both convex and non-convex objective functions.
| # | Name | Date |
|---|---|---|
| 1 | Form5_As Filed_31-08-2018.pdf | 2018-08-31 |
| 2 | Form3_As Filed_31-08-2018.pdf | 2018-08-31 |
| 3 | Form2 Title Page_Provisional_31-08-2018.pdf | 2018-08-31 |
| 4 | Form1_As Filed_31-08-2018.pdf | 2018-08-31 |
| 5 | Drawing_As Filed_31-08-2018.pdf | 2018-08-31 |
| 6 | Description Provisional_As Filed_31-08-2018.pdf | 2018-08-31 |
| 7 | Correspondence by Applicant_As Filed_31-08-2018.pdf | 2018-08-31 |
| 8 | Form18_Normal Request_06-08-2019.pdf | 2019-08-06 |
| 9 | Correspondence by Agent_Form-18_06-08-2019.pdf | 2019-08-06 |
| 10 | Form2 Title Page_Complete_29-08-2019.pdf | 2019-08-29 |
| 11 | Form-1_After Provisional_29-08-2019.pdf | 2019-08-29 |
| 12 | Drawing_After Provisional_29-08-2019.pdf | 2019-08-29 |
| 13 | Description Complete_After Provisional_29-08-2019.pdf | 2019-08-29 |
| 14 | Correspondence by Applicant_After Provisional_29-08-2019.pdf | 2019-08-29 |
| 15 | Claims_After Provisional_29-08-2019.pdf | 2019-08-29 |
| 16 | Abstract_After Provisional_29-08-2019.pdf | 2019-08-29 |
| 17 | 201841032707-OTHERS [18-06-2021(online)].pdf | 2021-06-18 |
| 18 | 201841032707-FER_SER_REPLY [18-06-2021(online)].pdf | 2021-06-18 |
| 19 | 201841032707-DRAWING [18-06-2021(online)].pdf | 2021-06-18 |
| 20 | 201841032707-COMPLETE SPECIFICATION [18-06-2021(online)].pdf | 2021-06-18 |
| 21 | 201841032707-CLAIMS [18-06-2021(online)].pdf | 2021-06-18 |
| 22 | 201841032707-ABSTRACT [18-06-2021(online)].pdf | 2021-06-18 |
| 23 | 201841032707-FER.pdf | 2021-10-17 |
| 24 | 201841010120-Correspondence-14-12-2021.pdf | 2021-12-14 |
| 25 | 201841032707-Correspondence_Update Email ID_30-06-2022.pdf | 2022-06-30 |
| 26 | 201841032707-US(14)-HearingNotice-(HearingDate-07-03-2024).pdf | 2024-02-08 |
| 27 | 201841032707-FORM-26 [12-02-2024(online)].pdf | 2024-02-12 |
| 28 | 201841032707-Correspondence to notify the Controller [12-02-2024(online)].pdf | 2024-02-12 |
| 29 | 201841032707-Response to office action [13-03-2024(online)].pdf | 2024-03-13 |
| 1 | 2020-08-0417-11-02E_04-08-2020.pdf |