[go: up one dir, main page]

CN104651909B - Synchronous coordinated control method of series-parallel automobile electrophoretic painting conveying mechanism - Google Patents

Synchronous coordinated control method of series-parallel automobile electrophoretic painting conveying mechanism Download PDF

Info

Publication number
CN104651909B
CN104651909B CN201510044715.1A CN201510044715A CN104651909B CN 104651909 B CN104651909 B CN 104651909B CN 201510044715 A CN201510044715 A CN 201510044715A CN 104651909 B CN104651909 B CN 104651909B
Authority
CN
China
Prior art keywords
conveying mechanism
synchronous
unit
error
connecting rod
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.)
Expired - Fee Related
Application number
CN201510044715.1A
Other languages
Chinese (zh)
Other versions
CN104651909A (en
Inventor
高国琴
吴欣桐
方志明
牛雪梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu University
Original Assignee
Jiangsu 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 Jiangsu University filed Critical Jiangsu University
Priority to CN201510044715.1A priority Critical patent/CN104651909B/en
Publication of CN104651909A publication Critical patent/CN104651909A/en
Application granted granted Critical
Publication of CN104651909B publication Critical patent/CN104651909B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Application Of Or Painting With Fluid Materials (AREA)
  • Coating Apparatus (AREA)
  • Spray Control Apparatus (AREA)
  • Manipulator (AREA)

Abstract

本发明公开了一种混联式汽车电泳涂装输送机构的同步协调控制方法,先以该混联式汽车电泳涂装输送机构为被控对象,建立输送机构在笛卡尔空间内的动力学模型,并根据输送机构的控制要求,采用分布式结构建立输送机构的同步协调控制硬件系统,再针对该输送机构升降翻转机构的结构特点及其运动特点,提出一种同步误差,将该同步误差与滑模控制相结合,进一步设计一种基于滑模控制的动力学同步协调控制律,最后,通过VC++进行软件编程,实现该混联式汽车电泳涂装输送机构的同步协调控制,本发明不仅能使系统具有较高的跟踪精度和较快的响应速度,而且能实现各关节及两边机构间的同步,从而提高了输送机构的同步协调运动控制性能。

The invention discloses a synchronous and coordinated control method for a hybrid automobile electrophoretic coating conveying mechanism. First, the hybrid automobile electrophoretic coating conveying mechanism is used as a controlled object to establish a dynamic model of the conveying mechanism in a Cartesian space , and according to the control requirements of the conveying mechanism, a distributed structure is used to establish the synchronous coordination control hardware system of the conveying mechanism, and then according to the structural characteristics and motion characteristics of the lifting and turning mechanism of the conveying mechanism, a synchronization error is proposed, and the synchronization error is compared with Sliding mode control is combined to further design a dynamic synchronous coordination control law based on sliding mode control. Finally, software programming is carried out by VC++ to realize the synchronous coordination control of the hybrid automobile electrophoretic coating delivery mechanism. The present invention can not only The system has high tracking precision and fast response speed, and can realize the synchronization between each joint and the mechanisms on both sides, thereby improving the synchronous and coordinated motion control performance of the conveying mechanism.

Description

一种混联式汽车电泳涂装输送机构的同步协调控制方法A synchronous and coordinated control method for a hybrid automobile electrophoretic coating conveying mechanism

技术领域technical field

本发明涉及汽车电泳涂装技术领域,尤其涉及一种混联式汽车电泳涂装输送机构同步协调控制方法。The invention relates to the technical field of automobile electrophoretic coating, in particular to a synchronous and coordinated control method for a hybrid automobile electrophoretic coating conveying mechanism.

背景技术Background technique

针对一种混联式汽车电泳涂装输送机构,见图1,该机构存在多个执行机构,各执行机构间的同步协调性直接影响系统的整体性能。For a hybrid automobile electrophoretic coating conveying mechanism, see Figure 1. There are multiple actuators in this mechanism, and the synchronization and coordination among the actuators directly affect the overall performance of the system.

文献《平面二自由度冗余并联机器人同步控制》(米建伟等,机械科学与技术.2011年2月,第30卷第2期,第279-282+285页)将交叉耦合控制技术与PD控制技术相结合得到同步控制方案,并用该方法实现对平面二自由度冗余并联机器人的运动控制,其特点是:采用同步误差,抑制因取常数矩阵带来的模型不确定性对系统的影响,并保证各个控制关节同步。The document "Synchronous Control of Planar Two-DOF Redundant Parallel Robots" (Mi Jianwei et al., Mechanical Science and Technology. February 2011, Volume 30, Issue 2, Pages 279-282+285) combines cross-coupling control technology with Combined with PD control technology, a synchronous control scheme is obtained, and this method is used to realize the motion control of the planar two-degree-of-freedom redundant parallel robot. influence, and ensure the synchronization of each control joint.

文献《机器人灵巧手基关节交叉耦合同步控制》(兰天等,机器人。2010年3月,第32卷第2期,第150-156+165页)提出了包含同步误差和位置反馈项及平滑鲁棒非线性反馈补偿项的交叉耦合同步控制策略,并将该方案用于DLR/HITⅡ五指机器人灵巧手手指基关节的运动控制,以实现两驱动电机间的同步协调运动。The document "Cross-Coupled Synchronous Control of Robotic Hand Base Joints" (Lan Tian et al., Robotics. March 2010, Vol. 32, No. 2, Pages 150-156+165) proposed to include synchronization error and position feedback items and smoothing A cross-coupling synchronous control strategy for robust nonlinear feedback compensation items is proposed, and this scheme is applied to the motion control of the base joints of the dexterous hand of the DLR/HITⅡ five-fingered robot to achieve synchronous and coordinated motion between the two drive motors.

但上述相关控制技术,都是将交叉耦合控制技术与传统PD控制技术相结合,它们均需要系统精确的模型信息且全部状态可测,由于混联式汽车电泳涂装输送机构是一个具有强耦合性、非线性动态和参数不确定特征的多输入多输出系统,其动力学参数难以准确获取,如质心位置以及随机构运动而变化的惯性力矩等,若采用上述技术,将难以获得较好的控制效果;此外,上述相关控制技术所提出的同步误差都是基于常规同步误差定义,在混联式汽车电泳涂装输送机构中,两组并联式升降翻转机构间通过连接杆相连,连接杆上安放车体固定架及车身,若采用传统常规同步误差的设定方式,将只能考虑两边机构中主动关节间的同步误差,连接杆两端的同步误差将不可消除。因此上述方法不适用于本发明涉及的混联式汽车电泳涂装输送机构,或应用于该输送机构后难以获得较好的控制效果。However, the above-mentioned related control technologies all combine the cross-coupling control technology with the traditional PD control technology. They all require accurate model information of the system and all states can be measured. It is difficult to obtain the dynamic parameters of the multi-input multi-output system with characteristics of non-linearity, nonlinear dynamics and uncertain parameters, such as the position of the center of mass and the moment of inertia that changes with the movement of the mechanism. If the above technology is used, it will be difficult to obtain better control effect; in addition, the synchronization errors proposed by the above-mentioned related control technologies are all based on the definition of conventional synchronization errors. When placing the vehicle body fixing frame and the vehicle body, if the traditional conventional synchronization error setting method is used, only the synchronization error between the active joints in the mechanisms on both sides will be considered, and the synchronization error at both ends of the connecting rod will not be eliminated. Therefore, the above method is not suitable for the hybrid automobile electrophoretic coating conveying mechanism involved in the present invention, or it is difficult to obtain a better control effect after being applied to the conveying mechanism.

发明内容Contents of the invention

本发明的目的是为克服上述现有技术的不足,提出一种同步误差,并在此基础上,提出一种基于滑模控制的动力学同步协调控制方法,该方法既考虑了主动关节之间的同步误差,又考虑了机构连接杆两端的同步误差,同时将交叉耦合控制技术与滑模控制技术相结合,不仅能实现输送机构各主动关节间以及两边机构间的同步控制,提高混联式汽车电泳涂装输送机构的同步协调性,而且能在不需要系统精确模型和系统全部状态的情况下有效解决混联式汽车电泳涂装输送机构控制系统存在的不确定性问题。The purpose of the present invention is to overcome the deficiencies of the prior art above, to propose a synchronization error, and on this basis, to propose a dynamic synchronization coordination control method based on sliding mode control. The synchronous error between the two ends of the connecting rod of the mechanism is considered, and the combination of the cross-coupling control technology and the sliding mode control technology can not only realize the synchronous control between the active joints of the conveying mechanism and the mechanisms on both sides, but also improve the efficiency of the hybrid type. The synchronous coordination of the automobile electrophoretic coating conveying mechanism can effectively solve the uncertainty problem existing in the control system of the hybrid automobile electrophoretic coating conveying mechanism without the need for an accurate model of the system and the entire state of the system.

一种混联式汽车电泳涂装输送机构的同步协调控制方法,包括如下步骤:A synchronous and coordinated control method for a hybrid automobile electrophoretic coating conveying mechanism, comprising the following steps:

1)以混联式汽车电泳涂装输送机构为被控对象,以被输送汽车车身为负载,采用解析法对输送机构进行运动学逆解,求得机构的雅克比矩阵;1) Taking the hybrid automobile electrophoretic coating conveying mechanism as the controlled object and the conveyed automobile body as the load, the kinematic inverse solution of the conveying mechanism is carried out by analytical method, and the Jacobian matrix of the mechanism is obtained;

