An underwater robot attitude control method based on improved Kalman filter

By improving the Kalman filter and fuzzy PID controller, combined with the nonlinear observer, the problem of unstable attitude of the underwater robot in the turbulent environment is solved, and rapid and stable attitude control under external and internal time-varying disturbances is achieved. Fault compensation enhances the operating capabilities of underwater robots in bridge inspection.

CN115113634BActive Publication Date: 2024-09-06SHENYANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210747551.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-29
Publication Date
2024-09-06
Estimated Expiration
2042-06-29

AI Technical Summary

Technical Problem

When underwater robots perform bridge inspection tasks, they are easily affected by water turbulence, resulting in unstable postures and difficulty in quickly converging and tracking the desired posture under external and internal time-varying disturbances.

Method used

An underwater robot attitude control method based on the improved Kalman filter is adopted, combined with a fuzzy PID controller and a nonlinear observer, the controller is designed through the minimum variance estimation criterion, a tracking differentiator is added to reduce the feedback error, and a nonlinear function is designed Acts as a backup controller in case of failure.

Benefits of technology

It improves the attitude control stability and rapid response capabilities of underwater robots in disturbed environments, prevents equipment damage caused by controller failures, and enhances the system's anti-disturbance and fault compensation capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115113634B
    Figure CN115113634B
Patent Text Reader

Abstract

The present invention relates to the technical field of underwater robot posture control, and discloses an underwater robot posture control method based on an improved Kalman filter. The purpose of the present invention is to solve the problem that turbulence occurs near bridge piers, and the floating operation of small underwater robots is affected by continuous disturbances, resulting in difficult posture control. This method first starts from fuzzy PID, adds a tracking differentiator to smooth the input signal, reduces the system feedback error value, and expands the application range of fuzzy PID; secondly, based on the minimum variance estimation criterion, an improved Kalman filter is designed, and the discrete output data of the fuzzy PID controller is used to constrain the sensor measurement value of the controlled object; finally, in order to prevent the algorithm controller from failing, a nonlinear function is designed and a nonlinear combination and an expanded observer are introduced as alternative controllers. The method described in the present invention realizes the stable posture control of the underwater robot under the condition of disturbance uncertainty brought by the underwater environment and measurement errors of the sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of underwater robot posture control, and in particular to an underwater robot posture control method based on an improved Kalman filter. Background Art

[0002] The pier foundation is the main component of the bridge, bearing the load transmitted by the superstructure of the bridge. Its quality is directly related to the durability of the structure and the bearing capacity of the bridge, and is crucial to the safe operation of the bridge. At present, the safest and most reliable way to detect bridge piers is to use underwater robots equipped with underwater cameras for detection. For small underwater robots for bridge inspection, turbulence is prone to occur near the underwater piers when performing inspection tasks, and the flow rate can reach more than 4 knots. Underwater robots are easily affected by water flow, resulting in uneven force. Therefore, stable control of their underwater posture is a prerequisite for efficient operation. Summary of the invention

[0003] The invention discloses an underwater robot posture control method based on an improved Kalman filter, so that the underwater robot posture control can still converge quickly under the existence of external and internal time-varying disturbances, and stably and accurately track the expected posture.

[0004] The above-mentioned task and purpose of the present invention are achieved through the following technical solutions:

[0005] An underwater robot attitude control method based on an improved Kalman filter, comprising:

[0006] S1: Based on the system of the terminology bulletin of the Institute of Naval Architects and Marine Engineers recommended by the International Tank Conference and the Newton-Euler equations of rigid body motion, the vertical pitch angle angular velocity model of the underwater robot is established under the condition of small angle of attack;

[0007] S2: Use fuzzy logic and establish fuzzy PID according to certain fuzzy rules;

[0008] S3: To ensure that the fuzzy PID established in S2 has wide practicability, a tracking differentiator is added after the system input to reduce the system feedback error value;

[0009] S4: To ensure the anti-interference capability of the underwater robot, an improved Kalman filter is designed based on the minimum variance estimation criterion, and the fuzzy PID controller 1 described in S2 is combined to control the posture of the underwater robot;

