CN109765907B - PID model-free self-adaptive course control algorithm for ships - Google Patents

PID model-free self-adaptive course control algorithm for ships Download PDF

Info

Publication number
CN109765907B
CN109765907B CN201910163383.7A CN201910163383A CN109765907B CN 109765907 B CN109765907 B CN 109765907B CN 201910163383 A CN201910163383 A CN 201910163383A CN 109765907 B CN109765907 B CN 109765907B
Authority
CN
China
Prior art keywords
course
ship
pid
adaptive
algorithm
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
Application number
CN201910163383.7A
Other languages
Chinese (zh)
Other versions
CN109765907A (en
Inventor
廖煜雷
李晔
姜权权
成昌盛
武皓微
潘恺文
张铁栋
王卓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Engineering University
Original Assignee
Harbin Engineering University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN201910163383.7A priority Critical patent/CN109765907B/en
Publication of CN109765907A publication Critical patent/CN109765907A/en
Application granted granted Critical
Publication of CN109765907B publication Critical patent/CN109765907B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Feedback Control In General (AREA)

Abstract

The invention belongs to the field of ship motion control, and particularly relates to a PID model-free self-adaptive course control algorithm for ships. Introducing a self-adaptive proportional term and a self-adaptive differential term into a model-free self-adaptive control algorithm, and providing a PID-MFAC algorithm for ships; according to the expected course y of the ship*(k) Calculating course deviation e (k) and e (k) y with the current course y (k) of the ship*(k) -y (k); when the absolute value | e (k) | of e (k) is less than the set threshold value e of heading state deviation1If the actual course of the ship is converged to the expected course, jumping out of the loop, otherwise executing the next step; solving the expected input u (k) of the heading system by a PID-MFAC algorithm according to e (k); the control mechanism receives and executes a heading system input command u (k); and (5) making k equal to k +1, updating the current heading y (k) of the ship, and going to the step 2. The invention solves the problems that the MFAC algorithm is directly applied to the ship course control and is easy to generate serious overshoot, oscillation phenomena and even instability, and the introduction of the adaptive proportional term and the adaptive differential term improves the response speed of the controller and the dynamic response performance of the system.

Description

PID model-free self-adaptive course control algorithm for ships
Technical Field
The invention belongs to the field of ship motion control, and particularly relates to a PID model-free self-adaptive course control algorithm for ships.
Background
The ship course can be accurately controlled, so that the ship can safely and effectively execute various tasks, such as chart drawing, hydrological measurement and the like. In engineering application, the course control of ships is basically realized by adopting a PID control algorithm, but the ships are easily affected by perturbation of a model, environmental interference and the like, so that a PID controller with a set of fixed parameters is difficult to maintain a consistent control effect, and the system can be stabilized only by readjusting the parameters. The controller developed based on the model-oriented design strategy seriously depends on a system mathematical model, and because the accurate mathematical model is very difficult to obtain, the self-adaption of the system is poor due to the influence of unmodeled dynamics, model perturbation and the like, and the robust performance of the system is difficult to ensure, so that the controller is difficult to be applied in engineering.
In the document "Heading MFA control for unified surface vehicle with angular velocity Heading", the authors propose a cascade control method to indirectly control the Heading of an unmanned ship by means of angular velocity guidance. However, the structure of the controller is complex, and the multi-parameter setting of the parameters of the controller is difficult. On application date 2018, 09 and 5, application number 201811031878.6, the invention name "integral separation type PI type compact format model-free control method for ships" realizes the purpose of controlling the ship course by combining proportional control and a compact format model-free self-adaptive method, but the proportional control has no self-adaptability. On application date 2018, 02/02, application number 201810106120.8, entitled "a redefined output model-free adaptive course control method and system", the purpose of controlling the ship course is achieved by redefining the system output into the linear sum of the ship course and the angular velocity. However, in practice, the angle information of the ship is not easy to obtain, and the angular velocity information is inaccurate to measure due to the existence of external interference, so that the method is not easy to implement in engineering.
Disclosure of Invention
The invention aims to provide a PID model-free self-adaptive course control algorithm for a ship, so that the course of the ship can be stably converged to a desired course.
A PID model-free self-adaptive course control algorithm for ships comprises the following steps:
step 1, introducing a self-adaptive proportional term and a self-adaptive differential term into Model Free Adaptive Control (MFAC), and providing a PID-MFAC algorithm for ships;
step 2, calculating a heading deviation e (k) according to the expected heading y (k) of the ship and the current heading y (k) of the ship, wherein e (k) y*(k)-y(k);
Step 3, comparing the absolute value of e (k) with e1When the absolute value | e (k) | of e (k) is less than the set threshold value e of heading state deviation1If not, executing a PID _ MFAC algorithm, and solving the course system expected input quantity u (k) by the PID-MFAC algorithm;
step 4, the control mechanism receives and executes a course system input instruction u (k);
and 5, enabling k to be k +1, updating the current course y (k) of the course ship, and going to the step 2.
The PID model-free self-adaptive course control algorithm for the ship has the form of a self-adaptive proportional term in the step 1
Figure BDA0001985459960000021
The form of the adaptive differential term is
Figure BDA0001985459960000022
The PID model-free self-adaptive course control algorithm for the ship comprises the following steps in step 2:
Figure BDA0001985459960000023
Figure BDA0001985459960000024
wherein, eta ∈ (0, 1)],ρ∈(0,1]α and β are step factors, μ > 0, λ > 0 are weighting coefficients, Δ e (k) ═ e (k) -e (k-1), e (k) · e (k-1), and e (k-1), respectively(k) heading bias for the kth, control period k-1, u (k) modified PID _ MFAC algorithm output for the kth control period, φ (k) is the pseudo-partial derivative,
Figure BDA0001985459960000025
for the estimated value of the pseudo partial derivative, when | delta u (k-1) | ≦ epsilon or
Figure BDA0001985459960000026
Or
Figure BDA0001985459960000027
When it is used, order
Figure BDA0001985459960000028
According to the PID model-free self-adaptive course control algorithm for the ship, the step length factor beta, alpha enables the control algorithm to be changed into the following form:
Figure BDA0001985459960000029
the PID model-free self-adaptive course control algorithm for the ship comprises step 3, namely e1For smaller normal amounts, take e in the present invention1=2。
The invention has the beneficial effects that:
the invention introduces a self-adaptive proportional term and a self-adaptive differential term into Model Free Adaptive Control (MFAC) based on a model free adaptive theory, provides a PID-MFAC algorithm for ships, and solves the problem that the MFAC algorithm is directly applied to ship course control and is easy to cause serious overshoot, oscillation phenomenon and even instability. The introduction of the adaptive proportional term improves the response speed of the controller, and the introduction of the adaptive differential term enables the control algorithm to have a prediction effect on the response of the ship course system, thereby improving the dynamic response performance of the system.
Drawings
FIG. 1 is an overall block diagram of a heading system of the present invention;
FIG. 2 is a flow chart of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings:
FIG. 1 is a block diagram of a course system according to the present invention; first, give the desired heading y (k)*According to the actual course y (k) of the ship at the current moment, calculating a course deviation e (k) as an input of a PID-MFAC algorithm, and solving a course system expected input quantity u (k) by the PID-MFAC algorithm. And the control mechanism executes the expected input command u (k) so as to change the actual course of the ship, and the course deviation e (k) is updated by k +1 and serves as the input of the PID-MFAC algorithm at the next moment. And circulating the process so as to converge the actual course of the ship to the expected course.
Fig. 2 shows a flow chart of the system of the present invention. The method comprises the following concrete steps:
step 1, introducing a self-adaptive proportional term and a self-adaptive differential term into Model Free Adaptive Control (MFAC), and providing a PID-MFAC algorithm for ships. The adaptive proportional term is in the form of
Figure BDA0001985459960000031
The form of the adaptive differential term is
Figure BDA0001985459960000032
Step 2, calculating a heading deviation e (k) according to the expected heading y (k) of the ship and the current heading y (k) of the ship, wherein e (k) y*(k)-y(k);
Step 3, comparing the absolute value of e (k) with e1When the absolute value | e (k) | of e (k) is less than the set threshold value e of heading state deviation1If not, executing a PID _ MFAC algorithm, and solving the course system expected input quantity u (k) by the PID-MFAC algorithm;
step 4, the control mechanism receives and executes a course system input instruction u (k);
and 5, enabling k to be k +1, updating the current course y (k) of the course ship, and going to the step 2.
The PID model-free self-adaptive course control algorithm for the ship has the form of a self-adaptive proportional term in the step 1
Figure BDA0001985459960000041
The form of the adaptive differential term is
Figure BDA0001985459960000042
The PID model-free self-adaptive course control algorithm for the ship comprises the following steps in step 2:
Figure BDA0001985459960000043
Figure BDA0001985459960000044
wherein, eta ∈ (0, 1)],ρ∈(0,1]Alpha and beta are step size factors, mu is more than 0, lambda is more than 0, is weight coefficient, delta e (k) is e (k) -e (k-1), e (k) and e (k-1) are heading deviation of the k-th and k-1-th control periods respectively, u (k) is output of the modified PID _ MFAC algorithm of the k-th control period, phi (k) is a pseudo partial derivative,
Figure BDA0001985459960000045
for the estimated value of the pseudo partial derivative, when | delta u (k-1) | ≦ epsilon or
Figure BDA0001985459960000046
Or
Figure BDA0001985459960000047
When it is used, order
Figure BDA0001985459960000048
According to the PID model-free self-adaptive course control algorithm for the ship, the step length factor beta, alpha enables the control algorithm to be changed into the following form:
Figure BDA0001985459960000049
any method of introducing the step size factor in this form is within the scope of this patent.
The PID model-free self-adaptive course control algorithm for the ship comprises step 3, namely e1For smaller normal amounts, take e in the present invention1=2。

Claims (2)

1. A PID model-free self-adaptive course control algorithm for ships is characterized by comprising the following steps:
step 1, calculating course deviation e (k) according to the expected course y (k) of the ship and the current course y (k) of the ship;
e(k)=y*(k)-y(k)
step 2, if the absolute value | e (k) | of e (k) is less than the set threshold value e of heading state deviation1If so, the actual course of the ship is considered to be converged to the expected course, and the step 4 is executed; otherwise, executing a PID _ MFAC algorithm, and solving the expected input quantity u (k) of the heading system by the PID-MFAC algorithm;
the PID _ MFAC algorithm is:
Figure FDA0003353992520000011
Figure FDA0003353992520000012
wherein, eta ∈ (0, 1)],ρ∈(0,1](ii) a Alpha and beta are step size factors; mu is more than 0, and lambda is more than 0 as a weight coefficient; Δ e (k) ═ e (k) — e (k-1), e (k) and e (k-1) are heading deviations of the kth and kth control periods, respectively; u (k) improve the PID _ MFAC algorithm output for the k control period; phi (k) is the pseudo-partial derivative,
Figure FDA0003353992520000013
when | delta u (k-1) | ≦ epsilonOr
Figure FDA0003353992520000014
Or
Figure FDA0003353992520000015
When it is used, order
Figure FDA0003353992520000016
Step 3, the control mechanism receives and executes a course system input instruction u (k);
and 4, enabling k to be k +1, updating the current course y (k) of the course ship, and going to the step 2.
2. The PID model-free adaptive heading control algorithm for ships according to claim 1, wherein e in step 3 is1For small normal amount, take e1=2。
CN201910163383.7A 2019-03-05 2019-03-05 PID model-free self-adaptive course control algorithm for ships Active CN109765907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910163383.7A CN109765907B (en) 2019-03-05 2019-03-05 PID model-free self-adaptive course control algorithm for ships

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910163383.7A CN109765907B (en) 2019-03-05 2019-03-05 PID model-free self-adaptive course control algorithm for ships

Publications (2)

Publication Number Publication Date
CN109765907A CN109765907A (en) 2019-05-17
CN109765907B true CN109765907B (en) 2022-04-05

Family

ID=66457834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910163383.7A Active CN109765907B (en) 2019-03-05 2019-03-05 PID model-free self-adaptive course control algorithm for ships

Country Status (1)

Country Link
CN (1) CN109765907B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112034858B (en) * 2020-09-14 2022-04-29 哈尔滨工程大学 Model-free adaptive heading control method fusing weak observation high-order output data
CN112180915A (en) * 2020-09-16 2021-01-05 哈尔滨工业大学(威海) ROS-based double-thrust unmanned ship motion control system and control method
CN113110519B (en) * 2021-05-26 2021-11-30 哈尔滨工程大学 Non-incremental model-free adaptive heading control method for ships

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6088633A (en) * 1998-03-27 2000-07-11 Futaba Denshi Kogyo Kabushiki Kaisha Mobile body controlling gear
CN105227017A (en) * 2015-10-27 2016-01-06 青岛远洋船员职业学院 A kind of method and system for the angle of rake high-order MFAC of boats and ships gondola SSP
KR20170090631A (en) * 2016-01-29 2017-08-08 한국해양대학교 산학협력단 Pid
CN107942688A (en) * 2018-01-05 2018-04-20 哈尔滨工程大学 Aircraft forgetting factor formula model-free adaption course heading control method in water
CN109375637A (en) * 2018-09-05 2019-02-22 哈尔滨工程大学 A kind of naval vessel tight format model-free adaption Heading control algorithm of fused neural network PD

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108227483A (en) * 2018-01-05 2018-06-29 哈尔滨工程大学 The ocean vehicle tight form model-free adaption speed of a ship or plane control method of PD types

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6088633A (en) * 1998-03-27 2000-07-11 Futaba Denshi Kogyo Kabushiki Kaisha Mobile body controlling gear
CN105227017A (en) * 2015-10-27 2016-01-06 青岛远洋船员职业学院 A kind of method and system for the angle of rake high-order MFAC of boats and ships gondola SSP
KR20170090631A (en) * 2016-01-29 2017-08-08 한국해양대학교 산학협력단 Pid
CN107942688A (en) * 2018-01-05 2018-04-20 哈尔滨工程大学 Aircraft forgetting factor formula model-free adaption course heading control method in water
CN109375637A (en) * 2018-09-05 2019-02-22 哈尔滨工程大学 A kind of naval vessel tight format model-free adaption Heading control algorithm of fused neural network PD

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Heading MFA control for unmanned surface vehicle with angular velocity guidance;Ye Li等;《Applied Ocean Research》;20181231;第57-65页 *
关于自适应控制应用效果的分析和仿真研究;蒋爱平等;《***仿真学报》;20070331;第19卷(第5期);第1090-1094页 *
基于无模型自适应控制方法的四旋翼飞行器姿态调整;郑健;《中国优秀硕士学位论文全文数据库 工程科技II辑》;20150930(第9期);第i、iii-v、20-34页 *

Also Published As

Publication number Publication date
CN109765907A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN108563113B (en) Multi-loop model-free adaptive heading control method for ship
CN109765907B (en) PID model-free self-adaptive course control algorithm for ships
Wang et al. Fixed-time disturbance observer based fixed-time back-stepping control for an air-breathing hypersonic vehicle
Liang et al. Adaptive sliding mode output feedback control for dynamic positioning ships with input saturation
CN108319140B (en) Redefined output type model-free self-adaptive course control method and system
Defoort et al. A novel higher order sliding mode control scheme
CN103558857B (en) A kind of distributed compound anti-interference attitude control method of BTT aircraft
CN109144066B (en) Integral separation type PI type compact format model-free self-adaptive course control algorithm for ships
Wang et al. Extended state observer-based fixed-time trajectory tracking control of autonomous surface vessels with uncertainties and output constraints
CN109254585A (en) A kind of improvement model-free adaption Heading control algorithm that naval vessel inputoutput data merges
CN113110048B (en) Nonlinear system output feedback adaptive control system and method adopting HOSM observer
CN110673469A (en) Euler-Bernoulli beam vibration control method based on backstepping iterative learning
CN112034858B (en) Model-free adaptive heading control method fusing weak observation high-order output data
Zhang et al. Prescribed performance incremental adaptive optimal fault-tolerant control for nonlinear systems with actuator faults
CN110231822B (en) Variable output constrained model-free self-adaptive course control method for ship
CN109189075A (en) A kind of fuzzy forgetting factor model-free adaption course heading control method in naval vessel
CN109116727B (en) PID type first-order full-format model-free self-adaptive cruise control algorithm based on low-pass filter
CN113110519B (en) Non-incremental model-free adaptive heading control method for ships
CN115180461B (en) Tension data driving control method for new energy automobile compressor motor production equipment
Ma et al. Trajectory tracking control for autonomous underwater vehicle with disturbances and input saturation based on contraction theory
CN114003053B (en) Fixed wing unmanned aerial vehicle autopilot self-adaptive control system based on ArduPilot
CN114660924A (en) Servo motor energy-saving control system and method
CN113093532B (en) Full-format model-free self-adaptive control method of non-self-balancing system
CN112180727B (en) Multi-rate sampling control method and system for large-time-lag nonlinear system and application
CN109375637B (en) Compact-format model-free self-adaptive course control algorithm of fusion neural network PD for ships

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