[go: up one dir, main page]

CN106557088A - A ship heading controller based on event trigger mechanism and its control method - Google Patents

A ship heading controller based on event trigger mechanism and its control method Download PDF

Info

Publication number
CN106557088A
CN106557088A CN201710081063.8A CN201710081063A CN106557088A CN 106557088 A CN106557088 A CN 106557088A CN 201710081063 A CN201710081063 A CN 201710081063A CN 106557088 A CN106557088 A CN 106557088A
Authority
CN
China
Prior art keywords
unit
module
controlled
control
output
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.)
Pending
Application number
CN201710081063.8A
Other languages
Chinese (zh)
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.)
Dalian Maritime University
Original Assignee
Dalian 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 Dalian Maritime University filed Critical Dalian Maritime University
Priority to CN201710081063.8A priority Critical patent/CN106557088A/en
Publication of CN106557088A publication Critical patent/CN106557088A/en
Pending legal-status Critical Current

Links

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)
  • Feedback Control In General (AREA)

Abstract

The invention discloses a ship course controller based on an event trigger mechanism and a control method thereof, wherein the controller comprises a reference module, a trigger module and a controlled module, the trigger module comprises a calculation unit, a comparison unit and an instruction unit, and the controlled module comprises a control unit, a digital-to-analog conversion unit, a PWM signal output unit, an execution mechanism, a controlled unit, an analog-to-digital conversion unit and a data processing unit; the trigger module is respectively connected with the output end of the reference module, the output end of the controlled unit in the controlled module and the input end of the control unit in the controlled module. The invention not only reduces the calculation and update burden of the ship course control system on the control signal, avoids the high-frequency state switching of the ship steering device and the high-frequency friction of control parts, but also reduces the energy consumption in the ship navigation, thereby realizing the economic navigation. The invention adopts a state feedback control algorithm, so that the control parameters are easier to set and the control efficiency is higher.

Description

一种基于事件触发机制的船舶航向控制器及其控制方法A ship heading controller based on event trigger mechanism and its control method

技术领域technical field

本发明涉及一种所选船舶模型为NOMOTO模型的大型船舶的航向控制器,特别涉及一种基于事件触发机制的船舶航向控制器。The invention relates to a course controller of a large ship whose selected ship model is a NOMOTO model, in particular to a ship course controller based on an event trigger mechanism.

背景技术Background technique

作为评价船舶航向控制策略的重要性能指标,高效性和节能性近年来受到人们的广泛关注,航向控制器作为船舶航向控制的核心部件,决定着船舶航向控制的整体性能,因此设计一种高效节能的航向控制器成为船舶运动控制领域的新兴研究热点。现存的大多数船舶航向控制器在设计过程中存在以下问题:多基于固定采样频率的离散时间控制策略进行设计,控制器与执行机构存在高频状态切换,即在每一个采样时刻对控制信号进行计算更新,而在实际的海面航行过程中,控制器的采样速率往往取决于海面环境,而控制器的执行速率多取决于船舶自身状态,即船舶航向、坐标位置以及航速,因此,传统的离散时间控制方法不仅会增加控制器计算负担、执行机构的磨损以及不必要的能源消耗,还会缩短控制器的使用寿命,其航向控制器的高效性和节能性有待进一步改进。As an important performance index for evaluating ship course control strategies, high efficiency and energy saving have attracted widespread attention in recent years. As the core component of ship course control, the course controller determines the overall performance of ship course control. The heading controller has become an emerging research hotspot in the field of ship motion control. Most of the existing ship heading controllers have the following problems in the design process: most of them are designed based on the discrete-time control strategy with a fixed sampling frequency, and there are high-frequency state switching between the controller and the actuator, that is, the control signal is controlled at each sampling moment. In the actual sea navigation process, the sampling rate of the controller often depends on the sea environment, and the execution rate of the controller mostly depends on the state of the ship itself, that is, the ship's heading, coordinate position and speed. Therefore, the traditional discrete The time control method will not only increase the calculation burden of the controller, the wear and tear of the actuator and unnecessary energy consumption, but also shorten the service life of the controller. The efficiency and energy saving of the heading controller need to be further improved.

发明内容Contents of the invention

为解决现有技术存在的上述问题,本发明要设计一种能源消耗少、计算负担轻、执行次数少、使用寿命长,在实现高效控制的同时避免零部件磨损的基于事件触发机制的船舶航向控制器及其控制方法。In order to solve the above-mentioned problems existing in the prior art, the present invention is to design an event-triggered ship course based on an event-triggered mechanism with less energy consumption, less computational burden, fewer execution times, and a longer service life, while achieving efficient control and avoiding component wear and tear. A controller and its control method.

为了实现上述目的,本发明的技术方案如下:一种基于事件触发机制的船舶航向控制器,包括参考模块、触发模块和被控模块,所述的触发模块包括计算单元、比较单元和指令单元,所述的被控模块包括控制单元、数模转换单元、PWM信号输出单元、执行机构、被控单元、模数转换单元和数据处理单元;所述的触发模块分别与参考模块的输出端、被控模块中被控单元的输出端和被控模块中控制单元的输入端连接;In order to achieve the above object, the technical solution of the present invention is as follows: a ship heading controller based on an event trigger mechanism, including a reference module, a trigger module and a controlled module, and the trigger module includes a calculation unit, a comparison unit and an instruction unit, The controlled module includes a control unit, a digital-to-analog conversion unit, a PWM signal output unit, an actuator, a controlled unit, an analog-to-digital conversion unit and a data processing unit; The output end of the controlled unit in the control module is connected with the input end of the control unit in the controlled module;

所述的控制单元的输出端依次与数模转换单元、PWM信号输出单元、执行机构、被控单元、模数转换单元和数据处理单元串联后连接到控制单元的输入端,整个被控模块构成一个闭环控制系统;The output end of the control unit is sequentially connected to the input end of the control unit after being connected in series with the digital-to-analog conversion unit, PWM signal output unit, actuator, controlled unit, analog-to-digital conversion unit and data processing unit, and the entire controlled module constitutes A closed-loop control system;

所述的计算单元的输入端分别与参考模块的输出端和被控模块中被控单元的输出端连接,计算单元的输出端经比较单元和指令单元连接至被控模块中控制单元的输入端;The input end of the calculation unit is respectively connected to the output end of the reference module and the output end of the controlled unit in the controlled module, and the output end of the calculation unit is connected to the input end of the control unit in the controlled module through the comparison unit and the instruction unit ;

所述的参考模块将获得的参考数据传输给触发模块;The reference module transmits the obtained reference data to the trigger module;

所述的被控单元将获得的实时数据反馈给触发模块和模数转换单元;The controlled unit feeds back the obtained real-time data to the trigger module and the analog-to-digital conversion unit;

所述的触发模块根据参考模块输出的参考数据和被控单元反馈的实时数据,计算被控模块与参考模块的状态偏差及触发函数,同时判断并发出触发指令;The trigger module calculates the state deviation and trigger function between the controlled module and the reference module according to the reference data output by the reference module and the real-time data fed back by the controlled unit, and simultaneously judges and issues a trigger command;

所述的控制单元,按照触发模块发出的触发指令,根据数据处理单元的输出数据进行状态反馈控制调节并输出控制信号;The control unit, according to the trigger instruction issued by the trigger module, performs state feedback control adjustment and outputs a control signal according to the output data of the data processing unit;

所述的数模转换单元,将控制单元输出的控制信号进行数模转换后发送给PWM信号输出单元;The digital-to-analog conversion unit sends the control signal output by the control unit to the PWM signal output unit after digital-to-analog conversion;

所述的PWM信号输出单元,根据数模转换单元的输出数据产生相应的PWM波形,对执行机构进行控制;The PWM signal output unit generates a corresponding PWM waveform according to the output data of the digital-to-analog conversion unit to control the actuator;

所述的执行机构,根据PWM波形脉冲来将电脉冲信号转变为角位移或线位移,驱动转舵装置,进行船舶的航向控制;The executive mechanism converts the electric pulse signal into an angular displacement or a linear displacement according to the PWM waveform pulse, drives the steering device, and controls the course of the ship;

所述的模数转换单元,将被控单元的反馈数据进行模数转换后发送给数据处理单元;The analog-to-digital conversion unit performs analog-to-digital conversion on the feedback data of the controlled unit and sends it to the data processing unit;

所述的数据处理单元,将模数转换单元的输出数据与计划航向进行比较,输出控制单元的控制输入信号。The data processing unit compares the output data of the analog-to-digital conversion unit with the planned course, and outputs the control input signal of the control unit.

进一步地,所述的参考模块和被控模块具有相同的状态空间模型,二者均安装有状态反馈数字信号调节器,所述的状态反馈数字信号调节器使用具有相同设计参数的同一船舶模型,即NOMOTO模型。Further, the reference module and the controlled module have the same state space model, both are equipped with a state feedback digital signal conditioner, and the state feedback digital signal conditioner uses the same ship model with the same design parameters, Namely the NOMOTO model.

一种基于事件触发机制的船舶航向控制器及其控制方法,包括以下步骤:A ship heading controller based on an event trigger mechanism and a control method thereof, comprising the following steps:

I、参考模块将获得的参考数据传输给触发模块,所述的参考数据包括在计划航向P1给定的情况下,电罗经输出的参考航向数据A1、转速测量仪输出的参考艏摇角速度A2和舵角指示器输出的参考舵角A3;为方便计算机仿真以及船舶运动控制器设计,在参考模块中使用一种线性船舶运动数学模型,即NOMOTO模型,将舵机伺服机构考虑在内,且以参考模块的输出的参考数据A1~A3组成的列向量为状态变量xr(t),参考模块整体的状态空间模型简化为1, reference module transmits the reference data that obtains to trigger module, and described reference data comprises under the given situation of plan heading P1, the reference heading data A1 of gyrocompass output, the reference yaw rate A2 of speed measuring instrument output and The reference rudder angle A3 output by the rudder angle indicator; in order to facilitate computer simulation and ship motion controller design, a linear ship motion mathematical model, namely the NOMOTO model, is used in the reference module, taking the servo mechanism of the steering gear into consideration, and expressed as The column vector composed of the reference data A1~A3 output by the reference module is the state variable x r (t), and the overall state space model of the reference module is simplified as

yr(t)=Cxr(t)+Dur(t)y r (t) = Cx r (t) + Du r (t)

其中in

这里,t代表计算机的采样时刻,A、B、C和D分别代表参考模块在状态空间模型下的系统矩阵、输入矩阵、输出矩阵和状态转移矩阵,它们均是与参考模块内部结构相关的设计参数,ur(t)为参考模块的输入,这里指的是计划航向P1,yr(t)为参考模块的输出,这里指的是参考模块输出的参考航向A1,Ks和Ts分别代表参考模块的时间增益和时间常数,这两个参数与船舶的旋回性和追随性密切相关,TE和KE分别代表参考模块的舵机时间常数和舵机控制增益;Here, t represents the sampling time of the computer, and A, B, C and D represent the system matrix, input matrix, output matrix and state transition matrix of the reference module under the state space model respectively, and they are all designs related to the internal structure of the reference module Parameters, u r (t) is the input of the reference module, here refers to the planned heading P1, y r (t) is the output of the reference module, here refers to the reference heading A1 output by the reference module, K s and T s respectively Represents the time gain and time constant of the reference module, these two parameters are closely related to the gyration and tracking of the ship, T E and K E represent the steering gear time constant and steering gear control gain of the reference module, respectively;

II、触发模块中的计算单元根据参考模块的输出的参考数据A1~A3和被控单元反馈的实时数据B1~B3,计算被控模块与参考模块的状态偏差θ(t)及触发函数V(θ(t)),所述的实时数据B1~B3指的是在计划航向P1给定的情况下,被控模块中被控单元输出的航向B1、艏摇角速度B2及舵角B3;II. The calculation unit in the trigger module calculates the state deviation θ(t) between the controlled module and the reference module and the trigger function V( θ(t)), the real-time data B1~B3 refers to the course B1, yaw rate B2 and rudder angle B3 output by the controlled unit in the controlled module under the given situation of the planned course P1;

θ(t)=x(t)-xr(t)θ(t)=x(t)-x r (t)

即被控模块与参考模块的状态偏差,其中:That is, the state deviation between the controlled module and the reference module, where:

x(t)=[ψ(t)r(t)δ(t)]T x(t)=[ψ(t)r(t)δ(t)] T

代表被控模块的状态变量,ψ(t),r(t),δ(t)分别代表航向B1、艏摇角速度B2及舵角B3;Represents the state variable of the controlled module, ψ(t), r(t), δ(t) represent heading B1, yaw rate B2 and rudder angle B3 respectively;

V(θ(t))=θ(t)TPθ(t)V(θ(t))=θ(t) T Pθ(t)

为触发函数,其中P是被控模块李亚普诺夫方程的解;is the trigger function, where P is the solution of the Lyapunov equation of the controlled module;

比较单元将触发函数V(θ(t))及其阈值ρ在每一采样时刻进行比较;The comparison unit compares the trigger function V(θ(t)) and its threshold ρ at each sampling moment;

指令单元根据比较单元的比较结果对控制单元的更新时刻做出判断并给出触发指令,每当触发函数V(θ(t))到达设置的阈值ρ,即到达触发时刻时,指令单元即向控制单元发出控制信号更新的指令,而在触发函数V(θ(t))未到达设置的阈值ρ,即未到达触发时刻时,指令单元则不向控制单元发出更新指令,控制单元输出的控制信号在该时刻不作更新,且始终维持上一触发时刻的控制信号不变;The command unit judges the update time of the control unit according to the comparison result of the comparison unit and gives a trigger command. Whenever the trigger function V(θ(t)) reaches the set threshold ρ, that is, when the trigger time is reached, the command unit sends The control unit issues an instruction to update the control signal, and when the trigger function V(θ(t)) does not reach the set threshold ρ, that is, when the trigger time is not reached, the instruction unit does not issue an update instruction to the control unit, and the output control of the control unit The signal will not be updated at this moment, and the control signal at the previous trigger moment will always remain unchanged;

III、控制单元按照触发模块发出的触发指令,对数据处理单元的输出数据进行状态反馈调节并输出控制信号,由于闭环极点是评价闭环系统各项性能的依据,因此被控模块的闭环极点在频域中S平面的位置与被控模块的稳定性和动态性能有着密切的联系,这里以将被控模块的闭环极点配置在频域中S左半平面为原则完成控制单元中状态反馈数字信号调节器的基本设计,具体的调节方法为III. The control unit performs state feedback adjustment on the output data of the data processing unit according to the trigger instruction issued by the trigger module and outputs a control signal. Since the closed-loop pole is the basis for evaluating the performance of the closed-loop system, the closed-loop pole of the controlled module is at frequency The position of the S-plane in the frequency domain is closely related to the stability and dynamic performance of the controlled module. Here, the closed-loop pole of the controlled module is arranged on the left half-plane of S in the frequency domain as the principle to complete the state feedback digital signal adjustment in the control unit. The basic design of the device, the specific adjustment method is

其中,为被控模块中控制单元输出的控制信号,tk为触发时刻,即触发函数V(θ(t))到达设置的阈值ρ的时刻,k=1,2,3…,A、B与C的含义及具体形式同参考模块,它们也是被控模块的设计参数,K为反馈增益矩阵,J为校正矩阵,ψm(t)为被控模块的计划航向P1;in, is the control signal output by the control unit in the controlled module, t k is the trigger moment, that is, the moment when the trigger function V(θ(t)) reaches the set threshold ρ, k=1,2,3..., A, B and C The meaning and specific form of are the same as the reference module, they are also the design parameters of the controlled module, K is the feedback gain matrix, J is the correction matrix, ψ m (t) is the planned course P1 of the controlled module;

极点的配置原则为:通过对被控模块中被控单元的航向B1、艏摇角速度B2和舵角B3这三个状态进行反馈,将整个被控模块的闭环极点配置在S平面的左半部分,从调节时间、超调量、稳态误差、上升时间、延迟时间五个方面综合考虑,调整被控模块的闭环极点在S左半平面的位置实现对被控模块控制性能的设计;The pole configuration principle is as follows: by feedbacking the three states of heading B1, yaw rate B2 and rudder angle B3 of the controlled unit in the controlled module, the closed-loop pole of the entire controlled module is configured on the left half of the S plane , considering the five aspects of adjustment time, overshoot, steady-state error, rise time, and delay time, adjust the position of the closed-loop pole of the controlled module on the left half plane of S to realize the design of the control performance of the controlled module;

极点的配置方法为:调整反馈增益矩阵K=[K0,K1,K2]中的三个参数实现对被控模块闭环极点的位置的配置,其中K0为航向B1的反馈增益,K1为艏摇角速度B2的反馈增益,K2为舵角B3的反馈增益,由此得到控制单元的输出此外按照触发控制的特点,仅在触发时刻tk进行更新,而在两次触发时刻[tk,tk+1)之间维持保持不变,即 The configuration method of the pole is: adjust the three parameters in the feedback gain matrix K=[K 0 , K 1 , K 2 ] to realize the configuration of the position of the closed-loop pole of the controlled module, where K 0 is the feedback gain of heading B1, and K 1 is the feedback gain of the yaw rate B2, K 2 is the feedback gain of the rudder angle B3, thus the output of the control unit is obtained In addition, according to the characteristics of the trigger control, It is updated only at the triggering time t k , and maintains between two triggering times [t k ,t k+1 ) remain unchanged, i.e.

IV、数模转换单元将控制单元输出的控制信号进行数模转换后发送给PWM信号输出单元;IV, the digital-to-analog conversion unit sends the control signal output by the control unit to the PWM signal output unit after digital-to-analog conversion;

V、PWM信号输出单元根据数模转换单元的输出数据产生相应的PWM波形,对执行机构进行控制;V. The PWM signal output unit generates a corresponding PWM waveform according to the output data of the digital-to-analog conversion unit to control the actuator;

VI、执行机构根据PWM波形脉冲来将电脉冲信号转变为角位移或线位移,驱动转舵装置,进行船舶航向控制;VI. The actuator converts the electrical pulse signal into angular displacement or linear displacement according to the PWM waveform pulse, drives the rudder device, and controls the ship's course;

VII、被控单元将航向B1、艏摇角速度B2、舵机舵角B3这三个船舶的状态实时反馈给触发模块和模数转换单元;VII, the controlled unit feeds back the state of the three ships, the course B1, the yaw rate B2, and the steering gear angle B3, to the trigger module and the analog-to-digital conversion unit in real time;

VIII、模数转换单元将被控单元的反馈数据进行模数转换后发送给数据处理单元;VIII, the analog-to-digital conversion unit sends the feedback data of the controlled unit to the data processing unit after analog-to-digital conversion;

IX、数据处理单元将模数转换单元的输出数据与计划航向进行比较,并给出控制单元的控制输入信号。IX. The data processing unit compares the output data of the analog-to-digital conversion unit with the planned heading, and gives the control input signal of the control unit.

与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:

1、本发明通过采用基于事件触发机制的船舶航向控制器,不仅减轻了船舶航向控制系统对控制信号的计算更新负担、避免了船舶操舵装置的高频状态切换以及控制零部件的高频摩擦,同时也减少船舶航行中的能源消耗,从而实现经济航行,这也是本发明中航向控制方法最大的优点;1. By adopting the ship course controller based on the event trigger mechanism, the present invention not only reduces the calculation and update burden of the ship course control system on the control signal, avoids the high-frequency state switching of the ship steering device and the high-frequency friction of the control parts, At the same time, the energy consumption in the navigation of the ship is also reduced, thereby realizing economical navigation, which is also the biggest advantage of the course control method in the present invention;

2、本发明通过调节触发函数V(θ(t))的阈值ρ可以实现航向控制精度的方便调节;其次反馈增益矩阵K中的三个参数K0、K1和K2分别与船舶的三个航行状态,即航向、艏摇角速度、舵角直接相关,因此这种方法相对于传统航向控制方法的另一个优点是控制参数的物理意义更加直观明确且参数整定较为简单易行。2. The present invention can realize the convenient adjustment of heading control precision by adjusting the threshold ρ of the trigger function V(θ(t)); secondly, the three parameters K 0 , K 1 and K 2 in the feedback gain matrix K are respectively related to the three parameters of the ship. Therefore, another advantage of this method compared with the traditional heading control method is that the physical meaning of the control parameters is more intuitive and clear, and the parameter setting is relatively simple and easy.

3、本发明在被控模块中的控制单元部分主要采用状态反馈控制算法而非PID控制算法,这种控制方法相对于PID控制而言控制参数更易整定且控制效率更高,其次,本发明采用了输出参考的控制方法,即参照参考模块的航行数据进行触发模块及被控模块中控制单元的设计,由此实现经济航行的目的。3. The control unit part of the controlled module of the present invention mainly adopts the state feedback control algorithm instead of the PID control algorithm. Compared with the PID control, the control parameters of this control method are easier to set and the control efficiency is higher. Secondly, the present invention adopts The control method of output reference is proposed, that is, the design of the control unit in the trigger module and the controlled module is carried out with reference to the navigation data of the reference module, so as to realize the purpose of economic navigation.

附图说明Description of drawings

图1是本发明实施例的结构示意图。Fig. 1 is a schematic structural diagram of an embodiment of the present invention.

图2是本发明的参考模块航向跟踪仿真结果图。Fig. 2 is a diagram of the simulation results of heading tracking of the reference module of the present invention.

图3是本发明的被控模块航向跟踪仿真结果图。Fig. 3 is a simulation result diagram of the heading tracking of the controlled module of the present invention.

具体实施方式detailed description

下面结合附图对本发明进行进一步地描述。The present invention will be further described below in conjunction with the accompanying drawings.

本发明基于事件触发机制的船舶航向控制器如图1所示,其控制性能验证仿真结果如图3所示。其中船舶航向的数学模型为ψm表示船舶航向的理想系统性能,即计划航向P1,其中ψr=15[sign(sin(2πt/500))+1]为命令输入信号,它的值从0度到30度变化,周期是500秒,在仿真过程中,采样时间选取ts=0.1秒,仿真时间选取t=800秒,由此可知,不带有事件触发机制的航向控制器触发次数为8000次,控制信号进行了8000次计算与更新,执行机构进行了8000次状态切换。The ship course controller based on the event trigger mechanism of the present invention is shown in FIG. 1 , and the simulation results of its control performance verification are shown in FIG. 3 . The mathematical model of the ship heading is ψ m represents the ideal system performance of the ship heading, that is, the planned heading P1, where ψ r =15[sign(sin(2πt/500))+1] is the command input signal, its value varies from 0° to 30°, and the period It is 500 seconds. In the simulation process, the sampling time is selected as t s =0.1 second, and the simulation time is selected as t=800 seconds. It can be seen that the number of triggers of the heading controller without the event trigger mechanism is 8000 times, and the control signal is carried out 8000 times of calculation and update, and 8000 times of state switching of the actuator.

从图2-3的仿真结果可以看出,基于事件触发机制的船舶航向控制器及其控制方法在响应速度、平滑性、输出稳定度及动态性能等方面均可获得与不带有触发机制的航向控制器相当的控制效果,与此同时,根据表1所示,基于事件触发机制的船舶航向控制器的更新次数显著减少,且在触发函数的阈值ρ取值很小,即控制精度较高时,控制器的更新次数仍然不超过3000次,与不带有触发机制的航向控制器8000次触发相比,前者更加节能高效,不仅减轻了系统的计算负担及船舶航行中的能源消耗,还减少了控制信号的更新次数及执行装置的状态切换次数,由此可见,基于事件触发机制的船舶航向控制器控制精度高、实用性较强,同时对于实现经济航行有着潜在的应用价值。From the simulation results in Figure 2-3, it can be seen that the ship heading controller and its control method based on the event-triggered mechanism can achieve better results than those without the trigger mechanism in terms of response speed, smoothness, output stability, and dynamic performance. At the same time, as shown in Table 1, the number of updates of the ship heading controller based on the event trigger mechanism is significantly reduced, and the threshold value ρ of the trigger function is very small, that is, the control accuracy is higher At this time, the number of updates of the controller still does not exceed 3000 times. Compared with the 8000 times of triggering of the heading controller without a trigger mechanism, the former is more energy-saving and efficient, which not only reduces the calculation burden of the system and the energy consumption of the ship during navigation, but also The number of updates of the control signal and the number of state switching of the actuator are reduced. It can be seen that the ship heading controller based on the event trigger mechanism has high control accuracy and strong practicability. At the same time, it has potential application value for realizing economical navigation.

表1基于事件触发机制的船舶航向控制器更新次数表Table 1 The update times of the ship heading controller based on the event trigger mechanism

本发明在控制单元部分采用了状态反馈极点配置的方法,设计出状态反馈控制器,相比于以往的PID控制方法而言,这里设计的航向控制器参数更易整定且物理意义更加直观明确,其次,参照参考模块设计了一种触发机制及相应的触发模块,通过触发控制实现经济航向;这里触发次数或者控制单元的计算更新次数取决于船舶航行时的航向控制性能是否符合要求以及稳定航行的条件是否满足,在船舶按给定要求稳定航行时,控制信号保持恒定不作计算更新,由此减轻了控制器的计算负担、减少了执行机构的状态切换及零部件不必要的磨损,在节约能源的同时延长了船舶的使用寿命,最终实现经济航行。The present invention adopts the method of state feedback pole configuration in the control unit, and designs a state feedback controller. Compared with the previous PID control method, the parameters of the course controller designed here are easier to set and the physical meaning is more intuitive and clear. Secondly, , referring to the reference module, a trigger mechanism and corresponding trigger module are designed to realize economic heading through trigger control; here, the number of triggers or the number of calculation updates of the control unit depends on whether the heading control performance of the ship meets the requirements and the conditions for stable sailing Whether it is satisfied or not, when the ship sails stably according to the given requirements, the control signal remains constant without calculation and update, thereby reducing the calculation burden of the controller, reducing the state switching of the actuator and unnecessary wear of parts, and saving energy. At the same time, the service life of the ship is extended, and economical sailing is finally realized.

本发明不局限于本实施例,任何在本发明披露的技术范围内的等同构思或者改变,均列为本发明的保护范围。The present invention is not limited to this embodiment, and any equivalent ideas or changes within the technical scope disclosed in the present invention are listed in the protection scope of the present invention.

Claims (3)

1. A ship course controller based on an event trigger mechanism is characterized in that: the device comprises a reference module, a triggering module and a controlled module, wherein the triggering module comprises a calculating unit, a comparing unit and an instruction unit, and the controlled module comprises a control unit, a digital-to-analog conversion unit, a PWM signal output unit, an executing mechanism, a controlled unit, an analog-to-digital conversion unit and a data processing unit; the trigger module is respectively connected with the output end of the reference module, the output end of the controlled unit in the controlled module and the input end of the control unit in the controlled module;
the output end of the control unit is connected with the digital-to-analog conversion unit, the PWM signal output unit, the actuating mechanism, the controlled unit, the analog-to-digital conversion unit and the data processing unit in series in sequence and then connected to the input end of the control unit, and the whole controlled module forms a closed-loop control system;
the input end of the computing unit is respectively connected with the output end of the reference module and the output end of the controlled unit in the controlled module, and the output end of the computing unit is connected to the input end of the control unit in the controlled module through the comparison unit and the instruction unit;
the reference module transmits the obtained reference data to the trigger module;
the controlled unit feeds back the obtained real-time data to the triggering module and the analog-to-digital conversion unit;
the triggering module calculates the state deviation and triggering function of the controlled module and the reference module according to the reference data output by the reference module and the real-time data fed back by the controlled unit, and judges and sends a triggering instruction at the same time;
the control unit performs state feedback control adjustment according to the trigger instruction sent by the trigger module and the output data of the data processing unit and outputs a control signal;
the digital-to-analog conversion unit is used for performing digital-to-analog conversion on the control signal output by the control unit and then sending the control signal to the PWM signal output unit;
the PWM signal output unit generates a corresponding PWM waveform according to the output data of the digital-to-analog conversion unit and controls the actuating mechanism;
the actuating mechanism converts the electric pulse signal into angular displacement or linear displacement according to the PWM waveform pulse, drives the steering device and controls the course of the ship;
the analog-to-digital conversion unit performs analog-to-digital conversion on the feedback data of the controlled unit and then sends the feedback data to the data processing unit;
and the data processing unit compares the output data of the analog-to-digital conversion unit with the planned course and outputs a control input signal of the control unit.
2. The ship heading controller based on the event trigger mechanism as claimed in claim 1, wherein: the reference module and the controlled module have the same state space model, both are provided with state feedback digital signal regulators, and the state feedback digital signal regulators use the same ship model with the same design parameters, namely a NOMOTO model.
3. A ship course controller based on an event trigger mechanism and a control method thereof are characterized in that: the method comprises the following steps:
I. the reference module transmits the obtained reference data to the trigger module, wherein the reference data comprises reference heading data A1 output by the electric compass, reference heading angular speed A2 output by the tachometer and reference rudder angle A3 output by the rudder angle indicator under the condition that the planned heading P1 is given; in order to facilitate computer simulation and design of a ship motion controller, a linear ship motion mathematical model, namely a NOMOTO model is used in a reference module, a steering engine servo mechanism is taken into consideration, and a column vector consisting of reference data A1-A3 output by the reference module is taken as a state variable xr(t) simplifying the state space model of the entire reference module to
x · r ( t ) = Ax r ( t ) + Bu r ( t )
yr(t)=Cxr(t)+Dur(t)
Wherein
A = 0 1 0 0 - 1 T s K s T s 0 0 - 1 T E , B = 0 0 K E T E , C = 1 0 0 , D = 0
Here, t represents the sampling time of the computer, A, B, C and D represent the system matrix, input matrix, output matrix and state transition matrix of the reference module under the state space model, which are the design parameters related to the internal structure of the reference module, respectively, ur(t) is the input to the reference module, referred to herein as the planned heading P1, yr(t) is the output of the reference module, which is referred to herein as the reference heading A1, K of the reference module outputsAnd TsRespectively representing the time gain and time constant of the reference module, which are closely related to the gyrating and tracking properties of the ship, TEAnd KERespectively representing a steering engine time constant and a steering engine control gain of the reference module;
II. The calculating unit in the triggering module calculates state deviation theta (t) and a triggering function V (theta (t)) of the controlled module and the reference module according to reference data A1-A3 output by the reference module and real-time data B1-B3 fed back by the controlled unit, wherein the real-time data B1-B3 refer to a heading B1, a heading angular speed B2 and a rudder angle B3 output by the controlled unit in the controlled module under the condition that a planned heading P1 is given;
θ(t)=x(t)-xr(t)
i.e. the state deviation of the controlled module from the reference module, wherein:
x(t)=[ψ(t) r(t) (t)]T
the state variables psi (t), r (t) and (t) representing the controlled module respectively represent a heading direction B1, a heading angular speed B2 and a rudder angle B3;
V(θ(t))=θ(t)TPθ(t)
is a trigger function, where P is the solution of the controlled module Lyapunov equation;
the comparison unit compares the trigger function V (theta (t)) and the threshold value rho thereof at each sampling moment;
the instruction unit judges the updating time of the control unit according to the comparison result of the comparison unit and gives a trigger instruction, when the trigger function V (theta (t)) reaches the set threshold value rho, namely the trigger time, the instruction unit sends a control signal updating instruction to the control unit, and when the trigger function V (theta (t)) does not reach the set threshold value rho, namely the trigger time, the instruction unit does not send the updating instruction to the control unit, the control signal output by the control unit is not updated at the time, and the control signal of the previous trigger time is always kept unchanged;
and III, the control unit performs state feedback regulation on output data of the data processing unit and outputs a control signal according to a trigger instruction sent by the trigger module, and the position of the closed-loop pole of the controlled module in an S plane in a frequency domain is closely related to the stability and the dynamic performance of the controlled module because the closed-loop pole is the basis for evaluating various performances of a closed-loop system, wherein the basic design of a state feedback digital signal regulator in the control unit is completed by using the principle that the closed-loop pole of the controlled module is configured in an S left half plane in the frequency domain, and the specific regulation method is that
Wherein,for control signals output by control units in the controlled module, tkFor the triggering time, that is, the time when the triggering function V (θ (t)) reaches the set threshold ρ, K is 1,2,3 …, A, B and C, and the meaning and the specific form are the same as those of the reference module, which are also the design parameters of the controlled module, K is the feedback gain matrix, J is the correction matrix, ψ ism(t) is the planned heading P1 for the controlled module;
the configuration principle of the extreme points is as follows: the method comprises the steps that three states of a heading B1, a heading angular velocity B2 and a rudder angle B3 of a controlled unit in a controlled module are fed back, a closed loop pole of the whole controlled module is configured on the left half part of an S plane, and the position of the closed loop pole of the controlled module on the left half plane of the S plane is adjusted to realize the design of the control performance of the controlled module in consideration of adjusting time, overshoot, steady-state error, rising time and delay time;
the configuration method of the pole comprises the following steps: adjusting feedback gain matrix K ═ K0,K1,K2]The three parameters in (1) realize the configuration of the position of the closed loop pole of the controlled module, wherein K0Feedback gain for heading B1, K1For the feedback gain of yaw rate B2, K2Is the feedback gain of the steering angle B3, thereby obtaining the output of the control unitIn addition, according to the characteristics of the trigger control,only at the triggering time tkThe update is performed with two triggering times tk,tk+1) Is maintained betweenRemain unchanged, i.e.
IV, the digital-to-analog conversion unit performs digital-to-analog conversion on the control signal output by the control unit and then sends the control signal to the PWM signal output unit;
v, PWM the signal output unit generates corresponding PWM waveform according to the output data of the D/A conversion unit to control the actuator;
VI, the executing mechanism converts the electric pulse signal into angular displacement or linear displacement according to the PWM waveform pulse, drives the steering device and controls the ship course;
VII, the controlled unit feeds the states of three ships, namely a heading B1, a heading angular velocity B2 and a steering engine rudder angle B3, back to the triggering module and the analog-digital conversion unit in real time;
VIII, the analog-to-digital conversion unit performs analog-to-digital conversion on the feedback data of the controlled unit and then sends the feedback data to the data processing unit;
and IX, the data processing unit compares the output data of the analog-to-digital conversion unit with the planned heading and gives a control input signal of the control unit.
CN201710081063.8A 2017-02-15 2017-02-15 A ship heading controller based on event trigger mechanism and its control method Pending CN106557088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710081063.8A CN106557088A (en) 2017-02-15 2017-02-15 A ship heading controller based on event trigger mechanism and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710081063.8A CN106557088A (en) 2017-02-15 2017-02-15 A ship heading controller based on event trigger mechanism and its control method

Publications (1)

Publication Number Publication Date
CN106557088A true CN106557088A (en) 2017-04-05

Family

ID=58446108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710081063.8A Pending CN106557088A (en) 2017-02-15 2017-02-15 A ship heading controller based on event trigger mechanism and its control method

Country Status (1)

Country Link
CN (1) CN106557088A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678280A (en) * 2017-10-11 2018-02-09 北京理工大学 A kind of forecast Control Algorithm of the multi-agent system based on event trigger mechanism
CN108415418A (en) * 2018-01-23 2018-08-17 上海交通大学 A kind of homogeneity unmanned boat cluster formation method based on undirected connected network
CN108445748A (en) * 2018-02-02 2018-08-24 北京航空航天大学 A kind of adaptive spacecraft attitude tracking and controlling method based on event trigger mechanism
EP3389021A1 (en) * 2017-04-11 2018-10-17 Damen Components Holding B.V. Indicator method and system for a vessel
CN109581876A (en) * 2019-01-08 2019-04-05 大连海事大学 Event-triggered state observer structure of unmanned ship and design method thereof
CN109828597A (en) * 2019-03-02 2019-05-31 哈尔滨理工大学 A kind of spacecraft attitude control system based on event triggering
CN111221335A (en) * 2020-01-17 2020-06-02 大连海事大学 A fuzzy adaptive output feedback finite time control method and system for intelligent ship autopilot system
CN111290387A (en) * 2020-02-21 2020-06-16 大连海事大学 Fuzzy self-adaptive output feedback designated performance control method and system for intelligent ship autopilot system
CN111708280A (en) * 2020-06-30 2020-09-25 大连海事大学 An event-triggered controller method for ship path tracking considering actuator faults
CN112987771A (en) * 2021-03-08 2021-06-18 大连海事大学 Motor sailing ship path tracking control method based on multi-port output error triggering mechanism
CN114509944A (en) * 2022-02-06 2022-05-17 西北工业大学 Underwater glider robust self-adaption course angle control method based on event trigger strategy

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3389021A1 (en) * 2017-04-11 2018-10-17 Damen Components Holding B.V. Indicator method and system for a vessel
CN107678280A (en) * 2017-10-11 2018-02-09 北京理工大学 A kind of forecast Control Algorithm of the multi-agent system based on event trigger mechanism
CN108415418B (en) * 2018-01-23 2020-11-06 上海交通大学 Homogeneous unmanned ship cluster formation method based on undirected connected network
CN108415418A (en) * 2018-01-23 2018-08-17 上海交通大学 A kind of homogeneity unmanned boat cluster formation method based on undirected connected network
CN108445748A (en) * 2018-02-02 2018-08-24 北京航空航天大学 A kind of adaptive spacecraft attitude tracking and controlling method based on event trigger mechanism
CN109581876A (en) * 2019-01-08 2019-04-05 大连海事大学 Event-triggered state observer structure of unmanned ship and design method thereof
CN109581876B (en) * 2019-01-08 2021-08-20 大连海事大学 An event-triggered state observer structure and design method for unmanned ship
CN109828597A (en) * 2019-03-02 2019-05-31 哈尔滨理工大学 A kind of spacecraft attitude control system based on event triggering
CN111221335A (en) * 2020-01-17 2020-06-02 大连海事大学 A fuzzy adaptive output feedback finite time control method and system for intelligent ship autopilot system
CN111290387A (en) * 2020-02-21 2020-06-16 大连海事大学 Fuzzy self-adaptive output feedback designated performance control method and system for intelligent ship autopilot system
CN111708280A (en) * 2020-06-30 2020-09-25 大连海事大学 An event-triggered controller method for ship path tracking considering actuator faults
CN112987771A (en) * 2021-03-08 2021-06-18 大连海事大学 Motor sailing ship path tracking control method based on multi-port output error triggering mechanism
CN112987771B (en) * 2021-03-08 2023-10-27 大连海事大学 Mechanical sailing boat path tracking control method based on multiport output error trigger mechanism
CN114509944A (en) * 2022-02-06 2022-05-17 西北工业大学 Underwater glider robust self-adaption course angle control method based on event trigger strategy

Similar Documents

Publication Publication Date Title
CN106557088A (en) A ship heading controller based on event trigger mechanism and its control method
CN111580523B (en) Unmanned ship path tracking active disturbance rejection control method based on sideslip angle compensation
CN106292287B (en) A kind of UUV path following method based on adaptive sliding-mode observer
CN103324195B (en) Ship self-adaptive robust course tracking control method based on back stepping method
CN106707759B (en) A kind of aircraft Herbst maneuver autopilot method
CN102707624B (en) Design method of longitudinal controller region based on conventional aircraft model
CN105334735A (en) Flying wing layout unmanned aerial vehicle control law based on angular rate
Joelianto et al. Model predictive control for autonomous unmanned helicopters
CN101859147A (en) Intelligent coordination control method for ship heading
CN110032075B (en) A Design Method of Saturation Compensation Control System for Dynamic Positioning Vessel
CN103955225B (en) Fuel optimal pose coordination method suitable for space tether robot in target approaching process
CN105134482B (en) Large-scale intelligent fan blade System Grey color compositional modeling and the method for optimization vibration control
CN116184813B (en) Boost glide rocket attitude control method, device, equipment and storage medium
CN104691534B (en) A kind of aircushion vehicle revolution rate with guiding module keeps control method
CN102707723A (en) Conventional aircraft model-based lateral-directional controller area design method
CN116185024A (en) A heading anti-disturbance control method for unmanned boats
CN108415418A (en) A kind of homogeneity unmanned boat cluster formation method based on undirected connected network
CN106569503A (en) Triggering-type predictive control-based aircraft control method
Williams et al. Flexible tethered kite with moveable attachment points, part I: Dynamics and control
CN101615000A (en) Robust adaptive autopilot control algorithm for navigation simulator
VanZwieten et al. Design of a prototype ocean current turbine—Part II: flight control system
Zhao et al. μ-Synthesis robust controller design for the supercavitating vehicle based on the BTT strategy
CN114019985B (en) Unmanned rudder direction control design method based on fractional order PID and particle swarm algorithm
Cobb et al. Flexible-time economic iterative learning control: A case study in airborne wind energy
CN114924480A (en) Ship course tracking self-adaptive control method

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170405