[go: up one dir, main page]

CN102081354B - Multi-axis motion control interpolation algorithm based on high-speed field bus - Google Patents

Multi-axis motion control interpolation algorithm based on high-speed field bus Download PDF

Info

Publication number
CN102081354B
CN102081354B CN201010576248.4A CN201010576248A CN102081354B CN 102081354 B CN102081354 B CN 102081354B CN 201010576248 A CN201010576248 A CN 201010576248A CN 102081354 B CN102081354 B CN 102081354B
Authority
CN
China
Prior art keywords
speed
interpolation
line segment
bus
field bus
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
CN201010576248.4A
Other languages
Chinese (zh)
Other versions
CN102081354A (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.)
ADTECH (SHENZHEN) TECHNOLOGY Co Ltd
Original Assignee
ADTECH (SHENZHEN) TECHNOLOGY Co Ltd
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 ADTECH (SHENZHEN) TECHNOLOGY Co Ltd filed Critical ADTECH (SHENZHEN) TECHNOLOGY Co Ltd
Priority to CN201010576248.4A priority Critical patent/CN102081354B/en
Publication of CN102081354A publication Critical patent/CN102081354A/en
Application granted granted Critical
Publication of CN102081354B publication Critical patent/CN102081354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

一种基于高速现场总线的多轴运动控制插补算法。该项发明主要应用于机电一体化的运动控制器,数控系统,机器人控制系统等领域,尤其需要多轴高速高精的联动控制应用上。该算法的实现是将一段目标位置序列分成粗插补,速度规划,精插补三个过程对位置和速度再次重构,通过高速现场总线的方式和伺服电机驱动器进行通讯,最终实现高速度高精度的位置控制。其特征在于该多轴插补算法包括粗插补,速度规划,精插补和高速工业以太网总线构成。

Figure 201010576248

An interpolation algorithm for multi-axis motion control based on high-speed fieldbus. This invention is mainly used in the fields of mechatronic motion controllers, numerical control systems, robot control systems, etc., especially in applications that require multi-axis high-speed and high-precision linkage control. The realization of this algorithm is to divide a target position sequence into three processes of rough interpolation, speed planning and fine interpolation to reconstruct the position and speed again, communicate with the servo motor driver through the high-speed field bus, and finally achieve high speed and high speed. Precision position control. It is characterized in that the multi-axis interpolation algorithm includes rough interpolation, speed planning, fine interpolation and high-speed industrial Ethernet bus.

Figure 201010576248

Description

