A ship navigation control method based on model predictive control in severe sea conditions
By constructing a continuous kinematics model and discretely predicting the ship's motion status in harsh sea conditions, adjusting the wave angle and using the dual triggering mechanism of time and events, the ship can sail along a 'Z'-shaped trajectory and solve the problem of ship swaying in harsh sea conditions. and wave impact problems, improving navigation safety and reliability.
Patent Information
- Application Number
- CN202310402471.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-04-14
AI Technical Summary
Existing technology is difficult to effectively reduce the swaying degree of the ship and alleviate the impact of waves in harsh sea conditions, leading to the risk that the hull may break or capsize.
A method based on model predictive control is used to construct a continuous kinematics model under harsh sea conditions, discretize and predict the future motion state of the ship, design a cost function, adjust the wave angle, and control steering through a dual triggering mechanism of time and events to achieve The ship sails along a 'Z' shaped trajectory.
By adjusting the wave angle and dual trigger mechanism, the impact of waves on the ship is reduced, steering at large angles is avoided, navigation safety and reliability are improved, hull capsizing accidents are avoided, and wave impact in harsh sea conditions is alleviated.
Smart Images

Figure CN116540699B
Abstract
Description
Technical Field
[0001] The present invention relates to a control technology for a surface ship in severe sea conditions, and more specifically, to a ship navigation control method based on model predictive control in severe sea conditions, and belongs to the field of surface ship transportation technology in severe sea conditions. Background Art
[0002] When surface ships are sailing in severe sea conditions, they are often disturbed by strong winds and waves, which affect the safety of the ships. When the ships are affected by waves laterally, they may cause large roll or harmonic roll, resulting in excessive heel angle of the ship, which may cause the ship to capsize in severe cases. When the waves are in the head, the encounter period becomes shorter and the encounter frequency becomes higher. The impact of huge waves may cause bottom hitting, deck waves and propeller idling, which may damage the hull, equipment and propellers. When the waves are in the downwind, the encounter period becomes longer and the encounter frequency becomes lower. The effect of huge waves may also cause sideways movement, reduced stability, roll resonance and put the ship in a dangerous situation. Therefore, it is of great significance to study the automatic navigation method of ships under severe weather conditions in the ocean.
[0003] At present, there are some feasible research methods. For example, patent CN202210142113.X discloses a ship heading keeping controller and design method based on sliding mode event triggering. The method includes the following steps: establishing a nonlinear model of the ship; defining the heading error according to the set expected heading of the ship, and designing a virtual controller to stabilize the heading error; calculating the error between the ship's bow turning rate and the virtual controller, and constructing a proportional integral sliding surface to stabilize the error between the ship's bow turning rate and the virtual controller; introducing an event triggering mechanism, when the control command does not meet the triggering condition, maintaining the existing control command, and when the triggering condition is met, executing a new control command; obtaining the heading keeping control law according to the proportional integral sliding surface and the event triggering mechanism, and the ship navigation keeping system performs ship heading keeping control according to the heading keeping control law. Patent CN201810723646.0 relates to a trajectory tracking control method for an underactuated surface ship based on model predictive control, which can obtain optimized tracking performance to ensure system stability based on given performance indicators on the basis of satisfying the input and state constraints of the underactuated system, and includes the following steps: 1) Projecting the trajectory tracking error model into the body coordinate system, using the Lyapunov direct method and backstepping method to design a control law that makes the tracking error converge asymptotically, and combining the system constraints to obtain the terminal invariant set; 2) Obtaining the system state at the current moment, constructing an MPC constrained optimization problem in a finite time domain containing terminal constraints; 3) Solving the MPC constrained optimization problem, obtaining the optimal control sequence predicted at the current moment, and applying the first optimal control to the system; 4) Obtaining a new system state at the new sampling moment and updating the MPC constrained optimization problem, and rolling iteration until the tracking control process ends.
[0004] Current research methods for ships in severe sea conditions mainly include heading keeping and track keeping. These methods are conducive to improving the tracking and control accuracy of ships on heading or track in strong winds and waves, but they do not reduce the degree of ship swaying or alleviate the impact of waves. Strong winds and waves still pose dangers to ships and in severe cases may cause hull breakage or capsizing. Summary of the invention
[0005] According to the existing research methods, the degree of swaying of the ship is not reduced, and the impact of waves is not alleviated. Strong winds and waves still bring danger to the ship, and in severe cases, the hull may break or capsize. The technical means adopted by the present invention are as follows: A ship navigation control method based on model predictive control under severe sea conditions, comprising the following steps:
[0006] S1. Construct a continuous kinematic model of surface ships under severe sea conditions;
[0007] S2. Based on the expected trajectory, the continuous kinematic model is discretized to obtain a discrete ship motion model;
[0008] S3. Based on the discrete ship motion model, the future motion state of the ship is predicted to obtain the future motion state result of the ship;
[0009] S4. designing a cost function for quantifying the deviation between the future motion state of the ship and the expected state according to the future motion state result of the ship;
[0010] S5. Limit the control input of the ship according to the constraint conditions, solve the optimal control variables, and control the discrete ship motion model;
[0011] S6. Adjust and set the ship's wave receiving angle according to the wave data and the ship's attitude information;
[0012] S7. Use the dual trigger mechanism of time and event to control the turning timing of the ship, so that the ship can sail along a "Z"-shaped trajectory.
[0013] Furthermore, the continuous mathematical model for the motion of a ship with wave interference in severe sea conditions is specifically:
[0014]
[0015] in, is the state variable of the mathematical model of ship motion; u (3) =δ is the control input of the mathematical model of ship motion; v, r, ψ and δ represent the drift speed, yaw rate, heading angle and rudder angle. It’s the waves that are interfering; and is the parameter matrix of the mathematical model of ship motion, specifically:
[0016]
[0017] in,
[0018]
[0019] Where m′ is the dimensionless value of the ship’s mass; x′ C The dimensionless value of the distance from the center of the ship to the center of gravity; It's the captain; is the speed; I′ zz is the dimensionless value of the moment of inertia; is the fluid dynamic derivative, and its regression formula is as follows:
[0020]
[0021] Among them, B is the width of the ship; T is the draft; C b is the square coefficient; A δ Represents the rudder blade area.
[0022] Furthermore, in step S2, based on the expected trajectory, the continuous kinematic model is discretized to obtain a discrete ship motion model as follows:
[0023] S21. Consider a time-varying reference trajectory as follows:
[0024]
[0025] in, is the reference value of the ship's motion state; is the reference value of the ship motion control input;
[0026] S22, at any point (x r ,u r ) is used to perform Taylor expansion on the reference trajectory and retain it to the first order, and the dynamic tracking error is obtained as follows:
[0027]
[0028] in, Represents the state error of dynamic tracking; is the input error of the dynamic tracking model; is the parameter matrix of the dynamic tracking error model;
[0029] S23, the result of discretizing the dynamic tracking error according to an equal sampling period T is:
[0030]
[0031] in, is the state of the discrete system at time k; is the input of the discrete system at time k; is the sea wave disturbance at time k; T is the sampling time; It is the parameter matrix of the discrete system of the mathematical model of ship motion.
[0032] Furthermore, the process of predicting the future motion state of the ship based on the discrete ship motion model obtains the following result of the future motion state of the ship:
[0033] Since interference is uncertain, the prediction results without considering the impact of interference are as follows:
[0034]
[0035]
[0036] Where N is the prediction time domain; and Represents the state and control input of the Nth step after time k; and are the states and control inputs in the prediction time domain; and are the parameters of the prediction matrix.
[0037] Furthermore, the cost function designed according to the future motion state result of the ship to quantify the deviation between the future motion state of the ship and the expected state is as follows:
[0038]
[0039] Substituting formula (9) into formula (12) yields the following result:
[0040]
[0041] in, is the cost function; Q and R are weights; and is the weight matrix.
[0042] Furthermore, the control input is restricted according to the constraint conditions, the optimal control variable is solved, and the control design of the discretized model is performed as follows:
[0043] S51: Limit the control input. The constraints are as follows:
[0044]
[0045] in, It is the maximum rudder angle that ensures the safety of the ship;
[0046] S52: Solve the optimal control sequence by finding the extreme value. The result is as follows:
[0047]
[0048] in, is the optimal control sequence;
[0049] S53: Control the discrete ship motion model using the first element of the optimal control input sequence, and then repeat the process of steps S4, S5 and S6. The first control element is as follows:
[0050]
[0051] in, is the first control element in the optimal control sequence; I is the unit matrix.
[0052] Further, adjusting and setting the ship's wave receiving angle according to the wave data and the ship's attitude information includes:
[0053] The adjustment range of the wave angle of the ship is 10° to 30°.
[0054] Furthermore, the time and event dual trigger mechanism controls the turning timing, and the conditions for automatically triggering the turning command include:
[0055] First, when the ship deviates from the planned route by more than the set value, the turning command is automatically triggered;
[0056] Second, when the ship's sailing time reaches the set value, the turning command is automatically triggered. Through periodic turning, the ship can sail along a "Z" shaped trajectory.
[0057] Compared with the previous technology, the present invention has the following advantages: the present invention adjusts the wave receiving angle of the ship so that the ship can sail along a "Z"-shaped trajectory in severe sea conditions to reduce the impact of waves on the ship and maintain safe and stable navigation of the ship. The dual triggering mechanism of time and events is used to avoid dangerous navigation areas, and the rudder angle constraint is used to avoid capsizing accidents caused by large-angle steering during the turning process in severe sea conditions. Therefore, the method avoids danger to ships in strong winds and waves, reduces the degree of swaying of the ship, and alleviates the impact of waves, waiting for the sea conditions to improve or taking active measures to leave the strong wind and wave sea area as soon as possible.
[0058] The advantages of this control strategy are that it can alleviate the impact of waves on the hull under severe sea conditions; automatically set the yaw distance to avoid dangerous navigation areas; and avoid capsizing accidents caused by large-scale turning of the ship through rudder angle limitation, further improving navigation safety and reliability.
[0059] 1. The present invention can autonomously realize the "Z" navigation method in rough sea weather, thus alleviating the impact of waves on the ship under severe sea conditions;
[0060] 2. The present invention uses a dual trigger mechanism of time and events to control the turning timing, automatically set the deviation distance, and avoid navigation danger areas;
[0061] 3. The present invention avoids capsizing accidents caused by large-scale steering of the ship by limiting the rudder angle, thereby further improving navigation safety and reliability;
[0062] Based on the above reasons, the present invention can be widely promoted in the fields of surface ship motion control under severe sea conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0064] Figure 1 is a flow chart of the method of the present invention;
[0065] Figure 2 It is a schematic diagram of the working principle of the present invention;
[0066] Figure 3 (a) is a three-dimensional trajectory diagram of the ship's motion, and (b) is a two-dimensional trajectory diagram of the ship's motion in an example of the present invention;
[0067] Figure 4 This is a control input variation curve diagram of the present invention;
[0068] Figure 5 This is a control output change curve diagram of an example of the present invention. DETAILED DESCRIPTION
[0069] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0070] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0071] A ship navigation control method based on model predictive control under severe sea conditions comprises the following steps:
[0072] S1. Construct a continuous kinematic model of surface ships under severe sea conditions;
[0073] S2. Based on the expected trajectory, the continuous kinematic model is discretized to obtain a discrete ship motion model;
[0074] S3. Based on the discrete ship motion model, the future motion state of the ship is predicted to obtain the future motion state result of the ship;
[0075] S4. designing a cost function for quantifying the deviation between the future motion state of the ship and the expected state according to the future motion state result of the ship;
[0076] S5. Limit the control input of the ship according to the constraint conditions, solve the optimal control variables, and control the discrete ship motion model;
[0077] S6. Adjust and set the ship's wave receiving angle according to the wave data and the ship's attitude information;
[0078] S7. Use the dual trigger mechanism of time and event to control the turning timing of the ship, so that the ship can sail along a "Z"-shaped trajectory.
[0079] The steps S1 / S2 / S3 / S4 / S5 / S6 / S7 are performed sequentially;
[0080] Furthermore, in step S1, the mathematical model of ship motion under severe sea conditions with wave interference is specifically:
[0081]
[0082] in, is the state of the system, u (3) =δ is the input of the system, is the system matrix, is the wave interference, v, r, ψ, δ represent the transverse drift speed, yaw angular velocity, heading angle and rudder angle, heading angle and rudder angle. It’s the waves that are interfering; and is the parameter matrix of the mathematical model of ship motion, specifically:
[0083]
[0084] in,
[0085]
[0086] Where m′ is the dimensionless value of the ship’s mass; x′ C The dimensionless value of the distance from the center of the ship to the center of gravity; It's the captain; is the speed; I′ zz is the dimensionless value of the moment of inertia; is the fluid dynamic derivative, and its regression formula is as follows:
[0087]
[0088] Among them, B is the width of the ship; T is the draft; C b is the square coefficient; A δ Represents the rudder blade area.
[0089] In specific implementation, as a preferred embodiment of the present invention, in step S2, the process of discretizing the model based on the expected trajectory is as follows:
[0090] S21. Consider a time-varying reference trajectory as follows:
[0091]
[0092] in, is the state reference value of the system, is the input reference value of the system;
[0093] S22, at any point (x r ,u r ) is used to perform Taylor expansion on the reference trajectory and retain it to the first order, and the dynamic tracking error is obtained as follows:
[0094]
[0095] in, Represents the state error of dynamic tracking; is the input error of the dynamic tracking model; is the parameter matrix of the dynamic tracking error model;
[0096] S23, the result of discretizing the dynamic tracking error according to an equal sampling period T is:
[0097]
[0098] in, is the state of the discrete system at time k; is the input of the discrete system at time k; is the sea wave disturbance at time k; T is the sampling time; It is the parameter matrix of the discrete system of the mathematical model of ship motion.
[0099] Furthermore, the process of predicting the future motion state of the ship based on the discrete ship motion model to obtain the result of the future motion state of the ship is as follows:
[0100] Since interference is uncertain, the prediction results without considering the impact of interference are as follows:
[0101]
[0102] in,
[0103]
[0104]
[0105] Where N is the prediction time domain; and Represents the state and control input of the Nth step after time k; and are the states and control inputs in the prediction time domain; and are the parameters of the prediction matrix.
[0106] Furthermore, the process of designing a cost function for quantifying the deviation between the future motion state of the ship and the expected state according to the future motion state result of the ship is as follows;
[0107]
[0108] in,
[0109]
[0110] Substituting formula (9) into formula (12) yields the following result:
[0111]
[0112] in, is the cost function; Q and R are weights; and is the weight matrix.
[0113] Furthermore, the control input of the ship is restricted according to the constraint conditions, the optimal control variables are solved, and the discrete ship motion model is controlled;
[0114] S51 designs the control constraints as follows:
[0115]
[0116] in, It is the maximum rudder angle that ensures the safety of the ship;
[0117] S52 solves the optimal control sequence by finding the extreme value, and the results are as follows:
[0118]
[0119] in, is the optimal control sequence;
[0120] S53 controls the model using the first element of the optimal control input sequence. Subsequently, the above prediction, optimization, and control implementation process are repeated. The first control element is as follows:
[0121]
[0122] in, is the first control element in the optimal control sequence; I is the unit matrix.
[0123] Further: the wave data and ship attitude information obtained are collected by sensors, and the ship wave receiving angle is adjusted and set as follows:
[0124] According to the collected information of wave height, direction, roll, pitch, heading, etc., the wave receiving angle is set to 10° to 30°. The setting of the wave receiving angle is based on reducing the degree of swaying of the ship to alleviate the impact of waves on the ship. Furthermore, the dual trigger mechanism of time and event is used to control the turning timing and control the ship to sail along a "Z"-shaped trajectory. The turning command can be automatically triggered by the following two conditions:
[0125] First, when the ship deviates from the planned route by more than a set value, a turning command is automatically triggered; second, when the ship's sailing time reaches a set value, a turning command can also be automatically triggered.
[0126] Example
[0127] In order to verify the effectiveness of the method of the present invention, the following simulation experiment was carried out. The ship parameters used in this embodiment are as follows:
[0128] Table 1 Main design parameters of the "Yukun" ship
[0129]
[0130] The simulation results are as follows Figure 3-5 shown.
[0131] Figure 3 (a) is a three-dimensional trajectory diagram of the ship's motion, and (b) is a two-dimensional trajectory diagram of the ship's motion in the example of the present invention. At the beginning of the experiment, the wind force was Beaufort 6. At 200 seconds, the wind force increased to Beaufort 8, and the "Z" navigation controller was started. At 1980 seconds, the wind force decreased and returned to Beaufort 6. The "Z" navigation controller was stopped and the normal heading control was restored. Figure 3 It can be seen that the controller designed in this paper can track the target signal without static error and overshoot under normal sea conditions and severe sea conditions.
[0132] Figure 4 The control input variation curve is given by Figure 4 It can be seen that the rudder angle can be controlled within 10°, achieving the preset constraint effect. The rudder angle limit can reduce the heel angle of the ship during the steering process while maintaining a good control effect, avoiding the capsizing of the ship due to the superposition of the large-angle steering heel and the heel angle forced by wind and waves during the steering process in severe sea conditions, and also avoiding damage to the rudder blade and increasing the instantaneous load of the main engine.
[0133] Figure 5 The control output change curve is given by Figure 5 It can be seen that the maximum heading deviation of the controller designed in this paper is 2.6°, which meets the accuracy requirements for heading maintenance in severe sea conditions. A double trigger mechanism is set to control the turning timing when the ship position deviates from the planned route by 5 times the length of the ship or 500s after the reversal. Figure 5 It can be seen that when the deviation distance reaches 5 times of the ship length, the steering mechanism is first triggered and a reverse rudder angle is automatically applied. When a reverse rudder angle is applied, the heading of the ship can be changed.
[0134] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A ship navigation control method based on model predictive control under severe sea conditions, characterized in that: The steps include: S1. Construct a continuous kinematic model of surface ships under severe sea conditions; S2. Based on the expected trajectory, the continuous kinematic model is discretized to obtain a discrete ship motion model; S3. Based on the discrete ship motion model, the future motion state of the ship is predicted to obtain the future motion state result of the ship; S4. designing a cost function for quantifying the deviation between the future motion state of the ship and the expected state according to the future motion state result of the ship; S5. Limit the control input of the ship according to the constraint conditions, solve the optimal control variables, and control the discrete ship motion model; S6. Adjust and set the ship's wave receiving angle according to the wave data and the ship's attitude information; S7. Use the dual trigger mechanism of time and event to control the turning timing of the ship, so that the ship can sail along a "Z"-shaped trajectory; The specific continuous mathematical model of ship motion under severe sea conditions with wave interference is: in, is the state variable of the mathematical model of ship motion; u (3) =δ is the control input of the mathematical model of ship motion; v, r, ψ and δ represent the drift speed, the yaw rate, the heading angle and the rudder angle, It’s the waves that are interfering; and is the parameter matrix of the mathematical model of ship motion, specifically: in, Where m′ is the dimensionless value of the ship’s mass; x′ C The dimensionless value of the distance from the center of the ship to the center of gravity; It's the captain; is the speed; I′ zz is the dimensionless value of the moment of inertia; is the fluid dynamic derivative, and its regression formula is as follows: Among them, B is the width of the ship; T is the draft; C b is the square coefficient; A δ Represents the rudder blade area.
2. The ship navigation control method based on model predictive control in severe sea conditions according to claim 1 is characterized in that: In step S2, based on the expected trajectory, the continuous kinematic model is discretized to obtain a discrete ship motion model as follows: S21. Consider a time-varying reference trajectory as follows: in, is the reference value of the ship's motion state; is the reference value of the ship motion control input; S22, at any point (x r ,u r ) is used to perform Taylor expansion on the reference trajectory and retain it to the first order, and the dynamic tracking error is obtained as follows: in, Represents the state error of dynamic tracking; is the input error of the dynamic tracking model; is the parameter matrix of the dynamic tracking error model; S23, the result of discretizing the dynamic tracking error according to an equal sampling period T is: in, is the state of the discrete system at time k; is the input of the discrete system at time k; is the sea wave disturbance at time k; T is the sampling time; It is the parameter matrix of the discrete system of the mathematical model of ship motion.
3. The ship navigation control method based on model predictive control under severe sea conditions according to claim 2 is characterized in that: The process of predicting the future motion state of the ship based on the discrete ship motion model obtains the following result of the future motion state of the ship: Since interference is uncertain, the prediction results without considering the impact of interference are as follows: Where N is the prediction time domain; and Represents the state and control input of the Nth step after time k; and are the states and control inputs in the prediction time domain; and are the parameters of the prediction matrix.
4. The ship navigation control method based on model predictive control in severe sea conditions according to claim 3 is characterized in that: The cost function designed according to the future motion state result of the ship to quantify the deviation between the future motion state of the ship and the expected state is as follows: Substituting formula (9) into formula (12) yields the following result: in, is the cost function; Q and R are weights; and is the weight matrix.
5. The ship navigation control method based on model predictive control in severe sea conditions according to claim 4 is characterized in that: The control input is limited according to the constraint conditions, the optimal control variable is solved, and the control design of the discretized model is performed as follows: S51: Limit the control input. The constraints are as follows: in, It is the maximum rudder angle that ensures the safety of the ship; S52: Solve the optimal control sequence by finding the extreme value. The result is as follows: in, is the optimal control sequence; S53: Control the discrete ship motion model using the first element of the optimal control input sequence, and then repeat the process of steps S4, S5 and S6. The first control element is as follows: in, is the first control element in the optimal control sequence; I is the unit matrix.
6. The ship navigation control method based on model predictive control in severe sea conditions according to claim 1 is characterized in that: The adjustment range of the wave angle of the ship is 10° to 30°.
7. The ship navigation control method based on model predictive control in severe sea conditions according to claim 1 is characterized in that: The time and event dual trigger mechanism controls the turning timing, and the conditions for automatically triggering the turning command include: First, when the ship deviates from the planned route by more than the set value, the turning command is automatically triggered; Second, when the ship's sailing time reaches the set value, the turning command is automatically triggered. Through periodic turning, the ship can sail along a "Z" shaped trajectory.
