[go: up one dir, main page]

CN105929791B - The direct contour outline control method of plane rectangular coordinates kinematic system - Google Patents

The direct contour outline control method of plane rectangular coordinates kinematic system Download PDF

Info

Publication number
CN105929791B
CN105929791B CN201610288318.3A CN201610288318A CN105929791B CN 105929791 B CN105929791 B CN 105929791B CN 201610288318 A CN201610288318 A CN 201610288318A CN 105929791 B CN105929791 B CN 105929791B
Authority
CN
China
Prior art keywords
control
contour
axis
speed
error
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610288318.3A
Other languages
Chinese (zh)
Other versions
CN105929791A (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.)
Tianjin University
Original Assignee
Tianjin 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 Tianjin University filed Critical Tianjin University
Priority to CN201610288318.3A priority Critical patent/CN105929791B/en
Publication of CN105929791A publication Critical patent/CN105929791A/en
Application granted granted Critical
Publication of CN105929791B publication Critical patent/CN105929791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

本发明公开了一种直角坐标运动系统的直接轮廓控制方法,通过11个模块化的逻辑处理计算来完成,具体步骤如是:运动规划;轮廓状态监视;速度逆向变换;切向速度产生;切向速度控制;轮廓误差控制;控制量正向变换;X、Y轴的特性匹配;以及X、Y轴的单轴控制。该方法能够对轮廓运动状态进行实时监测,根据实际位置和编程轮廓的解析式,计算出真实轮廓误差。轮廓误差方向实现了轮廓误差与轮廓误差速度的双闭环控制,符合直角坐标运动系统的物理规律,提高了轮廓控制效果。直角坐标与轮廓坐标下速度、控制量的实时变换以及坐标轴的特性匹配,使得各直角坐标轴在不同方向进行轮廓运动时协调一致。能够充分减小轮廓误差,实现高精度的轮廓控制。

The invention discloses a direct contour control method of a Cartesian coordinate motion system, which is completed through 11 modular logic processing calculations, and the specific steps are as follows: motion planning; contour state monitoring; speed reverse transformation; tangential velocity generation; tangential Speed control; contour error control; forward transformation of control quantity; characteristic matching of X and Y axes; and single-axis control of X and Y axes. The method can monitor the motion state of the contour in real time, and calculate the real contour error according to the actual position and the analytical formula of the programmed contour. The contour error direction realizes the double closed-loop control of the contour error and the contour error speed, conforms to the physical law of the Cartesian coordinate motion system, and improves the contour control effect. Cartesian coordinates and contour coordinates match the real-time transformation of speed and control amount and the characteristics of the coordinate axes, so that each Cartesian coordinate axis is coordinated when performing contour movements in different directions. It can fully reduce the contour error and realize high-precision contour control.

Description

平面直角坐标运动系统的直接轮廓控制方法Direct Contour Control Method for Plane Cartesian Coordinate Motion System

技术领域technical field

本发明属于数控机械加工领域,具体涉及到平面直角坐标轮廓运动的计算机数控技术方法。The invention belongs to the field of numerical control machining, and in particular relates to a computer numerical control technical method for planar Cartesian coordinate contour movement.

背景技术Background technique

在数控机械加工过程中,轮廓误差是评价多轴运动控制系统精度的重要指标。目前直角坐标运动控制系统计算机数字控制的基本原理是,控制系统对轮廓移动路径进行数据采样插补,插补得到各时刻直角坐标系下的坐标,再将插补坐标按照插补周期间隔分配到各移动轴的伺服系统,作为各移动轴伺服系统的位置指令。各轴伺服系统对位置指令进行跟随,在每个伺服周期内将该轴位置的数据与该时刻插补输出的指令位置进行比较,得到位置误差(即该轴的跟随误差)。然后,根据位置误差按照一定的控制规律计算该时刻的控制量,作为控制输出。每隔固定的伺服周期重复进行上述测量、比较、计算和输出的工作,即可驱动该轴的伺服电机及传动机构,跟随插补器输出的位置指令时间序列进行连续运动。实际的轮廓运动轨迹是对直角坐标运动机构各轴的运动进行合成得到的。In the process of CNC machining, contour error is an important index to evaluate the accuracy of multi-axis motion control system. At present, the basic principle of computer digital control of the Cartesian coordinate motion control system is that the control system performs data sampling interpolation on the contour moving path, interpolates to obtain the coordinates in the Cartesian coordinate system at each time, and then distributes the interpolation coordinates to The servo system of each moving axis is used as the position command of the servo system of each moving axis. The servo system of each axis follows the position command, and compares the data of the axis position with the command position output by interpolation at that time in each servo cycle to obtain the position error (that is, the following error of the axis). Then, according to the position error and according to a certain control law, the control quantity at this moment is calculated as the control output. Repeat the above work of measurement, comparison, calculation and output every fixed servo cycle, and then the servo motor and transmission mechanism of the axis can be driven to follow the time sequence of the position command output by the interpolator for continuous motion. The actual contour motion trajectory is obtained by synthesizing the motion of each axis of the Cartesian coordinate motion mechanism.

由于在运动控制中,各轴的跟随误差始终存在,因此合成的轮廓运动也存在误差,导致实际运动轮廓与指令轮廓的偏差。另一方面,由于各轴对指令的响应特性不同,以及各轴受到的非线性摩擦力、负载扰动等状态不同,使得各轴的运动不能完全协调,也会产生轮廓误差。为了减少轮廓误差,当前的运动控制系统采用两种不同的策略。第一种是减少单轴的跟随误差,包括采用位置/速度/电流三闭环控制、前馈控制、扰动观测与补偿等。该方法的不足之处在于,由于响应特性、未知扰动、参数变化、以及模型精度等原因,跟随误差是不可能完全消除的,所以减少轮廓误差的能力有限。另外,由于每个轴是独立的位置控制,没有考虑各轴跟踪误差之间的不匹配,导致多轴联动不协调,使实际运动轮廓与理想轮廓有较大偏差。为了提高多轴联动的协调性,减少轮廓误差,近年提出了第二种减少轮廓误差的控制策略--交叉耦合控制。交叉耦合轮廓控制通过实时估计轮廓误差的方向和大小,产生一个补偿控制量,经过坐标变换后将轮廓补偿控制输出量叠加在原有的单轴控制器的控制输出量上。通过对实际合成运动进行修正,提高其运动协调性,以减少轮廓误差。但是这种方法仍然建立在传统的单轴位置跟踪基础上。各轴控制器需要同时兼顾减小位置跟随误差与轮廓误差两方面,通过设置不同的控制增益权衡两个指标。由于这两方面的控制指令在直角坐标下不是正交的,因此位置跟踪与轮廓误差控制间存在耦合。位置跟踪控制量会削弱轮廓误差控制量,这样仍然有可能产生较大的轮廓误差,这在高速、高曲率的运动路径上体现更加明显。此外,在这种控制器中,由于位置跟随控制与轮廓控制的控制器增益相互耦合、牵制,使其调整困难,因而无法在数控加工技术中被广泛应用。Because in the motion control, the following error of each axis always exists, so there is also an error in the synthetic contour motion, which leads to the deviation between the actual motion contour and the command contour. On the other hand, due to the different response characteristics of each axis to commands, as well as the different states of nonlinear friction and load disturbance on each axis, the motion of each axis cannot be fully coordinated, and contour errors will also occur. To reduce contour errors, current motion control systems employ two different strategies. The first is to reduce the single-axis following error, including the use of position/speed/current three closed-loop control, feedforward control, disturbance observation and compensation, etc. The disadvantage of this method is that due to the response characteristics, unknown disturbances, parameter changes, and model accuracy, it is impossible to completely eliminate the following error, so the ability to reduce the contour error is limited. In addition, since each axis is controlled independently of the position, the mismatch between the tracking errors of each axis is not considered, resulting in uncoordinated multi-axis linkage, which causes a large deviation between the actual motion profile and the ideal profile. In order to improve the coordination of multi-axis linkage and reduce the contour error, a second control strategy to reduce the contour error - cross-coupling control has been proposed in recent years. The cross-coupling contour control generates a compensation control quantity by estimating the direction and size of the contour error in real time. After coordinate transformation, the contour compensation control output is superimposed on the control output of the original single-axis controller. By correcting the actual synthetic motion, its motion coordination is improved to reduce contour errors. But this method is still based on the traditional single-axis position tracking. The controllers of each axis need to take into account the reduction of position following error and contour error at the same time, and trade off the two indicators by setting different control gains. Since the control commands of these two aspects are not orthogonal in Cartesian coordinates, there is a coupling between position tracking and contour error control. The position tracking control amount will weaken the contour error control amount, so it is still possible to generate a large contour error, which is more obvious on the high-speed, high-curvature motion path. In addition, in this kind of controller, because the controller gains of position following control and contour control are coupled and restrained, it is difficult to adjust, so it cannot be widely used in CNC machining technology.

发明内容Contents of the invention

本发明的目的是,提供一种平面直角坐标运动系统的直接轮廓控制方法,可以解决现有控制方法精度低、调整困难的难点。The purpose of the present invention is to provide a direct contour control method for a plane Cartesian coordinate motion system, which can solve the problems of low precision and difficult adjustment of the existing control methods.

为解决上述问题,所提出的平面直角坐标运动系统的直接轮廓控制方法,通过11个模块化的逻辑处理计算来完成,具体步骤如下:In order to solve the above problems, the proposed direct contour control method of the planar Cartesian coordinate motion system is completed through 11 modular logic processing calculations. The specific steps are as follows:

(1)运动规划:生成轮廓运动切向速度指令规划;根据用户输入的编程轮廓和运动规划约束条件对轮廓运动过程进行规划,生成轮廓运动切向速度指令vtc与轮廓曲线参数u 的关系函数f,vtc=f(u),供后续实时控制环节使用。(1) Motion planning: generate contour motion tangential speed command planning; according to the programming contour input by the user Plan the contour motion process with the motion planning constraints, and generate the relational function f between the contour motion tangential velocity command v tc and the contour curve parameter u, v tc = f(u), for the subsequent real-time control link.

(2)轮廓状态监视:根据当前X-Y轴实际位置Px、Py以及编程轮廓实时计算轮廓误差ec、轮廓误差方向当前实际位置对应的编程轮廓曲线的参数u、实际位置对应的切向运动方向其中均为单位方向矢量。(2) Contour status monitoring: According to the actual position P x , P y of the current XY axis and the programmed contour Real-time calculation of contour error e c and contour error direction The parameter u of the programming contour curve corresponding to the current actual position, and the tangential movement direction corresponding to the actual position in are unit direction vectors.

(3)速度逆向变换:根据X-Y两轴速度Vx、Vy及当前的计算沿编程轮廓的实际切向速度vta和轮廓误差方向速度vca(3) Speed reverse transformation: According to the XY two-axis speed V x , V y and the current Calculate the actual tangential velocity v ta and the profile error direction velocity v ca along the programmed profile.

(4)切向速度产生:计算当前时刻切向进给速度;根据轮廓状态监测模块计算的曲线参数u及运动规划模块生成的f,实时计算当前时刻切向进给速度指令vtc(4) Tangential speed generation: calculate the current tangential feed speed; calculate the current tangential feed speed command v tc in real time according to the curve parameter u calculated by the contour state monitoring module and f generated by the motion planning module.

(5)切向速度控制:计算切向控制量输出;根据指令切向速度vtc和实际切向速度vta计算切向速度误差evt,其中evt=vtc-vta,再由evt根据反馈控制规律计算切向控制量输出。(5) Tangential speed control: calculate the tangential control output; calculate the tangential speed error e vt according to the commanded tangential speed v tc and the actual tangential speed v ta , where e vt = v tc - v ta , and then by e vt calculates the tangential control output according to the feedback control law.

