Unmanned tourist boat ADRC automatic driving positioning control system
The ADRC autonomous driving positioning control system for unmanned sightseeing boats, which dynamically adjusts the linear interval threshold and feedback gain, solves the problem of slow response or oversensitivity of traditional active disturbance rejection controllers in complex shallow water disturbance environments. It achieves rapid correction and smooth control, improving the positioning accuracy and comfort of unmanned sightseeing boats.
Patent Information
- Application Number
- CN202611423301.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-14
- Publication Date
- 2026-11-24
AI Technical Summary
Traditional active disturbance rejection controllers (AVRCs) in the positioning control of unmanned sightseeing boats use linear interval thresholds and feedback gains with fixed parameters. They cannot balance rapid response and actuator stability in complex shallow water disturbance environments. This results in the controller responding slowly under large disturbances or being oversensitive under small disturbances, increasing energy consumption and aggravating mechanical wear.
An ADRC (Autonomous Driving Control) positioning and control system for unmanned sightseeing boats was designed. It employs a state measurement module, a composite disturbance observation and adaptive active disturbance rejection controller, a disturbance factor adaptive nonlinear processing submodule, and an adaptive control law calculation submodule. By dynamically adjusting the linear interval threshold and feedback gain, it achieves real-time response to the rate of change of disturbance. Combined with an environmental perception module and a thrust distribution and execution module, the controller parameters are optimized.
In complex shallow water disturbance environments, the system can quickly correct deviations and maintain stability, improving positioning accuracy and ride comfort, reducing energy consumption and extending the life of mechanical components.
Smart Images

Figure CN123156609A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of ship motion control and autonomous driving technology, specifically relating to the ADRC autonomous driving positioning control system for unmanned sightseeing boats. Background Technology
[0002] When unmanned sightseeing boats perform fixed-point docking and automatic cruising tasks in scenic areas, parks, and other waterways, they need to maintain high-precision positioning under environmental disturbances such as wind, waves, and currents. Existing technologies often employ active disturbance rejection control (ADRC), the core of which lies in using an extended state observer to estimate the total disturbance experienced by the system in real time and compensate for it in the control law. However, the nonlinear error feedback function in traditional ADRC controllers typically uses a linear interval threshold with fixed parameters and a fixed feedback gain. When unmanned sightseeing boats operate in shallow water, changes in water depth cause nonlinear changes in the water resistance experienced by the hull. Coupled with rapid fluctuations in the intensity of disturbances such as gusts, fixed parameter configurations are difficult to balance control performance under different disturbance intensities. Specifically, when the disturbance increases sharply, the fixed linear interval threshold leads to a slow controller response, and the position error cannot be quickly suppressed, causing the sightseeing boat to deviate from the target docking point. Conversely, when the disturbance is weak, the fixed feedback gain makes the controller overly sensitive, causing frequent actions of the propeller and servo motors, increasing energy consumption and aggravating mechanical wear.
[0003] Therefore, there is an urgent need for a positioning control technology that can automatically adjust the internal parameters of the controller in complex shallow water disturbance environments, while taking into account both rapid response and the stability of the actuator. Summary of the Invention
[0004] The purpose of this invention is to overcome the shortcomings of existing technologies and propose an ADRC (Autonomous Driving Control and Positioning) system for unmanned sightseeing boats, comprising: The status measurement module is used to measure the actual position and speed of the unmanned sightseeing boat. A composite disturbance observation and adaptive active disturbance rejection controller, communicatively connected to the state measurement module, includes: an error determination unit, used to determine the position error based on the actual position and the preset desired position, and to determine the velocity error based on the actual velocity and the preset desired velocity; an extended state observer, used to generate a total system disturbance estimate and its rate of change based on the actual position, the actual velocity, and the control output; and a disturbance factor adaptive nonlinear processing submodule, used to generate nonlinear position error processing based on the position error, the velocity error, and the rate of change of disturbance. The system comprises: a quantity and a nonlinear velocity error processing quantity, wherein the linear interval threshold of the adaptive nonlinear processing submodule for the disturbance factor decreases as the rate of change of the disturbance increases; an adaptive control law calculation submodule, used to calculate the control output quantity based on the nonlinear position error processing quantity, the nonlinear velocity error processing quantity, the estimated total system disturbance, and the adaptive feedback gain, wherein the adaptive feedback gain increases as the rate of change of the disturbance increases; and a thrust distribution and execution module, connected to the composite disturbance observation and adaptive active disturbance rejection controller, used to receive and execute the control output quantity to drive the thruster action of the unmanned sightseeing vessel.
[0005] Preferably, it further includes an environmental sensing module, which is communicatively connected to the composite disturbance observation and adaptive active disturbance rejection controller. The environmental sensing module includes an anemometer, a water flow velocity and direction meter, and a water depth detector. The environmental sensing module is used to acquire environmental parameters, including relative wind speed and relative wind direction angle acquired by the anemometer, relative water flow velocity and relative flow direction angle acquired by the water flow velocity and direction meter, and water depth acquired by the water depth detector.
[0006] More preferably, the state measurement module includes a global navigation satellite system positioning device and an inertial measurement unit, wherein the actual position is obtained by the global navigation satellite system positioning device, and the actual velocity is obtained by integration calculation based on the actual acceleration obtained by the inertial measurement unit.
[0007] Further preferably, the composite disturbance observation and adaptive active disturbance rejection controller further includes a composite disturbance feedforward calculation submodule. The composite disturbance feedforward calculation submodule is used to calculate the equivalent disturbance acceleration of environmental forces based on a preset composite disturbance feedforward model. In the composite disturbance feedforward model, the equivalent disturbance acceleration of environmental forces is expressed as a function of the total mass of the unmanned sightseeing vessel, air density, adaptive drag coefficient related to the relative wind direction angle, positive windward projection area of the hull above the waterline, relative wind speed, water density, adaptive water flow resistance coefficient related to the relative flow direction angle, positive windward projection area of the hull below the waterline, relative water flow velocity, and shallow water drag effect factor related to the water depth. The extended state observer is also used to generate the total disturbance estimate of the system based on the equivalent disturbance acceleration of environmental forces.
[0008] More preferably, the shallow water drag effect factor is expressed as an exponential function with the ratio of the draft of the unmanned sightseeing vessel to the water depth as the independent variable.
[0009] More preferably, the disturbance factor adaptive nonlinear processing submodule generates the nonlinear position error processing amount and the nonlinear velocity error processing amount based on a preset disturbance factor adaptive nonlinear function. In the disturbance factor adaptive nonlinear function, when the absolute value of the input error is less than or equal to the linear interval threshold, the nonlinear processing amount is expressed as the ratio of the input error to a specific power of the linear interval threshold. When the absolute value of the input error is greater than the linear interval threshold, the nonlinear processing amount is expressed as the product of the specific power of the absolute value of the input error and the sign function of the input error. The linear interval threshold is expressed as a negative exponential function with the disturbance change rate as the independent variable.
[0010] More preferably, the adaptive control law calculation submodule calculates the control output based on a preset adaptive control law. In the adaptive control law, the control output is expressed as the product of the reciprocal of the control gain constant and a polynomial within parentheses. The polynomial within parentheses includes a product term of the adaptive feedback gain for the position error and the nonlinear position error processing amount, a product term of the adaptive feedback gain for the velocity error and the nonlinear velocity error processing amount, and a term subtracting the estimated total system disturbance. The adaptive feedback gain is expressed as the product of a reference gain constant and a scheduling factor, and the scheduling factor includes a ratio term of the disturbance change rate to the upper limit of the disturbance change rate.
[0011] More preferably, the extended state observer is a continuous nonlinear extended state observer, which is used to receive the actual position, the actual velocity and the control output, and generate the total system disturbance estimate based on a preset observer bandwidth parameter.
[0012] More preferably, the thrust distribution and execution module includes a thruster driver and a thruster. The thruster driver is electrically connected to the adaptive control law calculation submodule to receive the control output. The thruster driver is electrically connected to the thruster to drive the thruster to generate corresponding thrust according to the control output.
[0013] More preferably, the composite disturbance observation and adaptive active disturbance rejection controller is implemented by an embedded microprocessor. The embedded microprocessor includes at least one processor core and a memory communicatively connected to the at least one processor core. The memory stores computer instructions, which, when executed by the at least one processor core, enable the embedded microprocessor to perform the functions of the error determination unit, the extended state observer, the disturbance factor adaptive nonlinear processing submodule, and the adaptive control law calculation submodule.
[0014] Technical effects: This invention designs the linear interval threshold and feedback gain in the active disturbance rejection controller as adaptive parameters that are dynamically linked to the disturbance rate of change. When the disturbance rate of change increases, the linear interval threshold automatically decreases to enhance sensitivity to small errors and accelerate system response, while the feedback gain automatically increases to provide stronger control against disturbances. When the disturbance rate of change decreases, the linear interval threshold automatically increases to avoid high-frequency chatter, and the feedback gain automatically decreases to reduce the operating frequency of the actuator. This parameter linkage mechanism solves the fundamental problem of poor adaptability of traditional active disturbance rejection controllers in shallow water and complex disturbance environments, enabling the system to quickly correct deviations under strong disturbances and maintain stability under weak disturbances, thereby improving the positioning accuracy and ride comfort of unmanned sightseeing boats in shallow water and multi-disturbance scenarios. Attached Figure Description
[0015] Figure 1 Schematic diagram of the overall architecture of the ADRC control system for unmanned sightseeing boats; Figure 2 A single-cycle timing diagram of the ADRC control system for unmanned sightseeing boats. Detailed Implementation
[0016] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0017] The existing technology has the following technical problems: Traditional active disturbance rejection controllers (AVRCs) in the positioning control of unmanned sightseeing boats employ fixed parameters, linear interval thresholds, and fixed feedback gains. When the sightseeing boat travels in shallow water, changes in water depth cause significant nonlinear changes in the water resistance experienced by the hull, while the intensity of disturbances such as gusts also fluctuates rapidly. In such complex shallow water disturbance environments, the fixed linear interval threshold prevents the controller from quickly narrowing the linear interval range when large disturbances occur, resulting in slow error response and the sightseeing boat deviating from the preset docking point. Conversely, when disturbances are weak, the fixed feedback gain makes the controller oversensitive to small errors, causing frequent actions of the propeller and servo motors, which not only increases energy consumption but also exacerbates mechanical wear. Therefore, there is an urgent need for a positioning control scheme that can automatically adjust the internal parameters of the controller according to the real-time intensity of the disturbance, while balancing rapid correction and the stability of the actuators.
[0018] Based on this, please refer to Figures 1-2 This embodiment provides an adaptive anti-disturbance positioning control system for unmanned sightseeing boats, including: A state measurement module is used to measure the actual position and actual speed of the unmanned sightseeing boat; a composite disturbance observation and adaptive active disturbance rejection controller is communicatively connected to the state measurement module. The composite disturbance observation and adaptive active disturbance rejection controller includes an error determination unit, which is used to determine the position error based on the actual position and the preset expected position, and to determine the speed error based on the actual speed and the preset expected speed. An extended state observer is used to generate an estimate of the total system disturbance and its rate of change based on the actual position, the actual velocity, and the control output. The disturbance factor adaptive nonlinear processing submodule is used to generate nonlinear position error processing amount and nonlinear velocity error processing amount based on the position error, the velocity error and the disturbance change rate. The linear interval threshold of the disturbance factor adaptive nonlinear processing submodule decreases as the disturbance change rate increases. An adaptive control law calculation submodule is used to calculate the control output based on the nonlinear position error processing amount, the nonlinear velocity error processing amount, the estimated total system disturbance, and the adaptive feedback gain, wherein the adaptive feedback gain increases with the increase of the disturbance change rate. The thrust distribution and execution module, connected to the composite disturbance observation and adaptive active disturbance rejection controller, is used to receive and execute the control output to drive the thruster action of the unmanned sightseeing boat.
[0019] It is worth mentioning that the state measurement module is the core channel for the system to obtain feedback information. This module may include a Global Navigation Satellite System (GNSS) positioning device and an inertial measurement unit (IMU). The GNSS positioning device outputs the longitude, latitude, and altitude information of the unmanned sightseeing vessel in the global coordinate system at an update frequency of no less than 10 Hz. Planar position coordinates can be obtained through coordinate transformation, and this actual position data directly serves as the feedback input for the position closed loop. The IMU integrates a three-axis accelerometer and a three-axis gyroscope. The accelerometer senses the linear acceleration of the vessel in the carrier coordinate system, and the gyroscope senses the angular velocity. The actual velocity is obtained by time integration of the actual acceleration output by the accelerometer. During the integration process, the position differential velocity of the GNSS positioning device is used as a reference value to periodically correct the acceleration integration drift. The correction period is set to two seconds. When the GNSS signal is temporarily lost due to obstruction by bridges or trees, the IMU can still continuously provide short-term, high-precision position and velocity estimates through integration calculations, ensuring the controller's continuous and stable operation until the signal is restored. The state measurement module establishes a communication connection with the composite disturbance observation and adaptive active disturbance rejection controller via a CAN bus or RS422 serial interface, with a data transmission baud rate of no less than 115,200 bits per second to ensure the real-time nature of the feedback data.
[0020] The composite disturbance observation and adaptive active disturbance rejection controller (ADRC) is the core of the entire system. The controller's internal error determination unit continuously receives the actual position and velocity from the state measurement module, while simultaneously reading the user-preset desired position and velocity from the system memory. Position and velocity errors are generated in real-time through subtraction. The extended state observer is a key component in ADRC theory. In this embodiment, a continuous nonlinear extended state observer with a third order is used: the first order estimates the actual position, the second order estimates the actual velocity, and the third order estimates the extended total system disturbance. The extended state observer receives three inputs—actual position, actual velocity, and the control output calculated from the previous control cycle. Internally, it constructs the observation error feedback term using a continuous power function, avoiding the high-frequency chattering generated near the origin by traditional discrete switching functions. The observer bandwidth parameter is selected based on a combination of the system sampling frequency and the external disturbance frequency band, typically set to three to five times the control bandwidth. In this embodiment, the observer bandwidth parameter is set to 20 radians per second. The extended state observer outputs an estimate of the total system disturbance in each control cycle and performs numerical differentiation on the estimate to generate the disturbance rate of change. This disturbance rate of change, expressed in meters per cubic second, reflects the time-varying severity of the total disturbances acting on the hull, including wind, waves, currents, and model uncertainties.
[0021] The adaptive nonlinear processing submodule for disturbance factors is one of the core innovations that distinguishes this embodiment from the traditional fixed-parameter active disturbance rejection controller.
[0022] This submodule introduces a linear interval threshold adjustment mechanism that dynamically links with the disturbance rate of change, based on the traditional nonlinear function. Traditional active disturbance rejection controllers typically use a fixed linear interval threshold for their nonlinear functions, which remains unchanged throughout the control process once set. In this embodiment, the linear interval threshold is no longer a fixed constant but is configured to dynamically decrease as the disturbance rate of change increases. When the unmanned sightseeing boat encounters a sudden gust of wind or strong current causing a sharp increase in the disturbance rate of change, the linear interval threshold automatically shrinks, allowing the nonlinear function to exit the linear region and enter the high-gain nonlinear region while the error is still relatively small. This results in a stronger nonlinear compression effect on position and velocity errors, and the generated nonlinear position and velocity error processing quantities can drive subsequent control law calculations with higher gain.
[0023] When the rate of change of disturbance falls back to a lower level, the threshold of the linear interval automatically expands, allowing the nonlinear function to maintain linear operation within a larger error range. This avoids excessive reaction of the actuator to noise and small errors due to excessive gain. This adaptive mechanism enables the controller to actively adjust its sensitivity to errors based on the real-time intensity of external disturbances.
[0024] The adaptive control law calculation submodule is another core innovation that distinguishes this embodiment from the traditional fixed-parameter active disturbance rejection controller.
[0025] This submodule calculates the final control output based on the nonlinear processing results and the estimated total system disturbance. Its key feature is that the adaptive feedback gain is configured to increase with the rate of change of the disturbance. When a strong disturbance occurs, the rate of change of the disturbance increases, and the adaptive feedback gain automatically increases proportionally to the baseline gain. This gives greater weight to the error feedback term in the control calculation, and the controller outputs a larger desired thrust to quickly offset the disturbance's effects and shorten the convergence time of the position error.
[0026] When the disturbance stabilizes, the rate of change of the disturbance decreases, and the adaptive feedback gain automatically falls back to a level close to the reference gain. This avoids excessive control actions for small errors, thereby reducing the operating frequency of actuators such as the thrusters and servos, reducing energy consumption, and extending the service life of mechanical components. The thrust distribution and execution module is responsible for converting the desired thrust command (control output) into the actual action of the thruster. This module receives the control output from the adaptive control law calculation submodule, converts it into a pulse-width modulation signal or analog voltage signal recognizable by the thruster driver, and drives the thruster to generate thrust of the corresponding direction and magnitude, propelling the unmanned sightseeing boat to the desired position.
[0027] The achieved technical results are as follows: The two core parameters of the controller—the linear interval threshold and the feedback gain—are dynamically linked to the rate of change of disturbance, overcoming the fundamental shortcomings of fixed-parameter active disturbance rejection controllers (AVRCs) in response to time-varying disturbances, such as lag or oversensitivity. In complex shallow water environments, the system can autonomously sense changes in disturbance intensity and adjust the control strategy in real time accordingly. It quickly corrects itself during strong disturbances and maintains stability during weak disturbances, achieving a balance between dynamic response speed and steady-state stability.
[0028] Technical problems with existing technologies: Traditional active disturbance rejection controllers rely on the extended state observer to estimate all external disturbances as unknown disturbances. This places a heavy burden on the observer, making it difficult to guarantee estimation accuracy and convergence speed when environmental forces change drastically, thus affecting the overall performance of positioning control.
[0029] Based on this, this embodiment also includes an environmental sensing module, which is communicatively connected to the composite disturbance observation and adaptive active disturbance rejection controller. The environmental sensing module includes an anemometer, a water velocity and direction meter, and a water depth detector. The environmental sensing module is used to acquire environmental parameters, including the relative wind speed and relative wind direction angle acquired by the anemometer, the relative water flow velocity and relative flow direction angle acquired by the water velocity and direction meter, and the water depth acquired by the water depth detector.
[0030] It is worth mentioning that the environmental perception module collects real-time information on the main environmental forces acting on the hull through a front-end sensor network independent of the control feedback loop. The anemometer, installed on the top of the superstructure of the sightseeing ship, uses ultrasonic anemometers to measure relative wind speed from 0 to 60 meters per second and relative wind direction angles from 0 to 360 degrees, with an output data update frequency of 4 Hz. The water flow velocity and direction meter, installed at the bottom of the hull, uses acoustic Doppler current measurement to measure relative water flow velocity from 0 to 10 meters per second and relative flow direction angles from 0 to 360 degrees, with an output data update frequency of 2 Hz. The depth sensor uses single-beam echo sounding, with a transducer operating at 200 kHz, measuring water depth from 0.3 meters to 100 meters, and an output data update frequency of 1 Hz. The environmental parameters collected by these three sensors are transmitted via RS485 bus to the composite disturbance observation and adaptive active disturbance rejection controller, providing a real-time, quantitative environmental data foundation for the controller's internal composite disturbance feedforward calculations. Compared with traditional schemes that rely solely on state error for feedback correction, the addition of the environmental perception module enables the system to anticipate the wind and water forces that will act on the hull, thereby initiating feedforward compensation before the disturbance actually significantly affects the hull position, effectively reducing the range of residual disturbance amplitude that the extended state observer needs to estimate.
[0031] The technical effects achieved are: improved system predictability of environmental force changes, provided a direct data source for composite perturbation feedforward calculation, effectively reduced the observation burden of extended state observer, and helped maintain high accuracy and fast convergence of perturbation estimation when the environment changes drastically.
[0032] Technical problems with existing technologies: In existing unmanned vessel positioning solutions, the acquisition of speed status largely relies on the position differential of the global navigation satellite system. When satellite signals are briefly lost or subject to multipath interference, the speed feedback data is interrupted or its accuracy is significantly reduced, causing the controller to malfunction.
[0033] Based on this, the state measurement module in this embodiment includes a global navigation satellite system positioning device and an inertial measurement unit. The actual position is obtained by the global navigation satellite system positioning device, and the actual velocity is obtained by integration of the actual acceleration obtained by the inertial measurement unit.
[0034] It is worth mentioning that the Global Navigation Satellite System (GNSS) positioning device supports GPS and BeiDou dual-mode positioning, with a horizontal positioning accuracy better than 2.5 meters and sub-meter level in differential mode. The positioning device outputs position data via UART serial port in NMEA-0183 protocol format. The internal parsing module of the controller extracts longitude, latitude, and altitude fields from this data, and obtains the planar position coordinates through coordinate transformation. The inertial measurement unit (IMU) uses a six-axis sensor based on microelectromechanical systems (MEMS) technology. The accelerometer has a range of ±8 times the gravitational acceleration, the gyroscope has a range of ±200 degrees per second, and the data output rate can reach 100 Hz. The actual velocity is obtained by numerically integrating the actual acceleration output by the accelerometer. The integration algorithm uses the trapezoidal integration method, and the integration time step is consistent with the output period of the IMU, which is 10 milliseconds. To eliminate integration drift caused by accelerometer zero bias, this embodiment introduces zero-velocity correction and position differential auxiliary correction mechanisms during the integration process. When the GNSS positioning device determines that the ship is stationary for more than three seconds, it automatically sets the velocity estimate to zero and updates the accelerometer zero bias estimate. When the GPS positioning signal is valid, the velocity calculated using position difference is used as a reference value, and the integral velocity is corrected by a complementary filter with a time constant of five seconds. When the GPS positioning signal is briefly lost, the integral velocity of the inertial measurement unit can still maintain an acceptable level of accuracy for tens of seconds, ensuring the controller continues to operate stably during this period.
[0035] Technical effects achieved: The specific composition of the state measurement module and the speed acquisition method were clarified. By combining the global navigation satellite system positioning device and the inertial measurement unit, redundant and reliable measurement of the position and speed status of the unmanned sightseeing boat was achieved. Even under adverse conditions of brief loss of satellite signal, the continuity and availability of speed feedback can still be maintained.
[0036] Technical problems with existing technologies: In traditional active disturbance rejection controllers, the extended state observer treats major environmental forces such as wind and flow, along with model uncertainties, as unknown total disturbances for estimation. When the observer bandwidth is set too high, it easily amplifies measurement noise, and when the bandwidth is set too low, there is a significant lag in tracking sudden disturbances.
[0037] Based on this, the composite disturbance observation and adaptive active disturbance rejection controller in this embodiment further includes a composite disturbance feedforward calculation submodule. The composite disturbance feedforward calculation submodule is used to calculate the equivalent disturbance acceleration of environmental forces based on a preset composite disturbance feedforward model. In the composite disturbance feedforward model, the equivalent disturbance acceleration of environmental forces is expressed as a function of the total mass of the unmanned sightseeing vessel, air density, adaptive drag coefficient related to the relative wind direction angle, positive windward projection area of the hull above the waterline, relative wind speed, water density, adaptive water flow resistance coefficient related to the relative flow direction angle, positive windward projection area of the hull below the waterline, relative water flow velocity, and shallow water drag effect factor related to the water depth. The extended state observer is also used to generate the total disturbance estimate of the system based on the equivalent disturbance acceleration of environmental forces.
[0038] It is worth mentioning that this composite disturbance feedforward model is built upon the fundamental principles of aerodynamics and fluid mechanics, explicitly expressing the two main environmental forces—wind drag and water flow force—as functions of measurable environmental parameters. The specific mathematical expression of the composite disturbance feedforward model is as follows: ; In the above expression, The environmental force equivalent disturbance acceleration represents the equivalent acceleration disturbance generated by the combined action of wind and water flow on the hull. This acceleration is directly superimposed on the ship's dynamics equations, and its unit is meters per second squared. Its dimension is... . The unit represents the total mass of the unmanned sightseeing boat, which is the sum of the masses of the hull, battery, passengers, equipment, etc., and is expressed in kilograms. . This represents air density, measured at standard sea level as 1.225 kg / m³, with units of kg / m³ and dimensions of _____. . Represents the relative wind direction angle. The relevant adaptive drag coefficient is a dimensionless function, the relationship of which is obtained by fitting wind tunnel test data. Specifically, a scale model of the sightseeing boat is placed in a wind tunnel, the oncoming wind direction angle is changed, and the wind resistance at different wind direction angles is measured. After dividing by the dynamic pressure and the windward area, a series of discrete drag coefficient values are obtained, which are then formed into a continuous function through cubic spline interpolation or polynomial fitting. The relative wind direction angle is in degrees. The drag coefficient has the maximum value when the relative wind direction angle is zero degrees (direct wind), and the drag coefficient has a smaller value when the relative wind direction angle is ninety degrees (direct crosswind). The area represented by the frontal windward projection of the hull above the waterline of the unmanned sightseeing vessel is the projected area of the above-water portion of the hull on a plane perpendicular to the longitudinal axis of the hull, expressed in square meters. . The relative wind speed is the wind speed measured by an anemometer minus the ship's velocity component in the wind direction, expressed in meters per second (m / s). .
[0039] The density of the water is determined based on the salinity and temperature of the waters where the sightseeing boats operate. For freshwater, it is 1,000 kg / m³, and for seawater, it is 1,025 kg / m³. The unit is kg / m³, and the dimension is [dimension missing]. . Represents the relative flow angle. The relevant adaptive flow resistance coefficients, also dimensionless functions, are obtained through towing tests of the boat model in a water tank or computational fluid dynamics simulations. The boat model is towed in the water tank at different flow direction angles, and the flow resistance at these angles is measured. After dimensionless processing, the coefficients are fitted to a continuous function. The relative flow direction angle is expressed in degrees; the resistance coefficient is highest when directly facing the flow and decreases as the flow direction angle increases. This represents the forward-facing projected area of the underwater hull of the unmanned sightseeing vessel, that is, the projected area of the underwater portion of the hull on a plane perpendicular to the longitudinal axis of the hull, measured in square meters, with dimensions of _____. . The relative water flow velocity is the relative value obtained by subtracting the velocity component of the ship in the direction of the flow from the water flow velocity measured by the current velocity meter. The unit is meters per second, and the dimension is [missing information]. . Represents the water depth The relevant shallow water resistance effect factor is a dimensionless quantity, and its specific form will be given in detail later.
[0040] Perform dimensional consistency verification on the above expression. Wind term. In this context, the dimension of air density is... The drag coefficient is dimensionless, while the dimensionless frontal area is... The dimension of the square of the relative wind speed is The dimensions after multiplication are The dimension of force is the Newton. (Water flow force term) Similarly, the dimensions of the product of the factors are also the same. The two items within the parentheses have the same dimensions and can be added together. Divide the sum of the two items by the total mass. Dimensions are Become That is, the dimension of acceleration, and The definition matches perfectly.
[0041] When generating the total system disturbance estimate, the extended state observer directly incorporates the equivalent disturbance acceleration of the environmental force output from the composite disturbance feedforward calculation submodule as a known disturbance component into the observer equations. The observer equations can be expressed as: The first derivative of the observer state is equal to the system matrix multiplied by the observer state, the control matrix multiplied by the control input, the observer gain multiplied by the output estimation error, and the known perturbation vector, which includes the equivalent perturbation acceleration of the environmental forces. By compensating for the main environmental forces in advance as known terms, the extended state observer only needs to estimate residual perturbations such as model parameter perturbations, higher-order unmodeled dynamics, and wind-wave coupling effects, significantly reducing the observation burden. This allows the observer bandwidth parameter to be set relatively low, thereby effectively suppressing measurement noise amplification while ensuring the convergence speed of perturbation estimation.
[0042] Technical effects achieved: By introducing a composite disturbance feedforward model based on aerodynamic and fluid dynamic physical mechanisms, the influence of major environmental forces such as wind, flow and shallow water effects is explicitly expressed and pre-compensated, which greatly reduces the estimation burden of the extended state observer. This enables the controller to maintain high-precision, low-noise real-time tracking of the total disturbance with a low observer bandwidth even when the environment changes drastically.
[0043] Technical problems with existing technologies: Most existing ship resistance calculation models assume that the water depth in the operating area is large enough, ignoring the impact of shallow water effects on hull resistance. However, sightseeing boats often operate in shallow water areas such as lakes and scenic waterways. When the ratio of water depth to draft is less than three, the shallow water blocking effect is significant. Ignoring this effect will lead to a serious underestimation of water flow resistance, which in turn affects the accuracy of feedforward compensation.
[0044] Based on this, the shallow water resistance effect factor in this embodiment is expressed as an exponential function with the ratio of the draft of the unmanned sightseeing boat to the water depth as the independent variable.
[0045] It is worth mentioning that the specific mathematical expression for this shallow water resistance effect factor is: ; In the above expression, This represents the shallow water resistance effect factor, which is a dimensionless correction coefficient. This represents a preset empirical constant, a dimensionless quantity, whose specific value is determined through actual ship tests or computational fluid dynamics simulations. For the flat-bottomed sightseeing boat type targeted in this embodiment, data was fitted using multiple sets of shallow-water towing test data. The typical value range is between 0.5 and 2.0, and the value in this embodiment is 1.2. The draft of the unmanned sightseeing boat refers to the vertical depth of the hull submerged in water, measured from the lowest point of the hull to the design waterline, in meters. . Represents the water depth obtained by a depth sensor, which is the vertical distance from the water surface to the bottom, measured in meters, with dimensions of _____. .ratio The ratio of draft to water depth represents the relative proximity of the ship's hull to the bottom; it is a dimensionless pure number. (Exponential function) independent variable It is the product of two dimensionless quantities, which is still a dimensionless quantity, thus satisfying the mathematical requirements of the independent variable of an exponential function.
[0046] This expression has a clear physical meaning. When the water depth... Much greater than the draft At times, for example, when the water depth exceeds five times the draft, The ratio approaches or falls below 0.2. When the value approaches one, it indicates that the shallow water drag effect is almost negligible, and the water resistance experienced by the hull is the same as in deep water. When the water depth is... Gradually decrease and approach the draft depth hour, The ratio gradually increases and approaches one, and the value of the exponential function shows an accelerating growth trend. For example, when When it equals 0.5, Approximately 1.82; when When it equals 0.8, Approximately 2.61. When the water depth... Approaching draft That is, when the bottom of the ship is about to touch the bottom, Approaching one Reaching its maximum value indicates a sharp increase in water flow resistance due to the shallow water blocking effect. This exponential growth model accurately describes the nonlinear physical characteristic of the water flow resistance experienced by unmanned sightseeing boats navigating in shallow waters, which increases rapidly as the water depth decreases. Within each operation cycle of the controller, the composite disturbance feedforward calculation submodule reads the current measurement value from the depth sensor and calculates the current value in real time. The ratio is substituted into the exponential expression to obtain the current shallow water resistance effect factor, which is then used as a multiplicative correction coefficient and multiplied into the hydrodynamic force term to dynamically correct the feedforward compensation amount.
[0047] In this embodiment, the shallow water resistance effect factor is expressed as an expression. Perform calculations, where For the draft of unmanned sightseeing boats, Because of the water depth, As a dimensionless empirical constant, during the actual ship test calibration phase, multiple shallow water test conditions covering the conventional operating range were divided for the target ship type. The ship's speed was controlled within the rated operating range, and the data sampling frequency was uniformly set to 1Hz. The ship was kept at a constant speed while the actual water resistance of the hull was collected. The water resistance of the ship's hull in deep water environment is according to Calculations, combined with shallow water resistance formulas The formula for calculating the empirical constant can be derived. By substituting the test data from each group into the calculation and taking the arithmetic mean, the benchmark empirical constants corresponding to this ship type can be obtained. The baseline value for the flat-bottomed unmanned sightseeing boat adapted to this solution is set as follows: When calibrating using computational fluid dynamics simulation, a numerical simulation model of the ship in shallow water is first built. Basic parameters such as ship geometry, static design draft, and water density are input, and multiple combinations of water depth and flow velocity are set. The flow field integral is then solved to obtain the simulated flow resistance. and deep-water simulation resistance Similarly, substitute After completing the calculations and removing outliers, the average value was taken to obtain the simulation calibration results. Corresponding basic value ranges were set for different ship types, with flat-bottomed sightseeing boats meeting the requirements. The pointed-bottom sightseeing boat satisfies Round-bottomed sightseeing boats satisfy During actual navigation, a ship will sink, which is different from its static design draft. With the dynamic draft of navigation Introducing a draft correction factor The corrected formula is obtained. , The rated draft of the ship is designed, and a velocity correction factor is introduced to adapt to varying flow conditions. The water flow velocity is limited to meet the requirements. ,make sure Always greater than zero The maximum design flow velocity in the vessel's operating area is ultimately determined using a comprehensive correction formula. By completing full-condition parameter calibration and effectively avoiding the physical contradiction that the shallow water drag factor value is less than 1, the above method can be used to calibrate parameters for different ship types and operating conditions. With this determination, those skilled in the art can directly apply the shallow water resistance effect model to various sightseeing boat equipment based on this process.
[0048] Technical effects achieved: The nonlinear relationship between the shallow water resistance effect factor and the water depth-draft ratio is quantitatively described by an exponential function, providing an accurate real-time correction term for the shallow water effect in the composite disturbance feedforward model, which significantly improves the accuracy of hydrodynamic force estimation in shallow water areas and ensures the effectiveness of feedforward compensation under varying water depth conditions.
[0049] The existing technology has the following technical problems: The nonlinear function in traditional active disturbance rejection controllers uses a fixed linear interval threshold, which cannot be changed according to the operating conditions once set. When the threshold is set too high, the controller will work in the linear region for a long time under strong disturbances, and the insufficient gain will lead to slow error convergence; when the threshold is set too low, the controller will frequently enter the nonlinear region under small disturbances, and the excessive gain will cause high-frequency chattering of the actuator.
[0050] Based on this, the disturbance factor adaptive nonlinear processing submodule in this embodiment generates the nonlinear position error processing amount and the nonlinear velocity error processing amount based on a preset disturbance factor adaptive nonlinear function. In the disturbance factor adaptive nonlinear function, when the absolute value of the input error is less than or equal to the linear interval threshold, the nonlinear processing amount is expressed as the ratio of the input error to a specific power of the linear interval threshold. When the absolute value of the input error is greater than the linear interval threshold, the nonlinear processing amount is expressed as the product of the specific power of the absolute value of the input error and the sign function of the input error. The linear interval threshold is expressed as a negative exponential function with the disturbance change rate as the independent variable.
[0051] It is worth mentioning that the complete mathematical expression of the adaptive nonlinear function of the disturbance factor is:
[0052] In the above expression, This represents the nonlinear processing quantity and is the output value of the adaptive nonlinear function of the perturbation factor. It is based on the input error. The output value corresponds to either the nonlinear position error processing amount or the nonlinear velocity error processing amount, depending on the type. This represents the input error when the function is used for the position control channel. That is, the value is taken as the position error. The unit of the positional error is meters, and the dimension is _____. When the function is used in the speed control channel, That is, the value is taken as the speed error. The unit of the speed error is meters per second, and the dimension is... . This represents a preset nonlinear factor, which is a constant between zero and one, typically with values of 0.25, 0.5, or 0.75. The smaller the value, the smoother the gain change of the function in the nonlinear region; The larger the value, the steeper the gain change of the function in the nonlinear region. In this embodiment, the position channel... The value is 0.5, for the speed channel. The value is 0.75. It is a dimensionless quantity. Represents the sign function, when the input error When the input error is positive, the function takes the value of one. When the input error is negative, the function takes the value of negative one. The function takes the value of zero when the constant is zero. A sign function is a dimensionless function. The rate of change of the disturbance representing the estimated total disturbance of the system is expressed in meters per cubic second, with the dimensionless. . The threshold representing the linear interval is defined as follows:
[0053] In the above definition of the linear interval threshold, This represents a preset baseline threshold constant, i.e., a linear interval threshold reference value when the rate of change of the disturbance approaches zero, expressed in meters with dimensions of _____. In this embodiment The value is 0.1 meters. This represents the preset sensitivity coefficient, which is used to adjust the sensitivity of the linear interval threshold to changes in the rate of change of disturbance. The unit is square seconds per meter, and the dimension is .because The dimensions are After multiplying the two The dimensions are , that is, a dimensionless quantity, which satisfies the requirement of the independent variable of an exponential function. The larger the value of , the more sensitive the linear interval threshold is to the rate of change of disturbance. In this embodiment... The value is 0.2. (Exponential term) when When the value is zero, it takes the value of one. equal ;when As the exponent increases, the value of the exponent term decreases. The corresponding size will be reduced.
[0054] The function works as follows: When input error... The absolute value is less than or equal to the threshold of the linear interval. At this time, the function operates in the linear region. The output of the function at this time is... For the position error channel, the dimension of this output is... For the speed error channel, the dimension of this output is: The linear region design ensures that when the error is very small and close to zero, the function's gain remains a finite constant, avoiding the high-frequency chattering problem caused by the differential gain approaching infinity near the origin in traditional nonlinear functions. When the input error... The absolute value is greater than the threshold of the linear interval. At this time, the function operates in the non-linear region. The output of the function at this time is... This function exhibits the excellent characteristic of small gain with large errors and large gain with small errors. When the error is large, Due to index A value less than one can compress large errors, preventing the controller from outputting excessively large control values that could lead to overshoot; when the error is small... Compared to linear gain, it has a stronger amplification effect on errors, enabling the controller to generate a sufficiently strong corrective action for even small errors.
[0055] The core innovation of this embodiment lies in the linear interval threshold. No longer a fixed constant, but rather a function of negative exponential rate of change of disturbance. Dynamic correlation. During the actual operation of the unmanned sightseeing boat, the extended state observer continuously outputs the rate of change of disturbance. The estimated value. When the ship encounters a sudden gust of wind or strong current, causing a sharp increase in external disturbances. The value increases. At this point... The term decreases rapidly, making From the baseline threshold Automatic narrowing. Narrowing the linear interval threshold means that the error only needs to reach a small value to trigger the function to switch from the linear region to the high-gain nonlinear region. The controller can therefore respond strongly to errors earlier and faster, accelerating the convergence of position and velocity errors. Conversely, when external disturbances tend to stabilize... When the value falls back, The item rebounded. Automatic expansion. Expanding the linear interval threshold allows the function to operate within the linear region over a wider error range, avoiding high-frequency switching triggered by minor disturbances or sensor noise. This suppresses high-frequency chatter in the actuators and reduces the frequency of thruster and servo motor movements and mechanical losses.
[0056] The achieved technical effect is that by designing the threshold of the linear interval of the nonlinear function as an adaptive parameter with a negative exponential relationship to the rate of change of the disturbance, the controller can automatically adjust the tolerance range for small errors according to the time-varying severity of the external disturbance. Under strong disturbances, the threshold is automatically tightened to improve the response speed, while under weak disturbances, the threshold is automatically relaxed to avoid frequent actuator movements, thus achieving an autonomous optimal balance between dynamic response and steady-state stability.
[0057] Technical problems with existing technologies: In traditional active disturbance rejection controllers, the error feedback gain is usually set to a fixed constant. If the gain is set too high, it can easily cause the actuator to move too violently and the system to oscillate under weak disturbance conditions; if the gain is set too low, the control force is insufficient under strong disturbance conditions, and it is unable to quickly suppress the deviation caused by the disturbance.
[0058] Based on this, the adaptive control law calculation submodule in this embodiment calculates the control output based on a preset adaptive control law. In the adaptive control law, the control output is expressed as the product of the reciprocal of the control gain constant and the polynomial in parentheses. The polynomial in parentheses includes a product term of the adaptive feedback gain for the position error and the nonlinear position error processing amount, a product term of the adaptive feedback gain for the velocity error and the nonlinear velocity error processing amount, and a term subtracting the estimated total system disturbance. The adaptive feedback gain is expressed as the product of a reference gain constant and a scheduling factor. The scheduling factor includes a ratio term of the disturbance change rate to the upper limit of the disturbance change rate.
[0059] It is worth mentioning that the complete mathematical expression of this adaptive control law is: ; In the above expression, This represents the control output quantity, i.e., the desired thrust command applied to the thrust distribution and execution module, expressed in Newtons (N). . This represents the preset control gain constant, whose value is related to the thrust coefficient of the propeller and the total mass of the hull, and is expressed in kilograms with dimensions of _____. . The method for determining the thrust is as follows: A thrust calibration test is conducted on the propeller under still water conditions to measure the steady-state thrust output under different control commands. The proportionality coefficient between the thrust and the control command is obtained through linear regression, and then divided by the total mass of the hull to obtain the thrust output. . This represents the positional error, expressed in meters, with dimensions of _____. . This represents the speed error, expressed in meters per second, with dimensions of... . This represents the nonlinear position error processing amount generated by the adaptive nonlinear function of the disturbance factor for the position error. This represents the nonlinear velocity error processing amount generated by the adaptive nonlinear function of the disturbance factor for the velocity error. This represents the total disturbance estimate of the system, i.e., the total disturbance estimate of the third-order output of the extended state observer, expressed in meters per second squared (m²), with dimensions of _____. . This represents the adaptive feedback gain in response to the position error. This represents the adaptive feedback gain for the aforementioned velocity error, both of which are dynamically adjusted according to the rate of change of the disturbance, and their expressions are as follows:
[0060] In the above adaptive feedback gain expression, the subscript... The value can be either one or two, corresponding to the position error channel and the velocity error channel, respectively. This represents the preset baseline gain constant, which is the basic value of the feedback gain when the rate of change of the disturbance approaches zero. The dimensions are , The dimensions are . This represents a first nonlinear factor preset for the position error. This represents a second nonlinear factor preset for the speed error, both of which are dimensionless constants between zero and one. This represents the preset gain scheduling coefficient, which is a dimensionless quantity and determines the adjustment range of the feedback gain as the rate of change of the disturbance changes. The larger the gain, the stronger the response to disturbance changes. In this embodiment... The value is 0.8. The rate of change of the disturbance representing the total disturbance estimate of the system, with dimensions of . This represents the preset upper limit of the rate of change of disturbance, used for... Normalization is performed, and the dimensions are: . The value of is determined by statistical analysis of the disturbance change rate data of typical operating waters under various wind and wave conditions, and is taken as the 95th percentile value in the historical data. This represents a preset non-zero small constant, used to prevent when A division-by-zero error occurs when the value is zero; the dimension is... In this embodiment The value is 10 to the power of negative 6. (Ratio) It is a dimensionless pure number that takes values between zero and one.
[0061] The dimensional consistency of the above adaptive control law is verified. In the item, The dimensions are , The dimensions are The dimensions of their product are . In the item, The dimensions are , The dimensions are The dimensions of their product are . The dimensions are The three terms within the parentheses have the same dimensions, all being equal to 1. Algebraic addition is possible. The units of the expression within the parentheses are... Multiply by back, The dimensions are Ultimately control the output quantity The dimensions are Its dimensions are completely consistent with Newton's.
[0062] The core innovation of this adaptive control law lies in the feedback gain. An adaptive scheduling mechanism. Within each control cycle, the controller first determines the rate of change of disturbance output by the extended state observer. Calculate the current scheduling factor When unmanned sightseeing boats encounter sudden winds or strong currents... When the value increases significantly, the scheduling factor also increases. At the reference gain The feedback gain is increased proportionally based on the existing value. Increasing the feedback gain means assigning greater weight to the error feedback term in the control calculation. The controller therefore outputs a larger desired thrust to quickly offset the effects of strong disturbances, shorten the convergence time of the position error, and prevent the hull from being pushed significantly away from the target position. Conversely, when external disturbances tend to stabilize... When the value falls back to a lower level, the scheduling factor decreases. Falling back to near the reference gain The reduced feedback gain avoids the controller's overreaction to small errors and sensor noise, thereby reducing the frequency and amplitude of actions of actuators such as propellers and servos. Combining this adaptive gain scheduling mechanism with the aforementioned adaptive linear interval threshold mechanism forms a complete adaptive closed loop that senses disturbance intensity, adaptively adjusts the linear interval threshold, adaptively adjusts nonlinear processing characteristics, adaptively adjusts feedback gain, and optimizes control output. The two parameters respond to disturbance changes from the dimensions of nonlinear characteristics of error processing and weight strength of error feedback, respectively, enabling the controller to dynamically match the optimal combination of control parameters under different disturbance intensities.
[0063] Technical effect achieved: The feedback gain in the control law is designed as an adaptive parameter that is positively correlated with the rate of change of disturbance. Combined with the adaptive adjustment of the linear interval threshold, the controller can automatically strengthen the control action under strong disturbance and automatically weaken the control action under weak disturbance according to the real-time changes of environmental disturbance. This achieves adaptive matching between control parameters and operating conditions, taking into account both dynamic disturbance rejection capability and the smooth operation of the actuator.
[0064] Technical problems with existing technologies: Traditional extended state observers often use discrete switching functions to construct observation error feedback terms. These functions have discontinuous switching near the origin, which causes high-frequency jitter in the observed state estimates, thus affecting the smoothness of subsequent perturbation rate calculations and the stability of adaptive parameters.
[0065] Based on this, the extended state observer in this embodiment is a continuous nonlinear extended state observer. The continuous nonlinear extended state observer is used to receive the actual position, the actual velocity and the control output, and generate the total system disturbance estimate based on the preset observer bandwidth parameter.
[0066] It is worth noting that the continuous nonlinear extended state observer uses a continuous power function instead of the traditional discrete switching function to construct the observation error feedback term. The observer has a three-order internal structure, with three state variables corresponding to the estimated actual position, the estimated actual velocity, and the estimated total system disturbance, respectively. The observer equation can be expressed as follows: the derivative of the first-order state variable is equal to the second-order state variable plus the power function of the first observer gain multiplied by the observation position error; the derivative of the second-order state variable is equal to the third-order state variable plus the control gain constant multiplied by the control output plus the power function of the second observer gain multiplied by the observation position error; the derivative of the third-order state variable is equal to the power function of the third observer gain multiplied by the observation position error. The observation position error is defined as the difference between the first-order state variable, i.e., the estimated position, and the actual position. The exponent of the power function is typically taken as 0.5 or 0.25, ensuring a continuous slope at the origin and avoiding the abrupt slope change of the switching function at the origin. The gains of the three observers are uniquely determined by the observer bandwidth parameter. The relationship between the observer gain and the observer bandwidth parameter is as follows: the first gain equals three times the observer bandwidth, the second gain equals the square of three times the observer bandwidth, and the third gain equals the cube of the observer bandwidth. The observer bandwidth parameter determines the position of the observer poles in the left half-plane of the complex plane, directly affecting the convergence speed of the state estimation. A higher observer bandwidth setting results in faster state estimation convergence, but also amplifies high-frequency measurement noise. In this embodiment, the observer bandwidth parameter is set to 20 radians per second, achieving a balance between convergence speed and noise suppression. The extended state observer outputs the value of the third-order state variable in each control cycle as an estimate of the total system disturbance. At the same time, The rate of change of the disturbance is obtained by numerical differentiation. This is used for adaptive parameter calculation.
[0067] This scheme employs a third-order continuous nonlinear extended state observer, and sets... For observer bandwidth parameters, , , The gain of the three sets of observers, combined with the ship's nominal dynamics model. Perform gain configuration analysis, where For the ship's position status, For the ship's speed status, For the total system disturbance, The control gain constant, To control the output, Define the observer's estimated state as the rate of change of the disturbance. , , and position observation error Construct the equations of a third-order continuous nonlinear extended state observer. , where continuous nonlinear power functions , It is a nonlinear factor. For linear interval thresholds, in this scheme For time-varying parameters that adaptively adjust to the rate of change of disturbance, the observation errors during routine ship operations mostly fall within the linear range. By combining the system model and the observer model, the dynamic equation of the observation error is obtained. When the observer operates in the linear interval, the nonlinear function simplifies to After transforming the error equation into a linear system, the observer is configured with triple real poles. From the characteristic equation By comparing the coefficients after expansion, the relationship between gain and bandwidth parameters in the linear interval can be derived. , , When strong disturbances occur in the water area and the observation error increases, causing the observer to enter the nonlinear operating range, the gain set is checked using Lyapunov stability theory to verify that the system can still maintain stable operation within the nonlinear range. Subsequently, simulation verification and ship-based tests are carried out to set the observer bandwidth. The corresponding gain values were calculated. In the simulation phase, conventional disturbances, step-change disturbances, and sinusoidal time-varying strong disturbances were applied respectively. Observation error curves were collected, distinguishing between linear and nonlinear operating intervals. The ship-based tests were divided into four operating conditions: calm water, light wind, strong current, and shallow water with strong disturbances. The disturbance estimation bias and convergence time were statistically analyzed for both types of operating intervals. In all test scenarios, the observation error converged quickly without high-frequency chattering. The observer bandwidth... The design incorporates adaptive linear interval threshold and adaptive feedback gain for coordinated matching. When facing extreme conditions such as strong disturbances in shallow water or combined wind and wave disturbances, only the observer bandwidth is adjusted. It can simultaneously update three sets of gains, and the gain ratio always remains unchanged, which can stably achieve the technical effect of disturbance estimation and dynamic compensation.
[0068] Technical effects achieved: The continuous nonlinear type and internal structure of the extended state observer were clarified. The use of continuous power functions avoided high-frequency chattering of the observed state near the origin, improved the smoothness of the disturbance estimate and the stability of the disturbance change rate calculation, and provided reliable basic data for subsequent adaptive parameter adjustment.
[0069] Technical problems with existing technologies: In existing unmanned vessel control schemes, there is a black box link of signal conversion and power drive between the controller output and the actual execution of the thruster. There is a lack of clear definition of the internal structure and signal flow of the thrust distribution and execution module, which leads to uncertainty in the specific implementation of the scheme.
[0070] Based on this, the thrust distribution and execution module in this embodiment includes a thruster driver and a thruster. The thruster driver is electrically connected to the adaptive control law calculation submodule to receive the control output. The thruster driver is electrically connected to the thruster to drive the thruster to generate corresponding thrust according to the control output.
[0071] It is worth mentioning that the thruster driver receives control output from the adaptive control law calculation submodule, which is transmitted in the form of a pulse-width modulated (PWM) signal. The duty cycle of the PWM signal is linearly mapped to the control output, ranging from zero to 100%, corresponding to the maximum negative to maximum positive thrust of the control output. The thruster driver internally includes a microcontroller unit, an optocoupler isolation circuit, a power MOSFET bridge drive circuit, and a current detection feedback circuit. The microcontroller unit parses the input PWM signal and converts it into the corresponding voltage command value. The optocoupler isolation circuit provides electrical isolation between the controller side and the power drive side, preventing high-frequency switching noise from the power side from back-coupling to the controller. The power MOSFET bridge drive circuit generates a drive voltage of corresponding amplitude and polarity based on the voltage command value, driving the thruster motor to rotate. The current detection feedback circuit monitors the motor winding current in real time and implements closed-loop current regulation through a proportional-integral (PI) controller, ensuring that the motor output torque remains consistent with the commanded thrust. The thruster uses a brushless DC motor-driven ducted propeller with a rated power of 500 watts and a maximum thrust of 120 Newtons. The thruster driver and the thruster are connected via a three-phase power cable and a Hall sensor signal line. On an unmanned sightseeing vessel with multiple thrusters, the thrust distribution and execution module may also include a thrust distribution logic unit. This logic unit calculates the desired thrust into independent thrust commands for each thruster based on the desired resultant force and resultant torque using a pseudo-inverse matrix method or a sequential quadratic programming method, and then outputs them to the thruster driver corresponding to each thruster.
[0072] This control system is designed for the longitudinal single-degree-of-freedom positioning control scenario of unmanned sightseeing boats. It only completes the longitudinal total resultant force distribution and does not involve the distribution of sway force and yaw moment. Therefore, the control output quantity... This is a single scalar, measured in Newtons. It represents the total expected resultant force required by the hull in the direction of the unmanned sightseeing vessel's movement. It integrates all resultant force requirements corresponding to position error compensation, velocity error compensation, and environmental disturbance compensation. When the vessel is equipped with multiple thrusters, the total resultant force is calculated into independent thrust commands for each thruster through thrust distribution logic, thus setting the vessel configuration. Taiwan thruster, the first The thrust output of the thruster is denoted as And satisfy Construct the thrust allocation matrix With thrust vector The total resultant force and the thrust of a single thruster satisfy the calculation relationship. Simultaneously, thrust boundary constraints for the thrusters are set. , This represents the minimum output thrust of a single thruster. To calculate the maximum output thrust of a single thruster, the allocation matrix is obtained when using the pseudo-inverse matrix method. Moore-Penrose pseudo-reverse According to the formula The initial thrust command for each thruster is calculated. If the calculated result exceeds the thrust constraint range, the excessive thrust is limited. The remaining resultant force is then redistributed according to the proportion of the current remaining thrust capacity of each thruster to ensure that the overall resultant force always equals the scalar. When using the sequential quadratic programming method to calculate thrust, the objective function is constructed with the goal of minimizing the total power loss of the thruster. Simultaneous equality constraints and inequality constraints By combining the KKT conditions and introducing inequality constraints on multipliers, the complete Lagrangian function can be constructed: ; The original optimization problem is transformed into a quadratic programming subproblem by performing a second-order Taylor expansion on the objective function. The convergence criterion for the iteration is set as the difference between the thrust vectors before and after the iteration being less than 1. Meanwhile, the maximum number of iterations is limited to 50, and the thrust vector is updated through successive iterations. The components obtained after the iteration satisfies the convergence condition. This refers to the independent thrust command corresponding to a single thruster. Through the above logic, the conversion from a single scalar total thrust to the thrust distribution of multiple thrusters can be fully realized. The steps are complete and clear, and those skilled in the art can fully reproduce the thrust distribution process based on the recorded content.
[0073] Technical effects achieved: The internal structure of the thrust distribution and execution module and the signal connection relationship between each component are described in detail. A complete and executable signal link and control closed loop are established from the expected thrust calculated and output by the controller to the actual physical thrust generated by the thruster, ensuring the feasibility of the control scheme under different thruster configurations.
[0074] Technical problems with existing technologies: The descriptions of existing control algorithms mostly remain at the level of mathematical formulas and software processes, lacking a clear description of the specific hardware carrier on which the algorithm is based and its implementation method. This leads to uncertainty and additional development workload for those skilled in the art when deploying the algorithm to actual embedded platforms.
[0075] Based on this, the composite disturbance observation and adaptive active disturbance rejection controller in this embodiment is implemented by an embedded microprocessor. The embedded microprocessor includes at least one processor core and a memory communicatively connected to the at least one processor core. The memory stores computer instructions, which, when executed by the at least one processor core, enable the embedded microprocessor to perform the functions of the error determination unit, the extended state observer, the disturbance factor adaptive nonlinear processing submodule, and the adaptive control law calculation submodule.
[0076] It's worth noting that the embedded microprocessor uses the STM32H7 series microcontroller based on the ARM Cortex-M7 core. The processor core has a clock speed of 480 MHz and a built-in double-precision floating-point unit, supporting hardware floating-point instructions and enabling efficient execution of floating-point multiplication, addition, and exponential function calculations in the control algorithm. The memory includes two megabytes of on-chip Flash memory and one megabyte of on-chip RAM. The Flash memory is used to store computer instructions, preset parameter tables, and sensor calibration data. The RAM memory is used to store state variables, intermediate calculation results, and historical data cache during program execution. The computer instructions are written in C language and cross-compiled to generate ARM machine code before being burned into the Flash memory. After power-on reset, the processor core reads and executes the boot program from the starting address of the Flash memory, completing clock system configuration, peripheral initialization, and interrupt vector table settings, before entering the main control loop. Within each control cycle, the processor core sequentially executes the following computer instructions: It reads the actual position and velocity data output by the state measurement module via the serial peripheral interface; it calls the function corresponding to the error determination unit to subtract the actual position from the preset desired position to obtain the position error, and subtracts the actual velocity from the preset desired velocity to obtain the velocity error; it calls the function corresponding to the extended state observer, inputting the actual position, actual velocity, and control output calculated in the previous cycle, executing the third-order observer state update algorithm, and outputting the total system disturbance estimate and the disturbance change rate obtained by its numerical derivative; it calls the function corresponding to the disturbance factor adaptive nonlinear processing submodule to calculate the adaptive linear interval threshold in real time based on the disturbance change rate, and then substitutes the position error and velocity error into the disturbance factor adaptive nonlinear function to obtain the nonlinear position error processing amount and the nonlinear velocity error processing amount; it calls the function corresponding to the adaptive control law calculation submodule to calculate the adaptive feedback gain in real time based on the disturbance change rate, and then substitutes it into the adaptive control law to calculate the control output for the current cycle; and it converts the control output into a pulse signal with the corresponding duty cycle via the pulse width modulation peripheral and outputs it to the thrust distribution and execution module. The control cycle is set to ten milliseconds, with all computational tasks completed within a single cycle. Processor core utilization remains below 60%, leaving ample computing power margin for future functional expansion. The embedded microprocessor also communicates with the host monitoring system via the controller area network bus, uploading operational status data and receiving parameter configuration commands.
[0077] The technical effects achieved are as follows: It provides a specific hardware implementation carrier and its workflow for the control algorithm, clarifies the selection of embedded microprocessors, the configuration of storage resources, the organization of computer instructions, and the execution sequence of each control cycle, so that those skilled in the art can deploy the control scheme to an actual embedded hardware platform and achieve the expected control effect without creative effort.
[0078] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention in any other way. Any person skilled in the art may make changes or modifications to the above-disclosed technical content to create equivalent embodiments that can be applied to other fields. However, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention are not permitted.
Claims
1. An ADRC (Autonomous Driving Control and Positioning) system for unmanned sightseeing boats, characterized in that, include: The status measurement module is used to measure the actual position and speed of the unmanned sightseeing boat. A composite disturbance observation and adaptive active disturbance rejection controller, communicatively connected to the state measurement module, includes: an error determination unit, used to determine the position error based on the actual position and the preset desired position, and to determine the velocity error based on the actual velocity and the preset desired velocity; an extended state observer, used to generate a total system disturbance estimate and its rate of change based on the actual position, the actual velocity, and the control output; and a disturbance factor adaptive nonlinear processing submodule, used to generate nonlinear position error processing based on the position error, the velocity error, and the rate of change of disturbance. The system comprises: a quantity and a nonlinear velocity error processing quantity, wherein the linear interval threshold of the adaptive nonlinear processing submodule for the disturbance factor decreases as the rate of change of the disturbance increases; an adaptive control law calculation submodule, used to calculate the control output quantity based on the nonlinear position error processing quantity, the nonlinear velocity error processing quantity, the estimated total system disturbance, and the adaptive feedback gain, wherein the adaptive feedback gain increases as the rate of change of the disturbance increases; and a thrust distribution and execution module, connected to the composite disturbance observation and adaptive active disturbance rejection controller, used to receive and execute the control output quantity to drive the thruster action of the unmanned sightseeing vessel.
2. The ADRC (Autonomous Driving Control) positioning control system for unmanned sightseeing boats according to claim 1, characterized in that, It also includes an environmental sensing module, which is communicatively connected to the composite disturbance observation and adaptive active disturbance rejection controller. The environmental sensing module includes an anemometer, a water flow velocity and direction meter, and a water depth detector. The environmental sensing module is used to acquire environmental parameters, including relative wind speed and relative wind direction angle acquired by the anemometer, relative water flow velocity and relative flow direction angle acquired by the water flow velocity and direction meter, and water depth acquired by the water depth detector.
3. The ADRC (Autonomous Driving Control) positioning control system for unmanned sightseeing boats according to claim 2, characterized in that, The state measurement module includes a global navigation satellite system positioning device and an inertial measurement unit. The actual position is obtained by the global navigation satellite system positioning device, and the actual velocity is obtained by integration of the actual acceleration obtained by the inertial measurement unit.
4. The ADRC (Autonomous Driving Control) positioning control system for unmanned sightseeing boats according to claim 3, characterized in that, The composite disturbance observation and adaptive active disturbance rejection controller further includes a composite disturbance feedforward calculation submodule. This submodule is used to calculate the equivalent disturbance acceleration of environmental forces based on a preset composite disturbance feedforward model. In the composite disturbance feedforward model, the equivalent disturbance acceleration of environmental forces is expressed as a function of the total mass of the unmanned sightseeing vessel, air density, adaptive drag coefficient related to the relative wind direction angle, the projected area of the hull facing the wind above the waterline, the relative wind speed, water density, adaptive water flow resistance coefficient related to the relative flow direction angle, projected area of the hull facing the current below the waterline, the relative water flow velocity, and the shallow water drag effect factor related to the water depth. The extended state observer is also used to generate the total disturbance estimate of the system based on the equivalent disturbance acceleration of environmental forces.
5. The ADRC (Autonomous Driving Control) positioning control system for unmanned sightseeing boats according to claim 4, characterized in that, The shallow water drag effect factor is expressed as an exponential function with the ratio of the draft of the unmanned sightseeing vessel to the water depth as the independent variable.
6. The ADRC (Autonomous Driving Control and Positioning) system for unmanned sightseeing boats according to claim 3 or 4, characterized in that, The disturbance factor adaptive nonlinear processing submodule generates the nonlinear position error processing amount and the nonlinear velocity error processing amount based on a preset disturbance factor adaptive nonlinear function. In the disturbance factor adaptive nonlinear function, when the absolute value of the input error is less than or equal to the linear interval threshold, the nonlinear processing amount is expressed as the ratio of the input error to a specific power of the linear interval threshold. When the absolute value of the input error is greater than the linear interval threshold, the nonlinear processing amount is expressed as the product of the specific power of the absolute value of the input error and the sign function of the input error. The linear interval threshold is expressed as a negative exponential function with the disturbance change rate as the independent variable.
7. The ADRC (Autonomous Driving Control) positioning control system for unmanned sightseeing boats according to claim 6, characterized in that, The adaptive control law calculation submodule calculates the control output based on a preset adaptive control law. In the adaptive control law, the control output is expressed as the product of the reciprocal of the control gain constant and a polynomial within parentheses. The polynomial within parentheses includes a product term of the adaptive feedback gain for the position error and the nonlinear position error processing amount, a product term of the adaptive feedback gain for the velocity error and the nonlinear velocity error processing amount, and a term subtracting the estimated total system disturbance. The adaptive feedback gain is expressed as the product of a reference gain constant and a scheduling factor. The scheduling factor includes a ratio term of the disturbance change rate to the upper limit of the disturbance change rate.
8. The ADRC (Autonomous Driving Control) positioning control system for unmanned sightseeing boats according to claim 7, characterized in that, The extended state observer is a continuous nonlinear extended state observer, which is used to receive the actual position, the actual velocity and the control output, and generate the total system disturbance estimate based on a preset observer bandwidth parameter.
9. The ADRC (Autonomous Driving Control) positioning control system for unmanned sightseeing boats according to claim 7, characterized in that, The thrust distribution and execution module includes a thruster driver and a thruster. The thruster driver is electrically connected to the adaptive control law calculation submodule to receive the control output. The thruster driver is electrically connected to the thruster to drive the thruster to generate corresponding thrust according to the control output.
10. The ADRC (Autonomous Driving Control) positioning control system for unmanned sightseeing boats according to claim 7, characterized in that, The composite disturbance observation and adaptive active disturbance rejection controller is implemented by an embedded microprocessor. The embedded microprocessor includes at least one processor core and a memory communicatively connected to the at least one processor core. The memory stores computer instructions, which, when executed by the at least one processor core, enable the embedded microprocessor to perform the functions of the error determination unit, the extended state observer, the disturbance factor adaptive nonlinear processing submodule, and the adaptive control law calculation submodule.
