Processing typesetting method, operation control device, numerical control system and storage medium

By obtaining material encoding and preset layout rules, the CNC processing layout process is optimized, and the complex layout of mechanical structural parts is solved, efficient and low-cost processing layout is achieved, and production quality and efficiency are improved.

CN116400645BActive Publication Date: 2025-08-12惠州市海葵信息技术有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310280319.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-21
Publication Date
2025-08-12
Estimated Expiration
2043-03-21

AI Technical Summary

Technical Problem

In the existing CNC machining technology, the layout process of mechanical structural parts is complicated, resulting in high labor costs, low quality and low efficiency, and it is unable to meet the production requirements of low cost, high quality and high efficiency.

Method used

By obtaining the material encoding of the product to be processed, quickly grasping the size information, materials and processing thickness of the parts, determining the blast material model, and performing priority layout of similar parts and combination layout of different parts in the layout area corresponding to the initial size of the blast material according to the preset layout rules to generate processing program files.

Benefits of technology

It improves the layout efficiency, reduces waste production, reduces labor costs, improves production efficiency, and meets the production requirements of low-cost, high-quality and high-efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116400645B_ABST
    Figure CN116400645B_ABST
Patent Text Reader

Abstract

The present invention discloses a processing layout method, an operation control device, a numerical control system and a storage medium. The processing layout method comprises: obtaining a material code of a product to be processed; grabbing the external dimension information, material and processing thickness of a part according to the material code; determining a blank model according to the material and processing thickness; determining a required processing surface area of the part according to the external dimension information; accumulating the processing surface areas of all parts within a preset data range of the same blank model and the gaps between preset parts to determine the initial size of the blank; preferentially layouting parts with the same processing surface area within a layout area; combining and layouting the remaining parts according to preset layout rules to match the remaining dimensions in the layout area to obtain a final layout result; and generating a processing program file according to the layout result. According to the technical solution of the embodiment of the present invention, the processing layout process can be optimized to meet the requirements of low cost, high quality and high efficiency of production.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of numerical control machining, and in particular to a machining and typesetting method, an operation control device, a numerical control system and a storage medium. Background Art

[0002] With the rapid development and widespread application of CNC machining technologies such as machining programming, the automated production of mechanical structural parts has also developed rapidly. CNC programming is one of the main contents of the CNC machining preparation stage. In order to ensure the orderly progress of automated production, it is often necessary to perform typesetting programming on the parts to be processed during the CNC programming process, so as to select suitable blanks for processing, save material costs and improve processing efficiency. At present, it mainly relies on manual typesetting by processing personnel, but due to the relatively complex structure and large number of parts in the machinery manufacturing industry, the typesetting process becomes more difficult, which greatly increases labor costs. In addition, manual typesetting is prone to human errors, which reduces typesetting quality and production efficiency. Therefore, the existing processing typesetting process cannot meet the requirements of low cost, high quality and high efficiency of production. Summary of the Invention

