CN116149260A - Method and system for smooth transition between arcs in 3C metal processing - Google Patents

Method and system for smooth transition between arcs in 3C metal processing Download PDF

Info

Publication number
CN116149260A
CN116149260A CN202310072013.9A CN202310072013A CN116149260A CN 116149260 A CN116149260 A CN 116149260A CN 202310072013 A CN202310072013 A CN 202310072013A CN 116149260 A CN116149260 A CN 116149260A
Authority
CN
China
Prior art keywords
arc
bezier
instruction
transition
instructions
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.)
Granted
Application number
CN202310072013.9A
Other languages
Chinese (zh)
Other versions
CN116149260B (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.)
Suzhou Haozhi Industrial Control Technology Co ltd
Original Assignee
Suzhou Haozhi Industrial Control 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 Suzhou Haozhi Industrial Control Technology Co ltd filed Critical Suzhou Haozhi Industrial Control Technology Co ltd
Priority to CN202310072013.9A priority Critical patent/CN116149260B/en
Publication of CN116149260A publication Critical patent/CN116149260A/en
Application granted granted Critical
Publication of CN116149260B publication Critical patent/CN116149260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/41Numerical 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 interpolation, e.g. the computation of intermediate points between programmed end points to define the path to be followed and the rate of travel along that path
    • G05B19/4103Digital interpolation
    • 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/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34117Machine workpiece along, parallel to largest dimension
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Theoretical 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 invention provides a method and a system for smooth transition between arcs in 3C metal processing, wherein the method comprises the following steps: step 1: acquiring two connected arc interpolation instructions; step 2: judging whether the magnitudes of the head-tail deflection angles of the two connected arc interpolation instructions are within a preset range, and if the magnitudes of the head-tail deflection angles are within the preset range, executing the step 3; step 3: constructing a Bessel transition curve; step 4: and inserting the Bezier transition curve between the two motion instructions, and sequentially outputting the Bezier transition curve to a motion queue. According to the invention, the head-to-tail deflection angles of two connected arc instructions are judged, the connected arcs needing smooth transition are constructed, a Bezier transition curve is constructed, smooth transition between the arcs is ensured, the effect of improving the surface finish of a workpiece is achieved, and the processing quality and the processing precision of a product are improved; frequent speed reduction is not needed in the processing process, and good processing speed is ensured.

Description

Method and system for smooth transition between arcs in 3C metal processing
Technical Field
The invention relates to the technical field of numerical control machining, in particular to a method and a system for smooth transition between arcs in 3C metal machining.
Background
At present, in 3C metal processing, regarding smooth transition between G01 and G01 straight lines, there may be adopted methods such as parabola, bezier curve, spline curve, etc., which aim to improve geometric continuity of a processing path, thereby reducing fluctuation of uniaxial speed, suppressing magnitude of uniaxial acceleration, and achieving the purpose of improving surface finish of a workpiece. However, none of the above approaches address smooth transitions from arc to arc.
The transition method between the circular arcs commonly used in the processing at present is that the speed is reduced according to the angle when the circular arcs rotate at the same angle, which can lead to the slow processing speed and poor processing effect.
Disclosure of Invention
The invention provides a method and a system for smooth transition between circular arcs in 3C metal processing aiming at the problems.
In order to solve at least one of the above technical problems, the present invention proposes the following technical solutions:
in a first aspect, a method for smooth transition from arc to arc in 3C metal processing is provided, the method comprising the steps of:
step 1: acquiring two connected arc interpolation instructions;
step 2: judging whether the magnitudes of the head-tail deflection angles of the two connected arc interpolation instructions are within a preset range, and if the magnitudes of the head-tail deflection angles are within the preset range, executing the step 3;
step 3: constructing a Bessel transition curve;
step 4: and inserting the Bezier transition curve between the two motion instructions, and sequentially outputting the Bezier transition curve to a motion queue.
In a second aspect, a system for smooth transition between arcs in 3C metal processing is provided, and the system is used for executing the method for smooth transition between arcs in any 3C metal processing, and includes:
the arc instruction acquisition module is used for acquiring two connected arc interpolation instructions;
the head-to-tail deflection angle judging module is used for judging whether the head-to-tail deflection angles of the two connected arc interpolation instructions are within a preset range or not;
the Bezier transition curve construction module is used for constructing a Bezier transition curve;
and the motion instruction output module is used for inserting the Bezier transition curve between the two motion instructions and sequentially outputting the motion instructions to the motion queue.
In a third aspect, an apparatus for smooth transition between arcs in 3C metal working is provided, the apparatus comprising at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores at least one instruction, at least one program, code set, or instruction set, and wherein the at least one instruction, at least one program, code set, or instruction set is loaded by the processor and performs the method for smooth transition between arcs in 3C metal working of any of the above-described aspects of the invention.
In a fourth aspect, a computer readable storage medium is provided, where at least one instruction, at least one program, a code set, or an instruction set is stored, where at least one instruction, at least one program, a code set, or an instruction set is loaded by a processor and performs a method for smooth transition from arc to arc in 3C metalworking of any of the above embodiments of the invention.
The method has the advantages that the head-to-tail deflection angles of two connected arc instructions are judged, the connected arcs needing smooth transition are constructed, the Bezier transition curve is constructed, smooth transition between the arcs is ensured, the effect of improving the surface finish of a workpiece is achieved, and the processing quality and the processing precision of a product are improved; frequent speed reduction is not needed in the processing process, and good processing speed is ensured.
In addition, in the technical scheme of the invention, the technical scheme can be realized by adopting conventional means in the field without specific description.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for smooth transition from arc to arc in 3C metal processing according to an embodiment of the present invention.
Fig. 2 is an exemplary diagram of a method for constructing a bezier transition curve in step 3 according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a system for smooth transition between arcs in 3C metal processing according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an apparatus for smooth transition between arcs in 3C metal processing according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are illustrative of some, but not all embodiments of the invention and are not intended to limit the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the terms "comprises" and "comprising," along with any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1:
referring to fig. 1 of the specification, a method for smooth transition between arcs in 3C metal processing according to an embodiment of the present invention may include the following steps:
step 1: acquiring two connected arc interpolation instructions;
step 2: judging whether the magnitudes of the head-tail deflection angles of the two connected arc interpolation instructions are within a preset range, and if the magnitudes of the head-tail deflection angles are within the preset range, executing the step 3;
step 3: constructing a Bessel transition curve;
step 4: and inserting the Bezier transition curve between the two motion instructions, and sequentially outputting the Bezier transition curve to a motion queue.
In an alternative embodiment, in step 1, acquiring the two connected arc interpolation instructions may include the following steps:
step 1.1: reads the ith motion instruction, i=1, 2, 3 … …,
step 1.2: judging whether the current motion instruction is an arc interpolation instruction, and if the current motion instruction is the arc interpolation instruction, executing the step 1.3; if the current motion instruction is not the circular interpolation command, executing the step 1.6;
step 1.3: storing the current motion instruction into a cache;
step 1.4: judging the number of instructions in the cache, if the number of instructions in the current cache is one, returning to execute the step 1.1, wherein i=i+1, and if the number of instructions in the current cache is two, executing the step 1.5;
step 1.5: obtaining two connected arc interpolation instructions;
step 1.6: judging whether a motion instruction exists in the cache, if so, executing the step 1.7, and if not, executing the step 1.8;
step 1.7: sequentially outputting the motion instruction and the current motion instruction existing in the cache to a motion queue;
step 1.8: the current motion instruction is output to a motion queue.
Therefore, by setting the buffer memory and combining the judgment of the arc interpolation instructions, the two connected arc interpolation instructions can be efficiently screened out, and the early preparation is carried out for the subsequent judgment of the size of the head-tail deflection angle.
Specifically, the arc interpolation instruction may be a clockwise arc interpolation instruction G02 or a counterclockwise arc interpolation instruction G03.
The method for smooth transition of the arc and the arc in the 3C metal processing will be described below with reference to the arc interpolation instruction shown in fig. 2 of the specification as an example. Figure 2 of the accompanying drawings shows two connected circular interpolation instructions. The prior arc interpolation instruction D has a starting point of F, an end point of B and a circle center of D; the starting point of the subsequent arc interpolation instruction C is B, the end point is C, and the center of the arc BC is A; the original processing path is F-B-C.
In an alternative embodiment, in step 2, if the magnitude of the head-to-tail yaw angle is not within the preset range, the two connected arc interpolation instructions are sequentially output to the motion queue.
In an alternative embodiment, in step 2, the head-to-tail deflection angle refers to a corner formed by two connected arc interpolation instructions, and the preset range of the head-to-tail deflection angle is 0-90 °. The head-to-tail deflection angle of the arc FB and the arc BC in fig. 2 of the specification is 90 °.
Therefore, the movement instructions needing smooth transition are effectively screened out by limiting the size of the head-tail deflection angle to a certain extent. In the actual machining process, when the head-to-tail deflection angle exceeds a certain range, the setting is often carried out due to the fact that specific machining tracks are needed, smooth transition is not needed for the machining tracks, and redundant operation on the machining tracks can be avoided by limiting the size of the head-to-tail deflection angle.
In an alternative embodiment, in step 3, constructing the bezier transition curve may specifically include the steps of:
step 3.1: determining a point H on an arc FB and determining a point E on an arc BC, so that ++HDB= ++BAE = a preset initial value;
step 3.2: the passing point H is a tangent line of the arc FB, the passing point B is a tangent line of the arc FB, and an intersection point I of the two tangent lines is determined; the passing point E is a tangent line of the arc BC, the passing point B is a tangent line of the arc BC, and an intersection point G of the two tangent lines is determined;
step 3.3: taking the point H, the point I, the point B, the point G and the point E as five control points of the Bezier curve, and calculating a Bezier transition curve a;
step 3.4: calculating the maximum error between the Bezier transition curve a and the original track;
step 3.5: judging the magnitude relation between the maximum error and a preset error threshold, if the maximum error is equal to the preset error threshold, no processing is needed for the Bezier curve, and if the maximum error is not equal to the preset error threshold, the method returns to the execution of step 3.1 and adjusts the magnitudes of the < HDB and the < BAE.
In an alternative embodiment, the preset initial value may be 45 ° in step 3.1.
In step 3.2, the tangent of the bezier transition curve a at the point H is HI, which is also the tangent of the arc FH at the point H, so the bezier transition curve a is tangent to the arc FH at the point H and tangent to the arc EC at the point E. Therefore, the Bessel transition curve a is tangent to the arc FH and the arc EC respectively, and the geometric continuity conforming to G1 is adopted at the points H and E, so that smooth transition between the arcs can be realized.
Taking the arc interpolation instruction shown in fig. 2 of the specification as an example, the error value of the point B is the largest, so in step 3.4, the largest error between the bezier transition curve a and the original track, that is, the smallest distance between all points on the bezier transition curve a and the point B.
Specifically, the preset error threshold may be a control error of the actual machining track and the original track, which is determined according to the actual requirement, in CNC machining, and generally the maximum value of the error between the actual machining track and the original track should not exceed the control error.
In an alternative embodiment, in step 3.5, the method for adjusting the magnitude of ++hdb and ++bae may specifically include:
when the maximum error is smaller than a preset error threshold, returning to execute the step 3.1, wherein the angle HDB= angle BAE > a preset initial value;
when the maximum error is greater than a preset error threshold, returning to execute the step 3.1, wherein the angle HDB= angle BAE is smaller than a preset initial value.
Because the error becomes smaller as the central angle becomes smaller, the maximum error is finally made equal to the preset error threshold value by gradually adjusting the magnitudes of the central angles +.hdb and +.bae. Therefore, the method can meet the requirement of processing control errors, the finally fitted curve is excessively deviated from the original track, and the track can be smoother to the greatest extent.
In an alternative embodiment, in step 4, inserting the bezier transition curve between two motion commands and sequentially outputting to the motion queue includes the steps of:
step 4.1: replacing the circular arc HB and the circular arc BE with a Bessel transition curve;
step 4.2: and outputting the arc FH, the Bessel transition curve a and the arc EC to a motion queue in sequence.
The method has the advantages that the head-to-tail deflection angles of two connected arc instructions are judged, the connected arcs needing smooth transition are constructed, the Bezier transition curve is constructed, smooth transition between the arcs is ensured, the effect of improving the surface finish of a workpiece is achieved, and the processing quality and the processing precision of a product are improved; frequent speed reduction is not needed in the processing process, and good processing speed is ensured.
Example 2:
referring to fig. 3 of the drawings, there is shown a system for smooth transition of arc to arc in 3C metal working according to one embodiment of the present invention, for performing the method for smooth transition of arc to arc in any of the foregoing 3C metal working, comprising,
the arc instruction acquisition module 11 is used for acquiring two connected arc interpolation instructions;
the head-tail deflection angle judging module 12 is used for judging whether the head-tail deflection angles of the two connected arc interpolation instructions are within a preset range or not;
a bezier transition curve construction module 13 for constructing a bezier transition curve;
the motion command output module 14 is configured to insert the bezier transition curve between two motion commands and sequentially output the two motion commands to the motion queue.
In an alternative embodiment, the bezier transition curve construction module 13 includes:
a control point determining unit, configured to determine five control points required in the bezier curve calculation;
the Bezier transition curve calculation unit is used for calculating a Bezier transition curve according to the determined five control points;
the maximum error calculation unit is used for calculating the maximum error between the Bezier transition curve and the original track;
the central angle adjusting unit is used for judging the magnitude relation between the maximum error and a preset error threshold value, and adjusting the magnitudes of the +.HDB and the +.BAE if the maximum error is not equal to the preset error threshold value.
Therefore, after the central angle adjusting unit adjusts the magnitude of the ++HDB and the magnitude of the ++BAE, the control point determining unit determines the control point again, calculates a Bezier transition curve according to the newly determined control point, calculates the maximum error according to the new Bezier transition curve, compares the maximum error with a preset error threshold value, and repeats the above processes until the calculated maximum error is equal to the preset error threshold value. Therefore, the method can meet the requirement of processing control errors, the finally fitted curve is excessively deviated from the original track, and the track can be smoother to the greatest extent.
The method has the advantages that the head-to-tail deflection angles of two connected arc instructions are judged, the connected arcs needing smooth transition are constructed, the Bezier transition curve is constructed, smooth transition between the arcs is ensured, the effect of improving the surface finish of a workpiece is achieved, and the processing quality and the processing precision of a product are improved; frequent speed reduction is not needed in the processing process, and good processing speed is ensured.
In the system provided in the above embodiment, when implementing the functions thereof, only the division of the above functional modules is used as an example, in practical application, the above functional allocation may be implemented by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the system and method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the system and method embodiments are detailed in the method embodiments, which are not described herein again.
Example 3:
referring to fig. 4 of the specification, there is provided an apparatus for smooth transition from arc to arc in 3C metal working, the apparatus comprising:
one or more processors 31 and a memory 32, one processor 31 being illustrated in fig. 4 of the drawings.
The device for smooth transition between the circular arcs in the 3C metal processing can further comprise: an input device 33 and an output device 34.
The memory 32 is used as a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions/modules corresponding to the method for smooth transition between arcs in 3C metal working in the embodiment of the present invention. The processor 31 executes various functional applications of the server and data processing, that is, implements the method of smooth transition from arc to arc in the 3C metal working of the above-described method embodiment, by running the nonvolatile software programs, instructions, and modules stored in the memory 32.
The memory 32 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created from the use of a system for smooth arc-to-arc transition in 3C metalworking, and the like. In addition, the memory 32 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 32 may optionally include memory located remotely from processor 31, which may be connected via a network to a system for smooth arc-to-arc transition in 3C metal working. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 33 may receive input numeric or character information and generate signal inputs related to user settings and function control. The output device 34 may include a display device such as a display screen.
One or more modules reside in the memory 32 that, when executed by the one or more processors 31, perform the method of smooth arc-to-arc transition in 3C metalworking in any of the method embodiments described above.
The device can execute the method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. Technical details not described in detail in this embodiment may be found in the methods provided in the embodiments of the present invention.
Example 4:
in another aspect, embodiment 4 of the present invention provides a computer-readable storage medium having stored therein one or more programs including execution instructions that can be read and executed by a device (including, but not limited to, a computer, a server, or a network device, etc.) for performing the relevant steps in the above-described method embodiments.
The embodiments described above are merely illustrative, wherein elements or modules illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the above technical solution may be represented by the essence or the portion contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (possibly a personal computer, a server or a network device, etc.) to execute the method of each embodiment or some portions of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the invention.

Claims (10)

  1. The method for smoothly transitioning the circular arcs in the 1.3C metal processing is characterized by comprising the following steps:
    step 1: acquiring two connected arc interpolation instructions;
    step 2: judging whether the magnitudes of the head-tail deflection angles of the two connected arc interpolation instructions are within a preset range, and if the magnitudes of the head-tail deflection angles are within the preset range, executing the step 3;
    step 3: constructing a Bessel transition curve;
    step 4: and inserting the Bezier transition curve between the two motion instructions, and sequentially outputting the Bezier transition curve to a motion queue.
  2. 2. The method for smooth transition between arcs in 3C metal working according to claim 1, wherein in step 1, obtaining two connected arc interpolation instructions comprises the steps of:
    step 1.1: reading an ith motion instruction, i=1, 2, 3 … …;
    step 1.2: judging whether the current motion instruction is an arc interpolation instruction, and if the current motion instruction is the arc interpolation instruction, executing the step 1.3; if the current motion instruction is not the circular interpolation command, executing the step 1.6;
    step 1.3: storing the current motion instruction into a cache;
    step 1.4: judging the number of instructions in the cache, if the number of instructions in the current cache is one, returning to execute the step 1.1, wherein i=i+1, and if the number of instructions in the current cache is two, executing the step 1.5;
    step 1.5: obtaining two connected arc interpolation instructions;
    step 1.6: judging whether a motion instruction exists in the cache, if so, executing the step 1.7, and if not, executing the step 1.8;
    step 1.7: sequentially outputting the motion instruction and the current motion instruction existing in the cache to a motion queue;
    step 1.8: the current motion instruction is output to a motion queue.
  3. 3. The method for smooth transition between arcs in 3C metal working according to claim 1, wherein in the step 2, the head-to-tail deflection angle is a corner formed by two connected arc interpolation instructions, and the preset range of the head-to-tail deflection angle is 0-90 °.
  4. 4. The method for smooth transition from arc to arc in 3C metal working according to claim 1, wherein in step 3, constructing a bezier transition curve comprises the steps of:
    the starting point of the previous arc interpolation instruction is F, the end point is B, the circle center of the arc FB is D, the starting point of the subsequent arc interpolation instruction is B, the end point is C, and the circle center of the arc BC is A;
    step 3.1: determining a point H on an arc FB and determining a point E on an arc BC, so that ++HDB= ++BAE = a preset initial value;
    step 3.2: the passing point H is a tangent line of the arc FB, the passing point B is a tangent line of the arc FB, and an intersection point I of the two tangent lines is determined; the passing point E is a tangent line of the arc BC, the passing point B is a tangent line of the arc BC, and an intersection point G of the two tangent lines is determined;
    step 3.3: taking the point H, the point I, the point B, the point G and the point E as five control points of the Bezier curve, and calculating a Bezier transition curve a;
    step 3.4: calculating the maximum error between the Bezier transition curve and the original track;
    step 3.5: judging the magnitude relation between the maximum error and a preset error threshold, if the maximum error is equal to the preset error threshold, no processing is needed for the Bezier curve, and if the maximum error is not equal to the preset error threshold, the method returns to the execution of step 3.1 and adjusts the magnitudes of the < HDB and the < BAE.
  5. 5. The method for smooth transition between arcs in 3C metal working according to claim 4, wherein when the maximum error is smaller than a preset error threshold, and returning to execute step 3.1, ++hdb= ++bae > a preset initial value;
    when the maximum error is greater than a preset error threshold, returning to execute the step 3.1, wherein the angle HDB= angle BAE is smaller than a preset initial value.
  6. 6. The method for smooth transition between arcs in 3C metal working according to claim 4, wherein in step 4, inserting the bezier transition curve between two motion commands and sequentially outputting to the motion queue comprises the steps of:
    step 4.1: replacing the circular arc HB and the circular arc BE with a Bessel transition curve;
    step 4.2: and outputting the arc FH, the Bessel transition curve a and the arc EC to a motion queue in sequence.
  7. A system for smooth transition of an arc to an arc in a 3C metal process for performing the method for smooth transition of an arc to an arc in a 3C metal process as set forth in any one of claims 1-6, comprising,
    the arc instruction acquisition module is used for acquiring two connected arc interpolation instructions;
    the head-to-tail deflection angle judging module is used for judging whether the head-to-tail deflection angles of the two connected arc interpolation instructions are within a preset range or not;
    the Bezier transition curve construction module is used for constructing a Bezier transition curve;
    and the motion instruction output module is used for inserting the Bezier transition curve between the two motion instructions and sequentially outputting the motion instructions to the motion queue.
  8. 8. The system for smooth arc-to-arc transition in 3C metalworking of claim 7, comprising in a bezier transition curve construction module:
    a control point determining unit for determining five control points in the Bezier curve;
    the Bezier transition curve calculation unit is used for calculating a Bezier transition curve according to the determined five control points;
    the maximum error calculation unit is used for calculating the maximum error between the Bezier transition curve and the original track;
    the central angle adjusting unit is used for judging the magnitude relation between the maximum error and a preset error threshold value, and adjusting the magnitudes of the +.HDB and the +.BAE if the maximum error is not equal to the preset error threshold value.
  9. 9. An apparatus for smooth transition of an arc to an arc in 3C metal working, the apparatus comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set, or an instruction set, the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by the processor to implement the method for smooth transition of an arc to an arc in 3C metal working according to any one of claims 1-6.
  10. 10. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions loaded and executed by a processor to implement the method of smooth arc-to-arc transition in 3C metalworking of any of claims 1-6.
CN202310072013.9A 2023-01-31 2023-01-31 Method and system for smooth transition between arcs in 3C metal processing Active CN116149260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310072013.9A CN116149260B (en) 2023-01-31 2023-01-31 Method and system for smooth transition between arcs in 3C metal processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310072013.9A CN116149260B (en) 2023-01-31 2023-01-31 Method and system for smooth transition between arcs in 3C metal processing

Publications (2)

Publication Number Publication Date
CN116149260A true CN116149260A (en) 2023-05-23
CN116149260B CN116149260B (en) 2024-04-05

Family

ID=86353850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310072013.9A Active CN116149260B (en) 2023-01-31 2023-01-31 Method and system for smooth transition between arcs in 3C metal processing

Country Status (1)

Country Link
CN (1) CN116149260B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116755391A (en) * 2023-08-22 2023-09-15 济南邦德激光股份有限公司 Cutter movement data processing method based on Bezier curve

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206472A (en) * 2007-12-06 2008-06-25 上海交通大学 Method for smoothing speed of high speed numerical control processing track corner
CN104932424A (en) * 2015-07-13 2015-09-23 苏州谷夫道自动化科技有限公司 CNC numerical control equipment tool path corner smoothing processing method
CN106227152A (en) * 2016-10-17 2016-12-14 合肥工业大学 A kind of CNC processing smooth transient method and seamlessly transit device
CN107980108A (en) * 2017-01-04 2018-05-01 深圳配天智能技术研究院有限公司 Robot motion's method for planning track and relevant apparatus
CN110488758A (en) * 2019-08-09 2019-11-22 南京埃斯顿自动化股份有限公司 A kind of track transition method based on PLCopen specification
CN112276957A (en) * 2020-11-05 2021-01-29 哈工大机器人(合肥)国际创新研究院 Smooth transition method and system for straight line segment and circular arc
CN114296398A (en) * 2021-11-16 2022-04-08 中南大学 High-speed high-precision interpolation method for laser cutting

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206472A (en) * 2007-12-06 2008-06-25 上海交通大学 Method for smoothing speed of high speed numerical control processing track corner
CN104932424A (en) * 2015-07-13 2015-09-23 苏州谷夫道自动化科技有限公司 CNC numerical control equipment tool path corner smoothing processing method
CN106227152A (en) * 2016-10-17 2016-12-14 合肥工业大学 A kind of CNC processing smooth transient method and seamlessly transit device
CN107980108A (en) * 2017-01-04 2018-05-01 深圳配天智能技术研究院有限公司 Robot motion's method for planning track and relevant apparatus
CN110488758A (en) * 2019-08-09 2019-11-22 南京埃斯顿自动化股份有限公司 A kind of track transition method based on PLCopen specification
CN112276957A (en) * 2020-11-05 2021-01-29 哈工大机器人(合肥)国际创新研究院 Smooth transition method and system for straight line segment and circular arc
CN114296398A (en) * 2021-11-16 2022-04-08 中南大学 High-speed high-precision interpolation method for laser cutting

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116755391A (en) * 2023-08-22 2023-09-15 济南邦德激光股份有限公司 Cutter movement data processing method based on Bezier curve
CN116755391B (en) * 2023-08-22 2023-12-29 济南邦德激光股份有限公司 Cutter movement data processing method based on Bezier curve

Also Published As

Publication number Publication date
CN116149260B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN109623166B (en) Corner processing method and system for laser cutting
CN116149260B (en) Method and system for smooth transition between arcs in 3C metal processing
US10549367B2 (en) Numerical controller for wire electrical discharge machine adapted for corner control of minute blocks
US10599126B2 (en) Tool-path correcting apparatus and tool-path correcting method
US10338563B2 (en) Numerical control device
US9342061B2 (en) Wire electric discharge machine controller for correcting machining route using program commands
CN112947309B (en) Robot polishing path planning method and device based on equal residual height end face
KR20170053690A (en) Tool Path Generation Method and Machine Tool
JP7012229B2 (en) Numerical control programming device, numerical control work system and numerical control work program
CN110874082A (en) Method, apparatus and storage medium for determining cutting path of workpiece corner
US10037021B2 (en) Numerical controller performing speed control with curvature and curvature change amount
CN111192216B (en) Lane line smoothing method and system
CN114063556A (en) Corner self-adaptive rounding method for laser cutting
US9964943B2 (en) Numerical controller operating based on tabular data
JP7409822B2 (en) numerical control device
JPH02146607A (en) Interpolation system for nc transfer command
US20230393552A1 (en) Numerical controller and control method
JP2002132317A (en) Controller
CN113671898B (en) Numerical control machining method, system, computer equipment and storage medium
US11048222B2 (en) Numerical control device
JP2001188605A (en) Method for interpolating curve
US10203687B2 (en) Numerical control device
US20200218234A1 (en) Numerical controller
WO2024084706A1 (en) Machining instruction correction device and machining instruction correction method
US7110853B2 (en) Processes and devices for computer-aided adaptation of an application program for a machine tool

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant