CN110134064B - Machining path optimization method and device - Google Patents

Machining path optimization method and device Download PDF

Info

Publication number
CN110134064B
CN110134064B CN201910455879.1A CN201910455879A CN110134064B CN 110134064 B CN110134064 B CN 110134064B CN 201910455879 A CN201910455879 A CN 201910455879A CN 110134064 B CN110134064 B CN 110134064B
Authority
CN
China
Prior art keywords
processing
side information
machined
path
machining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910455879.1A
Other languages
Chinese (zh)
Other versions
CN110134064A (en
Inventor
梁仁
黄国飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong 3vjia Information Technology Co Ltd
Original Assignee
Guangdong 3vjia Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong 3vjia Information Technology Co Ltd filed Critical Guangdong 3vjia Information Technology Co Ltd
Priority to CN201910455879.1A priority Critical patent/CN110134064B/en
Publication of CN110134064A publication Critical patent/CN110134064A/en
Application granted granted Critical
Publication of CN110134064B publication Critical patent/CN110134064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path

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 invention provides a processing path optimization method and a device, which relate to the technical field of numerical control processing and comprise the steps of obtaining original processing data of a plurality of parts to be processed, wherein the original processing data comprise: original processing edge information and the processing times of each processing edge; determining a processing path for processing a plurality of parts to be processed according to the original processing side information; deleting repeated processing side information existing in the processing path to obtain target processing side information; and determining an optimized processing path for processing a plurality of parts to be processed according to the target processing side information. The method realizes the function of cutting two parts to be processed with repeated edges once by deleting the repeated processing edge information in the original processing edge information, and solves the technical problems of long processing time and low processing efficiency of the part processing method in the prior art.

Description

Machining path optimization method and device
Technical Field
The invention relates to the technical field of numerical control machining, in particular to a machining path optimization method and device.
Background
In the prior art, when a factory processes and produces parts on raw materials to be processed, a mode of one-by-one production is mostly adopted, namely, after processing data of each part to be processed is recorded, a processing cutter processes the parts one by one according to a preset processing sequence, and then each part to be processed is obtained, but the processing mode is generally long in time consumption and low in processing efficiency.
In summary, the processing method of the parts in the prior art has the technical problems of long processing time and low processing efficiency.
Disclosure of Invention
The invention aims to provide a machining path optimization method and a machining path optimization device, which are used for solving the technical problems of long machining time and low machining efficiency of a part machining method in the prior art.
In a first aspect, the present invention provides a method for optimizing a processing path, including:
acquiring original machining data of a plurality of parts to be machined, wherein the original machining data comprise: original processing side information and the processing times of each processing side, wherein the processing side information at least comprises: the vertex coordinate information of the part to be machined and the edge information of the part to be machined, wherein the machining edge is determined by the original machining edge information;
determining a processing path for processing the plurality of parts to be processed according to the original processing side information;
deleting the repeated processing side information existing in the processing path to obtain target processing side information;
and determining an optimized processing path for processing the plurality of parts to be processed according to the target processing side information.
Further, determining an optimized machining path for machining the plurality of parts to be machined according to the target machining side information includes:
classifying the plurality of parts to be machined based on the target machining side information and a preset size standard, and determining a first part to be machined and a second part to be machined, wherein the first part to be machined is a part to be machined corresponding to target machining information which is not higher than the preset size standard, and the second part to be machined is a part to be machined corresponding to target machining information which is higher than the preset size standard;
determining a processing path of the first type of parts to be processed based on the target processing side information of the first type of parts to be processed to obtain a first processing path;
determining a processing path of the second type of part to be processed based on the target processing side information to obtain a second processing path;
and taking the first processing path and the second processing path as the optimized processing path.
Further, the determining the machining path of the first type of part to be machined based on the target machining side information of the first type of part to be machined includes:
determining the adsorption force of the first type of parts to be machined and a tool drop point of the first type of parts to be machined during machining based on the target machining side information of the first type of parts to be machined;
determining a processing sequence for processing the first type of parts to be processed based on the adsorption force of the first type of parts to be processed;
and determining the first machining path based on the machining sequence, the tool drop point and the machining side information of the first type of parts to be machined.
Further, the determining the machining path of the second type of part to be machined based on the target machining side information includes:
deleting the processing side information corresponding to the first processing path from the target processing side information to obtain the residual processing side information;
processing the residual processing side information by using an Euler loop algorithm to obtain an Euler path;
if the number of the Euler paths is multiple, judging whether processing side information connected with the Euler paths exists in the target processing side information or not;
if the processing side information exists, determining the shortest processing side information in the processing side information connected with the Euler paths, and taking the processing path corresponding to the shortest processing side information as a switching path between the two Euler paths;
and taking the Euler path and the switching path as the second processing path.
Further, the material of the parts to be processed includes: wood;
the plurality of parts to be machined include parts to be machined of wood.
In a second aspect, the present invention further provides a machining path optimizing apparatus, including:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring original processing data of a plurality of parts to be processed, and the original processing data comprises: original processing side information and the processing times of each processing side, wherein the original processing side information at least comprises: the vertex coordinate information of the part to be machined and the edge information of the part to be machined, wherein the machining edge is determined by the original machining edge information;
the first determining module is used for determining processing paths for processing the parts to be processed according to the original processing side information;
the deleting module is used for deleting the repeated processing side information existing in the processing path to obtain target processing side information;
and the second determining module is used for determining an optimized processing path for processing the plurality of parts to be processed according to the target processing side information.
Further, the second determining module comprises:
the classification unit is used for classifying the multiple parts to be machined based on the target machining side information and a preset size standard and determining a first part to be machined and a second part to be machined, wherein the first part to be machined is a part to be machined corresponding to target machining information which is not higher than the preset size standard, and the second part to be machined is a part to be machined corresponding to target machining information which is higher than the preset size standard;
the first determining unit is used for determining the machining path of the first type of parts to be machined based on the target machining side information of the first type of parts to be machined to obtain a first machining path;
the second determining unit is used for determining the processing path of the second type of part to be processed based on the target processing side information to obtain a second processing path;
a third determination unit configured to use the first machining path and the second machining path as the optimized machining path.
Further, the first determination unit includes:
the first determining subunit is used for determining the adsorption force of the first type of parts to be machined and the tool drop point of the first type of parts to be machined during machining based on the target machining side information of the first type of parts to be machined;
the second determining subunit is used for determining the processing sequence of the first type of parts to be processed during processing based on the adsorption force of the first type of parts to be processed;
and the third determining subunit is used for determining the first processing path based on the processing sequence, the tool drop point and the processing side information of the first type of parts to be processed.
Further, the second determination unit includes:
a deleting subunit, configured to delete the processing side information corresponding to the first processing path from the target processing side information, so as to obtain remaining processing side information;
the algorithm processing subunit is used for processing the residual processing side information by using an Euler loop algorithm to obtain an Euler path;
a determining subunit, configured to determine whether there is processing side information connected to the euler path in the target processing side information if there are multiple euler paths;
a switching path subunit, configured to determine the shortest processing side information from the processing side information connected to the euler paths, if any, and use the processing path corresponding to the shortest processing side information as a switching path between two euler paths;
a fourth determining subunit, configured to use the euler path and the switching path as the second processing path.
Further, the material of the parts to be processed includes: wood;
the plurality of parts to be machined include parts to be machined of wood.
The invention provides a method and a device for optimizing a processing path, which comprise the following steps: acquiring original machining data of a plurality of parts to be machined, wherein the original machining data comprise: original processing side information and the processing times of each processing side, wherein the original processing side information at least comprises: the vertex coordinate information of the part to be processed and the edge information of the part to be processed, wherein the processing edge is determined by the original processing edge information; determining a processing path for processing a plurality of parts to be processed according to the original processing side information; deleting repeated processing side information existing in the processing path to obtain target processing side information; and determining an optimized processing path for processing a plurality of parts to be processed according to the target processing side information.
Compared with the prior art, the processing path optimization method can realize the function of cutting the repeated edges of two parts to be processed with repeated edges once by deleting the repeated processing edge information in the original processing edge information, and solves the technical problems of long processing time and low processing efficiency of the part processing method in the prior art.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for optimizing a processing path according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a process of determining an optimized machining path for machining a plurality of parts to be machined according to target machining side information according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a second processing path determining method for determining a second type of part to be processed based on target processing side information according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a processing path optimizing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
fig. 1 is a flowchart of a method for optimizing a processing path according to an embodiment of the present invention, where the method includes the following steps:
step S12, obtaining original machining data of a plurality of parts to be machined, where the original machining data includes: original processing side information and the processing times of each processing side, wherein the original processing side information at least comprises: the vertex coordinate information of the part to be machined and the edge information of the part to be machined, and the machining edge is determined by the original machining edge information.
Specifically, to process and produce a to-be-processed part on a to-be-processed raw material, in order to plan a processing path, first, original processing data of the to-be-processed part needs to be acquired, where the original processing data includes: the method comprises the steps that original processing side information and the processing times of each processing side are obtained, wherein each piece of original processing side information comprises vertex coordinate information of a processing side of a part to be processed on a raw material to be processed, shape parameters of the side and other information, and the position of the processing side on the raw material to be processed can be determined according to the original processing side information; in addition, depending on the characteristics of the material to be processed, such as thickness or material, the processing tool may be required to perform reciprocating cutting on the processing edge, so as to achieve the processing edge meeting the quality standard.
And step S14, determining a processing path for processing a plurality of parts to be processed according to the original processing side information.
In step S16, the repetitive processing side information existing in the processing route is deleted to obtain the target processing side information.
After the original processing side information of a plurality of parts to be processed is obtained, firstly, a processing path for processing the plurality of parts to be processed is determined according to the original processing side information, then, repeated processing side information of adjacent parts to be processed is deleted, the repeated processing side information comprises partially repeated processing side information and completely repeated processing side information, in order to improve the utilization rate of raw materials to be processed in actual processing production, a plurality of adjacent parts to be processed have the condition of partially repeated sides or completely repeated sides, if the repeated processing side information is not deleted, a processing knife cuts the processing path determined according to the original processing side information in the processing process of the raw materials to be processed, and performs repeated cutting on the same processing side (the condition that the repeated processing times are set is eliminated), which is equivalent to that a processing knife does no work, the working efficiency is low; after the repeated processing side information is deleted, the plurality of processing sides and the vertex information are reorganized to obtain target processing side information, the processing path represented by the target processing side information has no repeated part, and the processing knife only effectively cuts each processing side once (the condition of setting the repeated processing times is eliminated), so that the processing time can be greatly shortened, and the processing efficiency is improved.
And step S18, determining an optimized processing path for processing a plurality of parts to be processed according to the target processing side information.
After the target machining-side information is obtained, an optimized machining path of the machining tool in machining a plurality of parts to be machined is determined, which will be described in detail below.
Compared with the prior art, the processing path optimization method can realize the function of cutting the repeated edges of two parts to be processed with repeated edges once by deleting the repeated processing edge information in the original processing edge information, and solves the technical problems of long processing time and low processing efficiency of the part processing method in the prior art.
The above briefly introduces the method for optimizing a machining path in the embodiment of the present invention, and the following describes in detail specific contents of determining an optimized machining path for machining a plurality of parts to be machined according to target machining-side information.
In an alternative embodiment, as shown in fig. 2, determining an optimized machining path for machining a plurality of parts to be machined according to the target machining side information includes the following steps:
and step S181, classifying the plurality of parts to be machined based on the target machining side information and the preset size standard, and determining a first part to be machined and a second part to be machined, wherein the first part to be machined is a part to be machined corresponding to the target machining information which is not higher than the preset size standard, and the second part to be machined is a part to be machined corresponding to the target machining information which is higher than the preset size standard.
Specifically, after the target processing side information is obtained, classifying a plurality of parts to be processed according to a preset size standard, confirming the size of the shortest processing side of each part to be processed according to the target processing side information, and if the size of the shortest processing side is not higher than the preset size standard, calling the part to be processed as a first type of part to be processed; conversely, if the size of the shortest machining edge of the part to be machined is higher than the preset size standard, the part to be machined is referred to as a second type of part to be machined.
Step S182, determining the processing path of the first type of parts to be processed based on the target processing side information of the first type of parts to be processed to obtain a first processing path.
When planning the machining path of the machining tool, a first machining path of the first type of part to be machined is first determined based on the target machining side information of the first type of part to be machined, and a determination process of the first machining path will be described in detail below.
And step S183, determining the machining path of the second type of parts to be machined based on the target machining side information, and obtaining a second machining path.
After the first type of part to be machined with a relatively small size is machined, a second machining path of the second type of part to be machined is determined based on the target machining side information, and a determination process of the second machining path will be described in detail below.
Step S184 is executed to set the first machining route and the second machining route as the optimized machining route.
The planning of the optimized machining path is briefly described above, and the process in which the first machining path is determined is described in detail below.
In an optional embodiment, the step of determining the machining path of the first type of part to be machined based on the target machining side information of the first type of part to be machined comprises the following steps:
step S1821, determining the adsorption force of the first type of parts to be machined and the tool drop point of the first type of parts to be machined during machining based on the target machining side information of the first type of parts to be machined.
Specifically, in the machining process, the adsorption force of each first type of part to be machined and the tool drop point of each first type of part to be machined during machining are calculated according to the size of the first type of part to be machined (target machining side information of the first type of part to be machined).
In calculating the adsorption force of each first type of part to be machined, various ways can be adopted, the invention is not limited to the method, and for the convenience of understanding, a calculation method which can be realized in the method is exemplified as follows:
firstly, calculating the distance between the center of each first type of part to be machined and the center of the raw material to be machined according to the target machining side information, and taking the reciprocal of the obtained distance to use the reciprocal as the offset coefficient of each first type of part to be machined, wherein obviously, the offset coefficient is smaller for the first type of part to be machined which is farther away from the center of the raw material to be machined.
And then determining the perimeter of each first type of part to be machined according to the target machining side information, multiplying the perimeter by the offset coefficient of the first type of part to be machined, and taking the obtained result as the adsorption force of the first type of part to be machined.
The tool drop point is an optimal machining starting position calculated for preventing the first type of parts to be machined from shifting in the machining process, and the problem of tool drop point of the parts to be machined with larger size does not exist. In the embodiment of the invention, the selection process of the tool drop point of the first type of part to be machined is as follows, taking one first type of part to be machined as an example:
firstly, the longest machining edge in the adjacent machining edges is determined according to the machining edge information of the first type of part to be machined, and then the last machining edge of the first type of part to be machined is the machining edge adjacent to the longest machining edge.
If the preset processing sequence is anticlockwise processing, one of two vertexes of the last processing edge is selected as a tool drop point of the first type of part to be processed according to actual conditions, so that the processing edge is processed finally, and therefore the first type of part to be processed with a smaller size has an attachment relation with a raw material to be processed, is not isolated and is not easy to shift.
Step S1822, determining a processing sequence for processing the first type of parts to be processed based on the adsorption force of the first type of parts to be processed.
Further, after the adsorption force of each first type of part to be machined is determined, the first type of parts to be machined are sequenced according to the adsorption force, the first type of part to be machined with the minimum adsorption force is machined firstly, the first type of part to be machined with the maximum adsorption force is machined last, and the machining sequence for machining the first type of parts to be machined is determined according to the machining principle.
And step S1823, determining a first processing path based on the processing sequence, the cutting point and the processing side information of the first type of parts to be processed.
Further, according to the calculated cutting point of each first type of part to be machined and the machining side information of each first type of part to be machined, a machining path of the machining tool in machining each first type of part to be machined can be obtained, and then according to the determined machining sequence, the first machining path of the first type of part to be machined can be obtained, wherein when the first type of part to be machined is machined, machining in the anticlockwise direction from the cutting point is set, in the actual machining process, a user can also set machining in the clockwise direction, and then the selection of the cutting point needs to be changed along with the change, so that the machining direction is not limited. When the cutting end point of the previous part to be machined is different from the starting point of the next part to be machined, the machining cutter needs to be controlled to lift from the cutting end point of the previous part to be machined, the machining cutter is controlled to be directly switched to be above the starting point of the next part to be machined, then the cutter is dropped, and then machining is continued.
The process of determining the first machining path is described in detail above, and the process of determining the second machining path is described in detail below.
In an alternative embodiment, as shown in fig. 3, determining the machining path of the second type of part to be machined based on the target machining-side information includes the following steps:
step S1831 is to delete the processing side information corresponding to the first processing route from the target processing side information, and obtain the remaining processing side information.
Specifically, the machining path of the first type of part to be machined has been planned, and then the machining side information of the first type of part to be machined is removed from the target machining side information to obtain the remaining machining side information, so that all the second type of parts to be machined can be finally obtained as long as the machining tool traverses the machining path determined by the remaining machining side information, it should be noted that the remaining machining side information is not necessarily all the machining side information of the second type of part to be machined, because if there is a machining side that overlaps with the second type of part to be machined in the first type of part to be machined, the machining path corresponding to the overlapping machining side already belongs to the first machining path.
Step S1832, the remaining processing side information is processed by using the euler loop algorithm to obtain an euler path.
The euler loop algorithm is widely applied in various fields, the euler loop algorithm is utilized by the invention to obtain the minimum cutter lifting times of the machining cutter, because the processes of cutter lifting, cutter transferring and cutter falling are very time-consuming in the machining process, after the residual machining side information is obtained, the residual machining side information is processed by utilizing the euler loop algorithm to obtain an euler path, the euler path is a machining path which passes through each machining side determined by the residual machining side information and passes through each machining side only once, the euler path can be equal to a path which is machined without cutting according to a single part in the machining process of a second type of part to be machined, but can be cut once under the condition of not lifting the cutter as far as possible, but if one euler path can not contain all the residual machining side information, then step S1833 will be performed.
In step S1833, if there are a plurality of euler paths, it is determined whether or not there is any processing-side information connecting the euler paths in the target processing-side information.
Specifically, if there are a plurality of euler paths, that is, the remaining processing paths determined by the processing edge information cannot be cut, at this time, the processing tool needs to be switched from one euler path to the next euler path, and in order to achieve the purpose of not lifting the tool as much as possible, it needs to determine whether there is processing edge information connected to the euler path in the target processing edge information, and the processing tool preferentially considers the processing path determined by the existing processing edge information in the switching process between the euler paths.
In step S1834, if there is any, the shortest processing side information is determined from the processing side information of the euler paths, and the processing path corresponding to the shortest processing side information is used as the switching path between the two euler paths.
If there is processing side information connecting euler paths and there are a plurality of such processing paths, in order to improve processing efficiency and shorten processing time, the shortest processing side information is determined from the processing side information connecting euler paths, and the processing path corresponding to the shortest processing side information is used as a switching path between two euler paths, it should be noted that the shortest processing side information may be not only one piece of processing side information, but also more likely to be composed of a plurality of pieces of processing side information.
In step S1835, the euler path and the switching path are used as the second processing path.
In an alternative embodiment, the material of the plurality of parts to be machined includes: the wood and the parts to be machined comprise the parts to be machined of the wood.
Specifically, the machining path optimization method provided by the embodiment of the invention can be applied to the field of wood machining, because wood machining is contact machining, parts to be machined of wood are divided into a large plate and a small plate according to a wood machining process when a machining sequence is output, wherein the standard of the small plate is set by a factory according to the actual condition of equipment. The adsorption power of big board, platelet will be calculated according to big board and little board size in the course of working, and the adsorption power of general platelet is less, and the adsorption power of big board is great, and the plate can not appear in the course of working in the big board and shift.
After having distinguished big slabstone, will arrange the preferential processing of platelet, prevent to appear running the board phenomenon, the cutting of platelet will calculate the cutting point of processing sword, calculates the cutting route of platelet according to the cutting point, and wherein, the cutting point is decided according to the adsorption affinity of platelet, guarantees that the platelet can not run the board in cutting process. And after the small plate is cut, cutting the rest large plate in an optional cutting mode, wherein the optional cutting is to calculate a shortest switching path which is not cut according to a single part to be processed but is cut once under the condition of not lifting the cutter as far as possible and cannot be cut completely, the shortest switching path preferably uses a path formed by the existing processing edge information, and if the switching path formed by the processing edge information does not exist, the processing cutter can only be lifted up and then directly switched to the next processing path.
According to the machining path optimization method provided by the invention, after the original machining data is obtained, the repeated machining side information is removed, the machining side information is reorganized to obtain the target machining side information, the machining priority order is determined according to the machining process rule, the machining path is optimized, the repeated side is cut once, and when switching is carried out among a plurality of Euler paths, the shortest path determined by the existing machining side information is used as the switching path of the machining cutter as much as possible, so that the cutter lifting times of the machining cutter can be effectively reduced, the machining path and the machining sequence are optimized on the whole, the machining efficiency is improved, the machining time is shortened, and the machining cost of a factory is reduced.
Example two:
the embodiment of the present invention further provides a machining path optimizing device, which is mainly used for executing the machining path optimizing method provided by the embodiment of the present invention, and the machining path optimizing device provided by the embodiment of the present invention is specifically described below.
Fig. 4 is a schematic diagram of a processing path optimizing apparatus according to an embodiment of the present invention, and as shown in fig. 4, the apparatus mainly includes an obtaining module 10, a first determining module 20, a deleting module 30, and a second determining module 40, where:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring original processing data of a plurality of parts to be processed, and the original processing data comprises: original processing side information and the processing times of each processing side, wherein the original processing side information at least comprises: the vertex coordinate information of the part to be processed and the edge information of the part to be processed, wherein the processing edge is determined by the original processing edge information;
the first determining module is used for determining a processing path for processing a plurality of parts to be processed according to the original processing side information;
the deleting module is used for deleting the repeated processing side information of the processing path represented in the original processing side information to obtain the target processing side information;
and the second determining module is used for determining an optimized processing path for processing a plurality of parts to be processed according to the target processing side information.
Compared with the prior art, the processing path optimization method can realize the function of cutting the repeated edges of two parts to be processed with repeated edges once by deleting the repeated processing edge information in the original processing edge information, and solves the technical problems of long processing time and low processing efficiency of the part processing method in the prior art.
Further, the second determining module includes:
the classification unit is used for classifying the multiple parts to be machined based on the target machining side information and a preset size standard and determining a first part to be machined and a second part to be machined, wherein the first part to be machined is a part to be machined corresponding to target machining information which is not higher than the preset size standard, and the second part to be machined is a part to be machined corresponding to target machining information which is higher than the preset size standard;
the first determining unit is used for determining the processing path of the first type of parts to be processed based on the target processing side information of the first type of parts to be processed to obtain a first processing path;
the second determining unit is used for determining the processing path of the second type of part to be processed based on the target processing side information to obtain a second processing path;
and a third determination unit for taking the first machining path and the second machining path as the optimized machining path.
Further, the first determination unit includes:
the first determining subunit is used for determining the adsorption force of the first type of parts to be machined and the tool drop point of the first type of parts to be machined during machining based on the target machining side information of the first type of parts to be machined;
the second determining subunit is used for determining the processing sequence of the first type of parts to be processed based on the adsorption force of the first type of parts to be processed;
and the third determining subunit is used for determining the first processing path based on the processing sequence, the cutting point and the processing side information of the first type of parts to be processed.
Further, the second determination unit includes:
a deleting subunit, configured to delete the processing side information corresponding to the first processing path from the target processing side information, to obtain remaining processing side information;
the algorithm processing subunit is used for processing the residual processing side information by using an Euler loop algorithm to obtain an Euler path;
a judging subunit, if there are a plurality of Euler paths, judging whether there is processing side information connecting the Euler paths in the target processing side information;
a switching path subunit, if the processing side information exists, determining the shortest processing side information in the processing side information connected with the Euler path, and taking the processing path corresponding to the shortest processing side information as a switching path between the two Euler paths;
and the fourth determining subunit is used for taking the Euler path and the switching path as the second processing path.
Further, the material of a plurality of parts to be processed includes: wood;
the plurality of parts to be machined include wood parts to be machined.
The computer program product for performing the method and the apparatus for optimizing a processing path according to the embodiments of the present invention includes a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (6)

1. A method of optimizing a processing path, comprising:
acquiring original machining data of a plurality of parts to be machined, wherein the original machining data comprise: original processing side information and the processing times of each processing side, wherein the original processing side information at least comprises: the vertex coordinate information of the part to be machined and the edge information of the part to be machined, wherein the machining edge is determined by the original machining edge information;
determining a processing path for processing the plurality of parts to be processed according to the original processing side information;
deleting the repeated processing side information existing in the processing path to obtain target processing side information;
determining an optimized processing path for processing the plurality of parts to be processed according to the target processing side information;
determining an optimized machining path for machining the plurality of parts to be machined according to the target machining side information comprises the following steps:
classifying the plurality of parts to be machined based on the target machining side information and a preset size standard, and determining a first part to be machined and a second part to be machined, wherein the first part to be machined is a part to be machined corresponding to target machining information which is not higher than the preset size standard, and the second part to be machined is a part to be machined corresponding to target machining information which is higher than the preset size standard;
determining a processing path of the first type of parts to be processed based on the target processing side information of the first type of parts to be processed to obtain a first processing path;
determining a processing path of the second type of part to be processed based on the target processing side information to obtain a second processing path;
taking the first machining path and the second machining path as the optimized machining path;
determining the machining path of the second type of part to be machined based on the target machining side information comprises the following steps:
deleting the processing side information corresponding to the first processing path from the target processing side information to obtain the residual processing side information;
processing the residual processing side information by using an Euler loop algorithm to obtain an Euler path;
if the number of the Euler paths is multiple, judging whether processing side information connected with the Euler paths exists in the target processing side information or not;
if the processing side information exists, determining the shortest processing side information in the processing side information connected with the Euler paths, and taking the processing path corresponding to the shortest processing side information as a switching path between the two Euler paths;
and taking the Euler path and the switching path as the second processing path.
2. The method of claim 1, wherein determining the machining path of the first type of part to be machined based on the target machining side information of the first type of part to be machined comprises:
determining the adsorption force of the first type of parts to be machined and a tool drop point of the first type of parts to be machined during machining based on the target machining side information of the first type of parts to be machined;
determining a processing sequence for processing the first type of parts to be processed based on the adsorption force of the first type of parts to be processed;
and determining the first machining path based on the machining sequence, the tool drop point and the machining side information of the first type of parts to be machined.
3. The method of claim 1, wherein the material of the plurality of parts to be machined comprises: wood;
the plurality of parts to be machined include parts to be machined of wood.
4. A processing path optimizing device, comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring original processing data of a plurality of parts to be processed, and the original processing data comprises: original processing side information and the processing times of each processing side, wherein the original processing side information at least comprises: the vertex coordinate information of the part to be machined and the edge information of the part to be machined, wherein the machining edge is determined by the original machining edge information;
the first determining module is used for determining processing paths for processing the parts to be processed according to the original processing side information;
the deleting module is used for deleting the repeated processing side information existing in the processing path to obtain target processing side information;
the second determining module is used for determining an optimized processing path for processing the plurality of parts to be processed according to the target processing side information;
wherein the second determining module comprises:
the classification unit is used for classifying the multiple parts to be machined based on the target machining side information and a preset size standard and determining a first part to be machined and a second part to be machined, wherein the first part to be machined is a part to be machined corresponding to target machining information which is not higher than the preset size standard, and the second part to be machined is a part to be machined corresponding to target machining information which is higher than the preset size standard;
the first determining unit is used for determining the machining path of the first type of parts to be machined based on the target machining side information of the first type of parts to be machined to obtain a first machining path;
the second determining unit is used for determining the processing path of the second type of part to be processed based on the target processing side information to obtain a second processing path;
a third determination unit configured to take the first machining path and the second machining path as the optimized machining path;
wherein the second determination unit includes:
a deleting subunit, configured to delete the processing side information corresponding to the first processing path from the target processing side information, so as to obtain remaining processing side information;
the algorithm processing subunit is used for processing the residual processing side information by using an Euler loop algorithm to obtain an Euler path;
a determining subunit, configured to determine whether there is processing side information connected to the euler path in the target processing side information if there are multiple euler paths;
a switching path subunit, configured to determine the shortest processing side information from the processing side information connected to the euler paths, if any, and use the processing path corresponding to the shortest processing side information as a switching path between two euler paths;
a fourth determining subunit, configured to use the euler path and the switching path as the second processing path.
5. The apparatus according to claim 4, wherein the first determining unit comprises:
the first determining subunit is used for determining the adsorption force of the first type of parts to be machined and the tool drop point of the first type of parts to be machined during machining based on the target machining side information of the first type of parts to be machined;
the second determining subunit is used for determining the processing sequence of the first type of parts to be processed during processing based on the adsorption force of the first type of parts to be processed;
and the third determining subunit is used for determining the first processing path based on the processing sequence, the tool drop point and the processing side information of the first type of parts to be processed.
6. The apparatus of claim 4, wherein the plurality of parts to be machined are made of materials including: wood;
the plurality of parts to be machined include parts to be machined of wood.
CN201910455879.1A 2019-05-28 2019-05-28 Machining path optimization method and device Active CN110134064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910455879.1A CN110134064B (en) 2019-05-28 2019-05-28 Machining path optimization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910455879.1A CN110134064B (en) 2019-05-28 2019-05-28 Machining path optimization method and device

Publications (2)

Publication Number Publication Date
CN110134064A CN110134064A (en) 2019-08-16
CN110134064B true CN110134064B (en) 2020-09-29

Family

ID=67582544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910455879.1A Active CN110134064B (en) 2019-05-28 2019-05-28 Machining path optimization method and device

Country Status (1)

Country Link
CN (1) CN110134064B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111260135A (en) * 2020-01-17 2020-06-09 山东晨熙智能科技有限公司 Method and system for solving cutting path of closed printing
CN113245649B (en) * 2021-05-28 2022-07-05 珠海格力精密模具有限公司 Multi-electrode efficient machining method
CN114428478B (en) * 2021-12-27 2024-04-23 广东三维家信息科技有限公司 Processing method, processing device, processing equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012167078A2 (en) * 2011-06-02 2012-12-06 Baker Hughes Incorporated Apparatus and method for determining inclination and orientation of a downhole tool using pressure measurements
CN108274472A (en) * 2018-01-23 2018-07-13 深圳创源航天科技有限公司 A kind of spatial movement method that industrial robot processing technology is adaptive

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100462880C (en) * 2006-07-21 2009-02-18 陈晓坚 Cutting method for digital controlled flame cutter
CN103389683B (en) * 2013-08-21 2016-01-20 济南铸造锻压机械研究所有限公司 High-power slab numerical control laser cutter CAM system and method
JP6316057B2 (en) * 2014-03-28 2018-04-25 オークマ株式会社 Numerical control information creation device
CN105772950B (en) * 2016-04-27 2018-06-15 大族激光科技产业集团股份有限公司 The cutting method of Two Dimension Laser-Cutting tubing
CN106055747B (en) * 2016-05-23 2017-04-12 广东工业大学 Rapid stock layout method of rectangular workpieces for single specification board
CN108857092B (en) * 2018-07-17 2020-10-13 大族激光科技产业集团股份有限公司 Laser cutting path planning method and device, storage medium and computer equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012167078A2 (en) * 2011-06-02 2012-12-06 Baker Hughes Incorporated Apparatus and method for determining inclination and orientation of a downhole tool using pressure measurements
CN108274472A (en) * 2018-01-23 2018-07-13 深圳创源航天科技有限公司 A kind of spatial movement method that industrial robot processing technology is adaptive

Also Published As

Publication number Publication date
CN110134064A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN110134064B (en) Machining path optimization method and device
CN106971235B (en) Flexible job shop batch optimization scheduling method with intermediate storage constraint
CN105750543B (en) A kind of checkerboard type laser beam scan path planing method
CN108764529B (en) Cutting type filling method for optimized layout of rectangular part
RU2752134C2 (en) Method and device for optimizing the plan of guillotine cutting of glass pieces
US10579040B2 (en) Non-concentric milling
CN102495804A (en) Automatic software testing method
CN110703685A (en) Skin mirror image milling cutter path self-adaptive adjusting method and device
CN101963923A (en) Batch processing multiple method
CN111311004A (en) Layered iterative layout optimization method considering cutting efficiency and utilization rate
CN111932009B (en) Rectangular optimized layout method and device
CN112936400A (en) Optimization method and auxiliary device for paperboard production schedule
CN111539640B (en) Automatic scheduling method for paperboards
CN106487889B (en) A kind of task towards cloud data center and data aggregate dispositions method
CN114285012B (en) Relay protection device action fixed value optimization method, system, equipment and storage medium
JP6115526B2 (en) Product collection plan creation method and product collection plan creation device
Tanir et al. One-dimensional cutting stock problem with divisible items
CN102446368A (en) Rapid slicing method of STL (Stereo Lithography) model based on sorting by triangle adjacency in layers in rapid prototyping manufacturing
Ko et al. A dual memory structure for efficient use of replay memory in deep reinforcement learning
CN111026028B (en) Method for realizing two-dimensional planar grid division processing for processing workpiece
CN112487721A (en) Method, equipment and medium for realizing work order scheduling
CN115719124A (en) Product layout method, product selection model generation method and device
CN113449868B (en) Machining process parameter decision support knowledge mining method and system
CN110096448B (en) Fuzzy test search method considering depth and breadth
CN117381188A (en) Application method of laser cutting self-adaptive two-dimensional code

Legal Events

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