CN113946136A - Control method of numerical control system, numerical control system and device with storage function - Google Patents

Control method of numerical control system, numerical control system and device with storage function Download PDF

Info

Publication number
CN113946136A
CN113946136A CN202010692989.2A CN202010692989A CN113946136A CN 113946136 A CN113946136 A CN 113946136A CN 202010692989 A CN202010692989 A CN 202010692989A CN 113946136 A CN113946136 A CN 113946136A
Authority
CN
China
Prior art keywords
machining
path
interpolation
processing
workpiece
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.)
Pending
Application number
CN202010692989.2A
Other languages
Chinese (zh)
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.)
Peitian Robot Technology Co Ltd
Original Assignee
Peitian Robot 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 Peitian Robot Technology Co Ltd filed Critical Peitian Robot Technology Co Ltd
Priority to CN202010692989.2A priority Critical patent/CN113946136A/en
Publication of CN113946136A publication Critical patent/CN113946136A/en
Pending legal-status Critical Current

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/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35349Display part, programmed locus and tool path, traject, dynamic locus

Abstract

The invention discloses a control method of a numerical control system, the numerical control system and a device with a storage function, wherein the control method comprises the steps of receiving a processing program of a workpiece and compiling the processing program to obtain a first processing path of a cutter for processing the workpiece; judging whether the first machining path needs to be subjected to first interpolation or not; if not, converting the center point of the rotary tool for the first processing path to obtain a second processing path; predicting the machining speed of the cutter according to the second machining path, and planning the machining speed of the cutter according to the predicted machining speed; and performing second interpolation on the second machining path to obtain a second machining path interpolation point, and forming and outputting a third machining path according to the second machining path interpolation point. The invention can reduce the nonlinear motion error generated by the cutter, ensure the speed and acceleration of each shaft of the machine tool for controlling the cutter in the machining process to be smooth, improve the machining efficiency, reduce the times of changing the center point of the rotary cutter, greatly reduce the calculated amount and reduce the system load.

Description