[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention provides a processing and typesetting method, an operation control device, a numerical control system, and a storage medium, which can optimize the processing and typesetting process and meet the requirements of low cost, high quality, and high efficiency in production.

[0004] In a first aspect, an embodiment of the present invention provides a processing and typesetting method, comprising:

[0005] Obtaining a material code of a product to be processed, wherein the product to be processed includes at least one part;

[0006] Capture the part's dimensions, material, and processing thickness according to the material code;

[0007] Determine the blank model according to the material and the processing thickness;

[0008] Determining the required processing surface area of the part according to the outer dimension information;

[0009] Accumulate the machining surface areas of all parts within the preset data range of the same blank model and the preset gaps between parts to determine the initial size of the blank;

[0010] In the layout area corresponding to the initial size of the blank, parts with the same processing surface area are prioritized for layout;

[0011] Combining and laying out the remaining parts according to the preset layout rules to match the remaining sizes in the layout area to obtain the final layout result;

[0012] A processing program file is generated according to the typesetting result.

[0013] The processing layout method provided by the embodiment of the present invention has at least the following beneficial effects: by obtaining the material code of the product to be processed, and quickly grabbing the external dimension information, material and processing thickness of the part according to the material code, the stock model can be determined according to the material and processing thickness, so as to facilitate subsequent processing layout for a specific stock model, and the processing surface area required for the part is determined according to the external dimension information, and the initial size of the stock can be preliminarily determined by accumulating the processing surface area of all parts within the preset data range of the same stock model and the gaps between the preset parts, and in the layout area corresponding to the initial size of the stock, the parts with the same processing surface area are given priority layout, that is, the same type of parts are given priority in batch processing. Typesetting can improve typesetting efficiency, and then the remaining parts are combined and typeset according to the preset typesetting rules to match the remaining sizes in the typesetting area, that is, different types of parts are combined and typeset, which can make full use of the space in the typesetting area and effectively improve the typesetting quality, so that the final typesetting result can complete the blank processing with the lowest loss. Through rational typesetting, the generation of waste can be greatly reduced, thereby reducing the processing cost of the blank. In addition, by automatically typeset parts, the impact of human errors can be reduced, which is conducive to reducing labor costs and improving production efficiency. Therefore, the processing typesetting method of the embodiment of the present invention can optimize the processing typesetting process, thereby meeting the low cost, high quality and high efficiency requirements of production.

[0014] In the above-mentioned processing layout method, before grabbing the external dimension information, material and processing thickness of the part according to the material code, the processing layout method further includes:

[0015] Determining a characteristic type of the part according to the material code, wherein the characteristic type includes a first type of parts requiring spatial expansion and a second type of parts not requiring spatial expansion, the first type of parts including a plurality of mutually folded levels;

[0016] When the part is of the first category, performing surface area expansion processing on the part according to the minimum level of the part based on a preset reference;

[0017] The external dimension information includes the unfolded surface area corresponding to the first type of parts and the projected area corresponding to the second type of parts.

[0018] In the above-mentioned processing layout method, determining the characteristic type of the part according to the material code includes:

[0019] Determining whether the product to be processed is an assembly according to the material code;

[0020] When the product to be processed is an assembly, obtaining sub-coding information of each part in the assembly, and determining the characteristic type of the corresponding part according to the sub-coding information;

[0021] When the product to be processed is a part, the corresponding feature type is determined according to the material code of the part.

[0022] In the above-mentioned processing layout method, determining the processing surface area required for the part according to the external dimension information includes:

[0023] Obtaining a preset machining allowance of the part;

[0024] The machining surface area required for the part is calculated based on the preset machining allowance and the outer dimension information.

[0025] In the above-mentioned processing layout method, the prioritizing layout of parts with the same processing surface area includes:

[0026] Count the number of parts for all parts with the same machined surface area;

[0027] When the number of parts is greater than or equal to a preset value, the corresponding parts are preferentially arranged adjacent to each other in sequence.

[0028] In the above-mentioned processing and typesetting method, generating a processing program file according to the typesetting result includes:

[0029] Obtain pre-stored blank data information;

[0030] Based on a preset cycle algorithm, target blank information is adapted from the blank data information according to the typesetting result;

[0031] Acquire processing configuration information corresponding to the target blank information;

[0032] The processing configuration information is processed according to preset program generation rules to obtain a processing program file.

[0033] The above processing and typesetting method further includes:

[0034] Determine whether the typesetting programming of the product to be processed has been completed according to the material code;

[0035] If the layout programming has been completed, obtain the historical program file of the product to be processed, and determine the historical layout quantity corresponding to the target part in the historical program file;

[0036] Obtaining the actual layout quantity of the target part, and determining whether the actual layout quantity is greater than the historical layout quantity;

[0037] When the actual typesetting quantity is equal to or greater than the historical typesetting quantity, the historical program file of the product to be processed is called, and the remaining material features that do not meet the current preset data range in the historical program file are erased before processing and typesetting;

[0038] When the actual typesetting quantity is less than the historical typesetting quantity, processing typesetting is performed.

[0039] In a second aspect, an embodiment of the present invention provides an operation control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the processing and typesetting method as described in the embodiment of the first aspect above.

[0040] The operation control device provided by the embodiment of the present invention has at least the following beneficial effects: by obtaining the material code of the product to be processed, and quickly grabbing the external dimension information, material and processing thickness of the part according to the material code, the stock model can be determined according to the material and processing thickness, so as to facilitate subsequent processing layout for a specific stock model, and the processing surface area required for the part is determined according to the external dimension information, and the initial size of the stock can be preliminarily determined by accumulating the processing surface area of all parts within the preset data range of the same stock model and the gap between the preset parts, and in the layout area corresponding to the initial size of the stock, the parts with the same processing surface area are given priority layout, that is, the same type is given priority Batch layout of parts can improve layout efficiency, and then the remaining parts are combined and laid out according to preset layout rules to match the remaining sizes in the layout area, that is, different types of parts are combined and laid out, which can make full use of the space in the layout area and effectively improve the layout quality, so that the final layout result can complete the blank processing with the lowest loss. Through rational layout, the generation of waste can be greatly reduced, thereby reducing the processing cost of the blank. In addition, by automatically layout parts, the impact of human errors can be reduced, which is conducive to reducing labor costs and improving production efficiency. Therefore, the embodiment of the present invention can optimize the processing and layout process, thereby meeting the low cost, high quality and high efficiency requirements of production.

[0041] In a third aspect, an embodiment of the present invention provides a numerical control system, comprising the operation control device as described in the embodiment of the second aspect above.

[0042] The numerical control system provided by the embodiment of the present invention has at least the following beneficial effects: by obtaining the material code of the product to be processed, and quickly grabbing the external dimension information, material and processing thickness of the part according to the material code, the stock model can be determined according to the material and processing thickness, so as to facilitate subsequent processing and layout for a specific stock model, and the processing surface area required for the part is determined according to the external dimension information, and the initial size of the stock can be preliminarily determined by accumulating the processing surface areas of all parts within the preset data range of the same stock model and the gaps between the preset parts, and in the layout area corresponding to the initial size of the stock, the parts with the same processing surface area are given priority layout, that is, the same type of parts are given priority. Batch layout of parts can improve layout efficiency, and then the remaining parts are combined and laid out according to preset layout rules to match the remaining sizes in the layout area, that is, different types of parts are combined and laid out, which can make full use of the space in the layout area and effectively improve the layout quality, so that the final layout result can complete the blank processing with the lowest loss. Through rational layout, the generation of waste can be greatly reduced, thereby reducing the processing cost of the blank. In addition, by automatically layout parts, the impact of human errors can be reduced, which is conducive to reducing labor costs and improving production efficiency. Therefore, the embodiment of the present invention can optimize the processing and layout process, thereby meeting the low cost, high quality and high efficiency requirements of production.

[0043] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the processing and typesetting method described in the embodiment of the first aspect above.

[0044] The computer-readable storage medium provided by the embodiment of the present invention has at least the following beneficial effects: by obtaining the material code of the product to be processed, and quickly grabbing the external dimension information, material and processing thickness of the part according to the material code, the stock model can be determined according to the material and processing thickness, so as to facilitate subsequent processing and typesetting for a specific stock model, and the processing surface area required for the part is determined according to the external dimension information, and the initial size of the stock can be preliminarily determined by accumulating the processing surface areas of all parts within the preset data range of the same stock model and the gaps between the preset parts, and in the typesetting area corresponding to the initial size of the stock, the parts with the same processing surface area are preferentially typeset, that is, the same stock model is preferentially typeset. Batch layout of similar parts can improve layout efficiency, and then the remaining parts are combined and laid out according to preset layout rules to match the remaining sizes in the layout area, that is, different types of parts are combined and laid out, which can make full use of the space in the layout area and effectively improve the layout quality, so that the final layout result can complete the blank processing with the lowest loss. Through rational layout, the generation of waste can be greatly reduced, thereby reducing the processing cost of the blank. In addition, by automatically layout parts, the impact of human errors can be reduced, which is conducive to reducing labor costs and improving production efficiency. Therefore, the embodiment of the present invention can optimize the processing and layout process, thereby meeting the low cost, high quality and high efficiency requirements of production.

[0045] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the structures particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation to the technical solution of the present invention.

[0047] The present invention will be further described below with reference to the accompanying drawings and embodiments;

[0048] Figure 1 This is a flow chart of the processing and typesetting method provided in the first embodiment of the present invention;

[0049] Figure 2 This is a schematic diagram of the typesetting effect provided by the second embodiment of the present invention;

[0050] Figure 3 This is a flow chart of the processing and typesetting method provided in the third embodiment of the present invention;

[0051] Figure 4 This is a flow chart of the processing and typesetting method provided in the fourth embodiment of the present invention;

[0052] Figure 5 This is a flow chart of the processing and typesetting method provided in the fifth embodiment of the present invention;

[0053] Figure 6 This is a flow chart of the processing and typesetting method provided in Example 6 of the present invention;

[0054] Figure 7 This is a flow chart of the processing and typesetting method provided by the seventh embodiment of the present invention;

[0055] Figure 8 This is a flow chart of the processing and typesetting method provided by Example 8 of the present invention;

[0056] Figure 9 This is a schematic diagram of the typesetting effect provided by the ninth embodiment of the present invention;

[0057] Figure 10 This is a schematic diagram of the typesetting effect provided by the tenth embodiment of the present invention;

[0058] Figure 11 This is an overall flow chart of the processing and typesetting method provided in the eleventh embodiment of the present invention;

[0059] Figure 12 It is a structural diagram of the operation control device provided in the twelfth embodiment of the present invention. DETAILED DESCRIPTION

[0060] This section will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it should not be understood as a limitation on the scope of protection of the present invention.

[0061] It should be understood that in the description of the embodiments of the present invention, if there is a description of "first", "second", etc., it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. "At least one" means one or more, "more" means more than two, greater than, less than, exceed, etc. are understood to exclude the number itself, above, below, within, etc. are understood to include the number itself, and "several" means one or more, unless otherwise clearly and specifically defined. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. It can be understood that A and / or B can mean the existence of A alone, the existence of A and B at the same time, or the existence of B alone. A and B can be singular or plural.

[0062] Furthermore, unless otherwise expressly specified or limited, the term "connected" should be understood broadly. For example, it can mean fixed or movable connection, detachable or non-detachable connection, or integral connection; it can mean mechanical connection, electrical connection, or mutual communication; it can mean direct connection or indirect connection through an intermediary. It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown in the flowchart.

[0063] It should be noted that the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0064] With the rapid development and widespread application of CNC machining technologies such as machining programming, the automated production of mechanical structural parts has also developed rapidly. CNC programming is one of the main contents of the CNC machining preparation stage. In order to ensure the orderly progress of automated production, it is often necessary to perform typesetting programming on the parts to be processed during the CNC programming process, so as to select suitable blanks for processing, save material costs and improve processing efficiency. At present, it mainly relies on manual typesetting by processing personnel, but due to the relatively complex structure and large number of parts in the machinery manufacturing industry, the typesetting process becomes more difficult, which greatly increases labor costs. In addition, manual typesetting is prone to human errors, which reduces typesetting quality and production efficiency. Therefore, the existing processing typesetting process cannot meet the requirements of low cost, high quality and high efficiency of production.

[0065] The embodiments of the present invention provide a processing and typesetting method, an operation control device, a numerical control system and a storage medium, which can optimize the processing and typesetting process and meet the requirements of low cost, high quality and high efficiency in production.

[0066] The embodiments of the present invention are further described below with reference to the accompanying drawings.

[0067] like Figure 1 As shown, the first embodiment of the present invention provides a processing and typesetting method, including but not limited to steps S110 to S180:

[0068] Step S110: Obtaining a material code of the product to be processed, wherein the product to be processed includes at least one part;

[0069] It should be noted that the material code is used to uniquely identify the corresponding product to be processed. The material code can be obtained by manual input or by scanning a QR code marked on the surface of the product to be processed, and this embodiment of the present invention does not impose specific limitations on this. It is understood that the product to be processed is the object to be processed during the mechanical processing process, which can be a single part or an assembly of several parts. After obtaining the material code of the product to be processed, the corresponding three-dimensional model information can also be called based on the material code. After the three-dimensional model information is formatted, it can be imported into the automatic programming system to provide corresponding information for subsequent programming processing.

[0070] Step S120: Capture the part's dimensions, material, and processing thickness according to the material code;

[0071] It should be noted that the characteristics of the parts in the product to be processed can be determined based on the material coding, so that the external dimension information, material and processing thickness of the parts can be quickly captured. Specifically, the external dimension information is used to reflect the maximum external dimension of the parts, which facilitates the selection of suitable blanks for processing.

[0072] In one embodiment, the WINDCHILL system is a product lifecycle management (PLM) system commonly used in the production process. The WINDCHILL system can provide very powerful product structure management functions to meet the company's efficient production management needs. Data can be retrieved on the WINDCHILL system through material coding, and the corresponding three-dimensional model information, such as external dimension information, material, processing thickness, etc., can be called, or the corresponding three-dimensional assembly model can be opened on the three-dimensional assembly software based on the three-dimensional model information. By identifying the three-dimensional assembly model, the required feature information can be captured, so that the various features of the parts can be obtained quickly and efficiently, which is conducive to subsequent typesetting and processing.