2)采用拉格朗日法建立输送机构在笛卡尔空间内的动力学模型;2) The dynamic model of the conveying mechanism in the Cartesian space is established by using the Lagrangian method;

3)采用分布式结构建立输送机构同步协调控制硬件系统;3) A distributed structure is adopted to establish a synchronous coordination control hardware system of the conveying mechanism;

4)针对混联式汽车电泳涂装输送机构升降翻转机构的结构特点及其运动特点,提出一种同步误差;4) According to the structural characteristics and motion characteristics of the lifting and turning mechanism of the hybrid automobile electrophoretic coating conveying mechanism, a synchronization error is proposed;

5)将同步误差与滑模控制相结合,设计一种基于滑模控制的动力学同步协调控制律;5) Combining synchronous error with sliding mode control, design a dynamic synchronous coordination control law based on sliding mode control;

6)通过VC++进行软件编程,实现混联式汽车电泳涂装输送机构的同步协调控制。6) Software programming is carried out through VC++ to realize the synchronous coordination control of the hybrid automobile electrophoretic coating conveying mechanism.

进一步,所述步骤1)中,采用基于符号运算的微分变换法求解升降翻转机构的雅克比矩阵,得:Further, in the step 1), the Jacobian matrix of the lifting and flipping mechanism is solved by using the differential transformation method based on symbolic operation to obtain:

式中,J为雅克比矩阵;z为连接杆中点在静坐标系下的z轴位置单位为m;L1为第一连杆的长度;r2、r1分别为主动轮半径和从动轮半径。In the formula, J is the Jacobian matrix; z is the z-axis position of the middle point of the connecting rod in the static coordinate system, and the unit is m; L 1 is the length of the first connecting rod; r 2 and r 1 are the radius of the driving wheel and the Wheel radius.

进一步,所述步骤2)中,采用拉格朗日法求得输送机构在笛卡尔空间内的动力学模型为:Further, in said step 2), adopt Lagrange method to obtain the dynamic model of conveying mechanism in Cartesian space as:

式中,q=(z,β)T是输出位姿向量;是输出速度向量;是输出加速度向量;M(q)为惯性矩阵;为哥氏力和离心力项;G(q)为重力项;D(t)为摩擦力项,单位为N;F(t)为外界干扰项,单位为N。In the formula, q=(z,β) T is the output pose vector; is the output velocity vector; is the output acceleration vector; M(q) is the inertia matrix; G(q) is the gravity item; D(t) is the friction item, the unit is N; F(t) is the external disturbance item, the unit is N.

进一步,所述步骤3)的输送机构同步协调控制硬件系统,以UMAC多轴运动控制器为核心控制单元,UMAC的CPU板TURBO PAMC2CPU模块通过以太网网口协议实现与上位机IPC的人机交互界面通讯,UMAC多轴运动控制器轴通道扩展卡ACC-24E2A与底层伺服驱动器通过差分形式进行通讯。Further, the conveying mechanism synchronous coordination control hardware system of the step 3) takes the UMAC multi-axis motion controller as the core control unit, and the CPU board TURBO PAMC2CPU module of the UMAC realizes the human-computer interaction with the upper computer IPC through the Ethernet network port protocol Interface communication, UMAC multi-axis motion controller axis channel expansion card ACC-24E2A communicates with the underlying servo drive through differential forms.

进一步,所述步骤4)中提出一种同步误差为:式中, 是z方向上的同步误差,单位为m,是绕y轴逆时针转动的同步误差,单位为rad;λ是对角正定耦合参数矩阵;e(t)=(ez(t),eβ(t))T为连接杆中点的位置误差,ez(t)为连接杆中点在z方向的位置误差,单位为m,eβ(t)为连接杆中点绕y轴逆时针转动角度的误差,单位为rad;ε(t)=(εz(t),εβ(t))T为连接杆两端的同步误差,εz(t)是在z方向上的同步误差,单位为m,εβ(t)为绕y轴方向逆时针转动的角度的同步误差,单位为rad。Further, in said step 4), a kind of synchronization error is proposed as: In the formula, is the synchronization error in the z direction, in m, is the synchronization error of counterclockwise rotation around the y-axis, in rad; λ is the diagonal positive definite coupling parameter matrix; e(t)=(e z (t),e β (t)) T is the position of the midpoint of the connecting rod Error, e z (t) is the position error of the midpoint of the connecting rod in the z direction, the unit is m, e β (t) is the error of the counterclockwise rotation angle of the midpoint of the connecting rod around the y axis, the unit is rad; ε(t )=(ε z (t),ε β (t)) T is the synchronization error at both ends of the connecting rod, ε z (t) is the synchronization error in the z direction, the unit is m, ε β (t) is the Synchronization error of the angle of counterclockwise rotation of the axis direction, in rad.

进一步,所述步骤5)中将同步误差与滑模控制相结合,首先设计滑模面为:Further, in the step 5), the synchronous error is combined with the sliding mode control, and the sliding mode surface is first designed as:

设计基于滑模控制的动力学同步协调控制律为:The dynamic synchronous coordination control law based on sliding mode control is designed as:

通过上式确定各主动关节所需的驱动力或驱动力矩;式中: 是z方向上的同步误差,单位为m,是绕y轴逆时针转动的同步误差,单位为rad;J为雅克比矩阵;M(q)为惯性矩阵;为哥氏力和离心力项;G(q)为重力项;D(t)为摩擦力项,单位为N;F(t)为外界干扰项,单位为N;τ为主动关节所需的驱动力,单位为N;B=diag(b1,b2),且B可逆,b1,b2均为可调参数并满足霍尔伍兹稳定条件;为连接杆两端的速度同步误差,是在z方向上的速度同步误差,单位为m/s,为绕y轴方向逆时针转动的角度的同步速度误差,单位为rad/s;K=diag(k1,k2…ki),ki>0,常数矩阵K表示系统的运动点趋近切换面S=0的速率;sgn(S)为符号函数;为连接杆中点的期望加速度,为z方向的加速度,单位为m/s2为绕y轴逆时针转动角度的加速度,单位为rad/m2为连接杆中点的实际速度Determine the driving force or driving torque required by each active joint through the above formula; where: is the synchronization error in the z direction, in m, is the synchronization error of anticlockwise rotation around the y-axis, in rad; J is the Jacobian matrix; M(q) is the inertia matrix; is the item of Coriolis force and centrifugal force; G(q) is the gravity item; D(t) is the friction item, the unit is N; F(t) is the external disturbance item, the unit is N; τ is the drive required by the active joint Force, unit is N; B=diag(b 1 ,b 2 ), and B is reversible, b 1 , b 2 are adjustable parameters and satisfy the Holwoods stability condition; is the speed synchronization error at both ends of the connecting rod, is the speed synchronization error in the z direction, the unit is m/s, is the synchronous speed error of the angle of counterclockwise rotation around the y-axis, the unit is rad/s; K=diag(k 1 ,k 2 …k i ), k i >0, the constant matrix K indicates that the moving point of the system is approaching The rate of switching surface S=0; sgn (S) is sign function; is the desired acceleration at the midpoint of the connecting rod, is the acceleration in the z direction, the unit is m/s 2 , is the acceleration of counterclockwise rotation angle around the y-axis, the unit is rad/m 2 ; is the actual velocity at the midpoint of the connecting rod

本发明首次基于动力学模型,将滑模控制技术与交叉耦合控制技术相结合,并提出了一种同步误差,在此基础上,设计了一种基于滑模控制的动力学同步协调控制律,可实现对混联式汽车电泳涂装输送机构的同步协调运动控制,其特点和有益效果是:The present invention combines the sliding mode control technology with the cross-coupling control technology based on the dynamic model for the first time, and proposes a synchronization error. On this basis, a dynamic synchronous coordination control law based on sliding mode control is designed, It can realize the synchronous and coordinated motion control of the hybrid automobile electrophoretic coating conveying mechanism, and its characteristics and beneficial effects are:

1、由于基于动力学模型进行同步协调控制器的设计,充分考虑了混联式汽车电泳涂装输送机构的动力学特性,因此具有更好的控制性能。1. Due to the design of the synchronous coordination controller based on the dynamic model, the dynamic characteristics of the hybrid automobile electrophoretic coating conveying mechanism are fully considered, so it has better control performance.

2、在常规同步误差的基础上,结合误差传递函数的概念,设立了一种同步误差,不仅充分考虑了主动关节之间的同步误差,同时考虑了连接杆两端的同步误差,提高了输送机构的同步性能。2. On the basis of conventional synchronous error, combined with the concept of error transfer function, a synchronous error is established, which not only fully considers the synchronous error between the active joints, but also considers the synchronous error at both ends of the connecting rod, and improves the transmission mechanism. synchronization performance.

3、通过将滑模控制技术与交叉耦合控制技术相结合,不仅由于引入交叉耦合控制技术,充分考虑了在机构控制过程中各执行机构间的耦合关系,因此既实现了机构的稳定跟踪控制,同时又实现了各主动关节以及两边机构的同步运动,从而提高了机构的同步协调运动控制性能,而且由于滑模控制技术的采用,有效解决了系统存在的不确定性问题,削弱了升降翻转执行机构快变动力学特性对系统控制性能的不利影响,因此能进一步提高机构的控制性能。3. By combining the sliding mode control technology with the cross-coupling control technology, not only the introduction of the cross-coupling control technology fully considers the coupling relationship between the actuators in the process of mechanism control, so the stable tracking control of the mechanism is realized, At the same time, the synchronous movement of the active joints and the mechanisms on both sides is realized, thereby improving the synchronous and coordinated motion control performance of the mechanism, and due to the adoption of sliding mode control technology, the uncertainty problem existing in the system is effectively solved, and the lifting and turning execution is weakened. The fast-changing dynamic characteristics of the mechanism have adverse effects on the control performance of the system, so the control performance of the mechanism can be further improved.

附图说明Description of drawings

以下结合附图和具体实施方式对本发明作进一步详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

图1是混联式汽车电泳涂装输送机构。Figure 1 is a hybrid automobile electrophoretic coating conveying mechanism.

图2是图1中升降翻转机构的结构简图。Fig. 2 is a schematic structural diagram of the lifting and turning mechanism in Fig. 1 .

图3是混联式汽车电泳涂装输送机构硬件系统。Figure 3 is the hardware system of the hybrid automobile electrophoretic coating conveying mechanism.

图4是图1中连接杆中点运动位姿各分量的期望运动和实际运动轨迹图,其中:图4a是连接杆中点在z方向上的位姿分量轨迹跟踪曲线图,图4b是连接杆中点在绕y轴逆时针方向运动的轨迹跟踪曲线图。Fig. 4 is a diagram of the expected motion and the actual motion trajectory of each component of the motion pose of the midpoint of the connecting rod in Fig. 1, wherein: Fig. 4a is a trace tracking curve of the pose component trajectory of the midpoint of the connecting rod in the z direction, and Fig. 4b is the Trajectory tracking graph of the center point of the rod moving in the counterclockwise direction around the y-axis.

图5是图1中连接杆中点在z方向上和绕y轴逆时针方向运动的轨迹跟踪误差图,其中:图5a是连接杆中点在z方向上的位姿分量轨迹跟踪误差图,图5b是连接杆中点在绕y轴逆时针方向运动的轨迹跟踪误差图。Fig. 5 is a trajectory tracking error diagram of the midpoint of the connecting rod in the z direction and counterclockwise around the y axis in Fig. 1, wherein: Fig. 5a is a trajectory tracking error diagram of the pose component of the midpoint of the connecting rod in the z direction, Fig. 5b is a trajectory tracking error graph of the midpoint of the connecting rod moving counterclockwise around the y-axis.

图6是图1中单个升降翻转机构主动关节的轨迹跟踪误差图,其中:图6a是图1中第一滑块的轨迹跟踪误差图,图6b是图1中第二滑块的轨迹跟踪误差图,图6c是主动轮的轨迹跟踪误差图。Fig. 6 is a trajectory tracking error diagram of the active joint of a single lifting and turning mechanism in Fig. 1, wherein: Fig. 6a is a trajectory tracking error diagram of the first slider in Fig. 1, and Fig. 6b is a trajectory tracking error diagram of the second slider in Fig. 1 Fig. 6c is the trajectory tracking error map of the driving wheel.

图7是图1中连接杆两端在z方向上和绕y轴逆时针方向运动的误差即同步误差的曲线图,其中:图7a是图1中连接杆两端在z方向上的运动位姿分量同步误差曲线图,图7b是连接杆两端绕y轴逆时针方向运动同步误差曲线图。Figure 7 is a graph of the error of the two ends of the connecting rod in the z direction and the counterclockwise movement around the y axis in Figure 1, that is, the synchronous error curve, wherein: Figure 7a is the movement position of the two ends of the connecting rod in the z direction in Figure 1 The attitude component synchronization error curve, Fig. 7b is the synchronization error curve of the two ends of the connecting rod moving counterclockwise around the y-axis.

图8是混联式汽车电泳涂装输送机构的控制软件结构图。Fig. 8 is a structural diagram of the control software of the hybrid automobile electrophoretic coating conveying mechanism.

图9是混联式汽车电泳涂装输送机构的控制系统原理图。Fig. 9 is a schematic diagram of the control system of the hybrid automobile electrophoretic coating conveying mechanism.

图中,1.第一驱动器 2.第一丝杠 3.第二丝杠 4.导轨 5.第一滑块 6.第一转动副 7.第一连杆 8.第二转动副 9.第二滑块 10.第三转动副 11.第二连杆 12.第二驱动器13.主动轮 14.皮带 15.从动轮 16.连接杆 17.车体固定架 18.车体 19.行走驱动器 20.行走底座 21.导向轮 22.第一行走轮 23.第二行走轮 24.导轨。In the figure, 1. The first driver 2. The first screw 3. The second screw 4. The guide rail 5. The first slider 6. The first rotating pair 7. The first connecting rod 8. The second rotating pair 9. The first Two sliders 10. The third rotating pair 11. The second connecting rod 12. The second driver 13. Driving wheel 14. Belt 15. Driven wheel 16. Connecting rod 17. Car body fixing frame 18. Car body 19. Walking drive 20 . Walking base 21. Guide wheel 22. First traveling wheel 23. Second traveling wheel 24. Guide rail.

具体实施方式detailed description

下面结合附图进一步说明书本发明具体实施方式。The specific implementation manner of the present invention will be further described below in conjunction with the accompanying drawings.

本发明采用的技术方案是采用如下步骤:The technical scheme that the present invention adopts is to adopt following steps:

1)采用解析法对机构进行运动学逆解,求得机构的雅克比矩阵;1) Carry out kinematic inverse solution to the mechanism by analytical method, and obtain the Jacobian matrix of the mechanism;

2)采用拉格朗日法建立机构在笛卡尔空间内的动力学模型;2) The dynamic model of the mechanism in the Cartesian space is established by using the Lagrangian method;

3)采用分布式结构建立输送机构同步协调控制硬件系统;3) A distributed structure is adopted to establish a synchronous coordination control hardware system of the conveying mechanism;

4)针对混联式汽车电泳涂装输送机构升降翻转机构的结构特点及其运动特点,提出一种同步误差;4) According to the structural characteristics and motion characteristics of the lifting and turning mechanism of the hybrid automobile electrophoretic coating conveying mechanism, a synchronization error is proposed;

5)将同步误差与滑模控制相结合,设计一种基于滑模控制的动力学同步协调控制律;5) Combining the synchronous error with sliding mode control, a dynamic synchronous coordination control law based on sliding mode control is designed;

6)通过VC++进行软件编程,实现混联式汽车电泳涂装输送机构的同步协调控制。6) Software programming is carried out through VC++ to realize the synchronous coordination control of the hybrid automobile electrophoretic coating conveying mechanism.

