A virtual anchoring method for unmanned sailboat
Through the virtual anchoring method of unmanned sailboats, fuzzy control algorithms and steering gear actuators are used to solve the stability problems of traditional physical anchoring methods under strong winds and sea currents, achieve high-precision virtual anchoring, and reduce energy consumption and economic costs. .
Patent Information
- Application Number
- CN202410850492.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-28
AI Technical Summary
The traditional physical anchoring method has poor stability under the action of strong winds and sea currents, causing the unmanned sailboat to deviate from the predetermined monitoring point. The economic cost is high and it is impossible to achieve high-precision and long-term anchoring.
The virtual anchoring method of unmanned sailboats is adopted. Through data collection and fuzzy control algorithms, the rudder angle is adjusted in real time to maintain the ship in the initial position. The fuzzy controller and steering gear actuator are used to respond to changes in wind and waves to achieve virtual anchoring.
The probability of achieving a fixed-point error less than 5,000 meters under changing sea conditions reaches more than 80%, reducing energy consumption, improving anchoring accuracy, and reducing economic costs.
Smart Images

Figure CN118394093B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of unmanned sailboat anchoring, and in particular relates to a virtual anchoring method for an unmanned sailboat. Background Art
[0002] The traditional anchoring method relies on the fixation of physical anchors and anchor chains, which has the problems of high energy consumption, low anchoring accuracy and high economic cost. With the development of unmanned sailing technology, the demand for long-term and high-precision anchoring is growing.
[0003] As a marine environment monitoring platform, unmanned sailboats usually rely on a physical mooring system to achieve the positioning of the ship. The system requires a combination of anchor chains and heavy anchors to fix the ship. However, this method still has some limitations in the specific application process. The limitations of the traditional marine environment are as follows:
[0004] Misaligned mooring accuracy: Under the influence of strong winds and currents, the physical mooring system can easily cause the ship to deviate from the predetermined monitoring point, affecting the monitoring accuracy.
[0005] Wind and wave resistance: The physical mooring system has poor stability in severe sea conditions and may fail due to broken anchor chains or insufficient grip of the anchor claws.
[0006] Monitoring range: Due to the limitation of physical anchoring, the ship cannot flexibly adjust the monitoring position, resulting in a limited monitoring range. In addition, the traditional anchoring method has high economic cost. Summary of the invention
[0007] In order to overcome the problems existing in the related art, the disclosed embodiment of the present invention provides a virtual anchoring method for an unmanned sailboat.
[0008] The technical solution is as follows: A virtual anchoring method for an unmanned sailboat comprises:
[0009] S1, data collection: Before the unmanned sailboat starts, it collects wind speed and direction data and hydrological data of the current sea area;
[0010] S2, initial positioning: using the positioning system to determine the initial position of the unmanned sailboat;
[0011] S3, rudder operation: execute rudder action logic and perform virtual anchoring according to real-time wind speed and direction data;
[0012] S4, adjusts the rudder operation in real time through the fuzzy control algorithm to ensure that the unmanned sailboat is virtually anchored through the fuzzy control algorithm; continuously monitors the initial position information of the unmanned sailboat, and adjusts the fuzzy control algorithm to adjust the rudder angle to maintain anchoring.
[0013] In step S2, the initial position of the unmanned sailboat is determined using a positioning system, including: using sensors to collect environmental data such as wind speed, wind direction, and waves, as well as the current position of the sailboat, the state of the rudder angle, and the heading state of the sailboat.
[0014] In step S3, according to the real-time wind speed and direction data, the rudder action logic is executed to perform virtual anchoring, including:
[0015] According to the heading angle of the obtained multi-dimensional disturbance set, the heading angle and position information are used as input variables, and the fuzzy reasoning set is compared with the knowledge base, and the defuzzified output parameters are output. Then the feedback is continuously adjusted to calculate the rudder operation angle, and the operation angle is realized through MISO multi-input-single output rudder angle control to achieve virtual anchoring.
[0016] Implement virtual mooring, including:
[0017] Step 301, collect data and calculate it into input;
[0018] Step 302, fuzzy controller design: design a fuzzy controller, define fuzzy sets of input variables, build a fuzzy rule knowledge base, and implement a fuzzy reasoning system;
[0019] Step 303: The actuator of the steering gear adjusts the rudder angle according to the output of the fuzzy control to respond to the change of wind and waves and maintain the stable position of the sailboat at the virtual anchor point.
[0020] In step 301, the collected data is calculated as input, including:
[0021] (1) Collect the speed on the heading:
[0022] The initial position of the drift object is , after a certain period of time Then drift to a new position , according to the Lagrangian particle tracking method:
[0023] ;
[0024] In the formula, is the new position of the drift, is the initial position of the drifter, is the initial time, For time, is the speed at the current moment, is the drift coefficient;
[0025] The wave drift force is expressed as:
[0026] ;
[0027] In the formula, is the wave drift force, is the density of seawater, is the acceleration due to gravity, is the size of the drifting object, is the coefficient of wave drift force, is the wave height;
[0028] After combining wind, wave and current parameters, the speed of the boat is expressed as:
[0029] ;
[0030] In the formula, is the combined speed of the boat, is the velocity component generated by wind force, and the wind coefficient is the ratio of ion drift velocity to wind speed, with a value of 0.05-0.5; is the velocity component generated by the wave drift force, and the wave coefficient is 0.8-1; is the velocity component generated by tidal current and circulation, and the flow coefficient is 1-1.1;
[0031] (2) Based on the initial time and position information and a certain time Post-position information , the heading angle is obtained in the Cartesian coordinate system , the expression is:
[0032] ;
[0033] In the formula, is the heading angle;
[0034] (3) The expression of position distance is:
[0035] ;
[0036] In the formula, is the location distance.
[0037] In step 302, the fuzzy controller is designed, including:
[0038] (i) The membership function of the fuzzy linguistic variable input location distance s is divided into five fuzzy sets from 0 to 5000 meters;
[0039] (ii) Divide the heading angle a from 0 to 360 degrees into five fuzzy sets, and all inputs adopt the triangular membership function; Input heading angle membership: 360 degrees are divided into 45 degrees;
[0040] (iii) Divide the heading speed v from 0 to 1.5 m / s into 5 fuzzy sets;
[0041] (iv) Output quantity k: from -35 degrees to 0 degrees and from 0 to 35 degrees meters are divided into 5 fuzzy sets;
[0042] (v) Control algorithm, which implements the fuzzy control algorithm by writing a program that runs in the control system of the unmanned catamaran;
[0043] (vi) Obtain the fuzzy relationship matrix R.
[0044] In step 303, the actuator of the steering gear adjusts the rudder angle according to the output of the fuzzy control to respond to the change of wind and waves and maintain the stable position of the sailboat at the virtual anchor point, including: designing a fuzzy control system for fuzzy reasoning to realize that the actuator of the steering gear adjusts the rudder angle according to the output of the fuzzy control, and the fuzzy control system includes defining a fuzzy set, building a knowledge base, determining the domain of the deviation e and the deviation change rate ec, determining the language value and the membership function, and establishing the fuzzy control rule;
[0045] Defining the fuzzy set includes defining corresponding fuzzy subsets for input parameters of heading angle and position distance, and output parameter of rudder angle;
[0046] The construction of the knowledge base includes: a membership function, a scale transformation factor and the number of levels of the fuzzy space; the membership function defines the membership function for each fuzzy subset, using a Gaussian function, a triangular function or a trapezoidal function; the scale transformation factor is used to adjust the scale of the input variable to match the range of the fuzzy subset; the number of levels of the fuzzy space is used to define the number of fuzzy subsets of each input and output variable.
[0047] Furthermore, the domain of the deviation e and the deviation change rate ec is determined, including:
[0048] Deviation e and deviation change rate ec are used to indicate the difference between the current state and the expected state and its change;
[0049] The fuzzy control rules include:
[0050] If A is VS and P is VN, then R is VH;
[0051] If A is S and P is N, then R is H;
[0052] If A is M and P is M, then R is M;
[0053] If A is L and P is F, then R is L;
[0054] If A is VL and P is VF, then R is N.
[0055] In combination with all the above-mentioned technical solutions, the beneficial effects of the present invention are as follows: the present invention provides a virtual anchoring method for an unmanned sailboat, which can achieve a probability of more than 80% that the fixed-point error is less than a radius of 5,000 meters under changeable sea conditions, while reducing energy consumption, improving anchoring accuracy, and having a lower economic cost.
[0056] High-precision anchoring: Through precise control of the operation of the sail and rudder, high-precision anchoring can be achieved at higher wind speeds and directions.
[0057] Low energy consumption: The optimized control algorithm reduces unnecessary energy consumption and improves energy utilization efficiency.
[0058] Low economic cost: It avoids the physical loss in traditional mooring methods and reduces maintenance costs.
[0059] Strong adaptability: It can adapt to various sea conditions, including severe working conditions of level 4 sea breeze. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description, serve to explain the principles of the present disclosure;
[0061] Figure 1 is a flow chart of a virtual anchoring method for an unmanned sailboat provided by an embodiment of the present invention;
[0062] Figure 2 is a logical principle diagram of the rudder action provided by an embodiment of the present invention;
[0063] Figure 3 The present invention provides a method for obtaining a heading angle in a Cartesian coordinate system. Schematic diagram of the location coordinates;
[0064] Figure 4 is a schematic diagram of a virtual anchoring method for an unmanned sailboat provided by an embodiment of the present invention;
[0065] Figure 5 is a membership function diagram of the distance in the input parameter provided by an embodiment of the present invention;
[0066] Figure 6 It is a 24-hour trajectory diagram of a buoy provided by an embodiment of the present invention;
[0067] Figure 7 It is a virtual anchoring fixed point error distance frequency diagram provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0068] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific implementation disclosed below.
[0069] Technical terms related to the present invention:
[0070] Level 4 wind is called a moderate breeze, with wind speeds between 11 and 16 knots. In this case, there will be many small white cap waves on the sea surface, with wave heights generally between 1 and 1.5 meters.
[0071] Force 5 (Fresh Breeze): The wind speed is about 19-24 knots, the waves begin to form white caps, and the sailboat may need to reduce the sail area to adapt to this wind force.
[0072] Strong Breeze: The wind speed is about 25-31 knots. The waves are more obvious. The sailboat needs to adopt a more active control strategy and must reduce the sail area.
[0073] Near Gale: Wind speed is about 32-38 knots, and the waves increase significantly. The sailboat may need to further reduce the sail area or even reef the sail completely.
[0074] Input: wind speed, direction, positioning; Output: location information.
[0075] The innovation of the present invention is that the present invention uses a fuzzy control algorithm to control the rudder angle of the unmanned sailboat so that it is within a 5,000-meter radius of a fixed point (dot). The existing virtual anchoring technical solutions mostly use trajectory prediction. The present invention comprehensively analyzes hydrological and meteorological parameters such as wave flow, combines its own position, and realizes virtual anchoring through fuzzy control means, and the probability is greater than or equal to 80%. That is, the virtual anchoring system of the present invention can reduce energy consumption compared with the traditional anchoring method, and can achieve a virtual anchoring fixed point error of less than 5,000 meters radius probability ≧ 80% within 24 hours.
[0076] Embodiment 1, as Figure 1 As shown, the virtual anchoring method of the unmanned sailboat provided by the embodiment of the present invention includes:
[0077] S1, data collection: Before the unmanned sailboat starts, it collects wind speed and direction data and hydrological data of the current sea area;
[0078] S2, initial positioning: using the positioning system to determine the initial position of the unmanned sailboat;
[0079] S3, rudder operation: execute rudder action logic and perform virtual anchoring according to real-time wind speed and direction data;
[0080] S4, adjusts the rudder operation in real time through the fuzzy control algorithm to ensure that the unmanned sailboat is virtually anchored through the fuzzy control algorithm; continuously monitors the initial position information of the unmanned sailboat, and adjusts the fuzzy control algorithm to adjust the rudder angle to maintain anchoring.
[0081] In step S2, the sensors are installed and calibrated: an anemometer, a wind vane, a wave sensor and a GPS positioning system are installed on the unmanned catamaran and calibrated; the sensors are used to collect environmental data such as wind speed, wind direction, waves, as well as the current position and rudder angle status of the sailboat, and the heading status of the sailboat.
[0082] For example, a wind direction sensor is used to determine the direction of the wind;
[0083] Use wave sensors to measure wave height, period and direction;
[0084] Use GPS sensor to provide the current position coordinates of the sailboat;
[0085] Use the inertial measurement unit (IMU) to provide navigation speed and heading;
[0086] The rudder angle sensor is used to monitor the rotation angle of the rudder and obtain the heading status of the sailboat.
[0087] In step S3, fuzzy controller development is required: fuzzy logic software tools are used to develop fuzzy controllers, including defining input and output variables, building a rule base, and designing an inference mechanism;
[0088] In step S3, system integration is also required: integrating the fuzzy controller with the control system and actuator (steering gear) of the sailboat to ensure seamless communication and coordinated control.
[0089] In step S3, a simulation test is required: a simulation test is performed on the fuzzy controller in a controlled environment, and the rule base is adjusted to optimize the control performance.
[0090] In step S4, a sea trial is also required: a sea trial is conducted on the unmanned catamaran in an actual marine environment to evaluate the performance of fuzzy control under different sea conditions and make necessary adjustments.
[0091] In step S4, real-time monitoring and adjustment: During the virtual anchoring operation, the sailboat status and environmental data are monitored in real time, and the fuzzy controller parameters are adjusted according to the feedback.
[0092] In step S4, data analysis is also required: collecting test data, analyzing the performance of the fuzzy controller, optimizing the control rules, and improving the accuracy and reliability of virtual mooring.
[0093] The virtual mooring method for an unmanned sailboat provided by the present invention can effectively cope with complex sea conditions and achieve long-term, high-precision mooring positioning, and has significant practical value and market application prospects.
[0094] Through the above examples, it can be seen that after the technical solution is transformed and put on the market, it will achieve an annual revenue of 1.5 million yuan. In the transformation of high-tech achievements, with patent industrialization as the main line, it guides and cultivates a group of small and medium-sized enterprises that master key core technologies and have high growth potential, and provides effective guarantee and support for achieving high-level scientific and technological self-reliance and high-quality development. It can help enterprises better utilize high-tech achievement transformation projects to obtain commercial value.
[0095] Traditional virtual anchoring solutions have different technical means for re-entering the anchoring state when deviating from the anchoring state. The steering gear controls the rudder angle by predicting the trajectory. The technical solution of the present invention uses a fuzzy control algorithm to calculate the current expected rudder angle and execute the steering by numerically analyzing the ocean dynamic model and combining the position of the unmanned sailboat itself. Compared with the navigation control algorithm, the fuzzy control algorithm can eliminate the influence of the inability to switch the anchor point autonomously due to the external environment when anchoring.
[0096] The technical solution of the present invention analyzes the hydrodynamic characteristics and the influence of wind, waves, currents, etc. on the hull at sea to verify whether the mooring system can work in complex sea conditions. The technical problem of coupling effect caused by the swaying of the carrier in virtual mooring control is solved by fuzzy control technology.
[0097] The scheme of the present invention does not adopt the technical means of physical anchoring. When controlling the movement of the ship, the anchor must be raised in advance, especially when the anchor machine is in poor working condition. The technical means of virtual anchoring overcomes the inconvenience caused by the large load of the anchor block when raising the anchor in physical anchoring, and reduces the damage or malfunction of the anchor machine caused by unexpected failure of the power machinery equipment.
[0098] Embodiment 2, as Figure 4 As shown, the virtual anchoring method of the unmanned sailboat provided by the embodiment of the present invention includes:
[0099] Step 1: Obtain wind speed and direction data: Use shipborne sensors to obtain current wind speed and direction data in real time;
[0100] Step 2, IMU sensor and positioning system: Use GPS or other satellite positioning systems to obtain the real-time position information of the unmanned sailboat; (For positioning in the northern hemisphere, the rudder angle rotates to the right when it is with the wind or against the wind; for positioning in the southern hemisphere, the rudder angle rotates to the left. That is, the rudder angle turns along the ocean current).
[0101] Sensors are installed to collect environmental data such as wind speed, wind direction, waves, as well as the current position of the sailboat and the rudder angle status.
[0102] (1) Wind speed sensor: used to measure wind speed. Common types of wind speed sensors include:
[0103] Propeller wind speed sensor: measures wind speed by the rotation speed of the propeller.
[0104] Cup wind speed sensor: uses three or four cup-shaped structures to sense wind pressure and determines wind speed by the rotation speed.
[0105] Ultrasonic wind speed sensor: uses the change in the speed of ultrasonic waves in the air to measure wind speed and direction.
[0106] (2) Wind direction sensor: used to determine the direction of the wind. The wind direction sensor can be:
[0107] Mechanical wind vane: measures wind direction by the direction of the wind.
[0108] Electronic wind direction sensor: Uses an electronic compass or gyroscope to sense changes in wind direction.
[0109] (3) Wave sensor: used to measure the height, period and direction of waves. For example:
[0110] SVS-603 Wave Height Sensor: Based on MEMS technology, it can report heading, wave height, wave period and wave direction.
[0111] (4) GPS sensor: Provides the current coordinates of the sailboat. The GPS sensor can accurately determine the longitude and latitude of the sailboat at sea.
[0112] (5) Inertial Measurement Unit (IMU): Provides navigation speed and heading. IMU usually includes a three-axis gyroscope and a three-axis accelerometer, and some models also include a magnetometer.
[0113] (6) Rudder angle sensor: used to monitor the rotation angle of the rudder in order to understand the heading status of the sailboat. The rudder angle sensor can be a potentiometer or an encoder: installed on the steering gear, used to measure the rotation angle of the rudder blade.
[0114] There is no need to do any special data analysis for the obtained values. Simply preprocess the data to remove abnormal values (empty or 0).
[0115] Step 3, rudder action logic: Based on the acquired multi-dimensional disturbance set, the optimal operating angle of the rudder is calculated through a rudder angle adjustment algorithm similar to an expert knowledge base to achieve virtual anchoring.
[0116] According to the obtained multi-dimensional disturbance set, the heading angle and position information are used as input variables, and the fuzzy reasoning set is compared with the knowledge base to output the defuzzified clear output parameters, and then the feedback is continuously adjusted to calculate the optimal operating angle of the rudder angle. The optimal operating angle is achieved through MISO multi-input-single output rudder angle control to achieve virtual anchoring. Figure 2 shown.
[0117] Specifically, the following steps are included:
[0118] Step 301, collect data and calculate it into input quantity.
[0119] (1) Collect the speed on the heading:
[0120] The initial position of the drift object is , after a certain period of time Then drift to a new position , according to the Lagrangian particle tracking method:
[0121] ;
[0122] In the formula, is the new position of the drift, is the initial position of the drifter, is the initial time, For time, is the speed at the current moment, is the drift coefficient;
[0123] The wave drift force is expressed as:
[0124] ;
[0125] In the formula, is the wave drift force, is the density of seawater, is the acceleration due to gravity, is the size of the drifting object, is the coefficient of wave drift force, is the wave height;
[0126] After combining wind, wave and current parameters, the speed of the boat is expressed as:
[0127] ;
[0128] In the formula, is the combined speed of the boat, is the velocity component generated by wind force, and the wind coefficient is the ratio of ion drift velocity to wind speed, with a value of 0.05-0.5; is the velocity component generated by the wave drift force, and the wave coefficient is 0.8-1; is the velocity component generated by tidal current and circulation, and the flow coefficient is 1-1.1;
[0129] (2) Based on the initial time and position information and a certain time Post-position information , the heading angle is obtained in the Cartesian coordinate system :
[0130] ;
[0131] In the formula, is the heading angle;
[0132] (3) The expression of position distance is:
[0133] ;
[0134] In the formula, is the location distance.
[0135] Step 302, such as Figure 3 As shown, fuzzy controller design: design a fuzzy controller, define the fuzzy sets of input variables, build a fuzzy rule knowledge base, and implement the fuzzy reasoning system.
[0136] (i) The membership function of the fuzzy linguistic variable input position distance s is as follows: Figure 5 ,Table 1 shows the membership change level of the input position distance s.
[0137] From 0 to 5000 meters, it is divided into 5 fuzzy sets: very far (VB) 4000 to 5000 meters, far (B) 3000 to 4000 meters, medium (M) 2000 to 3000 meters, near (S) 1000 to 2000 meters, very close (VS) 0 to 1000 meters.
[0138] Table 1 Membership change level table of input position distance s:
[0139]
[0140] (ii) The heading angle a from 0 to 360 degrees is divided into five fuzzy sets: very large (VB), large (B), medium (M), small (S), and very small (VS). The input quantities all use the triangular membership function.
[0141] The input heading angle membership is shown in Table 2. 360 degrees are divided into 45 degrees each, and there are 1, 2, 3, 4, 5, 6, 7, and 8 in total.
[0142] Table 2 Input heading angle membership:
[0143]
[0144] (iii) Divide the heading speed v from 0 to 1.5 m / s into five fuzzy sets: very fast (VB), fast (B), medium (M), slow (S), and very slow (VS). The speed values are 0-0.5 m / s, 0.5-1 m / s, and 1-1.5 m / s. The membership of the input heading speed v is shown in Table 3.
[0145] Table 3 Input heading speed v membership:
[0146]
[0147] (iv) Output quantity k: From -35 degrees to 0 degrees and from 0 to 35 degrees, meters are divided into five fuzzy sets: very large (VB), large (B), medium (M), small (S), and very small (VS), as shown in Table 4.
[0148] Table 4 Membership of output rudder angle k:
[0149]
[0150] When the rudder angle reaches a certain value, the streamline around the rudder separates from the edge of the rudder, and vortices will be generated at the upper and lower edges and the rear of the rudder blade. The vortices will reduce the lift of the rudder and increase the resistance of the rudder, that is, stall. Therefore, a rudder angle limiter is set on the ship's steering device to prevent the actual rudder angle from being too large during steering and causing stall. The rudder angle is usually limited to a certain range (generally not more than 35 degrees).
[0151] (v) Control algorithm implementation: The fuzzy control algorithm is implemented by writing a program, which runs in the control system of the unmanned catamaran. Fuzzy control rule pseudo code (example):
[0152] IF it is far from the anchor point, the heading angle is large, and the speed is very high THEN the rudder angle is large;
[0153] IF it is far from the anchor point, the heading angle is large, the speed is very high THEN the rudder angle is large;
[0154] IF it is midway from the anchor point, the heading angle is large, THEN the rudder angle is midway;
[0155] IF it is close to the anchor point, the heading angle is large, THEN the rudder angle is small;
[0156] IF very close to the anchor point, the heading angle is large, THEN the rudder angle is small.
[0157] The following table 5 is used to explain in detail:
[0158] Table 5 Pseudocode of fuzzy control rules Control situation:
[0159]
[0160] Table 5 (continued):
[0161]
[0162] Table 5 (continued):
[0163]
[0164] Table 5 (continued):
[0165]
[0166] Table 5 (continued):
[0167]
[0168] (vi) Obtain the fuzzy relationship matrix R;
[0169] Step 303, the actuator, the steering gear adjusts the rudder angle according to the output of the fuzzy control to respond to the change of wind and waves and maintain the stable position of the sailboat at the virtual anchor point.
[0170] Designing a fuzzy control system involves multiple steps, including defining fuzzy sets, building a knowledge base, determining linguistic values and membership functions, establishing fuzzy control rules, and implementing fuzzy inference algorithms. The following is a simplified example showing how to design a fuzzy control system for the system described:
[0171] (a) Define fuzzy subsets.
[0172] For the input parameters Azimuth Angle and Position Distance, and the output parameter Rudder Angle, define their fuzzy subsets.
[0173] The fuzzy subsets of heading angle (A) may include: {very small (VS), small (S), medium (M), large (L), and very large (VL)};
[0174] The fuzzy subsets of position distance (P) may include: {very close (VN), near (N), medium (M), far (F), very far (VF)};
[0175] The fuzzy subsets of rudder angle (R) may include: {none (N), little (L), medium (M), much (H), very much (VH)};
[0176] (b) Build a knowledge base.
[0177] The knowledge base contains membership functions, scaling factors and the number of levels in the fuzzy space.
[0178] Membership function: A membership function is defined for each fuzzy subset, usually using a Gaussian function, a triangular function, or a trapezoidal function.
[0179] Scaling factor: used to adjust the scale of the input variables so that they match the range of the fuzzy subsets.
[0180] Number of levels in the fuzzy space: defines the number of fuzzy subsets for each input and output variable.
[0181] (c) The domain of the deviation e and the rate of change of the deviation ec.
[0182] Deviation e (Error) and deviation change rate ec (Change in Error) are commonly used terms in fuzzy control systems, which are used to indicate the difference between the current state and the desired state and its change.
[0183] The domain of the deviation e may include: {negative large (NL), negative medium (NM), zero (Z), positive medium (PM), positive large (PL)};
[0184] The domain of the deviation change rate ec may include: {negative large (NL), negative medium (NM), zero (Z), positive medium (PM), positive large (PL)};
[0185] (d) Linguistically valued membership functions.
[0186] Define linguistically valued membership functions for each fuzzy subset, including:
[0187] If A is VS and Р is VN, then R is VH; if A is S and Р is N, then R is H; if A is M and Р is M, then R is M; if A is L and P is F, then R is L;
[0188] (e) Establish fuzzy control algorithm.
[0189] The fuzzy control algorithm usually includes the following steps:
[0190] Fuzzification: Converting exact input values into membership of fuzzy sets.
[0191] Rule activation: Activate relevant control rules based on current input.
[0192] Inference: Apply fuzzy logic to infer the activated rules and produce fuzzy sets of outputs.
[0193] Defuzzification: Converting the inferred fuzzy sets back into precise output values.
[0194] Example fuzzy control rule:
[0195] Here are some simple examples of fuzzy control rules:
[0196] If A is VS and P is VN, then R is VH.
[0197] If A is S and P is N, then R is H.
[0198] If A is M and P is M, then R is M.
[0199] If A is L and P is F, then R is L.
[0200] If A is VL and P is VF, then R is N.
[0201] Step 4, adjust the rudder operation in real time through the fuzzy control algorithm to ensure that the unmanned sailboat is virtually anchored along the virtual anchor system through the fuzzy control algorithm. The virtual anchor can maintain a fixed point error within a radius of 5,000 meters within 24 hours, and the probability reaches more than 80%.
[0202] Step 5, monitoring and adjustment: Continuously monitor the position information of the unmanned sailboat and adjust the fuzzy control algorithm when necessary to maintain high-precision anchoring.
[0203] It can be seen from the above embodiments that the present invention can accurately calculate the required heading angle in high-precision anchoring by integrating multi-dimensional disturbance factors such as wind speed, wind direction, waves, and ocean currents. Using language control rules and a fuzzy logic controller, the heading angle and real-time position information are used as input variables, compared with the data in the knowledge base, and fuzzy reasoning is performed to determine the optimal rudder angle operation. This process does not require considering multiple factors to establish a complex and accurate model of the controlled object. This process continuously feeds back and adjusts to ensure that the sailboat can achieve high-precision virtual anchoring at higher wind speeds and wind directions.
[0204] In terms of low energy consumption and low economic cost, the optimized control algorithm has carefully designed the operation of the sail and rudder, reducing energy consumption during the control process. Through precise control, additional energy consumption caused by improper operation is avoided, thereby improving energy utilization efficiency. This intelligent control strategy reduces dependence on wind power and can maintain the stable position of the sailboat even when the wind speed changes greatly, further reducing energy consumption. This technical solution adopts virtual mooring technology, avoiding the use of equipment such as anchor chains and anchors in traditional physical mooring methods, thereby reducing physical losses and maintenance costs. Virtual mooring technology does not require the recovery and rearrangement of anchor chains, reducing the investment of manpower and material resources, while reducing potential environmental risks caused by anchor chains or anchors.
[0205] In terms of strong adaptability and robustness, the virtual anchoring system of the unmanned sailboat can adapt to changing sea conditions, including maintaining stability under harsh working conditions. The design of the fuzzy controller takes into account the influence of various sea conditions, so that the sailboat can effectively self-regulate even in a complex marine environment and remain anchored at the predetermined position. After fuzzification and clarification processing, it is less affected by external interference and parameter changes, and is particularly suitable for the control of nonlinear, time-varying and pure lag systems.
[0206] In terms of practicality, the MISO (multiple input-single output) control system optimizes the rudder angle control, achieving a single optimal output under comprehensive consideration of multiple factors, that is, the optimal rudder angle operation angle. This control strategy not only improves the stability and safety of the unmanned sailboat, but also reduces human intervention through intelligent operation, improving the reliability and practicality of the entire system.
[0207] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0208] To further illustrate the effects of the embodiments of the present invention, the following experiment was conducted.
[0209] 1. The unmanned sailboat collects data and transmits data in the experiment;
[0210] 2. Serial port debugging data of each control module;
[0211] 3. Sea trial requirements table, as shown in Table 6.
[0212] Table 6 Sea trial requirements:
[0213]
[0214] 4. The first test was carried out in January 2023. A virtual anchor point (120.94565°E, 36.28963°N) was set. After anchoring, the deviation distance within 24 hours was tested. The test results showed that the probability of the virtual anchor point error within 24 hours being less than 5000 meters radius was ≥ 97%. The results are as follows Figure 6 , Figure 7 shown.
[0215] After optimizing the algorithm, the second test was carried out in April 2023, setting a virtual anchor point (120.93874°E, 36.31730°N) and testing its deviation distance within 24 hours after anchoring. The test results showed that the probability of the virtual anchor point error within 24 hours being less than 5,000 meters radius was 100%.
[0216] Table 7 Comparison of wind and wave levels 0 to 4:
[0217]
[0218] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principles of the present invention should be covered within the protection scope of the present invention.
Claims
1. A virtual anchoring method for an unmanned sailboat, characterized in that: The method includes: S1, data collection: Before the unmanned sailboat starts, it collects wind speed and direction data and hydrological data of the current sea area; S2, initial positioning: using the positioning system to determine the initial position of the unmanned sailboat; S3, rudder operation: execute rudder action logic and perform virtual anchoring according to real-time wind speed and direction data; S4, adjusting the rudder operation in real time through the fuzzy control algorithm to ensure that the unmanned sailboat is virtually anchored through the fuzzy control algorithm; continuously monitoring the initial position information of the unmanned sailboat, and adjusting the fuzzy control algorithm to adjust the rudder angle to maintain anchoring; In step S3, according to the real-time wind speed and direction data, the rudder action logic is executed to perform virtual anchoring, including: According to the heading angle of the acquired multi-dimensional disturbance set, the heading angle and position information are used as input variables, and the fuzzy reasoning set is compared with the knowledge base to output the defuzzified clear output parameters, and then the feedback is continuously adjusted to calculate the rudder angle operation angle, and the multi-input-single-output rudder angle control is performed through MISO to realize the operation angle and achieve virtual anchoring; Implement virtual mooring, including: Step 301, collect data and calculate it into input; Step 302, fuzzy controller design: design a fuzzy controller, define fuzzy sets of input variables, build a fuzzy rule knowledge base, and implement a fuzzy reasoning system; Step 303, the actuator of the steering gear adjusts the rudder angle according to the output of the fuzzy control to respond to the change of wind and waves and maintain the stable position of the sailboat at the virtual anchor point; In step 301, the collected data is calculated as input, including: (1) Collect the speed on the heading: The initial position of the drifter is S0. After a certain time Δt, it drifts to a new position S. According to the Lagrangian particle tracking method, we get: Where S is the new position of the drift, S0 is the initial position of the drifter, t0 is the initial time, t is the time, V t is the speed at the current moment, Δα is the drift coefficient; The wave drift force is expressed as: In the formula, F W is the wave drift force, ρ is the seawater density, g is the gravitational acceleration, D is the size of the drifting object, C w is the coefficient of wave drift force, H W is the wave height; After combining wind, wave and current parameters, the speed of the boat is expressed as: V l =V w +V e +V c Where V l is the combined speed of the boat, V w is the velocity component generated by wind force. The wind coefficient is the ratio of ion drift velocity to wind speed, and its value is 0.05-0.5; V e V is the velocity component generated by the wave drift force, and the wave coefficient is 0.8-1; c is the velocity component generated by tidal current and circulation, and the flow coefficient is 1-1.1; (2) Based on the initial time position information (x1, y1) and the position information (x2, y2) after a certain time Δt, the heading angle is obtained in the Cartesian coordinate system The expression is: In the formula, is the heading angle; (3) The expression of position distance is: Where s is the position distance; In step 302, the fuzzy controller is designed, including: (i) The membership function of the fuzzy linguistic variable input location distance s is divided into five fuzzy sets from 0 to 5000 meters; (ii) Divide the heading angle a from 0 to 360 degrees into five fuzzy sets, and all inputs adopt the triangular membership function; Input heading angle membership: 360 degrees are divided into 45 degrees; (iii) Divide the heading speed v from 0 to 1.5 m / s into 5 fuzzy sets; (i v ) Output quantity k: from -35 degrees to 0 degrees and 0 to 35 degrees meters are divided into 5 fuzzy sets; (v) control algorithm, which implements the fuzzy control algorithm by writing a program that runs in the control system of the unmanned catamaran; (vi) obtaining the fuzzy relationship matrix R; In step 303, the actuator of the steering gear adjusts the rudder angle according to the output of the fuzzy control to respond to the change of wind and waves and maintain the stable position of the sailboat at the virtual anchor point, including: designing a fuzzy control system for fuzzy reasoning to realize that the actuator of the steering gear adjusts the rudder angle according to the output of the fuzzy control, and the fuzzy control system includes defining a fuzzy set, building a knowledge base, determining the domain of the deviation e and the deviation change rate ec, determining the language value and the membership function, and establishing the fuzzy control rule; Defining the fuzzy set includes defining corresponding fuzzy subsets for input parameters of heading angle and position distance, and output parameter of rudder angle; The construction of the knowledge base includes: a membership function, a scale transformation factor and a hierarchical number of the fuzzy space; the membership function defines a membership function for each fuzzy subset, using a Gaussian function, a triangular function or a trapezoidal function; the scale transformation factor is used to adjust the scale of the input variable to match the range of the fuzzy subset; the hierarchical number of the fuzzy space is used to define the number of fuzzy subsets for each input and output variable; The domain for determining the deviation e and the rate of change of the deviation ec includes: Deviation e and deviation change rate ec are used to indicate the difference between the current state and the expected state and its change; The fuzzy control rules include: If A is VS and P is VN, then R is VH; If A is S and P is N, then R is H; If A is M and P is M, then R is M; If A is L and P is F, then R is L; If A is VL and P is VF, then R is N.
2. The virtual anchoring method of an unmanned sailboat according to claim 1, characterized in that: In step S2, the initial position of the unmanned sailboat is determined using a positioning system, including: using sensors to collect environmental data such as wind speed, wind direction, and waves, as well as the current position of the sailboat, the state of the rudder angle, and the heading state of the sailboat.
Citation Information
Patent Citations
Course control method and system for sail navigation aid ship
CN103558854A
Virtual anchoring navigation control algorithm for wave glider
CN111142541A
Dynamic virtual anchoring control method and system for water surface unmanned vehicle
CN111722627A
Unmanned sailboat virtual anchoring path tracking control method
CN116594383A
Task planning system based on water unmanned equipment and water unmanned equipment
CN117806310A