[0073] Step S130: Determine the blank model according to the material and processing thickness;

[0074] It is understandable that the blank model is first determined based on the material and processing thickness of the part, so that subsequent processing and typesetting for the specific blank model can be carried out, which is conducive to improving the typesetting processing efficiency.

[0075] Step S140: determining the required processing surface area of the part according to the external dimension information;

[0076] After capturing the external dimension information of the part, the processing surface area of the part can be further obtained. It can be understood that the processing surface area is the area on the two-dimensional plane actually required by the part during the processing.

[0077] Step S150: accumulating the machining surface areas of all parts within a preset data range of the same blank model and the preset gaps between parts to determine the initial size of the blank;

[0078] It should be noted that in order to ensure the normal execution of the processing flow, it is necessary to determine the preset data range of the same blank model. The preset data range can represent a preset working cycle, a preset number of parts, a preset project, etc., and can be set specifically according to actual processing requirements. The preset data range can include multiple parts or assemblies, and multiple parts or assemblies can belong to the same product to be processed, or to multiple different products to be processed.

[0079] Specifically, by determining all parts within the preset data range of the same blank model, the processing surface areas of all parts are accumulated and calculated to obtain the total processing surface area, and the gaps between all parts are obtained. By accumulating all gaps to obtain the total gap, the total processing surface area and the total gap are added together to determine the total size, that is, the initial size of the blank. It can be understood that the blank size required for part processing within the preset data range is the initial size of the blank.

[0080] It should be noted that the gap between the parts can be set according to actual conditions, and the gap can be zero or a value greater than zero.

[0081] Step S160: Prioritizing layout of parts with the same processing surface area within the layout area corresponding to the initial size of the blank;

[0082] It is understood that based on the calculated initial size of the blank, a layout area of the same size can be determined. This layout area is used to layout all parts within the preset data range. Among all the parts to be layouted, there will be parts with the same processing surface area. By prioritizing these parts, layout efficiency can be improved. In other words, batch layout of similar parts can be prioritized. Similar parts refer to parts with the same processing surface area.

[0083] Step S170: Combining and laying out the remaining parts according to the preset layout rules to match the remaining sizes in the layout area to obtain the final layout result;

[0084] It should be noted that the preset layout rule is the optimal layout rule based on the standard of completing blank processing with the lowest loss. After giving priority to batch layout of similar parts, multiple remaining parts and remaining sizes in the layout area can be obtained. The remaining parts are combined and laid out according to the preset layout rule, that is, parts with different processing surface areas are combined and laid out. By further combining and laying out different types of parts, the combined sizes formed by the combination can match the remaining sizes in the layout area to the greatest extent. The remaining parts are continuously combined and laid out according to the preset layout rule until all parts are completed to obtain the final layout result. This can make full use of the space in the layout area, greatly reduce the generation of waste, and provide improved blank utilization.

[0085] For example, Figure 2 Area A shown in the figure is the layout area. All parts that need to be layout include part A, part B, part C, part D, and part E. Part A and part B have the same processing surface area, so parts A and part B are layouted first, and then the remaining size is determined. A remaining area B is formed in the adjacent positions of parts A and part B. The combined size formed by parts C and part D can better match the size of area B, so parts C and part D are combined and layout, and finally part E is layouted in the other remaining areas of the layout area. It can be understood that the actual size of the blanks required for all parts can be determined based on the final layout results to facilitate subsequent processing.

[0086] Step S180: Generate a processing program file according to the typesetting result.

[0087] It should be noted that a processing program file is generated based on the typesetting results to facilitate the selection of appropriate blanks and processing procedures for processing.

[0088] According to the processing layout method provided by the embodiment of the present invention, by obtaining the material code of the product to be processed, and quickly grabbing the external dimension information, material and processing thickness of the part according to the material code, the stock model can be determined according to the material and processing thickness, so as to facilitate subsequent processing and layout for a specific stock model, and the processing surface area required for the part is determined according to the external dimension information. By accumulating the processing surface areas of all parts within the preset data range of the same stock model and the gaps between preset parts, the initial size of the stock can be preliminarily determined. In the layout area corresponding to the initial size of the stock, parts with the same processing surface area are given priority for layout, that is, batch layout of similar parts is given priority, which can be Improve typesetting efficiency, and then combine and typeset the remaining parts according to preset typesetting rules to match the remaining sizes in the typesetting area, that is, combine and typeset different types of parts, which can make full use of the space in the typesetting area and effectively improve the typesetting quality, so that the final typesetting result can complete the blank processing with the lowest loss. Through rational typesetting, the generation of waste can be greatly reduced, thereby reducing the processing cost of the blank. In addition, by automatically typeset parts, the impact of human errors can be reduced, which is conducive to reducing labor costs and improving production efficiency. Therefore, the processing typesetting method of the embodiment of the present invention can optimize the processing typesetting process, thereby meeting the low cost, high quality and high efficiency requirements of production.

[0089] like Figure 3 As shown, in the above-mentioned processing layout method, before grabbing the part's external dimension information, material and processing thickness according to the material code in step S120, the processing layout method further includes but is not limited to steps S210 and S220:

[0090] Step S210: determining a feature type of the part according to the material code, wherein the feature type includes a first type of parts that require spatial expansion and a second type of parts that do not require spatial expansion, and the first type of parts includes multiple mutually folded levels;

[0091] Step S220: When the part is a first-category part, the surface area of the part is expanded according to the minimum level of the part based on a preset reference;