首先对输送机构进行运动学逆解分析,求得机构的雅克比矩阵J;其次采用拉格朗日法推导出机构在笛卡尔空间内的动力学模型;然后针对该机构结构特点及其运动特点,将连接杆两端的同步误差ε(t)与各主动关节的跟踪误差e(t)相结合得到一种同步误差e*(t);其次,根据滑动模态的存在和到达条件,定义基于同步误差的滑模面s,通过将同步误差与滑模控制相结合,设计一种基于滑模控制的动力学同步协调控制律;最后基于所构建输送机构同步协调控制硬件系统,通过VC++进行软件编程,实现混联式汽车电泳涂装输送机构的同步协调控制。具体方法如下:Firstly, the kinematics inverse analysis of the conveying mechanism is carried out, and the Jacobian matrix J of the mechanism is obtained; secondly, the dynamic model of the mechanism in the Cartesian space is deduced by using the Lagrangian method; then, according to the structural characteristics and motion characteristics of the mechanism , combining the synchronization error ε(t) at both ends of the connecting rod with the tracking error e(t) of each active joint to obtain a synchronization error e * (t); secondly, according to the existence and arrival conditions of the sliding mode, the definition is based on The sliding mode surface s of the synchronous error, by combining the synchronous error with the sliding mode control, designs a dynamic synchronous coordination control law based on the sliding mode control; finally, based on the constructed synchronous coordination control hardware system of the conveying mechanism, the software is implemented through VC++ Programming to realize the synchronous and coordinated control of the hybrid automobile electrophoretic coating conveying mechanism. The specific method is as follows:

1、求解雅克比矩阵1. Solve the Jacobian matrix

选取连接杆中点的位姿参数q=(z,β)T作为系统广义坐标,其中z为连接杆中点在z轴方向的位移,m;β为连接杆中点绕y轴逆时针转动的角度,rad。采用解析法对机构进行运动学逆解分析求得其位置逆解方程,对该方程进行求导即对应速度反解,其反解系数矩阵即为雅克比矩阵,表示为:Select the pose parameter q=(z,β) T of the midpoint of the connecting rod as the generalized coordinates of the system, where z is the displacement of the midpoint of the connecting rod in the z-axis direction, m; β is the counterclockwise rotation of the midpoint of the connecting rod around the y-axis angle, rad. Analytical method is used to analyze the kinematic inverse solution of the mechanism to obtain its position inverse solution equation, and the derivative of the equation is the corresponding velocity inverse solution, and the inverse solution coefficient matrix is the Jacobian matrix, which is expressed as:

式中,是输出速度向量,单位为m/s,单位为rad/s;为输入速度向量,单位为m/s,单位为rad/s;J即为雅克比矩阵。In the formula, is the output velocity vector, The unit is m/s, The unit is rad/s; is the input velocity vector, The unit is m/s, The unit is rad/s; J is the Jacobian matrix.

2、采用拉格朗日法推导出机构在笛卡尔空间内的动力学模型2. Using the Lagrangian method to derive the dynamic model of the mechanism in the Cartesian space

拉格朗日函数L定义为系统的动能T和势能P之差,即L=T-P,其中T和P可以用任何方便的坐标系来表示,系统动力学方程,即拉格朗日方程为:The Lagrangian function L is defined as the difference between the kinetic energy T and the potential energy P of the system, that is, L=T-P, where T and P can be expressed by any convenient coordinate system, and the system dynamics equation, namely the Lagrange equation is:

式中,Q为广义驱动力,单位为N。In the formula, Q is the generalized driving force, and the unit is N.

整理并建立标准动力学方程:Organize and establish standard kinetic equations:

式中,M(q)为惯性矩阵,由式求得;为哥氏力和离心力项,由式求得;G(q)为重力项,由式求得。In the formula, M(q) is the inertia matrix, by the formula obtain; are the terms of Coriolis force and centrifugal force, by the formula Obtained; G(q) is the gravitational term, by the formula Get it.

为使动力学模型更准确,对所建立的动力学模型添加外部干扰和摩擦力,得到如下形式的升降翻转机构的动力学模型:In order to make the dynamic model more accurate, external disturbance and friction are added to the established dynamic model to obtain the dynamic model of the lifting and turning mechanism in the following form:

式中,D(t)为摩擦力项,单位为N,式中Fc为库仑摩擦力矩阵,Bc为粘度系数矩阵,x为主动关节的位姿;F(t)为外界干扰项,单位为N,如噪声等。In the formula, D(t) is the friction term, the unit is N, In the formula, F c is the Coulomb friction matrix, B c is the viscosity coefficient matrix, x is the pose of the active joint; F(t) is the external disturbance item, the unit is N, such as noise, etc.

为将广义力转化为关节驱动力,需要做如下变换:In order to transform the generalized force into joint driving force, the following transformation is required:

Q=JTτ (3)Q=J T τ (3)

3、采用分布式结构建立输送机构同步协调控制硬件系统3. Adopt a distributed structure to establish a synchronous coordination control hardware system for the conveying mechanism

以UMAC多轴运动控制器为核心控制单元设计混联式汽车电泳涂装输送机构控制系统,控制系统采取“上位机+下位机UMAC多轴运动控制器”的分布式结构。With UMAC multi-axis motion controller as the core control unit, a hybrid automotive electrophoretic coating conveying mechanism control system is designed. The control system adopts a distributed structure of "upper computer + lower UMAC multi-axis motion controller".

4、设定同步误差ε(t)4. Set the synchronization error ε(t)

根据机构的结构特点和运动特点,在关节空间内,考虑各主动关节之间的关系,提出一种连接杆两端的同步误差ε(t)=(εz(t),εβ(t))T,式中εz(t)为连接杆两端在z方向上的同步误差,单位为m;εβ(t)为连接杆两端绕y轴逆时针转动角度的同步误差,单位为rad。该同步误差在传统同步误差的基础上,结合了误差传递的概念,不仅考虑到了主动关节之间的同步,还考虑到了连接杆两端之间的同步。According to the structural characteristics and motion characteristics of the mechanism, in the joint space, considering the relationship between the active joints, a synchronization error ε(t)=(ε z (t),ε β (t)) at both ends of the connecting rod is proposed T , where ε z (t) is the synchronization error of the two ends of the connecting rod in the z direction, the unit is m; ε β (t) is the synchronization error of the counterclockwise rotation angle of the two ends of the connecting rod around the y-axis, the unit is rad . Based on the traditional synchronization error, the synchronization error combines the concept of error transmission, not only considering the synchronization between the active joints, but also considering the synchronization between the two ends of the connecting rod.

设图1中连接杆16两端的实际运动轨迹分别为qi(t)=(zi(t),βi(t))T,(i=1,2),式中zi(t)为连接杆两端在z方向上的实际运动轨迹,单位为m;βi(t)为连接杆两端绕y轴逆时针运动的实际轨迹,单位为rad。期望运动轨迹分别为式中为连接杆两端在z方向上的期望运动轨迹,单位为m;为连接杆两端绕y轴逆时针运动的实际轨迹,单位为rad。则其位置误差ei(t)=(exi(t),eβi(t))T(i=1,2)如式(4)所示,式中exi(t)单位为m,eβi(t)单位为rad。Assuming that the actual trajectory of the two ends of the connecting rod 16 in Fig. 1 is respectively q i (t) = (z i (t), β i (t)) T , (i = 1, 2), where z i (t) is the actual trajectory of the two ends of the connecting rod in the z direction, in m; β i (t) is the actual trajectory of the counterclockwise movement of the two ends of the connecting rod around the y-axis, in rad. The desired trajectory is In the formula is the expected motion trajectory of the two ends of the connecting rod in the z direction, the unit is m; is the actual trajectory of the counterclockwise movement of the two ends of the connecting rod around the y-axis, in rad. Then its position error e i (t) = (e xi (t), e βi (t)) T (i = 1, 2) as shown in the formula (4), where the unit of e xi (t) is m, The unit of e βi (t) is rad.

对于连接杆两端的同步协调运动,其控制目标可以定义为:For the synchronous coordinated motion of the two ends of the connecting rod, its control objective can be defined as:

f(q1(t),q2(t))=q1(t)-q2(t)=0 (5)f(q 1 (t),q 2 (t))=q 1 (t)-q 2 (t)=0 (5)

将式(5)和式(6)相减可得:Subtract formula (5) and formula (6) to get:

因此根据式(7)可定义同步误差ε(t)为:Therefore, according to formula (7), the synchronization error ε(t) can be defined as:

ε(t)=e1(t)-e2(t) (8)ε(t)=e 1 (t)-e 2 (t) (8)

当e1(t)→0,e2(t)→0时,表示连接杆两端均能沿期望轨迹进行运动;若ε(t)→0,则表示连接杆两端实现了同步运动。When e 1 (t)→0, e 2 (t)→0, it means that both ends of the connecting rod can move along the desired trajectory; if ε(t)→0, it means that the two ends of the connecting rod have realized synchronous motion.

连接杆两端与其相对应的主动关节有如下关系式:The relationship between the two ends of the connecting rod and its corresponding active joints is as follows:

ei(t)=Viex(t)(i=1,2) (9)e i (t) = V i e x (t) (i = 1,2) (9)

式中ex(t)=(ex1(t),ex2(t),ex3(t),ex4(t),eφ1(t),eφ2(t))为主动关节误差,式中exi(i=1,2,3,4)单位为m,eφj(j=1,2)单位为rad;Vi(i=1,2)分别为连接杆两端与其对应端的主动关节的关系式。Where e x (t) = (e x1 (t), e x2 (t), e x3 (t), e x4 (t), e φ1 (t), e φ2 (t)) is the active joint error, In the formula, the unit of e xi (i=1,2,3,4) is m, the unit of e φj ( j =1,2) is rad; Active joint relation.

将式(9)代入式(8)可得同步误差为:Substituting formula (9) into formula (8), the synchronization error can be obtained as:

ε(t)=Hex(t) (10)ε(t)=H x (t) (10)

设连接杆中点的实际运动轨迹分别为q(t)=(z(t),β(t))T,式中z(t)单位为m,β(t)单位为rad;期望运动轨迹分别为qd(t)=(zd(t),βd(t))T,式中zd(t)单位为m,βd(t)单位为rad;则其位置跟踪误差e(t)=(ez(t),eβ(t))T如下式所示,式中ez(t)单位为m,eβ(t)单位为rad。Let the actual trajectory of the midpoint of the connecting rod be q(t)=(z(t),β(t)) T , where the unit of z(t) is m, and the unit of β(t) is rad; the desired trajectory Respectively q d (t)=(z d (t),β d (t)) T , where the unit of z d (t) is m, and the unit of β d (t) is rad; then its position tracking error e( t)=(e z (t), e β (t)) T is shown in the following formula, where the unit of e z (t) is m, and the unit of e β (t) is rad.

e(t)=qd(t)-q(t) (11) e (t)=qd(t)-q(t) (11)

结合位置跟踪误差e(t),可得同步误差为:Combined with the position tracking error e(t), the synchronization error can be obtained as:

式中,λ是对角正定耦合参数矩阵。where λ is a diagonal positive definite coupling parameter matrix.

将同步误差式(12)代入滑模面,即令:Substituting the synchronous error formula (12) into the sliding surface, that is:

式中B=diag(b1,b2),且B可逆,b1,b2均为可调参数并满足霍尔伍兹稳定条件。In the formula, B=diag(b 1 ,b 2 ), and B is reversible, b 1 , b 2 are both adjustable parameters and satisfy the Holwoods stability condition.

5、基于滑模控制的动力学同步协调控制律的设计5. Design of dynamic synchronous coordination control law based on sliding mode control

对式(13)中的S求导,并将式(11)、式(12)代入得:Derivation of S in formula (13), and substituting formula (11) and formula (12):

由式(2)可得From formula (2) can get

取等速趋近律:Take the constant velocity approach law:

式中K=diag(k1,k2…ki),ki>0,常数矩阵K表示系统的运动点趋近切换面S=0的速率。ki小趋近速度慢;ki大则运动点到达且画面时将具有较大的速度,引起的抖振也较大。In the formula, K=diag(k 1 , k 2 ...k i ), ki >0, and the constant matrix K represents the speed at which the moving point of the system approaches the switching surface S=0. When k i is small, the approaching speed is slow; when k i is large, the moving point arrives and the screen will have a greater speed, causing chattering is also greater.

将式(15)和式(16)代入式(14),经整理可得基于滑模控制的动力学同步协调控制律为:Substituting Equation (15) and Equation (16) into Equation (14), the dynamic synchronous coordination control law based on sliding mode control can be obtained as follows:

式中,M(q)为惯性矩阵,为哥氏力和离心力项,G(q)为重力项,D(t)为摩擦力项,F(t)为外界干扰项,sgn(S)为符号函数。In the formula, M(q) is the inertia matrix, are the Coriolis force and centrifugal force items, G(q) is the gravity item, D(t) is the friction item, F(t) is the external disturbance item, and sgn(S) is a sign function.

将式(17)代入式(3)可得各关节驱动力为:Substituting Equation (17) into Equation (3), the driving force of each joint can be obtained as:

6、通过VC++进行软件编程,实现混联式汽车电泳涂装输送机构的同步协调控制系统。6. Software programming through VC++ to realize the synchronous coordination control system of the hybrid automobile electrophoretic coating conveying mechanism.

选择VC++作为软件开发平台,利用微软提供的基础类库MFC(MicrosoftFoundation Class)作为系统界面开发软件包,根据MFC AppWizard创建了一个基于对话框窗口的工程,完成应用程序的开发。Choose VC++ as the software development platform, use the basic class library MFC (Microsoft Foundation Class) provided by Microsoft as the system interface development software package, create a project based on dialog window according to MFC AppWizard, and complete the development of the application program.

以下提供本发明的一个实施例:An embodiment of the invention is provided below:

实施例Example

本方明控制方法主要着力于以一种同步协调控制技术解决混联式汽车电泳涂装输送机构的同步协调控制问题,实现对该机构的高性能控制。该控制方法的具体实施方式如下:The Fangming control method mainly focuses on solving the synchronous coordination control problem of the hybrid automobile electrophoretic coating conveying mechanism with a synchronous coordination control technology, and realizes high-performance control of the mechanism. The specific implementation of this control method is as follows:

1、求解雅克比矩阵1. Solve the Jacobian matrix

在图2中,采用杆长长度约束方程,根据升降翻转机构结构整理可得机构运动学逆解方程:In Figure 2, using the rod length constraint equation, according to the structure of the lifting and turning mechanism, the inverse kinematics equation of the mechanism can be obtained:

式中,zi(i=1,2)、βi(i=1,2)分别为图1中连接杆16两端在静坐标系下的z轴位置和绕y轴方向逆时针转动的角度,单位分别为m、rad;xi(i=1,2,3,4)分别为图1中四个滑块在x轴方向位置,单位为m;φi(i=1,2)分别为图1中两个主动轮绕y轴方向逆时针转动的角度,单位为rad。In the formula, z i (i=1,2), β i (i=1,2) are respectively the z-axis position of the two ends of the connecting rod 16 in Fig. 1 under the static coordinate system and the counterclockwise rotation around the y-axis direction Angle, the units are m and rad; x i (i=1,2,3,4) are the positions of the four sliders in the x-axis direction in Figure 1, the unit is m; φ i (i=1,2) are respectively the counterclockwise rotation angles of the two drive wheels around the y-axis in Figure 1, and the unit is rad.

采用基于符号运算的微分变换法求解升降翻转机构的雅克比矩阵,即式(19)两端分别对时间求导并整理可得:The Jacobian matrix of the lifting and turning mechanism is solved by using the differential transformation method based on symbolic operations, that is, the two ends of formula (19) are differentiated with respect to time respectively and can be obtained:

式(20)简记为则升降翻转机构的雅克比矩阵为:Equation (20) is abbreviated as Then the Jacobian matrix of the lifting and turning mechanism is:

式中,J为雅克比矩阵;z、β分别为连接杆中点在静坐标系下的z轴位置和绕y轴方向逆时针转动的角度,单位分别为m、rad;L1为第一连杆的长度;r2、r1分别为主动轮半径和从动轮半径。In the formula, J is the Jacobian matrix; z and β are the z-axis position of the midpoint of the connecting rod in the static coordinate system and the counterclockwise rotation angle around the y-axis direction, and the units are m and rad respectively; L 1 is the first The length of the connecting rod; r 2 and r 1 are the radius of the driving wheel and the radius of the driven wheel respectively.

2、采用拉格朗日法推导出升降翻转机构在笛卡尔空间内的动力学模型2. Using the Lagrangian method to deduce the dynamic model of the lifting and turning mechanism in Cartesian space

升降翻转机构的系统动能T包括车体动能TP、支链动能TL、传动动能TT以及滑块动能TS。即系统动能T为:The system kinetic energy T of the lifting and turning mechanism includes vehicle body kinetic energy T P , branch chain kinetic energy T L , transmission kinetic energy T T and slider kinetic energy T S . That is, the kinetic energy T of the system is:

T=TP+TL+TT+TS (21)T=T P +T L +T T +T S (21)

升降翻转机构的系统势能P包括车体势能PP、支链势能PL、传动势能PT以及滑块势能PS。即系统势能P为:The system potential energy P of the lifting and turning mechanism includes the vehicle body potential energy P P , the branch chain potential energy PL , the transmission potential energy PT and the slider potential energy PS . That is, the potential energy P of the system is:

P=PP+PL+PT+PS (22)P=P P +P L +P T +P S (22)

将式(21)和式(22)代入式(2)中并整理得升降翻转机构动力学方程为:Substituting formula (21) and formula (22) into formula (2) and sorting out the dynamic equation of the lifting and turning mechanism is:

可得最终结果为:The final result available is:

G11=(mp+4ml4+ml1+ml2+ml3+2mb)gG 11 =(m p +4m l4 +m l1 +m l2 +m l3 +2m b )g

根据机构尺寸可得式中各参数为:mp=17kg,ml1=3.5kg,ml2=1.5kg,ml3=3kg,ml4=0.5kg,m1=m2=2kg,ma=0.5kg,mb=0.25kg,a=0.65m,b=0.56m,c=1.125m,rl3=0.015m,r1=0.05m,r2=0.03m,L1=0.311m,L4=0.65m,θ=120°。According to the size of the mechanism, the parameters in the formula can be obtained as follows: m p =17kg, m l1 =3.5kg, m l2 =1.5kg, m l3 =3kg, m l4 =0.5kg, m 1 =m 2 =2kg, m a = 0.5kg, m b = 0.25kg, a = 0.65m, b = 0.56m, c = 1.125m, r l3 = 0.015m, r 1 = 0.05m, r 2 = 0.03m, L 1 = 0.311m, L 4 =0.65m, θ=120°.

3、采用分布式结构建立输送机构同步协调控制硬件系统3. Adopt a distributed structure to establish a synchronous coordination control hardware system for the conveying mechanism

混联式汽车电泳涂装输送机构的控制系统硬件采取“上位机IPC+下位机UMAC多轴运动控制器”的分布式结构,其硬件系统如图3所示。以UMAC多轴运动控制器为核心控制单元,UMAC的CPU板TURBO PAMC2CPU模块通过以太网网口协议实现与上位机IPC的人机交互界面通讯,UMAC多轴运动控制器轴通道扩展卡ACC-24E2A与底层伺服驱动器通过差分形式进行通讯。该控制系统采用了绝对位置检测系统以解决机械冗余带来的增量系统无法标记机械灵位的控制难题,上位机通过RS232/RS422转换器实现与伺服驱动器的串口通讯来读取绝对位置信息。The control system hardware of the hybrid automobile electrophoretic coating conveying mechanism adopts a distributed structure of "upper computer IPC + lower computer UMAC multi-axis motion controller", and its hardware system is shown in Figure 3. With UMAC multi-axis motion controller as the core control unit, UMAC's CPU board TURBO PAMC2CPU module realizes the human-computer interaction interface communication with the upper computer IPC through the Ethernet network port protocol, and the UMAC multi-axis motion controller axis channel expansion card ACC-24E2A Communicate with the underlying servo drive in a differential manner. The control system uses an absolute position detection system to solve the control problem that the incremental system cannot mark the mechanical position caused by mechanical redundancy. The upper computer realizes the serial communication with the servo driver through the RS232/RS422 converter to read the absolute position information.

4、设立同步误差4. Set up synchronization error

根据运动学分析可知:According to kinematic analysis, it can be known that:

将式(24)两边同时对主动关节运动参数求微分并改写为矩阵形式可得:Differentiate the active joint motion parameters on both sides of formula (24) and rewrite it in matrix form to get:

δY1=R1δX1 (25)δY 1 =R 1 δX 1 (25)

式中δY1=[δz1,δβ1]T,δX1=[δx1,δx2,δφ1]T。δY,δX1分别为连接杆一端和其相对应的输入端的位姿误差。In the formula, δY 1 =[δz 1 ,δβ 1 ] T , δX 1 =[δx 1 ,δx 2 ,δφ 1 ] T . δY, δX 1 are the pose errors of one end of the connecting rod and its corresponding input end respectively.

故由式(25)可得:Therefore, from formula (25), we can get:

e1(t)=R1e1′(t) (26)e 1 (t) = R 1 e 1 '(t) (26)

同理连接杆另一边:Similarly on the other side of the connecting rod:

e2(t)=R2e′2(t) (27)e 2 (t) = R 2 e′ 2 (t) (27)

式中ei′(t)(i=1,2)分别为连接杆两端单边输入位姿误差。Ri(i=1,2)分别是连接杆两端单边输入位姿误差与末端位姿误差之间的传递矩阵,分别为:In the formula, e i ′(t)(i=1, 2) are the unilateral input pose errors at both ends of the connecting rod, respectively. R i (i=1,2) are the transfer matrices between the unilateral input pose error and the end pose error at both ends of the connecting rod, respectively:

又因:And because:

ei′(t)=Viex(t)(i=1,2) (28)e i '(t)=V i e x (t)(i=1,2) (28)

式中Vi(i=1,2)分别是连接杆两端单边输入位姿误差与主动关节位置跟踪误差之间的关系式,分别为:In the formula, V i (i=1, 2) are the relationship expressions between the unilateral input pose error at both ends of the connecting rod and the active joint position tracking error, respectively:

将式(25)-(28)代入式(13)整理可得机构的同步误差为:Substituting equations (25)-(28) into equation (13), the synchronization error of the mechanism can be obtained as follows:

ε(t)=Hex(t) (29)ε(t) = He x (t) (29)

式中 In the formula

设图1中连接杆16的中点的期望位姿为qd(t)(qd(t)=[zdd]T),并以连接杆中点的位姿误差e(t)和速度误差作为状态变量,即:Let the expected pose of the midpoint of the connecting rod 16 in Fig. 1 be q d (t) (q d (t) = [z d , β d ] T ), and the pose error e(t ) and speed error As a state variable, that is:

则设立同步误差为:Then the synchronization error is set up as:

式中,λ是对角正定耦合参数矩阵。where λ is a diagonal positive definite coupling parameter matrix.

5、基于滑模控制的动力学同步协调控制器的设计5. Design of dynamic synchronous coordination controller based on sliding mode control

设计滑模面为:The design sliding surface is:

式中B=diag(b1,b2),且B可逆,b1,b2均为可调参数并满足霍尔伍兹稳定条件。In the formula, B=diag(b 1 ,b 2 ), and B is reversible, b 1 , b 2 are both adjustable parameters and satisfy the Holwoods stability condition.

经验证满足系统稳定性条件所设计的基于滑模控制的动力学同步协调控制律为:The dynamic synchronous coordinated control law based on sliding mode control, which is verified to meet the system stability conditions, is:

6、通过UMAC进行软件编程,实现混联式汽车电泳涂装输送机构的同步协调控制系统6. Software programming through UMAC to realize the synchronous coordination control system of the hybrid automobile electrophoretic coating conveying mechanism

基于VC++对混联式汽车电泳涂装输送机构进行软件编程,其控制软件结构图如图8所示。该软件主要实现功能有:连接UAMC和断开连接UMAC,程序编辑与下载,运动情况实时监视,运动学逆解,在线指令输入与反馈,手动控制,回停机位运动,控制方法选择,紧急停止,退出等。通过将该软件平台与步骤3完成的混联式汽车电泳涂装输送机构的硬件平台相结合,完成对输送机构的同步协调控制,驱动输送机构完成期望运动,其控制系统原理图如图9所示。Based on VC++, the software programming of the hybrid automobile electrophoretic coating conveying mechanism is carried out, and its control software structure diagram is shown in Figure 8. The main functions of this software are: connect to UAMC and disconnect from UMAC, program editing and downloading, real-time monitoring of motion, kinematics inversion, online command input and feedback, manual control, movement back to parking position, control method selection, emergency stop , exit, etc. By combining the software platform with the hardware platform of the hybrid automobile electrophoretic coating conveying mechanism completed in step 3, the synchronous and coordinated control of the conveying mechanism is completed, and the conveying mechanism is driven to complete the desired movement. The schematic diagram of the control system is shown in Figure 9 Show.

