CN109116838B - Automatic berthing auxiliary control method for small ship - Google Patents

Automatic berthing auxiliary control method for small ship Download PDF

Info

Publication number
CN109116838B
CN109116838B CN201810329931.4A CN201810329931A CN109116838B CN 109116838 B CN109116838 B CN 109116838B CN 201810329931 A CN201810329931 A CN 201810329931A CN 109116838 B CN109116838 B CN 109116838B
Authority
CN
China
Prior art keywords
motion
ship
model
speed
gain
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
CN201810329931.4A
Other languages
Chinese (zh)
Other versions
CN109116838A (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.)
Shanghai Maritime University
Original Assignee
Shanghai Maritime 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 Shanghai Maritime University filed Critical Shanghai Maritime University
Priority to CN201810329931.4A priority Critical patent/CN109116838B/en
Publication of CN109116838A publication Critical patent/CN109116838A/en
Application granted granted Critical
Publication of CN109116838B publication Critical patent/CN109116838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/02Control of position or course in two dimensions
    • G05D1/0206Control of position or course in two dimensions specially adapted to water vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace 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

提出了一种用于小型船的自动停泊辅助控制方法,从船的运动的完整数学描述开始,引入简化的面向控制的模型,通过灰箱模型识别系统的物理参数,然后用来调整嵌套循环控制体系结构的参数。研究控制算法以实现两种主要操作模式:半自动模式和定位保持模式。在半自动模式中,船被手动引导到停车位,而控制器通过排除干扰(例如风、波浪)来帮助用户保持航向和位置。在定位保持模式下,控制器保持船舶在港内的位置和航向。

Figure 201810329931

An automatic mooring assistance control method for small boats is proposed, starting from a complete mathematical description of the boat's motion, introducing a simplified control-oriented model, identifying the physical parameters of the system through a grey-box model, which are then used to tune nested loops Parameters that control the architecture. The control algorithm is studied to achieve two main modes of operation: semi-automatic mode and position-holding mode. In semi-autonomous mode, the boat is manually guided to a parking space, while the controller helps the user maintain course and position by removing disturbances (e.g. wind, waves). In position hold mode, the controller maintains the vessel's position and heading within the port.

Figure 201810329931

Description

一种用于小型船的自动停泊辅助控制方法A kind of automatic parking assistance control method for small boats

技术领域technical field

涉及船舶自动停泊控制领域,具体涉及一种用于小型船的自动停泊辅助控制方法。The invention relates to the field of automatic berthing control of ships, in particular to an auxiliary control method for automatic berthing of small ships.

背景技术Background technique

在海洋和海洋工程中,自20世纪60年代以来,使用自动系统通过执行机构来维持船只位置的技术优点已得到认可。总的来说,大部分策略都是针对大型船舶或海洋平台的。小型船舶中用于控制目的的电子设备的使用规模正在扩大,这意味着小规模船只的一些特殊问题也可以通过自动控制来解决和解决,最重要的问题之一是如何在港口进行停车操作。In marine and marine engineering, the technical advantages of using automated systems to maintain a vessel's position by means of actuators have been recognized since the 1960s. In general, most strategies are aimed at large ships or offshore platforms. The use of electronic equipment for control purposes in small ships is expanding, which means that some special problems of small ships can also be solved and solved by automatic control, one of the most important problems is how to carry out parking operations in ports.

国内外学者提出的类似的停车辅助工作,其中航向仅在使用螺旋桨时被控制(没有方向舵)。具体而言,根据船与港之间的距离给出恒定的推力而不考虑摇摆控制,这种控制方法用于小型船只的定位保持策略,参考位置通过使用纵向推进器来补偿风扰动而保持,不考虑摇摆控制并且航向不受控制,存在着很大的技术缺陷。对于小规模船舶的自动泊船技术,存在着很大的技术空白。Similar parking assist work proposed by domestic and foreign scholars, in which the heading is controlled only when the propeller is used (without the rudder). Specifically, a constant thrust is given according to the distance between the ship and the port without considering the sway control, this control method is used in the positioning holding strategy of small ships, the reference position is maintained by using longitudinal thrusters to compensate for wind disturbances, Not considering the sway control and the heading is not controlled, there is a big technical flaw. For the automatic berthing technology of small-scale ships, there is a large technical gap.

发明内容SUMMARY OF THE INVENTION

提出了一种用于小型船的自动停泊辅助控制方法,从船的运动的完整数学描述开始,An automatic parking assist control method for small boats is proposed, starting from a complete mathematical description of the boat's motion,

引入简化的面向控制的模型,通过灰箱模型识别系统的物理参数,然后用来调整嵌套循环控制体系结构的参数。研究控制算法以实现两种主要操作模式:半自动模式和定位保持模式。在半自动模式中,船被手动引导到停车位,而控制器通过排除干扰(例如风、A simplified control-oriented model is introduced to identify the physical parameters of the system through a grey-box model, which is then used to tune the parameters of the nested loop control architecture. The control algorithm is studied to achieve two main modes of operation: semi-automatic mode and position-holding mode. In semi-autonomous mode, the boat is manually guided to a parking space, while the controller works by removing disturbances such as wind,

波浪)来帮助用户保持航向和位置。在定位保持模式下,控制器保持船舶在港内的位置和航向。主要包括以下步骤:waves) to help the user maintain heading and position. In position hold mode, the controller maintains the vessel's position and heading within the port. It mainly includes the following steps:

步骤一、3自由度数学模型建模Step 1, 3 degrees of freedom mathematical model modeling

船的运动模型由6自由度系统描述。使用的符号如下:x是纵荡位移,y是横荡位移,z 是垂荡位移,φ是横摇角,θ是纵摇角,ψ是艏摇角。具体来说,x,y和z描述船的位置,而φ,θ和ψ则表示方向。The motion model of the ship is described by a 6-DOF system. The symbols used are as follows: x is the pitch displacement, y is the sway displacement, z is the heave displacement, φ is the roll angle, θ is the pitch angle, and ψ is the bow angle. Specifically, x, y and z describe the position of the ship, while φ, θ and ψ represent the orientation.

引入以下假设来模拟物理系统:The following assumptions are introduced to simulate the physical system:

1)假设船舶纵向和横向中心稳定(即

Figure BDA0001627669730000011
),横摇运动和纵摇运动被忽略;1) It is assumed that the longitudinal and transverse center of the ship is stable (i.e.
Figure BDA0001627669730000011
), the roll and pitch motions are ignored;

2)在z≈0的假设下忽略垂荡运动;2) Ignore the heave motion under the assumption of z≈0;

3)由于海港处于“封闭”环境,波浪的影响(即高频运动)被忽略,所以海浪对停泊机动性的影响很小;3) Since the seaport is in a "closed" environment, the effect of waves (ie high frequency motion) is ignored, so the impact of waves on mooring maneuverability is small;

4)根据机动理论,利用粘性摩擦方程描述船舶与环境扰动(风和海浪)之间的相互作用;4) According to the maneuvering theory, the interaction between the ship and environmental disturbances (wind and ocean waves) is described by the viscous friction equation;

5)忽略执行机构的动力学,因为它们通常比船的动力学要快得多;5) ignore the dynamics of the actuators as they are usually much faster than the dynamics of the boat;

6)船的质量分布均匀并且关于xz平面对称性;6) The mass distribution of the ship is uniform and symmetrical about the xz plane;

7)在港口可达到的最大速度为3节,流体静力学和流体力学忽略不计。7) The maximum speed achievable in port is 3 knots, hydrostatics and hydrodynamics are neglected.

用于描述船在水平面上的低频运动的模型可以简化为三自由度模型,三自由度数学模型与固定在船上的参考系,即船体坐标系{1}有关。船的状态可以通过向量x=[x yψ]T来描述,该向量表示船体坐标系{1}上的纵荡,横荡和艏摇运动。状态向量x可以在地面固定参考系{e} 上描述。The model used to describe the low-frequency motion of the ship on the horizontal plane can be simplified as a three-degree-of-freedom model, and the three-degree-of-freedom mathematical model is related to the reference frame fixed on the ship, that is, the hull coordinate system {1}. The state of the ship can be described by the vector x = [x yψ] T , which represents the surge, sway and yaw motions in the hull coordinate system {1}. The state vector x can be described in a ground-fixed reference frame {e}.

作用于船上的力如下:The forces acting on the boat are as follows:

1)推进器的产生推力。这些可以被简化为位于重心(CG)中的三个(虚拟)推进器。沿着纵向的输入力fx,沿横向的输入力fy和沿着艏摇方向的τ全部施加到重心上。1) The thrust generated by the thruster. These can be simplified to three (virtual) thrusters located in the center of gravity (CG). The input force f x in the longitudinal direction, the input force f y in the transverse direction and the τ in the yaw direction are all applied to the center of gravity.

2)沿纵向方向的流体动力(由于风和水)Fxc、Fxw以及沿着横向方向的Fyc、Fyw。风和水流的强度和方向在地面坐标系{e}上定义,然后投影到船体坐标系{1}上。2) Hydrodynamics (due to wind and water) Fxc , Fxw in longitudinal direction and Fyc , Fyw in transverse direction. The strength and direction of wind and current are defined on the ground coordinate system {e} and then projected onto the hull coordinate system {1}.

数学模型如下:The mathematical model is as follows:

Figure BDA0001627669730000021
Figure BDA0001627669730000021

其中通过计算力的横向和纵向平衡以及力矩相对于z轴的平衡来获得方程。在(1)中,fx,fy和τ是模型的输入,

Figure BDA0001627669730000022
Figure BDA0001627669730000023
分别是纵荡和横荡加速度,
Figure BDA0001627669730000024
是艏摇角加速度,
Figure BDA0001627669730000025
是艏摇角速度,M是质量,J是惯性矩,Kψ是地转偏向力向心系数,bxw(t),bxc(t),byw(t)和分别是中心(CG)与中心点(CP)之间的时变距离,即流体动力的作用点。下标w表示“风”,而下标c表示“水流”。where the equations are obtained by calculating the lateral and longitudinal balance of forces and the balance of moments with respect to the z-axis. In (1), f x , f y and τ are the inputs to the model,
Figure BDA0001627669730000022
and
Figure BDA0001627669730000023
are the surge and sway accelerations, respectively,
Figure BDA0001627669730000024
is the yaw angular acceleration,
Figure BDA0001627669730000025
is the yaw angular velocity, M is the mass, J is the moment of inertia, K ψ is the centripetal coefficient of the geostrophic deflection force, b xw (t), b xc (t), b yw (t) and are the center (CG) and The time-varying distance between the center points (CP), the point of action of the hydrodynamic force. The subscript w means "wind" and the subscript c means "water flow".

在{1}中纵向作用的流体动力产生的力矩用τx=bxwFxw+bxcFxc表示,横向作用的流体动力产生的力矩用τy=bywFyw+bycFyc表示。由于小型船舶船体的长度是宽度的三倍以上,τy>>τx,中心点位于船纵轴上,因此产生bxw(t)=0,bxc(t)=0。In {1}, the moment generated by the hydrodynamic force acting longitudinally is denoted by τ x =b xw F xw +b xc F xc , and the moment generated by the hydrodynamic force acting laterally is denoted by τ y =b yw F yw +b yc F yc . Since the length of the hull of a small ship is more than three times the width, τ y >>τ x , the center point is located on the longitudinal axis of the ship, resulting in b xw (t)=0, b xc (t)=0.

byc(t)和byw(t)将被视为常量,它们的值将被纳入灰箱识别过程中使用的传递函数的增益和时间常数中。b yc (t) and b yw (t) will be treated as constants and their values will be incorporated into the gain and time constant of the transfer function used in the grey box identification process.

流体动力可以定义为Fluid dynamics can be defined as

Figure BDA0001627669730000031
Figure BDA0001627669730000031

其中in

Figure BDA0001627669730000032
Figure BDA0001627669730000032

流体动力学导数表示为

Figure BDA0001627669730000033
其中
Figure BDA0001627669730000034
为流体动力系数,ρc和ρw分别是空气和水的密度,而
Figure BDA0001627669730000035
是流体/接触表面。The hydrodynamic derivative is expressed as
Figure BDA0001627669730000033
in
Figure BDA0001627669730000034
are the hydrodynamic coefficients, ρ c and ρ w are the densities of air and water, respectively, and
Figure BDA0001627669730000035
is the fluid/contact surface.

三自由度的状态空间模型可以写成如下形式:The three-degree-of-freedom state-space model can be written as:

Figure BDA0001627669730000036
Figure BDA0001627669730000036

其中

Figure BDA0001627669730000037
是状态向量,
Figure BDA0001627669730000038
是干扰向量,u=[fx fy τ]T是输入向量,y是输出向量。in
Figure BDA0001627669730000037
is the state vector,
Figure BDA0001627669730000038
is the interference vector, u=[f x f y τ] T is the input vector, and y is the output vector.

船配备了两个侧向螺旋桨,产生fv1和fv2,以及两个船尾推进器产生fu=fu1+fu2(同时方向由舵角

Figure BDA00016276697300000311
确定),惯性力(fx,fy,τ)与实际推力之间的关系可写为:The boat is equipped with two lateral propellers producing f v1 and f v2 , and two stern thrusters producing f u = f u1 + f u2 (while the direction is determined by the rudder angle
Figure BDA00016276697300000311
determined), the relationship between the inertial force (f x , f y , τ) and the actual thrust can be written as:

Figure BDA0001627669730000039
Figure BDA0001627669730000039

最后,以地面坐标系{e}为参考系的船只的运动可以表示为:Finally, the motion of the ship with the ground coordinate system {e} as the reference frame can be expressed as:

[X Y Ψ]T=R(ψ)[x y ψ]T (6)[XY Ψ] T = R(ψ)[xy ψ] T (6)

Figure BDA00016276697300000310
Figure BDA00016276697300000310

其中R是旋转矩阵。where R is the rotation matrix.

步骤二、控制模型设计Step 2. Control model design

考虑由恒定速度定义的作用点,即

Figure BDA0001627669730000041
也就是
Figure BDA0001627669730000042
Consider the point of action defined by the constant velocity, i.e.
Figure BDA0001627669730000041
that is
Figure BDA0001627669730000042

船的线性动力学是通过考虑的稳态条件对非线性模型(4)进行线性化,将三个输入合力与三个输出速度相关联来获得的。最终的模型可以用紧凑的形式写成以下形式The linear dynamics of the ship are obtained by linearizing the nonlinear model (4) for the considered steady-state conditions, correlating the three input resultant forces with the three output velocities. The final model can be written in compact form as

Figure BDA0001627669730000043
Figure BDA0001627669730000043

其中,

Figure BDA0001627669730000044
矩阵A,B,F和C的计算方法如下in,
Figure BDA0001627669730000044
Matrices A, B, F and C are calculated as follows

Figure BDA0001627669730000045
Figure BDA0001627669730000045

输入输出模型通过将拉普拉斯算子应用于线性化状态空间模型来实现。δy(t)可以表示为The input-output model is implemented by applying the Laplacian operator to a linearized state-space model. δy(t) can be expressed as

δy(t)=G(s)δu(t)+H(s)δd(t) (10)δy(t)=G(s)δu(t)+H(s)δd(t) (10)

其中,in,

Figure BDA0001627669730000046
Figure BDA0001627669730000046

Figure BDA0001627669730000047
Figure BDA0001627669730000047

由于控制系统设计为低速靠近港口,因此舵角对偏航运动影响不大:Since the control system is designed to approach the port at low speed, the rudder angle has little effect on the yaw motion:

1)

Figure BDA0001627669730000048
(传递函数
Figure BDA0001627669730000049
Figure BDA00016276697300000410
可以忽略不计);1)
Figure BDA0001627669730000048
(Transfer Function
Figure BDA0001627669730000049
and
Figure BDA00016276697300000410
can be ignored);

2)中心点与中心重合(

Figure BDA00016276697300000411
可以忽略不计);2) The center point coincides with the center (
Figure BDA00016276697300000411
can be ignored);

3)

Figure BDA00016276697300000414
3)
Figure BDA00016276697300000414

模型简化如下:其中KPP和KPROP分别代表沿纵向和横向最大推力的常数项,comi代表实际的执行机构的指令信号,而

Figure BDA00016276697300000412
Figure BDA00016276697300000413
是一阶传递函数。The model is simplified as follows: where K PP and K PROP represent the constant terms of the maximum thrust along the longitudinal and transverse directions, respectively, com i represents the actual command signal of the actuator, and
Figure BDA00016276697300000412
and
Figure BDA00016276697300000413
is the first-order transfer function.

步骤三、灰箱识别Step 3. Gray box identification

灰箱识别程序由三个步骤组成:The grey box identification procedure consists of three steps:

1)识别面向控制模型的传递函数的增益和时间常数;1) Identify the gain and time constant of the transfer function for the control model;

2)确定从合力到船速的增益项;2) Determine the gain term from resultant force to ship speed;

3)识别模型的物理参数。3) Identify the physical parameters of the model.

识别与纵向运动相关的传递函数

Figure BDA0001627669730000051
的过程如下:Identify transfer functions associated with longitudinal motion
Figure BDA0001627669730000051
The process is as follows:

首先,线性化模型方程改写为First, the linearized model equation is rewritten as

Figure 100002_DEST_PATH_FDA0001680987740000049
Figure 100002_DEST_PATH_FDA0001680987740000049

Figure BDA0001627669730000053
是comx
Figure BDA0001627669730000054
之间的增益,
Figure BDA0001627669730000055
Figure BDA0001627669730000056
Figure BDA0001627669730000057
之间的增益,
Figure BDA0001627669730000058
是纵荡运动的时间常数。其次,时间常数
Figure BDA0001627669730000059
是通过输出估算的。第三,风速和纵荡速度
Figure BDA00016276697300000510
之间的传递函数的增益是从所有推进器关闭的测试中识别。最后,执行器的指令与横荡速度之间的传递函数的增益通过相对于
Figure BDA00016276697300000511
的最小化代价函数来计算
Figure BDA0001627669730000053
is com x and
Figure BDA0001627669730000054
gain between,
Figure BDA0001627669730000055
Yes
Figure BDA0001627669730000056
and
Figure BDA0001627669730000057
gain between,
Figure BDA0001627669730000058
is the time constant of the surging motion. Second, the time constant
Figure BDA0001627669730000059
is estimated from the output. Third, wind speed and surge speed
Figure BDA00016276697300000510
The gain in transfer function between is identified from tests with all thrusters turned off. Finally, the gain of the transfer function between the actuator's command and the sway speed is determined by relative to
Figure BDA00016276697300000511
to minimize the cost function of

Figure BDA00016276697300000512
Figure BDA00016276697300000512

传递函数描述了推进器命令与船速之间的动态关系。然后,计算合力和船速

Figure BDA00016276697300000513
Figure BDA00016276697300000514
之间的增益。例如,考虑纵荡运动。使用公式
Figure BDA00016276697300000515
来合外力增益和纵荡运动的时间常数的关系为
Figure BDA00016276697300000516
类似地,对于横荡运动,可以表示为
Figure BDA00016276697300000517
The transfer function describes the dynamic relationship between thruster command and boat speed. Then, calculate the resultant force and the speed of the boat
Figure BDA00016276697300000513
Figure BDA00016276697300000514
gain between. For example, consider surging motion. use formula
Figure BDA00016276697300000515
The relationship between the external force gain and the time constant of the surging motion is
Figure BDA00016276697300000516
Similarly, for sway motion, it can be expressed as
Figure BDA00016276697300000517

由于质量是已知的,增益可以通过将基本公式变换为Since the mass is known, the gain can be obtained by transforming the basic formula into

Figure BDA00016276697300000518
Figure BDA00016276697300000518

其中a是侧向推进器和重心之间的距离。where a is the distance between the lateral thrusters and the center of gravity.

还要注意,由于增益

Figure BDA0001627669730000061
和纵荡时间常数
Figure BDA0001627669730000062
相对于流体动态导数Kxc和Kxw是线性的,所以线性系统可以在操作条件(
Figure BDA0001627669730000063
Figure BDA0001627669730000064
)下使用最小二乘法来定义Also note that since the gain
Figure BDA0001627669730000061
and the surge time constant
Figure BDA0001627669730000062
The derivatives K xc and K xw are linear with respect to the fluid dynamics, so the linear system can be
Figure BDA0001627669730000063
and
Figure BDA0001627669730000064
) using the least squares method to define

Figure BDA0001627669730000065
Figure BDA0001627669730000065

同理,也可以计算横荡运动的流体动力学导数Kyc和KywSimilarly, the hydrodynamic derivatives K yc and K yw of the sway motion can also be calculated.

步骤四、控制系统体系设计Step four, control system system design

自动停泊辅助系统在半自动模式下运行或定位保持。控制结构设计为每个自由度级联两个环路,内部速度环路专用于半自动模式,而定位模式则通过外部位置环路实现。The automatic park assist system operates in semi-automatic mode or holds position. The control structure is designed to cascade two loops per degree of freedom, the inner velocity loop is dedicated to the semi-automatic mode, and the positioning mode is implemented by the outer position loop.

内环速度环的设定点可以以两种不同的方式提供:在定位保持模式中,速度设定点由位置调节器给出,而在半自动模式中,速度设定点由用户通过操纵杆设置。控制系统的指令变量是推进装置和侧向螺旋桨的齿轮。推进装置被用来控制纵荡运动,因为船只在齿轮触发的情况下达到港口附近允许的最大速度(3节),侧向螺旋桨用于在低速时控制横荡和艏摇运动。The setpoint of the inner speed loop can be provided in two different ways: in position hold mode, the speed setpoint is given by the position regulator, and in semi-automatic mode, the speed setpoint is set by the user via the joystick . The command variables of the control system are the gears of the propulsion unit and the lateral propeller. The propulsion was used to control the sway motion as the vessel reached the maximum speed allowed near the port (3 knots) with the gears triggered, and the lateral propellers were used to control the sway and yaw motion at low speeds.

1)考虑到(7),坐标变换块将需要使用的变量从地面坐标系变换到船体坐标系;1) Considering (7), the coordinate transformation block transforms the variables to be used from the ground coordinate system to the hull coordinate system;

2)位置调节器模块由三个比例调节器实现,它们为内部速度环产生参考设定值(闭环带宽约为0.001Hz,相位裕度约为80°);2) The position regulator module is implemented by three proportional regulators, which generate reference setpoints for the internal speed loop (the closed-loop bandwidth is about 0.001Hz, and the phase margin is about 80°);

3)速度调节器模块是通过三个比例积分调节器实现的,该调节器基于控制导向模型的传递函数进行调节,船只运动是解耦的(闭环带宽约为0.01Hz,相位裕度约为90°);3) The speed regulator module is implemented by three proportional-integral regulators, which are regulated based on the transfer function of the control-oriented model, and the vessel motion is decoupled (closed-loop bandwidth is about 0.01Hz, and the phase margin is about 90 °);

4)分离器模块将速度控制器的输出转换为可用执行器的指令;4) The splitter module converts the output of the speed controller into the instructions of the available actuators;

5)脉宽调制模块产生可变长度的脉冲,以控制推进器的开/关并调节推力。5) The PWM module generates pulses of variable length to control the on/off of the thrusters and adjust the thrust.

本方法具有如下效果和优点:This method has the following effects and advantages:

自动泊船模型的物理参数是通过灰箱识别得出的,然后用来调整嵌套循环控制体系结构的参数。包含两种主要操作模式:半自动模式和定位保持模式。在半自动模式中,The physical parameters of the automatic mooring model are identified through the grey box and then used to tune the parameters of the nested loop control architecture. Contains two main modes of operation: semi-automatic mode and position hold mode. In semi-automatic mode,

船被手动引导到停车位,而控制器通过排除干扰(例如风、波浪)来帮助用户保持航向和位置。在定位保持模式下,控制器保持船舶在港内的位置和航向,可以实施摇摆控制,The boat is manually guided to a parking space, while the controller helps the user maintain course and position by removing disturbances (eg wind, waves). In the position hold mode, the controller maintains the position and heading of the ship in the port, and can implement sway control,

通过参考位置对风和海浪的扰动进行补偿,具有更加良好的控制性能及控制精度。Compensation for wind and wave disturbance through reference position has better control performance and control accuracy.

附图说明Description of drawings

图1为惯性坐标系与受力原理图Figure 1 is a schematic diagram of inertial coordinate system and force

图2为线性系统框图Figure 2 is a block diagram of the linear system

图3为控制系统架构图Figure 3 shows the architecture of the control system

图4为控制系统框图Figure 4 is a block diagram of the control system

具体实施方式Detailed ways

步骤一、3自由度数学模型建模Step 1, 3 degrees of freedom mathematical model modeling

船的运动由6自由度系统描述。使用的符号如下:x是纵荡位移,y是横荡位移,z是垂荡位移,φ是横摇角,θ是纵摇角,ψ是艏摇角。具体来说,x,y和z描述船的位置,而φ,θ和ψ则表示方向。The motion of the boat is described by a 6-DOF system. The symbols used are as follows: x is the pitch displacement, y is the sway displacement, z is the heave displacement, φ is the roll angle, θ is the pitch angle, and ψ is the bow angle. Specifically, x, y and z describe the position of the ship, while φ, θ and ψ represent the orientation.

引入以下假设来模拟物理系统,以获得既简单又可靠的模型:The following assumptions are introduced to simulate the physical system to obtain a model that is both simple and reliable:

1)假设船舶纵向和横向中心稳定(即

Figure BDA0001627669730000071
),横摇运动和纵摇运动被忽略。1) It is assumed that the longitudinal and transverse center of the ship is stable (i.e.
Figure BDA0001627669730000071
), the roll and pitch motions are ignored.

2)在z≈0的假设下忽略垂荡运动;2) Ignore the heave motion under the assumption of z≈0;

3)由于海港处于“封闭”环境,波浪的影响(即高频运动)被忽略,所以海浪对停泊机动性的影响很小;3) Since the seaport is in a "closed" environment, the effect of waves (ie high frequency motion) is ignored, so the impact of waves on mooring maneuverability is small;

4)根据机动理,利用粘性摩擦方程描述船舶与环境扰动(风和海浪)之间的相互作用;4) According to the motor mechanism, use the viscous friction equation to describe the interaction between the ship and environmental disturbances (wind and waves);

5)忽略执行机构的动力学,因为它们通常比船的动力学要快得多;5) ignore the dynamics of the actuators as they are usually much faster than the dynamics of the boat;

6)船的质量分布均匀并且关于xz平面对称性;6) The mass distribution of the ship is uniform and symmetrical about the xz plane;

7)在港口可达到的最大速度为3节,流体静力学和流体力学忽略不计。7) The maximum speed achievable in port is 3 knots, hydrostatics and hydrodynamics are neglected.

用于描述船在水平面上的低频运动的模型可以简化为三自由度模型,三自由度数学模型与固定在船上的参考系,即船体坐标系{1}有关。船的状态可以通过向量x=[x yψ]T来描述,该向量表示船体坐标系{1}上的纵荡,横荡和艏摇运动。状态向量x可以在地面固定参考系{e} 上描述。The model used to describe the low-frequency motion of the ship on the horizontal plane can be simplified as a three-degree-of-freedom model, and the three-degree-of-freedom mathematical model is related to the reference frame fixed on the ship, that is, the hull coordinate system {1}. The state of the ship can be described by the vector x = [x yψ] T , which represents the surge, sway and yaw motions in the hull coordinate system {1}. The state vector x can be described in a ground-fixed reference frame {e}.

作用于船上的力如图1所示,坐标系XeYe为地面坐标系:The force acting on the ship is shown in Figure 1, and the coordinate system X e Y e is the ground coordinate system:

1)推进器产生推力。这些可以被简化为位于重心(CG)中的三个(虚拟)推进器,使得沿着纵向x1的输入合力fx,沿横向y1的输入合力fy和沿着艏摇方向的合力矩τ全部施加到重心上。1) The thrusters generate thrust. These can be simplified to three (virtual) thrusters located in the center of gravity (CG) such that the resultant input force f x along the longitudinal direction x 1 , the resultant input force f y along the transverse direction y 1 and the resultant moment along the yaw direction τ is all applied to the center of gravity.

2)沿纵向方向的流体动力(由于风和水)Fxc、Fxw以及沿着横向方向的Fyc、Fyw。风和水流的强度和方向在地面坐标系{e}上定义,然后投影到船体坐标系{1}上。2) Hydrodynamics (due to wind and water) Fxc , Fxw in longitudinal direction and Fyc , Fyw in transverse direction. The strength and direction of wind and current are defined on the ground coordinate system {e} and then projected onto the hull coordinate system {1}.

数学模型如下:The mathematical model is as follows:

Figure BDA0001627669730000081
Figure BDA0001627669730000081

其中通过计算力的横向和纵向平衡以及力矩相对于z轴的平衡来获得方程。在(1)中,fx,fy和τ是模型的输入,

Figure BDA0001627669730000082
Figure BDA0001627669730000083
分别是纵荡和横荡加速度,
Figure BDA0001627669730000084
是艏摇角加速度,
Figure BDA0001627669730000085
是艏摇角速度,M是质量,J是惯性矩,Kψ是地转偏向力向心系数,bxw(t),bxc(t),byw(t)和分别是中心(CG)与中心点(CP)之间的时变距离,即流体动力的作用点。下标w表示“风”,而下标c表示“水流”。Vw和Vc分别是代表风和水流的矢量,
Figure BDA0001627669730000086
Figure BDA0001627669730000087
分别表示在地面坐标系下风和水流相对于横坐标的偏角。where the equations are obtained by calculating the lateral and longitudinal balance of forces and the balance of moments with respect to the z-axis. In (1), f x , f y and τ are the inputs to the model,
Figure BDA0001627669730000082
and
Figure BDA0001627669730000083
are the surge and sway accelerations, respectively,
Figure BDA0001627669730000084
is the yaw angular acceleration,
Figure BDA0001627669730000085
is the yaw angular velocity, M is the mass, J is the moment of inertia, K ψ is the centripetal coefficient of the geostrophic deflection force, b xw (t), b xc (t), b yw (t) and are the center (CG) and The time-varying distance between the center points (CP), the point of action of the hydrodynamic force. The subscript w means "wind" and the subscript c means "water flow". Vw and Vc are the vectors representing wind and current, respectively,
Figure BDA0001627669730000086
and
Figure BDA0001627669730000087
respectively represent the declination angle of the wind and current relative to the abscissa in the ground coordinate system.

在{1}中纵向作用的流体动力产生的力矩用τx=bxwFxw+bxcFxc表示,横向作用的流体动力产生的力矩用τy=bywFyw+bycFyc表示。由于小型船舶船体的长度是宽度的三倍以上,τy>>τx,中心点位于船纵轴上,因此产生bxw(t)=0,bxc(t)=0。In {1}, the moment generated by the hydrodynamic force acting longitudinally is denoted by τ x =b xw F xw +b xc F xc , and the moment generated by the hydrodynamic force acting laterally is denoted by τ y =b yw F yw +b yc F yc . Since the length of the hull of a small ship is more than three times the width, τ y >>τ x , the center point is located on the longitudinal axis of the ship, resulting in b xw (t)=0, b xc (t)=0.

byc(t)和byw(t)将被视为常量,它们的值将被纳入灰箱识别过程中使用的传递函数的增益和时间常数中。b yc (t) and b yw (t) will be treated as constants and their values will be incorporated into the gain and time constant of the transfer function used in the grey box identification process.

流体动力可以定义为Fluid dynamics can be defined as

Figure BDA0001627669730000088
Figure BDA0001627669730000088

其中in

Figure BDA0001627669730000091
Figure BDA0001627669730000091

流体动力学导数表示为

Figure BDA0001627669730000092
其中
Figure BDA0001627669730000093
为流体动力系数,ρc和ρw分别是空气和水的密度,而
Figure BDA0001627669730000094
是流体/接触表面。The hydrodynamic derivative is expressed as
Figure BDA0001627669730000092
in
Figure BDA0001627669730000093
are the hydrodynamic coefficients, ρ c and ρ w are the densities of air and water, respectively, and
Figure BDA0001627669730000094
is the fluid/contact surface.

三自由度的状态空间模型可以写成如下形式:The three-degree-of-freedom state-space model can be written as:

Figure BDA0001627669730000095
Figure BDA0001627669730000095

其中

Figure BDA0001627669730000096
是状态向量,
Figure BDA0001627669730000097
是干扰向量,u=[fxfyτ]T是输入向量,y是输出向量。in
Figure BDA0001627669730000096
is the state vector,
Figure BDA0001627669730000097
is the interference vector, u=[f x f y τ] T is the input vector, and y is the output vector.

船配备了两个侧向螺旋桨,产生fv1和fv2,以及两个船尾推进器产生fu1和fu2, fu=fu1+fu2(同时方向由舵角

Figure BDA00016276697300000914
确定),惯性力(fx,fy,τ)与实际推力之间的关系可写为:The boat is equipped with two lateral propellers producing f v1 and f v2 , and two stern thrusters producing f u1 and f u2 , f u = f u1 + f u2 (while the direction is determined by the rudder angle
Figure BDA00016276697300000914
determined), the relationship between the inertial force (f x , f y , τ) and the actual thrust can be written as:

Figure BDA0001627669730000098
Figure BDA0001627669730000098

最后,以地面坐标系{e}为参考系的船只的运动可以表示为:Finally, the motion of the ship with the ground coordinate system {e} as the reference frame can be expressed as:

[X Y Ψ]T=R(ψ)[x y ψ]T (6)[XY Ψ] T = R(ψ)[xy ψ] T (6)

Figure BDA0001627669730000099
Figure BDA0001627669730000099

其中R是旋转矩阵。where R is the rotation matrix.

步骤二、控制模型设计Step 2. Control model design

考虑由恒定速度定义的作用点,即

Figure BDA00016276697300000910
也就是
Figure BDA00016276697300000911
Consider the point of action defined by the constant velocity, i.e.
Figure BDA00016276697300000910
that is
Figure BDA00016276697300000911

船的线性动力学是通过考虑的稳态条件对非线性模型(4)进行线性化,将三个输入合力与三个输出速度相关联来获得的。最终的模型可以用紧凑的形式写成以下形式The linear dynamics of the ship are obtained by linearizing the nonlinear model (4) for the considered steady-state conditions, correlating the three input resultant forces with the three output velocities. The final model can be written in compact form as

Figure BDA00016276697300000912
Figure BDA00016276697300000912

其中,

Figure BDA00016276697300000913
矩阵A,B,F和C的计算方法如下in,
Figure BDA00016276697300000913
Matrices A, B, F and C are calculated as follows

Figure BDA0001627669730000101
Figure BDA0001627669730000101

输入输出模型通过将拉普拉斯算子应用于线性化状态空间模型来实现。δy(t)可以表示为The input-output model is implemented by applying the Laplacian operator to a linearized state-space model. δy(t) can be expressed as

δy(t)=G(s)δu(t)+H(s)δd(t) (10)δy(t)=G(s)δu(t)+H(s)δd(t) (10)

其中,in,

Figure BDA0001627669730000102
Figure BDA0001627669730000102

Figure BDA0001627669730000103
Figure BDA0001627669730000103

由于控制系统设计为低速靠近港口,因此舵角对偏航运动影响不大:Since the control system is designed to approach the port at low speed, the rudder angle has little effect on the yaw motion:

1)

Figure BDA0001627669730000104
(传递函数
Figure BDA0001627669730000105
Figure BDA0001627669730000106
可以忽略不计);1)
Figure BDA0001627669730000104
(Transfer Function
Figure BDA0001627669730000105
and
Figure BDA0001627669730000106
can be ignored);

2)中心点与中心重合(

Figure BDA0001627669730000107
可以忽略不计);2) The center point coincides with the center (
Figure BDA0001627669730000107
can be ignored);

3)

Figure BDA00016276697300001015
3)
Figure BDA00016276697300001015

模型简化如图2所示:其中KPP和KPROP分别代表沿纵向和横向最大推力的常数项,comi代表实际的执行机构的指令信号,comx1和comx2分别代表船尾推进器的指令信号,comstern和combow分别代表靠近船尾和船首的两个侧向推进器的指令信号,comfx为纵向方向合指令信号,comfy为横向方向合指令信号,comτ为艏摇方向合指令信号,

Figure BDA0001627669730000108
Figure BDA0001627669730000109
Figure BDA00016276697300001010
是一阶传递函数。
Figure BDA00016276697300001011
Figure BDA00016276697300001012
分别为风带来的噪声扰动。δfx、δfy和δτ分别为沿着纵向、横向和艏摇方向的三个输入合力。
Figure BDA00016276697300001013
Figure BDA00016276697300001014
分别为三个输出速度。The simplified model is shown in Figure 2: where K PP and K PROP represent the constant term of the maximum thrust along the longitudinal and lateral directions, respectively, com i represents the command signal of the actual actuator, and com x1 and com x2 represent the command signal of the stern thruster, respectively , com stern and com bow represent the command signals of the two lateral thrusters near the stern and the bow respectively, com fx is the combined command signal in the longitudinal direction, com fy is the combined command signal in the lateral direction, and com τ is the combined command signal in the yaw direction ,
Figure BDA0001627669730000108
Figure BDA0001627669730000109
and
Figure BDA00016276697300001010
is the first-order transfer function.
Figure BDA00016276697300001011
and
Figure BDA00016276697300001012
are the noise disturbances caused by wind, respectively. δf x , δf y and δτ are the three input resultant forces along the longitudinal, lateral and yaw directions, respectively.
Figure BDA00016276697300001013
and
Figure BDA00016276697300001014
three output speeds respectively.

步骤三、灰箱识别Step 3. Gray box identification

灰箱识别程序由三个步骤组成:The grey box identification procedure consists of three steps:

1)识别面向控制模型的传递函数的增益和时间常数;1) Identify the gain and time constant of the transfer function for the control model;

2)确定从合力到船速的增益项;2) Determine the gain term from resultant force to ship speed;

3)识别模型的物理参数。3) Identify the physical parameters of the model.

识别与纵向运动相关的传递函数

Figure BDA0001627669730000111
的过程如下:Identify transfer functions associated with longitudinal motion
Figure BDA0001627669730000111
The process is as follows:

首先,线性化模型方程改写为First, the linearized model equation is rewritten as

Figure 223675DEST_PATH_FDA0001680987740000049
Figure 223675DEST_PATH_FDA0001680987740000049

Figure BDA0001627669730000113
是comx
Figure BDA0001627669730000114
之间的增益,
Figure BDA0001627669730000115
Figure BDA0001627669730000116
Figure BDA0001627669730000117
之间的增益,
Figure BDA0001627669730000118
是纵荡运动的时间常数。其次,时间常数
Figure BDA00016276697300001118
是通过输出估算的。第三,风速和纵荡速度
Figure BDA0001627669730000119
之间的传递函数的增益是从所有推进器关闭的测试中识别。最后,执行器的指令与横荡速度之间的传递函数的增益通过相对于
Figure BDA00016276697300001110
的最小化代价函数来计算
Figure BDA0001627669730000113
is com x and
Figure BDA0001627669730000114
gain between,
Figure BDA0001627669730000115
Yes
Figure BDA0001627669730000116
and
Figure BDA0001627669730000117
gain between,
Figure BDA0001627669730000118
is the time constant of the surging motion. Second, the time constant
Figure BDA00016276697300001118
is estimated from the output. Third, wind speed and surge speed
Figure BDA0001627669730000119
The gain in transfer function between is identified from tests with all thrusters turned off. Finally, the gain of the transfer function between the actuator's command and the sway speed is determined by relative to
Figure BDA00016276697300001110
to minimize the cost function of

Figure BDA00016276697300001111
Figure BDA00016276697300001111

传递函数描述了推进器命令与船速之间的动态关系。然后,计算合力和船速

Figure BDA00016276697300001112
Figure BDA00016276697300001113
之间的增益。例如,考虑纵荡运动。使用公式
Figure BDA00016276697300001114
来合外力增益和纵荡运动的时间常数的关系为
Figure BDA00016276697300001115
类似地,对于横荡运动,可以表示为
Figure BDA00016276697300001116
The transfer function describes the dynamic relationship between thruster command and boat speed. Then, calculate the resultant force and the speed of the boat
Figure BDA00016276697300001112
Figure BDA00016276697300001113
gain between. For example, consider surging motion. use formula
Figure BDA00016276697300001114
The relationship between the external force gain and the time constant of the surging motion is
Figure BDA00016276697300001115
Similarly, for sway motion, it can be expressed as
Figure BDA00016276697300001116

由于质量是已知的,增益可以通过将基本公式变换为Since the mass is known, the gain can be obtained by transforming the basic formula into

Figure BDA00016276697300001117
Figure BDA00016276697300001117

其中a是侧向推进器和重心之间的距离。where a is the distance between the lateral thrusters and the center of gravity.

还要注意,由于增益

Figure BDA0001627669730000121
和纵荡时间常数
Figure BDA0001627669730000122
相对于流体动态导数Kxc和Kxw是线性的,所以线性系统可以在操作条件(
Figure BDA0001627669730000123
Figure BDA0001627669730000124
)下使用最小二乘法来定义Also note that since the gain
Figure BDA0001627669730000121
and the surge time constant
Figure BDA0001627669730000122
The derivatives K xc and K xw are linear with respect to the fluid dynamics, so the linear system can be
Figure BDA0001627669730000123
and
Figure BDA0001627669730000124
) using the least squares method to define

Figure BDA0001627669730000125
Figure BDA0001627669730000125

同理,也可以计算横荡运动的流体动力学导数Kyc和KywSimilarly, the hydrodynamic derivatives K yc and K yw of the sway motion can also be calculated.

步骤四、控制系统体系设计Step four, control system system design

自动停泊辅助系统在半自动模式下运行或定位保持。控制结构设计为每个自由度级联两个环路,如图3所示。内部速度环路专用于半自动模式,而定位模式则通过外部位置环路实现。P*为齿轮控制的参考输入信号,P为输出的齿轮控制信号。VJOY为操纵杆的速度给定信号,VREG为位置调节器的速度给定信号。RY(s)、GY(s)和GP(s)为传递函数。The automatic park assist system operates in semi-automatic mode or holds position. The control structure is designed to cascade two loops per degree of freedom, as shown in Figure 3. The inner velocity loop is dedicated to the semi-automatic mode, while the positioning mode is implemented through the outer position loop. P * is the reference input signal for gear control, and P is the output gear control signal. V JOY is the speed reference signal of the joystick, and V REG is the speed reference signal of the position regulator. R Y (s), G Y (s) and G P (s) are transfer functions.

内环速度环的设定点可以以两种不同的方式提供:在定位保持模式中,速度设定点由位置调节器给出,而在半自动模式中,速度设定点由用户通过操纵杆设置。控制系统的指令变量是推进装置和侧向螺旋桨的齿轮。推进装置被用来控制纵荡运动,因为船只在齿轮触发的情况下达到港口附近允许的最大速度(3节),侧向螺旋桨用于在低速时控制横荡和艏摇运动。控制系统框图如图4所示。考虑到(7),坐标变换块将需要使用的变量从地面坐标系变换到船体坐标系;LAT*、LONG*和ψ*为地面坐标系下沿着纵向、横向和艏摇方向的参考位置参考值。LAT、LONG和ψ为地面坐标系下沿着纵向、横向和艏摇方向的实际位置值。eLAT、eLONG和eψ为地面坐标系下沿着纵向、横向和艏摇方向的变量。exlong、eylat和eψ分别为船体坐标系下沿着纵向、横向和艏摇方向的变量。

Figure BDA0001627669730000126
Figure BDA0001627669730000131
Figure BDA0001627669730000132
分别为沿着纵向、横向和艏摇方向速度参考设定值。
Figure BDA0001627669730000133
Figure BDA0001627669730000134
分别为沿着纵向、横向和艏摇方向速度实际值。
Figure BDA0001627669730000135
Figure BDA0001627669730000136
为速度调节器的输入信号。Fx、Fy和Tψ为速度调节器输出的合力和合力矩。compp,su和compp,dx为分离器输出的用于船尾推进器的控制指令,comPROD,stern和comPROD,bow分别为用于靠近船尾和靠近船首的两个侧向推进器的控制指令。comPWM pp,su、comPWM pp,dx、comPWM PROD,stern和comPWM PROD,bow为脉宽调制输出的可变长度脉冲,以控制四个推进器的开关和推力大小。The setpoint of the inner speed loop can be provided in two different ways: in position hold mode, the speed setpoint is given by the position regulator, and in semi-automatic mode, the speed setpoint is set by the user via the joystick . The command variables of the control system are the gears of the propulsion unit and the lateral propeller. The propulsion was used to control the sway motion as the vessel reached the maximum speed allowed near the port (3 knots) with the gears triggered, and the lateral propellers were used to control the sway and yaw motion at low speeds. The block diagram of the control system is shown in Figure 4. Considering (7), the coordinate transformation block transforms the variables to be used from the ground coordinate system to the hull coordinate system; LAT * , LONG * and ψ * are the reference position references along the longitudinal, lateral and yaw directions in the ground coordinate system value. LAT, LONG and ψ are the actual position values along the longitudinal, lateral and yaw directions in the ground coordinate system. e LAT , e LONG and e ψ are the variables along the longitudinal, lateral and yaw directions in the ground coordinate system. e xlong , e ylat and e ψ are the variables along the longitudinal, lateral and yaw directions in the hull coordinate system, respectively.
Figure BDA0001627669730000126
Figure BDA0001627669730000131
and
Figure BDA0001627669730000132
They are the speed reference setting values along the longitudinal, lateral and yaw directions, respectively.
Figure BDA0001627669730000133
and
Figure BDA0001627669730000134
are the actual speed along the longitudinal, lateral and yaw directions, respectively.
Figure BDA0001627669730000135
and
Figure BDA0001627669730000136
It is the input signal of the speed regulator. F x , F y and T ψ are the resultant force and resultant torque output by the speed regulator. com pp,su and com pp,dx are the control commands for the stern thruster output by the splitter, com PROD, stern and com PROD,bow are the control commands for the two side thrusters near the stern and near the bow respectively instruction. com PWM pp,su , com PWM pp,dx , com PWM PROD,stern and com PWM PROD,bow are variable-length pulses output by PWM to control the on-off and thrust of the four thrusters.

1)位置调节器模块由三个比例调节器实现,它们为内部速度环产生参考设定值(闭环带宽约为0.001Hz,相位裕度约为80°);1) The position regulator module is implemented by three proportional regulators, which generate reference setpoints for the internal speed loop (the closed-loop bandwidth is about 0.001Hz, and the phase margin is about 80°);

2)速度调节器模块是通过三个比例积分调节器实现的,该调节器基于控制导向模型的传递函数进行调节,船只运动是解耦的(闭环带宽约为0.01Hz,相位裕度约为90°);2) The speed regulator module is implemented by three proportional-integral regulators, which are regulated based on the transfer function of the control-oriented model, and the vessel motion is decoupled (closed-loop bandwidth is about 0.01Hz, and the phase margin is about 90 °);

3)分离器模块将速度控制器的输出转换为可用执行器的指令;3) The splitter module converts the output of the speed controller into instructions for the available actuators;

4)脉宽调制模块产生可变长度的脉冲,以控制推进器的开/关并调节推力。4) The PWM module generates pulses of variable length to control the on/off of the thrusters and adjust the thrust.

Claims (1)

1. An automatic berthing auxiliary control method for a small-sized ship, characterized by comprising the steps of:
step one, three-degree-of-freedom motion mathematical model modeling
The motion model of the vessel is described by a 6-degree-of-freedom system, using the notation: x is the surge displacement, y is the surge displacement, z is the heave displacement, phi is the roll angle, theta is the surge angle, psi is the bow angle; x, y and z describe the position of the vessel, and phi, theta and psi denote directions;
the following assumptions were introduced to simulate a physical system:
1) assuming that the vessel is longitudinally and transversely centre-stabilized, i.e.
Figure FDA0003219932760000011
Roll and pitch motions are ignored;
2) ignoring the heave motion under the assumption that z ≈ 0;
3) because the harbor is in a closed environment, the high-frequency motion of the ship caused by waves is ignored, and the influence of sea waves on the mooring maneuverability is small;
4) according to dynamics, the viscous friction equation is used for describing the interaction between the ship and environmental disturbance caused by wind and sea waves;
5) neglecting the dynamics of the actuators, they are generally much faster than the dynamics of the ship;
6) the mass distribution of the vessel is uniform and symmetrical about the xz plane;
7) the maximum speed which can be reached in the port is 3 sections, and the fluid statics and the fluid mechanics are ignored;
the model for describing the low-frequency motion of the ship on the horizontal plane is simplified into a three-degree-of-freedom motion mathematical model, and the three-degree-of-freedom motion mathematical model is related to a reference system fixed on the ship, namely a ship body coordinate system {1 }; the state of the ship can be determined by the state vector x ═ x y ψ]TDescribing the vector, the vector represents the surging, swaying and yawing motion on the ship body coordinate system {1 }; the state vector x is inDescribed in the ground-fixed reference frame { e };
the forces acting on the vessel are as follows:
1) the thrust generated by the propeller is reduced to three propellers at the center of gravity, the input force f along the longitudinal directionxInput force f in the transverse directionyAnd τ along the heading direction is all applied to the center of gravity;
2) hydrodynamic forces F in the longitudinal direction due to wind and waterxc、FxwAnd F in the transverse directionyc、FywThe strength and direction of wind and water flow are defined on a ground coordinate system { e }, and then projected on a ship body coordinate system {1 }; the mathematical model is as follows:
Figure FDA0003219932760000012
obtaining an equation by calculating the lateral and longitudinal balance of forces and the balance of moments with respect to the z-axis; in (1), fx,fyAnd tau is the input to the model,
Figure FDA0003219932760000021
and
Figure FDA0003219932760000022
respectively surging acceleration and surging acceleration,
Figure FDA0003219932760000023
is the acceleration of the yaw angle,
Figure FDA0003219932760000024
is the yaw rate, M is the mass, J is the moment of inertia, KψIs the centripetal coefficient of the rotary deflection force, bxw(t),bxc(t),byw(t),byc(t) are the time varying distances between the vessel's center of gravity and the vessel's center point, respectively; wherein the subscript x denotes the vessel surge direction, y denotes the vessel heading direction, w denotes the force induced by sea waves, c denotes the force induced by sea currentsMeaning, (t) means that the quantity is not a fixed constant, but a time variable;
the moment produced by the hydrodynamic force acting longitudinally in {1} is denoted by τx=bxwFxw+bxcFxcRepresenting the moment produced by hydrodynamic forces acting transversely by τy=bywFyw+bycFycRepresents; the length of the small-sized ship body is more than three times of the width, tauy>>τxWith the centre point lying on the longitudinal axis of the vessel, thus generating bxw(t)=0,bxc(t)=0;
byc(t) and byw(t) will be considered as constants, their values will be incorporated into the gain and time constants of the transfer function used in the gray box identification process;
fluid power can be defined as
Figure FDA0003219932760000025
Wherein
Figure FDA0003219932760000026
The hydrodynamic derivative is expressed as
Figure FDA0003219932760000027
Where i ═ { x, y }, j ═ w, c }
Figure FDA0003219932760000028
Is the hydrodynamic coefficient, pcAnd ρwDensity of air and water, respectively, and
Figure FDA0003219932760000029
is a fluid contact surface;
the state space model of three degrees of freedom can be written as follows:
Figure FDA00032199327600000210
wherein
Figure FDA0003219932760000031
Is a vector of the states of the memory cells,
Figure FDA0003219932760000032
is an interference vector, u ═ fxfyτ]TIs the input vector, y is the output vector;
the ship being equipped with two lateral propellers for producing fv1And fv2And two stern thrusters generate fu=fu1+fu2Is influenced by the rudder angle theta, and the inertial force (f)x,fyτ) versus actual thrust can be written as:
Figure FDA0003219932760000033
the motion of the vessel with reference to the ground coordinate system { e } can be expressed as:
[X Y Ψ]T=R(ψ)[x y ψ]T (6)
Figure FDA0003219932760000034
wherein R is a rotation matrix;
step two, controlling model design
Considering the point of action defined by constant velocity, i.e.
Figure FDA0003219932760000035
That is to say
Figure FDA0003219932760000036
The linear dynamics of the ship are obtained by linearizing a non-linear model (4) taking into account the steady-state conditions, associating three input resultant forces with three output speeds, the final model being written in the form
Figure FDA0003219932760000037
Wherein,
Figure FDA0003219932760000038
the matrices A, B, F and C are calculated as follows
Figure FDA0003219932760000039
The input-output model is implemented by applying the Laplacian to a linearized state space model, δ y (t) can be expressed as
δy(t)=G(s)δu(t)+H(s)δd(t) (10)
Wherein,
Figure FDA0003219932760000041
Figure FDA0003219932760000042
the control system is designed to be close to a port at a low speed, and the influence of a rudder angle on yawing motion is small:
1)
Figure FDA0003219932760000043
i.e. transfer function
Figure FDA0003219932760000044
And
Figure FDA0003219932760000045
neglect;
2) the centre point coinciding with the centre, i.e.
Figure FDA0003219932760000046
Neglect;
3)θ=0;
the model is simplified as follows: wherein KPPAnd KPROPA constant term, com, representing the maximum thrust in the longitudinal and transverse directions, respectivelyiRepresenting the actual actuator command signals, and
Figure FDA0003219932760000047
and
Figure FDA0003219932760000048
is a first order transfer function;
step three, ash box identification
The gray box identification procedure consists of three steps:
1) identifying gains and time constants of a control model-oriented transfer function;
2) determining a gain term from resultant force to watercraft speed;
3) identifying physical parameters of the model;
identifying a transfer function associated with longitudinal motion
Figure FDA0003219932760000049
The process of (2) is as follows:
the linearized model equation is rewritten as
Figure DEST_PATH_FDA0001680987740000049
Figure FDA00032199327600000411
Is comxAnd
Figure FDA00032199327600000412
the gain of the first amplifier is larger than the gain of the second amplifier,
Figure FDA00032199327600000413
is that
Figure FDA00032199327600000414
And
Figure FDA00032199327600000415
the gain of the first amplifier is larger than the gain of the second amplifier,
Figure FDA00032199327600000416
is the time constant of the surging motion; time constant
Figure FDA00032199327600000417
Estimated by the output; wind speed and surging speed
Figure FDA00032199327600000418
The gain of the transfer function between is identified from the test that all thrusters were shut down; gain through the transfer function between command and yaw rate of the actuator relative to
Figure FDA0003219932760000051
To calculate a minimum cost function of
Figure FDA0003219932760000052
The transfer function describes the dynamic relation between the propeller command and the ship speed, and the resultant force and the ship speed are calculated
Figure FDA0003219932760000053
A gain in between; considering surging motion, using formulas
Figure FDA0003219932760000054
The relationship between the gain of the external force and the time constant of the surging motion is
Figure FDA0003219932760000055
For a swaying motion, it can be expressed as
Figure FDA0003219932760000056
The quality is known and the gain can be transformed by transforming the basic formula into
Figure FDA0003219932760000057
a is the distance between the lateral thruster and the centre of gravity;
gain of
Figure FDA0003219932760000058
And surge time constant
Figure FDA0003219932760000059
Derivative with respect to fluid dynamics KxcAnd KxwIs linear, using the least squares method under the operating conditions (
Figure FDA00032199327600000510
And
Figure FDA00032199327600000511
) Linear system of lower definition
Figure FDA00032199327600000512
Calculating hydrodynamic derivatives K of the swaying motionycAnd Kyw
Step four, designing a control system
The automatic parking auxiliary system runs or is positioned and maintained in a semi-automatic mode, the control structure is designed to cascade two loops for each degree of freedom, an internal speed loop is specially used for the semi-automatic mode, and a positioning mode is realized through an external position loop;
the set point for the inner ring velocity ring can be provided in two different ways: in the position hold mode, the speed set point is given by the position regulator, while in the semi-automatic mode, the speed set point is set by the user through the joystick; the control output of the control system is the gear of the propulsion device and the lateral propeller; the propulsion device is used for controlling the surging movement, the maximum speed of the ship which is allowed to reach the vicinity of a port under the condition of gear contact is three sections, and the lateral propeller is used for controlling the surging and yawing movement at low speed;
1) considering (7), the coordinate transformation block transforms variables to be used from the ground coordinate system to the hull coordinate system;
2) the position regulator module is implemented by three proportional regulators which generate reference setpoints for the inner velocity loop; the closed loop bandwidth is about 0.001Hz and the phase margin is about 80 °;
3) the speed regulator module is realized by three proportional-integral regulators, the regulators are used for regulating based on a transfer function of a control guidance model, and the ship motion is decoupled; closed loop bandwidth is about 0.01Hz and phase margin is about 90 °;
4) the separator module converts the output of the speed controller into an instruction of an available actuator;
5) the pulse width modulation module generates pulses of variable length to control the on/off of the propeller and adjust thrust.
CN201810329931.4A 2018-04-13 2018-04-13 Automatic berthing auxiliary control method for small ship Active CN109116838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810329931.4A CN109116838B (en) 2018-04-13 2018-04-13 Automatic berthing auxiliary control method for small ship

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810329931.4A CN109116838B (en) 2018-04-13 2018-04-13 Automatic berthing auxiliary control method for small ship

Publications (2)

Publication Number Publication Date
CN109116838A CN109116838A (en) 2019-01-01
CN109116838B true CN109116838B (en) 2021-11-23

Family

ID=64821906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810329931.4A Active CN109116838B (en) 2018-04-13 2018-04-13 Automatic berthing auxiliary control method for small ship

Country Status (1)

Country Link
CN (1) CN109116838B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7263150B2 (en) 2019-06-27 2023-04-24 古野電気株式会社 Hull control device, hull control method, and hull control program
JP7261105B2 (en) 2019-06-28 2023-04-19 古野電気株式会社 Hull control device, hull control method, and hull control program
JP7263158B2 (en) 2019-07-05 2023-04-24 古野電気株式会社 Hull control device, hull control method, and hull control program
CN110333658B (en) * 2019-07-11 2022-07-15 上海海事大学 An underactuated ship heading control method with input constraints and drift angle compensation
CN110456658B (en) * 2019-07-24 2022-04-05 哈尔滨工程大学 Variable rotation center motion control simulation method for dynamic positioning ship
CN110450929B (en) * 2019-07-30 2021-02-19 哈尔滨工程大学 A method to reduce the roll and pitch of AUV by using its own horizontal rudder
JP7544470B2 (en) * 2019-09-13 2024-09-03 古野電気株式会社 Hull control device, hull control method, and hull control program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004355105A (en) * 2003-05-27 2004-12-16 Kawasaki Heavy Ind Ltd Moving object control method and control device
CN103092071A (en) * 2012-12-07 2013-05-08 中交四航工程研究院有限公司 Non-self-propulsion ship intelligent moving system and moving method based on adaptive algorithm
CN103955226A (en) * 2014-04-30 2014-07-30 中国舰船研究设计中心 Pitching and heaving proportion-differential control method for wave-piercing catamaran
CN104749954A (en) * 2015-02-08 2015-07-01 北京化工大学 Intelligent ash bin control system device based on IMC (Internal Model Control) strategy and control method
CN105898698A (en) * 2016-04-26 2016-08-24 上海交通大学 UWB-based ship berthing assist method and system
CN105912841A (en) * 2016-04-05 2016-08-31 哈尔滨工程大学 Identification method of black-box model for ship continuous time with dynamic positioning
CN106773741A (en) * 2017-03-02 2017-05-31 华南理工大学 A kind of unmanned boat dynamic positioning system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004355105A (en) * 2003-05-27 2004-12-16 Kawasaki Heavy Ind Ltd Moving object control method and control device
CN103092071A (en) * 2012-12-07 2013-05-08 中交四航工程研究院有限公司 Non-self-propulsion ship intelligent moving system and moving method based on adaptive algorithm
CN103955226A (en) * 2014-04-30 2014-07-30 中国舰船研究设计中心 Pitching and heaving proportion-differential control method for wave-piercing catamaran
CN104749954A (en) * 2015-02-08 2015-07-01 北京化工大学 Intelligent ash bin control system device based on IMC (Internal Model Control) strategy and control method
CN105912841A (en) * 2016-04-05 2016-08-31 哈尔滨工程大学 Identification method of black-box model for ship continuous time with dynamic positioning
CN105898698A (en) * 2016-04-26 2016-08-24 上海交通大学 UWB-based ship berthing assist method and system
CN106773741A (en) * 2017-03-02 2017-05-31 华南理工大学 A kind of unmanned boat dynamic positioning system and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Active Quasi-LPV Modeling and Identification for a Water-Jet Propulsion USV:An Experimental Study;Junfeng Xiong等;《ScienceDirect》;20151231;第1359-1364页 *
基于Bayes 技术的小型无人直升机灰箱建模;方舟 等;《浙江大学学报(工学版)》;20091130;第43卷(第11期);第1945-1950、2084页 *
船舶运动干扰载荷数学模型及计算方法研究;王锐利 等;《舰船科学技术》;20160228;第38卷(第2A期);第13-15页 *

Also Published As

Publication number Publication date
CN109116838A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN109116838B (en) Automatic berthing auxiliary control method for small ship
Klinger et al. Control of an unmanned surface vehicle with uncertain displacement and drag
Fossen et al. A survey of control allocation methods for ships and underwater vehicles
Sun et al. Adaptive path following control for wave gliders in time-varying environment
Townsend et al. Control strategies for marine gyrostabilizers
Zhang et al. Anti-disturbance control for dynamic positioning system of ships with disturbances
Liu et al. A hierarchical disturbance rejection depth tracking control of underactuated AUV with experimental verification
Kragelund et al. Adaptive speed control for autonomous surface vessels
Landstad et al. Dynamic positioning of ROV in the wave zone during launch and recovery from a small surface vessel
Dai et al. Dual closed loop AUV trajectory tracking control based on finite time and state observer
Lee et al. Control system design for vessel towing system by activating rudders of the towed vessel
Kim et al. Coordinated weathervaning control of two surface vessels in a tandem configuration
Astrov et al. Wind force model and adaptive control of catamaran model sailboat
Saoud et al. Modeling and control design of a robotic sailboat
CN112591060B (en) Control method for X-shaped rudder of autonomous underwater vehicle
Klinger et al. Experimental testing of an adaptive controller for USVs with uncertain displacement and drag
Bjørnø et al. Modeling, parameter identification and thruster-assisted position mooring of c/s inocean cat i drillship
David et al. Coupled hydroplane and variable ballast control system for autonomous underwater vehicle altitude-keeping to variable seabed
Kurowski et al. Automated maneuvering in confined waters using parameter space model and model-based control
Liu et al. An effective motion control based on 2-DOF PID and ELM for AUV
He et al. Towards heading control of an autonomous sailing platform through weight balancing
Ferrari et al. Preliminary investigation on automatic berthing of waterjet catamaran
Bertaska et al. Supervisory switching control of an unmanned surface vehicle
Bühler et al. Dynamic simulation model for an autonomous sailboat
Moe et al. Path following of underactuated marine underwater vehicles in the presence of unknown ocean currents

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