A kind of multi-axis motion control interpolation algorithm based on high-speed field bus
Technical field:
A kind of multi-axis motion control interpolation algorithm based on high-speed field bus.This invention is mainly used in the motion controller of electromechanical integration, digital control system, and the fields such as robot control system, especially need the interlock of multiaxis high speed and super precision to control in application.
Background technology:
Realize at present interpolating method that multiaxis controls and be motion control interpolator according to the difference of target location and current location, calculate the distance that each axle need to move, be converted into pulsed quantity or magnitude of voltage is connected to servo-driver.The realization of this method has significant limitation:
1. consider current location and target location, at the one section of movement locus being formed by short line segment sequence, cannot reach the level and smooth effect of actual motion process medium velocity;
2. travelling speed and precision cannot improve;
3. can not Real-time Feedback to the operational factor of servomechanism, the correlated variables of actual motion can not be participated in to interpolation and calculate.
4. the interlock and the closed-loop control that realize more than 5 axles are very difficult.
Summary of the invention:
This multi-axis interpolation algorithm is, by high-speed field bus, the operational factor of servo-driver is fed back to the poor device of mending, and the poor device of mending carries out rough interpolation to the target location sequence consisting of short line segment, speed planning, more smart interpolation.In essence Interpolation Process, according to the actual operation parameters feeding back to, carrying out target adjusts again.Technical scheme of the present invention is: for the track that will move, first carries out rough interpolation, once reads in many little line segments, and with p (position), v (speed), a (acceleration), t (time) is parameter; The current residing motion state of coupling system, as acceleration and deceleration or state at the uniform velocity, provides suitable p of this little line segment, v.And then carry out speed planning and use the little a serial of line sections of i mark, j mark line segment chain-ordering, v ibe i-1 and i the tarnsition velocity between little line segment, v jfor the tarnsition velocity between rear j-1 and j line segment chain is processed in link.If j line segment chain length is s j, starting velocity and end speed are respectively v jand v j+1, the peak acceleration of line segment chain is a max, a minute situation is calculated.Finally carry out smart interpolation and from bus, obtain the operational factors such as physical location and speed, in conjunction with uncompleted Place object sequence, with natural curve shape, with the equation of higher degree, again describe, carry out spline interpolation.
Accompanying drawing explanation: Fig. 1 is the interpolation algorithm process flow diagram based on high-speed bus;
Fig. 2 is that the interpolation algorithm based on high-speed bus calculates design sketch;
Embodiment:
1. for the track that will move, first carry out rough interpolation, once read in many little line segments, with p (position), v (speed), a (acceleration), t (time) is parameter; The current residing motion state of coupling system, as acceleration and deceleration or state at the uniform velocity, provides suitable p of this little line segment, and (this process has three kinds of situations to v, and the first: P is final position.The second situation: this little line segment is oversize, certain position that p just mediates so.The third situation: need several little line segment splicings just can obtain this p); Obtaining this distal point position p is exactly the point that rough interpolation obtains, and then this location point is just done the distal point of smart interpolation by taking away.
2. the data of pair rough interpolation are carried out speed planning, use the little a serial of line sections of i mark, j mark line segment chain-ordering, v ibe i-1 and i the tarnsition velocity between little line segment, v jfor the tarnsition velocity between rear j-1 and j line segment chain is processed in link.If j line segment chain length is s j, starting velocity and end speed are respectively v jand v j+1, the peak acceleration of line segment chain is a maxif had
Figure BSA00000376131000021
process in two kinds of situation below.
Situation one: if v j> v j+1, want reverse scan line segment chain, adjust v jsize, order
v j = v j + 1 2 + 2 a max s j - - - ( 1 )
V jafter change, to rejudge v j-1if,
V j-1> v jand
Figure BSA00000376131000031
To adjust v j-1size, order
v j - 1 = v j 2 + 2 a max s j - 1 - - - ( 2 )
If v j-1> v jand
Figure BSA00000376131000033
or v j-1≤ v j, need not adjust v j-1, reverse scan stops.V j-2the rest may be inferred.
Situation two: if v j< v j+1, this section of actual speed, add less than v j+1, adjust the speed v of this point j+1make
v j + 1 = v j 2 + 2 a max s j - - - ( 3 )
If do not adjusted v j+1affect the velocity analysis of subsequent segment.This algorithm is simple, effective, and machining precision is high, and resource consumption is little, and efficiency is high.
3. by high-speed bus, obtain in real time the parameters such as speed in operational process and position;
4. according to the physical location obtaining, the operational factors such as speed, in conjunction with uncompleted Place object sequence, describe with the equation of higher degree with natural curve shape, carry out spline interpolation.Drafting natural curve equation is:
y=ax^3+bx^2+cx+d
A, with tangential linear interpolation, realize curve interpolating.
B, at every turn to x axle feeding one step, revise the direction of tangent line (recalculating four parameters), to approach straight line.

Claims (2)

