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
field bus
rough
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

The invention relates to a multi-axis motion control interpolation algorithm based on a high-speed field bus, which is mainly applied to the fields such as an electromechanical integrated motion controller, a numerical control system, a robot control system, and the like, and is especially suitable for the application needing multi-axis high-speed high-precision gang control. The steps for realizing the algorithm are as follows: performing rough interpolation, speed configuration and fine interpolation on a section of target position sequence into rough interpolation, so as to reconfigure the position and the speed; communicating with a servo motor driver in the manner of high-speed field bus; and finally realizing the high-speed high-precision position control. The multi-axis interpolation algorithm comprises rough interpolation, speed configuration, fine interpolation and high-speed industrial Ethernet bus.

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. the multi-axis motion control interpolation algorithm based on high-speed field bus, the realization of this algorithm is that one section of target location sequence is divided into rough interpolation, speed planning, three processes of essence interpolation are to position and speed reconstruct again, mode and motor servo driver by high-speed field bus carry out communication, finally realize high-speed high-precision position control, it is characterized in that this multi-axis interpolation algorithm comprises rough interpolation, speed planning, smart interpolation and high-speed industrial industry ethernet form;
Described rough interpolation refers to and once reads in many little line segments, and with parameter p, represent position, v represents speed, and a represents acceleration, and t represents the time; 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 this process is divided following three kinds of situations:
The first: p is final position;
The second: this little line segment is oversize, so p certain position that just mediates;
The third: 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;
Described speed planning refers to the data of rough interpolation is carried out to speed planning, is specially: with 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, according to
Figure FSB0000116622880000011
value, minute v j> v j+1and v j< v j+1two kinds of situations are processed;
Described smart interpolation be by the operational factor obtaining from bus 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;
Described spline interpolation is:
A, with tangential linear interpolation, realize curve interpolating;
B, at every turn to X-axis feeding one step, revise the direction of tangent line, to approach straight line.
2. the multi-axis motion control interpolation algorithm based on high-speed field bus as claimed in claim 1, is characterized in that: described high-speed field bus be real-time bus based on industrial ethernet protocol 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 (5)

* 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

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
CN101180591A (en) * 2005-03-23 2008-05-14 赫克有限公司 Method of tolerance-based trajectory planning

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
CN104160617B (en) Control device of electric motor
CN103048953B (en) Segmented interpolation method of NURBS (Non-Uniform Rational B-Spline) curve based on ARM9 (Advanced RISC Machines) embedded system and FPGA (Field Programmable Gate Array)
CN107608313A (en) A kind of double SPL interpolation rate planing methods of five axles
CN103676787B (en) A kind of center of circle model space circular interpolation method for kinetic control system
Bahr et al. A real-time scheme of cubic parametric curve interpolations for CNC systems
Jin et al. A fine-interpolation-based parametric interpolation method with a novel real-time look-ahead algorithm
CN104204977A (en) Track control device
CN103984285A (en) Multi-constraint five-shaft machining feeding rate setting method
JP2009053926A (en) Route-planning device and route-planning method
CN105334805A (en) Numerical controller having corner path generation function in consideration of post-interpolation acceleration/deceleration
EP3470943A2 (en) Method for calculating reference variables of a precision machine, ultra-precision or precision machine and workpiece
CN103454979B (en) Quick variable-speed curve circular interpolation method packaged into PLCopen instruction
Li et al. Accurate interpolation and contouring control algorithm based on FIR filters for the corner transition
CN103048954A (en) Segmented interpolation method of NURBS (Non-Uniform Rational B-Spline) curve based on ARM9 (Advanced RISC Machines) embedded system and FPGA (Field Programmable Gate Array)
CN109188915B (en) Speed planning method embedded with motion performance regulating mechanism
Jeong et al. Jerk limited velocity profile generation for high speed industrial robot trajectories
Ilyukhin et al. Nonlinear adaptive correction of continuous path speed of the tool for high efficiency robotic machining
Tang et al. Real-time corner smoothing based on FIR filtering for CNC machine tools
Wen et al. A 3D path following control scheme for robot manipulators
TW201344383A (en) A trajectory optimization method for machine tools
Chuyen et al. Sliding mode control strategy based lead screw control design in electromechanical tracking drive system
So et al. 5-Axis machining speed enhancement by step length optimization
CN112424712B (en) Method for determining a rough trajectory from a given contour

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