Control method of numerical control system, numerical control system and device with storage function
Technical Field
The invention relates to the technical field of numerical control machining, in particular to a control method of a numerical control system, the numerical control system and a device with a storage function.
Background
The three-axis machine tool has the advantages that core parts such as propellers and impellers used in the fields of aviation, ships, automobiles and the like are required by a complex curved surface high-speed and high-precision machining process, the efficiency of the traditional three-axis machine tool is low due to the limitation of the angle of a cutter, and positioning errors are easily generated by repeated clamping, so that the machining requirements cannot be met.
The inventor of the application finds that the five-axis linkage numerical control system can make up the problem of limiting the cutter angle of the three-axis machine tool in long-term research and development, and meets the machining requirement of complex curved surfaces. However, the existing five-axis linkage numerical control system mostly adopts a speed planning algorithm similar to the three-axis linkage numerical control system, for example, the tool tip point speed is planned according to the cutting speed specified by the user, and during interpolation, the tool tip point coordinates are transformed through a Rotating Tool Center Point (RTCP) to obtain control point interpolation coordinates.
However, due to the influence of the rotational motion of the tool in the five-axis linkage numerical control system, the synthesis of the linear motion of each axis of the machine tool makes the motion track of the central point of the tool in a discrete section deviate from an ideal programmed track, so that a nonlinear motion error is generated.
Disclosure of Invention
The invention provides a control method of a numerical control system, the numerical control system and a device with a storage function, and aims to solve the technical problem of nonlinear motion errors in a five-axis linkage numerical control system in the prior art.
In order to solve the above technical problem, one technical solution adopted by the present invention is to provide a control method for a numerical control system, including:
receiving a machining program of a workpiece and compiling the machining program to obtain a first machining path of a cutter for machining the workpiece;
judging whether the first machining path needs to be subjected to first interpolation or not;
if the first interpolation of the first processing path is not needed, performing rotary tool center point transformation on the first processing path to obtain a second processing path of the tool for processing the workpiece;
predicting the machining speed of the cutter for machining the workpiece according to the second machining path, and planning the machining speed of the cutter for machining the workpiece according to the predicted machining speed;
and performing second interpolation on the second machining path to obtain a second machining path interpolation point, and forming and outputting a third machining path according to the second machining path interpolation point.
In an embodiment, the determining whether the first machining path requires first interpolation includes:
setting a linear step length L according to the first processing path0And a rotation step length R0
According to the linear step length L0And the rotation step length R0Segmenting the first processing path to obtain a plurality of first sub-processing paths;
respectively calculating the linear resultant displacement L and the rotary resultant displacement R of each first sub-processing path in the plurality of first sub-processing paths;
judging whether L and R meet a first condition or a second condition;
if L and R satisfy the first condition or the second condition, the first interpolation is not needed;
if L and R do not satisfy the first condition and the second condition, performing first interpolation on the plurality of first sub-machining paths;
wherein the first condition is: r is zero;
the second condition is: l is less than L0And R is less than R0
In an embodiment, the first interpolating of the first machining path includes:
performing first interpolation on the plurality of first sub-machining paths to obtain first machining path interpolation points;
converting the center point of the rotating tool for the interpolation point of the first processing path;
and forming the second machining path according to the interpolation point of the first machining path after the center point of the rotary cutter is transformed.
In an embodiment, the first interpolating of the plurality of first sub-machining paths includes:
calculating interpolation step number N according to the linear resultant displacement L and the rotary resultant displacement R;
and equally dividing the first sub-machining path into N sections according to the interpolation step number N to form the first machining path interpolation point.
In a specific embodiment, calculating the linear resultant displacement L and the rotational resultant displacement R includes:
setting the first sub-processing path PuPvThe coordinates of the two end points under the workpiece coordinate are respectively Pu(x1,y1,z1,a1,b1) And Pv(x2,y2,z2,a2,b2) Then, then
Figure BDA0002589941440000031
Figure BDA0002589941440000032
In an embodiment, the calculating the interpolation step number N according to the linear resultant displacement L and the rotational resultant displacement R includes:
Figure BDA0002589941440000033
in one embodiment, the forming the first machining path interpolation point includes setting the first machining path interpolation point to be PnWherein, in the step (A),
Figure BDA0002589941440000034
in a specific embodiment, the predicting the machining speed of the tool machining the workpiece according to the second machining path, and the planning the machining speed of the tool according to the predicted machining speed includes:
predicting the machining speed of a cutter according to the second machining path to obtain the second machining path, the maximum speeds of a plurality of second sub-machining paths in the second machining path and the maximum speeds of the starting points and the tail points of the plurality of second sub-machining paths;
and performing speed planning according to the second machining path, the maximum speeds of the plurality of second sub-machining paths and the maximum speeds of the starting points and the ending points of the plurality of second sub-machining paths.
In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a numerical control system, including:
a receiving device for receiving a machining program of a workpiece;
a processor connected with the receiving device and used for compiling the machining program to obtain a first machining path of a cutter for machining the workpiece, wherein the first machining path is represented by coordinates; judging whether the first machining path needs to be subjected to first interpolation or not; if the first interpolation of the first processing path is not needed, performing rotary tool center point transformation on the first processing path to obtain a second processing path of the tool for processing the workpiece; predicting the machining speed of the cutter for machining the workpiece according to the second machining path, and planning the machining speed of the cutter for machining the workpiece according to the predicted machining speed;
the interpolation equipment is connected with the processor and used for performing second interpolation on the second machining path to obtain a second machining path interpolation point and forming a third machining path according to the second machining path interpolation point;
and the driver is connected with the interpolation equipment and used for receiving the third machining path and driving the machine tool to run.
In order to solve the above technical problem, another technical solution adopted by the present invention is to provide an apparatus having a storage function, which stores program data that can be executed to implement the control method as described above.
Compared with the prior art that the programming coordinate of the cutter under the workpiece coordinate system is subjected to speed planning, interpolation and the like and then is converted into the actual displacement coordinate under the machine tool coordinate system to control the cutter to be machined, the machining path and the machining speed of the cutter can be improved, so that the nonlinear motion error generated by the cutter in the machining process is reduced, the speed and the acceleration of each axle of lathe of the control cutter in the assurance course of working are level and smooth for the lathe is difficult for producing simultaneously and rocks at high speed, promotes machining efficiency, and carries out the transform of rotary cutter central point before the second interpolation, can reduce the number of times of the transform of rotary cutter central point, reduces the calculated amount by a wide margin, thereby reduces system load.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:
FIG. 1 is a schematic flow chart diagram of an embodiment of a control method of the numerical control system of the present invention;
FIG. 2 is a schematic diagram showing the structures of a tool and a workpiece in an embodiment of the control method of the numerical control system according to the present invention;
FIG. 3 is a schematic flow chart diagram of an embodiment of a control method of the numerical control system of the present invention;
FIG. 4 is a schematic view of a first processing path in an embodiment of a control method of the numerical control system of the present invention;
FIG. 5 is a schematic flow chart diagram of an embodiment of a control method of the numerical control system of the present invention;
FIG. 6 is a schematic structural diagram of an embodiment of the numerical control system of the present invention;
fig. 7 is a schematic structural diagram of the device with a storage function according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
The terms "first" and "second" in this application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless explicitly specifically limited otherwise. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. While the term "and/or" is merely one type of association that describes an associated object, it means that there may be three types of relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Referring to fig. 1 and 2, an embodiment of a control method of the numerical control system of the present invention includes:
s110, receiving a machining program of the workpiece 201 and compiling the machining program to obtain a first machining path of the tool 202 for machining the workpiece 201.
In the present embodiment, the machining program is a source program written in a high-level language (e.g., C language), and the source program is converted into an object program by compiling, where the object program is a language recognizable by a computer (e.g., binary language).
In this embodiment, the machining program may be a specific program for machining the workpiece 201 by the tool 202 of the machine tool, and the first machining path of the tool 202 obtained by compiling the machining program may be the machining path of the tool 202 in the workpiece coordinate system.
In the present embodiment, the first processing path may be generated by CAM (Computer Aided Manufacturing) software.
In this embodiment, operations such as interpolation and smoothing may be performed after compiling to further reduce the calculation error.
And S120, judging whether the first machining path needs to be subjected to first interpolation.
In this embodiment, whether the first interpolation is necessary or not may be determined according to whether or not a large error occurs when the tool 202 performs the machining along the first machining path, for example, if the rotation axis does not move during the machining of the tool 202 along the first machining path, the generated error is small, and the first interpolation is not necessary.
S130, if the first interpolation is not required for the first machining path, the first machining path is subjected to the rotary tool center point transformation to obtain a second machining path of the tool 202 for machining the workpiece 201.
In this embodiment, the transformation of the center point of the rotating tool is to transform the programming coordinates of the tool in the workpiece coordinate system into the actual displacement coordinates of the tool in the machine coordinate system, so that the motion trajectory of the tool is closer to the ideal programming trajectory. Specifically, a mapping relation is formed according to the position relation of the original point, the X axis, the Y axis and the Z axis in the working coordinate system and the original point, the X axis, the Y axis and the Z axis in the machine tool coordinate system on the space, and the actual displacement coordinate of the cutter in the machine tool coordinate system can be obtained according to the programming coordinate of the cutter in the workpiece coordinate system.
And S140, predicting the machining speed of the tool 202 for machining the workpiece 201 according to the second machining path, and planning the machining speed of the tool 202 for machining the workpiece 201 according to the predicted machining speed.
In this embodiment, the second processing path may be divided into a plurality of second sub-processing paths, the processing speed, the processing acceleration, and the like of the next second sub-processing path may be predicted by calculating the processing speed, the processing acceleration, and the like of the previous second sub-processing path with respect to the path length and the processing time, and the processing speed of the tool 202 may be planned according to whether the predicted processing speed, the predicted processing acceleration, and the like satisfy the preset conditions of the maximum speed, the maximum acceleration, and the like.
And S160, performing second interpolation on the second machining path to form a third machining path and outputting the third machining path.
In this embodiment, the second processing path may be divided into a plurality of second sub-processing paths, the interpolation step number may be calculated according to the linear resultant displacement and the rotational resultant displacement of the second sub-processing paths, the second sub-processing paths may be segmented according to the interpolation step number to form a second processing path interpolation point, and finally, the third processing path may be formed according to the second processing path interpolation point.
Compared with the prior art that the machining path and the machining speed of the cutter are controlled by converting the programmed coordinate of the cutter in the workpiece coordinate system into the actual displacement coordinate in the machine coordinate system after speed planning and interpolation of the programmed coordinate of the cutter in the workpiece coordinate system, the machining path and the machining speed of the cutter can be improved, so that the nonlinear motion error generated by the cutter in the machining process is reduced, the speed and the acceleration of each axle of lathe of the control cutter in the assurance course of working are level and smooth for the lathe is difficult for producing simultaneously and rocks at high speed, promotes machining efficiency, and carries out the transform of rotary cutter central point before the second interpolation, can reduce the number of times of the transform of rotary cutter central point, reduces the calculated amount by a wide margin, thereby reduces system load.
In the embodiment, a tool double-swing five-axis machine tool is taken as an example to establish a motion model of the tool. In FIG. 2, OmIs the center of rotation, O, of the tool 202tIs the origin of the tool coordinate system, OwIs the origin of the workpiece coordinate system. In the initial state, the moving axis B is parallel to the Y axis, the tool axis is parallel to the Z axis, the direction of the workpiece coordinate system is consistent with that of the machine tool coordinate system, and the origin of the tool coordinate system is coincident with that of the workpiece coordinate system. Setting the intersection point O of the rotating shaftmTo the origin O of the tool coordinate systemtIs D, and the position vector in the tool coordinate system is rm(0,0, D). In the tool coordinate system, the position vector and the arbor direction vector of the tool location point (i.e., the end point of the tool 202) are [ 000 ] respectively]TAnd [ 001 ]]TThe position of the translation shaft of the cutter relative to the initial state is recorded as rs(X, Y, Z), the angles of the rotation axis A, B with respect to the initial state are respectively thetaAAnd thetaB(counterclockwise is positive in this embodiment), whereby the expressions of the arbor and tool-point vectors in the workpiece coordinate system are u (i, j, k) and r, respectivelyp(x, y, z). Tool coordinate system OtXtYtZtRelative to the workpiece coordinate system OwXwYwZwCan be moved by OtXtYtZtRelative to OmXmYmZmRotation of (a) and (b)mXmYmZmRelative to OwXwYwZwIs converted into.
From the above coordinate transformation relationship, it can be obtained:
[xyz1]T=T(rs+rm)×RxA)×RyB)×T(-rm)×[0001]T (1)
wherein, T and R respectively represent homogeneous coordinate transformation matrixes of tool translation and rotation motion, and can be obtained by the following formula (1):
Figure BDA0002589941440000081
from equation (2), as the tool rotation axis A, B moves, the tool position is non-linearly related to the rotation center (i.e., the programming point) of the tool 202, and thus the rotation center of the tool 202 is non-linearly related to the velocity and acceleration of the tool position.
Referring to fig. 3, in the present embodiment, the determining whether the first interpolation is required for the first machining path includes:
s121, setting a linear step length L according to the first processing path0And a rotation step length R0
S122, according to the linear step length L0And a rotation step length R0Segmenting the first processing path to obtain a plurality of first sub-processing paths;
s123, respectively calculating the linear resultant displacement L and the rotary resultant displacement R of each first sub-processing path in the plurality of first sub-processing paths;
s124, judging whether L and R meet a first condition or a second condition;
s125, if L and R satisfy the first condition or the second condition, the first interpolation is not required, and the step S130 is continued;
and S126, if the L and the R do not meet the first condition and the second condition, performing first interpolation on the plurality of first sub-machining paths.
Specifically, referring to fig. 4, in the present embodiment, the first sub-processing path P is useduPvFor example, the first sub-processing path P is illustrateduPvThe coordinates of the two end points under the workpiece coordinate are respectively Pu(x1,y1,z1,a1,b1) And Pv(x2,y2,z2,a2,b2)。
In the present embodiment, the first sub-processing paths P are calculated separatelyuPvA linear resultant displacement L and a rotational resultant displacement R, wherein,
Figure BDA0002589941440000091
in this embodiment, the first condition is: r is zero; the second condition is: l is less than L0And R is less than R0
In this embodiment, performing the first interpolation includes:
and calculating the interpolation step number N according to the linear resultant displacement L and the rotary resultant displacement R:
Figure BDA0002589941440000092
according to the interpolation step number N, the first sub-processing path P is processeduPvEqually dividing into N segments to form first interpolation points PnWherein, in the step (A),
Figure BDA0002589941440000093
in this embodiment, for example, if N can be 4, PuPvThree first interpolation points P are formed1、P2And P3And then:
Figure BDA0002589941440000094
Figure BDA0002589941440000095
Figure BDA0002589941440000096
the N calculated by other first sub-processing paths can be other numbers, such as PvPw1Can be equally divided into 3 segments, Pw1Pw2Or equally divided into 5 segments. And performing first interpolation on all the first sub-machining paths in the calculation mode.
In this embodiment, after obtaining the first machining path interpolation point, the rotating tool center point transformation is performed on the first machining path interpolation point, and a second machining path is formed according to the first machining path interpolation point after the rotating tool center point transformation, so as to replace step S130.
Referring to fig. 5 together, in the present embodiment, the performing the processing speed planning includes:
s141, predicting the machining speed of the tool according to the second machining path to obtain the second machining path and the maximum speeds of a plurality of second sub-machining paths in the second machining path and the maximum speeds of the starting points and the tail points of the plurality of second sub-machining paths;
and S142, performing speed planning according to the second machining path, the maximum speed of the plurality of second sub-machining paths and the maximum speed of the starting point and the ending point of the plurality of second sub-machining paths.
Through tests, the maximum nonlinear motion error of the tool in the embodiment is in the magnitude of 0.01um to 0.2um, the requirement of the five-axis linkage numerical control system on the machining precision is met, and the detailed test results are shown in the following table 1.
TABLE 1 nonlinear motion error
Figure BDA0002589941440000101
The influence of the movement of the rotating shaft can be effectively reduced through the first interpolation, and then the speed fluctuation of the center point of the cutter is reduced, so that the movement speed of the center point of the cutter is smoother.
Referring to fig. 6, the numerical control system of the present invention includes a receiving device 301, a processor 302, an interpolation device 303, and a driver 304, wherein the receiving device 301 is configured to receive a machining program of a workpiece 201; the processor 302 is connected to the input device 301 for compiling the machining program to obtain a first machining path of the tool for machining the workpiece 201, the first machining path being represented by coordinates; judging whether the first machining path needs to be subjected to first interpolation or not; if the first interpolation is not needed to be carried out on the first processing path, carrying out rotary tool center point transformation on the first processing path to obtain a second processing path of the tool 202 for processing the workpiece 201; predicting the machining speed of the tool 202 for machining the workpiece 201 according to the second machining path, and performing machining speed planning on the tool 202 for machining the workpiece 201 according to the predicted machining speed; the interpolation device 303 is connected to the processor 302, and is configured to perform second interpolation on the second processing path to obtain a second processing path interpolation point, and form a third processing path according to the second processing path interpolation point; the driver 304 is connected to the interpolation device 303, and is configured to receive the third processing path and drive the machine tool to operate.
The control method of the numerical control system refers to the above embodiment of the control method of the five-axis linkage numerical control system, and is not described herein again.
Compared with the prior art that the machining path and the machining speed of the cutter are controlled by converting the programmed coordinate of the cutter in the workpiece coordinate system into the actual displacement coordinate in the machine coordinate system after speed planning and interpolation and the like, the method can improve the precision of the machining path and the machining speed of the cutter so as to reduce the nonlinear motion error generated by the cutter in the machining process, the speed and the acceleration of each axle of lathe of the control cutter in the assurance course of working are level and smooth for the lathe is difficult for producing simultaneously and rocks at high speed, promotes machining efficiency, and carries out the transform of rotary cutter central point before the second interpolation, can reduce the number of times of the transform of rotary cutter central point, reduces the calculated amount by a wide margin, thereby reduces system load.
Referring to fig. 7, the apparatus 40 with storage function of the present invention stores program data 410, and the program data 401 can be executed to implement a control method of the numerical control system, wherein the control method of the numerical control system refers to the above-mentioned control method embodiment of the numerical control system, and is not described herein again.
Compared with the prior art that the machining path and the machining speed of the cutter are controlled by converting the programmed coordinate of the cutter in the workpiece coordinate system into the actual displacement coordinate in the machine coordinate system after speed planning and interpolation and the like, the method can improve the precision of the machining path and the machining speed of the cutter so as to reduce the nonlinear motion error generated by the cutter in the machining process, the speed and the acceleration of each axle of lathe of the control cutter in the assurance course of working are level and smooth for the lathe is difficult for producing simultaneously and rocks at high speed, promotes machining efficiency, and carries out the transform of rotary cutter central point before the second interpolation, can reduce the number of times of the transform of rotary cutter central point, reduces the calculated amount by a wide margin, thereby reduces system load.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A control method of a numerical control system is characterized by comprising the following steps:
receiving a machining program of a workpiece and compiling the machining program to obtain a first machining path of a cutter for machining the workpiece;
judging whether the first machining path needs to be subjected to first interpolation or not;
if the first interpolation of the first processing path is not needed, performing rotary tool center point transformation on the first processing path to obtain a second processing path of the tool for processing the workpiece;
predicting the machining speed of the cutter for machining the workpiece according to the second machining path, and planning the machining speed of the cutter for machining the workpiece according to the predicted machining speed;
and performing second interpolation on the second machining path to obtain a second machining path interpolation point, and forming and outputting a third machining path according to the second machining path interpolation point.
2. The control method according to claim 1, wherein determining whether the first machining path requires first interpolation includes:
setting a linear step length L according to the first processing path0And a rotation step length R0
According to the linear step length L0And the rotation step length R0Segmenting the first processing path to obtain a plurality of first sub-processing paths;
respectively calculating the linear resultant displacement L and the rotary resultant displacement R of each first sub-processing path in the plurality of first sub-processing paths;
judging whether L and R meet a first condition or a second condition;
if L and R satisfy the first condition or the second condition, the first interpolation is not needed;
if L and R do not satisfy the first condition and the second condition, performing first interpolation on the plurality of first sub-machining paths;
wherein the first condition is: r is zero;
the second condition is: l is less than L0And R is less than R0
3. The control method according to claim 2, wherein the first interpolating the first machining path includes:
performing first interpolation on the plurality of first sub-machining paths to obtain first machining path interpolation points;
converting the center point of the rotating tool for the interpolation point of the first processing path;
and forming the second machining path according to the interpolation point of the first machining path after the center point of the rotary cutter is transformed.
4. The control method according to claim 3, wherein the first interpolating the plurality of first sub machining paths includes:
calculating interpolation step number N according to the linear resultant displacement L and the rotary resultant displacement R;
and equally dividing the first sub-machining path into N sections according to the interpolation step number N to form the first machining path interpolation point.
5. The control method according to claim 4, wherein calculating the linear resultant displacement L and the rotational resultant displacement R comprises:
setting the first sub-processing path PuPvThe coordinates of the two end points under the workpiece coordinate are respectively Pu(x1,y1,z1,a1,b1) And Pv(x2,y2,z2,a2,b2) Then, then
Figure FDA0002589941430000021
Figure FDA0002589941430000022
6. The control method according to claim 4, wherein the calculating the interpolation step number N according to the linear resultant displacement L and the rotational resultant displacement R comprises:
Figure FDA0002589941430000023
7. the control method according to claim 4, characterized in that the control method further comprises the step of controlling the control device according to the control commandForming the first machining path interpolation point includes setting the first machining path interpolation point to PnWherein, in the step (A),
Figure FDA0002589941430000024
8. the control method according to claim 1, wherein the predicting a machining speed of the tool machining the workpiece based on the second machining path, and the programming the machining speed of the tool based on the predicted machining speed comprises:
predicting the machining speed of a cutter according to the second machining path to obtain the second machining path, the maximum speeds of a plurality of second sub-machining paths in the second machining path and the maximum speeds of the starting points and the tail points of the plurality of second sub-machining paths;
and performing speed planning according to the second machining path, the maximum speeds of the plurality of second sub-machining paths and the maximum speeds of the starting points and the ending points of the plurality of second sub-machining paths.
9. A numerical control system, comprising:
a receiving device for receiving a machining program of a workpiece;
a processor connected with the receiving device and used for compiling the machining program to obtain a first machining path of a cutter for machining the workpiece, wherein the first machining path is represented by coordinates; judging whether the first machining path needs to be subjected to first interpolation or not; if the first interpolation of the first processing path is not needed, performing rotary tool center point transformation on the first processing path to obtain a second processing path of the tool for processing the workpiece; predicting the machining speed of the cutter for machining the workpiece according to the second machining path, and planning the machining speed of the cutter for machining the workpiece according to the predicted machining speed;
the interpolation equipment is connected with the processor and used for performing second interpolation on the second machining path to obtain a second machining path interpolation point and forming a third machining path according to the second machining path interpolation point;
and the driver is connected with the interpolation equipment and used for receiving the third machining path and driving the machine tool to run.
10. An apparatus having a storage function, characterized in that program data are stored, which can be executed to implement the control method according to any one of claims 1 to 8.
CN202010692989.2A 2020-07-17 2020-07-17 Control method of numerical control system, numerical control system and device with storage function Pending CN113946136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010692989.2A CN113946136A (en) 2020-07-17 2020-07-17 Control method of numerical control system, numerical control system and device with storage function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010692989.2A CN113946136A (en) 2020-07-17 2020-07-17 Control method of numerical control system, numerical control system and device with storage function

Publications (1)

Publication Number Publication Date
CN113946136A true CN113946136A (en) 2022-01-18

Family

ID=79327132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010692989.2A Pending CN113946136A (en) 2020-07-17 2020-07-17 Control method of numerical control system, numerical control system and device with storage function

Country Status (1)

Country Link
CN (1) CN113946136A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116540638A (en) * 2023-07-05 2023-08-04 成都瑞雪丰泰精密电子股份有限公司 Method, device and storage medium for post-processing CAM numerical control machining program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116540638A (en) * 2023-07-05 2023-08-04 成都瑞雪丰泰精密电子股份有限公司 Method, device and storage medium for post-processing CAM numerical control machining program
CN116540638B (en) * 2023-07-05 2023-09-05 成都瑞雪丰泰精密电子股份有限公司 Method, device and storage medium for post-processing CAM numerical control machining program

Similar Documents

Publication Publication Date Title
Affouard et al. Avoiding 5-axis singularities using tool path deformation
JP3749262B2 (en) Tool moving path data creation method, creation device, machining method, and machining system
KR101056600B1 (en) Industrial Product Design Method Using Closoid Curve and Numerical Control Method and Apparatus Using Industrial Product Designed by Two Design Method
Xiao et al. Space corner smoothing of CNC machine tools through developing 3D general clothoid
JP5615377B2 (en) Tool path generation method and generation apparatus
JP6646027B2 (en) Post-processor device, machining program generation method, CNC machining system, and machining program generation program
CN103801981A (en) Quartic polynomial speed planning algorithm for spline interpolation
CN111633668B (en) Motion control method for robot to process three-dimensional free-form surface
Yang et al. A novel contouring error estimation method for contouring control
CN110989490B (en) Method for acquiring optimal installation position of workpiece based on contour error
Sato et al. Motion accuracy enhancement of five-axis machine tools by modified CL-data
CN113946136A (en) Control method of numerical control system, numerical control system and device with storage function
CN110362039B (en) Five-axis machining workpiece placement posture optimization method
JP2006227701A (en) Circular machining command creation device, method and program
JP4392533B2 (en) Numerically controlled curved surface processing equipment
CN113946139A (en) Speed prediction method of numerical control system, control method of numerical control system and numerical control system
US10307887B2 (en) Systems and methods for determining a tool path for automated flexible fork peening
CN114739290A (en) Path planning method and system for line laser scanning chemical milling of rubber reticle
CN109648563B (en) Method for controlling motion of serial robot and computer storage medium
JP4667794B2 (en) Numerical control method, numerical control device, program, and computer-readable recording medium
CN112347585A (en) Analytical calculation method for contact area between ball-end milling cutter and workpiece
Sato et al. Improvement of simultaneous 5-axis controlled machining accuracy by CL-data modification
Wu et al. Minimum-acceleration local modification method for planning tool orientations in 5-axis ball-end machining
CN111061218A (en) Complex curved surface machining cutting force prediction method and device based on ACIS
JP4667796B2 (en) Numerical control method, numerical control device, program, and computer-readable recording medium

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