[0010] S5: In order to prevent the failure of the controller 1 described in S4 from causing the load limit of the actuators such as the underwater robot propeller to increase, thereby affecting the normal motion trajectory of the underwater robot and even causing damage to the equipment, a nonlinear function is designed, and a nonlinear combination and an expanded observer are designed using the nonlinear function as the controller 2;

[0011] S6: According to the controller 1 designed in S4, external and internal time-varying disturbances are introduced to test the fast stability of the controller 1;

[0012] S7: Simulate the controller 1 described in S4 to have a fault causing the error to increase infinitely, and verify the system fault compensation.

[0013] Preferably, the fuzzy PID includes:

[0014] S8: Determine the input membership function and fuzzify the fuzzy PID input angular velocity deviation e and its deviation change rate ec;

[0015] S9: Compile a fuzzy control rule table based on the experience summary of experts and skilled operators in the field to facilitate fuzzy reasoning;

[0016] S10: Determine the output membership function and perform defuzzification.

[0017] Preferably, the improved Kalman filter design includes:

[0018] S11: Utilize the discrete output data of the fuzzy PID controller described in S2 to fuse the estimated data in a linear dynamic manner to further constrain the underwater robot posture observation data.

[0019] Preferably, the underwater robot attitude control method using the improved Kalman filter is composed of a controller 1 and a controller 2, and the controller 2 serves as a backup controller to compensate for a failure of the controller 1.

[0020] Beneficial Effects

[0021] 1. The discrete output data of the fuzzy PID controller is used to fuse the Kalman filter estimation data in a linear dynamic manner to further constrain the underwater robot's attitude observation data, thereby improving the system's stability when counteracting disturbances;

[0022] 2. After inputting the target attitude, a tracking differentiator is added to smooth the input signal, which reduces the feedback error value and enhances the applicability of fuzzy PID;

[0023] 3. In order to prevent the failure of the algorithm controller, nonlinear functions, nonlinear combinations and extended observers are designed as alternative controllers to improve the stability of the underwater robot's attitude control. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a structural diagram of the underwater robot posture control method provided by the present invention;

[0025] Figure 2 It is a data flow chart of the posture control method of the underwater robot controller 1 provided by the present invention;

[0026] Figure 3 It is a control effect diagram and its local amplification of the method provided by the present invention under different variance white noise internal disturbances;

[0027] Figure 4 It is a tracking effect diagram of the method provided by the present invention under a multi-segment step fitting curve;

[0028] Figure 5 It is a tracking effect diagram of the method provided by the present invention under a time-varying irregular curve;

[0029] Figure 6 This is a diagram showing the effect of a fault in the simulated controller 1 provided by the present invention;

[0030] Figure 7 This is a diagram showing the fault compensation effect of the method provided by the present invention. DETAILED DESCRIPTION

[0031] The present invention is further described in detail below in conjunction with the accompanying drawings.

[0032] The present invention provides an underwater robot posture control method based on an improved Kalman filter, and its control structure is as follows: Figure 1 As shown, the following steps are included:

[0033] S1: Based on the system of the terminology bulletin of the Institute of Naval Architects and Marine Engineers recommended by the International Tank Conference and the Newton-Euler equations of rigid body motion, the vertical pitch angle angular velocity model of the underwater robot is established under the condition of small angle of attack;

[0034] S2: Use fuzzy logic and establish fuzzy PID according to certain fuzzy rules;

[0035] S3: To ensure that the fuzzy PID established in S2 has wide practicability, a tracking differentiator is added after the system input to reduce the system feedback error value;

[0036] S4: To ensure the anti-interference capability of the underwater robot, an improved Kalman filter is designed based on the minimum variance estimation criterion, and the fuzzy PID controller 1 described in S2 is combined to control the posture of the underwater robot;

[0037] S5: In order to prevent the failure of the controller 1 described in S4 from causing the load limit of the actuators such as the underwater robot propeller to increase, thereby affecting the normal motion trajectory of the underwater robot and even causing damage to the equipment, a nonlinear function is designed, and a nonlinear combination and an expanded observer are designed using the nonlinear function as the controller 2;

[0038] S6: According to the controller 1 designed in S4, external and internal time-varying disturbances are introduced to test the fast stability of the controller 1;

[0039] S7: Simulate the controller 1 described in S4 to have a fault causing the error to increase infinitely, and verify the system fault compensation.

[0040] The present invention provides an underwater robot posture control method based on an improved Kalman filter. Further, the specific implementation steps are as follows:

[0041] S1: According to the system of the terminology bulletin of the Institute of Naval Architects and Marine Engineers recommended by the International Water Tank Conference and the Newton-Euler equations of rigid body motion, the vertical pitch angle angular velocity model of the underwater robot under the condition of small attack angle can be expressed as follows:

[0042]

[0043] S2: Use fuzzy logic and establish fuzzy PID according to certain fuzzy rules to achieve real-time optimization of the three parameters Kp, Ki, and Kd. The specific steps are as follows:

[0044] First, the inertial element will collect the current posture information of the robot. After filtering, it will obtain the deviation e from the preset value, and the change (difference) ec between the current deviation and the previous deviation.

[0045] e(k)=r1(k)-x(k|k) (2)

[0046] ec(k)=r2(k)-[e(k)-e(k-1)] / T (3)

[0047] Secondly, we need to fuzzify these two values ​​and select the fuzzy set of the variable language describing the input and output as 7 membership degrees:

[0048] {NB,NM,NS,Z,PS,PM,PB} (4)

[0049] The domain of the fuzzy set is selected as:

[0050] e,ec=[-3,-2,-1,0,1,2,3] (5)

[0051] ΔKp, ΔKi=[-0.3,-0.2,-0.1,0,0.1,0.2,0.3] (6)

[0052] ΔKd=[-0.03,-0.02,-0.01,0,0.01,0.02,0.03] (7)

[0053] After multiple selections and comparisons, the input and output membership function finally selected the triangle membership function, the minimum fuzzy set selected the Z-shaped membership function, the maximum fuzzy set selected the S-shaped membership function, and the fuzzy implication adopted the minimum operation:

[0054] R(c,d,f) =A→B=A×B=∫μ A (x)∧μ B (y) / (x,y) (8)

[0055] The composite operation uses the maximum method, and the conjunction and uses the intersection method. All the rules are expressed as follows:

[0056]

[0057] In this experiment, two variable value languages ​​(e, ec) are input and three language variables (Kp, Ki, Kd) are output. Each fuzzy set composed of language variables maps 7 memberships of the language library interval, which are corresponding to the language library membership of the output variables through evolutionary reasoning of fuzzy rules. After experiments, the fuzzy rules for each output variable corresponding to each group of input variables are determined, totaling 49 rules. The fuzzy control rules corresponding to each output variable are shown in the following table.

[0058] Table 1ΔKp fuzzy control rules table

[0059]

[0060] Table 2ΔKi fuzzy control rules table

[0061]

[0062] Table 3 ΔKd fuzzy control rules table

[0063]

[0064] The total fuzzy implication relationship of the 49 fuzzy control rules corresponding to all input and output linguistic variables is:

[0065]

[0066]

[0067] Among them, (R1, R2, …, R 49 ) is the i-th fuzzy rule of fuzzy reasoning in fuzzy PID. Here, x is the error e after the data collected by the inertial element and other posture sensors are subtracted from the target preset value, y is the differential state ec of e, and z represents the output variable (Kp, Ki, Kd), (A1, A2, …, A 49 ) represents the membership value of the input language variable after e is fuzzified, (B1, B2,…, B 49 ) represents the membership value of the input language variable corresponding to ec after fuzzification, (C1, C2, ..., C 49 ) represents the membership value of the output language variable corresponding to Kp after fuzzification, (D1,D2,…,D49 ) represents the membership value of the output language variable corresponding to Ki after fuzzification, (F1, F2, …, F 49 ) represents the membership value of the output linguistic variable corresponding to Kd after fuzzification.

[0068] After that, the data is clarified, i.e., defuzzified, using the area centroid method. Assuming that e belongs to two memberships (PM, PB) after fuzzification, where e's membership to PM is α (α < 1), then e's membership to PB is (1-α), assuming that ec belongs to two memberships (NB, NM) after fuzzification, where ec's membership to NB is β (β < 1), then ec's membership to NM is (1-β), using the ΔKd fuzzy control rule table corresponding to the rule relationship, the final output solution is:

[0069] (α*β+(1-α)*β)*PB+α*(1-β)*NS+(1-α)*(1-β)*PM (11)

[0070] The output function value is clarified and the output solution is calculated by multiplying the membership degree by the corresponding membership value.

[0071]

[0072] S3: To ensure that the fuzzy PID established in S2 has wide practicability, a tracking differentiator is added after the system input to reduce the system feedback error value. The tracking differentiator is:

[0073] r1(k)=r1(k-1)+hr2(k-1) (13)

[0074] r2(k)=r2(k-1)+hfst(r1(k-1)-v(k-1),r2(k-1),δ,h) (14)

[0075] Where h is the sampling period; v(k) is the input signal at the kth moment; δ is the parameter that determines the speed of signal tracking. The fst(·) function is the fastest control synthesis function, which is described as follows:

[0076]

[0077]

[0078] in,

[0079]

[0080] S4: To ensure the anti-interference ability of the underwater robot attitude control, an improved Kalman filter is designed based on the minimum variance estimation criterion, and the fuzzy PID controller 1 described in S2 is combined to control the underwater robot attitude. Specifically, the discrete output data of the fuzzy PID controller described in S2 is used to fuse the estimated data in a linear dynamic manner to further constrain the underwater robot attitude observation data. Figure 2 It can be seen that the data flow of the underwater robot controller 1 posture control method, the specific design steps are as follows:

[0081] The modified Kalman filter discrete-time system is described by the following data equation:

[0082]

[0083] Among them, x(k)∈R, y c (k)∈R is the output data of the fuzzy PID controller, w(k)∈R is the data estimation process noise, v(k)∈R is the sensor measurement noise, and u(k)∈R is the filter control input. In order to meet the data estimation process noise and the output data measurement noise standards of the controlled object in the real environment, Gaussian white noise, which is assumed to be the same as the classic Kalman filter, is selected as the algorithm verification continuous disturbance, and the following assumptions are made for the system. Assume that w(k) and v(k) are uncorrelated white noises with an expectation of 0 and variances of Q and R respectively, and obey the (0,σ) distribution, that is:

[0084]

[0085] After the initial output estimate x(0|0)=Bu(0) of the Kalman filter and its initial error variance P(0|0)=P(0) are given, the system (18) is recursively improved under the assumption that the Kalman filter is designed as follows:

[0086] A priori prediction error covariance:

[0087] P(k|k-1)=AP(k-1|k-1)A T +Q (21)

[0088] Calculate the Kalman gain for data correction:

[0089]

[0090] Output data posterior optimal estimate:

[0091] x(k|k)=x(k|k-1)+K(k)[z(k)-Hx(k|k-1)] (23)

[0092] Update the error covariance:

[0093] P(k|k)=[IK(k)H]P(k|k-1) (24)

[0094] The output data prior estimation prediction is to predict the output value at time k based on the estimated value of the Kalman filter at time k-1, that is, to make a linear minimum variance estimate of y(k) based on the output measurement data of the first k-1 controlled objects:

[0095]

[0096] From the above formula, we can see that the process noise w(k-1) is unrelated to the measured data z(k), and from the assumptions, we can see that E[w(k)] = 0, so the output data prior estimate prediction is:

[0097] x(k|k-1)=Ax(k-1|k-1)+By c (k-1) (20)

[0098] Replacing the true output value with the prior estimate results in the following error:

[0099]

[0100] The corresponding prior error covariance is:

[0101]

[0102] In the above formula, e(k-1|k-1) is the error of the previous time, and w(k-1) is the noise of the data process this time. The two are independent of each other, so in the formula, Ae(k-1|k-1)w(k-1 T ) and w(k-1)e(k-1|k-1) T A T are all 0, so we can get:

[0103]

[0104] The corresponding estimated error of the measurement process is:

[0105]

[0106] The measurement estimation error includes the a priori estimation error information, which is weighted to correct the a priori estimation value to obtain the a posteriori estimation value of the output data:

[0107]

[0108] Among them, K(k)∈[0,1] is the measurement estimation error, that is, the Kalman filter gain coefficient.

[0109] Using the posterior update estimate to replace the true output value causes the error:

[0110]

[0111] The corresponding posterior error covariance is:

[0112]

[0113] Among them, e(k|k-1) is the prior estimation process error, v(k) is the data measurement noise, and the two are independent of each other. Ee(k|k-1)Ev(k) T =0, so in the formula (IK(k)H)e(k|k-1)v(k) T K(k) T and K(k)v(k)e(k|k-1) T (IK(k)H) T Both are 0.