(6)轮廓误差控制:根据轮廓状态监视计算的ec及速度逆向变换计算的vca,根据反馈控制规律计算轮廓误差方向控制量输出UC(6) Contour error control: Calculate the contour error direction control output U C according to the feedback control law based on the e c calculated by the contour state monitoring and the v ca calculated by the reverse speed transformation.

(7)控制量正向变换:根据当前轮廓状态监视模块计算的将切向控制量UT和轮廓误差方向控制量UC,变换成直角坐标下X轴的控制量Ux和Y轴的控制量Uy(7) Forward transformation of control quantity: calculated according to the current contour state monitoring module Transform the tangential control quantity U T and the contour error direction control quantity U C into the control quantity U x of the X-axis and the control quantity U y of the Y-axis in Cartesian coordinates.

(8)X轴控制特性匹配:补偿X单轴控制模块输入/输出的特性,使X-Y轴的特性匹配; Ux经过该模块处理后,产生实际的X轴控制量 (8) X-axis control characteristic matching: Compensate the input/output characteristics of the X single-axis control module to match the characteristics of the XY axis; U x is processed by this module to generate the actual X-axis control amount

(9)X轴单轴控制:根据X轴控制量经过信号处理和功率放大转化成伺服电机的转矩输出,经过机械传动环节驱动X-Y直角坐标下的X轴移动;(9) X-axis single-axis control: according to the X-axis control amount After signal processing and power amplification, it is converted into the torque output of the servo motor, and drives the X-axis movement in the XY rectangular coordinates through the mechanical transmission link;

(10)Y轴控制特性匹配:补偿Y单轴控制模块输入/输出的特性,使X-Y轴的特性匹配;Uy经过该模块处理后,产生实际的Y轴控制量 (10) Y-axis control characteristic matching: Compensate the characteristics of the input/output of the Y single-axis control module to match the characteristics of the XY-axis; after U y is processed by this module, the actual Y-axis control amount is generated

(11)Y轴单轴控制:根据Y轴控制量经过信号处理和功率放大转化成伺服电机的转矩输出,经过机械传动环节驱动X—Y直角坐标下的Y轴移动,(11) Y-axis single-axis control: according to the Y-axis control amount After signal processing and power amplification, it is transformed into the torque output of the servo motor, and drives the Y-axis movement under the X-Y rectangular coordinates through the mechanical transmission link.

在每个伺服控制周期内,运动控制系统重复上述步骤(2)~(11)的过程,即能实现连续的高精度轮廓运动。In each servo control cycle, the motion control system repeats the process of the above steps (2) to (11), that is, continuous high-precision contour motion can be realized.

上述步骤(6)中的轮廓误差的控制在轮廓误差方向采用双闭环反馈控制,外环为轮廓误差控制环;内环为轮廓误差速度控制环。步骤(6)进一步可分解为以下步骤:The control of the contour error in the above step (6) adopts double closed-loop feedback control in the direction of the contour error, the outer loop is the contour error control loop; the inner loop is the contour error speed control loop. Step (6) can be further decomposed into the following steps:

(6-1)轮廓误差反馈控制:根据轮廓状态监视计算的ec计算轮廓误差方向的速度指令 vcc(6-1) Contour error feedback control: Calculate the speed command v cc in the direction of the contour error according to the e c calculated by contour state monitoring.

(6-2)计算轮廓误差方向的速度误差:根据vcc及速度逆向变换计算的vca,计算轮廓误差方向的速度误差evc,其中evc=vcc-vca(6-2) Calculate the velocity error in the direction of the contour error: Calculate the velocity error e vc in the direction of the contour error according to v cc and v ca calculated by the inverse transformation of the velocity, where e vc =v cc -v ca .

(6-3)轮廓误差速度反馈控制:根据evc计算轮廓误差方向控制量输出UC(6-3) Contour error speed feedback control: Calculate the contour error direction control output U C according to e vc .

本发明的优点和产生的有益效果在于:Advantage of the present invention and the beneficial effect that produce are:

(1)能够直接对平面直角坐标轮廓运动状态进行实时监测,根据实际位置和编程轮廓的解析式,计算出真实轮廓误差,具有很高的精度。轮廓误差方向实现了轮廓误差与轮廓误差速度的双闭环控制,符合平面直角坐标运动系统的物理规律,提高了轮廓控制效果。直角坐标与轮廓坐标下速度、控制量的实时变换以及坐标轴的特性匹配,使得直角坐标的X-Y轴在不同方向进行轮廓运动时协调一致。因此,该方法能够充分减小轮廓误差,实现高精度轮廓控制。(1) It can directly monitor the motion state of the planar rectangular coordinate contour in real time, and calculate the real contour error according to the actual position and the analytical formula of the programmed contour, with high precision. The contour error direction realizes the double closed-loop control of contour error and contour error speed, which conforms to the physical law of the plane Cartesian coordinate motion system and improves the contour control effect. Cartesian coordinates and contour coordinates match the real-time transformation of speed and control amount and the characteristics of the coordinate axes, so that the X-Y axes of Cartesian coordinates are coordinated in different directions for contour movement. Therefore, this method can sufficiently reduce the contour error and realize high-precision contour control.

(2)本发明方法不再通过X-Y轴的位置跟踪来间接进行轮廓控制,取消了位置跟踪环节后,不存在两轴跟踪误差导致的轮廓误差成分,因而提高了轮廓控制精度。(2) The method of the present invention no longer performs contour control indirectly through X-Y axis position tracking. After canceling the position tracking link, there is no contour error component caused by two-axis tracking errors, thereby improving the contour control accuracy.

(3)由平面轮廓误差方向与轮廓运动切向的正交性可知,控制量UC与UT是正交的,控制量互不影响,切向运动与轮廓误差控制部分可独立调节,且控制参数具有明确的物理意义,简化了系统的调整过程。(3) From the orthogonality between the error direction of the plane contour and the tangential direction of the contour motion, it can be seen that the control variables U C and U T are orthogonal, the control variables do not affect each other, the tangential motion and the contour error control part can be adjusted independently, and The control parameters have clear physical meaning, which simplifies the adjustment process of the system.

