A ship heading control method based on adaptive angular rate calculation
By identifying the ship's motion equation online and constructing a heading state observation model, and solving the adaptive angular rate for heading control, the problem of steering frequency and mechanical wear caused by the noise amplification of the classic differential differentiator is solved, and more stable heading control and reduced cost are achieved. Noise effect.
Patent Information
- Application Number
- CN202410758928.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-13
AI Technical Summary
The noise amplification effect of the classic differential differentiator causes the signal quality of the ship's heading PID controller to decrease, increases the steering frequency and mechanical wear, thereby increasing the cabin noise.
By acquiring heading, rudder angle and speed signals in real time, the ship's motion equations are identified online, a heading state observation model is constructed, the adaptive angular rate is calculated and the commanded rudder angle is calculated, heading control is carried out, and the steering frequency and frequency caused by noise amplification are reduced. Mechanical wear.
It achieves smooth angular rate signal calculation, reduces steering frequency, reduces mechanical wear and cabin noise, and improves the quality of heading control.
Smart Images

Figure CN118331284B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of control of non-electrical variables, and in particular to a ship heading control method based on adaptive angular rate solution. Background Art
[0002] At present, the proportional-integral-derivative (PID) regulator is mainly used as the heading automatic control strategy in the ship maneuvering automatic control system. Therefore, the signal quality of the heading rate is one of the key factors affecting the quality of the heading automatic control.
[0003] In the classical control theory, based on the measured heading signal, the heading rate signal is obtained by using the classical differential method, which is also one of the commonly used processing methods in the control field. When times the noise signal, thus The smaller it is, the more serious the noise amplification is, and sometimes it can completely drown out the real differential signal. This is the serious amplification effect of the classic differential differentiator on noise. Since noise usually changes more rapidly than the control signal, the differential of the signal always reduces the signal-to-noise ratio. It is precisely because of the inherent defects of noise amplification in the classic differentiator that the control quality of the ship's heading PID controller is seriously affected, which in turn increases the steering frequency, accelerates mechanical wear, and increases cabin noise. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a ship heading control method based on adaptive angular rate solution. A smooth angular rate signal is obtained by solving the adaptive angular rate. The ship's heading is controlled after the command rudder angle is calculated using the solved adaptive angular rate. This is beneficial to reducing the steering frequency, reducing mechanical wear and reducing cabin noise.
[0005] The present invention is achieved through the following technical solutions:
[0006] A ship heading control method based on adaptive angular rate solution comprises the following steps:
[0007] S1: Obtain the ship's heading, rudder angle and speed signals in real time;
[0008] S2: The ship's motion equation is identified online according to the ship's heading, rudder angle and speed signals to obtain the turning index at a specific speed and the steering index at a specific speed;
[0009] S3: According to the turning index at a specific speed and the steering response index at a specific speed, the ship motion equation is transformed into a dimensionless one to obtain the dimensionless turning index and the dimensionless steering response index;
[0010] S4: calculating the turning index and the steering index at the real-time speed according to the dimensionless turning index and the dimensionless steering index, and constructing a heading state observation model, and solving the adaptive angular rate according to the heading state observation model;
[0011] S5: Calculate the command rudder angle according to the calculated adaptive angular rate and the heading measurement value, and control the ship heading according to the calculated command rudder angle.
[0012] Furthermore, the ship motion equation in step S2 is formula (1):
[0013] (1);
[0014] in: Indicates the turning index at a specific speed. Indicates the steering index at a specific speed. Indicates the heading measurement value The first-order differential of Indicates the heading measurement value The second-order differential of Indicates the rudder angle measurement value.
[0015] Further, in step S2, the following method is used to obtain the turning index at a specific speed and the steering index at a specific speed:
[0016] S21: Convert the ship motion equation into the ship heading motion differential equation as formula (2):
[0017] (2);
[0018] in: Indicates the heading The measured value, Indicates the heading The measured value, Indicates the heading The measured value, Represents the rudder angle The measured value, Represents the rudder angle The measured value, Indicates the heading The secondary measurement coefficient, Indicates the heading The secondary measurement coefficient, Represents the rudder angle The secondary measurement coefficient, Represents the rudder angle Sub-measurement coefficient;
[0019] S22: According to the ship heading motion differential equation, the least square method is used to combine equations (3) and (4) to obtain the parameter , , , ;
[0020] (3);
[0021] (4);
[0022] in: represents the coefficient matrix of the difference equation, represents the gain matrix, represents the measurement input matrix, express The transposed matrix of Indicates the heading The measured value, represents the covariance matrix;
[0023] S23: Set the parameters , , , Substitute into formula (5) to calculate the turning index at a specific speed and the steering index at a specific speed :
[0024] (5);
[0025] in: represents the sampling time, Represents a natural constant.
[0026] Further, in step S3, according to formula (6), The dimensionless parameter as well as The dimensionless parameter :
[0027] (6);
[0028] in: Indicates the speed of the ship during parameter identification. Indicates the length of the ship.
[0029] Further, in step S4, the turning index at the real-time speed is calculated according to formula (7): and the steering index at real-time speed :
[0030] (7);
[0031] in: Indicates the real-time speed of the ship.
[0032] Furthermore, the heading state observation model constructed in step S4 is formula (8):
[0033] (8);
[0034] in: represents the heading differential estimate, represents the second-order differential estimate of heading, represents the heading estimate, represents the adaptive angular rate, represents the step length, Indicates the heading angular acceleration calculation gain coefficient, Indicates the heading angular rate calculation gain coefficient, Indicates time.
[0035] Further, in step S5, the command rudder angle is calculated according to formula (9):
[0036] (9);
[0037] in: represents the command rudder angle, Indicates the command heading. represents the proportionality coefficient, represents the differential coefficient, Represents the integral coefficient.
[0038] Beneficial effects of the invention:
[0039] The present invention provides a ship heading control method based on adaptive angular rate solution. By online identification of the ship motion equation, the ship model parameters are obtained without adopting a water tank experiment or a complex Z-type steering experiment. By making the ship motion equation dimensionless, the ship motion model parameters under all speeds can be obtained by using only steering data of one speed. A heading state observation model is constructed to solve and obtain a smooth angular rate signal. The solved adaptive angular rate is used to calculate the command rudder angle to control the ship heading, which is beneficial to reducing the steering frequency, reducing mechanical wear and reducing cabin noise. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0041] A ship heading control method based on adaptive angular rate solution, the flow chart is as follows Figure 1 As shown, the specific steps include:
[0042] S1: Obtain the ship's heading, rudder angle and speed signals in real time;
[0043] During the navigation process of a ship, the ship's heading, rudder angle and speed signals can be obtained in real time through various sensors and other measuring equipment. The measured ship's heading signal can be low-pass filtered before transmission, which can reduce measurement noise and make subsequent calculation results more accurate.
[0044] S2: The ship's motion equation is identified online according to the ship's heading, rudder angle and speed signals to obtain the turning index at a specific speed and the steering index at a specific speed;
[0045] Specifically, the ship motion equation is formula (1):
[0046] (1);
[0047] in: Indicates the turning index at a specific speed. Indicates the steering index at a specific speed. Indicates the heading measurement value The first-order differential of, that is, the heading angular rate, Indicates the heading measurement value The second-order differential of Indicates the rudder angle measurement value.
[0048] The ship motion equation is a second-order heading motion model obtained by transforming the first-order Nomoto model.
[0049] Specifically, the following method can be used to obtain the turning index at a specific speed and the steering index at a specific speed:
[0050] S21: Convert the ship motion equation into the ship heading motion differential equation as formula (2):
[0051] (2);
[0052] in: Indicates the heading The measured value, Indicates the heading The measured value, Indicates the heading The measured value, Represents the rudder angle The measured value, Represents the rudder angle The measured value, Indicates the heading The secondary measurement coefficient, Indicates the heading The secondary measurement coefficient, Represents the rudder angle The secondary measurement coefficient, Represents the rudder angle Sub-measurement coefficient;
[0053] S22: According to the ship heading motion differential equation, the least square method is used to combine equations (3) and (4) to obtain the parameter , , , ;
[0054] (3);
[0055] (4);
[0056] in: represents the coefficient matrix of the difference equation, represents the gain matrix, represents the measurement input matrix, express The transposed matrix of Indicates the heading The measured value, represents the covariance matrix;
[0057] S23: Set the parameters , , , Substitute into formula (5) to calculate the turning index at a specific speed and the steering index at a specific speed :
[0058] (5);
[0059] in: represents the sampling time, Represents a natural constant.
[0060] The above method can only obtain the turning index at a specific speed. and the steering index at a specific speed , which cannot be applied to all speeds of all ships. Therefore, it must be transformed into a dimensionless form.
[0061] S3: According to the turning index at a specific speed and the steering response index at a specific speed, the ship motion equation is transformed into a dimensionless one to obtain the dimensionless turning index and the dimensionless steering response index;
[0062] The specific formula can be obtained according to formula (6): The dimensionless parameter as well as The dimensionless parameter :
[0063] (6);
[0064] in: Indicates the speed of the ship during parameter identification, which can be 10 , Indicates the length of the ship.
[0065] Further, in step S4, the turning index at the real-time speed is calculated according to formula (7): and the steering index at real-time speed :
[0066] (7);
[0067] in: Indicates the real-time speed of the ship.
[0068] By using the least squares method to realize online identification of the ship's motion equation, the ship model parameters can be obtained without using water tank experiments or complex Z-type steering experiments; by making the ship's motion equation dimensionless, the ship's motion model parameters at all speeds can be obtained by only manipulating the rudder to change the heading at a certain speed.
[0069] S4: calculating the turning index and the steering index at the real-time speed according to the dimensionless turning index and the dimensionless steering index, and constructing a heading state observation model, and solving the adaptive angular rate according to the heading state observation model;
[0070] Specifically, the constructed heading state observation model is formula (8):
[0071] (8);
[0072] in: represents the heading differential estimate, represents the second-order differential estimate of heading, represents the heading estimate, Represents the estimated value of the heading angular rate, that is, the adaptive angular rate, Indicates the step size, which can be 0.1. It means that the heading angular acceleration calculation gain coefficient can be -5.8. Indicates the heading angular rate calculation gain coefficient, which can be 0.35. Indicates time.
[0073] By constructing a heading state observation model, a smooth heading angular rate signal can be obtained after solving it, and the solved heading angular rate estimate is the adaptive angular rate.
[0074] S5: Calculate the command rudder angle according to the calculated adaptive angular rate and the heading measurement value, and control the ship heading according to the calculated command rudder angle.
[0075] Specifically, the command rudder angle can be calculated according to formula (9):
[0076] (9);
[0077] in: represents the command rudder angle, Indicates the command heading. Indicates the proportionality factor, the value can be 2, Indicates the differential coefficient, the value can be -18, Indicates the integral coefficient, which can be 0.05.
[0078] The ship's heading controller receives the calculated adaptive angular rate and heading measurement information in real time, and then calculates the ship's command rudder angle according to formula (9) to control the ship's heading. Since the heading state observation model is constructed, a smooth heading angular rate signal is obtained after the calculation. The ship's heading controller calculates the ship's command rudder angle according to the calculated heading angular rate estimate, i.e., the adaptive angular rate. The calculated command rudder angle is a relatively stable signal. The ship's heading is controlled according to the calculated command rudder angle, which is conducive to reducing the steering frequency, reducing mechanical wear, and reducing cabin noise.
[0079] In summary, the present invention provides a ship heading control method based on adaptive angular rate solution, which obtains a smooth angular rate signal by dimensionally processing the ship motion equation and constructing a heading state observation model for solution. The calculated adaptive angular rate is used to calculate the command rudder angle to control the ship heading, which is beneficial to reducing the steering frequency, reducing mechanical wear and reducing cabin noise.
[0080] 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 heading control method based on adaptive angular rate solution, characterized in that: The steps include: S1: Obtain the ship's heading, rudder angle and speed signals in real time; S2: The ship's motion equation is identified online according to the ship's heading, rudder angle and speed signals to obtain the turning index at a specific speed and the steering index at a specific speed; The ship motion equation is formula (1): (1); in: Indicates the turning index at a specific speed. Indicates the steering index at a specific speed. Indicates the heading measurement value The first-order differential of Indicates the heading measurement value The second-order differential of Indicates the rudder angle measurement value; The following method is used to obtain the turning index at a specific speed and the steering index at a specific speed: S21: Convert the ship motion equation into the ship heading motion differential equation as formula (2): (2); in: Indicates the heading The measured value, Indicates the heading The measured value, Indicates the heading The measured value, Represents the rudder angle The measured value, Represents the rudder angle The measured value, Indicates the heading The secondary measurement coefficient, Indicates the heading The secondary measurement coefficient, Represents the rudder angle The secondary measurement coefficient, Represents the rudder angle Sub-measurement coefficient; S22: According to the ship heading motion differential equation, the least square method is used to combine equations (3) and (4) to obtain the parameter , , , ; (3); (4); in: represents the coefficient matrix of the difference equation, represents the gain matrix, represents the measurement input matrix, express The transposed matrix of Indicates the heading The measured value, represents the covariance matrix; S23: Set the parameters , , , Substitute into formula (5) to calculate the turning index at a specific speed and the steering index at a specific speed : (5); in: represents the sampling time, represents a natural constant; S3: According to the turning index at a specific speed and the steering response index at a specific speed, the ship motion equation is transformed into a dimensionless one to obtain the dimensionless turning index and the dimensionless steering response index; S4: calculating the turning index and the steering index at the real-time speed according to the dimensionless turning index and the dimensionless steering index, and constructing a heading state observation model, and solving the adaptive angular rate according to the heading state observation model; S5: Calculate the command rudder angle according to the calculated adaptive angular rate and the heading measurement value, and control the ship heading according to the calculated command rudder angle.
2. A ship heading control method based on adaptive angular rate solution according to claim 1, characterized in that: In step S3, according to formula (6), we can get The dimensionless parameter as well as The dimensionless parameter : (6); in: Indicates the speed of the ship during parameter identification. Indicates the length of the ship.
3. A ship heading control method based on adaptive angular rate solution according to claim 2, characterized in that: In step S4, the turning index at the real-time speed is calculated according to formula (7): and the steering index at real-time speed : (7); in: Indicates the real-time speed of the ship.
4. A ship heading control method based on adaptive angular rate solution according to claim 3, characterized in that: The heading state observation model constructed in step S4 is formula (8): (8); in: represents the heading differential estimate, represents the second-order differential estimate of heading, represents the estimated heading value, represents the adaptive angular rate, represents the step length, Indicates the heading angular acceleration calculation gain coefficient, Indicates the heading angular rate calculation gain coefficient, Indicates time.
5. A ship heading control method based on adaptive angular rate solution according to claim 4, characterized in that: In step S5, the command rudder angle is calculated according to formula (9): (9); in: represents the command rudder angle, Indicates the command heading. represents the proportionality coefficient, represents the differential coefficient, Represents the integral coefficient.
