CN110501899A - A kind of PID follow-up control method based on genetic algorithm parameter Self-tuning System - Google Patents
A kind of PID follow-up control method based on genetic algorithm parameter Self-tuning System Download PDFInfo
- Publication number
- CN110501899A CN110501899A CN201910809008.5A CN201910809008A CN110501899A CN 110501899 A CN110501899 A CN 110501899A CN 201910809008 A CN201910809008 A CN 201910809008A CN 110501899 A CN110501899 A CN 110501899A
- Authority
- CN
- China
- Prior art keywords
- module
- genetic algorithm
- pid
- follow
- weapon station
- 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.)
- Pending
Links
- 230000002068 genetic effect Effects 0.000 title claims abstract description 45
- 238000000034 method Methods 0.000 title claims description 23
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 6
- 230000004069 differentiation Effects 0.000 description 5
- 230000010354 integration Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
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.
-
- 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
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Feedback Control In General (AREA)
Abstract
The present invention relates to automatic control technology fields, especially a kind of PID following control system based on genetic algorithm parameter Self-tuning System, including controller module, the controller module realizes the connection with weapon station console module by sensor module, pitch angle and azimuth are passed through sensor passes into controller module by weapon station console module simultaneously, the controller module signal is internally provided with genetic algorithm module, data received in controller module are calculated, pass through genetic algorithm module simultaneously, processor module identifies data information and generates corresponding instruction and is transmitted in actuator module, actuator module realizes pitch angle and the azimuthal adjusting to weapon station console module according to instruction cooperative mechanical console module.The present invention realizes quick and precisely tracking of the weapon platform to echo signal, it is desirable that response regulation time is within 0.3s, and steady-state error is within 0.1%.
Description
Technical Field
The invention relates to the technical field of automatic control, in particular to a PID (proportion integration differentiation) follow-up control method based on genetic algorithm parameter self-tuning.
Background
The servo control technology is widely applied to tracking control of mechanical quantity of a physical system in industry, and the servo control belongs to dynamic control based on error feedback. The following system generally receives physical system information such as displacement and angle measured by a sensor, then controls the physical system information through deviation amount with target information, and transmits the control amount to an execution unit to complete the tracking of the physical system on target signals.
When the unmanned weapon station is required to realize work tasks such as efficient striking, accurate damage and the like, the weapon station needs to be guided to work by a follow-up stable platform controlled by a fire control system. The follow-up stable platform can isolate various disturbances generated when the weapon station carrying platform normally moves, meanwhile, continuously feeds back data such as the attitude, the position and the like of the platform, finally, accurately adjusts and maintains the attitude of the weapon station in real time according to the combat purpose and the system requirements, and because the battlefield situation in modern war changes rapidly, the follow-up stable platform puts high requirements on the response speed and the control accuracy of a weapon station control system.
At present, classical PID control algorithm and fuzzy control algorithm are mostly adopted in the follow-up control technology. The classical PID control algorithm is simple to debug and high in applicability, overshoot is easy to occur, the optimal parameters of the PID are not determined, and a large steady-state error is generated by fuzzy control.
Disclosure of Invention
The invention aims to solve the defects in the prior art, and provides a PID (proportion integration differentiation) follow-up control method based on genetic algorithm parameter self-tuning.
In order to achieve the purpose, the invention adopts the following technical scheme:
a designed PID (proportion integration differentiation) follow-up control system based on genetic algorithm parameter self-tuning comprises a controller module, wherein the controller module is connected with a weapon station platform module through a sensor module, meanwhile, a pitch angle and an azimuth angle are transmitted to the controller module through a sensor by the weapon station platform module, a genetic algorithm module is arranged in a signal of the controller module, data received by the controller module are calculated, a pitch control quantity, an intermediate state variable and an azimuth control quantity are obtained through the genetic algorithm module, calculated data information is transmitted to a processor module, the processor module identifies the data information, generates a corresponding command and transmits the command to an execution mechanism module, and the execution mechanism module is matched with a mechanical platform module according to the command to adjust the pitch angle and the azimuth angle of the weapon station platform module.
Preferably, the intermediate state variables include the position of the target and the weapon station platform as measured by the sensors, and the pitch and azimuth angles of the weapon station platform itself.
The invention also provides a PID follow-up control method based on genetic algorithm parameter self-tuning, which specifically comprises the following steps:
s1, measuring the positions of the weapon station platform and the target and the pitch angle and azimuth angle of the platform by the sensor, calculating the pitch angle and azimuth angle of the target relative to the weapon station platform according to a formula, wherein the calculation formula of the pitch angle and azimuth angle of the target relative to the weapon station platform is as follows:
wherein x isw、yw、zw、xt、yt、ztX-axis, y-axis, z-axis components representing the position of the stage and x-axis, y-axis, z-axis components of the target, respectively;
and S2, calculating the deviation of the pitch angle and the azimuth angle according to the following two formulas:
eφ=φd-φ
wherein,respectively measuring the current pitch angle and azimuth angle of the weapon station platform by a sensor;
s3, independently controlling the pitch channel and the azimuth channel by a PID algorithm based on parameter setting of the genetic algorithm, taking a follow-up control algorithm as an example, and adjusting PID parameters by using the genetic algorithm;
s4, setting weight proportion of each index of the output quantity in the fitness, and respectively assigning weight values to delay time, rise time, peak time, adjusting time, maximum overshoot and steady-state error according to control design;
and S5, finally obtaining optimal PID control parameters of kp, ki and kd, and giving different input signals to the control system according to the result to control the control system to perform follow-up tracking.
Preferably, when the tracking in step S5 is implemented, the step signal, the triangle signal, the pulse signal, and the sawtooth signal need to be input, respectively, to obtain the follow-up result.
Preferably, in the step S4, the maximum overshoot is only a few thousandths of the result, and the difference from other index numerical values is large, so the weighting value is large.
Preferably, in S5, kp is 11.6365, ki is 0.5986, and kd is 0.
Preferably, in step S4, the delay time, the rise time, the peak time, the adjustment time, the maximum overshoot, and the steady-state error are weighted values respectively as follows: 1. 2, 1, 70 and 2.
The PID follow-up control method based on genetic algorithm parameter self-tuning provided by the invention has the beneficial effects that: the PID follow-up control method based on the genetic algorithm parameter self-tuning adopts two channels of pitch and azimuth to carry out independent control, adopts the genetic algorithm to carry out PID control parameter tuning, enables the PID control effect to achieve the optimum, utilizes the genetic algorithm to adjust the control parameters according to the requirements on various control performance indexes, is the effect which is difficult to achieve by a common algorithm, realizes the rapid and accurate tracking of a weapon station platform on a target signal, requires the response regulation time to be within 0.3s, and has the steady-state error to be within 0.1%.
Drawings
FIG. 1 is a system block diagram of a PID (proportion integration differentiation) follow-up control method based on genetic algorithm parameter self-tuning, which is provided by the invention.
FIG. 2 is a control flow chart of the PID follow-up control method based on genetic algorithm parameter self-tuning provided by the invention.
FIG. 3 is a system parameter fitness chart of the PID follow-up control method based on genetic algorithm parameter self-tuning provided by the invention.
FIG. 4 is a controlled object result output diagram of the PID follow-up control method based on genetic algorithm parameter self-tuning provided by the invention.
FIG. 5 is a graph of the change of the attitude angle error of the PID servo control method based on the genetic algorithm parameter self-tuning provided by the invention.
FIG. 6 is a step signal follow-up result diagram of the PID follow-up control method based on genetic algorithm parameter self-tuning provided by the invention.
FIG. 7 is a triangular signal follow-up result diagram of the PID follow-up control method based on genetic algorithm parameter self-tuning provided by the invention.
FIG. 8 is a pulse signal follow-up result diagram of the PID follow-up control method based on genetic algorithm parameter self-tuning provided by the invention.
FIG. 9 is a sawtooth wave signal follow-up result diagram of the PID follow-up control method based on genetic algorithm parameter self-tuning provided by the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Referring to fig. 1-9, a PID follow-up control system based on genetic algorithm parameter self-tuning includes a controller module, the controller module is connected with a weapon station platform module through a sensor module, meanwhile, the weapon station platform module transmits a pitch angle and an azimuth angle to the controller module through a sensor, a genetic algorithm module is arranged in a signal of the controller module, calculates data received in the controller module, obtains a pitch control quantity, an intermediate state variable and an azimuth control quantity through the genetic algorithm module, transmits the calculated data information to a processor module, the processor module identifies the data information and generates a corresponding instruction to transmit the instruction to an execution mechanism module, and the execution mechanism module cooperates with a mechanical platform module to adjust the pitch angle and the azimuth angle of the weapon station platform module according to the instruction, the intermediate state variables include the position of the target and the weapon station platform as measured by the sensors, and the pitch and azimuth angles of the weapon station platform itself.
The invention also provides a PID follow-up control method based on genetic algorithm parameter self-tuning, which specifically comprises the following steps:
s1, measuring the positions of the weapon station platform and the target and the pitch angle and azimuth angle of the platform by the sensor, calculating the pitch angle and azimuth angle of the target relative to the weapon station platform according to a formula, wherein the calculation formula of the pitch angle and azimuth angle of the target relative to the weapon station platform is as follows:
wherein x isw、yw、zw、xt、yt、ztX-axis, y-axis, z-axis components representing the position of the stage and x-axis, y-axis, z-axis components of the target, respectively;
and S2, calculating the deviation of the pitch angle and the azimuth angle according to the following two formulas:
eφ=φd-φ
wherein,phi is the current pitch angle and azimuth angle of the weapon station platform measured by the sensor respectively;
s3, independently controlling the pitch channel and the azimuth channel by a PID algorithm based on parameter setting of the genetic algorithm, taking a follow-up control algorithm as an example, and adjusting PID parameters by using the genetic algorithm;
s4, setting weight proportion of each index of the output quantity in the fitness, and respectively assigning the weight values of delay time, rise time, peak time, adjusting time, maximum overshoot and steady-state error to the delay time, the rise time, the peak time, the adjusting time, the maximum overshoot and the steady-state error according to control design: 1. 2, 1, 70 and 2, because the maximum overshoot result is only a few thousandths, and the difference between the maximum overshoot result and other index numerical values is large, the weight value is large;
and S5, finally obtaining the optimal PID control parameters of kp 11.6365, ki 0.5986 and kd 0, giving different input signals to the control system according to the result, controlling the control system to perform follow-up tracking, and respectively inputting a step signal, a triangular signal, a pulse signal and a sawtooth wave signal during tracking to obtain a follow-up result.
The method adopts two channels of pitching and azimuth to control independently, adopts a genetic algorithm to set PID control parameters, enables the PID control effect to reach the optimum, and utilizes the genetic algorithm to adjust the control parameters according to the requirements on various control performance indexes, which is an effect which is difficult to achieve by a common algorithm, realizes the rapid and accurate tracking of a weapon station platform on target signals, requires the response adjustment time to be within 0.3s, and has the steady-state error to be within 0.1%.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.
Claims (7)
1. A PID follow-up control system based on genetic algorithm parameter self-tuning comprises a controller module, characterized in that the controller module is connected with the weapon station platform module through the sensor module, meanwhile, the weapon station platform module transmits the pitch angle and the azimuth angle to the controller module through the sensor, a genetic algorithm module is arranged in the signal of the controller module, the data received in the controller module is calculated, and the pitching control quantity, the intermediate state variable and the azimuth control quantity are obtained through the genetic algorithm module, and the calculated data information is transmitted to the processor module, the processor module identifies the data information, generates a corresponding instruction and transmits the instruction to the execution mechanism module, and the execution mechanism module is matched with the mechanical platform module according to the instruction to realize the adjustment of the pitch angle and the azimuth angle of the weapon station platform module.
2. The PID servo control system based on genetic algorithm parameter self-tuning according to claim 1, wherein the intermediate state variables comprise the positions of the target and weapon station platform measured by sensors, and the pitch angle and azimuth angle of the weapon station platform itself.
3. The PID follow-up control method based on genetic algorithm parameter self-tuning according to the claims 1-2, characterized by comprising the following steps:
s1, measuring the positions of the weapon station platform and the target and the pitch angle and azimuth angle of the platform by the sensor, calculating the pitch angle and azimuth angle of the target relative to the weapon station platform according to a formula, wherein the calculation formula of the pitch angle and azimuth angle of the target relative to the weapon station platform is as follows:
wherein x isw、yw、zw、xt、yt、ztX-axis, y-axis, z-axis components representing the position of the stage and x-axis, y-axis, z-axis components of the target, respectively;
and S2, calculating the deviation of the pitch angle and the azimuth angle according to the following two formulas:
eφ=φd-φ
wherein,respectively measuring the current pitch angle and azimuth angle of the weapon station platform by a sensor;
s3, independently controlling the pitch channel and the azimuth channel by a PID algorithm based on parameter setting of the genetic algorithm, taking a follow-up control algorithm as an example, and adjusting PID parameters by using the genetic algorithm;
s4, setting weight proportion of each index of the output quantity in the fitness, and respectively assigning weight values to delay time, rise time, peak time, adjusting time, maximum overshoot and steady-state error according to control design;
and S5, finally obtaining optimal PID control parameters of kp, ki and kd, and giving different input signals to the control system according to the result to control the control system to perform follow-up tracking.
4. The PID follow-up control method based on genetic algorithm parameter self-tuning according to claim 3, wherein a step signal, a triangular signal, a pulse signal and a sawtooth wave signal are respectively input to obtain a follow-up result when the tracking in the step S5 is realized.
5. The PID follow-up control method based on genetic algorithm parameter self-tuning according to claim 3, wherein in the step S4, the maximum overshoot result is only a few thousandths, and the difference from other index numerical values is large, so the weight value is large.
6. The PID follow-up control method based on genetic algorithm parameter self-tuning of claim 3, wherein kp is 11.6365, ki is 0.5986, and kd is 0 in S5.
7. The PID follow-up control method based on genetic algorithm parameter self-tuning according to claim 3, wherein the weight values of the delay time, the rise time, the peak time, the regulation time, the maximum overshoot, and the steady state error in the step S4 are respectively: 1. 2, 1, 70 and 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910809008.5A CN110501899A (en) | 2019-08-29 | 2019-08-29 | A kind of PID follow-up control method based on genetic algorithm parameter Self-tuning System |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910809008.5A CN110501899A (en) | 2019-08-29 | 2019-08-29 | A kind of PID follow-up control method based on genetic algorithm parameter Self-tuning System |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110501899A true CN110501899A (en) | 2019-11-26 |
Family
ID=68590346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910809008.5A Pending CN110501899A (en) | 2019-08-29 | 2019-08-29 | A kind of PID follow-up control method based on genetic algorithm parameter Self-tuning System |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110501899A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113619760A (en) * | 2021-09-15 | 2021-11-09 | 中国船舶重工集团公司第七0四研究所 | Small-range pitch control method of high-power controllable pitch propeller device |
CN114859735A (en) * | 2022-07-07 | 2022-08-05 | 天津市天锻压力机有限公司 | Self-adaptive control method and system for speed of hydraulic forging press |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100180884A1 (en) * | 2009-01-22 | 2010-07-22 | Kenneth Oosting | Actuated solar tracker |
CN102145738A (en) * | 2010-02-04 | 2011-08-10 | 南京理工大学 | Automatic control anti-pirate high-pressure sand-containing water cannon system and method thereof |
CN102722179A (en) * | 2012-06-11 | 2012-10-10 | 湖南正奇信息科技有限公司 | Target tracking platform stabilization control system based on three-dimensional suspension technology |
CN104965412A (en) * | 2015-06-29 | 2015-10-07 | 南京理工大学 | Adaptive robustness output feedback control method for controlled emission platform |
CN108279576A (en) * | 2017-12-26 | 2018-07-13 | 湖北航天技术研究院总体设计所 | A kind of composite shaft target following emulation test system |
-
2019
- 2019-08-29 CN CN201910809008.5A patent/CN110501899A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100180884A1 (en) * | 2009-01-22 | 2010-07-22 | Kenneth Oosting | Actuated solar tracker |
CN102145738A (en) * | 2010-02-04 | 2011-08-10 | 南京理工大学 | Automatic control anti-pirate high-pressure sand-containing water cannon system and method thereof |
CN102722179A (en) * | 2012-06-11 | 2012-10-10 | 湖南正奇信息科技有限公司 | Target tracking platform stabilization control system based on three-dimensional suspension technology |
CN104965412A (en) * | 2015-06-29 | 2015-10-07 | 南京理工大学 | Adaptive robustness output feedback control method for controlled emission platform |
CN108279576A (en) * | 2017-12-26 | 2018-07-13 | 湖北航天技术研究院总体设计所 | A kind of composite shaft target following emulation test system |
Non-Patent Citations (3)
Title |
---|
吕璐: "行进间车载伺服系统控制策略及路谱滤波算法研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
王茂林 等: "基于遗传算法的舰炮随动系统PID参数整定", 《四川兵工学报》 * |
陈浩: "舰载武器稳定平台控制技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113619760A (en) * | 2021-09-15 | 2021-11-09 | 中国船舶重工集团公司第七0四研究所 | Small-range pitch control method of high-power controllable pitch propeller device |
CN113619760B (en) * | 2021-09-15 | 2024-01-30 | 中国船舶重工集团公司第七0四研究所 | Small-range pitch control method of high-power adjustable pitch propeller device |
CN114859735A (en) * | 2022-07-07 | 2022-08-05 | 天津市天锻压力机有限公司 | Self-adaptive control method and system for speed of hydraulic forging press |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108363301B (en) | Contour error cross-coupling control method based on interference observation sliding mode variable structure | |
CN112051726B (en) | Position feedforward control method based on linear tracking differentiator | |
CN104122531A (en) | Self-adaptive radar antenna position oscillation treating method | |
CN110824921B (en) | AC servo speed regulation system control parameter self-tuning method based on bat algorithm | |
CN110501899A (en) | A kind of PID follow-up control method based on genetic algorithm parameter Self-tuning System | |
Meenakshipriya et al. | Modelling and control of ball and beam system using coefficient diagram method (CDM) based PID controller | |
CN103488189A (en) | Control method of servo motor | |
CN111897223B (en) | Speed tracking guidance method considering dynamic characteristics of automatic pilot | |
CN111273544B (en) | Radar pitching motion control method based on prediction RBF feedforward compensation type fuzzy PID | |
CN115236973A (en) | AGV trajectory tracking control method based on PSO Lyapunov function | |
CN111158386B (en) | Unmanned aerial vehicle attitude control system for interfering autonomous immunity and implementation method | |
McDowell et al. | Hybrid neural adaptive control for bank-to-turn missiles | |
CN111367178A (en) | Self-adaptive control device and method for automatic rudder of ship | |
CN114070165B (en) | Motor driving method, system, device and medium | |
CN110614636A (en) | Measurement time lag compensation method for visual servo robot | |
CN113867423B (en) | Servo turntable azimuth angle tracking control method and device | |
CN115407656A (en) | Intelligent agricultural machinery autonomous operation control method and system based on dynamic self-adaptive LQR | |
JPH08202453A (en) | Position controller | |
Ringkowski et al. | Optimal reference allocation of dual-stage measuring machines | |
CN116400584B (en) | Application method of high-load electrohydraulic position servo system rapid and accurate control system | |
Bahrami et al. | Optimal sliding-mode guidance law for fixed-interval propulsive maneuvers | |
CN102914971A (en) | Method for adjusting control parameters of follow-up device of mechanical device | |
Cañadas-Aránega et al. | A PID-based control architecture for mobile robot path planning in greenhouses | |
RU2437052C1 (en) | Remotely controlled missile guidance method | |
TWI679507B (en) | Learning system and method for controlling dual-axis machine tool with equivalent contour error |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191126 |