CN109116838B - Automatic berthing auxiliary control method for small ship - Google Patents
Automatic berthing auxiliary control method for small ship Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 230000033001 locomotion Effects 0.000 claims abstract description 54
- 230000006870 function Effects 0.000 claims description 30
- 238000012546 transfer Methods 0.000 claims description 28
- 239000013598 vector Substances 0.000 claims description 21
- 239000012530 fluid Substances 0.000 claims description 11
- 230000005484 gravity Effects 0.000 claims description 10
- 238000013178 mathematical model Methods 0.000 claims description 10
- 238000006073 displacement reaction Methods 0.000 claims description 9
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 9
- 230000001133 acceleration Effects 0.000 claims description 7
- 230000008569 process Effects 0.000 claims description 6
- 230000009471 action Effects 0.000 claims description 5
- 238000013461 design Methods 0.000 claims description 5
- 230000007613 environmental effect Effects 0.000 claims description 3
- 230000003993 interaction Effects 0.000 claims description 3
- 239000011159 matrix material Substances 0.000 claims description 3
- 230000001105 regulatory effect Effects 0.000 claims description 3
- 238000012360 testing method Methods 0.000 claims description 3
- 230000009466 transformation Effects 0.000 claims description 3
- 230000001131 transforming effect Effects 0.000 claims description 3
- 230000001276 controlling effect Effects 0.000 claims 3
- 230000003068 static effect Effects 0.000 claims 1
- 235000000334 grey box Nutrition 0.000 abstract description 2
- 244000085685 grey box Species 0.000 abstract description 2
- 230000000694 effects Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000013459 approach Methods 0.000 description 2
- 230000002706 hydrostatic effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/0206—Control 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
提出了一种用于小型船的自动停泊辅助控制方法,从船的运动的完整数学描述开始,引入简化的面向控制的模型,通过灰箱模型识别系统的物理参数,然后用来调整嵌套循环控制体系结构的参数。研究控制算法以实现两种主要操作模式:半自动模式和定位保持模式。在半自动模式中,船被手动引导到停车位,而控制器通过排除干扰(例如风、波浪)来帮助用户保持航向和位置。在定位保持模式下,控制器保持船舶在港内的位置和航向。
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.
Description
技术领域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)假设船舶纵向和横向中心稳定(即),横摇运动和纵摇运动被忽略;1) It is assumed that the longitudinal and transverse center of the ship is stable (i.e. ), 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:
其中通过计算力的横向和纵向平衡以及力矩相对于z轴的平衡来获得方程。在(1)中,fx,fy和τ是模型的输入,和分别是纵荡和横荡加速度,是艏摇角加速度,是艏摇角速度,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, and are the surge and sway accelerations, respectively, is the yaw angular acceleration, 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
其中in
流体动力学导数表示为其中为流体动力系数,ρc和ρw分别是空气和水的密度,而是流体/接触表面。The hydrodynamic derivative is expressed as in are the hydrodynamic coefficients, ρ c and ρ w are the densities of air and water, respectively, and is the fluid/contact surface.
三自由度的状态空间模型可以写成如下形式:The three-degree-of-freedom state-space model can be written as:
其中是状态向量,是干扰向量,u=[fx fy τ]T是输入向量,y是输出向量。in is the state vector, 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(同时方向由舵角确定),惯性力(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 determined), the relationship between the inertial force (f x , f y , τ) and the actual thrust can be written as:
最后,以地面坐标系{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)
其中R是旋转矩阵。where R is the rotation matrix.
步骤二、控制模型设计Step 2. Control model design
考虑由恒定速度定义的作用点,即也就是 Consider the point of action defined by the constant velocity, i.e. that is
船的线性动力学是通过考虑的稳态条件对非线性模型(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
其中,矩阵A,B,F和C的计算方法如下in, Matrices A, B, F and C are calculated as follows
输入输出模型通过将拉普拉斯算子应用于线性化状态空间模型来实现。δ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,
由于控制系统设计为低速靠近港口,因此舵角对偏航运动影响不大:Since the control system is designed to approach the port at low speed, the rudder angle has little effect on the yaw motion:
1)(传递函数和可以忽略不计);1) (Transfer Function and can be ignored);
2)中心点与中心重合(可以忽略不计);2) The center point coincides with the center ( can be ignored);
3) 3)
模型简化如下:其中KPP和KPROP分别代表沿纵向和横向最大推力的常数项,comi代表实际的执行机构的指令信号,而和是一阶传递函数。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 and 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.
识别与纵向运动相关的传递函数的过程如下:Identify transfer functions associated with longitudinal motion The process is as follows:
首先,线性化模型方程改写为First, the linearized model equation is rewritten as
是comx和之间的增益,是和之间的增益,是纵荡运动的时间常数。其次,时间常数是通过输出估算的。第三,风速和纵荡速度之间的传递函数的增益是从所有推进器关闭的测试中识别。最后,执行器的指令与横荡速度之间的传递函数的增益通过相对于的最小化代价函数来计算 is com x and gain between, Yes and gain between, is the time constant of the surging motion. Second, the time constant is estimated from the output. Third, wind speed and surge speed 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 to minimize the cost function of
传递函数描述了推进器命令与船速之间的动态关系。然后,计算合力和船速 之间的增益。例如,考虑纵荡运动。使用公式来合外力增益和纵荡运动的时间常数的关系为类似地,对于横荡运动,可以表示为 The transfer function describes the dynamic relationship between thruster command and boat speed. Then, calculate the resultant force and the speed of the boat gain between. For example, consider surging motion. use formula The relationship between the external force gain and the time constant of the surging motion is Similarly, for sway motion, it can be expressed as
由于质量是已知的,增益可以通过将基本公式变换为Since the mass is known, the gain can be obtained by transforming the basic formula into
其中a是侧向推进器和重心之间的距离。where a is the distance between the lateral thrusters and the center of gravity.
还要注意,由于增益和纵荡时间常数相对于流体动态导数Kxc和Kxw是线性的,所以线性系统可以在操作条件(和)下使用最小二乘法来定义Also note that since the gain and the surge time constant The derivatives K xc and K xw are linear with respect to the fluid dynamics, so the linear system can be and ) using the least squares method to define
同理,也可以计算横荡运动的流体动力学导数Kyc和Kyw。Similarly, 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)假设船舶纵向和横向中心稳定(即),横摇运动和纵摇运动被忽略。1) It is assumed that the longitudinal and transverse center of the ship is stable (i.e. ), 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:
其中通过计算力的横向和纵向平衡以及力矩相对于z轴的平衡来获得方程。在(1)中,fx,fy和τ是模型的输入,和分别是纵荡和横荡加速度,是艏摇角加速度,是艏摇角速度,M是质量,J是惯性矩,Kψ是地转偏向力向心系数,bxw(t),bxc(t),byw(t)和分别是中心(CG)与中心点(CP)之间的时变距离,即流体动力的作用点。下标w表示“风”,而下标c表示“水流”。Vw和Vc分别是代表风和水流的矢量,和分别表示在地面坐标系下风和水流相对于横坐标的偏角。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, and are the surge and sway accelerations, respectively, is the yaw angular acceleration, 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, and 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
其中in
流体动力学导数表示为其中为流体动力系数,ρc和ρw分别是空气和水的密度,而是流体/接触表面。The hydrodynamic derivative is expressed as in are the hydrodynamic coefficients, ρ c and ρ w are the densities of air and water, respectively, and is the fluid/contact surface.
三自由度的状态空间模型可以写成如下形式:The three-degree-of-freedom state-space model can be written as:
其中是状态向量,是干扰向量,u=[fxfyτ]T是输入向量,y是输出向量。in is the state vector, 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(同时方向由舵角确定),惯性力(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 determined), the relationship between the inertial force (f x , f y , τ) and the actual thrust can be written as:
最后,以地面坐标系{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)
其中R是旋转矩阵。where R is the rotation matrix.
步骤二、控制模型设计Step 2. Control model design
考虑由恒定速度定义的作用点,即也就是 Consider the point of action defined by the constant velocity, i.e. that is
船的线性动力学是通过考虑的稳态条件对非线性模型(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
其中,矩阵A,B,F和C的计算方法如下in, Matrices A, B, F and C are calculated as follows
输入输出模型通过将拉普拉斯算子应用于线性化状态空间模型来实现。δ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,
由于控制系统设计为低速靠近港口,因此舵角对偏航运动影响不大:Since the control system is designed to approach the port at low speed, the rudder angle has little effect on the yaw motion:
1)(传递函数和可以忽略不计);1) (Transfer Function and can be ignored);
2)中心点与中心重合(可以忽略不计);2) The center point coincides with the center ( can be ignored);
3) 3)
模型简化如图2所示:其中KPP和KPROP分别代表沿纵向和横向最大推力的常数项,comi代表实际的执行机构的指令信号,comx1和comx2分别代表船尾推进器的指令信号,comstern和combow分别代表靠近船尾和船首的两个侧向推进器的指令信号,comfx为纵向方向合指令信号,comfy为横向方向合指令信号,comτ为艏摇方向合指令信号, 和是一阶传递函数。和分别为风带来的噪声扰动。δfx、δfy和δτ分别为沿着纵向、横向和艏摇方向的三个输入合力。和分别为三个输出速度。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 , and is the first-order transfer function. and 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. and 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.
识别与纵向运动相关的传递函数的过程如下:Identify transfer functions associated with longitudinal motion The process is as follows:
首先,线性化模型方程改写为First, the linearized model equation is rewritten as
是comx和之间的增益,是和之间的增益,是纵荡运动的时间常数。其次,时间常数是通过输出估算的。第三,风速和纵荡速度之间的传递函数的增益是从所有推进器关闭的测试中识别。最后,执行器的指令与横荡速度之间的传递函数的增益通过相对于的最小化代价函数来计算 is com x and gain between, Yes and gain between, is the time constant of the surging motion. Second, the time constant is estimated from the output. Third, wind speed and surge speed 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 to minimize the cost function of
传递函数描述了推进器命令与船速之间的动态关系。然后,计算合力和船速 之间的增益。例如,考虑纵荡运动。使用公式来合外力增益和纵荡运动的时间常数的关系为类似地,对于横荡运动,可以表示为 The transfer function describes the dynamic relationship between thruster command and boat speed. Then, calculate the resultant force and the speed of the boat gain between. For example, consider surging motion. use formula The relationship between the external force gain and the time constant of the surging motion is Similarly, for sway motion, it can be expressed as
由于质量是已知的,增益可以通过将基本公式变换为Since the mass is known, the gain can be obtained by transforming the basic formula into
其中a是侧向推进器和重心之间的距离。where a is the distance between the lateral thrusters and the center of gravity.
还要注意,由于增益和纵荡时间常数相对于流体动态导数Kxc和Kxw是线性的,所以线性系统可以在操作条件(和)下使用最小二乘法来定义Also note that since the gain and the surge time constant The derivatives K xc and K xw are linear with respect to the fluid dynamics, so the linear system can be and ) using the least squares method to define
同理,也可以计算横荡运动的流体动力学导数Kyc和Kyw。Similarly, 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ψ分别为船体坐标系下沿着纵向、横向和艏摇方向的变量。 和分别为沿着纵向、横向和艏摇方向速度参考设定值。和分别为沿着纵向、横向和艏摇方向速度实际值。和为速度调节器的输入信号。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. and They are the speed reference setting values along the longitudinal, lateral and yaw directions, respectively. and are the actual speed along the longitudinal, lateral and yaw directions, respectively. and 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)
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)
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)
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 |
-
2018
- 2018-04-13 CN CN201810329931.4A patent/CN109116838B/en active Active
Patent Citations (7)
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)
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 |