输送机构连接杆中点在z方向上和绕y轴逆时针方向运动的实际运动轨迹分别如图4各子图中虚线所示,其轨迹跟踪误差曲线分别如图5中各子图所示,其主动关节的轨迹跟踪误差曲线分别如图6中各子图所示,其同步误差曲线图分别如图7中各子图所示。The actual trajectories of the midpoint of the connecting rod of the conveying mechanism in the z direction and counterclockwise around the y axis are shown in dotted lines in the sub-figures of Figure 4, respectively, and the trajectory tracking error curves are shown in the sub-figures of Figure 5, respectively. The trajectory tracking error curves of the active joints are shown in the sub-figures in Figure 6, and the synchronization error curves are shown in the sub-figures in Figure 7 respectively.

图4至图7表明,本发明所提出混联式汽车电泳涂装输送机构的同步协调控制方法,不仅能使系统具有较高的跟踪精度和较快的响应速度,而且能实现各关节及两边机构间的同步,从而提高了输送机构的同步协调运动控制性能。Figures 4 to 7 show that the synchronous coordination control method of the hybrid automobile electrophoretic coating conveying mechanism proposed by the present invention can not only make the system have higher tracking accuracy and faster response speed, but also realize the Synchronization between mechanisms, thereby improving the synchronous and coordinated motion control performance of the conveying mechanism.

应理解上述施例仅用于说明本发明而不用于限制本发明的范围,在阅读了本发明之后,本领域技术人员对本发明的各种等价形式的修改均落于本申请所附权利要求所限定的范围。It should be understood that the above-mentioned embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention. After reading the present invention, those skilled in the art all fall into the appended claims of the present application to the amendments of various equivalent forms of the present invention limited range.

Claims (5)

1.一种混联式汽车电泳涂装输送机构的同步协调控制方法,其特征在于,包括如下步骤:1. A synchronous and coordinated control method of a hybrid automobile electrophoretic coating conveying mechanism, characterized in that, comprising the steps: 1)以混联式汽车电泳涂装输送机构为被控对象,以被输送汽车车身为负载,采用解析法对输送机构进行运动学逆解,求得机构的雅克比矩阵;1) Taking the hybrid automobile electrophoretic coating conveying mechanism as the controlled object and the conveyed automobile body as the load, the kinematic inverse solution of the conveying mechanism is carried out by analytical method, and the Jacobian matrix of the mechanism is obtained; 2)采用拉格朗日法建立输送机构在笛卡尔空间内的动力学模型;2) The dynamic model of the conveying mechanism in the Cartesian space is established by using the Lagrangian method; 3)采用分布式结构建立输送机构同步协调控制硬件系统;3) A distributed structure is adopted to establish a synchronous coordination control hardware system of the conveying mechanism; 4)针对混联式汽车电泳涂装输送机构升降翻转机构的结构特点及其运动特点,提出一种同步误差;所述步骤4)中提出一种同步误差为: 4) Aiming at the structural characteristics and motion characteristics of the lifting and turning mechanism of the hybrid automobile electrophoretic coating conveying mechanism, a synchronization error is proposed; a synchronization error proposed in the step 4) is: 式中, 是z方向上的同步误差,单位为m,是绕y轴逆时针转动的同步误差,单位为rad;λ是对角正定耦合参数矩阵;e(t)=(ez(t),eβ(t))T为连接杆中点的位置误差,ez(t)为连接杆中点在z方向的位置误差,单位为m,eβ(t)为连接杆中点绕y轴逆时针转动角度的误差,单位为rad;ε(t)=(εz(t),εβ(t))T为连接杆两端的同步误差,εz(t)是在z方向上的同步误差,单位为m,εβ(t)为绕y轴方向逆时针转动的角度的同步误差,单位为rad;In the formula, is the synchronization error in the z direction, in m, is the synchronization error of counterclockwise rotation around the y-axis, in rad; λ is the diagonal positive definite coupling parameter matrix; e(t)=(e z (t),e β (t)) T is the position of the midpoint of the connecting rod Error, e z (t) is the position error of the midpoint of the connecting rod in the z direction, the unit is m, e β (t) is the error of the counterclockwise rotation angle of the midpoint of the connecting rod around the y axis, the unit is rad; ε(t )=(ε z (t),ε β (t)) T is the synchronization error at both ends of the connecting rod, ε z (t) is the synchronization error in the z direction, the unit is m, ε β (t) is the The synchronous error of the angle of counterclockwise rotation of the shaft direction, the unit is rad; 5)将同步误差与滑模控制相结合,设计一种基于滑模控制的动力学同步协调控制律;5) Combining the synchronous error with sliding mode control, a dynamic synchronous coordination control law based on sliding mode control is designed; 6)通过VC++进行软件编程,实现混联式汽车电泳涂装输送机构的同步协调控制。6) Software programming is carried out through VC++ to realize the synchronous coordination control of the hybrid automobile electrophoretic coating conveying mechanism. 2.根据权利要求1所述的一种混联式汽车电泳涂装输送机构的同步协调控制方法,其特征在于:所述步骤1)中,采用基于符号运算的微分变换法求解升降翻转机构的雅克比矩阵,得:2. The synchronous coordination control method of a kind of hybrid automobile electrophoretic coating conveying mechanism according to claim 1, it is characterized in that: in described step 1), adopt the differential transformation method based on symbolic operation to solve the lifting and turning mechanism Jacobian matrix, get: JJ == -- zz LL 11 22 -- zz 22 zz LL 11 22 -- zz 22 -- zz LL 11 22 -- zz 22 zz LL 11 22 -- zz 22 00 00 00 00 00 00 rr 11 rr 22 rr 11 rr 22 TT 式中,J为雅克比矩阵;z为连接杆中点在静坐标系下的z轴位置单位为m;L1为第一连杆的长度;r2、r1分别为主动轮半径和从动轮半径。In the formula, J is the Jacobian matrix; z is the z-axis position of the middle point of the connecting rod in the static coordinate system, and the unit is m; L 1 is the length of the first connecting rod; r 2 and r 1 are the radius of the driving wheel and the Wheel radius. 3.根据权利要求1所述的一种混联式汽车电泳涂装输送机构的同步协调控制方法,其特征在于:所述步骤2)中,采用拉格朗日法求得输送机构在笛卡尔空间内的动力学模型为:3. The synchronous coordination control method of a kind of hybrid automobile electrophoretic coating conveying mechanism according to claim 1, it is characterized in that: in described step 2), adopt Lagrangian method to obtain conveying mechanism in Cartesian The dynamic model in space is: Mm (( qq )) qq ···· ++ CC (( qq ,, qq ·&Center Dot; )) qq ·&Center Dot; ++ GG (( qq )) ++ JJ TT DD. (( tt )) ++ JJ TT Ff (( tt )) == QQ 式中,q=(z,β)T是输出位姿向量;是输出速度向量;是输出加速度向量;M(q)为惯性矩阵;为哥氏力和离心力项;G(q)为重力项;D(t)为摩擦力项,单位为N;F(t)为外界干扰项,单位为N。In the formula, q=(z,β) T is the output pose vector; is the output velocity vector; is the output acceleration vector; M(q) is the inertia matrix; G(q) is the gravity item; D(t) is the friction item, the unit is N; F(t) is the external disturbance item, the unit is N. 4.根据权利要求1所述的一种混联式汽车电泳涂装输送机构的同步协调控制方法,其特征在于:所述步骤3)的输送机构同步协调控制硬件系统,以UMAC多轴运动控制器为核心控制单元,UMAC的CPU板TURBO PAMC2 CPU模块通过以太网网口协议实现与上位机IPC的人机交互界面通讯,UMAC多轴运动控制器轴通道扩展卡ACC-24E2A与底层伺服驱动器通过差分形式进行通讯。4. The synchronous coordination control method of a kind of hybrid automobile electrophoretic coating conveying mechanism according to claim 1, it is characterized in that: the conveying mechanism synchronous coordination control hardware system of described step 3), with UMAC multi-axis motion control The CPU board TURBO PAMC2 CPU module of UMAC realizes the human-computer interaction interface communication with the upper computer IPC through the Ethernet network port protocol. Communication in differential form. 5.根据权利要求1所述的一种混联式汽车电泳涂装输送机构的同步协调控制方法,其特征在于:所述步骤5)中将同步误差与滑模控制相结合,首先设计滑模面为:5. The synchronous coordination control method of a kind of hybrid automobile electrophoretic coating conveying mechanism according to claim 1, is characterized in that: in described step 5), synchronous error is combined with sliding mode control, at first design sliding mode face is: SS == ee ·· ** (( tt )) ++ BB ee ** (( tt )) 设计基于滑模控制的动力学同步协调控制律为:The dynamic synchronous coordination control law based on sliding mode control is designed as: ττ == (( JJ TT )) -- 11 Mm (( qq )) (( BB ee ·· ** (( tt )) ++ λλ ϵϵ ·&Center Dot; (( tt )) ++ KsgnKsgn (( SS )) qq ·· ·· dd (( tt )) )) ++ CC (( qq ,, qq ·&Center Dot; )) qq ·&Center Dot; (( tt )) ++ GG (( qq )) ++ JJ TT (( DD. (( tt )) ++ Ff (( tt )) )) 通过上式确定各主动关节所需的驱动力或驱动力矩;式中: 是z方向上的同步误差,单位为m,是绕y轴逆时针转动的同步误差,单位为rad;J为雅克比矩阵;M(q)为惯性矩阵;为哥氏力和离心力项;G(q)为重力项;D(t)为摩擦力项,单位为N;F(t)为外界干扰项,单位为N;τ为主动关节所需的驱动力,单位为N;B=diag(b1,b2),且B可逆,b1,b2均为可调参数并满足霍尔伍兹稳定条件;为连接杆两端的速度同步误差,是在z方向上的速度同步误差,单位为m/s,为绕y轴方向逆时针转动的角度的同步速度误差,单位为rad/s;K=diag(k1,k2…ki),ki>0,常数矩阵K表示系统的运动点趋近切换面S=0的速率;sgn(S)为符号函数;为连接杆中点的期望加速度,为z方向的加速度,单位为m/s2为绕y轴逆时针转动角度的加速度,单位为rad/m2为连接杆中点的实际速度。Determine the driving force or driving torque required by each active joint through the above formula; where: is the synchronization error in the z direction, in m, is the synchronization error of anticlockwise rotation around the y-axis, in rad; J is the Jacobian matrix; M(q) is the inertia matrix; is the item of Coriolis force and centrifugal force; G(q) is the gravity item; D(t) is the friction item, the unit is N; F(t) is the external disturbance item, the unit is N; τ is the drive required by the active joint Force, unit is N; B=diag(b 1 ,b 2 ), and B is reversible, b 1 , b 2 are adjustable parameters and satisfy the Holwoods stability condition; is the speed synchronization error at both ends of the connecting rod, is the speed synchronization error in the z direction, the unit is m/s, is the synchronous speed error of the angle of counterclockwise rotation around the y-axis, the unit is rad/s; K=diag(k 1 ,k 2 …k i ), k i >0, the constant matrix K indicates that the moving point of the system is approaching The rate of switching surface S=0; sgn (S) is sign function; is the desired acceleration at the midpoint of the connecting rod, is the acceleration in the z direction, the unit is m/s 2 , is the acceleration of counterclockwise rotation angle around the y-axis, the unit is rad/m 2 ; is the actual velocity at the midpoint of the connecting rod.
CN201510044715.1A 2015-01-28 2015-01-28 Synchronous coordinated control method of series-parallel automobile electrophoretic painting conveying mechanism Expired - Fee Related CN104651909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510044715.1A CN104651909B (en) 2015-01-28 2015-01-28 Synchronous coordinated control method of series-parallel automobile electrophoretic painting conveying mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510044715.1A CN104651909B (en) 2015-01-28 2015-01-28 Synchronous coordinated control method of series-parallel automobile electrophoretic painting conveying mechanism

Publications (2)

Publication Number Publication Date
CN104651909A CN104651909A (en) 2015-05-27
CN104651909B true CN104651909B (en) 2017-05-03

Family

ID=53243532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510044715.1A Expired - Fee Related CN104651909B (en) 2015-01-28 2015-01-28 Synchronous coordinated control method of series-parallel automobile electrophoretic painting conveying mechanism

Country Status (1)

Country Link
CN (1) CN104651909B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105173606B (en) * 2015-07-27 2017-10-20 江苏大学 The recombination kinetcs control system and method for series parallel type automobile electrophoretic coating conveyor structure
CN107505844A (en) * 2017-09-15 2017-12-22 江苏大学 Synchronous coordination sliding-mode control of the series parallel type automobile electrophoretic coating conveyor structure based on composition error
CN108149302B (en) * 2017-12-19 2018-12-04 黄石市中城自动化科技有限公司 A kind of double-station turnover device for electrophoresis coating technique
CN108227490A (en) * 2017-12-27 2018-06-29 江苏大学 A kind of model-free adaption sliding-mode control of New-type mixed-coupled formula automobile electrophoretic coating conveyor structure
CN117626384B (en) * 2024-01-26 2024-05-03 艾森曼机械设备(中国)有限公司 Turning device for automobile body electrophoresis application production line

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05216504A (en) * 1992-02-06 1993-08-27 Fanuc Ltd Adaptive sliding mode control system for control object including spring system
US6185467B1 (en) * 1998-09-02 2001-02-06 Cirrus Logic, Inc. Adaptive discrete-time sliding mode controller
CN102385342B (en) * 2011-09-19 2013-06-12 江苏大学 Self-adaptation dynamic sliding mode controlling method controlled by virtual axis lathe parallel connection mechanism motion
CN102616539B (en) * 2012-03-07 2014-04-16 江苏长虹汽车装备集团有限公司 Automobile coating conveyor and application thereof
CN102944997B (en) * 2012-10-10 2016-12-21 江苏大学 The smooth sliding-mode control of synchronization of multiple degrees of freedom redundancy parallel mechanism and system
CN103472724B (en) * 2013-09-16 2016-03-02 江苏大学 A kind of real-time control dynamics modeling method for multiple freedom parallel mechanism

Also Published As

Publication number Publication date
CN104651909A (en) 2015-05-27

Similar Documents

Publication Publication Date Title
CN104651909B (en) Synchronous coordinated control method of series-parallel automobile electrophoretic painting conveying mechanism
CN110007594B (en) Self-adaptive robust sliding mode control method of series-parallel robot for automobile electrophoretic coating and conveying
Liu et al. Cooperation control of multiple manipulators with passive joints
CN107065562B (en) Anti-interference synchronous sliding mode control method of series-parallel automobile electrophoretic coating conveying mechanism
CN108466289B (en) Parallel robot dynamics modeling method considering joint friction
CN108227490A (en) A kind of model-free adaption sliding-mode control of New-type mixed-coupled formula automobile electrophoretic coating conveyor structure
CN105183009B (en) A kind of redundant mechanical arm method for controlling trajectory
CN106695797A (en) Compliance control method and system based on collaborative operation of double-arm robot
CN103331756A (en) Mechanical arm motion control method
CN107505844A (en) Synchronous coordination sliding-mode control of the series parallel type automobile electrophoretic coating conveyor structure based on composition error
CN106125728A (en) A kind of 4 wheel driven wheeled mobile robot trace tracking and controlling method
CN111694361A (en) Steel structure flexible flaw detection robot track tracking method based on improved approach law sliding mode control
CN107831669B (en) Feedforward compensation optimization fractional order PID control method of series-parallel automobile electrophoretic coating conveying mechanism
CN111168682B (en) Parallel robot and robust precise differentiator combined finite time convergence sliding mode control method
CN111208735B (en) Low-switching gain robust super-spiral sliding mode control method for coating conveying mechanism
CN103869749B (en) Control device, control method, and position command compensation method
CN117301064B (en) Double-arm robot safety cooperative control method based on fixed time convergence
CN106708078A (en) Rapid attitude stabilization method suitable for space robot actuator failure
CN105234930B (en) Control method of motion of redundant mechanical arm based on configuration plane
CN105173606B (en) The recombination kinetcs control system and method for series parallel type automobile electrophoretic coating conveyor structure
Li et al. Improved sliding mode control for mobile manipulators based on an adaptive neural network
CN110509276A (en) A motion modeling and parameter identification method for an airport runway detection robot
CN108319145A (en) A kind of time delay estimation PD sliding-mode controls of New-type mixed-coupled formula automobile electrophoretic coating conveyor structure
Zhu et al. A novel six degrees-of-freedom parallel manipulator for aircraft fuselage assemble and its trajectory planning
CN102785245A (en) Dynamics coordinated control system for parallel robot

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170503

Termination date: 20200128