An improved MFAC control method for unmanned boat based on dual water jet propulsion
By adding an integral link, attenuation parameters and tanh nonlinear processing to the compact model-free adaptive control algorithm of the dual waterjet propeller unmanned boat, the uncertainty in the maneuverability and response speed of the unmanned boat is solved. A more stable control effect is achieved.
Patent Information
- Application Number
- CN202210967979.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-12
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-08-12
AI Technical Summary
The dual waterjet propeller unmanned boat has uncertainties in maneuverability and response speed. The original control algorithm cannot meet the system requirements, and there are problems such as overshoot, oscillation and steady-state error.
Integral links, attenuation parameters and tanh nonlinear processing are added to the compact model-free adaptive control algorithm, and the control quantity calculation is optimized through simulation and actual ship verification to enhance the convergence stability of the control end.
It effectively solves the problems of overshoot, oscillation and steady-state error, improves the response speed and stability of the control system, and enhances the practicality of control.
Smart Images

Figure CN115268261B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of control algorithm design, in particular to an improved compact model-free adaptive control method based on a dual-waterjet propulsion unmanned boat. Background Art
[0002] Model-free adaptive control algorithm is a control algorithm designed for nonlinear systems. Its controller design does not rely on the control object model, but uses the I / O data of the controlled system to estimate the control parameters of the system online. This algorithm was first proposed by Professor Hou Zhongsheng in his doctoral dissertation in 1994. It has been developed and improved to date and has been widely used in engineering. After subsequent expansion research by many people, it has also achieved fruitful results in various fields. Based on the research on the control of a type of dual-jet propulsion unmanned boat, there are some problems in engineering. The unmanned boat is affected by many uncertainties. At the same time, the maneuverability of the unmanned boat at different speeds is also different. The unmanned boat is an under-driven nonlinear system with slow action response. These problems must be solved for the unmanned boat control system. The original control algorithm cannot meet the system requirements. Therefore, it is necessary to further study and improve the adaptability of the algorithm.
[0003] The publication date is January 4, 2019, the publication number is CN109144066A, and the invention name is "An integral-separated PI type compact model-free adaptive heading control algorithm for ships". On the basis of the compact model-free adaptive control algorithm, a proportional term is introduced to form a PI type CFDL_MFAC algorithm to improve the system response speed, so that the ship's heading can converge to the desired heading quickly and stably. However, due to the system characteristics of the ship's slow execution response, overshoot is likely to occur in its rapid response, and the convergence stability brought about by the rapid accumulation of control quantities is not taken into account.
[0004] The publication date is August 20, 2021, the publication number is CN112034707B, and the invention name is "Improved Method for Model-free Adaptive Control". Proportional control and actuator anti-saturation control algorithms are added to CFDL-MFAC to solve the problems of slow response, large overshoot, and supersaturation of the original control system. The stability of the algorithm is proved, and its effectiveness is verified through numerical experiments. However, there are problems of oscillation and steady-state error. Summary of the invention
[0005] The purpose of the present invention is to provide an improved compact model-free adaptive control method based on a dual water jet unmanned boat. The algorithm design adds an integral link, an attenuation parameter, and a tanh nonlinear processing on the basis of the original algorithm. After simulation and actual boat verification, the problems existing in the above-mentioned prior art are successfully solved.
[0006] The technical solution to achieve the purpose of the present invention is: an improved MFAC control method based on a dual water jet propulsion unmanned boat, the method comprising the following steps:
[0007] Step 1: According to the expected navigation state y d (k) and the navigation state y(k) of the current unmanned boat at time k, calculate the deviation e(k), e(k) = y d (k)-y(k);
[0008] Step 2, calculating the output control amount u(k) based on the deviation e(k);
[0009] Step 3, the actuator of the unmanned boat receives and executes the control quantity u(k) instruction, changes the operating state of the unmanned boat, and then sets k=k+1;
[0010] Step 4: Compare the deviation e(k) with the expected deviation e in real time d (k), if the deviation e(k) is less than the expected deviation e d (k), then it is considered that the desired navigation state y of the unmanned boat is reached d (k), jump out of the loop and end the control process, otherwise go to step 1 and continue the loop calculation until the deviation e(k) is less than the expected deviation e d (k).
[0011] Furthermore, the step 2 of calculating the output control amount u(k) based on the deviation e(k) specifically includes:
[0012] The unmanned boat is a multi-input multi-output system, which can be expressed as:
[0013] y(k+1)=f(y(k),…,y(kn y ),u(k),…,u(kn u ))
[0014] Among them, y(k)∈R,u(k)∈R represent the navigation state input and control output at time k, y(k+1) is the navigation state input at time k+1, and n y ,n u is the order of the system;
[0015] Step 2-1, use the following formula to calculate the output control quantity u(k) at time k:
[0016]
[0017] in,
[0018]
[0019] Δy(k)=y(k+1)-y(k), Δu(k-1)=u(k)-u(k-1),
[0020]
[0021] φ(k)=φ(1), if |φ(k)|≤ε or |Δu(k-1)|≤ε
[0022] Where μ>0 is the weight coefficient, η∈(0,1] is the step size factor, φ(k) is the pseudo partial derivative at time k, φ(k-1) is the pseudo partial derivative at time k-1, u(k-1) is the output control quantity at time k-1, λ,ρ are adjustable control parameters, λ 1 ,λ 2 ,γ is an adjustable parameter, κ is the attenuation parameter, κ∈(0,1], T is the control solution period, ε-=0.000001.
[0023] Step 2-2, normalize the control amount u(k) to The following conversions are performed at the same time:
[0024]
[0025] Step 2-3, for u * (k) is denormalized to obtain the final output control value u(k).
[0026] Furthermore, step 2 also includes:
[0027] The control quantity u(k) is saturated and limited in the range u(k)∈[min,max]. If it is greater than max or less than min, the control quantity will not be solved. max and min are the upper and lower limits of the actuator mechanism of the unmanned boat.
[0028] Furthermore, step 2-3 is based on the range u(k)∈[min,max], for u * (k) Perform denormalization.
[0029] Compared with the prior art, the present invention has the following significant advantages: analyzing the control characteristics of the dual-waterjet unmanned boat, verifying the effectiveness and practicability of the improved algorithm through simulation and actual boat tests, and solving the problems of overshoot, oscillation and steady-state error of the original system by adding integral terms and attenuation parameters to the control quantity u(k) and the design of tanh nonlinearity, while enhancing the control terminal convergence stability, which has strong practical value.
[0030] The present invention is further described in detail below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a structural diagram of the controller of the present invention.
[0032] Figure 2 It is a flow chart of the improved MFAC control method based on the dual water jet propulsion unmanned boat of the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0034] In one embodiment, in combination Figure 1 , provides an improved MFAC control method based on a dual water jet propulsion unmanned boat, the method comprising the following steps:
[0035] Step 1: According to the expected navigation state y d (k) and the navigation state y(k) of the current unmanned boat at time k, calculate the deviation e(k), e(k) = y d (k)-y(k);
[0036] Step 2, calculating the output control amount u(k) based on the deviation e(k);
[0037] Step 3, the actuator of the unmanned boat receives and executes the control quantity u(k) instruction, changes the operating state of the unmanned boat, and then sets k=k+1;
[0038] Step 4: Compare the deviation e(k) with the expected deviation e in real time d (k), if the deviation e(k) is less than the expected deviation e d (k), then it is considered that the desired navigation state y of the unmanned boat is reached d (k), jump out of the loop and end the control process, otherwise go to step 1 and continue the loop calculation until the deviation e(k) is less than the expected deviation e d (k).
[0039] Further, in one embodiment, in combination Figure 2 , the output control amount u(k) is calculated based on the deviation e(k) in step 2, specifically including:
[0040] The unmanned boat is a multi-input multi-output system, which can be expressed as:
[0041] y(k+1)=f(y(k),…,y(kn y ),u(k),…,u(kn u ))
[0042] Among them, y(k)∈R,u(k)∈R represent the navigation state input and control output at time k, y(k+1) is the navigation state input at time k+1, and n y ,n u is the order of the system;
[0043] Step 2-1, use the following formula to calculate the output control quantity u(k) at time k:
[0044]
[0045] in,
[0046]
[0047] Δy(k)=y(k+1)-y(k), Δu(k-1)=u(k)-u(k-1),
[0048]
[0049] φ(k)=φ(1), if |φ(k)|≤ε or |Δu(k-1)|≤ε
[0050] Where μ>0 is the weight coefficient, η∈(0,1] is the step size factor, φ(k) is the pseudo partial derivative at time k, φ(k-1) is the pseudo partial derivative at time k-1, u(k-1) is the output control quantity at time k-1, λ,ρ are adjustable control parameters, λ 1 ,λ 2 ,γ is an adjustable parameter, κ is the attenuation parameter, κ∈(0,1], T is the control solution period, ε-=0.000001.
[0051] Here, considering the problem of system steady-state error, an integral link is added to the control quantity calculation At the same time, anti-integral saturation integral separation data processing is performed.
[0052] Here, κ is the attenuation parameter, λ 1 ,λ 2 It is an adjustable parameter with a range of κ∈(0,1]. It is mainly used to set the attenuation limit parameter for the iterative update calculation of the output control quantity u(k) of the compact model-free adaptive control algorithm. It effectively solves the oscillation problem caused by the slow response of the system output and the excessive accumulation of the control quantity. At the same time, the system deviation factor is considered. The larger the deviation, the greater the control quantity growth rate, which increases the convergence speed. The smaller the deviation, the slower the control quantity growth rate, which ensures the stability of the system terminal convergence and prevents overshoot.
[0053] Step 2-2, saturate limit the control quantity u(k), the range is u(k)∈[min,max]. If it is greater than max or less than min, the control quantity will not be solved. max and min are the upper and lower limits of the actuator mechanism of the unmanned boat.
[0054] Step 2-3: Normalize the control amount u(k) to The following conversions are performed at the same time:
[0055]
[0056] Here, by performing tanh nonlinear processing on the control quantity, the overshoot or oscillation problem caused by the increase of the control quantity can be solved.
[0057] Step 2-4, based on the range u(k)∈[min,max], * (k) is denormalized to obtain the final output control value u(k).
[0058] In one embodiment, an improved MFAC control system based on a dual water jet unmanned boat is provided, the system comprising:
[0059] The first module is used to determine the desired navigation state y d (k) and the navigation state y(k) of the current unmanned boat at time k, calculate the deviation e(k), e(k) = y d (k)-y(k);
[0060] The second module is used to calculate the output control amount u(k) based on the deviation e(k);
[0061] The third module is used to control the actuator of the unmanned boat to receive and execute the control quantity u(k) instruction, change the operating state of the unmanned boat, and then set k=k+1;
[0062] The fourth module is used to compare the deviation e(k) with the expected deviation e in real time. d (k), if the deviation e(k) is less than the expected deviation e d (k), then it is considered that the desired navigation state y of the unmanned boat is reached d (k), end the control, otherwise go to the first module and continue the loop calculation until the deviation e(k) is less than the expected deviation e d (k).
[0063] For the specific definition of the improved MFAC control system based on the dual water jet unmanned boat, please refer to the definition of the improved MFAC control method based on the dual water jet unmanned boat mentioned above, which will not be repeated here. Each module in the above-mentioned improved MFAC control system based on the dual water jet unmanned boat can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0064] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0065] Step 1: According to the expected navigation state y d (k) and the navigation state y(k) of the current unmanned boat at time k, calculate the deviation e(k), e(k) = y d (k)-y(k);
[0066] Step 2, calculating the output control amount u(k) based on the deviation e(k);
[0067] Step 3, the actuator of the unmanned boat receives and executes the control quantity u(k) instruction, changes the operating state of the unmanned boat, and then sets k=k+1;
[0068] Step 4: Compare the deviation e(k) with the expected deviation e in real time d (k), if the deviation e(k) is less than the expected deviation e d (k), then it is considered that the desired navigation state y of the unmanned boat is reached d (k), jump out of the loop and end the control process, otherwise go to step 1 and continue the loop calculation until the deviation e(k) is less than the expected deviation e d (k).
[0069] For the specific limitations of each step, please refer to the limitations of the improved MFAC control method based on the dual water jet propulsion unmanned boat mentioned above, which will not be repeated here.
[0070] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0071] Step 1: According to the expected navigation state y d (k) and the navigation state y(k) of the current unmanned boat at time k, calculate the deviation e(k), e(k) = y d (k)-y(k);
[0072] Step 2, calculating the output control amount u(k) based on the deviation e(k);
[0073] Step 3, the actuator of the unmanned boat receives and executes the control quantity u(k) instruction, changes the operating state of the unmanned boat, and then sets k=k+1;
[0074] Step 4: Compare the deviation e(k) with the expected deviation e in real time d (k), if the deviation e(k) is less than the expected deviation e d (k), then it is considered that the desired navigation state y of the unmanned boat is reached d (k), jump out of the loop and end the control process, otherwise go to step 1 and continue the loop calculation until the deviation e(k) is less than the expected deviation e d (k).
[0075] For the specific limitations of each step, please refer to the limitations of the improved MFAC control method based on the dual water jet propulsion unmanned boat mentioned above, which will not be repeated here.
[0076] In summary, the present invention analyzes the control characteristics of the dual waterjet unmanned boat, makes targeted improvements to the compact model-free adaptive control method, verifies the effectiveness and practicability of the improved algorithm through simulation and actual boat tests, and solves the overshoot, oscillation and steady-state error problems of the original system by adding integral terms and attenuation parameters to the control quantity u(k) and designing tanh nonlinearity, indicating the superiority of the improved control algorithm.
[0077] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An improved MFAC control method based on dual water jet unmanned boat, It is characterized in that The method comprises the following steps: Step 1: According to the expected navigation state y d (k) and the navigation state y(k) of the current unmanned boat at time k, calculate the deviation e(k), e(k) = y d (k)-y(k); Step 2, calculating the output control amount u(k) based on the deviation e(k); Step 3, the actuator of the unmanned boat receives and executes the control quantity u(k) instruction, changes the operating state of the unmanned boat, and then sets k=k+1; Step 4: Compare the deviation e(k) with the expected deviation e in real time d (k), if the deviation e(k) is less than the expected deviation e d (k), then it is considered that the desired navigation state y of the unmanned boat is reached d (k), jump out of the loop and end the control process, otherwise go to step 1 and continue the loop calculation until the deviation e(k) is less than the expected deviation e d (k); The step 2 of calculating the output control amount u(k) based on the deviation e(k) specifically includes: The unmanned boat is a multi-input multi-output system, which can be expressed as: y(k+1)=f(y(k),L,y(k-n y ),u(k),L,u(k-n u )) Among them, y(k)∈R,u(k)∈R represent the navigation state input and control output at time k, y(k+1) is the navigation state input at time k+1, and n y ,n u is the order of the system; Step 2-1, use the following formula to calculate the output control quantity u(k) at time k: in, Δy(k)=y(k+1)-y(k), Δu(k-1)=u(k)-u(k-1), φ(k)=φ(1), if |φ(k)|≤ε or |Δu(k-1)|≤ε Where μ>0 is the weight coefficient, η∈(0,1] is the step size factor, φ(k) is the pseudo partial derivative at time k, φ(k-1) is the pseudo partial derivative at time k-1, u(k-1) is the output control quantity at time k-1, λ,ρ are adjustable control parameters, λ 1 ,λ 2 ,γ is an adjustable parameter, κ is the attenuation parameter, κ∈(0,1], T is the control solution period, ε-=0.000001; Step 2-2, normalize the control amount u(k) to The following conversions are performed at the same time: Step 2-3, for u * (k) is denormalized to obtain the final output control value u(k).
2. The improved MFAC control method based on the dual water jet propulsion unmanned boat according to claim 1, It is characterized in that Step 2 also includes: The control quantity u(k) is saturated and limited in the range u(k)∈[min,max]. If it is greater than max or less than min, the control quantity will not be solved. max and min are the upper and lower limits of the actuator mechanism of the unmanned boat.
3. The improved MFAC control method based on the dual water jet propulsion unmanned boat according to claim 2, It is characterized in that Step 2-3: Based on the range u(k)∈[min,max], * (k) Perform denormalization.
4. An improved MFAC control system for a dual water jet unmanned boat based on the method according to any one of claims 1 to 3, It is characterized in that The system includes sequentially executing: The first module is used to determine the desired navigation state y d (k) and the navigation state y(k) of the current unmanned boat at time k, calculate the deviation e(k), e(k) = y d (k)-y(k); The second module is used to calculate the output control amount u(k) based on the deviation e(k); The third module is used to control the actuator of the unmanned boat to receive and execute the control quantity u(k) instruction, change the operating state of the unmanned boat, and then set k=k+1; The fourth module is used to compare the deviation e(k) with the expected deviation e in real time. d (k), if the deviation e(k) is less than the expected deviation e d (k), then it is considered that the desired navigation state y of the unmanned boat is reached d (k), end the control, otherwise go to the first module and continue the loop calculation until the deviation e(k) is less than the expected deviation e d (k).
5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.
