CN105137914B - A kind of 3 circule method parameter adaptive interpolation algorithms applied to Digit Control Machine Tool - Google Patents

A kind of 3 circule method parameter adaptive interpolation algorithms applied to Digit Control Machine Tool Download PDF

Info

Publication number
CN105137914B
CN105137914B CN201510401156.5A CN201510401156A CN105137914B CN 105137914 B CN105137914 B CN 105137914B CN 201510401156 A CN201510401156 A CN 201510401156A CN 105137914 B CN105137914 B CN 105137914B
Authority
CN
China
Prior art keywords
interpolation
points
parameter
circular
point
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
CN201510401156.5A
Other languages
Chinese (zh)
Other versions
CN105137914A (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.)
GUANGDONG SONGSHAN POLYTECHNIC COLLEGE
Original Assignee
GUANGDONG SONGSHAN POLYTECHNIC COLLEGE
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 GUANGDONG SONGSHAN POLYTECHNIC COLLEGE filed Critical GUANGDONG SONGSHAN POLYTECHNIC COLLEGE
Priority to CN201510401156.5A priority Critical patent/CN105137914B/en
Publication of CN105137914A publication Critical patent/CN105137914A/en
Application granted granted Critical
Publication of CN105137914B publication Critical patent/CN105137914B/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/404Numerical 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 control arrangements for compensation, e.g. for backlash, overshoot, tool offset, tool wear, temperature, machine construction errors, load, inertia

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

The present invention relates to a kind of 3 circule method parameter adaptive interpolation algorithms applied to Digit Control Machine Tool, its step is:First the equation of non-circular curve is expressed with parameter type, it is ensured that often take the corresponding functional value of a parameter;Again by etc. take three points D, E, F successively on curve in the way of parameter;Calculate the radius R of the center of circle point coordinates and circular arc by 3 points of circular arc;Derive that circular arc along inverse discriminate, judges the suitable inverse of this circular interpolation again;The parameter intermediate point H of D points and E points is found out, and calculates H points to the distance in the center of circle, the parameter intermediate point I of E points and F points is similarly found out, and calculate I points to the distance in the center of circle;Calculate respectivelyWith, wherein,, and willWithAs error of interpolation;CompareWithWith interpolation allowable errorSize.It is simple with interpolation calculating, solution procedure is simplified, solve that difficulty is small, improves the features such as interpolation quality and efficiency.

Description