(4)在数控加工等场合,轮廓运动的切向速度对表面加工质量有重要影响。传统控制器无法直接对切向速度进行闭环控制,各轴的不协调及位置跟踪滞后导致切向速度精度差,尤其在大曲率及转角位置的高速运动时。本发明方法可根据切向速度规划函数f和实时检测的曲线参数u,快速、高精度地获取实时切向速度指令。并通过切向速度控制进行闭环控制,提高了切向速度的准确性。(4) In occasions such as numerical control machining, the tangential velocity of the contour motion has an important influence on the surface processing quality. The traditional controller cannot directly perform closed-loop control on the tangential velocity. The incoordination of each axis and the position tracking lag lead to poor accuracy of the tangential velocity, especially in high-speed movements with large curvature and corner positions. The method of the invention can acquire the real-time tangential speed command quickly and with high precision according to the tangential speed planning function f and the real-time detected curve parameter u. And through the closed-loop control of the tangential speed control, the accuracy of the tangential speed is improved.

(5)本发明方法的实施可以基于已有的运动控制系统硬件设施,无需增加硬件即可实施,便于已有运动控制系统的升级,降低了成本。(5) The implementation of the method of the present invention can be based on the existing motion control system hardware facilities, and can be implemented without adding hardware, which facilitates the upgrading of the existing motion control system and reduces the cost.

附图说明Description of drawings

图1是本发明中直接轮廓控制方法逻辑处理计算框图。Fig. 1 is a block diagram of logical processing and calculation of the direct contour control method in the present invention.

图2是本发明中轮廓状态监测原理图。Fig. 2 is a schematic diagram of contour state monitoring in the present invention.

图3是本发明中运动规划模块原理图。Fig. 3 is a schematic diagram of the motion planning module in the present invention.

图4是本发明中控制量矢量与速度矢量变换关系图。Fig. 4 is a diagram of the transformation relationship between the control variable vector and the speed vector in the present invention.

图5是本发明中切向速度控制原理图。Fig. 5 is a schematic diagram of tangential speed control in the present invention.

图6是本发明中轮廓误差控制原理图Fig. 6 is a schematic diagram of contour error control in the present invention

具体实施方式Detailed ways

以下结合附图并通过实施例对本发明方法的实施步骤作进一步的说明。需要说明的是下述实施例是叙述性的,不是限定性的,本发明所涵盖的内容并不限于下述实施例。The implementation steps of the method of the present invention will be further described below in conjunction with the accompanying drawings and examples. It should be noted that the following examples are illustrative, not limiting, and the content covered by the present invention is not limited to the following examples.

平面直角坐标运动系统的直接轮廓控制方法,通过以下11个模块化的逻辑处理计算来完成,具体步骤如下:The direct contour control method of the planar Cartesian coordinate motion system is completed through the following 11 modular logical processing calculations. The specific steps are as follows:

(1)运动规划:生成轮廓运动切向速度指令规划;根据用户输入的编程轮廓和运动规划约束条件对轮廓运动过程进行规划,生成轮廓运动切向速度指令vtc与轮廓曲线参数u 的关系函数f,vtc=f(u),供后续实时控制环节使用。(1) Motion planning: generate contour motion tangential speed command planning; according to the programming contour input by the user Plan the contour motion process with the motion planning constraints, and generate the relational function f between the contour motion tangential velocity command v tc and the contour curve parameter u, v tc = f(u), for the subsequent real-time control link.

(2)轮廓状态监视:根据当前X-Y轴实际位置Px、Py以及编程轮廓实时计算轮廓误差ec、轮廓误差方向当前实际位置对应的编程轮廓曲线的参数u、实际位置对应的切向运动方向其中均为单位方向矢量。(2) Contour status monitoring: According to the actual position P x , P y of the current XY axis and the programmed contour Real-time calculation of contour error e c and contour error direction The parameter u of the programming contour curve corresponding to the current actual position, and the tangential movement direction corresponding to the actual position in are unit direction vectors.

(3)速度逆向变换:根据X-Y两轴速度Vx、Vy及当前的计算沿编程轮廓的实际切向速度vta和轮廓误差方向速度vca(3) Speed reverse transformation: According to the XY two-axis speed V x , V y and the current Calculate the actual tangential velocity v ta and the profile error direction velocity v ca along the programmed profile.

(4)切向速度产生:计算当前时刻切向进给速度;根据轮廓状态监测模块计算的曲线参数u及运动规划模块生成的f,实时计算当前时刻切向进给速度指令vtc(4) Tangential speed generation: calculate the current tangential feed speed; calculate the current tangential feed speed command v tc in real time according to the curve parameter u calculated by the contour state monitoring module and f generated by the motion planning module.

(5)切向速度控制:计算切向控制量输出;根据指令切向速度vtc和实际切向速度vta计算切向速度误差evt,其中evt=vtc-vta,再由evt根据反馈控制规律计算切向控制量输出UT(5) Tangential speed control: calculate the tangential control output; calculate the tangential speed error e vt according to the commanded tangential speed v tc and the actual tangential speed v ta , where e vt = v tc - v ta , and then by e vt calculates the tangential control output U T according to the feedback control law.

(6)轮廓误差控制:根据轮廓状态监视计算的ec及速度逆向变换计算的vca,根据反馈控制规律计算轮廓误差方向控制量输出UC(6) Contour error control: Calculate the contour error direction control output U C according to the feedback control law based on the e c calculated by the contour state monitoring and the v ca calculated by the reverse speed transformation.

(7)控制量正向变换:根据当前轮廓状态监视模块计算的将切向控制量UT和轮廓误差方向控制量UC,变换成直角坐标下X轴控制量Ux和Y轴的控制量Uy(7) Forward transformation of control quantity: calculated according to the current contour state monitoring module Transform the tangential control quantity U T and the contour error direction control quantity U C into the X-axis control quantity U x and the Y-axis control quantity U y in Cartesian coordinates.