[0092] The external dimension information includes the unfolded surface area corresponding to the first type of parts and the projected area corresponding to the second type of parts.

[0093] In this embodiment, the characteristic type of the parts in the product to be processed can be determined according to the material code. The characteristic type is used to characterize the spatial expansion type of the parts. Since the structure of the parts in the machinery manufacturing industry is relatively complex, some parts have spatial bending features. Such parts are first-class parts. They need to be spatially expanded during the processing and typesetting process to quickly capture the external dimension information of the parts, while the other parts do not need to be spatially expanded. Such parts are second-class parts. It can be understood that the first-class parts are three-dimensional folding structures after sheet metal forming, which include at least two mutually folded levels. By performing surface area expansion processing on the parts according to the minimum level of the parts, the entire part can be expanded on the same plane, which is convenient for subsequent typesetting processing. It should be noted that after determining the characteristic type of the part, the outer contour of the part can be easily obtained, which facilitates further capture of the outer dimension information of the part. For the first type of parts, after surface area expansion processing, the expanded surface area of the first type of parts can be obtained. For the second type of parts, no expansion processing is required, and the projection area of the second type of parts can be directly obtained. By determining the characteristic type of the part, the outer dimension information of different parts can be quickly captured according to the characteristic type, which is conducive to improving typesetting processing efficiency.

[0094] Specifically, the first type of parts have multiple two-dimensional planes in three-dimensional space, and the specific unfolding form is to unfold based on the preset reference of the minimum level. For example, the two-dimensional plane of the minimum level is identified, which includes the geodetic space (x-axis plane) and the y-axis plane. Among them, the x-axis plane is the preset reference, and it needs to be unfolded based on the x-axis plane.

[0095] In some embodiments, the first category of parts may include small sheet metal parts, frame sheet metal parts, large sheet metal parts and other sheet metal parts. Such parts usually require a bending processing procedure. The second category of parts may include long strip parts, small hard plate parts, medium-sized hard plate parts, large plate parts and other ordinary parts.

[0096] like Figure 4 As shown, in the above-mentioned processing layout method, the feature type of the part is determined according to the material code in step S210, including but not limited to steps S310 to S330:

[0097] Step S310: Determine whether the product to be processed is an assembly according to the material code;

[0098] Step S320: When the product to be processed is an assembly, obtain the sub-coding information of each part in the assembly, and determine the characteristic type of the corresponding part according to the sub-coding information;

[0099] Step S330: When the product to be processed is a part, the corresponding feature type is determined according to the material code of the part.

[0100] In this embodiment, since the programming logic of different parts is different, and single parts are processed in sequence during the processing, the material code can be used to determine whether the product to be processed is an assembly. When the product to be processed is an assembly, that is, it means that the product to be processed is composed of multiple parts, the sub-coding information of each part in the assembly is obtained. Each sub-coding information uniquely marks the corresponding part. The characteristic type of the part can be quickly determined based on the sub-coding information to facilitate subsequent corresponding programming logic matching. When the product to be processed is a part, that is, it means that the product to be processed is composed of a single part, the characteristic type can be directly determined based on the material code of the part. By determining whether the product to be processed is an assembly and quickly determining the characteristic type of the part, the actual processing and manufacturing situation can be met, and the typesetting processing efficiency can be greatly improved.

[0101] like Figure 5 As shown, in the above-mentioned processing layout method, step S140 determines the processing surface area required for the part according to the external dimension information, including but not limited to steps S410 and S420:

[0102] Step S410: obtaining a preset machining allowance of a part;

[0103] Step S420: Calculate the required machining surface area of the part based on the preset machining allowance and the outer dimension information.

[0104] In this embodiment, in the actual processing process, it is necessary to meet processing requirements such as cutting, so it is often necessary to set a certain trimming allowance. The preset processing allowance can be understood as a tolerance allowance. The preset processing allowance can be added to the external dimension information accordingly. By calculating the preset processing allowance and the external dimension information, the processing surface area required for the part can be obtained, which is conducive to quickly determining the area actually required for the part during the processing process.

[0105] Specifically, the external dimension information represents the maximum external dimension of a part. If the maximum external dimension of a part is 100*100 and the preset machining allowance is 2, the length and width corresponding to the maximum external dimension are each increased by 2, resulting in a final machining surface area of 102*102. It should be noted that the preset machining allowance can be set according to actual conditions and is not specifically limited in this embodiment of the present invention.

[0106] like Figure 6 As shown, in the above-mentioned processing layout method, in step S160, parts with the same processing surface area are prioritized for layout, including but not limited to steps S510 and S520:

[0107] Step S510: Counting the number of parts of all parts with the same processing surface area;

[0108] Step S520: When the number of parts is greater than or equal to a preset value, the corresponding parts are preferentially arranged adjacent to each other in sequence.

[0109] In this embodiment, similar parts refer to parts with the same processing surface area. The number of similar parts is counted according to the processing surface area of the parts. When the number of parts is greater than or equal to the preset value, similar parts are prioritized for adjacent layout in sequence. The blank utilization rate of such parts is the highest. By prioritizing batch layout of similar parts, pre-layout processing can be performed in a shorter time frame, thereby realizing rapid layout of parts with strong flexibility, avoiding manual layout that consumes a lot of time, and greatly improving layout efficiency.

[0110] In some embodiments, the preset value is 2. When the number of parts is greater than or equal to 2, parts with the same processing surface area are preferentially arranged adjacent to each other.