A kind of 3 circule method parameter adaptive interpolation algorithms applied to Digit Control Machine Tool
Technical field
The invention belongs to numerical control machine tool technique field, is related to a kind of 3 circule method parameter adaptives applied to Digit Control Machine Tool Interpolation algorithm.
Background technology
Interpolation is the core in Numeric Control Technology, and it can be according to the overall size of part, with reference to precision and technique etc. It is required that some intermediate points are determined according between known point of certain mathematical method on preferable track or profile, so as to force Nearly preferable workpiece configurations profile, interpolation are also referred to as " densification of data point ".
Interpolation algorithm will solve two problems, first, node selection, i.e., carried out according to what rule and condition on curve Take a little;Second, what kind of moving interpolation is carried out between the interpolation mode of adjacent node, i.e. adjacent node.Choosing for interpolator node Take mode, it is general using etc. parameter, equal error, etc. three kinds of modes such as chord length carry out.Calculating Deng parameter interpolation simply takes a little It is convenient, but take quantity a little can be a lot;Equal error method can control each local error of interpolation well, reduce interpolated point Quantity, but this method is related to the solution of biquadratic equation, and its amount of calculation is very big, and solution procedure is complicated;It is this etc. chord length Interpolation mode for the Curvature varying of interpolation curve it is larger when, larger error of interpolation can be produced.Above-mentioned three kinds of interpolating methods are each There are advantage and disadvantage, if three kinds of interpolation point sampling methods can be combined, interpolation algorithm error can be met, and can, which is reduced, to be calculated Amount, this is also our directions to be studied.
Common Digit Control Machine Tool possesses straight line and circular interpolation function, and for non-circular curve, traditional interpolation mode will select Linear interpolation is used between the adjacent node taken, i.e., adjacent point-to-point transmission is connected using small straightway, when the quantity of node obtains When enough, the profile and the actual profile of curve that some sections of broken lines are connected are very close, and this interpolating method calculates simply, Interpolation is convenient, but with regard to interpolation quality and for the control of lathe, broken line connection is for interpolation quality and interpolation feed speed Harmful.Compared with linear interpolation mode, circular interpolation has more advantages, is attached between adjacent node with circular arc, The surface of processing can be smoothly transitted with circular arc, and the quality of processing is high, and the effect of processing is good.
The content of the invention
To overcome above-mentioned technical disadvantages, the present invention provides a kind of 3 circule method parameter adaptives applied to Digit Control Machine Tool Interpolation algorithm, it, to the difference between the distance in the center of circle and center of circle radius as error of interpolation, passes through control using parameter intermediate point Interpolation worst error value carrys out adjusting parameter, realizes parameter adaptive, and its calculating process is simpler than traditional equal error method, its interpolation The traditional Isoparametric method of ratio of precision is high;2 traditional alignments are substituted with three-point circle, linear interpolation is substituted with circular interpolation, subtracted Lack interpolator node, improve interpolation quality and Product Precision;By the technology law using macroprogram in HTC32100am turning centers The upper turning and milling for realizing non-circular curve respectively, verifies solve the circular interpolation of non-circular curve to the interpolation technique Problem.
Technical method is used by the present invention solves its technical problem:A kind of 3 circule methods applied to Digit Control Machine Tool are joined Number adaptive interpolation algorithm, its step are as follows:
The first step, the equation of non-circular curve is expressed with parameter type, it is ensured that often takes the corresponding function of a parameter Value;
Second step, by etc. take three points D, E, F successively on curve in the way of parameter, it is ensured that three points are in same curves On;
3rd step, calculate the radius R of the center of circle point coordinates and circular arc by 3 points of circular arc;
4th step, derive that circular arc along inverse discriminate, judges the suitable inverse of this circular interpolation;
5th step, finds out the parameter intermediate point H of D points and E points, and calculates H points to the distance in the center of circle, similarly find out E points With the parameter intermediate point I of F points, and I points are calculated to the distance in the center of circle
6th step, is calculated respectivelyWith, wherein,, and willWithMissed as interpolation Difference;
7th step, comparesWithWith interpolation allowable errorSize, share four kinds of possibility, ifWithRespectively less than etc. InMeet error of interpolation condition, can directly carry out circular interpolation;IfWithIt is all higher than, then 3 points of works of D, H, E are taken Calculating is re-started for new interpolated point, meets to carry out circular interpolation during error of interpolation condition, then takes parameter when being unsatisfactory for again Intermediate point calculates;IfIt is more thanAndIt is less than or equal to, then 3 points of D, H, I, which is taken, as new interpolated point re-starts calculating, Meet to carry out circular interpolation during error of interpolation condition, otherwise take parameter intermediate point again;IfIt is less than or equal toAndIt is more than, then 3 points of D, E, I is taken as new interpolated point and re-starts calculating, meets to carry out circular interpolation during error of interpolation condition, it is no Parameter intermediate point is then taken again;
8th step, the starting point using the terminal of a upper interpolation as next interpolation, by etc. select again again successively in the way of parameter Take at 2 points, this three is pressed by above step carries out interpolation calculating, circulates according to this, until interpolation terminates.
The beneficial effects of the invention are as follows:First, solving non-circular curve carries out interpolator node choosing method during interpolation, it is not rounded The circular interpolation of curve optimizes the calculating of error with parameter intermediate point, by controlling maximum error of interpolation come adjustment parameter, reality Now parameter is adaptive;Second, solving the correlation computations of circular interpolation, by adjacent 3 points, the center of circle and radius are obtained, and Circular arc is derived along inverse discriminate by 3 points on the center of circle and circular arc of position relationship, the circular arc of judgement is along inverse, so as to carry out Circular interpolation;Third, solving the conversion that interpolation calculates thinking and macroprogram, the thinking that interpolation calculates is entered with algorithm flow chart Row expression, and the macroprogram language that borrows lathe and can understand is write, the circular interpolation for making to carry out non-circular curve on lathe obtains To realize;Fourth, solves the concrete application of technology, with reference to the product of real enterprise's non-circular curve(LED lamp reflector is thrown Thing line curve and elliptic curve), on the horizontal turning centers of specific HTC32100am, carry out numerical control turning and numerical control milling Checking, the correctness of this technology is verified with real effect, have that to simplify interpolation calculating, solution procedure simple, solved Difficulty is small, improves the features such as interpolation quality and efficiency.
Brief description of the drawings
Fig. 1 is present invention process flow chart.
Embodiment
With reference to embodiment, the present invention is further described.
Referring to Fig. 1, a kind of 3 circule method parameter adaptive interpolation algorithms applied to Digit Control Machine Tool, its step is as follows:
The first step, the equation of non-circular curve is expressed with parameter type, it is ensured that often takes the corresponding function of a parameter Value;
Second step, by etc. take three points D, E, F successively on curve in the way of parameter, it is ensured that three points are in same curves On;
3rd step, calculate the radius R of the center of circle point coordinates and circular arc by 3 points of circular arc;
4th step, derive that circular arc along inverse discriminate, judges the suitable inverse of this circular interpolation;
5th step, finds out the parameter intermediate point H of D points and E points, and calculates H points to the distance in the center of circle, similarly find out E points With the parameter intermediate point I of F points, and I points are calculated to the distance in the center of circle
6th step, is calculated respectivelyWith, wherein,, and willWithAs error of interpolation;
7th step, comparesWithWith interpolation allowable errorSize, share four kinds of possibility, ifWithRespectively less than It is equal toMeet error of interpolation condition, can directly carry out circular interpolation;IfWithIt is all higher than, then 3 points of D, H, E is taken Calculating is re-started as new interpolated point, meets to carry out circular interpolation during error of interpolation condition, then takes ginseng when being unsatisfactory for again Number intermediate point calculates;IfIt is more thanAndIt is less than or equal to, then 3 points of D, H, I, which is taken, as new interpolated point re-starts meter Calculate, meet to carry out circular interpolation during error of interpolation condition, otherwise take parameter intermediate point again;IfIt is less than or equal toAndIt is more than, then 3 points of D, E, I is taken as new interpolated point and re-starts calculating, meets to carry out circular interpolation during error of interpolation condition, it is no Parameter intermediate point is then taken again;
8th step, the starting point using the terminal of a upper interpolation as next interpolation, by etc. select again again successively in the way of parameter Take at 2 points, this three is pressed by above step carries out interpolation calculating, circulates according to this, until interpolation terminates.
Embodiment 1:
When by etc. parameterMode takes three points D, E, F on curve,, then 3 points of coordinate For, it is known that respectively D(,)、E(,)、F(,), then the centre point C of three null circles coordinate is passed through(,) For that can ask, round radius R also for that can ask, takes 2 points of D, E parameter intermediate point H, takes E, F parameter intermediate point I, then H points are to just Parameter be, I points are to parameter just, the coordinate of its H, I point is respectively H(,)、I( ,), it is, it is known that can then obtain H points to center of circle C distance, the distance of I points to center of circle C;CalculateWith arc radius R difference,With arc radius R difference, and as error of interpolation.
CompareWith the size of allowable error value, whenWithWhen being respectively less than equal to allowable error value, directly excessively D, E, 3 points of F makees circular interpolation;WhenWithWhen being all higher than allowable error value, 3 points of D, H, E is taken to recalculate error of interpolation;WhenIt is small In equal to allowable error andDuring more than allowable error value, 3 points of D, E, I is taken to recalculate error of interpolation;WhenMore than allowable error AndDuring less than or equal to allowable error value, 3 points of D, H, I is taken to recalculate error of interpolation;Untill error permissive condition is met.
According to the algorithm provided, the programming feature of combined techniques FANUC digital control systems writes macroprogram instruction format.It is whole grand Assignment statement, Do statement are used in programming(WHILE)And skip instruction(GOTO);
Algorithm is used on the curves such as ellipse, parabola, according to the canonical form of elliptic equation equation, Made into parametric form,, willt As interpolation parameters, specific macroprogram is programmed, similarly, Specific macroprogram is write according to parabolical equation;
Specific cutting checking is carried out using turning center, turning centre can not only carry out turnery processing, while also may be used To carry out Milling Process, and the precision processed is high.This algorithm is really subjected to Product processing on lathe, by detecting product Crudy carrys out the correctness and high efficiency of verification algorithm.
The present invention one is that solve non-circular curve to carry out interpolator node choosing method during interpolation, the circular interpolation of non-circular curve Optimize the calculating of error with parameter intermediate point, by controlling maximum error of interpolation to realize the adaptive of parameter come adjustment parameter; Second, solving the correlation computations of circular interpolation, by adjacent 3 points, the center of circle and radius are obtained, and by the center of circle and circular arc 3 points of position relationship derives circular arc along inverse discriminate, and the circular arc of judgement is along inverse, so as to carry out circular interpolation;Third, solve Interpolation calculates the conversion of thinking and macroprogram, the thinking that interpolation calculates is expressed with algorithm flow chart, and borrow lathe The macroprogram language that can be understood is write, and the circular interpolation for making to carry out non-circular curve on lathe is achieved;Fourth, solve The concrete application of technology, with reference to the product of real enterprise's non-circular curve(LED lamp reflector parabolic curve and ellipse are bent Line), on the horizontal turning centers of specific HTC32100am, the checking of numerical control turning and numerical control milling is carried out, really to imitate Fruit verifies the correctness of this technology, has that to simplify interpolation calculating, solution procedure simple, solves that difficulty is small, it is slotting to improve The features such as mending quality and efficiency.

Claims (1)

  1. A kind of 1. 3 circule method parameter adaptive interpolation algorithms applied to Digit Control Machine Tool, it is characterized in that step is as follows:
    The first step, the equation of non-circular curve is expressed with parameter type, it is ensured that often takes the corresponding functional value of a parameter;
    Second step, by etc. take three points D, E, F successively on curve in the way of parameter, it is ensured that three points are on same curves;
    3rd step, calculate the radius R of the center of circle point coordinates and circular arc by 3 points of circular arc;
    4th step, derive that circular arc along inverse discriminate, judges the suitable inverse of this circular interpolation;
    5th step, finds out the parameter intermediate point H of D points and E points, and calculates H points to the distance in the center of circle, similarly find out E points and F points Parameter intermediate point I, and calculate I points to the distance in the center of circle
    6th step, is calculated respectivelyWith, wherein,, and willWithAs error of interpolation;
    7th step, comparesWithWith interpolation allowable errorSize, share four kinds of possibility, ifWithRespectively less than it is equal to Meet error of interpolation condition, can directly carry out circular interpolation;IfWithIt is all higher than, then 3 points of D, H, E is taken as new Interpolated point re-start calculating, meet to carry out circular interpolation during error of interpolation condition, then taken again among parameter when being unsatisfactory for Point calculates;IfIt is more thanAndIt is less than or equal to, then 3 points of D, H, I is taken as new interpolated point and re-starts calculating, is met Circular interpolation is carried out during error of interpolation condition, otherwise takes parameter intermediate point again;IfIt is less than or equal toAndIt is more than, then 3 points of D, E, I is taken as new interpolated point and re-starts calculating, meets to carry out circular interpolation during error of interpolation condition, otherwise again Take parameter intermediate point;
    8th step, the starting point using the terminal of a upper interpolation as next interpolation, by etc. choose two again again successively in the way of parameter Point, this three is pressed by above step carries out interpolation calculating, circulates according to this, until interpolation terminates.