[0114] The Kalman gain coefficient K(k) is selected so that the estimated error covariance P(k|k) = E[e(k|k) 2 ] is the smallest, so by taking the derivative of K(k) from the above formula and setting it equal to 0, we can get the Kalman filter gain coefficient K(k):

[0115]

[0116] There is the following mathematical formula for the trace derivative of a matrix:

[0117]

[0118]

[0119] Using the above mathematical formula to solve the derivative of trP(k|k) with respect to K(k) in the above formula, we can get:

[0120]

[0121] Let the result of the above formula equal to 0 to get:

[0122] P(k|k-1)H T +K(k)[HP(k|k-1)H T +R]=0 (32)

[0123]

[0124] Furthermore, substitute K(k) obtained from the above formula into the expression of P(k|k):

[0125]

[0126] At this point, the recursive improved Kalman filter equation group can be obtained.

[0127] S5: In order to prevent the failure of the controller 1 described in S4 from causing the load limit of the actuators such as the underwater robot propeller to increase, thereby affecting the normal motion trajectory of the underwater robot and even causing damage to the equipment, a nonlinear function is designed, and a nonlinear combination and an extended observer are designed using the nonlinear function as the controller 2. The nonlinear function is as follows:

[0128]

[0129] When the error is low, the function behaves as a linear odd function with monotonic continuous differentiability. As the error increases, it gradually tends to a saturated function and behaves as an exponential function when the error is high.

[0130] The nonlinear combination is specifically as follows:

[0131] u=α1newe(e)+α2newe(ec) (36)

[0132] Among them, u is the nonlinear combination output, α1 and α2 are the gain parameters in the nonlinear combination.

[0133] The expanded observer introduces the concept of bandwidth and reduces the adjustment parameters, which are as follows:

[0134]

[0135] β1=3w,β2=3w 2 ,β3=w 3 (38)

[0136] Among them, x(t) is the observation data of the attitude sensor, e eso is the observation error, Z 11 is the estimated value of the system output, Z 12 is the estimated value of the system output derivative, Z 13 is the estimated value of the total disturbance of the system, u eso is the nonlinear combination output u and the total disturbance estimate Z of the system 13 The sum of , β1, β2, β3 are the built-in gain parameters of the extended observer, and w is the system bandwidth.

[0137] S6: According to the controller 1 designed in S4, external and internal time-varying disturbances are introduced to test the rapid stability of the controller 1, and the tracking effect of the method of the present invention is verified under the underwater robot vertical plane pitch angle angular velocity model described in S1. Figure 2 It can be seen that by adding Gaussian distributed continuous white noise with different variances before and after the underwater robot controlled object, the internal disturbances such as the estimation error of the Kalman filter process and the sensor measurement error of the simulation system are improved, and the sinusoidal signal input is selected. Figure 3It can be seen that the method has good control effects under different internal disturbances. Multi-segment step signal fitting curves and time-varying irregular curves are designed as target postures. Figure 4 and Figure 5 It can be seen that the method of the present invention has the advantages of short response time and good control effect for various desired postures.

[0138] S7: Simulate the controller 1 described in S4 and the error increases infinitely, verify the system fault compensation, Figure 6 It can be seen that controller 1 becomes uncontrolled after the target setting speed is 5 and stabilizes for a period of time. However, there is not enough time to troubleshoot the fault in actual work. Figure 1 It can be seen that the method of the present invention sets the controller guidance switch strategy. When the error exceeds 3, the system can immediately shut down controller 1 and select controller 2 to stabilize the underwater robot posture, so as to avoid sudden failure of the underwater robot during the execution of the task, resulting in the increase of the load limit of the execution unit such as the thruster, affecting the normal motion trajectory of the underwater robot and causing damage to the equipment. Figure 7 It can be seen that the method described in the present invention enables the system to stabilize the current posture in a short time, and the fault compensation effect is completely in line with expectations.

[0139] Obviously, the above implementation is only an example for clearly explaining the present invention, and is not intended to limit the implementation of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementations here. However, these obvious changes or modifications derived from the spirit of the present invention are still within the scope of protection of the present invention.