[0111] In some embodiments, if the number of parts in multiple categories of parts is greater than or equal to a preset value, the priority of different categories of parts can be further determined, and the number of parts corresponding to different categories of parts can be sorted from large to small. It can be understood that the part corresponding to the largest number of parts has the highest priority, which can effectively improve the intelligence of the typesetting process. For example, the parts to be typeset include part A, part B, part C, part D, and part E, among which part A, part B, and part C are all parts of the same type, that is, they have the same processing surface area. The number of parts corresponding to this type of parts is 3, which can be classified as the first group of parts. Part D and part E are both parts of the same type in another category, and the number of parts corresponding to this type of parts is 2, which can be classified as the second group of parts. The priority of the first group of parts is higher than that of the second group of parts. That is to say, in the actual typesetting process, the first group of parts is typeset first, and then the second group of parts is typeset, which can facilitate the acquisition of high-utilization typesetting results.

[0112] like Figure 7 As shown, in the above-mentioned processing and typesetting method, step S180 generates a processing program file according to the typesetting result, including but not limited to steps S610 to S640:

[0113] Step S610: obtaining pre-stored blank data information;

[0114] Step S620: Based on a preset loop algorithm, target blank information is adapted from the blank data information according to the typesetting result;

[0115] Step S630: Acquire processing configuration information corresponding to the target blank information;

[0116] Step S640: Processing the processing configuration information according to the preset program generation rules to obtain a processing program file.

[0117] In this embodiment, the blank data information can be obtained from the pre-stored blank library, and a loop algorithm is used to perform loop matching in the blank data information according to the typesetting result, so as to adapt the target blank information corresponding to the typesetting result, and at the same time create the corresponding target blank for subsequent processing. The size of the target blank is the optimal specification. By further obtaining the processing configuration information corresponding to the target blank information, the program generation rules are preset in combination with the target blank information, and the processing configuration information is processed according to the program generation rules to obtain the processing program file, so as to output it to the processing equipment to perform corresponding processing, which is conducive to improving the efficiency of CNC programming.

[0118] It should be noted that the processing configuration information includes but is not limited to information such as clamping equipment, processing technology, process route, and processing view.

[0119] After obtaining the processing program file, simulation processing is required. When the simulation results are qualified, the processing program file is sent to the corresponding processing equipment.

[0120] It should be noted that the stock data information also includes the remaining stock that has been typeset, so that it can be used first when suitable remaining stock is adapted. By giving priority to the remaining waste, the cost of the stock can be saved. In addition, the pre-stored stock library also stores the processing equipment size information. Since different processing equipment can process different maximum sizes, the processing equipment size information stores the maximum sizes that can be processed by multiple different processing equipment. By matching the processing equipment size information with the corresponding stock data information, once the target stock information is determined, it can be quickly determined which processing equipment meets the processing requirements.

[0121] like Figure 8 As shown, in the above processing and typesetting method, it also includes but is not limited to steps S710 to S750:

[0122] Step S710: judging whether the typesetting programming of the product to be processed has been completed according to the material code;

[0123] Step S720: If the layout programming has been completed, obtain the historical program file of the product to be processed, and determine the historical layout quantity corresponding to the target part in the historical program file;

[0124] Step S730: Obtain the actual layout quantity of the target part, and determine whether the actual layout quantity is greater than the historical layout quantity;

[0125] Step S740: When the actual layout quantity is equal to or greater than the historical layout quantity, the historical program file of the product to be processed is called, and the remaining material features that do not meet the current preset data range in the historical program file are erased before processing and layout;

[0126] Step S750: When the actual typesetting quantity is less than the historical typesetting quantity, typesetting is processed.

[0127] In this embodiment, it is possible to determine whether the typesetting programming of the product to be processed has been completed based on the material code. If the typesetting programming has been completed, the generated historical program file can be obtained based on the material code, wherein the historical typesetting results are included in the historical program file, and the historical typesetting quantity of the target parts in the historical program file can be determined. At the same time, the actual typesetting quantity of the target parts is obtained based on the actual processing situation, and it is determined whether the actual typesetting quantity is greater than the historical typesetting quantity. If the actual typesetting quantity is equal to or greater than the historical typesetting quantity, the historical program file of the product to be processed can be called, that is, the historical typesetting result can be directly called, and the remaining material features in the historical program file that do not meet the current preset data range can be erased, and then the remaining parts within the preset data range can be processed and typeset, which is conducive to improving the intelligence of data processing. If the actual typesetting quantity is less than the historical typesetting quantity, the parts within the preset data range need to be processed and typeset again.

[0128] It is understood that the specific processing process of this embodiment can refer to the following introduction:

[0129] like Figure 2 、 Figure 9 and Figure 10 As shown, the historical program files of the products to be processed in the database can be called according to the material code. Figure 2 What is shown is the historical typesetting result corresponding to the historical program file. According to the actual processing situation, all parts that need to be processed and typeset within the preset data range can be determined, such as part A, part B, part F, part G, part H, and part I. Among them, part A, part B, and part F are all parts of the same type, and part G, part H, and part I are all parts of different types. The target part can be any one of the first group of parts of the same type in the historical typesetting result. Taking part A as the target part as an example, the actual typesetting quantity corresponding to part A is 3 (that is, the number of parts of the same type as part A is 3), and the historical typesetting quantity corresponding to part A in the historical program file is 2. At this time, the actual typesetting quantity is greater than the historical typesetting quantity, then the historical program file can be directly called, that is, the historical program file can be directly called. Figure 2 The historical layout results shown in the figure retain the layout results of parts A and B, and erase parts C, D, and E. Then, parts F, G, H, and I are processed and laid out. The specific processing layout can be based on the priority layout of similar parts and the combination layout of different types of parts, so as to form the following: Figure 9The layout result shown; or, the preset data range includes part A, part J, part K, part L, and part M, where part A is the target part, part J and part K are the same type of parts, and part A, part L, and part M are all different types of parts. The actual layout quantity corresponding to part A is 1, and the historical layout quantity is 2. The actual layout quantity of part A is less than the historical layout quantity, then the parts of the same type are layout-preferred, and different types of parts are layout-combined for re-processing and layout, so that the following can be formed: Figure 10 The layout results shown.

[0130] like Figure 11 As shown, in order to more clearly illustrate the processing and typesetting method of the present invention, the following will be further introduced using an overall embodiment:

[0131] First, obtain the material code of the product to be processed; determine whether the product to be processed is an assembly, and if so, obtain the sub-coding information of each part; further determine whether the product to be processed has completed typesetting programming, and if so, obtain the historical program file and perform corresponding processing and typesetting according to the actual typesetting quantity and historical typesetting quantity of the target part; if typesetting programming is not completed, determine whether the feature type of the part is a first-class part (based on the sub-coding information or directly based on the material code); if so, perform surface area expansion processing on the part according to the minimum level; obtain the preset processing allowance of the part; grab the part's external dimension information, material and processing thickness (determine the blank model based on the material and processing thickness, and determine the processing surface area required for the part based on the external dimension information); determine the gap between parts; accumulate the processing surface area and gap between parts of all parts within the preset data range (working cycle / number of parts / project) of the same blank model to determine the initial size of the blank; when the same The number of parts of the same type (parts with the same processing surface area) is greater than or equal to 2, and they are given priority in layout area; the remaining parts are combined and laid out according to the preset layout rules to match the remaining sizes in the layout area to obtain the final layout result; the pre-stored blank data information is obtained; based on the preset loop algorithm, the target blank information is adapted in the blank data information according to the layout result; the target blank is created; the processing configuration information (clamping equipment, processing technology, process route, processing view) is obtained; the processing configuration information is processed according to the program generation rules to generate a processing program file; the processing program file is simulated to determine whether the simulation result is qualified; if so, the processing program file is sent to the corresponding processing equipment; the processing layout method of this embodiment first gives priority to the layout of parts of the same type, and then combines and lays out parts of different types. The generation of waste can be greatly reduced through rational layout. At the same time, automated layout can reduce labor costs, which is conducive to improving production efficiency.

[0132] In addition, in this embodiment, the pre-stored blank library stores new blanks, remaining layout blanks that have been typeset, and processing equipment size information, wherein the new blanks and remaining layout blanks are both included in the blank data information. During the processing, the remaining waste materials, that is, the remaining layout blanks, can be used preferentially, which is beneficial to saving processing costs. The processing equipment size information can be matched with the corresponding blank data information to quickly determine the processing equipment that meets the processing requirements.

[0133] like Figure 12 As shown, the second embodiment of the present invention provides an operation control device 1200, including a memory 1210, a processor 1220, and a computer program stored in the memory 1210 and executable on the processor 1220; the processor 1220 and the memory 1210 can be connected via a bus or other means. Figure 12 The example of bus connection is shown in FIG. 1 , and the processor 1220 executes the above computer program to implement the processing typesetting method of the first embodiment as described above, for example, to implement the above described Figure 1 Steps S110 to S180 of the method, Figure 3 Method steps S210 and S220, Figure 4 Steps S310 to S330 of the method, Figure 5 Method steps S410 and S420, Figure 6 Method steps S510 and S520, Figure 7 Method steps S610 to S640, Figure 8 Method steps S710 to S750, and Figure 11By obtaining the material code of the product to be processed and quickly grabbing the external dimension information, material and processing thickness of the part according to the material code, the blank model can be determined according to the material and processing thickness, so as to facilitate subsequent processing and layout for a specific blank model, and the required processing surface area of the part is determined according to the external dimension information. By accumulating the processing surface area of all parts within the preset data range of the same blank model and the gap between the preset parts, the initial size of the blank can be preliminarily determined. In the layout area corresponding to the initial size of the blank, parts with the same processing surface area are given priority for layout, that is, batch layout of similar parts is given priority, which can improve layout efficiency. , and then the remaining parts are combined and laid out according to the preset layout rules to match the remaining sizes in the layout area, that is, different types of parts are combined and laid out, which can make full use of the space in the layout area and effectively improve the layout quality, so that the final layout result can complete the blank processing with the lowest loss. Through rational layout, the generation of waste can be greatly reduced, thereby reducing the processing cost of the blank. In addition, by automatically laying out the parts, the impact of human errors can be reduced, which is conducive to reducing labor costs and improving production efficiency. Therefore, the embodiment of the present invention can optimize the processing and layout process, thereby meeting the low cost, high quality and high efficiency requirements of production.

[0134] The third embodiment of the present invention provides a numerical control system, including the operation control device of the second embodiment as above. By obtaining the material code of the product to be processed and quickly grabbing the external dimension information, material and processing thickness of the part according to the material code, the blank model can be determined according to the material and processing thickness, so as to facilitate the subsequent processing and typesetting for the specific blank model, the required processing surface area of the part is determined according to the external dimension information, and the initial size of the blank can be preliminarily determined by accumulating the processing surface area of all parts within the preset data range of the same blank model and the gap between the preset parts. In the typesetting area corresponding to the initial size of the blank, the parts with the same processing surface area are given priority for typesetting, that is, the batch typesetting of the same type of parts is given priority, which can improve the typesetting efficiency. , and then the remaining parts are combined and laid out according to the preset layout rules to match the remaining sizes in the layout area, that is, different types of parts are combined and laid out, which can make full use of the space in the layout area and effectively improve the layout quality, so that the final layout result can complete the blank processing with the lowest loss. Through rational layout, the generation of waste can be greatly reduced, thereby reducing the processing cost of the blank. In addition, by automatically laying out the parts, the impact of human errors can be reduced, which is conducive to reducing labor costs and improving production efficiency. Therefore, the embodiment of the present invention can optimize the processing and layout process, thereby meeting the low cost, high quality and high efficiency requirements of production.

[0135] A fourth aspect of the present invention provides a computer-readable storage medium having computer-executable instructions stored therein. The computer-executable instructions can be used to cause a computer to execute the processing and typesetting method of the first aspect of the present invention, for example, to execute the above-described Figure 1 Steps S110 to S180 of the method, Figure 3 Method steps S210 and S220, Figure 4 Steps S310 to S330 of the method, Figure 5 Method steps S410 and S420, Figure 6 Method steps S510 and S520, Figure 7 Method steps S610 to S640, Figure 8 Method steps S710 to S750, and Figure 11 By obtaining the material code of the product to be processed and quickly grabbing the external dimension information, material and processing thickness of the part according to the material code, the blank model can be determined according to the material and processing thickness, so as to facilitate subsequent processing and layout for a specific blank model, and the required processing surface area of the part is determined according to the external dimension information. By accumulating the processing surface area of all parts within the preset data range of the same blank model and the gap between the preset parts, the initial size of the blank can be preliminarily determined. In the layout area corresponding to the initial size of the blank, parts with the same processing surface area are given priority for layout, that is, batch layout of similar parts is given priority, which can improve layout efficiency. , and then the remaining parts are combined and laid out according to the preset layout rules to match the remaining sizes in the layout area, that is, different types of parts are combined and laid out, which can make full use of the space in the layout area and effectively improve the layout quality, so that the final layout result can complete the blank processing with the lowest loss. Through rational layout, the generation of waste can be greatly reduced, thereby reducing the processing cost of the blank. In addition, by automatically laying out the parts, the impact of human errors can be reduced, which is conducive to reducing labor costs and improving production efficiency. Therefore, the embodiment of the present invention can optimize the processing and layout process, thereby meeting the low cost, high quality and high efficiency requirements of production.

[0136] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on computer-readable media, which can include computer storage media or non-transitory media and communication media or transient media. As is well known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVDs) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0137] The embodiments of the present invention are described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Various changes can be made within the scope of knowledge possessed by ordinary technicians in the technical field without departing from the scope of the present invention.

Claims

1. A processing and typesetting method, characterized in that: include: Obtaining a material code of a product to be processed, wherein the product to be processed includes at least one part; Capture the part's dimensions, material, and processing thickness according to the material code; Determine the blank model according to the material and the processing thickness; Determining the required processing surface area of the part according to the outer dimension information; Accumulate the machining surface areas of all parts within the preset data range of the same blank model and the preset gaps between parts to determine the initial size of the blank; In the layout area corresponding to the initial size of the blank, parts with the same processing surface area are prioritized for layout; Combining and laying out the remaining parts according to the preset layout rules to match the remaining sizes in the layout area to obtain the final layout result; A processing program file is generated according to the typesetting result.

2. The processing and typesetting method according to claim 1, characterized in that: Before capturing the external dimension information, material and processing thickness of the part according to the material code, the processing layout method further includes: Determining a characteristic type of the part according to the material code, wherein the characteristic type includes a first type of parts requiring spatial expansion and a second type of parts not requiring spatial expansion, the first type of parts including a plurality of mutually folded levels; When the part is of the first category, performing surface area expansion processing on the part according to the minimum level of the part based on a preset reference; The external dimension information includes the unfolded surface area corresponding to the first type of parts and the projected area corresponding to the second type of parts.

3. The processing and typesetting method according to claim 2, characterized in that: The determining the characteristic type of the part according to the material code includes: Determining whether the product to be processed is an assembly according to the material code; When the product to be processed is an assembly, obtaining sub-coding information of each part in the assembly, and determining the characteristic type of the corresponding part according to the sub-coding information; When the product to be processed is a part, the corresponding feature type is determined according to the material code of the part.

4. The processing and typesetting method according to claim 1, characterized in that: Determining the required processing surface area of the part according to the external dimension information includes: Obtaining a preset machining allowance of the part; The machining surface area required for the part is calculated based on the preset machining allowance and the outer dimension information.

5. The processing and typesetting method according to claim 1, characterized in that: The prioritizing layout of parts with the same processing surface area includes: Count the number of parts for all parts with the same machined surface area; When the number of parts is greater than or equal to a preset value, the corresponding parts are preferentially arranged adjacent to each other in sequence.

6. The processing and typesetting method according to claim 1, characterized in that: Generating a processing program file according to the typesetting result includes: Obtain pre-stored blank data information; Based on a preset cycle algorithm, target blank information is adapted from the blank data information according to the typesetting result; Acquire processing configuration information corresponding to the target blank information; The processing configuration information is processed according to preset program generation rules to obtain a processing program file.

7. The processing and typesetting method according to claim 1, characterized in that: Also includes: Determine whether the typesetting programming of the product to be processed has been completed according to the material code; If the layout programming has been completed, obtain the historical program file of the product to be processed, and determine the historical layout quantity corresponding to the target part in the historical program file; Obtaining the actual layout quantity of the target part, and determining whether the actual layout quantity is greater than the historical layout quantity; When the actual typesetting quantity is equal to or greater than the historical typesetting quantity, the historical program file of the product to be processed is called, and the remaining material features that do not meet the current preset data range in the historical program file are erased before processing and typesetting; When the actual typesetting quantity is less than the historical typesetting quantity, processing typesetting is performed.

8. An operation control device, characterized in that: The system comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the processing and typesetting method according to any one of claims 1 to 7.

9. A numerical control system, characterized in that: Comprising the operation control device as claimed in claim 8.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the processing and typesetting method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Optimized layout method and optimized layout system for numerical control sliding table saw

    CN105946054A

  • Efficient numerical control (NC) cutting system

    CN106624259A