CN113277046B - A depth-fixing control method for a manta ray-like underwater vehicle based on the centroid and caudal fin - Google Patents

A depth-fixing control method for a manta ray-like underwater vehicle based on the centroid and caudal fin Download PDF

Info

Publication number
CN113277046B
CN113277046B CN202110635058.3A CN202110635058A CN113277046B CN 113277046 B CN113277046 B CN 113277046B CN 202110635058 A CN202110635058 A CN 202110635058A CN 113277046 B CN113277046 B CN 113277046B
Authority
CN
China
Prior art keywords
depth
coefficient
underwater vehicle
deviation
fuzzy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110635058.3A
Other languages
Chinese (zh)
Other versions
CN113277046A (en
Inventor
马淑敏
曹永辉
潘光
曹勇
谢钰
张代利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Northwestern Polytechnical University
Original Assignee
Northwestern Polytechnical University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN202110635058.3A priority Critical patent/CN113277046B/en
Publication of CN113277046A publication Critical patent/CN113277046A/en
Application granted granted Critical
Publication of CN113277046B publication Critical patent/CN113277046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B63SHIPS OR OTHER WATERBORNE VESSELS; RELATED EQUIPMENT
    • B63GOFFENSIVE OR DEFENSIVE ARRANGEMENTS ON VESSELS; MINE-LAYING; MINE-SWEEPING; SUBMARINES; AIRCRAFT CARRIERS
    • B63G8/00Underwater vessels, e.g. submarines; Equipment specially adapted therefor
    • B63G8/14Control of attitude or depth
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/04Control of altitude or depth
    • G05D1/06Rate of change of altitude or depth
    • G05D1/0692Rate of change of altitude or depth specially adapted for under-water vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Mechanical Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Feedback Control In General (AREA)

Abstract

The invention relates to a method for controlling the depth setting of an imitated manta ray underwater vehicle based on a centroid and a tail fin, which aims at propelling the bionic underwater vehicle by a pectoral fin with strong model uncertainty, divides a depth setting task into three stages by adopting segmentation, and implements online correction on PID (proportion integration differentiation) coefficients by combining a fuzzy controller to realize the adjustment of the centroid structure and the tail fin so as to complete the task of swimming at the depth. In the depth setting process, a pectoral fin mechanism of the underwater vehicle is driven by a steering engine and always keeps a flapping state, and the steering engine outputs a constant amplitude value and a constant phase difference to generate thrust along an X axis of a carrier coordinate system. The pitching moment is generated by changing the back and forth movement of the metamorphic heart block and the up and down deflection of the tail fin, so that the depth fixing effect is achieved.

Description

一种基于质心与尾鳍的仿蝠鲼水下航行器定深控制方法A depth-fixing control method for a manta ray-like underwater vehicle based on the centroid and caudal fin

技术领域technical field

本发明属于水下航行器运动控制领域,涉及一种基于质心与尾鳍的仿蝠鲼水下航行器定深控制方法,是基于质心与尾鳍协同控制的仿蝠鲼水下航行器的定深控制方法。The invention belongs to the field of motion control of underwater vehicles, and relates to a depth-fixing control method of a manta ray-like underwater vehicle based on a center of mass and a tail fin. method.

背景技术Background technique

仿蝠鲼水下航行器是一种新型仿生水下航行器,采用胸鳍推进模式,具有高效率、高机动性、高稳定性、低扰动等显著优点,可以实现优秀的原位观测、适应复杂海域,同时还具有良好的生物亲和性,可用于珊瑚海星灾害监测、海洋牧场鱼情监测等领域,具有广阔的应用前景和理论研究价值。The manta-like underwater vehicle is a new type of bionic underwater vehicle. It adopts the pectoral fin propulsion mode and has significant advantages such as high efficiency, high maneuverability, high stability, and low disturbance. It can achieve excellent in-situ observation and adapt to complex At the same time, it also has good biological affinity, which can be used in the fields of coral starfish disaster monitoring and fish condition monitoring in marine pastures, and has broad application prospects and theoretical research value.

胸鳍推进仿生水下航行器的模型十分复杂,至今没有关于胸鳍摆动式推进鱼类的比较准确的模型,限制了传统控制方法在仿生航行器上的应用。目前,针对本类型航行器常用的定深控制方法有模糊控制算法、PID控制算法等,但模糊控制算法的信息简单处理将导致系统控制精度降低、动态性能变差;PID控制算法中参数为定值,不随系统变化,不具有自整定特性。在公开的文献中,少有提及胸鳍仿生水下航行器定深控制的具体方法,如专利:一种鱼形仿生水下机器人及其控制方法[P].CN111284663B与专利:仿生蝠鲼机器人[P].CN112093018A。The model of the pectoral fin propulsion bionic underwater vehicle is very complex, so far there is no relatively accurate model of the pectoral fin oscillating propulsion fish, which limits the application of traditional control methods in the bionic vehicle. At present, the commonly used depth-fixing control methods for this type of aircraft include fuzzy control algorithm, PID control algorithm, etc., but the simple information processing of the fuzzy control algorithm will lead to the reduction of the system control accuracy and the deterioration of the dynamic performance; the parameters in the PID control algorithm are fixed The value does not change with the system and does not have self-tuning characteristics. In the published literature, there is little mention of the specific method of depth-determination control of the pectoral fin bionic underwater vehicle, such as the patent: a fish-shaped bionic underwater robot and its control method [P].CN111284663B and patent: bionic manta ray robot[P]. P]. CN112093018A.

发明内容SUMMARY OF THE INVENTION

要解决的技术问题technical problem to be solved