1.一种基于高速现场总线的多轴运动控制插补算法,该算法的实现是将一段目标位置序列分成粗插补,速度规划,精插补三个过程对位置和速度再次重构,通过高速现场总线的方式和伺服电机驱动器进行通讯,最终实现高速度高精度的位置控制,其特征在于该多轴插补算法包括粗插补,速度规划,精插补和高速工业以太网总线构成;1. A multi-axis motion control interpolation algorithm based on high-speed field bus. The realization of this algorithm is to divide a target position sequence into three processes: rough interpolation, speed planning, and fine interpolation to reconstruct the position and speed again. The high-speed field bus communicates with the servo motor driver, and finally realizes high-speed and high-precision position control. It is characterized in that the multi-axis interpolation algorithm includes rough interpolation, speed planning, fine interpolation and high-speed industrial Ethernet bus; 所述粗插补是指一次读入多条小线段,以参数p表示位置,v表示速度,a表示加速度,t表示时间;结合系统目前所处的运动状态如加减速或匀速状态,给出这个小线段一个合适的p,v,这个过程分以下三种情况:The rough interpolation refers to reading in a plurality of small line segments at one time, with the parameter p representing the position, v representing the velocity, a representing the acceleration, and t representing the time; combined with the current state of motion of the system such as acceleration and deceleration or a constant speed state, the given This small line segment has a suitable p and v. This process is divided into the following three situations: 第一种:p为终点位置;The first type: p is the end position; 第二种:这个小线段太长,那么p就处于中间某个位置;The second type: this small line segment is too long, then p is somewhere in the middle; 第三种:需要若干个小线段拼接才能得到这个p;The third type: several small line segments need to be stitched together to obtain this p; 获得这个末端点位置p就是粗插补获取的点,然后这个位置点就被拿去做精插补的末端点;Obtaining the position p of this end point is the point obtained by rough interpolation, and then this position point is used as the end point of fine interpolation; 所述速度规划是指对粗插补的数据进行速度规划,具体为:用i标记小线段序列,j标记线段链序列,vi为第i-1与第i个小线段之间的转角速度,vj为链接处理后第j-1与第j个线段链之间的转角速度;设第j个线段链长度为sj,起始速度和结束速度分别为vj和vj+1,线段链的最大加速度为amax,根据
Figure FSB0000116622880000011
的值,分vj>vj+1和vj<vj+1两种情况进行处理;
The speed planning refers to the speed planning of the rough interpolation data, specifically: mark the sequence of small line segments with i, mark the sequence of line segment chains with j, and v i is the angular velocity between the i-1th and i-th small line segments , v j is the angular velocity between the j-1th line segment chain and the j-th line segment chain after link processing; let the length of the j-th line segment chain be s j , the starting speed and the ending speed are v j and v j+1 respectively, The maximum acceleration of the line segment chain is a max , according to
Figure FSB0000116622880000011
The value of v j >v j+1 and v j <v j+1 are divided into two cases for processing;
所述精插补是将从总线获得的运行参数如实际位置和速度,结合未完成的位置目标序列,以自然曲线形状用高次方程再次描述,进行样条插补;The fine interpolation is to use the operating parameters obtained from the bus, such as actual position and speed, in combination with the unfinished position target sequence, to describe again with a high-order equation in the shape of a natural curve, and perform spline interpolation; 所述样条插补为:The spline interpolation is: A、用沿切线方向的直线插补来实现曲线插补;A. Curve interpolation is realized by linear interpolation along the tangential direction; B、每次向X轴进给一步,修改一下切线的方向,以逼近直线。B. Feed one step to the X axis each time, and modify the direction of the tangent to approach the straight line.
2.如权利要求1所述基于高速现场总线的多轴运动控制插补算法,其特征在于:所述高速现场总线是基于工业以太网协议的实时总线如EtherCAT,PowerLink。2. The multi-axis motion control interpolation algorithm based on high-speed field bus as claimed in claim 1, characterized in that: said high-speed field bus is a real-time bus based on industrial Ethernet protocol such as EtherCAT, PowerLink.
CN201010576248.4A 2010-12-01 2010-12-01 Multi-axis motion control interpolation algorithm based on high-speed field bus Active CN102081354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010576248.4A CN102081354B (en) 2010-12-01 2010-12-01 Multi-axis motion control interpolation algorithm based on high-speed field bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010576248.4A CN102081354B (en) 2010-12-01 2010-12-01 Multi-axis motion control interpolation algorithm based on high-speed field bus

Publications (2)

Publication Number Publication Date
CN102081354A CN102081354A (en) 2011-06-01
CN102081354B true CN102081354B (en) 2014-03-26

Family

ID=44087361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010576248.4A Active CN102081354B (en) 2010-12-01 2010-12-01 Multi-axis motion control interpolation algorithm based on high-speed field bus

Country Status (1)

Country Link
CN (1) CN102081354B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197673A (en) * 2012-01-05 2013-07-10 沈阳新松机器人自动化股份有限公司 Robot motion track locating method and robot motion track locating device
CN103853043B (en) * 2012-11-30 2017-02-22 北京配天技术有限公司 Method for realizing synchronous PTP motion in robots and device thereof
CN105045098B (en) * 2015-05-29 2017-11-21 希美埃(芜湖)机器人技术有限公司 A kind of control method of Control During Paint Spraying by Robot track automatic creation system
CN105204344B (en) * 2015-10-20 2018-04-20 上海无线电设备研究所 radar servo tracking system digital control method
CN105834578B (en) * 2016-04-07 2017-12-01 武汉菲仕运动控制系统有限公司 A kind of Biaxial synchronous laser cutting machine control system
CN115220395A (en) * 2022-07-25 2022-10-21 广东美的智能科技有限公司 Multi-axis servo system and control method thereof, main controller and servo amplifier

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2786677Y (en) * 2005-04-18 2006-06-07 杭州浙大辰光科技有限公司 Embedded numerical control system
CN101526808A (en) * 2009-01-09 2009-09-09 成都广泰实业有限公司 Numerical control software and hardware multi-axis interpolation method of machine tool

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7792604B2 (en) * 2005-03-23 2010-09-07 Hurco Companies, Inc. Method of performing additive lookahead for adaptive cutting feedrate control

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2786677Y (en) * 2005-04-18 2006-06-07 杭州浙大辰光科技有限公司 Embedded numerical control system
CN101526808A (en) * 2009-01-09 2009-09-09 成都广泰实业有限公司 Numerical control software and hardware multi-axis interpolation method of machine tool

Also Published As

Publication number Publication date
CN102081354A (en) 2011-06-01

Similar Documents

Publication Publication Date Title
CN102081354B (en) Multi-axis motion control interpolation algorithm based on high-speed field bus
CN103941647B (en) Flexible feed speed control interpolating method for Embedded NC equipment
CN105710881B (en) A kind of robot end&#39;s continuous path plans transition method
CN104281099B (en) A kind of NURBS direct interpolation method and devices for considering processing characteristics
CN108227630B (en) Free-form surface numerical control machining method adopting time parameter polynomial interpolation
CN104160617B (en) Control device of electric motor
CN105700466A (en) Curvature fairing method for high-speed numerical control processing track
CN105892402A (en) Point-to-point motion control method for mechanical arm
CN109901518B (en) An acceleration and deceleration speed planning method for CNC machine tools under constant force constraints
CN103984285A (en) Multi-constraint five-shaft machining feeding rate setting method
CN106094737A (en) A kind of NC Machining Speed optimal control method specified under the conditions of mismachining tolerance
Xu et al. Trajectory planning with Bezier curve in Cartesian space for industrial gluing robot
Kombarov et al. S-curve algorithm of acceleration/deceleration with smoothly-limited jerk in high-speed equipment control tasks
Li et al. Accurate interpolation and contouring control algorithm based on FIR filters for the corner transition
CN118226802B (en) Speed planning method, device, numerical control equipment, numerical control machine tool, medium and product
CN103454979A (en) Quick variable-speed curve circular interpolation method packaged into PLCopen instruction
CN113835397A (en) Linear NC machining path smoothing method based on B-spline curve and path integral
Ko et al. Machineability in NURBS interpolator considering constant material removal rate
Ilyukhin et al. Nonlinear adaptive correction of continuous path speed of the tool for high efficiency robotic machining
WO2022138843A9 (en) Numerical control device
CN116257020A (en) Control method and device of turning and milling composite control system
CN103529755B (en) A kind of High-precision linear interpolation method
TW201344383A (en) A trajectory optimization method for machine tools
Tang et al. Real-time corner smoothing based on FIR filtering for CNC machine tools
So et al. 5-Axis machining speed enhancement by step length optimization

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
DD01 Delivery of document by public notice

Addressee: Wang Xiaogang

Document name: payment instructions

DD01 Delivery of document by public notice