A method for optimizing control of vertical navigation attitude of a submersible
Through the optimization control method of the submarine's vertical plane navigation attitude, the incremental PID algorithm and the optimization method are used to realize the zero attack angle and zero rudder angle control of the submarine, which solves the problem of high energy consumption during the steady state navigation of the submarine and realizes Longer range and better adaptability.
Patent Information
- Application Number
- CN202011589056.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-12-29
AI Technical Summary
The angle of attack and rudder angle of long-range submarines during steady navigation lead to increased energy consumption and shortened range. The attitude optimization control algorithm of the existing buoyancy adjustment device has insufficient adaptability and cannot achieve optimal attitude adjustment.
An optimization control method for the vertical plane navigation attitude of the submarine is adopted. Zero attack angle and zero rudder angle control are achieved through the vertical plane controller and attitude optimizer. The incremental PID algorithm and optimization method are used to adjust the mass distribution of the buoyancy adjustment device. Transformed into a constrained quadratic programming solution problem to assign buoyancy adjustment instructions.
It can effectively reduce the resistance of the submarine and increase the range. It has a simple design and reliable performance. It is suitable for installation conditions of different sizes and adjustment capabilities and has good scalability.
Smart Images

Figure CN114690789B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of underwater robot control, and in particular to a control method for a long-range submersible, and specifically to a method for optimizing the navigation posture of a submersible. Background Art
[0002] In recent years, countries around the world have attached more and more importance to the exploration and development of marine resources, and gradually developed towards the deep sea. As an important tool and carrier for exploring the ocean, submersibles are also developing towards long range and great depth. The energy-saving and drag-reducing technology of submersibles is an important means to increase the range. Among them, the attitude of the submersible during steady-state navigation has a great influence on the resistance, especially the existence of the angle of attack and the rudder angle during steady state will lead to increased energy consumption and shortened range. When the submersible sails at different depths and different sea areas, the marine environment is very different, and its own buoyancy changes. The submersible needs a certain angle of attack and rudder angle to balance the external force and torque changes caused by the buoyancy change. In summary, optimizing the attitude of the submersible and reducing the angle of attack and rudder angle of the submersible during steady-state navigation is one of the key technologies to reduce energy consumption and increase the range. At present, long-range submersibles are equipped with buoyancy adjustment devices, and the buoyancy adjustment devices are adjusted by detecting seawater density, estimating buoyancy and other methods. The requirements for submersible parameters, device control and sensor accuracy are high, the adaptability is insufficient, and the optimal attitude adjustment cannot be achieved. Therefore, there are still deficiencies in the navigation attitude optimization control algorithm based on the buoyancy adjustment device. Summary of the invention
[0003] In view of the above-mentioned long-range submersibles' demands for energy saving and drag reduction and the current inadequacies in the navigation attitude optimization control algorithm based on the buoyancy adjustment device, the present invention proposes a submersible vertical plane navigation attitude optimization control method to achieve zero attack angle and zero rudder angle control during steady-state navigation of the submersible.
[0004] The technical solution adopted by the present invention to achieve the above-mentioned purpose is: a method for optimizing the control of the vertical plane navigation posture of a submersible, comprising the following steps:
[0005] The vertical plane controller is used to control the bow and stern rudders of the submersible to achieve the motion control of the submersible in the vertical plane;
[0006] The attitude optimizer is used to control the attack angle and rudder angle of the submersible, and the mass distribution of the bow and stern of the buoyancy regulating device is adjusted to achieve the attitude control of the submersible.
[0007] The attitude optimizer includes a zero rudder angle controller, a zero angle of attack controller and a buoyancy adjustment instruction distributor;
[0008] The zero angle of attack controller inputs the set angle of attack command and the current angle of attack value detected by the sensor, and uses an incremental PID algorithm to calculate the mass sum command of the bow buoyancy adjustment device and the stern buoyancy adjustment device required to achieve the angle of attack command;
[0009] The zero rudder angle controller inputs a set rudder angle weighted sum instruction and a weighted sum of various rudder angle values detected by the sensor, and uses an incremental PID algorithm to calculate a mass difference instruction between the bow buoyancy regulating device and the stern buoyancy regulating device required to achieve zero rudder angle weighted sum instruction;
[0010] The buoyancy adjustment instruction distributor aims to minimize the adjustment amount, takes the sum instruction of the buoyancy adjustment mass and the mass difference instruction respectively output by the zero angle of attack controller and the zero rudder angle controller as constraints, and adopts an optimization method to realize the distribution of the comprehensive buoyancy adjustment instruction output by the zero angle of attack controller and the zero rudder angle controller to the instructions of each buoyancy adjustment device.
[0011] The buoyancy adjustment command distributor inputs the sum of the buoyancy adjustment mass commands output by the zero angle of attack controller and the zero rudder angle controller, respectively. Buoyancy adjustment mass difference command The output is the mass instruction of N bow buoyancy control devices Quality instructions for M bow buoyancy control devices The processing from input to output is transformed into a constrained quadratic programming problem. The variables to be solved are the mass instructions of each bow buoyancy regulating device and the stern buoyancy regulating device. The objective function is to minimize the sum of squares of mass changes of each bow buoyancy regulating device and the stern buoyancy regulating device. The constraints are that the sum of the mass instructions of each bow buoyancy regulating device and the stern buoyancy regulating device is equal to the input mass sum instruction, and the difference between the mass instructions of each bow buoyancy regulating device and the stern buoyancy regulating device is equal to the input mass difference instruction.
[0012] The buoyancy adjustment instruction distributor performs the following steps:
[0013] Variables to be solved:
[0014] Objective function:
[0015] Constraints:
[0016] According to the constraints, the objective function is minimized to obtain the optimal mass instructions of N bow buoyancy control devices. and M bow buoyancy control device quality instructions
[0017] The minimization of the objective function is solved by using any one of a first-order general quadratic programming solver, an interior point method, an active set method, and an intelligent search algorithm.
[0018] The present invention has the following advantages and beneficial effects: 1. The present invention proposes a method for optimizing the control of the vertical plane navigation posture of a submersible, which can achieve zero attack angle and zero rudder angle control during steady-state navigation of the submersible, effectively reduce the resistance of the submersible and increase the range.
[0019] 2. The present invention forms a depth controller, a pitch angle controller, a zero angle of attack controller, and a zero rudder angle controller based on incremental PID, adopts a unified controller form, and fully considers the range limitation and change limitation of the controller output. It has a simple design and reliable performance.
[0020] 3. The present invention transforms the command allocation problem of the buoyancy regulating device into a generalizable constrained optimization problem. The desired allocation result is more optimal and applicable to device conditions of different scales and different adjustment capabilities, and has good scalability. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is a structural diagram of a submersible's vertical navigation attitude optimization control method.
[0022] Figure 2 This is a simulation result diagram of a submersible's vertical navigation attitude optimization control method. DETAILED DESCRIPTION
[0023] The following simulation example is used to illustrate the method described in the above technical solution:
[0024] 1. A method for optimizing the navigation attitude of a submersible in a vertical plane, the principle of which is that when multiple buoyancy adjustment devices are deployed at the bow and stern, the mass and mass distribution of the submersible can be changed, thereby changing the net buoyancy and buoyancy moment of the submersible, thereby affecting the characteristics of the angle of attack and the rudder angle, and adopting an optimization control algorithm to achieve zero angle of attack and zero rudder angle navigation control; specifically, the net buoyancy can be changed by adjusting the sum of the masses of the buoyancy adjustment devices at the bow and stern, and the net buoyancy is in the vertical direction. If the change in the vertical force is to be balanced, the thruster needs to generate a component force in the vertical direction, that is, the angle of attack of the submersible needs to be adjusted. By adjusting the mass distribution of the bow and stern of the buoyancy adjustment device, that is, the mass difference, the buoyancy moment of the submersible can be changed, thereby affecting the balanced pitching moment, and thereby affecting the change in the rudder angle;
[0025] 2. Based on the above principle, the vertical plane navigation attitude optimization control method of a submersible is composed of an actuator, a sensor device, a vertical plane controller and an attitude optimizer. The composition and working process of each part are as follows:
[0026] (1) The actuator and sensor device include: a plurality of buoyancy adjustment devices arranged at the bow and stern of the submersible, bow and stern rudders, and depth value, height value, pitch angle value, angle of attack value, rudder angle value, and buoyancy adjustment device mass value detection sensors required by various controllers; wherein, N buoyancy adjustment devices are arranged at the bow and M buoyancy adjustment devices are arranged at the stern, and each buoyancy adjustment device can change the mass of the submersible by sucking in or discharging liquid through a pump, thereby adjusting the net buoyancy (i.e., the difference between buoyancy and gravity) and torque of the submersible, and each buoyancy adjustment device receives the mass instruction output by the attitude optimizer, and realizes mass detection and mass control through the equipped liquid level sensor and mass controller, and the mass controller adjusts the pump to suck in or discharge liquid according to the difference between the current mass value and the mass instruction, thereby adjusting the device mass to the mass instruction value; each rudder receives the rudder angle instruction output by the vertical plane controller, and realizes rudder angle detection and rudder angle control through the equipped rudder angle sensor and rudder angle controller;
[0027] (2) The vertical plane controller is composed of a depth / altitude controller, a pitch angle controller, and a torque distributor. Through the cascade control method of depth / altitude-pitch angle-torque distribution, each bow and stern rudder is manipulated to realize the motion control of the vertical plane. Among them, the depth / altitude controller receives the external depth / altitude command value, and uses the incremental PID algorithm to calculate the pitch angle command required to achieve the given depth / altitude command according to the current depth / altitude value detected by the sensor device; the pitch angle controller takes the pitch angle command output by the depth / altitude controller as input, and uses the incremental PID algorithm to calculate the pitch torque command required to achieve the given pitch angle command according to the current pitch angle value detected by the sensor; the torque distributor distributes the pitch torque command output by the pitch angle controller to each rudder, that is, calculates each rudder angle command, and each rudder completes the control of the rudder angle;
[0028] (3) The attitude optimizer consists of a zero rudder angle controller, a zero angle of attack controller and a buoyancy adjustment command distributor. The zero angle of attack controller takes as input the set angle of attack command (i.e., 0) and the current angle of attack value detected by the sensor, and uses an incremental PID algorithm to calculate the mass sum command of the bow and stern buoyancy adjustment devices required to achieve the zero angle of attack command. The zero rudder angle controller takes as input the set weighted sum command of the rudder angle (i.e., 0) and the weighted sum of each rudder angle value detected by the sensor, and uses an incremental PID algorithm to calculate the mass difference command of the bow and stern buoyancy adjustment devices required to achieve the zero rudder angle. The buoyancy adjustment command distributor takes minimization of the adjustment amount as the goal, and takes the buoyancy adjustment mass sum command and mass difference command output by the controller as the constraints, and uses an optimization method to achieve the optimal allocation of the comprehensive buoyancy adjustment command (i.e., mass sum and mass difference command) output by the two controllers to the commands of each buoyancy adjustment device.
[0029] In a method for optimizing the vertical navigation attitude of a submersible, the pitch angle controller, the depth / altitude controller, the zero angle of attack controller, and the zero rudder angle controller adopt an incremental PID algorithm. The incremental PID algorithm takes the command value of the controlled variable (i.e., the input of the controller, such as the depth / altitude, angle of attack) and the current value of the controlled variable as input, and considers the upper and lower limits of the control variable and the upper and lower limits of the control variable (i.e., the output of the controller, such as the pitch angle command and the sum of the masses of the bow and stern buoyancy adjustment device) to calculate the incremental value of the control variable and the control variable value. The specific process is as follows:
[0030] (1) According to the controlled variable command value yr k and the current value y k Calculate the controlled deviation e at the current moment k
[0031] e k =yr k -y k
[0032] (2) Based on the controlled deviation e at the current moment, the previous moment, and the moment before that k 、e k-1 、e k-2 , calculate the control variable increment Δu k
[0033]
[0034] Where K p , K i , K d are the parameters of the controller, which are the proportional coefficient, integral coefficient and differential coefficient; dT is the controller period;
[0035] (3) According to the upper and lower limits of the control variable (u max 、u min ), the upper and lower limits of the increment value (Δu max , Δu min ) Calculate the control variable output value u k
[0036] Increment value Δu k and the upper limit of the increment value Δu max Compare and take the smaller one, and get Δu′ k :Δu′ k =min(Δu k ,Δu max )
[0037] Δu′ k and the lower limit of the incremental value Δu max Compare and take the larger one, and get Δu″ k :Δu″ k =min(Δu′k ,Δu max )
[0038] According to the upper limit of the control variable u max , calculate u′ k :u′ k =min(u k-1 +Δu″ k ,u max )
[0039] According to the lower limit of the control variable u min , calculate the output value u k :u k =max(u′ k ,u min )
[0040] (4) Entering time k+1, loop through steps (1) to (3) until the end;
[0041] The pitch angle controller, depth / height controller, zero angle of attack controller, and zero rudder angle controller are based on the above incremental PID algorithm, and the calculation process is the same. It is only necessary to set different controlled variables (i.e. controller input) and control variables (i.e. controller output) and upper and lower limits according to different controllers. The specific settings are as follows:
[0042] (1) Depth / height controller, the controlled variable is depth / height, the control variable is pitch angle, and the upper and lower limits of the control variable can be set according to the maneuverability and usage requirements. For example, the upper and lower limits of the pitch angle can be set to ±30°, and the upper and lower limits of the incremental change can be set to ±10°;
[0043] (2) Pitch angle controller: the controlled variable is the pitch angle, and the controlled variable is the pitch moment. The pitch moment is not a directly measured value. The current value of the pitch moment (M k ), upper and lower limits (M max 、M min ), increment upper and lower limits (ΔM max , ΔM min ) needs to be based on the pitching moment hydrodynamic coefficient of each rudder And the current value of the rudder angle Rudder angle upper and lower limits Rudder angle increment upper and lower limits Perform the calculation:
[0044]
[0045]
[0046]
[0047]
[0048]
[0049] Among them, the superscripts b and s represent bow (the first letter of bow) and stern (the first letter of stern), the superscripts L and R represent left (the first letter of Left) and right (the first letter of Right), respectively. Then bL, bR, sL, and sR represent bow left (the first letter of bowLeft), bow right (the first letter of bowRight), stern left (the first letter of sternLeft), and stern right (the first letter of sternRight), respectively.
[0050] (3) Zero angle of attack controller, the controlled variable is the angle of attack, and the control variable is the sum of the masses of the bow and stern buoyancy control devices. The control variable is not directly measured, and the current value of the control variable is Upper and lower limits Incremental upper and lower limits It is necessary to calculate the current mass value of the bow and stern buoyancy adjustment devices (bow: Stern: ), upper and lower limits (bow: Stern: Bow: Stern: ), increment upper and lower limits (bow: Stern: Bow: Stern: ) to calculate:
[0051]
[0052]
[0053]
[0054]
[0055]
[0056] (4) Zero rudder angle controller, the controlled variable is the weighted sum of the rudder angles, and the controlled variable is the difference in mass of the bow and stern buoyancy adjustment devices. Neither the controlled variable nor the controlled variable is directly measured. The current value of the controlled variable is obtained by weighting the current value of each rudder angle. The weight is assumed to be the hydrodynamic coefficient of the pitching moment of each rudder. Then the controlled variable becomes the pitching moment, that is, the calculation is the same as M in (2) k ; The current value of the control variable Upper and lower limits Incremental upper and lower limits It is necessary to calculate the current mass value of the bow and stern buoyancy adjustment devices (bow: Stern: ), upper and lower limits (bow: Stern: Bow: Stern: ), increment upper and lower limits (bow: Stern: Bow: Stern: ) to calculate:
[0057]
[0058]
[0059]
[0060]
[0061]
[0062] The input of the torque distributor is the pitch torque command M calculated by the pitch angle controller. r , the output is each rudder angle command The processing from input to output can be transformed into a constrained quadratic programming problem. The variable to be solved is the rudder angle command, the objective function is to minimize the resistance generated by the rudder, and the constraint condition is that the sum of the moments generated by each rudder angle is equal to the pitch moment command. The specific description is as follows:
[0063] (1) Variables to be solved:
[0064] (2) Objective function: Where X bL , X bR , X sL , X sR are the known drag coefficients of various rudders;
[0065] (3) Constraints:
[0066] (4) Solution method: OSQP (first-order general quadratic programming solver), interior point method, active set method, and intelligent search algorithm can be used for solution.
[0067] The input of the buoyancy control command distributor is the sum command and the difference command of the bow and stern buoyancy control mass output by the zero angle of attack controller and the zero rudder angle controller. The output is the mass command of each buoyancy control device (bow: Stern: ), the processing from input to output can be transformed into a constrained quadratic programming problem. The variables to be solved are the mass instructions of each buoyancy control device, the objective function is to minimize the sum of the squares of the mass changes of each buoyancy control device, and the constraints are that the sum of the mass instructions of the bow and stern buoyancy control devices is equal to the input mass sum instruction, and the difference between the bow and stern mass instructions is equal to the input mass difference instruction. The specific description is as follows:
[0068] (1) Variables to be solved:
[0069] (2) Objective function:
[0070] (3) Constraints:
[0071] (4) Solution method: OSQP (first-order general quadratic programming solver), interior point method, active set method, and intelligent search algorithm can be used for solution.
[0072] (1) Simulation example submersible actuator parameters
[0073] There are 2 buoyancy adjustment devices at the bow and 1 at the stern, that is, N=2, M=1, and the upper and lower limits of each buoyancy adjustment device are 200kg and 0kg; there are 4 horizontal rudders at the bow left, bow right, stern left, and stern right, and 1 vertical rudder, and the upper and lower limits of each rudder are 20° and -20°; there are 2 thrusters at the stern left and stern right;
[0074] (2) Simulation kinematics-dynamics model
[0075] A standard 6-DOF nonlinear hydrodynamic and kinematic model is used, including 12 state variables: longitude (Lon), latitude (Lat), depth (deep), roll angle (phi), pitch angle (theta), heading angle (psi), carrier 3-axis velocity (u, v, w), carrier 3-axis angular velocity (p, q, r);
[0076] (3) Initial value
[0077] Initial state: Lon = 120°, Lat = 40°, deep = 100m, phi = theta = psi = 0°, u = 3m / s, v = w = 0m / s, p = q = r = 0° / s;
[0078] Initial net buoyancy: 200kg;
[0079] Initial weight: 30t;
[0080] Initial value of each actuator:
[0081] (4) According to the above technical solution, an incremental PID engine, a vertical plane controller, a zero angle of attack controller, a zero rudder angle controller, and a buoyancy adjustment command distributor are constructed to form a dynamic simulation environment with the simulation kinematics-dynamics model, and a 2000s simulation is performed, wherein the depth command is 100m from 0s to 1500s, and the depth command changes from 100m to 50m from 1500s to 2000s. In order to compare the effect of attitude optimization, only the vertical plane controller is used from 0s to 500s, and the attitude optimizer is added after 500s;
[0082] (5) Analysis of simulation results
[0083] like Figure 2 As shown in the simulation result diagram, due to the existence of initial net buoyancy, there is only a vertical plane controller in the first 500s, and no attitude optimizer is added. In steady state, there is about 3° pitch angle (angle of attack = pitch angle in steady state of fixed depth navigation) and 1.2° rudder angle. After 500s, the attitude optimizer is added, and the buoyancy adjustment device begins to be adjusted. It reaches stability at 1100s. At this time, the angle of attack (approximately equal to the pitch angle) and the rudder angle are both about 0°. It starts to deepen at 1500s. During the deepening process, the attitude optimizer does not work. After the deepening is completed, the angle of attack and the rudder angle are adjusted to zero again. In summary, the vertical plane attitude optimization method of the submersible described in the present invention can effectively optimize the steady-state angle of attack and rudder angle of the submersible to zero, thereby reducing resistance and increasing the range.
Claims
1. A method for optimizing the control of a submersible's vertical navigation attitude. It is characterized in that The following steps are involved: The vertical plane controller is used to control the bow and stern rudders of the submersible to achieve the motion control of the submersible in the vertical plane; The attitude optimizer controls the attack angle and rudder angle of the submersible, adjusts the mass distribution of the bow and stern of the buoyancy control device, and realizes the attitude control of the submersible; The attitude optimizer includes a zero rudder angle controller, a zero angle of attack controller and a buoyancy adjustment instruction distributor; The zero angle of attack controller inputs the set angle of attack command and the current angle of attack value detected by the sensor, and uses an incremental PID algorithm to calculate the mass sum command of the bow buoyancy adjustment device and the stern buoyancy adjustment device required to achieve the angle of attack command; The zero rudder angle controller inputs a set rudder angle weighted sum instruction and a weighted sum of various rudder angle values detected by the sensor, and uses an incremental PID algorithm to calculate a mass difference instruction between the bow buoyancy regulating device and the stern buoyancy regulating device required to achieve zero rudder angle weighted sum instruction; The buoyancy adjustment instruction distributor takes minimization of the adjustment amount as the goal, takes the sum instruction of the buoyancy adjustment mass and the mass difference instruction respectively output by the zero angle of attack controller and the zero rudder angle controller as the constraint conditions, and adopts an optimization method to realize the distribution of the comprehensive buoyancy adjustment instruction output by the zero angle of attack controller and the zero rudder angle controller to the instructions of each buoyancy adjustment device; The buoyancy adjustment instruction distributor performs the following steps: Variables to be solved: Objective function: Constraints: According to the constraints, the objective function is minimized to obtain the optimal mass instructions of N bow buoyancy control devices. and M bow buoyancy control device quality instructions 2. A method for optimizing control of a submersible's vertical navigation posture according to claim 1, It is characterized in that The buoyancy adjustment command distributor inputs the sum of the buoyancy adjustment mass commands output by the zero angle of attack controller and the zero rudder angle controller, respectively. Buoyancy adjustment mass difference command The output is the mass instruction of N bow buoyancy control devices Quality instructions for M bow buoyancy control devices The processing from input to output is transformed into a constrained quadratic programming problem. The variables to be solved are the mass instructions of each bow buoyancy regulating device and the stern buoyancy regulating device. The objective function is to minimize the sum of squares of mass changes of each bow buoyancy regulating device and the stern buoyancy regulating device. The constraints are that the sum of the mass instructions of each bow buoyancy regulating device and the stern buoyancy regulating device is equal to the input mass sum instruction, and the difference between the mass instructions of each bow buoyancy regulating device and the stern buoyancy regulating device is equal to the input mass difference instruction.
3. The method for optimizing the control of a submersible's vertical navigation posture according to claim 1, It is characterized in that The minimization of the objective function is solved by using any one of a first-order general quadratic programming solver, an interior point method, an active set method, and an intelligent search algorithm.
Citation Information
Patent Citations
Buoyancy force and attitude balancing device used for long-voyage AUV and control method
CN106542071A
Hybrid drive type underwater glider with various working modes
CN108609135A
Stem-stern joint steering depth control strategy of underwater vehicle and PID controller thereof
CN109144080A
Design method of AUV zero-attack-angle passive buoyancy adjusting system
CN111506985A
Buoyancy control method of unpowered rapid submerging and floating AUV
CN111547212A