为了避免现有技术的不足之处,本发明提出一种基于质心与尾鳍的仿蝠鲼水下航行器定深控制方法,是一种基于质心机构与尾鳍协同控制的仿蝠鲼水下航行器的定深控制方法。In order to avoid the deficiencies of the prior art, the present invention proposes a manta ray-like underwater vehicle depth determination control method based on the center of mass and caudal fin, which is a manta ray-like underwater vehicle based on the cooperative control of the center of mass mechanism and the caudal fin. depth control method.

技术方案Technical solutions

一种基于质心与尾鳍的仿蝠鲼水下航行器定深控制方法,其特征在于步骤如下:A method for controlling the depth of an imitation manta ray underwater vehicle based on the center of mass and the tail fin, characterized in that the steps are as follows:

步骤1、计算深度偏差及深度偏差变化率:通过深度传感器获得水下航行器的当前深度为y,向下为正;任务设定的参考深度为yd,则深度偏差Δy为:Step 1. Calculate the depth deviation and the depth deviation rate of change: the current depth of the underwater vehicle obtained through the depth sensor is y, and the downward direction is positive; the reference depth set by the task is y d , then the depth deviation Δy is:

Δy=y-yd Δy=yy d

对深度偏差求导,得到深度偏差变化率v为:Taking the derivation of the depth deviation, the depth deviation change rate v is obtained as:

Figure BDA0003105327080000021
Figure BDA0003105327080000021

其中:t为水下航行器的深度传感器信息更新周期;Among them: t is the depth sensor information update cycle of the underwater vehicle;

步骤2、以深度偏差作为输入将定深任务分为以下三个工况:Step 2. Divide the depth setting task into the following three working conditions with the depth deviation as input:

(1)迅速下潜/上浮:当Δy≥a时,即当前深度远离目标深度,水下航行器处于迅速下潜/上浮阶段,采用表1与表3组合而成的大模糊PID比例系数整定范围;(1) Rapid dive/ascent: when Δy≥a, that is, the current depth is far from the target depth, and the underwater vehicle is in the rapid dive/ascent stage, the large fuzzy PID proportional coefficient composed of Table 1 and Table 3 is used to set scope;

(2)启动定深:当a≥Δy≥b时,当前深度靠近目标深度,水下航行器处于预备定深阶段,采用表2与表3组合而成的模糊PID比例系数范围整定范围;(2) Start depth determination: when a≥Δy≥b, the current depth is close to the target depth, the underwater vehicle is in the preparatory depth determination stage, and the fuzzy PID proportional coefficient range combined from Table 2 and Table 3 is used to set the range;

(3)保持定深:当Δy≤c时,当前深度近似等于目标深度,无需进行调节;(3) Maintain fixed depth: when Δy≤c, the current depth is approximately equal to the target depth, and no adjustment is required;

其中:a,b,c分别为深度大误差、深度小误差和深度误差允许值,依据任务要求设置;Among them: a, b, c are the allowable values of large depth error, small depth error and depth error, respectively, which are set according to the task requirements;

所述步骤(1)和步骤(2)中的整定范围取决于基于模糊控制器修正PID控制器参数,即模糊控制器同时以深度偏差与深度偏差变化率作为输入,利用模糊控制器修正PID控制器参数;The setting range in the steps (1) and (2) depends on the correction of the PID controller parameters based on the fuzzy controller, that is, the fuzzy controller takes the depth deviation and the depth deviation rate of change as inputs, and uses the fuzzy controller to correct the PID control. device parameters;

深度偏差与深度偏差变化率的离散论域为{-3,-2,-1,0,1,2,3},其模糊语言值同样为{NB,NM,NS,ZE,PS,PM,PB}={负大,负中,负小,零,正小,正中,正大};The discrete universe of depth bias and depth bias change rate is {-3, -2, -1, 0, 1, 2, 3}, and the fuzzy language values are also {NB, NM, NS, ZE, PS, PM, PB}={negative big, negative middle, negative small, zero, positive small, positive middle, positive big};

以Δy作为横坐标E的值、v作为纵坐标Ec的值进行表格查询,整正后的PID参数为:Take Δy as the value of the abscissa E and v as the value of the ordinate Ec to query the table, and the PID parameters after adjustment are:

Figure BDA0003105327080000031
Figure BDA0003105327080000031

其中:kp为原始比例系数,ki为原始积分系数,kd为原始微分系数;Δkp为模糊控制器查表得到的比例系数整定调整量,Δki为模糊控制器查表得到的积分系数整定调整量,Δkd为模糊控制器查表得到的微分系数整定调整量;kpF为经过模糊控制器查表得到的比例系数整定调整量Δkp与原始比例系数kp相加后的比例系数,kiF为经过模糊控制器查表得到的积分系数整定调整量Δki与原始积分系数相加后的积分系数,kdF为经过模糊控制器查表得到的微分系数整定调整量Δkd与原始微分系数Δkd相加后的微分系数;Where: k p is the original proportional coefficient, ki is the original integral coefficient, k d is the original differential coefficient; Δk p is the proportional coefficient tuning adjustment amount obtained by the fuzzy controller looking up the table, Δk i is the integral obtained by the fuzzy controller looking up the table Coefficient setting adjustment amount, Δk d is the differential coefficient setting adjustment amount obtained by looking up the table of the fuzzy controller; k pF is the proportional coefficient setting adjustment amount obtained by the fuzzy controller looking up the table. The ratio after adding the original proportional coefficient k p coefficient, k iF is the integral coefficient after adding the integral coefficient setting adjustment amount Δk i obtained by the fuzzy controller look-up table and the original integral coefficient, k dF is the differential coefficient setting adjustment amount obtained through the fuzzy controller look-up table Δk d and The differential coefficient after the original differential coefficient Δk d is added;