CN201510401156.5A 2015-07-10 2015-07-10 A kind of 3 circule method parameter adaptive interpolation algorithms applied to Digit Control Machine Tool Active CN105137914B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510401156.5A CN105137914B (en) 2015-07-10 2015-07-10 A kind of 3 circule method parameter adaptive interpolation algorithms applied to Digit Control Machine Tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510401156.5A CN105137914B (en) 2015-07-10 2015-07-10 A kind of 3 circule method parameter adaptive interpolation algorithms applied to Digit Control Machine Tool

Publications (2)

Publication Number Publication Date
CN105137914A CN105137914A (en) 2015-12-09
CN105137914B true CN105137914B (en) 2018-01-19

Family

ID=54723292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510401156.5A Active CN105137914B (en) 2015-07-10 2015-07-10 A kind of 3 circule method parameter adaptive interpolation algorithms applied to Digit Control Machine Tool

Country Status (1)

Country Link
CN (1) CN105137914B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113791581B (en) * 2021-08-03 2023-08-08 天津中德应用技术大学 Spherical shrub sphere interpolation algorithm based on equal chord division sampling

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0618522A1 (en) * 1992-10-09 1994-10-05 Fanuc Ltd. Numerically controlled apparatus
CN101493687A (en) * 2009-03-02 2009-07-29 广西大学 Real time forward looking whole-process acceleration and deceleration controlled NURBS curve self-adapting subsection interpolation method
CN103163837A (en) * 2011-12-12 2013-06-19 沈阳高精数控技术有限公司 Tool path self-adaptive management system and method for five-axis numerical control machining

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6311231A (en) * 1986-07-01 1988-01-18 Mitsubishi Electric Corp Control method for wire electrical discharge machining device
JP2857692B2 (en) * 1989-04-10 1999-02-17 株式会社ソディック Workpiece processing method by numerical control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0618522A1 (en) * 1992-10-09 1994-10-05 Fanuc Ltd. Numerically controlled apparatus
CN101493687A (en) * 2009-03-02 2009-07-29 广西大学 Real time forward looking whole-process acceleration and deceleration controlled NURBS curve self-adapting subsection interpolation method
CN103163837A (en) * 2011-12-12 2013-06-19 沈阳高精数控技术有限公司 Tool path self-adaptive management system and method for five-axis numerical control machining

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
一种参数曲线实时数控插补计算新方法;孙海洋等;《国防科技大学学报》;20081231;第30卷(第3期);第122-127页 *
参数曲线的自适应插补算法;游有鹏等;《南京航空航天大学学报》;20001231;第32卷(第6期);第667-671页 *
基于三点圆弧拟合法的椭圆曲线R参数编程研究;彭美武;《制造业自动化》;20140228;第36卷(第2期);第5-8页 *
巧用参数方程加工椭圆曲线;曹智梅;《南方金属》;20120831(第187期);第44-47页 *
非圆曲线参数自适应插补算法研究;曹智梅;《制造业自动化》;20140430;第36卷(第4期);第4-8页 *

Also Published As

Publication number Publication date
CN105137914A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
CN109571473B (en) Error-controllable small line segment trajectory fairing method
CN106313047B (en) A kind of real-time turning transition method of robot based on Bezier battens
CN102722140B (en) Multi-period corner small straight-line segment interpolation method based on S curve acceleration/deceleration control
CN104615084B (en) Machining feed speed optimized tool path curve contour error compensation method
CN106094737B (en) A kind of NC Machining Speed optimal control method under the conditions of specified mismachining tolerance
CN106354098B (en) A kind of NURBS composite surfaces are fixed a cutting tool teeth processing route generating method
CN103592891A (en) Method for cutter-axis vector fairing of complex curved surface five-axis numerical control machining based on kinematical constraints
CN102799145A (en) S-curve acceleration linear interpolation method adopting multi-period constant-acceleration transition for corner
CN104898556B (en) Determined to be processed the point vector envelope method of spiral camber profile by forming tool
Hu et al. Five-axis tool path generation based on machine-dependent potential field
CN102393678A (en) Track smoothing method suitable for five-axis numerical control device
CN101907876A (en) Command point shaping, compressing and interpolating method suitable for numerical control device
CN108062073A (en) A kind of circular arc smooth compression interpolation algorithm for high quality processing
CN105739436A (en) Adaptive rapid interpolation method for numerical control machine tool spline curve
CN112975992A (en) Error-controllable robot track synchronous optimization method
CN105137914B (en) A kind of 3 circule method parameter adaptive interpolation algorithms applied to Digit Control Machine Tool
CN104020719A (en) S-type acceleration and deceleration control interpolation algorithm of NURBS curve segmented by speed sensitive points
CN108153245A (en) Smooth trajectory forwarding method and system
CN102540977B (en) Method for estimating error in numerical control processing
CN106774154A (en) A kind of space curve interpolating method theoretical based on osculating plane
CN106707967B (en) Three-D profile error estimation and device based on approximate test expansion
CN113111404B (en) Space continuous small line segment arc and straight line fitting method for processing track
Yan et al. Overlap classification-based and kinematically coordinated corner rounding using double asymmetrical transitions for five-axis short-segmented tool path
CN103577636B (en) A kind of spoon of blade based on curvature feature unifies discrete method
CN106444636B (en) A kind of speed planning parameter selection method suitable for continuous Mixing Curve

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