Claims

1. A method for underwater robot posture control based on improved Kalman filter, characterized in that: include: S1: According to the Newton-Euler equation of rigid body motion, the vertical pitch angle angular velocity model of the underwater robot is established under the condition of small angle of attack: y=[0 1.6164 3.0943]x (1) S2: Use fuzzy logic and establish fuzzy PID according to certain fuzzy rules: First, the inertial element will collect the current posture information of the robot. After filtering, it will obtain the deviation e from the preset value and the change (difference) ec between the current deviation and the previous deviation: e(k)=r1(k)-x(k|k) (2) ec(k)=r2(k)-[e(k)-e(k-1)] / T (3) Secondly, we need to fuzzify these two values ​​and select the fuzzy set of the variable language describing the input and output as 7 membership degrees: {NB,NM,NS,Z,PS,PM,PB} (4) The domain of the fuzzy set is selected as: e,ec=[-3,-2,-1,0,1,2,3] (5) ΔKp, ΔKi=[-0.3,-0.2,-0.1,0,0.1,0.2,0.3] (6) ΔKd=[-0.03,-0.02,-0.01,0,0.01,0.02,0.03] (7) After multiple selections and comparisons, the input and output membership function finally selected the triangle membership function, the minimum membership fuzzy set selected the Z-shaped membership function, the maximum fuzzy set selected the S-shaped membership function, and the fuzzy implication adopted the minimum operation: R (c,d,f) =A→B=A×B=∫μ A (x)∧μ B (y) / (x,y) (8) The composite operation uses the maximum method, and the conjunction and uses the intersection method. All the rules are expressed as follows: S3: To ensure that the fuzzy PID established in S2 has wide practicability, a tracking differentiator is added after the system input to reduce the system feedback error value; S4: To ensure the anti-interference capability of the underwater robot, an improved Kalman filter is designed based on the minimum variance estimation criterion, and the fuzzy PID controller 1 described in S2 is combined to control the posture of the underwater robot. The modified Kalman filter discrete-time system is described by the following data equation: Among them, x(k)∈R, y c (k)∈R is the output data of the fuzzy PID controller, w(k)∈R is the data estimation process noise, v(k)∈R is the sensor measurement noise, and u(k)∈R is the filter control input. In order to meet the data estimation process noise and the output data measurement noise standards of the controlled object in the real environment, the Gaussian white noise assumed in the classic Kalman filter is selected as the algorithm verification continuous disturbance, and the following assumptions are made for the system: Assume that w(k) and v(k) satisfy the expectation of 0 and are uncorrelated white noises with variances Q and R respectively, and obey the (0,σ) distribution, that is: w(k)~P(0,Q),Q=E[w(k)w(k)T],E[w(k)]=0 v(k)~P(0,R),R=E[v(k)v(k) T ],E[v(k)]=0 (19) S5: In order to prevent the failure of the controller 1 described in S4 from causing the load limit of the actuator of the underwater robot to increase, thereby affecting the normal motion trajectory of the underwater robot and even causing damage to the equipment, a nonlinear function is designed, and a nonlinear combination and an extended observer are designed using the nonlinear function as the controller 2; The underwater robot attitude control method based on improved Kalman filter is completed by controller 1 and controller 2, and controller 2 is used as a backup controller to compensate for the failure of controller 1; S6: According to the controller 1 designed in S4, external and internal time-varying disturbances are introduced to verify the fast stability of the controller 1; S7: Simulate the controller 1 described in S4 to have a fault causing the error to increase infinitely, and verify the system fault compensation.

2. The underwater robot posture control method based on the improved Kalman filter according to claim 1 is characterized in that: The fuzzy PID includes: S8: Determine the input membership function, and fuzzify the fuzzy PID input angular velocity deviation e and its deviation change rate ec; S9: Compile fuzzy control rule tables based on the experience of experts and skilled operators in the field to facilitate fuzzy reasoning; S10: Determine the output membership function and perform defuzzification.

3. The underwater robot posture control method based on the improved Kalman filter according to claim 1 is characterized in that: The improved Kalman filter comprises: S11: Utilize the discrete output data of the fuzzy PID controller described in S2 to fuse the estimated data in a linear dynamic manner to further constrain the underwater robot posture observation data.