(8)X轴控制特性匹配:补偿X单轴控制模块输入/输出的特性,使X-Y轴的特性匹配;Ux经过该模块处理后,产生实际的X轴控制量 (8) X-axis control characteristic matching: Compensate the input/output characteristics of the X single-axis control module to match the characteristics of the XY axis; after U x is processed by this module, the actual X-axis control amount is generated

(9)X轴单轴控制:根据X轴控制量经过信号处理和功率放大转化成伺服电机的转矩输出,经过机械传动环节驱动X-Y直角坐标下的X轴移动。(9) X-axis single-axis control: according to the X-axis control amount After signal processing and power amplification, it is converted into the torque output of the servo motor, and drives the X-axis movement under the XY rectangular coordinates through the mechanical transmission link.

(10)Y轴控制特性匹配:补偿Y单轴控制模块输入/输出的特性,使X—Y轴的特性匹配;Uy经过该模块处理后,产生实际的Y轴控制量 (10) Y-axis control characteristic matching: Compensate the input/output characteristics of the Y single-axis control module to match the characteristics of the X-Y axis; after U y is processed by this module, the actual Y-axis control amount is generated

(11)Y轴单轴控制:根据Y轴控制量经过信号处理和功率放大转化成伺服电机的转矩输出,经过机械传动环节驱动X—Y直角坐标下的Y轴移动。(11) Y-axis single-axis control: according to the Y-axis control amount After signal processing and power amplification, it is transformed into the torque output of the servo motor, and drives the Y-axis movement under the X-Y rectangular coordinates through the mechanical transmission link.

在每个伺服控制周期内,运动控制系统重复上述步骤(2)~(11)的过程,即能实现连续的高精度轮廓运动。In each servo control cycle, the motion control system repeats the process of the above steps (2) to (11), that is, continuous high-precision contour motion can be realized.

上述步骤(6)中的轮廓误差的控制在轮廓误差方向采用双闭环反馈控制,外环为轮廓误差控制环;内环为轮廓误差速度控制环。步骤(6)进一步可分解为以下步骤:The control of the contour error in the above step (6) adopts double closed-loop feedback control in the direction of the contour error, the outer loop is the contour error control loop; the inner loop is the contour error speed control loop. Step (6) can be further decomposed into the following steps:

(6-1)轮廓误差反馈控制:根据轮廓状态监视计算的ec计算轮廓误差方向的速度指令 vcc(6-1) Contour error feedback control: Calculate the speed command v cc in the direction of the contour error according to the e c calculated by contour state monitoring.

(6-2)计算轮廓误差方向的速度误差:根据vcc及速度逆向变换计算的vca,计算轮廓误差方向的速度误差evc,其中evc=vcc-vca(6-2) Calculate the velocity error in the direction of the contour error: Calculate the velocity error e vc in the direction of the contour error according to v cc and v ca calculated by the inverse transformation of the velocity, where e vc = v cc -v ca .

(6-3)轮廓误差速度反馈控制:根据evc计算轮廓误差方向控制量输出UC(6-3) Contour error speed feedback control: Calculate the contour error direction control output U C according to e vc .

图1显示了轮廓控制系统运行的逻辑关系。本实施例的平面直角坐标运动机构含有X-Y 两个垂直的控制轴。Figure 1 shows the logical relationship between the operation of the contour control system. The planar Cartesian coordinate motion mechanism of this embodiment includes two vertical control axes of X-Y.

图1中,单轴控制模块由X-Y各运动轴伺服电机的驱动器、伺服电机、传动机构、位置和速度反馈装置组成。图1中的其他模块可以在轮廓运动控制器的微处理器上以实时数字控制程序的方式实现,控制程序中的信号以程序变量形式传递。微处理器与单轴控制模块间通过电气信号和接口电路通讯。In Fig. 1, the single-axis control module is composed of the driver of the servo motor of each X-Y motion axis, the servo motor, the transmission mechanism, and the position and speed feedback device. The other modules in Figure 1 can be realized in the form of real-time digital control program on the microprocessor of the contour motion controller, and the signals in the control program are transmitted in the form of program variables. The microprocessor communicates with the single-axis control module through electrical signals and interface circuits.

本实施例中,X和Y轴采用交流同步伺服电机及其驱动器,驱动器工作于转矩控制方式,根据各轴控制量(其中,i=x,y,下同),经过信号处理和功率放大转化成伺服电机的转矩输出。再经过联轴器、滚珠丝杠副、导轨副,带动X-Y工作台移动,完成轮廓运动。安装在X和Y轴上的位置和速度传感器可实时获得X和Y轴各自的实际位置和速度信号。In this embodiment, the X and Y axes adopt AC synchronous servo motors and their drivers, and the drivers work in the torque control mode. According to the control amount of each axis (wherein, i=x, y, the same below), after signal processing and power amplification, it is transformed into the torque output of the servo motor. Then through the coupling, ball screw pair and guide rail pair, it drives the XY table to move to complete the contour movement. The position and speed sensors installed on the X and Y axes can obtain the respective actual position and speed signals of the X and Y axes in real time.

运动规划原理如图3,用户的编程轮廓在控制系统内部以参数方程的形式存储。假设正在处理的编程轮廓曲线的参数方程为其参数范围为[us,ue],则运动起始位置对应曲线参数为us,运动结束位置对应曲线参数为ue。运动规划的约束条件包括切向运动的起始速度vs,最大速度vmax,最大结束速度vemax,最大加速度amax和最大加加速度Jmax等。规划的结果要求生成轮廓运动切向速度指令vtc与轮廓曲线参数u的关系函数f。The principle of motion planning is shown in Figure 3. The user's programming profile is stored in the form of a parameter equation inside the control system. Suppose the parametric equation of the programmed profile curve being processed is The parameter range is [u s , u e ], then the curve parameter corresponding to the start position of the movement is u s , and the curve parameter corresponding to the movement end position is u e . The constraints of motion planning include the initial velocity v s , the maximum velocity v max , the maximum end velocity v emax , the maximum acceleration a max and the maximum jerk J max of tangential motion. The result of planning requires the generation of the relationship function f between the contour motion tangential velocity command v tc and the contour curve parameter u.

具体实施按常规规划方法在约束条件下生成vtc与时间t的关系ft,以及轮廓曲线位移S 与时间t的关系St,同时根据可得到S与u的关系函数Su。根据ft,St及Su,可通过样条插值的方法,将时域的规划ft映射到曲线参数域,获得以u为自变量,用样条函数表示的运动规划f。由于f可以在运动前求得,因此运动规划不占用实时运动控制时微处理器的时间资源。The specific implementation is to generate the relationship f t between v tc and time t and the relationship S t between contour curve displacement S and time t under the constraint conditions according to the conventional planning method, and at the same time according to The relationship function S u between S and u can be obtained. According to f t , S t and Su , the planning f t in the time domain can be mapped to the curve parameter domain by spline interpolation method, and the motion planning f expressed by spline function with u as an independent variable can be obtained. Since f can be obtained before motion, motion planning does not occupy the time resources of the microprocessor during real-time motion control.

轮廓状态监视的原理如图2所示。由于扰动等原因,实际运动轮廓将偏离编程轮廓。在运动中的某个时刻,假设位置反馈装置读取的当前实际位置可根据的位置关系求解轮廓运动状态。由于轮廓误差ec的大小定义为的最短距离,因此可以找到编程曲线上对应此最短距离的点同时可知道的方向与轮廓误差方向重合。The principle of contour state monitoring is shown in Figure 2. Due to disturbance etc., the actual motion profile will deviate from the programmed profile. At some point in the motion, assume the current actual position read by the position feedback device Can be based on and Solve the contour motion state of the positional relationship. Since the magnitude of the contour error e c is defined as arrive The shortest distance of , so the point corresponding to this shortest distance on the programmed curve can be found can know at the same time The direction of is coincident with the contour error direction.

另一方面,由曲线参数方程可计算在处的导矢量的方向即为曲线切线方向。根据轮廓误差定义可知,点处曲线切线方向与垂直,因此可得方程解该方程即可求得对应的编程轮廓曲线的参数u。进一步可求得轮廓误差的绝对值实际位置对应的切向运动方向的单位矢量 On the other hand, from the curve parameter equation can be calculated in Derivative vector at but The direction of is the tangent direction of the curve. According to the definition of contour error, the point The tangent direction of the curve at vertical, so the equation By solving this equation, the parameter u of the corresponding programming contour curve can be obtained. Further, the absolute value of the contour error can be obtained The unit vector of the tangential motion direction corresponding to the actual position

轮廓误差方向单位矢量定义为逆时针旋转90度,则ec的符号定义为同向时为负,反向时为正。Contour error direction unit vector defined as Rotate 90 degrees counterclockwise, then The symbol for e c is defined as and Negative in the same direction, and Positive when reversed.

速度逆向变换原理参考图4左侧。Vx和Vy分别是X,Y轴单轴控制模块测量的X,Y轴实际速度,因此可得合成速度矢量分别投影到方向,得到沿编程轮廓的实际切向速度vta和轮廓误差方向速度vca。根据矢量内积定义,可得到 Refer to the left side of Figure 4 for the principle of speed inverse transformation. V x and V y are the actual speeds of the X and Y axes measured by the single-axis control module of the X and Y axes respectively, so the synthetic speed vector can be obtained Will respectively projected to and direction, get the actual tangential velocity v ta along the programmed contour and the contour error direction velocity v ca . According to the definition of vector inner product, we can get and

切向速度的产生是根据轮廓状态监测模块计算的曲线参数u及运动规划模块生成的f,计算出当前时刻切向进给速度指令vtc,即vtc=f(u)(可参见图3)。The generation of tangential speed is based on the curve parameter u calculated by the contour state monitoring module and f generated by the motion planning module, and the tangential feed speed command v tc at the current moment is calculated, that is, v tc =f(u) (see Figure 3 ).

切向速度控制采用反馈控制规律计算控制量输出UT,可参见图5。根据指令切向速度vtc和实际切向速度vta计算切向速度误差evt=vtc-vta。本实施例中反馈控制率采用PI(比例+积分)控制,以降低稳态误差。设比例和积分增益分别为KPT和KIT,则 The tangential speed control adopts the feedback control law to calculate the control quantity output U T , as shown in Figure 5. Calculate the tangential velocity error e vt =v tc -v ta according to the commanded tangential velocity v tc and the actual tangential velocity v ta . In this embodiment, the feedback control rate adopts PI (proportional + integral) control to reduce the steady-state error. Let the proportional and integral gains be K PT and K IT respectively, then

轮廓误差控制采用双闭环反馈控制规律(参见图6),外环为轮廓误差控制环,内环为轮廓误差速度控制环。Contour error control adopts double closed-loop feedback control law (see Figure 6), the outer loop is the contour error control loop, and the inner loop is the contour error speed control loop.

本实施例外环采用P(比例)控制,由轮廓误差ec计算轮廓误差方向的速度指令vcc,以补偿轮廓误差。设外环比例增益为KPCO,则vcc=KPCOec。内环采用PI(比例+积分)控制,根据vcc及速度逆向变换模块计算的vca计算轮廓误差方向的速度误差evc=vcc-vca。设内环比例和积分增益分别为KPCI和KICI,则控制量输出 In this embodiment, the outer loop adopts P (proportional) control, and the speed command v cc in the direction of the contour error is calculated from the contour error e c to compensate the contour error. Assuming that the proportional gain of the outer loop is K PCO , then v cc =K PCO e c . The inner loop adopts PI (proportional + integral) control, and calculates the speed error e vc in the direction of the contour error according to v cc and v ca calculated by the speed inverse transformation module = v cc -v ca . Set the proportional and integral gains of the inner loop as K PCI and K ICI respectively, then the control output

控制量正向变换原理参考图4右侧。为了将UT和UC变换到X-Y平面直角坐标下,将UT和UC分别投影到X和Y轴上,再将投影到各轴上的控制分量叠加。由于均为单位矢量,因此Ux=UTTx+UCNx,Uy=UTTy+UCNyRefer to the right side of Figure 4 for the principle of the forward transformation of the control quantity. In order to transform U T and U C to the Cartesian coordinates of the XY plane, project U T and U C on the X and Y axes respectively, and then superimpose the control components projected on each axis. because Both are unit vectors, so U x = U T T x + U C N x , U y = U T T y + U C N y .

坐标轴控制特性匹配—用于补偿单轴控制模块输入/输出的特性,使各轴的特性匹配,提高多轴联动控制的协调性。本实施例中X、Y轴控制特性匹配模块均为比例环节,比例增益为 KMi,则图1中假设单轴控制的输出转矩Mi对控制信号的增益为Kai,负载转动惯量为Ji。在忽略轴的动态特性和摩擦、扰动等因素时,为了实现运动的协调,希望各轴的总增益相等,即满足因此,通过设定各轴KMi可满足上式的要求,实现了在各方向运动时,对轮廓控制信号UT和UC的响应一致。Coordinate axis control characteristic matching—used to compensate the input/output characteristics of the single-axis control module to match the characteristics of each axis and improve the coordination of multi-axis linkage control. In this embodiment, the X and Y axis control characteristic matching modules are all proportional links, and the proportional gain is K Mi , then in Fig. 1 Assuming that the output torque M i of single-axis control is relative to the control signal The gain of the load is K ai , and the moment of inertia of the load is J i . When ignoring the dynamic characteristics of the axes and factors such as friction and disturbance, in order to realize the coordination of motion, it is hoped that the total gains of each axis are equal, that is, satisfying Therefore, by setting K Mi of each axis, the requirements of the above formula can be met, and the response to the contour control signal U T and U C is consistent when moving in each direction.

按照图1中的逻辑流程,经过运动规划后,各实时运算模块在每个伺服周期内按信号处理顺序调用,即可实现所述的直接轮廓控制方法,完成连续的高精度轮廓运动。According to the logic flow in Fig. 1, after motion planning, each real-time computing module is called according to the signal processing sequence in each servo cycle, so as to realize the direct contour control method and complete continuous high-precision contour motion.

Claims (2)

1. the direct contour outline control method of plane rectangular coordinates kinematic system, it is characterised in that the control method passes through 11 moulds The logical process of block calculates to complete, and is as follows:
(1) motion planning:Generate the instruction planning of contour motion tangential velocity;According to programming profile input by userAnd movement Plan constraint condition plans contour motion process generation contour motion tangential velocity instructs vtcWith contour curve parameter u Relation function f, vtc=f (u) is used for follow-up controlling unit in real time;
(2) profile Stateful Inspection:According to current X-Y axis physical location Px、PyAnd programming profileProfile errors are calculated in real time ec, profile errors directionThe parameter u of the corresponding programming contour curve of current actual positions, the corresponding tangential fortune of physical location Dynamic directionWhereinIt is unit direction vector;
(3) speed transformation by reciprocal direction:According to two axle speed V of X-Yx、VyAnd currentCalculate actually cutting along programming profile To speed vtaWith profile errors direction speed vca
(4) tangential velocity generates:Calculate current time tangential admission speed;Joined according to the curve that profile state monitoring module calculates The number u and f of motion planning module generation calculates the speed command v of current time tangential admission in real timetc
(5) tangential velocity controls:Calculate the output of Tangents Control amount;According to instruction tangential velocity vtcWith practical tangential velocity vtaIt calculates Tangential velocity error evt, wherein evt=vtc-vta, then by evtTangents Control amount output U is calculated according to Feedback Control LawT
(6) profile errors control:The e calculated according to profile Stateful InspectioncAnd the v that speed transformation by reciprocal direction calculatesca, controlled according to feedback Rule processed calculates profile errors direction controlling amount output UC
(7) controlled quentity controlled variable positive-going transition:It is calculated according to current outline state monitoring moduleBy Tangents Control amount UTAnd wheel Wide direction of error controlled quentity controlled variable UC, it is transformed into the controlled quentity controlled variable U of X-axis under rectangular co-ordinatexWith the controlled quentity controlled variable U of Y-axisy
(8) X-axis control characteristic matches:The characteristic of X single shaft control module input/output is compensated, makes the characteristics match of X-Y axis;UxThrough After crossing the resume module, practical X-axis controlled quentity controlled variable is generated
(9) X-axis single shaft control:According to X-axis controlled quentity controlled variableThe torque of servo motor is converted to by signal processing and power amplification Output drives the X-axis under X-Y rectangular co-ordinates to move by machine driving link;
(10) Y-axis control characteristic matches:The characteristic of Y single shaft control module input/output is compensated, makes the characteristics match of X-Y axis;Uy After the resume module, practical Y-axis controlled quentity controlled variable is generated
(11) Y-axis single shaft control:According to Y-axis controlled quentity controlled variableTurning for servo motor is converted to by signal processing and power amplification Square exports, and the Y-axis under X-Y rectangular co-ordinates is driven to move by machine driving link,
Within each SERVO CONTROL period, kinetic control system repeats the above steps the processes of (2)~(11), can realize continuous High-accurate outline movement.
2. the direct contour outline control method of plane rectangular coordinates kinematic system described in accordance with the claim 1, it is characterized in that:It is described Profile errors control in step (6) is controlled in profile errors direction using Dual-loop feedback control, and outer shroud is profile errors control ring; Inner ring is profile errors speed control ring;Step (6) further can be analyzed to following steps:
(6-1) profile errors feedback control:The e calculated according to profile Stateful InspectioncCalculate the speed command in profile errors direction vcc
(6-2) calculates the velocity error in profile errors direction:According to vccAnd the v that speed transformation by reciprocal direction calculatesca, calculate profile errors The velocity error e in directionvc, wherein evc=vcc-vca
(6-3) profile errors speed feedback control:According to evcCalculate profile errors direction controlling amount output UC
CN201610288318.3A 2016-05-03 2016-05-03 The direct contour outline control method of plane rectangular coordinates kinematic system Active CN105929791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610288318.3A CN105929791B (en) 2016-05-03 2016-05-03 The direct contour outline control method of plane rectangular coordinates kinematic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610288318.3A CN105929791B (en) 2016-05-03 2016-05-03 The direct contour outline control method of plane rectangular coordinates kinematic system

Publications (2)

Publication Number Publication Date
CN105929791A CN105929791A (en) 2016-09-07
CN105929791B true CN105929791B (en) 2018-07-06

Family

ID=56834238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610288318.3A Active CN105929791B (en) 2016-05-03 2016-05-03 The direct contour outline control method of plane rectangular coordinates kinematic system

Country Status (1)

Country Link
CN (1) CN105929791B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774163B (en) * 2016-12-08 2019-02-05 哈尔滨工业大学深圳研究生院 High-precision three-dimensional contour control method and device
CN109828534B (en) * 2019-01-03 2020-10-30 浙江工业大学 Real-time contour error compensation method of embedded cutting bed controller
CN112327752A (en) * 2020-11-16 2021-02-05 大连理工大学 Double-ring compensation method for contour error of four-axis turning track
CN114356255B (en) * 2021-12-31 2022-09-06 东莞市启思达智能技术有限公司 Interpolation table application method and system based on printing process
CN114740800B (en) * 2022-03-09 2024-05-24 天津大学 A dual-sliding mode direct contour control method for parametric curve machining paths

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003005838A (en) * 2001-04-19 2003-01-08 Toshiba Mach Co Ltd Method for servo control
CN102033508A (en) * 2010-12-01 2011-04-27 沈阳工业大学 Method for improving machining precision of contour of directly driven XY platform
CN102854840A (en) * 2012-09-24 2013-01-02 沈阳工业大学 Direct-driven XY table profile control method based on predictive control and cross coupling
CN103414419A (en) * 2013-08-07 2013-11-27 沈阳工业大学 Double-linear-motor contour compensation device and method based on fuzzy RBF network sliding mode

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2487552A1 (en) * 2011-02-14 2012-08-15 Schneider GmbH & Co. KG Method and device for regulating a drive for a tool or workpiece using a pre controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003005838A (en) * 2001-04-19 2003-01-08 Toshiba Mach Co Ltd Method for servo control
CN102033508A (en) * 2010-12-01 2011-04-27 沈阳工业大学 Method for improving machining precision of contour of directly driven XY platform
CN102854840A (en) * 2012-09-24 2013-01-02 沈阳工业大学 Direct-driven XY table profile control method based on predictive control and cross coupling
CN103414419A (en) * 2013-08-07 2013-11-27 沈阳工业大学 Double-linear-motor contour compensation device and method based on fuzzy RBF network sliding mode

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Smooth feedrate planning for continuous short line tool path;Jingchuan Dong etc;《International Journal of Machine Tools & Manufacture》;20141231;第72卷;第1-12页 *
基于摩擦观测器的直接驱动XY平台轮廓控制器设计;王丽梅 等;《电机与控制学报》;20130131;第17卷(第1期);第31-36页 *
轨迹误差建模的多轴联动机床轮廓误差补偿技术;李学伟 等;《西安交通大学学报》;20120331;第46卷(第3期);第47-52页 *

Also Published As

Publication number Publication date
CN105929791A (en) 2016-09-07

Similar Documents

Publication Publication Date Title
Tang et al. Multiaxis contour control—The state of the art
Li et al. Dual sliding mode contouring control with high accuracy contour error estimation for five-axis CNC machine tools
CN105929791B (en) The direct contour outline control method of plane rectangular coordinates kinematic system
Cheng et al. Motion controller design for contour-following tasks based on real-time contour error estimation
CN102385342B (en) Self-adaptation dynamic sliding mode controlling method controlled by virtual axis lathe parallel connection mechanism motion
CN102854840B (en) Direct-driven XY table profile control method based on predictive control and cross coupling
CN107081787A (en) Kinetic characteristic detection method based on industrial robot built-in sensors signal
Yang et al. Contouring error control of the tool center point function for five-axis machine tools based on model predictive control
CN106200553B (en) It is servo-actuated to cooperate with compensation method online with profile errors
CN104483897B (en) Direct-drive gantry type motion platform contour control device and method
CN106950999B (en) mobile stage trajectory tracking control method adopting active disturbance rejection control technology
CN103869748B (en) Non-round surface XY directly drives processing profile error cross-coupling control system and method
Yang et al. A novel curvature circle iterative algorithm for contour error control of multi-axis CNC machine tools
CN108062071B (en) A Real-time Measurement Method of Servo Profile Error of Parametric Curve Track
CN114290147B (en) Automobile hub polishing system and method based on cooperation of duplex robot
CN104166346A (en) Servo system control method based on friction compensation
CN115113582A (en) A five-axis position loop gain off-line correction method for part contour error
CN113268037B (en) Multi-axis cooperative control method based on time synchronization
CN111590570A (en) Contour control method for synchronous cross-coupling robot
CN114740800B (en) A dual-sliding mode direct contour control method for parametric curve machining paths
Geng et al. A tool path correction and compression algorithm for five-axis CNC machining
Chang et al. Minimum-time contour tracking with model predictive control approach
CN106681271A (en) Rotary-type noncircular profile part abrasive machining semi-physical simulation platform
Zhang et al. Contouring error control for high-speed and high-precision five-axis CNC machine tools
CN110501974A (en) A nonlinear error control method based on eight-parameter five-axis linear interpolation

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