CN105843165B - Continuous maching control method and system - Google Patents
Continuous maching control method and system Download PDFInfo
- Publication number
- CN105843165B CN105843165B CN201610216921.0A CN201610216921A CN105843165B CN 105843165 B CN105843165 B CN 105843165B CN 201610216921 A CN201610216921 A CN 201610216921A CN 105843165 B CN105843165 B CN 105843165B
- Authority
- CN
- China
- Prior art keywords
- tool path
- static
- coordinate value
- dynamic
- acquiring
- 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
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical 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/19—Numerical 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
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35349—Display part, programmed locus and tool path, traject, dynamic locus
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 provides a kind of Continuous maching control method and system, obtain the coordinate value of each numerical control axis of each node in the static cutter track, calculate processing pitch, and obtain the starting point coordinate value and end coordinate values of dynamic cutter track, coordinate value of the feed spool in the dynamic cutter track is obtained again, the coordinate value of each numerical control axis of each node in the dynamic cutter track is obtained by these above-mentioned data, finally according to the coordinate value of each numerical control axis of node each in the dynamic cutter track, Continuous maching control parameter is obtained.In whole process, space geometry is carried out by static cutter track and space coordinate is handled, dynamic cutter track is solved, realizes and cutter Continuous maching is accurately controlled.
Description
Technical Field
The invention relates to the technical field of industrial control management, in particular to a continuous processing control method and a continuous processing control system.
Background
Continuous processing means that the material is mechanically processed under the condition that the material is continuously fed without interruption. For example, a whole roll of thin steel sheet is continuously and non-intermittently fed to a machine tool to be cut, which is a kind of continuous processing. Compared with the traditional static processing method, the processing efficiency is improved because the downtime during feeding and discharging is saved. Meanwhile, finished products and waste materials can be continuously and intensively conveyed to relevant stations, so that the labor intensity can be obviously reduced, the labor cost is reduced, and the automation of a production line is easy to realize. Especially, under the conditions of short processing time and relatively time and labor waste in feeding and discharging, the economic benefit of continuous processing is more obvious.
The continuous machining control method is a control method which utilizes a numerical control system to control each numerical control shaft of static machining, additionally controls a feeding shaft and realizes the synthetic motion required by continuous machining through multi-shaft interpolation linkage.
The general continuous processing control method is realized by adopting a numerical control mode and a mode of synchronizing a feeding shaft and a processing shaft, but the continuous processing control method adopting a simple synchronization mode has larger errors.
Disclosure of Invention
Accordingly, it is necessary to provide an accurate continuous machining control method and system for solving the problem of large error in the general continuous machining control method.
A continuous process control method comprising the steps of:
acquiring a static tool path of the tool, and acquiring coordinate values of each numerical control axis of each node in the static tool path;
calculating a machining pitch according to the static cutter path, and acquiring a start point coordinate value and an end point coordinate value of the dynamic cutter path;
acquiring a coordinate value of the feeding shaft in the dynamic tool path according to the machining pitch and the static tool path;
obtaining the coordinate value of each numerical control axis of each node in the dynamic tool path according to the coordinate value of the feeding axis in the dynamic tool path, the coordinate value of each numerical control axis of each node in the static tool path, and the coordinate value of the starting point and the coordinate value of the end point of the dynamic tool path;
and obtaining continuous processing control parameters according to the coordinate values of the numerical control axes of each node in the dynamic tool path.
A continuous process control system comprising:
the static tool path acquisition module is used for acquiring a static tool path of the tool and acquiring coordinate values of each numerical control axis of each node in the static tool path;
the processing pitch calculation module is used for calculating the processing pitch according to the static cutter path and acquiring a start point coordinate value and an end point coordinate value of the dynamic cutter path;
the feeding shaft coordinate value acquisition module is used for acquiring the coordinate value of the feeding shaft in the dynamic tool path according to the machining pitch and the static tool path;
the dynamic tool path coordinate value acquisition module is used for acquiring the coordinate value of each numerical control axis of each node in the dynamic tool path according to the coordinate value of the feeding axis in the dynamic tool path, the coordinate value of each numerical control axis of each node in the static tool path and the coordinate values of the starting point and the end point of the dynamic tool path;
and the control parameter acquisition module is used for acquiring continuous machining control parameters according to the coordinate values of the numerical control axes of each node in the dynamic tool path.
The invention relates to a continuous processing control method and a system, which are used for acquiring coordinate values of numerical control axes of each node in a static tool path, calculating processing pitch, acquiring coordinate values of a starting point and an end point of a dynamic tool path, acquiring coordinate values of a feeding axis in the dynamic tool path, acquiring the coordinate values of the numerical control axes of each node in the dynamic tool path according to the data, and finally acquiring continuous processing control parameters according to the coordinate values of the numerical control axes of each node in the dynamic tool path. In the whole process, the spatial coordinate processing is carried out through the static cutter path, the dynamic cutter path is solved, and the accurate control on the continuous machining of the cutter is realized.
Drawings
FIG. 1 is a schematic view of elliptical cutting static machining;
FIG. 2 is a partial schematic view of a dynamic tool path for continuous elliptical cutting machining;
FIG. 3 is a schematic flow chart of a first embodiment of a continuous process control method according to the present invention;
FIG. 4 is a schematic sub-flowchart of a first embodiment of step S300 of the continuous process control method of the present invention;
FIG. 5 is a schematic sub-flowchart of a second embodiment of step S300 of the continuous process control method according to the present invention;
FIG. 6 is a schematic flow chart of a continuous process control method according to a second embodiment of the present invention;
FIG. 7 is a schematic structural view of a first embodiment of a continuous process control system according to the present invention;
FIG. 8 is a sub-module diagram of a feeding axis coordinate value obtaining module 300 according to a first embodiment of the present invention;
FIG. 9 is a sub-module diagram of a feeding axis coordinate value obtaining module 300 according to a second embodiment of the present invention;
FIG. 10 is a schematic diagram of a continuous process control system according to a second embodiment of the present invention.
Detailed Description
In order to explain the technical principle of the continuous process control method and system of the present invention in further detail, some relevant matters will be explained as follows.
In a numerical control system, a machining process is understood as a series of motions of a tool relative to a material or a workpiece according to a process requirement, and the motions can be represented by tool paths. Whether static machining or continuous machining, the movement of the tool relative to the material is identical. The tool path used for static processing is called as a static tool path; the tool path used for continuous machining is called dynamic tool path. In the continuous processing process, the movement of the cutter relative to the material is equivalent to a static cutter path. To simplify the calculations, the origin of the working coordinates is set before the machining starts, which avoids the problems discussed in the equipment coordinate system and does not hinder the completeness of the control method. Continuous machining implements a dynamic tool path by cycling to achieve continuous production of one or a group of workpieces. The last step of each cycle is to reach the start of the next cycle and set the position as the working origin, and the next cycle is started again.
As shown in FIG. 1, a planar processing problem of elliptical cutting is taken as an example, and the processing problem is represented by a working coordinate system A2In Of, during static machining, the tool starts from the starting point p1Starting from the starting point, moving along the static tool path G in the direction of the arrow to reach the end point pmWhen the ellipse E is cut, the ellipse E is cut. The continuous processing machine tool needs to add a feeding shaft F, the numerical control shafts of the machine tool are arranged, a proper shaft F is selected from the numerical control shafts for controlling the movement of the cutter, the proper shaft F is kept parallel to the feeding shaft F, and the requirement that F is equal to bf is met, and when the directions of the shaft F and the shaft F are the same, b is equal to 1; when the direction of the F axis is opposite to that of the F axis, b is equal to-1. In a continuous process (as shown in FIG. 2), material is fed continuously along axis F, and the tool is fed from starting point P1Starting from the point, the cutting tool moves along the dynamic tool path S in the direction of an arrow to reach a node PmWhen cutting of the ellipse E (the dotted ellipse in fig. 2) is completed. Then the tool is moved from PmFree-wheeling to Pm+1(dotted line of dynamic tool path) while the feed spindle continues to move and the tool reaches Pm+1At this point, the already machined ellipse is moved from position E to E'. At the moment, the machine tool coordinate is set as the origin of the working coordinate, and the method can be repeated to process the next ellipse, so that continuous processing is realized.
As shown in fig. 3, a continuous process control method includes the steps of:
s100: and acquiring a static tool path of the tool, and acquiring coordinate values of each numerical control axis of each node in the static tool path.
The static cutter path of the cutter can be obtained based on historical experience data, and the static cutter paths of different numerical control machine tools can have certain difference. For an n-axis numerical control machine, when the speed parameters of the tool are known, p ═ V, f, a can be used2,A3,A4,…,An) To represent a node in the static tool path, wherein V represents a speed parameter of the tool, the speed parameter including a lost motion speed (also called a positioning speed) VPAnd a machining speed (also called an interpolation speed) VTWhen the speed parameter of the tool is unknown, p ═ f, A can be used2,A3,A4,…,An) To represent a node in the static tool path, wherein f is an f-axis coordinate value; a. the2,A3,A4,…,AnAnd the coordinate values of other numerical control axes. Parameters such as the rotating speed, the power and the flow of the cutter need to be controlled in a linkage mode, and the parameters are also processed as numerical control shafts. If a curve exists in the static cutter path, the curve needs to be dispersed into line segments according to the machining precision. Thus, a static tool path may be denoted as G ═ { p ═ p1,p2,…,pi,…,pm}={(f1,…),(f2,…),…,(fi,…)…,(fm…) where m is the number of nodes, adjacent nodes are connected by straight line segments of length:
wherein 1 is<i≤m,A2,iIndicates that the ith node is at A2Coordinate values on the axes, and so on. The cumulative total length of the knife paths is:
because the original point of the working coordinate is set before the machining is started, the tool path starts from the original point of the working coordinate, and the requirements are as follows:
s200: and calculating the machining pitch according to the static cutter path, and acquiring a start point coordinate value and an end point coordinate value of the dynamic cutter path.
Compared with static machining (static tool path), the continuous machining (dynamic tool path) needs n +1 shaft linkage control to realize continuous machining. Thus, a node in a dynamic tool path may be denoted as P ═ F, M, a2,A3,A4,…,An) And M is the coordinate value of the f axis in the dynamic tool path. When the F axis has a dependency relationship with other numerical control axes except for the F axis, the numerical value of the F needs to be determined first, and then the coordinate value of the relevant axis needs to be calculated. The node can be simplified as P ═ (F, M), as shown in fig. 2, the feed distance required to perform a tool path once, referred to as the machining pitch D. In general, D ═ fmax–fmin+ c, where c is the safe distance or gap between the workpieces, which may be predetermined according to process or design requirements, fminThe minimum value of the f-axis coordinates in all nodes of the static tool path is obtained; f. ofmaxAnd the maximum value of the f-axis coordinate in all nodes of the static tool path. Since the last step of each cycle must reach the start of the next cycle, the number of nodes in the dynamic tool path is 1 more than that of the static tool path. The dynamic tool path may be expressed as S ═ P1,P2,…,Pi,…,Pm,Pm+1}={(F1,M1),(F2,M2),…,(Fi,Mi),…,(Fm,Mm),(Fm+1,Mm+1)}. Knowing the starting point of the dynamic tool path as the origin of coordinates, P1That is, (0, 0, 0, …, 0)
Knowing the dynamic tool path end point Pm+1(bD, 0, 0, 0, …, 0) that is
S300: and acquiring the coordinate value of the feeding shaft in the dynamic tool path according to the machining pitch and the static tool path.
1<When i is less than or equal to m, for node PiIn the continuous processing process, the uniformity of feeding needs to be ensured, so the total feeding displacement D or the time for advancing the total feeding displacement D needs to be uniformly distributed in the dynamic cutter path. Based on the machining pitch D and the static tool path G ═ p1,p2,…,pi,…,pm}={(f1,…),(f2,…),…,(fi,…)…,(fm…) and p ═ f, a2,A3,A4,…,An) Can accurately calculate the coordinate value F of the feeding shaft in the dynamic tool pathi。
S400: and obtaining the coordinate value of each numerical control axis of each node in the dynamic tool path according to the coordinate value of the feeding axis in the dynamic tool path, the coordinate value of each numerical control axis of each node in the static tool path, and the coordinate value of the starting point and the end point of the dynamic tool path.
As the material moves along with the F axis, the F axis needs to compensate the feeding displacement so as to ensure that the displacement of the cutter relative to the material is FiTherefore, there is bMi=bfi+FiI.e. Mi=fi+FiB, since the absolute value of b is 1, Mi=fi+bFi. Node PiCoordinate values on other numerical control axes, if not dependent on fiDirectly adopting corresponding numerical values in the static cutter path; if so, additional processing is required. Therefore, the coordinate value of each numerical control axis of each node in the dynamic tool path is Pi=(Fi,Mi,A2,i,A3,i,A4,i,…,An,i)。
S500: and obtaining continuous processing control parameters according to the coordinate values of the numerical control axes of each node in the dynamic tool path.
And coordinate values of all numerical control axes of all nodes in the dynamic tool path are obtained, and accurate continuous machining control parameters can be obtained based on the data.
The continuous machining control method comprises the steps of obtaining coordinate values of all numerical control axes of each node in a static tool path, calculating machining pitch, obtaining coordinate values of a starting point and an end point of a dynamic tool path, obtaining coordinate values of a feeding shaft in the dynamic tool path, obtaining the coordinate values of all numerical control axes of each node in the dynamic tool path according to the data, and finally obtaining continuous machining control parameters according to the coordinate values of all numerical control axes of each node in the dynamic tool path. In the whole process, the spatial coordinate processing is carried out through the static cutter path, the dynamic cutter path is solved, and the accurate control on the continuous machining of the cutter is realized. In addition, because the data in the whole control method process is based on the static cutter path, the accurate continuous machining control can be realized aiming at different static cutter paths (different types of numerical control machines), and the method has good universality.
In one embodiment, calculating the machining pitch according to the static tool path, and acquiring the coordinate values of the start point and the end point of the dynamic tool path includes:
the method comprises the following steps: and acquiring the minimum value and the maximum value of the coordinate of the numerical control shaft in the static tool path according to the static tool path.
Step two: and acquiring a preset safety interval of the cutter.
The preset safety interval is a preset value, which may be predetermined according to process requirements or design requirements.
Step three: and calculating the machining pitch according to the minimum value and the maximum value of the coordinate of the numerical control shaft in the static cutter path and a preset safety interval.
Step four: and determining the coordinate value of the starting point of the dynamic tool path as the origin of the numerical control axis coordinate, and acquiring the coordinate value of the end point of the dynamic tool path according to the processing pitch.
According to static tool path G ═ p1,p2,…,pi,…,pm}={(f1,…),(f2,…),…,(fi,…)…,(fm…) and p ═ f, a2,A3,A4,…,An) The minimum value f of the f-axis coordinates in all nodes of the static tool path can be obtainedmixAnd the maximum value f of the f-axis coordinates in all nodes of the static cutter pathmax. The preset safety distance c is a preset value, which may be predetermined according to process requirements or design requirements. Machining pitch D ═ fmax–fmin+ c. Since the last step of each cycle must reach the start of the next cycle, the number of nodes in the dynamic tool path is 1 more than that of the static tool path. Each node in the dynamic tool path may be represented as p ═ F, M, a2,A3,A4,…,An) The dynamic tool path may be expressed as S ═ P1,P2,…,Pi,…,Pm,Pm+1}={(F1,M1),(F2,M2),…,(Fi,Mi),…,(Fm,Mm),(Fm+1,Mm+1)}. Knowing the starting point of the dynamic tool path as the origin of coordinates, P1That is, (0, 0, 0, …, 0)
Knowing the dynamic tool path end point Pm+1(bD, 0, 0, 0, …, 0) that is
For idle speed (also called positioning speed)VPAnd a machining speed (also called an interpolation speed) VTThe two-case step S300, whether known or not, includes two different embodiments.
In a first embodiment, as shown in fig. 4, step S300 includes:
s310: analyzing the static tool path, and calculating the accumulated length of the static tool path according to the static tool path when the speed parameter of the tool in the static tool path is unknown, wherein the speed parameter of the tool comprises idle speed and processing speed.
S320: and acquiring the coordinate value of the feeding shaft in the dynamic tool path according to the machining pitch and the accumulated length.
For some numerically controlled machine tools, the speed parameter of the tool is unknown, and the speed parameter of the tool may not be obtained according to the static tool path thereof, for example, a numerically controlled machine tool imported from abroad is not provided by a manufacturer, and if a lot of manpower and material resources are consumed for collecting and measuring the data by itself, each node in the static tool path of the tool may be represented as p ═ (f, a)2,A3,A4,…,An)。1<When i is less than or equal to m, for node PiIn the continuous processing process, the feeding uniformity needs to be ensured, so the total feeding displacement D needs to be uniformly distributed in the dynamic cutter path. Based on the machining pitch D and the static tool path G ═ p1,p2,…,pi,…,pm}={(f1,…),(f2,…),…,(fi,…)…,(fm…) and p ═ f, a2,A3,A4,…,An) Can accurately calculate the coordinate value F of the feeding shaft in the dynamic tool pathi. Specifically, the calculation formula is as follows:
wherein,d is the processing pitch, epsilon is the accumulated total length of the cutter path,
in a second embodiment, as shown in fig. 5, step S300 includes:
s330: and analyzing the static tool path, and calculating the time of the tool moving from the current node to the next node when the speed parameter of the tool in the static tool path is known.
S340: and accumulating the time required for executing the dynamic tool path once.
S350: and acquiring the coordinate value of the feeding shaft in the dynamic tool path according to the time of moving the tool from the current node to the next node, the time required for executing the dynamic tool path once and the machining pitch.
For some numerical control machine tools, the speed parameter of the cutter is known, and the speed parameter of the cutter can be obtained according to the static cutter path of the cutter, for example, the numerical control machine tool developed by a certain manufacturer is known, and the numerical control machine tool develops numerical control source codes and other data for the numerical control machine tool. For this case, each node in the static tool path may be represented as p ═ V, f, a at this time2,A3,A4,…,An) In the static tool path coordinate system, the tool slave node Pi-1To PiThe required time is as follows:
ti=τ(pi-1,pi)
wherein 1< i ≦ m. The specific form of the function τ is determined by the numerical control system and is a known preset value. The time required for executing the dynamic tool path for one time is as follows:
the time required for the F stroke D of the feeding shaft is uniformly distributed in one cycle, so
It should be noted that, for the two cases of whether the tool speed parameter in the static tool path is known or not, the representation of each node in the static tool path and the dynamic tool path is different.
When the tool speed parameter in the static tool path is unknown, each node in the static tool path may be represented as p ═ f (a, a)2,A3,A4,…,An) Static tool paths may be denoted as G ═ p1,p2,…,pi,…,pm}={(f1,…),(f2,…),…,(fi,…)…,(fm…), each node in the dynamic tool path may be denoted as Pi=(Fi,Mi,A2,i,A3,i,A4,i,…,An,i) The dynamic tool path may be expressed as S ═ P1,P2,…,Pi,…,Pm,Pm+1}={(F1,M1),(F2,M2),…,(Fi,Mi),…,(Fm,Mm),(Fm+1,Mm+1) The starting point of the dynamic cutter path is as follows:
the dynamic tool path end point is as follows:
when the tool speed parameter included in the static tool path is known, each node in the static tool path can be represented as p ═ V, f, a2,A3,A4,…,An) Static tool paths may be denoted as G ═ p1,p2,…,pi,…,pm}={(V1,…),(V2,…),…,(Vi,…)…,(Vm…), each node in the dynamic tool path may be denoted as p ═ V, F, M, a2,A3,A4,…,An) The dynamic tool path can be expressed as The starting point of the dynamic cutter path is as follows:
the dynamic tool path end point is as follows:
as shown in fig. 6, in one embodiment, the method further includes:
s600: and compiling continuous processing numerical control codes according to the continuous processing control parameters.
S700: and carrying out continuous processing control on the cutter through the continuous processing numerical control codes.
The continuous processing control parameters are written into continuous processing numerical control codes so as to realize accurate control of continuous processing through a computer software program, and the method has good universality and applicability.
As shown in fig. 7, a continuous process control system includes:
the static tool path obtaining module 100 is configured to obtain a static tool path of the tool, and obtain coordinate values of each numerical control axis of each node in the static tool path;
the machining pitch calculation module 200 is configured to calculate a machining pitch according to the static tool path, and obtain a start point coordinate value and an end point coordinate value of the dynamic tool path;
the feeding shaft coordinate value acquisition module 300 is used for acquiring the coordinate value of the feeding shaft in the dynamic tool path according to the machining pitch and the static tool path;
the dynamic tool path coordinate value acquisition module 400 is configured to obtain a coordinate value of each numerical control axis of each node in the dynamic tool path according to a coordinate value of the feeding axis in the dynamic tool path, a coordinate value of each numerical control axis of each node in the static tool path, and a start point coordinate value and an end point coordinate value of the dynamic tool path;
and the control parameter obtaining module 500 is configured to obtain a continuous machining control parameter according to the coordinate value of each numerical control axis of each node in the dynamic tool path.
In the continuous machining control system, a static tool path acquisition module 100 acquires coordinate values of numerical control axes of each node in a static tool path, a machining pitch calculation module 200 calculates machining pitch and acquires a start point coordinate value and an end point coordinate value of a dynamic tool path, a feeding axis coordinate value acquisition module 300 acquires coordinate values of a feeding axis in the dynamic tool path, a dynamic tool path coordinate value acquisition module 400 acquires the coordinate values of the numerical control axes of each node in the dynamic tool path according to the data, and a control parameter acquisition module 500 acquires continuous machining control parameters according to the coordinate values of the numerical control axes of each node in the dynamic tool path. In the whole process, the static tool path is used for processing space geometry and space coordinates, a dynamic tool path is solved, and the continuous machining of the tool is accurately controlled. In addition, because the data in the whole control method process is based on the static cutter path, the accurate continuous machining control can be realized aiming at different static cutter paths (different types of numerical control machines), and the method has good universality.
In one embodiment, the processing pitch calculation module 200 includes:
and the static tool path coordinate value acquisition unit is used for acquiring the minimum value and the maximum value of the coordinate of the numerical control shaft in the static tool path according to the static tool path.
The preset safety interval acquisition unit is used for acquiring a preset safety interval of the cutter;
and the calculating unit is used for calculating the machining pitch according to the coordinate minimum value and the coordinate maximum value of the numerical control shaft in the static cutter path and a preset safety interval.
And the starting point and end point determining unit is used for determining that the starting point coordinate value of the dynamic tool path is the numerical control axis coordinate origin, and acquiring the end point coordinate value of the dynamic tool path according to the machining pitch.
For idle speed (also called positioning speed) VPAnd a machining speed (also called an interpolation speed) VTWhether two cases are known or not the feeding axis coordinate value acquisition module 300 includes two different embodiments.
In the first embodiment, as shown in fig. 8, the feeding axis coordinate value obtaining module 300 includes:
the first processing unit 310 is configured to analyze the static tool path, and when a speed parameter of the tool in the static tool path is unknown, calculate an accumulated length of the static tool path according to the static tool path, where the speed parameter of the tool includes a lost motion speed and a machining speed.
The first coordinate value obtaining unit 320 is configured to obtain a coordinate value of the feeding shaft in the dynamic tool path according to the machining pitch and the accumulated length.
In the second embodiment, as shown in fig. 9, the feeding axis coordinate value obtaining module 300 includes:
the second processing unit 330 is configured to analyze the static tool path, and when a speed parameter of the tool in the static tool path is known, calculate a time for the tool to move from a current node to a next node;
the time accumulation unit 340 is used for accumulating the time required by executing the dynamic tool path for one time;
and a second coordinate value obtaining unit 350, configured to obtain a coordinate value of the feeding axis in the dynamic tool path according to time for the tool to move from the current node to the next node, time required for executing the dynamic tool path once, and a machining pitch.
As shown in fig. 10, in one embodiment, the continuous process control system further comprises:
a code compiling module 600, configured to compile continuous machining numerical control codes according to the continuous machining control parameters;
and the control module 700 is used for carrying out continuous processing control on the cutter through the continuous processing numerical control codes.
The continuous processing control parameters are written into continuous processing numerical control codes so as to realize accurate control of continuous processing through a computer software program, and the method has good universality and applicability.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A continuous process control method, characterized by comprising the steps of:
acquiring a static tool path of a tool, and acquiring coordinate values of each numerical control axis of each node in the static tool path;
calculating a machining pitch according to the static tool path, and acquiring a start point coordinate value and an end point coordinate value of the dynamic tool path;
acquiring a coordinate value of a feeding shaft in the dynamic tool path according to the machining pitch and the static tool path;
obtaining the coordinate value of each numerical control axis of each node in the dynamic tool path according to the coordinate value of the feeding axis in the dynamic tool path, the coordinate value of each numerical control axis of each node in the static tool path and the coordinate values of the starting point and the end point of the dynamic tool path;
and obtaining continuous processing control parameters according to the coordinate values of the numerical control axes of each node in the dynamic tool path.
2. The continuous machining control method according to claim 1, wherein the step of calculating a machining pitch based on the static tool path and obtaining a start point coordinate value and an end point coordinate value of a dynamic tool path includes:
acquiring a coordinate minimum value and a coordinate maximum value of a numerical control shaft in the static tool path according to the static tool path;
acquiring a preset safety interval of the cutter;
calculating a machining pitch according to the minimum coordinate value and the maximum coordinate value of the numerical control shaft in the static cutter path and the preset safety distance;
and determining that the coordinate value of the starting point of the dynamic tool path is the origin of the numerical control axis coordinate, and acquiring the coordinate value of the end point of the dynamic tool path according to the machining pitch.
3. The continuous machining control method according to claim 1 or 2, wherein the step of acquiring the coordinate value of the feed axis in the dynamic tool path according to the machining pitch and the static tool path includes:
analyzing the static tool path, and when the speed parameter of the tool in the static tool path is unknown, calculating the accumulated length of the static tool path according to the static tool path, wherein the speed parameter of the tool comprises idle speed and processing speed;
and acquiring the coordinate value of the feeding shaft in the dynamic tool path according to the processing pitch and the accumulated length.
4. The continuous machining control method according to claim 1 or 2, wherein the step of acquiring the coordinate value of the feed axis in the dynamic tool path according to the machining pitch and the static tool path includes:
analyzing the static tool path, and calculating the time of the tool moving from the current node to the next node when the speed parameter of the tool in the static tool path is known, wherein the speed parameter of the tool comprises idle speed and machining speed;
accumulating the time required for executing the dynamic cutter path once;
and acquiring the coordinate value of the feeding shaft in the dynamic tool path according to the time of moving the tool from the current node to the next node, the time required for executing the dynamic tool path for one time and the machining pitch.
5. The continuous machining control method according to claim 1 or 2, wherein the step of obtaining the continuous machining control parameter based on the coordinate value of each numerical control axis of each node in the dynamic tool path further includes:
compiling continuous processing numerical control codes according to the continuous processing control parameters;
and carrying out continuous machining control on the cutter through the continuous machining numerical control code.
6. A continuous process control system, comprising:
the static tool path acquisition module is used for acquiring a static tool path of a tool and acquiring coordinate values of each numerical control axis of each node in the static tool path;
the processing pitch calculation module is used for calculating the processing pitch according to the static cutter path and acquiring a start point coordinate value and an end point coordinate value of the dynamic cutter path;
the feeding shaft coordinate value acquisition module is used for acquiring the coordinate value of a feeding shaft in the dynamic tool path according to the machining pitch and the static tool path;
the dynamic tool path coordinate value acquisition module is used for acquiring the coordinate value of each numerical control axis of each node in the dynamic tool path according to the coordinate value of the feeding axis in the dynamic tool path, the coordinate value of each numerical control axis of each node in the static tool path and the coordinate values of the starting point and the end point of the dynamic tool path;
and the control parameter acquisition module is used for acquiring continuous machining control parameters according to the coordinate values of the numerical control axes of each node in the dynamic tool path.
7. The continuous process control system of claim 6, wherein the process pitch calculation module comprises:
the static tool path coordinate value acquisition unit is used for acquiring the minimum value and the maximum value of the coordinate of the numerical control shaft in the static tool path according to the static tool path;
the preset safety interval acquisition unit is used for acquiring a preset safety interval of the cutter;
the calculating unit is used for calculating the machining pitch according to the coordinate minimum value and the coordinate maximum value of the numerical control shaft in the static cutter path and the preset safety interval;
and the starting point and end point determining unit is used for determining that the coordinate value of the starting point of the dynamic tool path is the origin of the numerical control axis coordinate and acquiring the coordinate value of the end point of the dynamic tool path according to the machining pitch.
8. The continuous processing control system according to claim 6 or 7, wherein the feeding axis coordinate value acquisition module includes:
the first processing unit is used for analyzing the static cutter path, and when the speed parameter of the cutter in the static cutter path is unknown, calculating the accumulated length of the static cutter path according to the static cutter path, wherein the speed parameter of the cutter comprises idle speed and processing speed;
and the first coordinate value acquisition unit is used for acquiring the coordinate value of the feeding shaft in the dynamic tool path according to the machining pitch and the accumulated length.
9. The continuous processing control system according to claim 6 or 7, wherein the feeding axis coordinate value acquisition module includes:
the second processing unit is used for analyzing the static tool path, and calculating the time for the tool to move from the current node to the next node when the speed parameter of the tool in the static tool path is known, wherein the speed parameter of the tool comprises idle speed and machining speed;
the time accumulation unit is used for accumulating the time required by executing the dynamic cutter path once;
and the second coordinate value acquisition unit is used for acquiring the coordinate value of the feeding shaft in the dynamic tool path according to the time for moving the tool from the current node to the next node, the time for executing the dynamic tool path for one time and the machining pitch.
10. The continuous process control system according to claim 6 or 7, further comprising:
the code compiling module is used for compiling continuous processing numerical control codes according to the continuous processing control parameters;
and the control module is used for carrying out continuous machining control on the cutter through the continuous machining numerical control code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610216921.0A CN105843165B (en) | 2016-04-08 | 2016-04-08 | Continuous maching control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610216921.0A CN105843165B (en) | 2016-04-08 | 2016-04-08 | Continuous maching control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105843165A CN105843165A (en) | 2016-08-10 |
CN105843165B true CN105843165B (en) | 2018-07-10 |
Family
ID=56597106
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610216921.0A Active CN105843165B (en) | 2016-04-08 | 2016-04-08 | Continuous maching control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105843165B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107414316B (en) * | 2017-08-16 | 2019-03-29 | 上海柏楚电子科技股份有限公司 | A kind of scan incision method for the multiple circles of Continuous maching |
CN113408148B (en) * | 2021-07-15 | 2023-04-11 | 广东宏石激光技术股份有限公司 | Pipe cutting simulation method based on SolidWorks secondary development |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004227163A (en) * | 2003-01-21 | 2004-08-12 | Fanuc Ltd | Servo control device |
JP4249794B1 (en) * | 2007-10-29 | 2009-04-08 | ファナック株式会社 | Control device for robot for workpiece transfer |
CN101382793B (en) * | 2008-10-08 | 2010-06-09 | 成都飞机工业(集团)有限责任公司 | Method for continuously non-interrupt numerical control processing for plate parts |
CN102581311A (en) * | 2012-02-26 | 2012-07-18 | 蔡光宗 | Multifunctional lathe capable of continuously automatically machining |
CN104155915B (en) * | 2014-07-29 | 2016-12-07 | 中国科学院长春光学精密机械与物理研究所 | A kind of random method of machining path planning of optical element |
-
2016
- 2016-04-08 CN CN201610216921.0A patent/CN105843165B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105843165A (en) | 2016-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101615022B (en) | Radius compensation method for three-axis CNC machine tools based on surface reconstruction | |
JP5984630B2 (en) | Interface system for machine tools | |
US7167772B2 (en) | Machining time calculating apparatus | |
US20180314227A1 (en) | Method and control apparatus for optimized control of a machine tool | |
JP2019117477A (en) | Link information generation device, link information generation method, and link information generation program | |
CN105843165B (en) | Continuous maching control method and system | |
US20160103447A1 (en) | Numerical control unit with the option of modifying the sub-program | |
CN109874403B (en) | Numerical control device | |
CN111190391B (en) | Numerical controller | |
JP2004362104A (en) | Numerical controller for machine tool and numerical control method for the same machine tool | |
CN103792880A (en) | Numerical control system and method for improving thread turning speed and machining precision | |
CN104865898A (en) | Method and equipment for processing micro path segment in numerical control machine tool | |
KR102046364B1 (en) | Method and device for optimizing processing using numerical control program | |
CN118940623A (en) | Processing time calculation method, electronic device and storage medium | |
JP6611319B2 (en) | Cutting load prediction method, cutting load prediction system, cutting load prediction program, and storage medium | |
JP2005202844A (en) | Numerical controller | |
CN103692351A (en) | Numerical control system of sanding equipment and part polishing method based on system | |
JP2018181050A (en) | Control system for machine tool | |
KR101875391B1 (en) | A computer-readable medium having recorded thereon a program for controlling a CNC machining apparatus | |
JP6742943B2 (en) | Machine tool feeding control device | |
US20180173190A1 (en) | Numerical controller | |
EP0231388B1 (en) | Surface machining method | |
JP2003170333A (en) | How to create a tool feed path | |
JP6836543B2 (en) | Interference monitoring device | |
KR20140078461A (en) | Control method for CNC machine tool |
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 |