Ship directional control method based on autoregressive model prediction proportional integral derivative

Through the autoregressive model prediction proportional integral differential control method, the ship KT equation and wave interference model are established, and the prediction parameters are calculated, which solves the heading control lag problem of conventional control methods under wave interference and improves the stability and stability of the ship under high sea conditions. Security.

CN118466174BActive Publication Date: 2024-10-25CHINA STATE SHIPBUILDING CORP NO 707 RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410924555.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-10-25
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

The conventional proportional-integral-derivative control method causes ship heading control to lag under wave interference and cannot achieve higher accuracy.

Method used

The autoregressive model is used to predict the proportional integral differential ship directional control method. The input and output motion model of the ship's rudder angle and heading is established through the KT equation. The least squares method is used to identify the prediction model parameters under wave interference, and the predicted proportional integral derivative parameters are calculated and calculated. The rudder commands the rudder angle to achieve automatic and stable control of the heading.

Benefits of technology

It effectively avoids the control lag problem, improves the navigation stability and safety of the ship in high sea conditions, and realizes automatic stable steering control of the course.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118466174B_ABST
    Figure CN118466174B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of control or regulation systems of non-electrical variables, and in particular to a ship directional control method based on autoregressive model prediction proportional integral differential, comprising the following steps: establishing an input-output motion model of a ship's rudder angle and heading; using an autoregressive model as a prediction model under the interference of sea waves, and calculating the prediction model parameters under the interference of sea waves; calculating the predicted proportional integral differential parameters of the ship's heading control, predicting the heading of the ship at a future time, and calculating the rudder command angle in combination with the predicted proportional integral differential parameters of the ship's heading control and the predicted heading of the ship at a future time; the ship's steering engine performs directional control on the ship according to the calculated rudder command angle. The method provided by the present invention can steer in advance to compensate for the effect of sea wave interference, so that the heading of the ship under sea wave interference can be automatically and stably controlled, thereby improving the stability and safety of the ship's navigation in high sea conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of control of non-electrical variables, and in particular to a ship directional control method based on autoregressive model prediction proportional integral differential. Background Art

[0002] When a ship is sailing at sea, it is inevitably disturbed by the waves. The main impact of the wave interference on the ship's navigation is that it will cause the ship to produce unnecessary bow turning, rolling and pitching movements. The bow turning movement of the ship is the main movement of its navigation at sea. Under the influence of wave interference, the bow turning movement of the ship presents a certain randomness. The conventional proportional integral differential control method calculates the command rudder angle based on the deviation between real-time measurement information and command information, which inevitably leads to control lag problems. Therefore, the conventional proportional integral differential control method is often unable to achieve high accuracy in stabilizing the ship's heading under wave interference. Therefore, the design of the automatic control algorithm for the ship's heading under high sea conditions is still in urgent need of in-depth research. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a ship directional control method based on autoregressive model prediction proportional integral differential, which can realize automatic stable steering control of the ship's heading under wave interference.

[0004] The present invention is achieved through the following technical solutions:

[0005] The ship directional control method based on autoregressive model prediction proportional integral differential includes the following steps:

[0006] S1: Establish the input and output motion model of the ship's rudder angle and heading based on the ship's KT equation;

[0007] S2: The autoregressive model is used as the prediction model under the interference of ship and sea waves, and the least squares method is used to identify and calculate the prediction model parameters under the interference of ship and sea waves;

[0008] S3: Calculate the predicted proportional integral differential parameters of the ship's heading control according to the parameters of the input-output motion model of the ship's rudder angle and heading, predict the ship's heading at a future time according to the predicted model parameters under the interference of the ship's sea waves, and calculate the rudder command angle by combining the predicted proportional integral differential parameters of the ship's heading control and the predicted heading of the ship at a future time;

[0009] S4: The ship's steering gear performs direction control on the ship according to the calculated rudder command angle.

[0010] Further, step S1 establishes the input and output motion model of the ship's rudder angle and heading based on the ship's KT equation, including the following process:

[0011] S11: The expression of the ship's maneuvering motion is formula (1):

[0012] (1);

[0013] in: is the bow turning rate, is the bow angular acceleration, is the moment of inertia of bow turning motion, is the bow damping moment coefficient, is the rudder moment coefficient, is the rudder angle;

[0014] S12: Divide both sides of the ship's maneuvering motion expression by the bow damping moment coefficient , we get formula (2):

[0015] (2);

[0016] in: is the time constant of the ship heading motion transfer function, , is the proportional function of the ship heading motion transfer function, ;

[0017] S13: Expressing equation (2) in function form yields equation (3):

[0018] (3);

[0019] in: is the Laplace operator, is the Laplace transform function of the bow angular rate, is the Laplace transform function of the rudder angle;

[0020] S14: Integrate the Laplace transform function of the bow angle rate in equation (3) with respect to time, and obtain the input and output motion model of the ship's rudder angle and heading as equation (4):

[0021] (4);

[0022] in: is the heading Laplace transform function.

[0023] Further, the calculation of the prediction model parameters under the interference of ship waves in step S2 includes the following process:

[0024] S21: The autoregressive model (5) is used as the prediction model under the interference of ship waves;

[0025] , (5);

[0026] in: for The measured heading value of the ship under the influence of waves at any moment. for The measured heading value of the ship under the influence of waves at any moment. is the autoregressive model parameter vector elements, for Moment system white noise;

[0027] S22: According to the prediction model formula (5) of the ship under the interference of sea waves, the time series of the heading measurement data of the ship under the interference of sea waves is obtained as formula (6);

[0028] (6);

[0029] in: is the length of the time series of the heading measurement data of the ship under the interference of sea waves, The first heading measurements, The first heading measurements, For the System white noise value;

[0030] S23: Definition , , , , formula (6) is transformed into formula (7):

[0031] (7);

[0032] in: is the output vector, is the measurement matrix, is the model parameter vector, is the noise vector, Represents matrix transpose;

[0033] S24: Objective function obtained for equation (7) Formula (8):

[0034] (8);

[0035] in: for The estimated value of express The matrix transpose of ;

[0036] S25: Calculated according to formula (8) right The partial derivative of , we get formula (9), and after simplification, we get formula (10):

[0037] (9);

[0038] (10);

[0039] in: express The optimal estimate of the least squares estimate of , express The matrix transpose of ;

[0040] S26: Formula (11) is obtained according to formula (10), and the calculation formula of the heading prediction value is obtained by combining the heading measurement value as formula (12):

[0041] (11);

[0042] (12);

[0043] in: express The predicted heading value at the moment, Indicates the current time Push forward The heading measurement value at the sampling time, express No. Dimensional elements;

[0044] S27: According to formula (12), we get formula (13) to calculate the future The heading prediction value at the sampling moment :

[0045] (13);

[0046] in: express No. Dimensional elements, Indicates the current time Push forward The heading measurement value at the sampling moment.

[0047] Further, in step S3, the predicted proportional integral differential parameters of the ship heading control are calculated according to the parameters of the input and output motion model of the ship rudder angle and heading, including the following process:

[0048] S31: Determine the predicted proportional integral differential equation as formula (14):

[0049] (14);

[0050] in: is the rudder command angle value at the current moment, To predict the proportional term control parameter of the proportional integral differential equation, To predict the differential term control parameters of the proportional integral differential equation, To predict the integral term control parameter of the proportional integral differential equation, express The deviation between the heading command and the heading measurement at the moment, express The deviation between the heading command and the heading measurement value at the moment;

[0051] S32: Convert equation (14) into incremental form as equation (15):

[0052] (15);

[0053] in: Indicates the current time The rudder command angle increment value, Indicates the heading deviation coefficient at the current moment, Indicates the heading deviation coefficient at the previous moment, The heading deviation coefficient of the last two moments;

[0054] S33: Introduce the prediction structure into equation (15) and transform it into equation (16):

[0055] (16);

[0056] in: is the prediction step length, For the current moment Predicting the future The rudder angle increment value of the rudder command at the moment, Predicting the future for the present moment The direction of the moment and command heading The deviation value of Predicting the future for the present moment The direction of the moment and command heading The deviation value of Predicting the future for the present moment The direction of the moment and command heading Deviation value of

[0057] S34: Calculate the current rudder command angle value according to equation (17) :

[0058] (17).

[0059] Optimally, the prediction step length in step S33 is an integer multiple of the wave period.

[0060] Beneficial effects of the invention:

[0061] The ship directional control method based on autoregressive model prediction of proportional integral differential provided by the present invention establishes a ship motion model by adopting the ship KT equation, and directly predicts the relevant parameters of proportional integral differential by using KT parameters, thereby avoiding the tedious proportional integral differential parameter adjustment process; adopts the autoregressive model as the prediction model of the ship under wave interference, obtains the parameters of the autoregressive model by identifying the heading measurement data under wave interference, and further introduces the heading value at the future moment predicted by the autoregressive model into the predicted proportional integral differential control, which plays a role of early steering to compensate for the wave interference, and effectively solves the problem of insufficient ship heading stability accuracy caused by control lag in the conventional proportional integral differential control method that calculates the rudder command angle based on the deviation between real-time measurement information and command information, realizes the automatic stable steering control of the ship's heading under wave interference, and improves the stability and safety of the ship's navigation in high sea conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0063] The ship directional control method based on the autoregressive model predictive proportional integral differential is shown in the flowchart. Figure 1 As shown, the specific steps include:

[0064] S1: Establish the input and output motion model of the ship's rudder angle and heading based on the ship's KT equation;

[0065] The specific process includes the following:

[0066] S11: The maneuvering motion of a ship can be regarded as the combined effect of inertia moment, damping moment and rudder moment. Therefore, the expression of the maneuvering motion of a ship can be expressed as formula (1):

[0067] (1);

[0068] in: is the bow turning rate, is the bow angular acceleration, is the moment of inertia of bow turning motion, is the bow damping moment coefficient, is the rudder moment coefficient, is the rudder angle;

[0069] S12: Divide both sides of the ship's maneuvering motion expression by the bow damping moment coefficient , we get formula (2):

[0070] (2);

[0071] in: is the time constant of the ship heading motion transfer function, , is the proportional function of the ship heading motion transfer function, ;

[0072] S13: Expressing equation (2) in function form yields equation (3):

[0073] (3);

[0074] in: is the Laplace operator, is the Laplace transform function of the bow angular rate, is the Laplace transform function of the rudder angle;

[0075] S14: Due to the ship's bow turning rate The integral over time is the heading Therefore, by integrating the Laplace transform function of the bow angle rate in equation (3) over time, the input and output motion model of the ship's rudder angle and heading can be obtained as equation (4):

[0076] (4);

[0077] in: is the heading Laplace transform function.

[0078] The ship's KT equation is used to establish the ship's yaw motion model, that is, the input and output motion model of the ship's rudder angle and heading, and the relevant parameters of the proportional-integral-differential parameters are directly predicted through the KT parameters, thus avoiding the cumbersome proportional-integral-differential parameter adjustment process of the conventional method.

[0079] S2: The autoregressive model is used as the prediction model under the interference of ship and sea waves, and the least squares method is used to identify and calculate the prediction model parameters under the interference of ship and sea waves;

[0080] The specific process includes the following:

[0081] S21: The autoregressive model (5) is used as the prediction model under the interference of ship waves;

[0082] , (5);

[0083] in: for The measured heading value of the ship under the influence of waves at any moment. for The measured heading value of the ship under the influence of waves at any moment. is the autoregressive model parameter vector elements, for Moment system white noise;

[0084] S22: According to the prediction model formula (5) of the ship under the interference of sea waves, the time series of the heading measurement data of the ship under the interference of sea waves is obtained as formula (6);

[0085] (6);

[0086] in: is the length of the time series of the heading measurement data of the ship under the interference of sea waves, The first heading measurements, The first heading measurements, For the System white noise value;

[0087] S23: Definition , , , , formula (6) is transformed into formula (7):

[0088] (7);

[0089] in: is the output vector, is the measurement matrix, is the model parameter vector, is the noise vector, Represents matrix transpose;

[0090] S24: Objective function obtained for equation (7) Formula (8):

[0091] (8);

[0092] in: for The estimated value of express The matrix transpose of ;

[0093] S25: Calculated according to formula (8) right The partial derivative of , we get formula (9), and after simplification, we get formula (10):

[0094] (9);

[0095] (10);

[0096] in: express The optimal estimate of the least squares estimate is the one that makes the objective function The minimum value The estimated value of express The matrix transpose of ;

[0097] S26: Formula (11) is obtained according to formula (10), and the calculation formula of the heading prediction value is obtained by combining the heading measurement value as formula (12):

[0098] (11);

[0099] (12);

[0100] in: express The predicted heading value at the moment, Indicates the current time Push forward The heading measurement value at the sampling time, express No. Dimensional elements;

[0101] S27: According to formula (12), we get formula (13) to calculate the future The heading prediction value at the sampling moment :

[0102] (13);

[0103] in: express No. Dimensional elements, Indicates the current time Push forward The heading measurement value at the sampling moment.

[0104] S3: Calculate the predicted proportional integral differential parameters of the ship's heading control according to the parameters of the input-output motion model of the ship's rudder angle and heading, predict the ship's heading at a future time according to the predicted model parameters under the interference of the ship's sea waves, and calculate the rudder command angle by combining the predicted proportional integral differential parameters of the ship's heading control and the predicted heading of the ship at a future time;

[0105] The specific process includes the following:

[0106] S31: Determine the predicted proportional integral differential equation as formula (14):

[0107] (14);

[0108] in: is the rudder command angle value at the current moment, To predict the proportional term control parameter of the proportional integral differential equation, To predict the differential term control parameters of the proportional integral differential equation, To predict the integral term control parameter of the proportional integral differential equation, express The deviation between the heading instruction and the heading measurement value at the moment, express The deviation between the heading command and the heading measurement value at the moment;

[0109] in , , It can be calculated based on the parameters in the ship KT motion equation. The specific calculation formula is as follows:

[0110] ;

[0111] in: is the natural frequency parameter set, is the set damping ratio parameter;

[0112] S32: Convert equation (14) into incremental form as equation (15):

[0113] (15);

[0114] in: Indicates the current time The rudder command angle increment value is Indicates the heading deviation coefficient at the current moment, Indicates the heading deviation coefficient at the previous moment, The heading deviation coefficient of the last two moments;

[0115] , , The calculation formula is as follows:

[0116] ; ; ;

[0117] S33: Introduce the prediction structure into equation (15) and transform it into equation (16):

[0118] (16);

[0119] in: is the prediction step length, For the current moment Predicting the future The rudder angle increment value of the rudder command at the moment, Predicting the future for the present moment The direction of the moment and command heading The deviation value of Predicting the future for the present moment The direction of the moment and command heading The deviation value of Predicting the future for the present moment The direction of the moment and command heading Deviation value of

[0120] S34: Calculate the current rudder command angle value according to equation (17) :

[0121] (17).

[0122] By adopting the autoregressive model as the ship yaw motion model under wave interference, that is, the input and output motion model of the ship's rudder angle and heading, the parameters of the autoregressive model are obtained by identifying the heading measurement data under wave interference, and then the future heading value predicted by the autoregressive model is introduced into the proportional integral differential control. The steering can be performed in advance to compensate for the effect of wave interference, which effectively solves the problem of insufficient ship heading stability accuracy caused by wave interference that is difficult to solve by conventional PID control algorithms, and improves the stability and safety of ships sailing in high sea conditions.

[0123] S4: The ship's steering gear performs directional control on the ship according to the calculated rudder command angle, thereby realizing closed-loop control of the ship's heading.

[0124] The ship directional control method based on autoregressive model prediction of proportional integral differential provided by the present invention establishes a ship motion model by adopting the ship KT equation, and directly predicts the relevant parameters of proportional integral differential by using KT parameters, thereby avoiding the tedious proportional integral differential parameter adjustment process; at the same time, the autoregressive model is adopted as the prediction model of the ship under wave interference, and the parameters of the autoregressive model are obtained by identifying the heading measurement data under wave interference, and the heading value at the future moment predicted by the autoregressive model is further introduced into the predicted proportional integral differential control, so that the steering can be performed in advance to compensate for the effect of wave interference, and the problem of insufficient ship heading stability accuracy caused by control lag caused by the conventional proportional integral differential control method based on the deviation between real-time measurement information and command information is effectively solved, and the closed-loop control of the ship heading is realized, so that the heading of the ship under wave interference can be automatically and stably controlled, and the stability and safety of the ship sailing in high sea conditions are improved.

[0125] Optimized, the prediction step in step S33 is an integer multiple of the wave period. The prediction step is set to an integer multiple of the wave period. The interference of waves on the heading can be predicted in advance, and then the rudder can be steered in time to offset the wave interference in the future, thereby further improving the stability and safety of the ship's navigation in high sea conditions.

[0126] In summary, the present invention provides a ship directional control method based on autoregressive model prediction proportional integral differential, which can steer in advance to compensate for the effect of wave interference, realize closed-loop control of the ship's heading, and enable the ship's heading to be automatically and stably controlled under wave interference, thereby improving the stability and safety of the ship's navigation in high sea conditions.

[0127] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A ship directional control method based on autoregressive model prediction proportional integral differential, characterized by: The steps include: S1: Establish the input and output motion model of the ship's rudder angle and heading based on the ship's KT equation; S2: The autoregressive model is used as the prediction model under the interference of ship and sea waves, and the least squares method is used to identify and calculate the prediction model parameters under the interference of ship and sea waves; The calculation of the prediction model parameters under the interference of ship waves includes the following process: S21: The autoregressive model (5) is used as the prediction model under the interference of ship waves; , (5); in: for The measured heading value of the ship under the influence of waves at any moment. for The measured heading value of the ship under the influence of waves at any moment. is the autoregressive model parameter vector elements, for Moment system white noise; S22: According to the prediction model formula (5) of the ship under the interference of sea waves, the time series of the heading measurement data of the ship under the interference of sea waves is obtained as formula (6); (6); in: is the length of the time series of the heading measurement data of the ship under the interference of sea waves, The first heading measurements, The first heading measurements, For the System white noise value; S23: Definition , , , , formula (6) is transformed into formula (7): (7); in: is the output vector, is the measurement matrix, is the model parameter vector, is the noise vector, Represents matrix transpose; S24: Objective function obtained for equation (7) Formula (8): (8); in: for The estimated value of express The matrix transpose of ; S25: Calculated according to formula (8) right The partial derivative of , we get formula (9), and after simplification, we get formula (10): (9); (10); in: express The optimal estimate of the least squares estimate of , express The matrix transpose of ; S26: Formula (11) is obtained according to formula (10), and the calculation formula of the heading prediction value is obtained by combining the heading measurement value as formula (12): (11); (12); in: express The predicted heading value at the moment, Indicates the current time Push forward The heading measurement value at the sampling time, express No. Dimensional elements; S27: According to formula (12), we get formula (13) to calculate the future The heading prediction value at the sampling moment : (13); in: express No. Dimensional elements, Indicates the current time Push forward The heading measurement value at each sampling moment; S3: Calculate the predicted proportional integral differential parameters of the ship's heading control according to the parameters of the input-output motion model of the ship's rudder angle and heading, predict the ship's heading at a future time according to the predicted model parameters under the interference of the ship's sea waves, and calculate the rudder command angle by combining the predicted proportional integral differential parameters of the ship's heading control and the predicted heading of the ship at a future time; S4: The ship's steering gear performs direction control on the ship according to the calculated rudder command angle.

2. The ship directional control method based on autoregressive model prediction proportional integral differential according to claim 1 is characterized by: Step S1 establishes the input and output motion model of the ship's rudder angle and heading based on the ship's KT equation, including the following process: S11: The expression of the ship's maneuvering motion is formula (1): (1); in: is the bow angle rate, is the bow angular acceleration, is the moment of inertia of bow turning motion, is the bow damping moment coefficient, is the rudder moment coefficient, is the rudder angle; S12: Divide both sides of the ship's maneuvering motion expression by the bow damping moment coefficient , we get formula (2): (2); in: is the time constant of the ship heading motion transfer function, , is the proportional function of the ship heading motion transfer function, ; S13: Expressing equation (2) in function form yields equation (3): (3); in: is the Laplace operator, is the Laplace transform function of the bow angular rate, is the Laplace transform function of the rudder angle; S14: Integrate the Laplace transform function of the bow angle rate in equation (3) with respect to time, and obtain the input and output motion model of the ship's rudder angle and heading as equation (4): (4); in: is the heading Laplace transform function.

3. The ship directional control method based on autoregressive model prediction proportional integral differential according to claim 1, characterized in that: In step S3, the predicted proportional integral differential parameters of the ship heading control are calculated according to the parameters of the input and output motion model of the ship rudder angle and heading, which includes the following process: S31: Determine the predicted proportional integral differential equation as formula (14): (14); in: is the rudder command angle value at the current moment, To predict the proportional term control parameter of the proportional integral differential equation, To predict the differential term control parameters of the proportional integral differential equation, To predict the integral term control parameter of the proportional integral differential equation, express The deviation between the heading instruction and the heading measurement value at the moment, express The deviation between the heading command and the heading measurement value at the moment; S32: Convert equation (14) into incremental form as equation (15): (15); in: Indicates the current time The rudder command angle increment value is Indicates the heading deviation coefficient at the current moment, Indicates the heading deviation coefficient at the previous moment, The heading deviation coefficient of the last two moments; S33: Introduce the prediction structure into equation (15) and transform it into equation (16): (16); in: is the prediction step length, For the current moment Predicting the future The rudder angle increment value of the rudder command at the moment, Predicting the future for the present moment The direction of the moment and command heading The deviation value of Predicting the future for the present moment The direction of the moment and command heading The deviation value of Predicting the future for the present moment The direction of the moment and command heading Deviation value of S34: Calculate the current rudder command angle value according to equation (17) : (17)。 4. The ship directional control method based on autoregressive model prediction proportional integral differential according to claim 3 is characterized by: The prediction step length in step S33 is an integer multiple of the wave period.