利用模糊控制器整定过PID参数的PID控制器计算出的深度控制量Δyc为:The depth control value Δy c calculated by the PID controller with the PID parameters adjusted by the fuzzy controller is:

Figure BDA0003105327080000032
Figure BDA0003105327080000032

其中,kpF为调整后的比例系数,kiF为调整后的积分系数,kdF为调整后的微分系数,Δy为当前深度到目标深度的偏差值,t为积分时间,dt为微分时间;Among them, k pF is the adjusted proportional coefficient, k iF is the adjusted integral coefficient, k dF is the adjusted differential coefficient, Δy is the deviation value from the current depth to the target depth, t is the integration time, and dt is the differential time;

所述表1、表2和表3为:Described table 1, table 2 and table 3 are:

表1:kp模糊控制系数大范围修正表Table 1: Large-scale correction table of kp fuzzy control coefficient

Figure BDA0003105327080000033
Figure BDA0003105327080000033

表2:kp模糊控制系数小范围修正表Table 2: Small range correction table of kp fuzzy control coefficient

Figure BDA0003105327080000041
Figure BDA0003105327080000041

表3:ki/kd模糊控制系数修正表Table 3: k i /k d fuzzy control coefficient correction table

Figure BDA0003105327080000042
Figure BDA0003105327080000042

步骤3:对深度控制量Δyc进行离散化处理可得到离散后的控制量制为:Step 3: Discretize the depth control variable Δyc to obtain the discrete control variable as:

Figure BDA0003105327080000043
Figure BDA0003105327080000043

其中:Δyn为第n个控制周期当前深度到目标深度的深度偏差,T为离散化的时间间隔;Where: Δy n is the depth deviation from the current depth to the target depth in the nth control cycle, and T is the discretization time interval;

步骤4、依据控制量计算执行机构值:Step 4. Calculate the actuator value according to the control amount:

计算质心机构的质心块移动的位置:Compute the position where the centroid block of the centroid mechanism moves:

Mc=KM*Δyc*(Mmax-Mmin)M c =K M *Δy c *(M max -M min )

其中:KM为控制量到执行值的转换系数,Mmax为质心机构质心块移动的上限,Mmin为质心机构质心块移动的下限,Δyc为离散后的控制量,Mc为质心机构需要移动的目标位置;Among them: K M is the conversion coefficient from the control quantity to the execution value, M max is the upper limit of the mass center block movement of the mass center mechanism, M min is the lower limit of the mass center block movement of the mass center mechanism, Δy c is the discrete control amount, and M c is the mass center mechanism. The target position to be moved;

计算出尾鳍动作的幅值:Calculate the magnitude of the caudal fin motion:

Qc=R*(Qmax-Qmin)*sin(P*Δyc)Q c =R*(Q max -Q min )*sin(P*Δy c )

其中:P为控制量转换系数,R为输出增益系数,Qmax为尾鳍动作的上限,Qmin为尾鳍动作的下限,Δyc为离散后的控制量,Qc为尾鳍动作的目标位置;Among them: P is the control variable conversion coefficient, R is the output gain coefficient, Q max is the upper limit of the tail fin movement, Q min is the lower limit of the tail fin movement, Δy c is the discrete control variable, and Q c is the target position of the tail fin movement;

步骤5:将质心机构需要移动的目标位置Mc控制水下航行器的质心机构,尾鳍动作的目标位置Qc控制水下航行器的尾鳍,改变航行器胸鳍扑动状态下俯仰姿态角,从而产生不同大小的俯仰力矩,使得水下航行器的深度偏差达到误差允许范围内,即在扑动过程中完成定深任务。Step 5: Control the mass center mechanism of the underwater vehicle with the target position M c that the center of mass mechanism needs to move, and control the target position Q c of the tail fin action to control the tail fin of the underwater vehicle, so as to change the pitch attitude angle of the aircraft under the flapping state of the pectoral fins, so that Pitching moments of different magnitudes are generated, so that the depth deviation of the underwater vehicle can reach the allowable error range, that is, the task of depth determination is completed during the fluttering process.

有益效果beneficial effect

本发明提出的一种基于质心与尾鳍的仿蝠鲼水下航行器定深控制方法,针对模型不确定性强的胸鳍推进仿生水下航行器,采用分段将定深任务分为三个阶段,结合模糊控制器对PID系数实施在线修正,实现对质心结构与尾鳍的调节,进而完成定深游动的任务。定深过程中水下航行器的胸鳍机构由舵机驱动且始终保持扑动状态,舵机输出定常的幅值与相位差以产生沿载体坐标系X轴的推力。通过改变质心块的前后移动及尾鳍的上下偏转产生俯仰力矩,达到定深效果。The invention proposes a depth-fixing control method for a manta ray-like underwater vehicle based on the center of mass and caudal fin. For the pectoral fin propulsion bionic underwater vehicle with strong model uncertainty, the depth-fixing task is divided into three stages by segmentation. , combined with the fuzzy controller to implement online correction to the PID coefficients to realize the adjustment of the structure of the centroid and the tail fin, and then complete the task of swimming at a fixed depth. During the depth-fixing process, the pectoral fin mechanism of the underwater vehicle is driven by the steering gear and keeps flapping all the time. The steering gear outputs a constant amplitude and phase difference to generate thrust along the X-axis of the carrier coordinate system. The pitching moment is generated by changing the forward and backward movement of the mass center block and the up and down deflection of the tail fin to achieve the effect of fixing the depth.

采用本发明具有如下的有益效果:Adopting the present invention has the following beneficial effects:

1.传统的PID控制算法存在一定局限性,控制算法中参数为定值,不随系统变化,不具有自整定特性。本发明将航行器的定深控制根据深度偏差的大小分为三种工况,根据不同工况设计不同的模糊控制规则去修正PID参数,具有参数自整定性,且该方法可以普遍适用于没有准确的动力学模型的机器人控制中,具有很强的适用性和移植性。1. The traditional PID control algorithm has certain limitations. The parameters in the control algorithm are fixed values, which do not change with the system and do not have self-tuning characteristics. The invention divides the depth-fixing control of the aircraft into three working conditions according to the magnitude of the depth deviation, and designs different fuzzy control rules according to different working conditions to correct the PID parameters, which has parameter self-tuning properties, and the method can be generally applied to no The accurate dynamic model of robot control has strong applicability and portability.

2.由于对得到的控制量针对质心机构做了线性化计算、针对尾鳍做了非线性化计算,再作用于执行机构,使得质心机构与尾鳍在深度偏差大的情况下联合作用能到达机构最大值,获得航行器垂向速度达到的最大输出值、响应更快速、大大加快了深度误差收敛的速度等有益效果;深度偏差介于大深度偏差与小深度偏差之间的情况下仅使用尾鳍调节,降低了功耗,使得航行器具有更长的续航能力,且得益于尾鳍输出的非线性计算可以提高控制的精度且减小超调量。2. Since the obtained control quantity is linearized for the center of mass mechanism, nonlinearly calculated for the tail fin, and then acts on the actuator, the combined action of the center of mass mechanism and the tail fin can reach the maximum mechanism when the depth deviation is large. The maximum output value achieved by the vertical speed of the vehicle can be obtained, the response is faster, and the speed of the depth error convergence is greatly accelerated; when the depth deviation is between the large depth deviation and the small depth deviation, only the tail fin is used for adjustment. , reducing the power consumption, making the vehicle have longer endurance, and thanks to the nonlinear calculation of the output of the tail fin, the control accuracy can be improved and the overshoot can be reduced.

附图说明Description of drawings

图1为本发明胸鳍驱动水下航行器的定深控制方法原理图;Fig. 1 is the principle diagram of the depth-fixing control method of pectoral fin-driven underwater vehicle of the present invention;

图2为本发明定深程序流程图。Fig. 2 is the flow chart of the depth determination procedure of the present invention.

图3为仿蝠鲼水下航行器简图,两侧扑翼结构关于航行器主体对称,图中编号意义如下:Figure 3 is a schematic diagram of the imitation manta ray underwater vehicle. The flapping structures on both sides are symmetrical with respect to the main body of the vehicle. The meanings of the numbers in the figure are as follows:

1,2,3为航行器扑翼骨架的鳍条单元;1, 2, and 3 are the fin units of the aircraft flapping wing frame;

4为航行器头部;4 is the head of the aircraft;

5为航行器主体,质心块、电子仓等均包覆其内;5 is the main body of the aircraft, and the center of mass block, electronic warehouse, etc. are all wrapped in it;

6为航行器右侧扑翼;6 is the flapping wing on the right side of the aircraft;

7为航行器尾鳍部分。7 is the tail fin part of the aircraft.

具体实施方式Detailed ways

现结合实施例、附图对本发明作进一步描述:The present invention will now be further described in conjunction with the embodiments and accompanying drawings:

本发明采用的技术方案是通过深度传感器获取当前深度信息,利用基于分段的模糊PID控制,在迅速下潜/上浮、启动定深与保持定深三个阶段采用不同的控制策略,依据不同的工况调节质心结构和尾鳍,最终实现水下航行器在扑动状态下的定深控制,具体步骤如下:The technical scheme adopted by the present invention is to obtain the current depth information through the depth sensor, and to use the fuzzy PID control based on segmentation to adopt different control strategies in the three stages of rapid dive/ascent, starting the fixed depth and maintaining the fixed depth. The centroid structure and the tail fin are adjusted under the working conditions, and finally the depth control of the underwater vehicle in the flapping state is realized. The specific steps are as follows:

步骤1:计算深度偏差及深度偏差变化率。Step 1: Calculate the depth deviation and the rate of change of the depth deviation.

通过深度传感器获得水下航行器的当前深度为y(向下为正),任务设定的参考深度为yd,则深度偏差Δy为The current depth of the underwater vehicle obtained through the depth sensor is y (downward is positive), and the reference depth set by the task is y d , then the depth deviation Δy is

Δy=y-yd (1)Δy=yy d (1)

对深度偏差求导,得到深度偏差变化率vDerivation of the depth deviation, the depth deviation change rate v is obtained as

Figure BDA0003105327080000071
Figure BDA0003105327080000071

其中t为水下航行器的深度传感器信息更新周期。where t is the update period of the depth sensor information of the underwater vehicle.

步骤2:执行分段策略。Step 2: Execute the segmentation strategy.

基于胸鳍推进仿生水下航行器模型的复杂性和参数不确定性的特点,设计了专家分段控制器。在获取了控制系统深度偏差的实时信息后,执行专家分段策略。Based on the complexity and parameter uncertainty of the pectoral fin propulsion bionic underwater vehicle model, an expert segmented controller is designed. After obtaining the real-time information of the depth deviation of the control system, the expert segmentation strategy is executed.

分段控制器以深度偏差作为输入将定深任务分为以下三个工况:The segmented controller uses the depth deviation as input to divide the depth determination task into the following three conditions:

(1)迅速下潜/上浮:当Δy≥a时,即当前深度远离目标深度,水下航行器处于迅速下潜/上浮阶段,模糊控制表选用为表4与表6。此种工况下质心机构与尾鳍为执行机构根据控制量共同作用。此时质心机构与尾鳍根据控制量共同作用产生较大的俯仰力矩,实现快速下潜、上浮。(1) Rapid dive/ascent: when Δy≥a, that is, the current depth is far from the target depth, the underwater vehicle is in the rapid dive/ascent stage, and the fuzzy control table is selected as Table 4 and Table 6. Under this condition, the center of mass mechanism and the tail fin act together as the actuator according to the control amount. At this time, the center of mass mechanism and the tail fin work together to generate a large pitching moment according to the control amount, so as to achieve rapid diving and ascending.

(2)启动定深:当a≥Δy≥b时,当前深度靠近目标深度,水下航行器处于预备定深阶段,模糊控制表选用为表5与表6。此种工况下仅有尾鳍部分根据控制量进行调节。此时仅质心系统回归中位,仅尾鳍根据控制量进行调节,产生较小的俯仰力矩,减小超调。(2) Start depth determination: when a≥Δy≥b, the current depth is close to the target depth, the underwater vehicle is in the preparatory depth determination stage, and the fuzzy control table is selected as Table 5 and Table 6. In this case, only the tail fin part is adjusted according to the control amount. At this time, only the center of mass system returns to the neutral position, and only the tail fin is adjusted according to the control amount, resulting in a small pitching moment and reducing overshoot.

(3)保持定深:当Δy≤c时,当前深度近似等于目标深度,无需进行调节。(3) Maintain fixed depth: when Δy≤c, the current depth is approximately equal to the target depth, and no adjustment is required.

其中a,b,c分别为设定的深度大误差、深度小误差和深度误差允许值。Among them, a, b, and c are the set maximum depth error, small depth error and allowable value of depth error, respectively.

步骤3:基于模糊控制器修正PID控制器参数。Step 3: Correct the PID controller parameters based on the fuzzy controller.

模糊控制器同时以深度偏差与深度偏差变化率作为输入,利用模糊控制器修正PID控制器参数,其原理图如图1所示。The fuzzy controller takes the depth deviation and the depth deviation rate as input at the same time, and uses the fuzzy controller to correct the parameters of the PID controller. The schematic diagram is shown in Figure 1.

深度偏差的基本论域为Δy∈[-|ymax|,|ymax|],其中ymax为深度偏差的最大值;深度偏差变化率的论域为v∈[-|vmax|,|vmax|],其中vmax为深度偏差率的最大值。深度偏差与深度偏差变化率的离散论域为{-3,-2,-1,0,1,2,3},其模糊语言值同样为{NB,NM,NS,ZE,PS,PM,PB}={负大,负中,负小,零,正小,正中,正大}。The basic domain of depth bias is Δy∈[-|y max |, |y max |], where y max is the maximum value of depth bias; the domain of variation rate of depth bias is v∈[-|v max |, | v max |], where v max is the maximum value of the depth deviation rate. The discrete universe of depth bias and depth bias change rate is {-3, -2, -1, 0, 1, 2, 3}, and the fuzzy language values are also {NB, NM, NS, ZE, PS, PM, PB}={negative large, negative medium, negative small, zero, positive small, positive medium, positive large}.

根据不同的工况通过模糊控制器进行查表运算对原有PID参数进行自整定,以Δy作为横坐标E的值、v作为纵坐标Ec的值进行表格查询,整正后的PID参数为:According to different working conditions, the original PID parameters are self-tuned by using the fuzzy controller to perform the table lookup operation. The table query is carried out with Δy as the value of the abscissa E and v as the value of the ordinate Ec. The adjusted PID parameters are:

Figure BDA0003105327080000081
Figure BDA0003105327080000081

式(3)中,kp为原始比例系数,ki为原始积分系数,kd为原始微分系数;Δkp为模糊控制器查表得到的比例系数整定调整量,Δki为模糊控制器查表得到的积分系数整定调整量,Δkd为模糊控制器查表得到的微分系数整定调整量;kpF为经过模糊控制器查表得到的比例系数整定调整量Δkp与原始比例系数kp相加后的比例系数,kiF为经过模糊控制器查表得到的积分系数整定调整量Δki与原始积分系数相加后的积分系数,kdF为经过模糊控制器查表得到的微分系数整定调整量Δkd与原始微分系数Δkd相加后的微分系数;In formula (3), k p is the original proportional coefficient, k i is the original integral coefficient, and k d is the original differential coefficient; The integral coefficient tuning adjustment amount obtained from the table, Δk d is the differential coefficient tuning adjustment amount obtained by looking up the table of the fuzzy controller; k pF is the proportional coefficient tuning adjustment amount obtained by the fuzzy controller looking up the table Δk p is in phase with the original proportional coefficient k p The added proportional coefficient, k iF is the integral coefficient after the addition of the integral coefficient tuning adjustment value Δki obtained by the fuzzy controller look-up table and the original integral coefficient, k dF is the differential coefficient tuning adjustment obtained by the fuzzy controller look-up table The differential coefficient after the quantity Δk d is added to the original differential coefficient Δk d ;

实施例的模糊控制表如附表4、5、6所示。The fuzzy control tables of the embodiment are shown in the attached tables 4, 5 and 6.

利用模糊控制器整定过PID参数的PID控制器计算出的深度控制量Δyc为:The depth control value Δy c calculated by the PID controller with the PID parameters adjusted by the fuzzy controller is:

Figure BDA0003105327080000082
Figure BDA0003105327080000082

式(4)中,kpF为调整后的比例系数,kiF为调整后的积分系数,kdF为调整后的微分系数,Δy为当前深度到目标深度的偏差值,t为积分时间,dt为微分时间;In formula (4), k pF is the adjusted proportional coefficient, k iF is the adjusted integral coefficient, k dF is the adjusted differential coefficient, Δy is the deviation value from the current depth to the target depth, t is the integration time, dt is the differential time;

对上式进行离散化处理可得到离散后的控制量制为:By discretizing the above formula, the discrete control quantity can be obtained as:

Figure BDA0003105327080000091
Figure BDA0003105327080000091

式(5)中Δyn为第n个控制周期当前深度到目标深度的深度偏差,T为离散化的时间间隔。In formula (5), Δy n is the depth deviation from the current depth to the target depth in the nth control cycle, and T is the discretization time interval.

步骤4:依据控制量计算执行机构值。Step 4: Calculate the actuator value according to the control amount.

依据离散化的控制量可以计算出质心机构的质心块移动的位置,具体公式为:According to the discretized control quantity, the moving position of the centroid block of the centroid mechanism can be calculated. The specific formula is:

Mc=KM*Δyc*(Mmax-Mmin) (6)M c =K M *Δy c *(M max -M min ) (6)

式(6)中KM为控制量到执行值的转换系数,Mmax为质心机构质心块移动的上限,Mmin为质心机构质心块移动的下限,Δyc为离散后的控制量,Mc为质心机构需要移动的目标位置。In formula (6), K M is the conversion coefficient from the control quantity to the execution value, M max is the upper limit of the movement of the mass center block of the mass center mechanism, M min is the lower limit of the mass center block movement of the mass center mechanism, Δy c is the discrete control amount, M c The target position that the centroid mechanism needs to move.

依据离散化的控制量可以计算出尾鳍动作的幅值,具体公式为:The amplitude of the tail fin action can be calculated according to the discretized control amount, and the specific formula is:

Qc=R*(Qmax-Qmin)*sin(P*Δyc) (7)Q c =R*(Q max -Q min )*sin(P*Δy c ) (7)

式(7)中P为控制量转换系数,R为输出增益系数,Qmax为尾鳍动作的上限,Qmin为尾鳍动作的下限,Δyc为离散后的控制量,Qc为尾鳍动作的目标位置。In formula (7), P is the control variable conversion coefficient, R is the output gain coefficient, Q max is the upper limit of the tail fin movement, Q min is the lower limit of the tail fin movement, Δy c is the discrete control variable, and Q c is the target of the tail fin movement. Location.

如Mmax为20,Mmin为-20,Mc为0,Qmax为30,Qmin为30,Qc为5时,表示质心机构的执行值为0,质心块应该保持在零位不动作;尾鳍执行值为5,尾鳍应该打到5°的位置,此时为启动定深阶段。For example, when M max is 20, M min is -20, M c is 0, Q max is 30, Q min is 30, and Q c is 5, it means that the execution value of the centroid mechanism is 0, and the centroid block should be kept at the zero position. Action; the execution value of the caudal fin is 5, and the caudal fin should be hit to the position of 5°, which is the start of the depth-fixing stage.

根据控制量调节解算的水下航行器的参考质心位置和参考尾鳍偏转角度,调节质心机构和尾鳍使得水下航行器质心和尾鳍达到参考位置,改变航行器胸鳍扑动状态下俯仰姿态角大小,使得水下航行器产生俯仰力矩,进行深度调节,深度偏差达到误差允许范围内,即实现水下航行器在胸鳍扑动状态下的定深过程,其程序流程图如图2所示,仿蝠鲼水下航行器简图如图3所示。Adjust the calculated reference center of mass position of the underwater vehicle and the deflection angle of the caudal fin according to the control amount, adjust the center of mass mechanism and the caudal fin so that the center of mass and the caudal fin of the underwater vehicle reach the reference position, and change the pitch attitude angle of the aircraft when the pectoral fin flaps , so that the underwater vehicle generates a pitching moment, adjusts the depth, and the depth deviation reaches the allowable error range, that is, the depth setting process of the underwater vehicle in the state of pectoral fin flapping is realized. The program flow chart is shown in Figure 2. The schematic diagram of the manta ray underwater vehicle is shown in Figure 3.

附表4:Schedule 4:

具体示例kp模糊控制系数大范围修正表Specific example k p fuzzy control coefficient wide range correction table

Figure BDA0003105327080000101
Figure BDA0003105327080000101

附表5:Schedule 5:

具体示例kp模糊控制系数小范围修正表Specific example k p fuzzy control coefficient small range correction table

Figure BDA0003105327080000102
Figure BDA0003105327080000102

附表6:Schedule 6:

具体示例ki/kd模糊控制系数修正表Specific example k i /k d fuzzy control coefficient correction table

Figure BDA0003105327080000111
Figure BDA0003105327080000111

Claims (1)

1. A method for controlling the depth of an artificial bat ray underwater vehicle based on a centroid and a tail fin is characterized by comprising the following steps:
step 1, calculating depth deviation and depth deviation change rate: acquiring the current depth of the underwater vehicle as y and the current depth is positive downwards through a depth sensor; the reference depth set by the task is y d Then the depth deviation is Δ y:
Δy=y-y d
and (3) deriving the depth deviation to obtain a depth deviation change rate v as:
Figure FDA0003696991680000011
wherein: t is the depth sensor information updating period of the underwater vehicle;
step 2, taking the depth deviation as an input to divide the depth fixing task into the following three working conditions:
(1) rapid submergence/floatation: when delta y is larger than or equal to a, namely the current depth is far away from the target depth, the underwater vehicle is in a rapid submerging/floating stage, and a large fuzzy PID proportion coefficient setting range formed by combining the table 1 and the table 3 is adopted;
(2) starting and depth setting: when a is larger than or equal to delta y and larger than or equal to b, the current depth is close to the target depth, the underwater vehicle is in a prepared depth fixing stage, and a fuzzy PID proportional coefficient range setting range formed by combining a table 2 and a table 3 is adopted;
(3) keeping the depth to be fixed: when delta y is less than or equal to c, the current depth is approximately equal to the target depth without adjustment;
wherein: a, b and c are respectively depth large error, depth small error and depth error allowable values, and are set according to task requirements;
the setting range in the step (1) and the step (2) depends on the PID controller parameter corrected based on the fuzzy controller, namely the fuzzy controller simultaneously takes the depth deviation and the change rate of the depth deviation as input and corrects the PID controller parameter by using the fuzzy controller;
the discrete domain of depth deviation and the change rate of the depth deviation is { -3, -2, -1, 0, 1,2, 3}, and the fuzzy language value is { NB, NM, NS, ZE, PS, PM, PB }, i.e., { large negative, medium negative, small negative, zero, small positive, medium positive, large positive };
and performing table query by taking Δ y as the value of an abscissa E and v as the value of an ordinate Ec, wherein the corrected PID parameters are as follows:
Figure FDA0003696991680000021
wherein: k is a radical of p Is the original scale factor, k i For the original integral coefficient, k d Is the original differential coefficient; Δ k p The proportional coefficient setting adjustment, Δ k, is obtained by looking up a table for the fuzzy controller i Integral coefficient setting adjustment, Δ k, obtained for fuzzy controller look-up table d Obtaining a differential coefficient setting adjustment quantity for a fuzzy controller by looking up a table; k is a radical of pF For the adjustment quantity delta k of the proportional coefficient setting obtained by the look-up table of the fuzzy controller p Coefficient of proportionality to original k p Summed scaling factor, k iF Setting adjustment quantity delta k of integral coefficient obtained by looking up table through fuzzy controller i And the original integral coefficient k i Added integral coefficient, k dF Setting adjustment quantity delta k of differential coefficient obtained by looking up table of fuzzy controller d And the original differential coefficient k d The added differential coefficients;
depth control quantity delta y calculated by PID controller for setting PID parameter by using fuzzy controller c Comprises the following steps:
Figure FDA0003696991680000022
wherein k is pF For adjusted proportionality coefficient, k iF For adjusted integral coefficient, k dF For the adjusted differential coefficient, Δ y is a deviation value from the current depth to the target depth, t is integration time, and dt is differentiation time;
the tables 1,2 and 3 are:
TABLE 1 k p Large range correction table for fuzzy control coefficient
Figure FDA0003696991680000023
TABLE 2 k p Fuzzy control coefficient small range correction table
Figure FDA0003696991680000031
TABLE 3 k i /k d Fuzzy control coefficient correction table
Figure FDA0003696991680000032
And step 3: for depth control quantity delta y c The discretization treatment can obtain a discretized control quantity system as follows:
Figure FDA0003696991680000033
wherein: Δ y n The depth deviation from the current depth to the target depth in the nth control period is shown, and T is a discretized time interval; k is the current nth cycle.
And 4, calculating an actuating mechanism value according to the control quantity:
calculating the position of the centroid block movement of the centroid mechanism:
M c =K M *Δy c *(M max -M min )
wherein: k M For conversion of control quantities into execution values, M max Is the upper limit of the movement of the mass center mechanism, M min Is the lower limit of the movement of the mass center mechanism, Δ y c For discrete controlled variables, M c The target position of the mass center mechanism needing to be moved;
calculating the amplitude of the tail fin action:
Q c =R*(Q max -Q min )*sin(P*Δy c )
wherein: p is the control quantity conversion coefficient, R is the output gain coefficient, Q max Upper limit of motion of the tail fin, Q min Lower limit of motion of the tail fin, Δ y c For discrete controlled quantities, Q c Is the target position of the tail fin action;
and 5: target position M of mass center mechanism needing to be moved c Control of the centroid mechanism of an underwater vehicle, target position Q of the skeg motion c The tail fin of the underwater vehicle is controlled, and the pitching attitude angle of the pectoral fin of the vehicle in a flapping state is changed, so that pitching moments with different sizes are generated, the depth deviation of the underwater vehicle reaches an error allowable range, and a depth fixing task is completed in the flapping process.
CN202110635058.3A 2021-06-08 2021-06-08 A depth-fixing control method for a manta ray-like underwater vehicle based on the centroid and caudal fin Active CN113277046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110635058.3A CN113277046B (en) 2021-06-08 2021-06-08 A depth-fixing control method for a manta ray-like underwater vehicle based on the centroid and caudal fin

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110635058.3A CN113277046B (en) 2021-06-08 2021-06-08 A depth-fixing control method for a manta ray-like underwater vehicle based on the centroid and caudal fin

Publications (2)

Publication Number Publication Date
CN113277046A CN113277046A (en) 2021-08-20
CN113277046B true CN113277046B (en) 2022-08-05

Family

ID=77283699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110635058.3A Active CN113277046B (en) 2021-06-08 2021-06-08 A depth-fixing control method for a manta ray-like underwater vehicle based on the centroid and caudal fin

Country Status (1)

Country Link
CN (1) CN113277046B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113734393B (en) * 2021-09-28 2022-12-02 深圳先进技术研究院 Bionic robot fish depth control method and device based on attack angle method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07165180A (en) * 1993-12-16 1995-06-27 Nec Corp Depth control system for submersible navigating body
CN102923286A (en) * 2012-10-30 2013-02-13 北京航空航天大学 Intelligent material IMPC-based manta ray-simulated underwater vehicle
CN105383654A (en) * 2015-10-30 2016-03-09 哈尔滨工程大学 Depth control device of autonomous underwater vehicle
JP2017206154A (en) * 2016-05-19 2017-11-24 三菱重工業株式会社 Underwater sailing body control device, underwater sailing system, underwater sailing body control method and program
JP2017208012A (en) * 2016-05-20 2017-11-24 三菱重工業株式会社 Control device, underwater vehicle, control method, and program
CN107571983A (en) * 2017-07-12 2018-01-12 河海大学 A kind of depth control method of three joint bionic machine fish
CN110758698A (en) * 2019-11-28 2020-02-07 中国科学院自动化研究所 Glide depth control method, system and device for bionic gliding robot dolphin
CN111930132A (en) * 2020-07-22 2020-11-13 西北工业大学 Track control method for underwater autonomous vehicle
US10935986B1 (en) * 2019-11-28 2021-03-02 Institute Of Automation, Chinese Academy Of Sciences Gliding depth control method, system and device for biomimetic gliding robotic dolphin

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07165180A (en) * 1993-12-16 1995-06-27 Nec Corp Depth control system for submersible navigating body
CN102923286A (en) * 2012-10-30 2013-02-13 北京航空航天大学 Intelligent material IMPC-based manta ray-simulated underwater vehicle
CN105383654A (en) * 2015-10-30 2016-03-09 哈尔滨工程大学 Depth control device of autonomous underwater vehicle
JP2017206154A (en) * 2016-05-19 2017-11-24 三菱重工業株式会社 Underwater sailing body control device, underwater sailing system, underwater sailing body control method and program
JP2017208012A (en) * 2016-05-20 2017-11-24 三菱重工業株式会社 Control device, underwater vehicle, control method, and program
CN107571983A (en) * 2017-07-12 2018-01-12 河海大学 A kind of depth control method of three joint bionic machine fish
CN110758698A (en) * 2019-11-28 2020-02-07 中国科学院自动化研究所 Glide depth control method, system and device for bionic gliding robot dolphin
US10935986B1 (en) * 2019-11-28 2021-03-02 Institute Of Automation, Chinese Academy Of Sciences Gliding depth control method, system and device for biomimetic gliding robotic dolphin
CN111930132A (en) * 2020-07-22 2020-11-13 西北工业大学 Track control method for underwater autonomous vehicle

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
A Method for Calculating the Amount of Movements to Estimate the self-position of Manta Robots;Takuya Imahama等;《Journal of Physics: Conference Series》;20181231;全文 *
Design and Locomotion Control of a Biomimetic Underwater Vehicle With Fin Propulsion;Chunlin Zhou等;《IEE/ASME TRANSACTIONS ON MECHATRONICS》;20120229;全文 *
Design and Locomotion Control of a Dactylopteridae-Inspired Biomimetic Underwater Vehicle With Hybrid Propulsion;Tiandong Zhang等;《IEE Transactions on Automation Science and Engineering》;20210408;全文 *
仿生机器鱼胸/尾鳍协同推进闭环深度控制;李宗刚等;《机器人》;20200131;全文 *
基于模糊PID的小型ROV定深运动控制仿真;綦声波等;《现代电子技术》;20200115;全文 *

Also Published As

Publication number Publication date
CN113277046A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
WO2022242633A1 (en) Nacelle type unmanned ship course control method
CN109283842B (en) Unmanned ship track tracking intelligent learning control method
CN108196445B (en) An Attitude and Position Control Method of Underwater Robot Based on Double Closed-loop Active Disturbance Rejection
CN105773623B (en) SCARA robotic tracking control methods based on the study of forecasting type Indirect iteration
CN106292287B (en) A kind of UUV path following method based on adaptive sliding-mode observer
CN112147899B (en) An autonomous obstacle avoidance control method for underwater robots based on fuzzy sliding mode algorithm
CN107844123A (en) A kind of Nonlinear Flight device flight tracking control method
CN105334735A (en) Flying wing layout unmanned aerial vehicle control law based on angular rate
CN108490944B (en) Ship vector control system and method based on water jet propeller
CN109656142B (en) Cascade structure model-free self-adaptive guidance method for unmanned ship
CN113341974B (en) Gliding course control method of simulated manta ray underwater vehicle based on flapping wing bias
CN107490958B (en) A fuzzy adaptive control method for a five-degree-of-freedom hybrid robot
CN113325858A (en) Simulated bat aircraft course control method based on flapping wing amplitude
CN111830832B (en) Plane path tracking method and system for bionic gliding robot dolphin
CN113277046B (en) A depth-fixing control method for a manta ray-like underwater vehicle based on the centroid and caudal fin
CN107632518A (en) Hypersonic aircraft neutral net Hybrid Learning control method based on High-gain observer
CN116736709B (en) Dynamic compensation type active disturbance rejection heading control method for marine robot
CN113734393A (en) Bionic robot fish depth control method and device based on attack angle method
CN113325857B (en) Depth determination control method of manta ray-like underwater vehicle based on centroid and buoyancy system
CN112936277A (en) Underwater robot-manipulator system fixed time trajectory tracking method
CN113342012A (en) Course control method of sliding and flapping integrated aircraft
CN115079569A (en) AGV nonlinear active disturbance rejection control method based on longicorn stigma search algorithm
CN112363538B (en) AUV (autonomous underwater vehicle) area tracking control method under incomplete speed information
CN117406746B (en) A design method for a fishing vessel track keeping controller considering severe sea conditions
CN118625849A (en) A method for heel control of underwater vehicle based on separated stern rudder

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant