CN113515037B - Improved PID controller parameter setting method for model-free system - Google Patents
Improved PID controller parameter setting method for model-free system Download PDFInfo
- Publication number
- CN113515037B CN113515037B CN202110885844.9A CN202110885844A CN113515037B CN 113515037 B CN113515037 B CN 113515037B CN 202110885844 A CN202110885844 A CN 202110885844A CN 113515037 B CN113515037 B CN 113515037B
- Authority
- CN
- China
- Prior art keywords
- pid controller
- gain
- preliminary
- proportional gain
- proportional
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000001052 transient effect Effects 0.000 claims abstract description 11
- 230000014509 gene expression Effects 0.000 claims description 12
- 238000013178 mathematical model Methods 0.000 description 7
- 238000004088 simulation Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000009897 systematic effect Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B11/00—Automatic controllers
- G05B11/01—Automatic controllers electric
- G05B11/36—Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential
- G05B11/42—Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential for obtaining a characteristic which is both proportional and time-dependent, e.g. P. I., P. I. D.
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Feedback Control In General (AREA)
Abstract
The invention provides an improved PID controller parameter setting method without a model system, which belongs to the technical field of industrial control, and comprises the steps of giving the preliminary differential gain of a PID controller and taking the value of the preliminary proportional gain of the PID controller; giving the global scaling factor and the integral gain scaling factor of the PID controller to determine the value of the PID controller parameter of the model-free system; and (3) initially operating the controlled system of the step input signal, and correspondingly adjusting integral gain scaling factors, preliminary differential gain and/or global scaling parameters of the PID controller according to a response error curve and expected transient response overshoot, steady state error and response time of the system to finish parameter setting of the PID controller. The invention is not only suitable for PID controller parameter setting of known/unknown linear system, but also suitable for PID controller parameter setting of unknown nonlinear system.
Description
Technical Field
The invention belongs to the technical field of industrial control, and particularly relates to an improved PID controller parameter setting method of a model-free system.
Background
For mechanical systems, the dynamics equation generally follows newton's law of motion, and can be described by a second order system, such as an unmanned aerial vehicle/unmanned vehicle control system. However, the mathematical model of the controlled object is generally simplified and linearized, and may be greatly different from the actual product. Moreover, it may also be affected by unknown unmodeled disturbances outside or inside the system. In actual PID controller parameter tuning and controller design, it is necessary to take into account the impact of the unmodeled parts missing due to simplification and linearization on the control system. Meanwhile, the influence of external unknown interference on the controlled object also needs to be considered.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides an improved PID controller parameter setting method of a model-free system, which aims to solve the problem of controller parameter setting under the condition that the mathematical model of a controlled object is inaccurate or has stronger nonlinearity.
In order to achieve the above purpose, the invention adopts the following technical scheme:
the scheme provides an improved PID controller parameter setting method of a model-free system, which comprises the following steps:
s1, giving preliminary differential gain of PID controllerAnd taking the preliminary proportional gain of the PID controller according to the preliminary differential gain>Wherein%>
S2, giving global scaling factor n of PID controller s And integral gain scaling factor n i Wherein n is s ≥1、
S3, according to the preliminary differential gainPreliminary proportional gain->Integral gain scaling factor n i Global scaling factor n s Respectively calculating to obtain differential gain, proportional gain and integral gain of the PID controller;
s4, initially operating the controlled system based on the differential gain, the proportional gain and the integral gain of the PID controller, and checking a response error curve of the controlled system;
s5, combining a response error curve of the controlled system with expected transient response overshoot sigma% and steady state error e of the system s % and response time t r Adjusting the global scaling parameter, the integral gain scaling parameter, the preliminary differential gain and the preliminary proportional gain;
and S6, judging whether the response error curve meets the preset condition according to the adjustment result, if so, finishing the adjustment of the parameters of the PID controller, otherwise, returning to the step S3.
The beneficial effects of the invention are as follows: the invention provides an improved parameter setting method for a second-order system by adopting a PID controller, which is suitable for setting the parameters of the PID controller of a known/unknown linear system and the parameters of the PID controller of an unknown nonlinear system. The uncertainty of the unknown linear or nonlinear modeling part in the system in parameter setting can be rapidly and conveniently dealt with.
Further, in the step S1, the proportional gain of the PID controller is obtainedThe expression of (2) is as follows:
wherein,,represents the preliminary proportional gain of the PID controller, ζ is a dimensionless constant whose initial value can be set to 1 for adjusting the preliminary proportional gain +.>Value of->Representing the preliminary derivative gain of the PID controller.
Still further, the expressions of the differential gain, the proportional gain and the integral gain of the PID controller in the step S2 are as follows:
wherein K is p Represents the proportional gain, K, of the PID controller d Represents the differential gain, K, of the PID controller i Indicating the integral gain of the PID controller,represents the preliminary proportional gain of the PID controller, +.>Representing the preliminary differential gain, n, of the PID controller s Representing the global scaling factor of a PID controller, n i Representing the integral gain scaling factor of the PID controller.
The beneficial effects of the above-mentioned further scheme are: the proportional gain, the differential gain and the integral gain of the PID controller are disassembled from the transient response overshoot sigma% expected by the controlled system, and the steady-state error e s % and response time t r Is convenient for the rapid setting of the parameters of the PID controller.
Still further, the step S5 includes the following ways:
the first way is:
when the overshoot sigma% of the response error curve needs to be reduced, the integral gain scaling parameter n is increased i When the overshoot sigma% of the response error curve is to be increased, the integral gain scaling parameter n is reduced i Is a value of (2);
the second way is:
when the steady state error e of the controlled system needs to be reduced s % is then increased by the preliminary differential gainOr global scaling parameter n s When the steady state error e of the controlled system needs to be increased s % is the preliminary differential gain is reduced +.>Or global scaling parameter n s Is based on the value of (1) at the same time of the preliminary proportional gain +.>The expression of (2) adjusts the preliminary proportional gain +.>Wherein ζ=1;
third mode:
when the need is reducedResponse time t of control system r When the preliminary differential gain is increasedAnd/or global scaling parameter n s When the response time t of the controlled system needs to be increased r At the time, the preliminary differential gain is reduced>Value or local scaling parameter n s Is based on the value of (1) at the same time of the preliminary proportional gain +.>The expression of (2) adjusts the preliminary proportional gain +.>Where ζ=1.
The beneficial effects of the above-mentioned further scheme are: the transient response overshoot sigma and steady state error e of the controlled system are defined s % and response time t r And the relation and the adjustment method of the global scaling parameter, the integral gain scaling coefficient, the preliminary differential gain and the preliminary proportional gain realize the rapid setting of the PID controller parameter which accords with the expected response performance of the known/unknown linear/nonlinear controlled system.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Fig. 2 is a diagram of the PID control simulation result of example 1 in the present embodiment.
Fig. 3 is a diagram showing the simulation result of the PID control of example 2 in the present embodiment.
Fig. 4 is a diagram showing the simulation result of the PID control of example 3 in the present embodiment.
Detailed Description
The following description of the embodiments of the present invention is provided to facilitate understanding of the present invention by those skilled in the art, but it should be understood that the present invention is not limited to the scope of the embodiments, and all the inventions which make use of the inventive concept are protected by the spirit and scope of the present invention as defined and defined in the appended claims to those skilled in the art.
Examples
Taking a controlled object as a second-order system and being interfered as an example, the controlled object can be described by using the following mathematical model:
wherein f 0 Is a known modeling part of the system, and when using a PID controller, its control law model is as follows:
wherein, parameter K p ,K i ,K d Is the key to design PID control laws. Therefore, two problems exist when a PID controller is adopted, 1) the stability of the system is not easy to realize by setting parameters; 2) Obtaining the desired transient control performance and steady state error requires a significant amount of time to perform parameter trial and error. The invention provides a PID parameter rapid setting method for a second-order system as a control object aiming at the problems, which is suitable for setting the parameters of a PID controller of a known/unknown linear system and the parameters of a PID controller of an unknown nonlinear system. As shown in fig. 1, the present invention provides an improved method for setting parameters of a PID controller of a model-free system, which is implemented as follows:
s1, giving preliminary differential gain of PID controllerAnd taking the proportional gain of the PID controller according to the preliminary differential gain>Wherein%>Wherein the proportional gain of the PID controller is taken>The expression of (2) is as follows:
wherein,,represents the preliminary proportional gain of the PID controller, ζ is a dimensionless constant whose initial value can be set to 1 for adjusting the preliminary proportional gain +.>Value of->Representing the preliminary differential gain of the PID controller, i.e. taking the preliminary proportional gain +.>About preliminary differential gain->About 1/4 times square.
S2, giving global scaling factor n of PID controller s And integral gain scaling factor n i Wherein n is s ≥1、
S3, according to the preliminary differential gainPreliminary proportional gain->Integral gain scaling factor n i Global scaling factor n s And respectively calculating to obtain the differential gain, the proportional gain and the integral gain of the PID controller, wherein the expressions of the differential gain, the proportional gain and the integral gain of the PID controller are as follows:
wherein K is p Represents the proportional gain, K, of the PID controller d Represents the differential gain, K, of the PID controller i Indicating the integral gain of the PID controller,represents the preliminary proportional gain of the PID controller, +.>Representing the preliminary differential gain, n, of the PID controller s Representing the global scaling factor of a PID controller, n i Representing an integral gain scaling factor of the PID controller;
s4, initially operating the controlled system based on the differential gain, the proportional gain and the integral gain of the PID controller, and checking a response error curve of the controlled system;
in this embodiment, the controlled system is initially operated, the step response or other response is observed, and the system response error curve is checked.
S5, combining a response error curve of the controlled system with expected transient response overshoot sigma% and steady state error e of the system s % and response time t r Adjusting the global scaling parameter, the integral gain scaling parameter, the preliminary differential gain, and the preliminary proportional gain, comprising:
the first way is:
when the overshoot sigma% of the response error curve needs to be reduced, the integral gain scaling parameter n is increased i When the overshoot sigma% of the response error curve is to be increased, then the value of (2) is decreasedIntegral gain scaling parameter n i Is a value of (2);
the second way is:
when the steady state error e of the controlled system needs to be reduced s % is then increased by the preliminary differential gainOr global scaling parameter n s When the steady state error e of the controlled system needs to be increased s % is the preliminary differential gain is reduced +.>Or global scaling parameter n s Is based on the value of (1) at the same time of the preliminary proportional gain +.>The expression of (2) adjusts the preliminary proportional gain +.>Wherein ζ=1;
third mode:
when the response time t of the controlled system needs to be reduced r When the preliminary differential gain is increasedAnd/or global scaling parameter n s When the response time t of the controlled system needs to be increased r At the time, the preliminary differential gain is reduced>Value or local scaling parameter n s Is based on the value of (1) at the same time of the preliminary proportional gain +.>The expression of (2) adjusts the preliminary proportional gain +.>Where ζ=1.
It should be noted that the above three modes are not separated in succession and can be selected according to the situation.
In this embodiment, the integral gain scaling parameter n is appropriately increased or decreased according to the PID controller parameter value rule i To reduce or increase the system transient response overshoot sigma% of the PID control.
In this embodiment, the preliminary differential gain is appropriately increased or decreased according to the PID controller parameters and the proportional gain value ruleOr global scaling parameter n s 1 to reduce or increase steady state error e of the system s %。
In this embodiment, the preliminary differential gain is appropriately increased or decreased according to the controller parameters and the proportional gain value ruleOr global scaling parameter n s 1 to reduce or increase the response time t of the system r 。
And S6, judging whether a response error curve of the controlled system meets preset conditions according to the adjustment result, if so, finishing the adjustment of the parameters of the PID controller, otherwise, returning to the step S3.
In this embodiment, the global scaling parameter, the integral gain scaling parameter, the preliminary differential gain and the preliminary proportional gain are adjusted in step S5, and the adjustment can be performed after the comparison in step S6.
In summary, the method includes disassembling proportional gain, differential gain and integral gain of the PID controller into a combination form of preliminary differential gain, preliminary proportional gain, integral gain scaling factor and global scaling factor, specifically, preliminary differential gain of a given PID controller, and taking the value of the preliminary proportional gain of the PID controller; giving the global scaling factor and the integral gain scaling factor of the PID controller to determine the values of the PID controller parameters (proportional gain, differential gain and integral gain) of the model-free system; controlled system for initially operating step input signal and based on response errorCurve and expected transient response overshoot sigma% and steady state error e of system s % and response time t r And correspondingly adjusting integral gain scaling factors, preliminary differential gains and/or global scaling parameters of the PID controller to finish the parameter setting of the PID controller. The invention is not only suitable for PID controller parameter setting of known/unknown linear system, but also suitable for PID controller parameter setting of unknown nonlinear system.
The invention is further illustrated by the following examples.
Example 1
The second order system mathematical model of a control object is as follows:
wherein the unknown interference term isw 2 (t) =1.5 sin (0.5 t). The tuning was performed using the set 5 PID parameters shown in table 1, and the results are shown in fig. 2, and fig. 2 is a diagram showing the simulation results of PID control, wherein fig. 2 (b) is a partial enlarged view of the simulation results of PID control.
TABLE 1
Example 2
The second order systematic mathematical model of a control object (unmanned aerial vehicle altitude control taking ground effect into account) is as follows:
wherein r=0.20 is the propeller diameter; z r =0.32+x 1 Is the ground clearance of the propeller; ρ=8.4 is a pending parameter related to the unmanned structure. The tuning was performed using 6 sets of PID parameters as shown in table 2, the results of which are shown in fig. 3, wherein,FIG. 3 (b) is a partial enlarged view of the simulation result of PID control.
TABLE 2
Example 3
The second order systematic mathematical model of a control object (unmanned aerial vehicle altitude control taking ground effect into account) is as follows:
wherein r=0.20 is the propeller diameter; z r =0.32+x 1 Is the ground clearance of the propeller; ρ=8.4 is a pending parameter related to the unmanned structure. Unknown interference term isw 2 (t) =1.5 sin (0.5 t), and the sensor had white noise, and was set using the 6 sets of PID parameters shown in table 3, the result is shown in fig. 4, where fig. 4 (b) is a partial enlarged view of the PID control simulation result.
TABLE 3 Table 3
In this embodiment, a second-order system mathematical model of a certain control object (unmanned aerial vehicle altitude control considering ground effect) is as follows:
wherein r=0.20 is the propeller diameter; z is Z r =0.32+x 1 Is a screw propellerGround clearance height; ρ=8.4 is a pending parameter related to the unmanned structure. Unknown interference term isw 2 (t) =1.5 sin (0.5 t), and the sensor has white noise. If the model is part of the content known, < + >>And the sensor has white noise. Wherein (1)>
Claims (4)
1. An improved PID controller parameter tuning method for a model-free system, comprising the steps of:
s1, giving preliminary differential gain of PID controllerAnd taking the preliminary proportional gain of the PID controller according to the preliminary differential gain>Wherein%>
S2, giving global scaling factor n of PID controller s And integral gain scaling factor n i Wherein n is s ≥1、
S3, according to the preliminary differential gainPreliminary proportional gain->Integral gain scaling factor n i Global scaling factor n s Respectively calculating to obtain differential gain, proportional gain and integral gain of the PID controller;
s4, initially operating the controlled system based on the differential gain, the proportional gain and the integral gain of the PID controller, and checking a response error curve of the controlled system;
s5, combining a response error curve of the controlled system with expected transient response overshoot sigma% and steady state error e of the system s % and response time t r Adjusting the global scaling parameter, the integral gain scaling parameter, the preliminary differential gain and the preliminary proportional gain;
and S6, judging whether a response error curve of the controlled system meets preset conditions according to the adjustment result, if so, finishing the adjustment of the parameters of the PID controller, otherwise, returning to the step S3.
2. The method for tuning parameters of a PID controller of an improved model-free system according to claim 1, wherein in step S1, a preliminary proportional gain of the PID controller is takenThe expression of (2) is as follows:
3. The improved model-free system PID controller parameter tuning method according to claim 2, wherein the expression of the differential gain, the proportional gain and the integral gain of the PID controller in step S2 is as follows:
wherein K is p Represents the proportional gain, K, of the PID controller d Represents the differential gain, K, of the PID controller i Indicating the integral gain of the PID controller,represents the preliminary proportional gain of the PID controller, +.>Representing the preliminary differential gain, n, of the PID controller s Representing the global scaling factor of a PID controller, n i Representing the integral gain scaling factor of the PID controller.
4. The method for tuning the parameters of a PID controller of an improved model-free system according to claim 3, wherein said step S5 comprises the following steps:
the first way is:
when the transient response overshoot sigma% of the response error curve needs to be reduced, the integral gain scaling parameter n is increased i When the transient response overshoot sigma% of the response error curve needs to be increased, the integral gain scaling parameter n is reduced i Is a value of (2);
the second way is:
when the steady state error e of the controlled system needs to be reduced s % is increased by preliminary differential increaseBenefit (benefit)Or global scaling parameter n s When the steady state error e of the controlled system needs to be increased s % is the preliminary differential gain is reduced +.>Or global scaling parameter n s Is based on the value of (1) at the same time of the preliminary proportional gain +.>The expression of (2) adjusts the preliminary proportional gain +.>Wherein ζ=1;
third mode:
when the response time t of the controlled system needs to be reduced r When the preliminary differential gain is increasedAnd/or global scaling parameter n s When the response time t of the controlled system needs to be increased r At the time, the preliminary differential gain is reduced>Value or local scaling parameter n s Is based on the value of (1) at the same time of the preliminary proportional gain +.>The expression of (2) adjusts the preliminary proportional gain +.>Where ζ=1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110885844.9A CN113515037B (en) | 2021-08-03 | 2021-08-03 | Improved PID controller parameter setting method for model-free system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110885844.9A CN113515037B (en) | 2021-08-03 | 2021-08-03 | Improved PID controller parameter setting method for model-free system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113515037A CN113515037A (en) | 2021-10-19 |
CN113515037B true CN113515037B (en) | 2023-06-30 |
Family
ID=78067871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110885844.9A Active CN113515037B (en) | 2021-08-03 | 2021-08-03 | Improved PID controller parameter setting method for model-free system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113515037B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114442480B (en) * | 2022-02-09 | 2024-07-30 | 马来西亚明试国际有限公司 | Control parameter adjustment method and system of automatic test equipment and automatic test equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5159547A (en) * | 1990-10-16 | 1992-10-27 | Rockwell International Corporation | Self-monitoring tuner for feedback controller |
CN104391444A (en) * | 2014-12-10 | 2015-03-04 | 福州大学 | Improved single-neuron PID tuning method based on discrete system |
-
2021
- 2021-08-03 CN CN202110885844.9A patent/CN113515037B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5159547A (en) * | 1990-10-16 | 1992-10-27 | Rockwell International Corporation | Self-monitoring tuner for feedback controller |
CN104391444A (en) * | 2014-12-10 | 2015-03-04 | 福州大学 | Improved single-neuron PID tuning method based on discrete system |
Non-Patent Citations (1)
Title |
---|
无刷直流电机转速智能混合控制器设计;王婷婷;胡黄水;赵宏伟;王出航;;吉林大学学报(理学版)(第03期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113515037A (en) | 2021-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113515037B (en) | Improved PID controller parameter setting method for model-free system | |
CN105388764A (en) | Electro-hydraulic servo PID control method and system based on dynamic matrix feed-forward prediction | |
CN108828954B (en) | Climate wind tunnel self-adaptive prediction control system and control method thereof | |
CN103116271A (en) | Thermal power generating unit coal quantity feed-forward quantization design method based on coordination control qualities | |
Huba | Modular disturbance observer based constrained PI-controller design | |
Liu et al. | Attitude adjustment of quadrotor aircraft platform via a data-driven model free adaptive control cascaded with intelligent PID | |
CN115981159B (en) | Generalized improved active disturbance rejection control method based on model-assisted and Smith-like prediction | |
JP2009228605A (en) | Method for controlling engine speed and device for controlling engine speed | |
CN104950666A (en) | Method capable of increasing PID (proportion integration differentiation) control speed and precision | |
JP4982905B2 (en) | Control method and control apparatus | |
CN110262221B (en) | A PID controller parameter control method for objects in thermal process | |
CN104848194B (en) | It is applicable to the air output control method and system of fired power generating unit under environment protection control technology | |
JP6979330B2 (en) | Feedback control method and motor control device | |
JP7089335B2 (en) | Control device | |
JPS60218105A (en) | Control device | |
US6847851B1 (en) | Apparatus for improved general-purpose PID and non-PID controllers | |
Ltifi et al. | Performance comparison on three parameter determination method of fractional PID controllers | |
WO2017085781A1 (en) | Temperature control device and temperature control method | |
JPS6167103A (en) | Controller | |
CN114967447B (en) | Model reference double boundary projection adaptive control method for input constrained | |
Osadchy et al. | Synthesis of an Optimal Combined Multivariable Stabilization System for Adsorption Process Control | |
CN118963156B (en) | Tracking control method for patrol missile system with full state constraint and input saturation under preset performance | |
CN116339135B (en) | First-order improved active disturbance rejection control method based on model-assisted and Smith-predictor-like control | |
RU2388037C1 (en) | Method of widening range for stable operation of automatic control systems | |
US20180134377A1 (en) | Method of controlling an electrical taxiing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |