CN103197604A - Numerical control system and control method for achieving automatic optimization of tool paths based on DBF - Google Patents

Numerical control system and control method for achieving automatic optimization of tool paths based on DBF Download PDF

Info

Publication number
CN103197604A
CN103197604A CN2013100802864A CN201310080286A CN103197604A CN 103197604 A CN103197604 A CN 103197604A CN 2013100802864 A CN2013100802864 A CN 2013100802864A CN 201310080286 A CN201310080286 A CN 201310080286A CN 103197604 A CN103197604 A CN 103197604A
Authority
CN
China
Prior art keywords
primitive
dbf
information
graphic
numerical control
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
CN2013100802864A
Other languages
Chinese (zh)
Other versions
CN103197604B (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.)
Shanghai Weihong Electronic Technology Ltd
Original Assignee
Shanghai Weihong Electronic Technology 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 Shanghai Weihong Electronic Technology Ltd filed Critical Shanghai Weihong Electronic Technology Ltd
Priority to CN201310080286.4A priority Critical patent/CN103197604B/en
Publication of CN103197604A publication Critical patent/CN103197604A/en
Application granted granted Critical
Publication of CN103197604B publication Critical patent/CN103197604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

The invention relates to a numerical control system and a control method for achieving automatic optimization of tool paths based on DBF, and belongs to the technical field of numerical control system control. The numerical control system comprises a file information read module, a graphic primitive information analysis module and an NC code generation module. The control method includes that after DBF graphic files are read by the file information read module, graphs in the DBF graphic files are divided by the graphics primitive information analysis module according to a preset graphic primitive, and at last, NC codes are generated by the NC code generation module according to divided graphs. By adoption of the numerical control system and the control method, graphic information can be extracted from CAD graphs and converted to coordinate point data, combined with numerical control machining technique knowledge, the data are converted to the NC codes which can be identified by a machine tool to generate a numerical control program and achieve control of numerical control system machining, moreover according to the numerical control system and the control method for achieving the automatic optimization of the tool paths based on the DBF, the implementation mode is easy and convenient, implementation cost is low, and the application range is relatively wide.

Description

Numerical control system for realizing automatic optimization of cutter path based on DBF and control method
Technical Field
The invention relates to the technical field of numerical control systems, in particular to the technical field of automatic machining control methods of numerical control machines, and specifically relates to a numerical control system and a control method for realizing automatic optimization of a cutter path based on a DBF (digital database).
Background
Graphical numerical control programming is a development direction of numerical control programming, simple calculation and few processing procedures are adopted for simple parts with less complex geometric shapes, manual programming is easy to realize, but manual programming is difficult to be sufficient for parts with complex shapes or large program quantity. The language automatic programming improves the programming efficiency by times or even tens of times compared with the manual programming, but the precise description and definition of each geometric body to be processed are required, and some complex geometric figures are almost difficult to be precisely described by languages, particularly in the field of three-dimensional processing. In particular, the explosive development of CAD technology today further underlines the inadaptability of this programming method.
At present, some software for realizing graphical numerical control programming exists, but most of CAD drawing software used by the software is difficult to master, and through the research on some lathe final products, the types of final machining graphs are not much, and complex CAD drawing software is not needed to be used at all. And the software for drawing the DBF graph is not much in shape and is easier to operate compared with other software.
The DBF graphic file is a database file format which can be read by a computer.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides a numerical control system and a control method for realizing automatic optimization of a tool path based on a DBF (digital database) graphic file, which can extract graphic information from a CAD (computer aided design) graphic, convert the graphic information into coordinate point data, convert the data into NC (numerical control) codes which can be identified by a machine tool by combining numerical control processing technology knowledge, generate a numerical control processing program, finally realize the processing control of a numerical control system, have simple and convenient realization mode, low realization cost and wider application range and are based on the DBF graphic file.
In order to achieve the above object, the numerical control system for automatically optimizing the tool path based on the DBF graphic file according to the present invention comprises:
the system comprises: the device comprises a file information reading module, a primitive information analyzing module and an NC code generating module. The file information reading module is used for reading a DBF graphic file; the graphic element information analysis module is used for dividing the graphics in the DBF graphic file according to preset graphic elements; and the NC code generation module is used for generating an NC code according to the divided graph.
In the numerical control system for realizing automatic optimization of the tool path based on the DBF graphic file, the primitive information analysis module comprises: the system comprises a straight line primitive unit, an ellipse primitive unit and a spline curve unit. Wherein,
the straight line primitive unit is used for dividing and summarizing the graphs in the DBF graph file and storing straight line primitive information;
the elliptic primitive unit is used for dividing and summarizing the graphs in the DBF graph file and storing elliptic primitive information;
and the spline curve unit is used for fitting the straight line primitive information and the elliptic primitive information through a small line segment curve and storing the generated graph.
In the numerical control system for realizing automatic optimization of the tool path based on the DBF graphic file, the spline curve unit comprises: and the first vertex container is used for storing vertex information of the graph in the DBF graph file.
In the numerical control system for implementing automatic optimization of the tool path based on the DBF graphic file, the primitive information analysis module further includes: and the object array units are used for storing the selected primitive information according to the graphs in the DBF graph file.
In the numerical control system for implementing automatic optimization of tool path based on the DBF graphic file, the NC code generation module further includes: and the second vertex container is used for storing vertex information of the graph in the DBF graph file stored in the first vertex container.
The invention also provides a control method for realizing automatic optimization of the tool path in the numerical control system based on the DBF graphic file, which comprises the following steps:
(1) the file information reading module reads the DBF graphic file;
(2) the graphic element information analysis module divides the graphics in the DBF graphic file according to preset graphic elements;
(3) and the NC code generation module generates an NC code according to the divided graph.
In the control method for realizing automatic optimization of the tool path in the numerical control system based on the DBF graphic file, the primitive information analysis module comprises: the system comprises a straight line primitive unit, an ellipse primitive unit and a spline curve unit; the step (2) specifically comprises the following steps:
(21) reading the graphic information in the DBF graphic file;
(22) dividing the graphic information into a straight line graphic element and an oval graphic element;
(23) comparing the linear primitive and the elliptic primitive with linear primitive information and elliptic primitive information in the linear primitive unit and the elliptic primitive unit respectively to determine a primitive vertex;
(24) and storing the graph generated after the graphics primitives with the determined vertexes are fitted with the curve into the spline curve unit.
In the control method for realizing automatic optimization of the cutter path in the numerical control system based on the DBF graphic file, the graphic information is divided into straight line primitives and oval primitives, and the method comprises the following steps:
(221) judging the type of the graphic information;
(222) if the graph is in a straight line type, two end points of the graph are taken, and a corresponding straight line primitive is generated;
(223) if the graph is of the circular arc type, circular arc point taking processing is carried out, the taken points are connected into a polygon to approximately represent the graph, and accordingly a corresponding elliptic primitive is generated.
The control method for realizing automatic optimization of the cutter path in the numerical control system based on the DBF graphic file comprises the following steps of:
(2231) dividing a central angle corresponding to the circular arc according to a condition preset by a system;
(2232) coordinate information of each point for dividing the arc is calculated and obtained as the fetched point.
The central angle corresponding to the circular arc in the control method for realizing automatic optimization of the tool path in the numerical control system based on the DBF graphic file can be specifically as follows:
and averagely dividing the central angle corresponding to the circular arc according to the dividing times preset by the system.
The control method for realizing automatic optimization of the cutter path in the numerical control system based on the DBF graphic file can divide the central angle corresponding to the circular arc, and can also comprise the following steps of:
(22311) According to the maximum arch height value h preset by the system, the angle value of the divided central angle is obtained by using the following formula:
angle value arccos ((r-h) ÷ r);
wherein arccos is an inverse cosine function, and r is the radius of the arc;
(22312) And dividing the central angle corresponding to the circular arc according to the obtained angle value.
The control method for realizing automatic optimization of the cutter path in the numerical control system based on the DBF graphic file calculates and obtains the coordinate information of the points for dividing the circular arc, and comprises the following steps:
(22321) Obtaining a corresponding rotation matrix according to the rotation angle of a dividing point for dividing the arc relative to a dividing starting point;
(22322) And multiplying the coordinate value of the division starting point by the obtained rotation matrix to obtain the coordinate value of the division point.
In the control method for realizing automatic optimization of the tool path in the numerical control system based on the DBF graphic file, the spline curve unit comprises a first vertex container; the graph generated after the primitive fitting curve of the vertex is determined is stored in the spline curve unit, and the method specifically comprises the following steps: and storing the vertexes of the primitives into the first vertex container.
In the control method for realizing automatic optimization of the tool path in the numerical control system based on the DBF graphic file, the primitive information analysis module further comprises a plurality of object array units, the straight line primitives and the elliptic primitives are respectively compared with the straight line primitive information and the elliptic primitive information in the straight line primitive units and the elliptic primitive units, and the vertex of the primitive is determined, specifically: and comparing the linear primitive and the elliptic primitive with linear primitive information and elliptic primitive information in the linear primitive unit and the elliptic primitive unit respectively to select primitive information, and storing the selected primitive information into the object array unit.
In the control method for realizing automatic optimization of the tool path in the numerical control system based on the DBF graphic file, the NC code generation module further comprises a second vertex container, and the NC code generation module generates NC codes according to the divided graphics, specifically: and the NC code generation module puts the correspondingly generated first vertex container into the second vertex container, and calls a corresponding interface which is realized in a spline curve class and serves the container by using the information in the second vertex container, thereby generating a tool path corresponding to the processing requirement.
The numerical control system and the control method for realizing automatic optimization of the cutter path based on the DBF graphic file are adopted, and the system comprises a file information reading module, a primitive information analysis module and an NC code generation module. In the method, a file information reading module reads a DBF graphic file; the graphic element information analysis module divides the graphics in the DBF graphic file according to preset graphic elements; and finally, generating an NC code by an NC code generation module according to the divided graph. Therefore, by utilizing the system and the method, the graph information can be extracted from the CAD graph and converted into coordinate point data according to the data format and the application characteristics of the DBF file, the data is converted into NC codes which can be identified by a machine tool by combining numerical control machining process knowledge, a numerical control machining program is generated, and the machining control of a numerical control system is finally realized.
Drawings
FIG. 1 is a schematic structural diagram of a numerical control system for implementing automatic optimization of a tool path based on a DBF graphic file.
FIG. 2 is a flowchart illustrating steps of a control method for implementing automatic optimization of tool path based on a DBF graphic file according to the present invention.
FIG. 3 is a schematic flow chart of the control method for implementing automatic optimization of tool path based on DBF graphic file in practical application.
Detailed Description
In order to clearly understand the technical contents of the present invention, the following examples are given in detail.
Fig. 1 is a schematic structural diagram of a numerical control system for automatically optimizing a tool path based on a DBF graphic file according to the present invention.
In one embodiment, the system comprises a file information reading module, a primitive information analysis module and an NC code generation module. The file information reading module is used for reading a DBF graphic file; the graphic element information analysis module is used for dividing the graphics in the DBF graphic file according to preset graphic elements; and the NC code generation module is used for generating an NC code according to the divided graph.
The control method for automatically optimizing the tool path in the numerical control system based on the DBF graphic file, which is implemented by using the system described in this embodiment, as shown in fig. 2, includes the following steps:
(1) the file information reading module reads the DBF graphic file;
(2) the graphic element information analysis module divides the graphics in the DBF graphic file according to preset graphic elements;
(3) and the NC code generation module generates an NC code according to the divided graph.
In a preferred embodiment, in the numerical control system for implementing automatic optimization of tool path based on DBF graphic file, the primitive information analysis module comprises a straight line primitive unit for storing straight line primitive information, an ellipse primitive unit for storing ellipse primitive information, and a spline unit for storing a graph generated after a curve is fitted with small line segments, wherein
A straight line primitive unit for dividing and summarizing the graphics in the DBF graphics file and storing straight line primitive information;
an elliptic primitive unit, which is used for dividing and summarizing the graphs in the DBF graph file and storing elliptic primitive information;
a spline curve unit for fitting the straight line primitive information and the ellipse primitive information with a small-segment curve and storing the generated graph.
In the control method for automatically optimizing the tool path in the numerical control system based on the DBF graphic file implemented by using the system described in the preferred embodiment, the step (2) specifically includes the following steps:
(21) reading the graphic information in the DBF graphic file;
(22) dividing the graphic information into a straight line primitive and an oval primitive, and the method comprises the following steps:
(a) judging the type of the graphic information;
(b) if the graph is in a straight line type, two end points of the graph are taken, and a corresponding straight line primitive is generated;
(c) if the graph is of the arc type, arc point taking processing is carried out, the taken points are connected into a polygon to approximately represent the graph, and a corresponding ellipse primitive is generated according to the polygon, wherein the arc point taking processing comprises the following steps:
(I) dividing the central angle corresponding to the arc according to the conditions preset by the system may specifically be:
and averagely dividing the central angle corresponding to the circular arc according to the dividing times preset by the system.
The method also comprises the following steps:
(i) according to the maximum arch height value h preset by the system, the angle value of the divided central angle is obtained by using the following formula:
angle value arccos ((r-h) ÷ r);
wherein arccos is an inverse cosine function, and r is the radius of the arc;
(ii) dividing central angles corresponding to the circular arcs according to the obtained angle values;
(II) calculating and obtaining coordinate information of points for dividing the arc as the taken points, the calculating and obtaining coordinate information of the points for dividing the arc, comprising the steps of:
(i) obtaining a corresponding rotation matrix according to the rotation angle of a dividing point for dividing the arc relative to a dividing starting point;
(ii) multiplying the coordinate value of the division starting point with the obtained rotation matrix to obtain the coordinate value of the division point;
(23) comparing the linear primitive and the elliptic primitive with linear primitive information and elliptic primitive information in the linear primitive unit and the elliptic primitive unit respectively to determine a primitive vertex;
(24) and storing the graph generated after the graphics primitives with the determined vertexes are fitted with the curve into the spline curve unit.
In a further preferred embodiment, the spline curve unit comprises: and the first vertex container is used for storing vertex information of the graph in the DBF graph file.
In the control method for automatic tool path optimization in a DBF graphic file-based numerical control system implemented by the system described in the further preferred embodiment, the spline curve unit includes a first vertex container; the step (24) stores the graph generated after the primitive fitting curve of the vertex is determined into the spline curve unit, specifically: and storing the vertexes of the primitives into the first vertex container.
In a more preferred embodiment, the primitive information analyzing module further includes a plurality of object array units for storing primitive information selected according to the graphics in the DBF graphics file. The NC code generation module also comprises a second vertex container used for storing vertex information of the graphics in the DBF graphics file stored in the first vertex container.
In the control method for automatic optimization of tool path based on DBF graphic file implemented by the system described in the more preferred embodiment,
comparing the linear primitive and the elliptic primitive with linear primitive information and elliptic primitive information in the linear primitive unit and the elliptic primitive unit respectively in the step (23) to determine a primitive vertex, which specifically comprises the following steps: and comparing the linear primitive and the elliptic primitive with linear primitive information and elliptic primitive information in the linear primitive unit and the elliptic primitive unit respectively to select primitive information, and storing the selected primitive information into the object array unit. The NC code generation module in the step (3) generates an NC code according to the divided graph, and specifically comprises the following steps: and the NC code generation module puts the correspondingly generated first vertex container into the second vertex container, and calls a corresponding interface which is realized in a spline curve class and serves the container by using the information in the second vertex container, thereby generating a tool path corresponding to the processing requirement.
In practical applications, a DBF graphics file can represent seven kinds of primitive information, namely: vacancy, cylindrical, conical, inner arc, outer arc, inner sphere, outer sphere. The classification of shape information seems to be a bit more, but there are only two types of graphical elements that make up the corresponding graph: straight lines and circular arcs. The straight line can be described by only two points; so-called arc and sphere are actually part of a circle, so that it is critical to determine some information about the arc or the circle corresponding to the sphere, and a circle can be determined by actually having quantized values of the center and diameter of the circle.
Firstly, acquiring information of primitives forming a graph from a DBF file, wherein the DBF file structure is much simpler than that of a DXF file, so that the primitive information is easy to extract, classifying the primitives (divided into a straight line and a circular arc) according to the acquired primitive information, and then entering the next module for processing.
The processing module of the primitive information is very important, and how to take the appropriate number of points to describe the shape of the graph is the main task of the module. After the primitive is analyzed, only two real primitives, namely a straight line and an arc, are summarized, and for the straight line, only two end points are required to be obtained; for circular arcs, polygons are used to approximately represent circular arcs. The obtained point information is stored in a data structure, and then the next module can be entered for processing.
And generating a tool path file module, wherein the key point is the understanding of the machining process. The point information describing the shape of the figure that has been acquired is put into a container. The DBF parameter has a track step length parameter, which actually fits the graph formed by the straight lines connected by the points again, so that the joint of the two straight lines is smoother.
If the DBF file graph currently inputted by the user is the simplest one of a straight line and a circular arc, the processing procedure of the system and method of the present invention is as follows as shown in fig. 3:
analyzing the algorithm design of the whole software, the most critical part is the acquisition of the points on the graph, if the points are less, the graph which is finally fitted is not close to the original graph, and the processing is failed. In the module for processing primitive information, a Container for storing vertex information is defined in the spline curve class, which is assumed to be Container a, and such a Container is maintained by both the straight line class and the arc class.
The point taking of the straight line class is relatively simple, and only two points need to be taken and put into the Container A. The key point of the arc class is how to obtain the points for dividing the arc, and finally, the points are connected to form a part of a polygon, and then the arc is approximately described. The central angle of the circular arc is easy to obtain, and generally, the central angle is divided once by taking one point by using a method for dividing the central angle. There are two methods for dividing the central angle, one is to set the number of division times, but this method is only for the case of a small central angle, and when the size of the central angle is uncertain, the arch height division method is generally adopted. Arch height division method: according to the definition of the arch height of a circle, assuming that the arch height is h and the radius of the circular arc is r, the angle value of each angle dividing the central angle is acos ((r-h) ÷ r). Of course, h is generally taken to be small for accuracy. Finally, the coordinates of the points of the circular arc are divided, since the radius of the circular arc and the change in the angle of the point with respect to the starting point of the circular arc are known, and the coordinates of the points after rotating by this angle can be easily determined, in particular by multiplying the coordinates of the original point by the rotation matrix (determined from the rotation angle).
Since the above vertex fetching is in the primitive information obtaining module and is not specific to the specific graphics file, how the specific graphics file calls the vertex fetching interface is realized next. In the tool path generating module, firstly, in the class for generating the NC code, an object B of a spline curve is defined, and then we aim to put each vertex information of the whole graph into a vertex container B corresponding to B.
Reading file information, extracting the primitive information, defining corresponding different primitive objects according to different primitives, and initializing variables of the primitive objects by using the variables of the file primitive information, wherein the variables are mainly applied to a linear interpolation algorithm for taking points. And simultaneously putting the primitive objects into an object array called PointerersA, for example, calling a corresponding vertex fetching interface by using the object array at an interface for generating an NC code, wherein the functions of the interfaces are mainly to obtain points for describing primitive shape information and simultaneously store the points into Container A, and then putting the point information in the correspondingly generated Container A into a Container B of an NC code generation implementation class.
In the process of generating the NC code finally, the NC code generation implementation class has an interface for generating a tool path file, generates a corresponding NC code file according to the relevant machining process and the point information (i.e., the shape information of the machining graph) in the ContainerB, and loads the NC code file into the system.
By utilizing the system and the method, a user only needs to input a designed DBF graphic file, and the software system can automatically finish graphic analysis and generate a corresponding NC code, so that the user can carry out corresponding processing.
The numerical control system and the control method for realizing automatic optimization of the cutter path based on the DBF graphic file are adopted, and the system comprises a file information reading module, a primitive information analysis module and an NC code generation module. In the method, a file information reading module reads a DBF graphic file; the graphic element information analysis module divides the graphics in the DBF graphic file according to preset graphic elements; and finally, generating an NC code by an NC code generation module according to the divided graph. Therefore, by utilizing the system and the method, the graph information can be extracted from the CAD graph and converted into coordinate point data according to the data format and the application characteristics of the DBF file, the data is converted into NC codes which can be identified by a machine tool by combining numerical control machining process knowledge, a numerical control machining program is generated, and the machining control of a numerical control system is finally realized.
In this specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.

