CN113341728B - Anti-noise type return-to-zero neural network four-wheel mobile mechanical arm trajectory tracking control method - Google Patents
Anti-noise type return-to-zero neural network four-wheel mobile mechanical arm trajectory tracking control method Download PDFInfo
- Publication number
- CN113341728B CN113341728B CN202110700910.0A CN202110700910A CN113341728B CN 113341728 B CN113341728 B CN 113341728B CN 202110700910 A CN202110700910 A CN 202110700910A CN 113341728 B CN113341728 B CN 113341728B
- Authority
- CN
- China
- Prior art keywords
- noise
- neural network
- wheel
- mechanical arm
- wheel mobile
- 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 31
- 238000013528 artificial neural network Methods 0.000 title claims abstract description 25
- 230000008569 process Effects 0.000 claims abstract description 18
- 238000003062 neural network model Methods 0.000 claims description 19
- 239000011159 matrix material Substances 0.000 claims description 5
- 230000009466 transformation Effects 0.000 abstract description 15
- 230000033001 locomotion Effects 0.000 abstract description 8
- 239000012636 effector Substances 0.000 description 9
- 230000004913 activation Effects 0.000 description 8
- 238000004519 manufacturing process Methods 0.000 description 8
- 230000008859 change Effects 0.000 description 6
- 230000001537 neural effect Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 210000000245 forearm Anatomy 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- 230000032683 aging Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/04—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
- G05B13/042—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Feedback Control In General (AREA)
Abstract
Description
技术领域technical field
本发明涉及移动机器人领域,特别涉及一种基于运动学和抗噪型归零神经网络的四轮移动机械臂轨迹跟踪控制算法。The invention relates to the field of mobile robots, in particular to a trajectory tracking control algorithm of a four-wheel mobile mechanical arm based on kinematics and an anti-noise type zeroing neural network.
背景技术Background technique
近年来,我国制造业持续快速发展,总体规模大幅提升,对国内经济和世界经济起到了积极的推动作用。国内制造业仍以劳动密集型的低端制造为主,附加值相对较低,总体上还只是“世界工厂”。随着国内经济的快速发展以及人口老龄化的趋势,人力成本必定逐渐增加,中国制造业的“人口红利”将逐步消失。此外以“智能制造”为核心的第四次工业革命正席卷全球。我国坚持把发展经济着力点放在实体经济上,加快推进制造强国、质量强国建设,实现制造业产业升级,国家提出第十四个五年规划和2035年远景目标纲要。随着智能制造的不断推进,“机器换人”正逐步展开。移动机械臂在动态、未知的复杂环境中工作时,应该具有完全自主性,也就是说该系统应该具有感知能力、规划能力、机动能力和协调能力等,所以在移动机械臂理论研究方面,需要解决的问题包括轨迹规划、运动控制和协同控制等。移动机械臂的运动控制按照控制目标的不同可以分为点镇定、路径跟随和轨迹跟踪这三种类型,其中移动机械臂的轨迹跟踪控制是目前控制界研究的热点和难点。In recent years, my country's manufacturing industry has continued to develop rapidly and the overall scale has increased significantly, which has played a positive role in promoting the domestic economy and the world economy. The domestic manufacturing industry is still dominated by labor-intensive low-end manufacturing, with relatively low added value, and is generally only a "world factory". With the rapid development of the domestic economy and the trend of an aging population, labor costs will inevitably increase gradually, and the "demographic dividend" of China's manufacturing industry will gradually disappear. In addition, the fourth industrial revolution centered on "smart manufacturing" is sweeping the world. my country insists on focusing on the real economy for economic development, accelerates the construction of a strong manufacturing country and a strong quality country, and realizes the upgrading of the manufacturing industry. With the continuous advancement of intelligent manufacturing, "machine substitution" is gradually unfolding. When the mobile manipulator works in a dynamic, unknown and complex environment, it should have complete autonomy, that is to say, the system should have the ability to perceive, plan, maneuver and coordinate, etc. Therefore, in the theoretical research of the mobile manipulator, it is necessary to The problems addressed include trajectory planning, motion control, and cooperative control. The motion control of mobile manipulators can be divided into three types: point stabilization, path following and trajectory tracking according to different control objectives.
现阶段的移动机械臂理论研究大部分基于两轮或者三轮的,并且机器人的都是大部分基于动力学建模,四轮移动机械臂的动力学建模比较繁琐,需要分析移动平台的动力学及机械臂的动力学模型。两个模型难以整合在一个系统中,因此大部分研究者采用两种控制算法分别控制两个子系统,难以实现移动平台与机械臂的协同控制。因此,本发明通过建立移动平台的运动学模型及机械臂的运动学模型,通过空间坐标变换将两者整合在基于世界坐标系的系统中,并且提出一种抗噪型归零神经网络的四轮移动机械臂轨迹跟踪控制方法,实现了四轮移动机械臂的轨迹跟踪控制。Most of the theoretical research on mobile manipulators at this stage is based on two or three wheels, and most of the robots are based on dynamic modeling. The dynamic modeling of four-wheel mobile manipulators is cumbersome, and it is necessary to analyze the power of the mobile platform. Dynamics model of the robotic arm. It is difficult to integrate the two models into one system, so most researchers use two control algorithms to control the two subsystems respectively, and it is difficult to realize the coordinated control of the mobile platform and the manipulator. Therefore, the present invention integrates the kinematics model of the mobile platform and the kinematics model of the manipulator into a system based on the world coordinate system through spatial coordinate transformation, and proposes an anti-noise return-to-zero neural network. The track tracking control method of the wheel moving manipulator realizes the track tracking control of the four-wheel moving manipulator.
发明内容SUMMARY OF THE INVENTION
本发明公开了一种抗噪型归零神经网络的四轮移动机械臂轨迹跟踪控制方法,基于世界坐标系下的四轮移动机械臂建立了系统的整体运动学方程,在移动机械臂的可达空间范围内设计期望轨迹方程,基于期望轨迹函数与实际运动轨迹函数间的差值定义了一个向量型误差函数,通过构造误差函数e(t)的微分方程满足ψ(·)代表激活函数,并选择线性激活函数ψ(e(t))=e(t),由此可以得到e(t)=e(0)exp(-γt),随着时间t变大误差函数e(t)收敛于0。结合四轮移动机械臂的整体运动学方程得到抗噪型归零神经网络动力学模型,抑制四轮移动机械臂在轨迹跟踪过程中的噪声干扰,解决了四轮移动机械臂在跟踪期望轨迹过程中受到外力碰撞、控制模块中电源电压的瞬时衰减等噪声干扰。另外,相对比系统的动力学建模,运动学建模相对简单。结合说明书附图,本发明的技术方案如下:The invention discloses a four-wheel mobile mechanical arm trajectory tracking control method based on an anti-noise type zeroing neural network. Based on the four-wheel mobile mechanical arm in the world coordinate system, the overall kinematics equation of the system is established. The desired trajectory equation is designed within the reach space, and a vector-type error function is defined based on the difference between the expected trajectory function and the actual motion trajectory function, and the differential equation of the error function e(t) is constructed to satisfy ψ( ) represents the activation function, and chooses the linear activation function ψ(e(t))=e(t), from which we can obtain e(t)=e(0)exp(-γt), which changes with time t The large error function e(t) converges to zero. Combined with the overall kinematics equation of the four-wheeled mobile manipulator, the anti-noise zeroing neural network dynamics model is obtained, which suppresses the noise interference of the four-wheeled mobile manipulator during the trajectory tracking process, and solves the problem of the four-wheeled mobile manipulator in the process of tracking the desired trajectory. It is subject to noise interference such as external force collision and instantaneous attenuation of the power supply voltage in the control module. In addition, kinematic modeling is relatively simple compared to the dynamic modeling of the system. In conjunction with the accompanying drawings, the technical solutions of the present invention are as follows:
一种抗噪型归零神经网络的四轮移动机械臂轨迹跟踪控制方法,所述控制方法具体如下:A four-wheel mobile manipulator trajectory tracking control method based on an anti-noise type zeroing neural network, the control method is specifically as follows:
S1:采集四轮移动机械臂四个车轮的初始角度数据以及四自由度机械臂的初始角度数据;S1: Collect the initial angle data of the four wheels of the four-wheel mobile manipulator and the initial angle data of the four-degree-of-freedom manipulator;
S2:根据设计者需求,同时在四轮移动机械臂的可达空间范围内给定期望轨迹方程;S2: According to the needs of the designer, the desired trajectory equation is given within the reachable space of the four-wheel mobile manipulator at the same time;
S3:通过空间坐标变换得到基坐标系下的四自由度机械臂的运动学方程,并且对移动平台的运动特性进行分析得到运动学方程,结合上述两者的运动学模型,通过坐标变换得到基于世界坐标系下的移动机械臂的整体运动学方程;S3: The kinematic equation of the four-degree-of-freedom manipulator in the base coordinate system is obtained through spatial coordinate transformation, and the kinematic equation is obtained by analyzing the kinematic characteristics of the mobile platform. The overall kinematics equation of the mobile manipulator in the world coordinate system;
S4:为了处理移动机械臂的轨迹跟踪问题,设计期望轨迹函数与实际轨迹函数之间的差值作为向量型误差函数,设计抗噪型归零神经网络模型控制器;S4: In order to deal with the trajectory tracking problem of the mobile manipulator, the difference between the expected trajectory function and the actual trajectory function is designed as a vector-type error function, and an anti-noise zeroing neural network model controller is designed;
S5:基于步骤4中的神经动力学方程求解的参数,通过电机控制移动机械臂完成轨迹跟踪任务。S5: Based on the parameters solved by the neural dynamics equation in
步骤S1具体过程为:The specific process of step S1 is:
本次实验中需要参考四轮移动机械臂的硬件参数,通过米尺测量移动平台的高度,以及断电情况下测量各机械臂的工作范围,在硬件官网上面查阅每个关节的最大转动速度。其中各关节的参数如下表:In this experiment, it is necessary to refer to the hardware parameters of the four-wheel mobile manipulator, measure the height of the mobile platform with a meter ruler, and measure the working range of each manipulator under the condition of power failure, and check the maximum rotation speed of each joint on the hardware official website. The parameters of each joint are as follows:
步骤S2具体过程为:The specific process of step S2 is:
根据步骤S1中的测量值设计四轮移动机械臂末端执行器的期望轨迹,保证其不超过移动机械臂各关节的可达范围。其中期望轨迹函数表达式如下:According to the measured values in step S1, the desired trajectory of the end effector of the four-wheel mobile manipulator is designed to ensure that it does not exceed the reachable range of each joint of the mobile manipulator. The expected trajectory function expression is as follows:
rxd=0.2×cos(0.1×t)r xd =0.2×cos(0.1×t)
ryd=0.2×sin(0.2×t)r yd = 0.2×sin(0.2×t)
rzd=0.3×ones(1,size(t,2))r zd = 0.3×ones(1, size(t, 2))
步骤S3具体过程为:The specific process of step S3 is:
S301:为了描述四轮移动机械臂各连杆的相对位置以及方向关系,需要根据机械臂的关节结构在每一个连杆上面建立一个坐标系。利用D-H关节坐标系建立原则,连杆坐标系{i}相对于{i-1}的齐次变换i-1Ti称为连杆变换,其中设计到轴转角αi-1、连杆长度ai-1、连杆偏距di、关节变量θi,因此可以分解为坐标系{i}的子变换问题,每个子变换都只依赖一个连杆参数,则有:S301: In order to describe the relative position and direction relationship of each link of the four-wheel moving mechanical arm, a coordinate system needs to be established on each link according to the joint structure of the mechanical arm. Using the principle of establishing the DH joint coordinate system, the homogeneous transformation i-1 T i of the connecting rod coordinate system {i} relative to {i-1} is called the connecting rod transformation, in which the shaft rotation angle α i-1 and the connecting rod length are designed a i-1 , link offset distance d i , joint variable θ i , so it can be decomposed into sub-transformation problems of coordinate system {i}, each sub-transformation only depends on one link parameter, there are:
i-1Ti=Rot(x,αi-1)Trans(x,ai-1)Rot(z,θi)Trans(z,di) i-1 T i =Rot(x,α i-1 )Trans(x,a i-1 )Rot(z,θ i )Trans(z,d i )
相连连杆间的变换通式:The general transformation formula between the connected connecting rods:
通过坐标变换得到基于基坐标系得机械臂运动学方程:The kinematic equation of the manipulator based on the base coordinate system is obtained by coordinate transformation:
其中,c1=cosθ1,s1=sinθ1,c23=cos(θ2+θ3),s23=sin(θ2+θ3)Wherein, c 1 =cosθ 1 , s 1 =sinθ 1 , c 23 =cos(θ 2 +θ 3 ), s 23 =sin(θ 2 +θ 3 )
S302:移动平台选择麦克纳姆轮作为驱动轮,动力方面采用四轮全驱的方式。将移动平台的麦克纳姆轮底盘运动学分解为三个独立变量来描述;首先计算出每个轮子的轴心位置的速度;根据第一步的结果计算轮子与地面接触的辊子的速度;根据第二步的结果,计算出轮子的实际转速,得到四轮全向运动学模型的反解:S302: The mobile platform chooses Mecanum wheel as the driving wheel, and adopts four-wheel all-wheel drive in terms of power. The kinematics of the Mecanum wheel chassis of the mobile platform is decomposed into three independent variables to describe; first calculate the speed of the axis position of each wheel; As a result of the second step, the actual speed of the wheel is calculated, and the inverse solution of the four-wheel omnidirectional kinematics model is obtained:
进而可以推导出四轮全向底盘的运动学正解:Then the positive kinematics solution of the four-wheel omnidirectional chassis can be derived:
其中,表示X轴运动的方向,即左右方向,定义向右为正,表示Y轴运动的方向,即前后方向,定义向前为正,ω表示yaw轴自转的角速度,定义逆时针为正,这几个量都是四个轮子的几何中心(矩形的对角线)的速度。vω1vω2vω3vω4表示每个车轮的速度。in, Indicates the direction of X-axis movement, that is, the left and right direction, which is defined as positive to the right, Indicates the direction of movement of the Y-axis, that is, the front and rear direction, which is defined as positive forward, ω represents the angular velocity of the yaw axis rotation, and is defined as positive counterclockwise. These quantities are the geometric centers of the four wheels (diagonals of the rectangle) speed. v ω1 v ω2 v ω3 v ω4 represents the speed of each wheel.
S303:通过采用基底坐标系到世界坐标系的变换矩阵,可以得到移动机械臂在世界坐标系下的整体运动学方程:S303: By using the transformation matrix from the base coordinate system to the world coordinate system, the overall kinematics equation of the mobile manipulator in the world coordinate system can be obtained:
将上述公式对时间t进行微分,得到以下整体运动学方程:Differentiating the above formula with time t yields the following overall kinematic equation:
其中,雅可比矩阵ν=[θΤ,ω]Τ Among them, the Jacobian matrix ν=[θ Τ ,ω] Τ
最终整理成以下简化的运动学方程:It is finally sorted into the following simplified kinematic equations:
其中,q=[v,θΤ]Τ,表示移动机械臂的角度矢量,包括移动平台车轮的转动角度和机械臂各关节的转动角度。Among them, q=[v, θ Τ ] Τ , represents the angle vector of the mobile manipulator, including the rotation angle of the wheel of the mobile platform and the rotation angle of each joint of the manipulator.
步骤S4具体过程为:The specific process of step S4 is:
在实际应用中,四轮移动机械臂在运行过程中存在多种类型的扰动,提出一种抗噪型归零神经网络模型及其相关模型,为了监控移动机械臂逆运动学问题求解过程,定义向量型误差函数:In practical applications, there are many types of disturbances during the operation of the four-wheeled mobile manipulator. An anti-noise zeroing neural network model and related models are proposed. In order to monitor the process of solving the inverse kinematics problem of the mobile manipulator, the definition Vector error function:
e(t)=zd(t)-z(t)e(t)=z d (t)-z(t)
其中,zd(t)和z(t)分别表示移动机械臂的期望轨迹和实际运行轨迹。Among them, z d (t) and z (t) represent the expected trajectory and the actual running trajectory of the mobile manipulator, respectively.
为了求得时变逆运动学的精确解,要求误差函数的每一项都趋近于零,抗噪型归零神经网络动力学方程如下:In order to obtain the exact solution of the time-varying inverse kinematics, each term of the error function is required to be close to zero. The dynamic equation of the anti-noise zeroing neural network is as follows:
其中,ψ(·)表示该神经网络的激活函数,选择简单的线性激活函数ψ(e(t))=e(t),γ>0,λ>0为可调参数,改变系统的收敛速度。在动力学方程中引入积分项来消除噪声。Among them, ψ( ) represents the activation function of the neural network, choose a simple linear activation function ψ(e(t))=e(t), γ>0, λ>0 are adjustable parameters to change the convergence speed of the system . Introduce an integral term in the kinetic equation to remove noise.
联立整体运动学方程与抗噪归零神经网络动力学方程,具有外部扰动的抗噪型归零神经网络模型如下:Simultaneous overall kinematics equation and anti-noise zeroing neural network dynamic equation, the anti-noise zeroing neural network model with external disturbance is as follows:
其中,η是噪声干扰项,在实际移动机器人运行过程中,总是存在影响机器人正常工作的外部干扰。例如,恒定的外力;瞬态衰减的外力等。Among them, η is the noise interference term. During the actual operation of the mobile robot, there is always external interference that affects the normal operation of the robot. For example, constant external force; transient decaying external force, etc.
图1(见附图)给出神经动力学的组成与基本原理。基于时间导数信息、神经网络激活函数和积分项的抗噪型归零神经网络算法可以有效的求解外部扰动的四轮移动机械臂的时变逆运动学方程。该模型可以看成经典控制理论中典型的闭环控制系统,当作广义的比例—积分—微分控制器组成的控制器系统。Figure 1 (see accompanying drawing) presents the composition and basic principles of neural dynamics. The anti-noise zeroing neural network algorithm based on time derivative information, neural network activation function and integral term can effectively solve the time-varying inverse kinematics equation of the externally disturbed four-wheel mobile manipulator. This model can be regarded as a typical closed-loop control system in classical control theory, and as a controller system composed of a generalized proportional-integral-derivative controller.
步骤S5具体过程为:The specific process of step S5 is:
通过上述的动力学方程求解出四轮移动机械臂在跟踪期望轨迹过程中移动平台车轮车速以及每个关节转动的角度,得到的参数可以作用到每个电机来调节各个关节进行轨迹跟踪。Through the above dynamic equations, the speed of the wheels of the mobile platform and the rotation angle of each joint can be obtained in the process of tracking the desired trajectory of the four-wheel mobile manipulator. The obtained parameters can be applied to each motor to adjust each joint for trajectory tracking.
与现技术相比,本发明的优点在于:Compared with the prior art, the advantages of the present invention are:
本发明提出一种抗噪型归零神经网络算法来处理四轮移动机械臂的轨迹跟踪问题。特点在于,传统的移动机械臂控制都需要建立系统的动力学模型,并且需要分别控制移动平台与各关节机械臂,然而在发明中对移动平台与四自由度机械臂分别进行运动学建模避免复杂的动力学建模,通过空间坐标变换把两者整合到一个系统中,实现移动机械臂的协同控制。本发明设计了一种抗噪型归零神经网络控制算法来求解四轮移动机械臂的轨迹跟踪问题,解决在外部噪声干扰的情况下移动机械臂的控制问题,通过仿真实验来验证该算法的有效性。The invention proposes an anti-noise return-to-zero neural network algorithm to deal with the trajectory tracking problem of a four-wheel mobile mechanical arm. The characteristic is that the traditional mobile manipulator control requires the establishment of a dynamic model of the system, and the need to control the mobile platform and each joint manipulator separately. The complex dynamic modeling integrates the two into a system through spatial coordinate transformation to realize the coordinated control of the mobile manipulator. The invention designs an anti-noise return-to-zero neural network control algorithm to solve the trajectory tracking problem of the four-wheel mobile manipulator, solves the control problem of the mobile manipulator in the case of external noise interference, and verifies the algorithm through simulation experiments. effectiveness.
附图说明Description of drawings
图1为抑制外部时变扰动的抗噪型归零神经网络模型示意图;Figure 1 is a schematic diagram of an anti-noise zeroing neural network model for suppressing external time-varying disturbances;
图2为本发明所述基于抗噪型归零神经网络模型控制四轮移动机械臂末端执行器的轨迹跟踪图像;Fig. 2 is the trajectory tracking image of controlling the end effector of the four-wheel mobile manipulator based on the anti-noise type zeroing neural network model according to the present invention;
图3为本发明所述基于抗噪型归零神经网络模型控制四轮移动机械臂末端执行器跟踪期望轨迹的俯视图;Fig. 3 is the top view of controlling the end effector of the four-wheel mobile manipulator to track the desired trajectory based on the anti-noise return-to-zero neural network model according to the present invention;
图4为本发明所述基于抗噪型归零神经网络模型控制四轮移动机械臂末端执行器跟踪期望轨迹的误差图像;FIG. 4 is an error image of controlling the end effector of a four-wheeled mobile manipulator to track a desired trajectory based on an anti-noise return-to-zero neural network model according to the present invention;
图5为本发明所述基于抗噪型归零神经网络模型控制四轮移动机械臂末端执行器跟踪期望轨迹的误差变化率图像;FIG. 5 is an image of the error rate of change for controlling the end-effector of a four-wheeled mobile manipulator to track a desired trajectory based on an anti-noise return-to-zero neural network model according to the present invention;
图6为本发明所述基于抗噪型归零神经网络模型控制四轮移动机械臂末端执行器跟踪期望轨迹各机械臂角度变化图像;6 is an image of the angle change of each manipulator arm based on the anti-noise return-to-zero neural network model for controlling the end effector of the four-wheel mobile manipulator to track the desired trajectory according to the present invention;
图7为本发明所述基于抗噪型归零神经网络模型控制四轮移动机械臂末端执行器跟踪期望轨迹的各机械臂角速度变化图像;7 is an image of the angular velocity change of each manipulator in which the end effector of a four-wheeled mobile manipulator is controlled to track a desired trajectory based on an anti-noise return-to-zero neural network model according to the present invention;
图8为本发明所述基于抗噪型归零神经网络模型控制四轮移动机械臂末端执行器跟踪期望轨迹各车轮转动角度变化图像;FIG. 8 is an image of the rotation angle change of each wheel based on the anti-noise return-to-zero neural network model to control the end effector of the four-wheel mobile manipulator to track the desired trajectory according to the present invention;
图9为本发明所述基于抗噪型归零神经网络模型控制四轮移动机械臂末端执行器跟踪期望轨迹各车轮角速度变化图像。FIG. 9 is an image of the angular velocity variation of each wheel of the four-wheel mobile manipulator to track the desired trajectory based on the anti-noise return-to-zero neural network model according to the present invention.
具体实施方式Detailed ways
本发明公开了一种抗噪型归零神经网络的四轮移动机械臂轨迹跟踪控制方法,所述方法具体如下:The invention discloses a four-wheel mobile manipulator trajectory tracking control method of an anti-noise type zeroing neural network. The method is specifically as follows:
S1:采集四轮移动机械臂四个车轮的初始角度数据以及四自由度机械臂的初始角度数据;S1: Collect the initial angle data of the four wheels of the four-wheel mobile manipulator and the initial angle data of the four-degree-of-freedom manipulator;
S2:根据设计者需求,同时在四轮移动机械臂的可达空间范围内给定期望轨迹方程;S2: According to the needs of the designer, the desired trajectory equation is given within the reachable space of the four-wheel mobile manipulator at the same time;
S3:通过空间坐标变换得到基坐标系下的四自由度机械臂的运动学方程,并且对移动平台的运动特性进行分析得到运动学方程,结合上述两者的运动学模型,通过坐标变换得到基于世界坐标系下的移动机械臂的整体运动学方程;S3: The kinematic equation of the four-degree-of-freedom manipulator in the base coordinate system is obtained through spatial coordinate transformation, and the kinematic equation is obtained by analyzing the kinematic characteristics of the mobile platform. The overall kinematics equation of the mobile manipulator in the world coordinate system;
S4:为了处理移动机械臂的轨迹跟踪问题,设计期望轨迹函数与实际轨迹函数之间的差值作为向量型误差函数,设计抗噪型归零神经网络模型控制器;S4: In order to deal with the trajectory tracking problem of the mobile manipulator, the difference between the expected trajectory function and the actual trajectory function is designed as a vector-type error function, and an anti-noise zeroing neural network model controller is designed;
S5:基于步骤4中的神经动力学方程求解的参数,通过电机控制移动机械臂完成轨迹跟踪任务。S5: Based on the parameters solved by the neural dynamics equation in
步骤S1具体过程为:The specific process of step S1 is:
本次实验中需要参考四轮移动机械臂的硬件参数,通过米尺测量移动平台的高度,以及断电情况下测量各机械臂的工作范围,在硬件官网上面查阅每个关节的最大转动速度。其中各关节的参数如下表:In this experiment, it is necessary to refer to the hardware parameters of the four-wheel mobile manipulator, measure the height of the mobile platform with a meter ruler, and measure the working range of each manipulator under the condition of power failure, and check the maximum rotation speed of each joint on the hardware official website. The parameters of each joint are as follows:
步骤S2具体过程为:The specific process of step S2 is:
根据步骤S1中的测量值设计四轮移动机械臂末端执行器的期望轨迹,保证其不超过移动机械臂各关节的可达范围。其中期望轨迹函数表达式如下:According to the measured values in step S1, the desired trajectory of the end effector of the four-wheel mobile manipulator is designed to ensure that it does not exceed the reachable range of each joint of the mobile manipulator. The expected trajectory function expression is as follows:
rxd=0.2×cos(0.1×t)r xd =0.2×cos(0.1×t)
ryd=0.2×sin(0.2×t)r yd = 0.2×sin(0.2×t)
rzd=0.3×ones(1,size(t,2))r zd = 0.3×ones(1, size(t, 2))
步骤S3具体过程为:The specific process of step S3 is:
S301:为了描述四轮移动机械臂各连杆的相对位置以及方向关系,需要根据机械臂的关节结构在每一个连杆上面建立一个坐标系。利用D-H关节坐标系建立原则,连杆坐标系{i}相对于{i-1}的齐次变换i-1Ti称为连杆变换,其中设计到轴转角αi-1、连杆长度ai-1、连杆偏距di、关节变量θi,因此可以分解为坐标系{i}的子变换问题,每个子变换都只依赖一个连杆参数,则有:S301: In order to describe the relative position and direction relationship of each link of the four-wheel moving mechanical arm, a coordinate system needs to be established on each link according to the joint structure of the mechanical arm. Using the principle of establishing the DH joint coordinate system, the homogeneous transformation i-1 T i of the connecting rod coordinate system {i} relative to {i-1} is called the connecting rod transformation, in which the shaft rotation angle α i-1 and the connecting rod length are designed a i-1 , link offset distance d i , joint variable θ i , so it can be decomposed into sub-transformation problems of coordinate system {i}, each sub-transformation only depends on one link parameter, there are:
i-1Ti=Rot(x,αi-1)Trans(x,ai-1)Rot(z,θi)Trans(z,di) i-1 T i =Rot(x,α i-1 )Trans(x,a i-1 )Rot(z,θ i )Trans(z,d i )
相连连杆间的变换通式:The general transformation formula between the connected connecting rods:
通过坐标变换得到基于基坐标系得机械臂运动学方程:The kinematic equation of the manipulator based on the base coordinate system is obtained by coordinate transformation:
其中,c1=cosθ1,s1=sinθ1,c23=cos(θ2+θ3),s23=sin(θ2+θ3)Wherein, c 1 =cosθ 1 , s 1 =sinθ 1 , c 23 =cos(θ 2 +θ 3 ), s 23 =sin(θ 2 +θ 3 )
S302:移动平台选择麦克纳姆轮作为驱动轮,动力方面采用四轮全驱的方式。将移动平台的麦克纳姆轮底盘运动学分解为三个独立变量来描述;首先计算出每个轮子的轴心位置的速度;根据第一步的结果计算轮子与地面接触的辊子的速度;根据第二步的结果,计算出轮子的实际转速,得到四轮全向运动学模型的反解:S302: The mobile platform chooses Mecanum wheel as the driving wheel, and adopts four-wheel all-wheel drive in terms of power. The kinematics of the Mecanum wheel chassis of the mobile platform is decomposed into three independent variables to describe; first calculate the speed of the axis position of each wheel; As a result of the second step, the actual speed of the wheel is calculated, and the inverse solution of the four-wheel omnidirectional kinematics model is obtained:
进而可以推导出四轮全向底盘的运动学正解:Then the positive kinematics solution of the four-wheel omnidirectional chassis can be derived:
其中,表示X轴运动的方向,即左右方向,定义向右为正,表示Y轴运动的方向,即前后方向,定义向前为正,ω表示yaw轴自转的角速度,定义逆时针为正,这几个量都是四个轮子的几何中心(矩形的对角线)的速度。vω1vω2vω3vω4表示每个车轮的速度。in, Indicates the direction of X-axis movement, that is, the left and right direction, which is defined as positive to the right, Indicates the direction of movement of the Y-axis, that is, the front and rear direction, which is defined as positive forward, ω represents the angular velocity of the yaw axis rotation, and is defined as positive counterclockwise. These quantities are the geometric centers of the four wheels (diagonals of the rectangle) speed. v ω1 v ω2 v ω3 v ω4 represents the speed of each wheel.
S303:通过采用基底坐标系到世界坐标系的变换矩阵,可以得到移动机械臂在世界坐标系下的整体运动学方程:S303: By using the transformation matrix from the base coordinate system to the world coordinate system, the overall kinematics equation of the mobile manipulator in the world coordinate system can be obtained:
将上述公式对时间t进行微分,得到以下整体运动学方程:Differentiating the above formula with time t yields the following overall kinematic equation:
其中,雅可比矩阵ν=[θΤ,ω]Τ Among them, the Jacobian matrix ν=[θ Τ ,ω] Τ
最终整理成以下简化的运动学方程:It is finally sorted into the following simplified kinematic equations:
其中,q=[v,θΤ]Τ,表示移动机械臂的角度矢量,包括移动平台车轮的转动角度和机械臂各关节的转动角度。Among them, q=[v, θ Τ ] Τ , represents the angle vector of the mobile manipulator, including the rotation angle of the wheel of the mobile platform and the rotation angle of each joint of the manipulator.
步骤S4具体过程为:The specific process of step S4 is:
在实际应用中,四轮移动机械臂在运行过程中存在多种类型的扰动,提出一种抗噪型归零神经网络模型及其相关模型,为了监控移动机械臂逆运动学问题求解过程,定义向量型误差函数:In practical applications, there are many types of disturbances during the operation of the four-wheeled mobile manipulator. An anti-noise zeroing neural network model and related models are proposed. In order to monitor the process of solving the inverse kinematics problem of the mobile manipulator, the definition Vector error function:
e(t)=zd(t)-z(t)e(t)=z d (t)-z(t)
其中,zd(t)和z(t)分别表示移动机械臂的期望轨迹和实际运行轨迹。Among them, z d (t) and z (t) represent the expected trajectory and the actual running trajectory of the mobile manipulator, respectively.
为了求得时变逆运动学的精确解,要求误差函数的每一项都趋近于零,抗噪型归零神经网络动力学方程如下:In order to obtain the exact solution of the time-varying inverse kinematics, each term of the error function is required to be close to zero. The dynamic equation of the anti-noise zeroing neural network is as follows:
其中,ψ(·)表示该神经网络的激活函数,选择简单的线性激活函数ψ(e(t))=e(t),γ>0,λ>0为可调参数,改变系统的收敛速度。在动力学方程中引入积分项来消除噪声。Among them, ψ( ) represents the activation function of the neural network, choose a simple linear activation function ψ(e(t))=e(t), γ>0, λ>0 are adjustable parameters to change the convergence speed of the system . Introduce an integral term in the kinetic equation to remove noise.
联立整体运动学方程与抗噪归零神经网络动力学方程,具有外部扰动的抗噪型归零神经网络模型如下:Simultaneous overall kinematics equation and anti-noise zeroing neural network dynamic equation, the anti-noise zeroing neural network model with external disturbance is as follows:
其中,η是噪声干扰项,在实际移动机器人运行过程中,总是存在影响机器人正常工作的外部干扰。例如,恒定的外力;瞬态衰减的外力等。Among them, η is the noise interference term. During the actual operation of the mobile robot, there is always external interference that affects the normal operation of the robot. For example, constant external force; transient decaying external force, etc.
图1(见附图)给出神经动力学的组成与基本原理。基于时间导数信息、神经网络激活函数和积分项的抗噪型归零神经网络算法可以有效的求解外部扰动的四轮移动机械臂的时变逆运动学方程。该模型可以看成经典控制理论中典型的闭环控制系统,当作广义的比例—积分—微分控制器组成的控制器系统。Figure 1 (see accompanying drawing) presents the composition and basic principles of neural dynamics. The anti-noise zeroing neural network algorithm based on time derivative information, neural network activation function and integral term can effectively solve the time-varying inverse kinematics equation of the externally disturbed four-wheel mobile manipulator. This model can be regarded as a typical closed-loop control system in classical control theory, and as a controller system composed of a generalized proportional-integral-derivative controller.
步骤S5具体过程为:The specific process of step S5 is:
通过上述的动力学方程求解出四轮移动机械臂在跟踪期望轨迹过程中移动平台车轮车速以及每个关节转动的角度,得到的参数可以作用到每个电机来调节各个关节进行轨迹跟踪。Through the above dynamic equations, the speed of the wheels of the mobile platform and the rotation angle of each joint can be obtained in the process of tracking the desired trajectory of the four-wheel mobile manipulator. The obtained parameters can be applied to each motor to adjust each joint for trajectory tracking.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110700910.0A CN113341728B (en) | 2021-06-21 | 2021-06-21 | Anti-noise type return-to-zero neural network four-wheel mobile mechanical arm trajectory tracking control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110700910.0A CN113341728B (en) | 2021-06-21 | 2021-06-21 | Anti-noise type return-to-zero neural network four-wheel mobile mechanical arm trajectory tracking control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113341728A CN113341728A (en) | 2021-09-03 |
CN113341728B true CN113341728B (en) | 2022-10-21 |
Family
ID=77478008
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110700910.0A Active CN113341728B (en) | 2021-06-21 | 2021-06-21 | Anti-noise type return-to-zero neural network four-wheel mobile mechanical arm trajectory tracking control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113341728B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113787502B (en) * | 2021-09-28 | 2023-02-07 | 千翼蓝犀智能制造科技(广州)有限公司 | A state adjustment method for three-wheeled omnidirectional mobile robot based on neural dynamics |
CN113985738A (en) * | 2021-11-02 | 2022-01-28 | 长春工业大学 | Gradient Neural Network Collaborative Control of Repeated Motion of an Omnidirectional Four-Wheel Mobile Manipulator with Non-convex Constraints |
CN114700959B (en) * | 2021-12-01 | 2024-01-30 | 宁波慈溪生物医学工程研究所 | Mechanical arm mirror image impedance control method and mirror image mechanical arm equipment |
CN114147719B (en) * | 2021-12-10 | 2023-06-23 | 扬州大学 | Manipulator tracking control method and system based on direct discrete recurrent neural network |
CN114721273B (en) * | 2022-04-22 | 2024-04-12 | 湖南师范大学 | Multi-agent formation control method for fixed-time convergence zero-change neural network |
CN115107032B (en) * | 2022-07-15 | 2024-04-05 | 海南大学 | A pseudo-inverse and adaptive noise-resistant motion planning method for mobile manipulators |
CN116276999A (en) * | 2023-03-16 | 2023-06-23 | 长春工业大学 | Anti-noise type neural network track tracking control for mobile arm joint angle constraint |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399493A (en) * | 2013-08-07 | 2013-11-20 | 长春工业大学 | Real-time diagnosis and tolerant system for sensor faults of reconfigurable mechanical arm and method thereof |
CN103712894A (en) * | 2012-10-09 | 2014-04-09 | 梁波 | Viscosity reducer performance test method |
CN104076685A (en) * | 2014-05-20 | 2014-10-01 | 大连大学 | Space manipulator path planning method for reducing base attitude disturbance |
CN110000780A (en) * | 2019-03-31 | 2019-07-12 | 华南理工大学 | A kind of Runge Kutta type circadian rhythm neural network method that can resist periodic noise |
CN111037550A (en) * | 2019-12-03 | 2020-04-21 | 华南理工大学 | Solution method for motion control of redundant manipulator |
CN112297013A (en) * | 2020-11-11 | 2021-02-02 | 浙江大学 | Robot intelligent grabbing method based on digital twin and deep neural network |
CN112540671A (en) * | 2019-09-20 | 2021-03-23 | 辉达公司 | Remote operation of a vision-based smart robotic system |
CN112706165A (en) * | 2020-12-22 | 2021-04-27 | 中山大学 | Tracking control method and system for wheel type mobile mechanical arm |
-
2021
- 2021-06-21 CN CN202110700910.0A patent/CN113341728B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103712894A (en) * | 2012-10-09 | 2014-04-09 | 梁波 | Viscosity reducer performance test method |
CN103399493A (en) * | 2013-08-07 | 2013-11-20 | 长春工业大学 | Real-time diagnosis and tolerant system for sensor faults of reconfigurable mechanical arm and method thereof |
CN104076685A (en) * | 2014-05-20 | 2014-10-01 | 大连大学 | Space manipulator path planning method for reducing base attitude disturbance |
CN110000780A (en) * | 2019-03-31 | 2019-07-12 | 华南理工大学 | A kind of Runge Kutta type circadian rhythm neural network method that can resist periodic noise |
CN112540671A (en) * | 2019-09-20 | 2021-03-23 | 辉达公司 | Remote operation of a vision-based smart robotic system |
CN111037550A (en) * | 2019-12-03 | 2020-04-21 | 华南理工大学 | Solution method for motion control of redundant manipulator |
CN112297013A (en) * | 2020-11-11 | 2021-02-02 | 浙江大学 | Robot intelligent grabbing method based on digital twin and deep neural network |
CN112706165A (en) * | 2020-12-22 | 2021-04-27 | 中山大学 | Tracking control method and system for wheel type mobile mechanical arm |
Non-Patent Citations (9)
Title |
---|
Design and Application of A Robust Zeroing Neural Network to Kinematical Resolution of Redundant Manipulators Under Various External Disturbances;Linxiao etal;《Neurocomputing》;20201231;第174-183页 * |
Long Jin ; Shuai Li ; Xin Luo ; Ming-sheng Shang.Nonlinearly-activated noise-tolerant zeroing neural network for distributed motion planning of multiple robot arms.《2017 International Joint Conference on Neural Networks (IJCNN)》.2017, * |
Tianjiao An ; Jingchen Chen ; Xinye Zhu ; Yuanchun Li ; Keping Liu ; Bo Do.Critic Only Policy Iteration-based Zero-sum Neurooptimal Control of Modular and Reconfigurable Robots with uncertain disturbance via Adaptive Dynamic Programming.《2020 12th International Conference on Advanced Computational Intelligence (ICACI)》.2020, * |
Yanpeng Zhou ; Keping Liu ; Chunxu Li ; Gang Wang ; Yongbai Liu ; Zho.A Gradient Neural Network for online Solving the Time-varying Inverse Kinematics Problem of Four-wheel Mobile Robotic Arm.《2021 IEEE 10th Data Driven Control and Learning Systems Conference (DDCLS)》.2021, * |
Zhongbo Sun ; Yongbai Liu ; Lin Wei ; Keping Liu ; Long Jin ; Luquan Ren.Two DTZNN Models of O(τ4) Pattern for Online Solving Dynamic System of Linear Equations: Application to Manipulator Motion Generation.《IEEE Access》.2020, * |
五步离散归零神经网络算法求解时变二次规划问题;张韵等;《长春工业大学学报》;20201031;第442-446页 * |
可重构机械臂的快速指数稳定性分析与最优控制方法研究;李岩;《中国优秀博硕士学位论文全文数据库(博士)信息科技辑》;20210115;第I140-167页 * |
基于Zeroing Neural Network的机械臂轨迹跟踪与控制方法研究;张韵;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;20210115;第I140-208页 * |
基于肢体协调运动的下肢康复机器人交互控制方法研究;李锋;《中国优秀博硕士学位论文全文数据库(硕士)医药卫生科技辑》;20210115;第E060-839页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113341728A (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113341728B (en) | Anti-noise type return-to-zero neural network four-wheel mobile mechanical arm trajectory tracking control method | |
CN112487569B (en) | A solution method for a mobile working robot to reach the workspace at a fixed time | |
Korayem et al. | Maximum load-carrying capacity of autonomous mobile manipulator in an environment with obstacle considering tip over stability | |
CN108621162A (en) | A kind of manipulator motion planning method | |
CN114800528A (en) | Mobile manipulator repetitive motion planning for non-convex anti-noise type return-to-zero neural network | |
CN112405536B (en) | High-precision constant force control method combining off-line compensation and on-line tracking hybrid strategy | |
CN105234930B (en) | Control method of motion of redundant mechanical arm based on configuration plane | |
CN113985738A (en) | Gradient Neural Network Collaborative Control of Repeated Motion of an Omnidirectional Four-Wheel Mobile Manipulator with Non-convex Constraints | |
CN116330267A (en) | A control method based on singular point calculation of industrial robot wrist | |
CN115291514A (en) | Two-dimensional stable movement control method of multi-degree-of-freedom wheeled inverted pendulum type robot | |
Han et al. | A modeling and simulation based on the multibody dynamics for an autonomous agricultural robot | |
CN112001087B (en) | Nonlinear dynamics modeling analysis method for rotary joint type industrial robot | |
CN110450165B (en) | A Robot Calibration Method Based on Zero-Force Control | |
Zhu et al. | Kinematic modeling and hybrid motion planning for wheeled-legged rovers to traverse challenging terrains | |
CN114296454B (en) | Self-adaptive motion control method and system for omnidirectional full-drive mobile robot | |
CN116985114A (en) | Robot control method and robot | |
Mei et al. | Modeling and adaptive torque computed control of industrial robot based on lie algebra | |
Khlif et al. | Mobile robot modelling and design of kinematic controller for trajectory tracking | |
CN116276999A (en) | Anti-noise type neural network track tracking control for mobile arm joint angle constraint | |
Chen et al. | Kinematics Analysis and Simulation of Mobile Robot Based on Linkage Suspension | |
Chen et al. | Design and motion analysis of a mobile robot based on linkage suspension | |
CN117182912A (en) | Barrier avoidance control method for dual neural network of omnidirectional mobile manipulator | |
CN117075525B (en) | Mobile robot control method based on constraint model predictive control | |
CN117055361B (en) | Mobile robot control method based on sliding mode model predictive control | |
Han et al. | Gait planning and simulation analysis of a new amphibious quadruped robots |
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 |