Claims (15)

1. A numerical control system for realizing automatic optimization of a tool path based on a DBF graphic file is characterized by comprising:
the file information reading module is used for reading the DBF graphic file;
the graphic element information analysis module is used for dividing the graphics in the DBF graphic file according to preset graphic elements;
and the NC code generation module is used for generating an NC code according to the divided graph.
2. The numerical control system for realizing automatic optimization of tool path based on the DBF graphic file as claimed in claim 1, wherein the primitive information analyzing module comprises:
the straight line primitive unit is used for dividing and summarizing the graphs in the DBF graph file and storing straight line primitive information;
the elliptic primitive unit is used for dividing and summarizing the graphs in the DBF graph file and storing elliptic primitive information;
and the spline curve unit is used for fitting the straight line primitive information and the elliptic primitive information through a small line segment curve and storing the generated graph.
3. The numerical control system for realizing automatic optimization of tool path based on DBF graphic file according to claim 2, wherein the spline curve unit comprises:
and the first vertex container is used for storing vertex information of the graph in the DBF graph file.
4. The numerical control system for realizing automatic optimization of tool path based on the DBF graphic file as claimed in claim 3, wherein the primitive information analyzing module further comprises:
and the object array units are used for storing the selected graphic element information according to the graphics in the DBF graphic file.
5. The numerical control system for realizing automatic optimization of tool path based on the DBF graphic file as claimed in claim 3, wherein the NC code generating module further comprises:
and the second vertex container is used for storing vertex information of the graph in the DBF graph file stored in the first vertex container.
6. A control method for realizing automatic optimization of a tool path in a numerical control system based on a DBF graphic file is characterized by comprising the following steps:
(1) the file information reading module reads the DBF graphic file;
(2) the graphic element information analysis module divides the graphics in the DBF graphic file according to preset graphic elements;
(3) and the NC code generation module generates an NC code according to the divided graph.
7. The method for controlling automatic optimization of tool paths in a numerical control system based on a DBF graphic file according to claim 6, wherein the primitive information analyzing module comprises: the system comprises a straight line primitive unit, an ellipse primitive unit and a spline curve unit; the step (2) specifically comprises the following steps:
(21) reading the graphic information in the DBF graphic file;
(22) dividing the graphic information into a straight line graphic element and an oval graphic element;
(23) comparing the linear primitive and the elliptic primitive with linear primitive information and elliptic primitive information in the linear primitive unit and the elliptic primitive unit respectively to determine a primitive vertex;
(24) and storing the graph generated after the graphics primitives with the determined vertexes are fitted with the curve into the spline curve unit.
8. The control method for realizing automatic optimization of the tool path in the numerical control system based on the DBF graphic file as claimed in claim 7, wherein the step of dividing the graphic information into a straight line primitive and an oval primitive comprises the following steps:
(221) judging the type of the graphic information;
(222) if the graph is in a straight line type, two end points of the graph are taken, and a corresponding straight line primitive is generated;
(223) if the graph is of the circular arc type, circular arc point taking processing is carried out, the taken points are connected into a polygon to approximately represent the graph, and accordingly a corresponding elliptic primitive is generated.
9. The control method for realizing automatic optimization of the tool path in the numerical control system based on the DBF graphic file as claimed in claim 8, wherein the arc point taking process comprises the following steps:
(2231) dividing a central angle corresponding to the circular arc according to a condition preset by a system;
(2232) coordinate information of each point for dividing the arc is calculated and obtained as the fetched point.
10. The control method for realizing automatic optimization of the tool path in the numerical control system based on the DBF graphic file according to claim 9, wherein the dividing of the central angle corresponding to the arc specifically comprises:
and averagely dividing the central angle corresponding to the circular arc according to the dividing times preset by the system.
11. The control method for realizing automatic optimization of the tool path in the numerical control system based on the DBF graphic file according to claim 9, wherein the step of dividing the central angle corresponding to the arc comprises the steps of:
(22311) According to the maximum arch height value h preset by the system, the angle value of the divided central angle is obtained by using the following formula:
angle value arccos ((r-h) ÷ r);
wherein arccos is an inverse cosine function, and r is the radius of the arc;
(22312) And dividing the central angle corresponding to the circular arc according to the obtained angle value.
12. The control method for realizing automatic optimization of tool path in numerical control system based on DBF graphic file according to claim 9, wherein said calculating and obtaining the coordinate information of the points for dividing the arc comprises the following steps:
(22321) Obtaining a corresponding rotation matrix according to the rotation angle of a dividing point for dividing the arc relative to a dividing starting point;
(22322) And multiplying the coordinate value of the division starting point by the obtained rotation matrix to obtain the coordinate value of the division point.
13. The control method for implementing automatic optimization of tool path in numerical control system based on DBF graphic file according to claim 7, wherein the spline curve unit comprises a first vertex container; the graph generated after the primitive fitting curve of the vertex is determined is stored in the spline curve unit, and the method specifically comprises the following steps:
and storing the vertexes of the primitives into the first vertex container.
14. The method of claim 13, wherein the primitive information analysis module further comprises a plurality of object array units, and the step of comparing the straight line primitive and the elliptical primitive with the straight line primitive information and the elliptical primitive information in the straight line primitive unit and the elliptical primitive unit, respectively, to determine the vertex of the primitive comprises:
and comparing the linear primitive and the elliptic primitive with linear primitive information and elliptic primitive information in the linear primitive unit and the elliptic primitive unit respectively to select primitive information, and storing the selected primitive information into the object array unit.
15. The control method for implementing automatic optimization of tool path in numerical control system based on DBF graphic file according to claim 14, wherein the NC code generating module further includes a second vertex container, and the NC code generating module generates NC codes according to the divided graphics, specifically:
and the NC code generation module puts the correspondingly generated first vertex container into the second vertex container, and calls a corresponding interface which is realized in a spline curve class and serves the container by using the information in the second vertex container, thereby generating a tool path corresponding to the processing requirement.
CN201310080286.4A 2013-03-13 2013-03-13 Digital control system and the control method of cutter path Automatic Optimal is realized based on DBF Active CN103197604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310080286.4A CN103197604B (en) 2013-03-13 2013-03-13 Digital control system and the control method of cutter path Automatic Optimal is realized based on DBF

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310080286.4A CN103197604B (en) 2013-03-13 2013-03-13 Digital control system and the control method of cutter path Automatic Optimal is realized based on DBF

Publications (2)

Publication Number Publication Date
CN103197604A true CN103197604A (en) 2013-07-10
CN103197604B CN103197604B (en) 2015-12-02

Family

ID=48720268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310080286.4A Active CN103197604B (en) 2013-03-13 2013-03-13 Digital control system and the control method of cutter path Automatic Optimal is realized based on DBF

Country Status (1)

Country Link
CN (1) CN103197604B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365252A (en) * 2013-08-07 2013-10-23 北京铭隆世纪科技有限公司 Implementation method and device for numerical control machining graphic modeling
CN104898554A (en) * 2015-04-30 2015-09-09 柳州宏开汽车科技有限公司 Composite cutter path generation method based on discrete cutter location point
CN105527926A (en) * 2015-12-10 2016-04-27 广东长盈精密技术有限公司 Method for processing workpiece by using numerical control machine
CN105945697A (en) * 2016-06-24 2016-09-21 阳江市阳东区科拓自动化机械设备有限公司 Four-shaft linked horizontal numerical control grinding machine and utilization method thereof
CN106033214A (en) * 2015-03-19 2016-10-19 宁夏巨能机器人系统有限公司 Cutter feed controller of numerical control machine tool and control method of controller
CN106094719A (en) * 2015-10-24 2016-11-09 湘潭智联技术转移促进有限责任公司 A kind of method based on two dimension graph paper parameterization processing object
CN106363621A (en) * 2015-07-21 2017-02-01 南京中科川思特软件科技有限公司 Method for generating whole route of robot laser cutting
CN110286901A (en) * 2019-07-04 2019-09-27 广州广燃设计有限公司 A kind of scenario generation method based on CAD, system and storage medium
CN110378048A (en) * 2019-07-24 2019-10-25 广东电网有限责任公司 A kind of online analyzing method expanded based on industry by electrical engineering CAD diagram paper
CN111026704A (en) * 2019-12-05 2020-04-17 上海维宏电子科技股份有限公司 Method for realizing generation and storage processing of machining tool path information in numerical control system and storage medium thereof
CN112906215A (en) * 2021-02-05 2021-06-04 广东宏石激光技术股份有限公司 Pipe tool path generation method based on SolidWorks secondary development
CN116068964A (en) * 2023-03-28 2023-05-05 中科航迈数控软件(深圳)有限公司 Automatic generation method of control instruction of numerical control machine tool and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57189207A (en) * 1981-05-18 1982-11-20 Fanuc Ltd Numerical control system
JPH05241637A (en) * 1992-02-26 1993-09-21 Okuma Mach Works Ltd Work system
CN101334657A (en) * 2007-12-20 2008-12-31 清华大学 Imaging interactive numerical control turning automatic programming method and system
CN102129232A (en) * 2011-03-29 2011-07-20 华中科技大学 Five-axis side milling machining process parameter design method
CN102601744A (en) * 2011-12-23 2012-07-25 东南大学 Optimal selection method for multi-beam water cutting feed path based on Petri network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57189207A (en) * 1981-05-18 1982-11-20 Fanuc Ltd Numerical control system
JPH05241637A (en) * 1992-02-26 1993-09-21 Okuma Mach Works Ltd Work system
CN101334657A (en) * 2007-12-20 2008-12-31 清华大学 Imaging interactive numerical control turning automatic programming method and system
CN102129232A (en) * 2011-03-29 2011-07-20 华中科技大学 Five-axis side milling machining process parameter design method
CN102601744A (en) * 2011-12-23 2012-07-25 东南大学 Optimal selection method for multi-beam water cutting feed path based on Petri network

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365252A (en) * 2013-08-07 2013-10-23 北京铭隆世纪科技有限公司 Implementation method and device for numerical control machining graphic modeling
CN106033214A (en) * 2015-03-19 2016-10-19 宁夏巨能机器人系统有限公司 Cutter feed controller of numerical control machine tool and control method of controller
CN106033214B (en) * 2015-03-19 2018-11-06 宁夏巨能机器人系统有限公司 A kind of cutter feeding control device and its control method of numerically-controlled machine tool
CN104898554A (en) * 2015-04-30 2015-09-09 柳州宏开汽车科技有限公司 Composite cutter path generation method based on discrete cutter location point
CN106363621B (en) * 2015-07-21 2019-01-04 南京中科川思特软件科技有限公司 A kind of generation method of robotic laser cutting complete trails
CN106363621A (en) * 2015-07-21 2017-02-01 南京中科川思特软件科技有限公司 Method for generating whole route of robot laser cutting
CN106094719A (en) * 2015-10-24 2016-11-09 湘潭智联技术转移促进有限责任公司 A kind of method based on two dimension graph paper parameterization processing object
CN106094719B (en) * 2015-10-24 2020-03-17 武汉喻康生物科技有限公司 Method for parameterizing processing object based on two-dimensional drawing
CN105527926A (en) * 2015-12-10 2016-04-27 广东长盈精密技术有限公司 Method for processing workpiece by using numerical control machine
CN105945697A (en) * 2016-06-24 2016-09-21 阳江市阳东区科拓自动化机械设备有限公司 Four-shaft linked horizontal numerical control grinding machine and utilization method thereof
CN110286901A (en) * 2019-07-04 2019-09-27 广州广燃设计有限公司 A kind of scenario generation method based on CAD, system and storage medium
CN110286901B (en) * 2019-07-04 2023-05-30 广州广燃设计有限公司 CAD-based script generation method, system and storage medium
CN110378048A (en) * 2019-07-24 2019-10-25 广东电网有限责任公司 A kind of online analyzing method expanded based on industry by electrical engineering CAD diagram paper
CN111026704A (en) * 2019-12-05 2020-04-17 上海维宏电子科技股份有限公司 Method for realizing generation and storage processing of machining tool path information in numerical control system and storage medium thereof
CN111026704B (en) * 2019-12-05 2023-11-14 上海维宏电子科技股份有限公司 Method for generating and storing processing of processing tool path information in numerical control system and storage medium thereof
CN112906215A (en) * 2021-02-05 2021-06-04 广东宏石激光技术股份有限公司 Pipe tool path generation method based on SolidWorks secondary development
CN112906215B (en) * 2021-02-05 2023-03-24 广东宏石激光技术股份有限公司 Pipe tool path generation method based on SolidWorks secondary development
CN116068964A (en) * 2023-03-28 2023-05-05 中科航迈数控软件(深圳)有限公司 Automatic generation method of control instruction of numerical control machine tool and related equipment
CN116068964B (en) * 2023-03-28 2023-06-06 中科航迈数控软件(深圳)有限公司 Automatic generation method of control instruction of numerical control machine tool and related equipment

Also Published As

Publication number Publication date
CN103197604B (en) 2015-12-02

Similar Documents

Publication Publication Date Title
CN103197604B (en) Digital control system and the control method of cutter path Automatic Optimal is realized based on DBF
Lin et al. A generic uniform scallop tool path generation method for five-axis machining of freeform surface
CN101894176A (en) Rebuild the method for the distance field of sweep volume at sampled point
EP3321817A1 (en) Querying a database based on a parametric view function
US11468292B2 (en) Techniques for analyzing vehicle design deviations using deep learning with neural networks
CN104252153A (en) CNC (computer numerical control) processing program generating system and method
US10943037B2 (en) Generating a CAD model from a finite element mesh
CN104391991A (en) Method for converting AutoCAD data into GIS spatial data
KR20150030810A (en) Method of generating pmi in light model
CN112906215B (en) Pipe tool path generation method based on SolidWorks secondary development
CN115997213A (en) Machine learning based generation of constraints for Computer Aided Design (CAD) components
Kumar et al. Curve reconstruction of digitized surface using K-means algorithm
Liu et al. A reconstruction algorithm for blade surface based on less measured points
CN102622478A (en) CAD (Computer Aided Design) modeling method for reverse engineering of complex parts based on semantic information
Mateo et al. Hierarchical, Dense and Dynamic 3D Reconstruction Based on VDB Data Structure for Robotic Manipulation Tasks
EP3924792A1 (en) Method and apparatus for managing robot program
US20220374556A1 (en) Parameterization of digital organic geometries
Anamova et al. Multiprocessing and correction algorithm of 3D-models for additive manufacturing
JP4622987B2 (en) Tool reference plane data creation device and creation method
Sobieski et al. Geometry extraction from GCODE files destined for 3D printers
EP1861827A2 (en) System and method for generating matched contour profiles
Manolescu et al. Recognizing algorithm for digitized rotational parts
Aras Vector-valued envelope functions for constructing tool swept surfaces in continuous domains
US6801882B1 (en) Methods and systems for generating profile curves of solid models
Zhou et al. Data generation of layer slice in FDM manufacturing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant