Workpiece machining method, workpiece machining equipment, readable storage medium and program product
By splitting the workpiece processing information into preset and non-preset shape structures, target parameters are generated for automated processing, which solves the problem of high error rate caused by relying on manual skills in the prior art, and improves processing accuracy and efficiency.
Patent Information
- Application Number
- CN202510543553.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-28
- Publication Date
- 2025-08-19
AI Technical Summary
The existing workpiece processing methods highly rely on the professional skills of technicians, resulting in high human error rates, affecting product quality and production efficiency.
By obtaining the first processing information of workpiece processing, the second processing information of the preset shape structure and the non-preset shape structure are split into the target processing technology, and corresponding target parameters are generated, and processing is performed using an automated system.
Reliance on the professional skills of technicians is reduced, human error rate is reduced, processing accuracy and production efficiency are improved, and labor costs are saved.
Smart Images

Figure CN120508045A_ABST
Abstract
Description
Technical field
[0001] The present invention relates to the technical field of workpiece processing, and in particular to a workpiece processing method, workpiece processing equipment, a readable storage medium and a program product. [Background Technology]
[0002] In existing workpiece processing, the same workpiece may have multiple structures that need to be processed. In order to improve processing efficiency, technicians will analyze the workpiece drawings, disassemble the parts with low processing difficulty and the parts with high processing difficulty, and perform complex and tedious calculations on the disassembled drawings to obtain the corresponding processing parameters.
[0003] However, both the decomposition of drawings and the calculation of processing parameters are highly dependent on the professional skills and rich experience of technicians. Therefore, human errors are prone to occur, causing the processing results to deviate from expectations, thereby affecting product quality and production efficiency, and posing a severe challenge to cost control.
[0004] Therefore, it is necessary to design a new workpiece processing method, workpiece processing equipment, readable storage medium and program product to overcome the above problems. [Summary of the invention]
[0005] To solve at least one of the above technical problems, the present invention provides a workpiece processing method, workpiece processing equipment, a readable storage medium, and a program product. The technical solution is as follows:
[0006] In a first aspect, an embodiment of the present invention provides a workpiece processing method, comprising:
[0007] Acquiring first processing information for processing a workpiece, wherein the first processing information corresponds to a target processing technology;
[0008] Based on a preset shape structure corresponding to the target processing technology, the first processing information is split to obtain a plurality of second processing information corresponding to the preset shape structure and / or to a non-preset shape structure; target parameters corresponding to each of the second processing information are generated, so as to use corresponding processing tools to process the workpiece based on the target parameters.
[0009] In a feasible embodiment, the target parameter includes a first processing parameter related to the structure to be processed, and when the second processing information corresponds to the non-preset shape structure, the first processing parameter includes a first parameter and a second parameter;
[0010] The first parameter is a shape parameter corresponding to each of the non-preset shape structures. The first parameter is used to trim the processing tool. The trimmed processing tool is used to process the part of the workpiece corresponding to the non-preset shape structure. The second parameter is used to process the non-preset shape structure.
[0011] In a feasible embodiment, the trimmed surface of the trimmed processing tool matches at least one geometric surface of the non-preset shape structure.
[0012] In a feasible embodiment, determining the first parameter includes:
[0013] Acquiring structural information that each of the non-preset shape structures has a height change in a first direction, where the first direction includes a moving direction of a workbench or a processing tool when a machine tool is processing the workpiece;
[0014] The corresponding category of each of the non-preset shape structures is determined based on the structural information, and the corresponding first parameter is determined based on the category and the structural information; the category includes at least one of a slant line and an arc.
[0015] In a feasible embodiment, generating target parameters corresponding to each piece of second processing information includes performing the following operations on each piece of second processing information:
[0016] determining a first processing parameter corresponding to the structure to be processed indicated by the second processing information;
[0017] determining at least one second processing parameter matching the second processing information, each of the second processing parameters including a parameter corresponding to at least one processing tool;
[0018] estimating corresponding processing time for each combination of the first processing parameter and each of the second processing parameters;
[0019] In response to a selection operation on any combination item in the operation interface, the corresponding parameter of the combination item is determined as the target parameter; the operation interface displays each combination item and the parameters and / or processing hours corresponding to each combination item.
[0020] In a feasible embodiment, when the second processing information corresponds to the preset shape structure, determining at least one second processing parameter matching the second processing information includes:
[0021] When there are at least two optional processing tools that match the processing width of the structure to be processed corresponding to the first processing parameter, respectively determining parameters for each optional processing tool to process the structure to be processed to obtain at least two second processing parameters;
[0022] The processing width of the structure to be processed is matched with the optional processing tool so that the preset processing width of the optional processing tool is not greater than the processing width of the structure to be processed.
[0023] In a feasible embodiment, the method further includes:
[0024] Perform tool path simulation based on the target parameters and display the machining process;
[0025] The processing time is estimated based on the simulation result to determine the processing sequence of each piece of the second processing information.
[0026] In a feasible embodiment, obtaining the first processing information includes:
[0027] Obtaining a design drawing of the workpiece;
[0028] Based on the preset processing technology information, the design drawing is disassembled to obtain several different process sub-drawings;
[0029] On the operation interface, each process sub-graph and its required processing process information and / or estimated processing time are displayed;
[0030] In response to a selection operation on any of the process sub-graphs, the first processing information is generated.
[0031] In a feasible embodiment, the determination of the processing time includes:
[0032] Through the artificial intelligence (AI) network, the corresponding processing hours are estimated based on processing-related information;
[0033] The AI network is trained using training data, and the training data is obtained by the following operations:
[0034] Acquire processing data corresponding to workpiece processing in a historical time period, wherein the processing data includes a process sub-graph of the workpiece and processing hours of the workpiece;
[0035] When there is abnormal first data in the processed data, performing discrete point detection on the processed data, and if the second data indicated by the detection result is the same as the first data, deleting the first data;
[0036] If there is missing third data in the processed data, deleting the third data;
[0037] The processed data after deleting the first data and the third data is used as training data.
[0038] In a feasible embodiment, the method further includes:
[0039] Before processing the workpiece, the position information of the workpiece on the magnetic table is obtained. The position information is obtained by performing image recognition based on the image information of the workpiece on the magnetic table. The image information is obtained by an image acquisition device configured in the calibration station.
[0040] When the workpiece is transferred to the processing equipment for processing, control information in the processing equipment coordinate system is generated based on the position information, so as to control the moving distance of the workpiece in the processing equipment coordinate system based on the control information.
[0041] In a second aspect, an embodiment of the present invention provides a workpiece processing device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method described in the first aspect and any embodiment thereof.
[0042] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect and any embodiment thereof.
[0043] In a fourth aspect, an embodiment of the present invention provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect and any embodiment thereof.
[0044] The technical solution provided by the embodiment of the present invention has the following beneficial effects:
[0045] An embodiment of the present invention provides a workpiece processing method. Specifically, first processing information for workpiece processing can be obtained, and the first processing information corresponds to a target processing process. Then, the first processing information can be split based on a preset shape structure corresponding to the target processing process to obtain a plurality of second processing information corresponding to the preset shape structure and / or a plurality of second processing information corresponding to a non-preset shape structure, and generate target parameters corresponding to each second processing information, so as to use a corresponding processing tool to process the workpiece based on the target parameters. The implementation of the present invention can automatically complete the disassembly of the first processing information (such as a process subgraph) based on the preset shape structure, automatically obtain the second processing information corresponding to the preset shape structure and / or the second processing information corresponding to the non-preset shape structure, and determine the target parameters corresponding to each second processing information, and then use the corresponding processing tool to process the workpiece based on the target parameters. The implementation of this solution can effectively reduce manual intervention, reduce the degree of dependence on the professional skills of technicians, improve production efficiency, effectively save labor costs, and can distinguish between preset shape structures and non-preset shape structures corresponding to the processing process for processing, which is conducive to improving the accuracy and quality of the workpiece.
Brief Description of the Drawings
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments of the present invention.
[0047] Figure 1 A flowchart of a workpiece processing method provided by an embodiment of the present invention;
[0048] Figure 2 A system architecture block diagram provided for an embodiment of the present invention;
[0049] Figure 3 A schematic diagram of slope sanding parameters provided by an embodiment of the present invention;
[0050] Figure 4 A schematic diagram of inner arc surface sanding parameters provided by an embodiment of the present invention;
[0051] Figure 5 A schematic diagram of sand dressing parameters for an outer arc surface provided by an embodiment of the present invention;
[0052] Figure 6a A schematic diagram of a two-dimensional design drawing provided by an embodiment of the present invention;
[0053] Figure 6b A schematic diagram of a design drawing obtained by splitting the grinding wheel width according to an embodiment of the present invention;
[0054] Figure 6c Another schematic diagram obtained by splitting a design drawing based on the width of a grinding wheel provided in an embodiment of the present invention;
[0055] Figure 7 A schematic diagram of a tool-feeding simulation provided by an embodiment of the present invention;
[0056] Figure 8 A flowchart of splitting first processing information provided by an embodiment of the present invention;
[0057] Figure 9 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. [Specific implementation method]
[0058] The embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the embodiments described below in conjunction with the accompanying drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present invention and do not constitute a limitation on the technical solutions of the embodiments of the present invention.
[0059] Those skilled in the art will understand that, unless otherwise specified, the singular forms "a," "an," "said," and "the" used herein may also include the plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present invention mean that the corresponding features can be implemented as the features, information, data, steps, operations, elements, and / or components presented, but do not exclude implementation as other features, information, data, steps, operations, elements, components, and / or combinations thereof supported by the present technology. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, the element can be directly connected or coupled to the other element, or it can refer to the element and the other element establishing a connection relationship through an intermediate element. In addition, the "connected" or "coupled" used herein may include wireless connection or wireless coupling. The term "and / or" used herein indicates at least one of the items defined by the term, for example, "A and / or B" can be implemented as "A", or as "B", or as "A and B".
[0060] The term "based on" used in various embodiments of the present invention can be interpreted as meaning that the premise, condition, or information on which the basis is based is not exclusive, but at least one or a portion of it. This means that there is at least one clear basis, and other possible bases are not excluded.
[0061] To make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
[0062] The following describes several exemplary embodiments to illustrate the technical solutions of the embodiments of the present invention and the technical effects produced by the technical solutions of the present invention. It should be noted that the following embodiments can refer to, draw on, or combine with each other, and the same terms, similar features, and similar implementation steps in different embodiments will not be repeated.
[0063] The workpiece processing method provided by the embodiment of the present invention is described in detail below.
[0064] Specifically, such as Figure 1 As shown, the workpiece processing method includes steps S101 to S103:
[0065] S101. Acquire first processing information for processing a workpiece, where the first processing information corresponds to a target processing technology.
[0066] Alternatively, a workpiece is an object that is processed or manipulated during the machining process, and is processed by cutting, grinding, welding or other manufacturing processes to change its shape, size or properties, ultimately becoming a part of a desired product or component.
[0067] Optionally, the first processing information may be processing information (such as a process sub-graph) obtained by process decomposition based on the design drawing of the workpiece. The design drawing of the workpiece is a graphic file used to guide the processing of the workpiece, and the process sub-graph is a drawing obtained by decomposing the design drawing of the workpiece based on the process. Considering that the design drawing of the same workpiece can be produced using a variety of different processing technologies, the decomposition of the design drawing of the workpiece can have different processing technology solutions, that is, it can be decomposed into a variety of process sub-graphs.
[0068] Optionally, the target processing technology refers to the processing technology selected by the first processing information. For example, the processing technologies involved in the design drawing of the workpiece include A, B and C. The design drawing of the workpiece can be split based on the three processing technologies to obtain three different process sub-graphs (such as process sub-graphs Figure 1 、Crafts Figure 2 and crafts Figure 3 ), then the processing technology corresponding to each process subgraph is the target processing technology, such as process subgraph Figure 1 Corresponding to processing technology A, processing technology A is Figure 1 For the target processing technology.
[0069] In one example, for bearings, the design drawings of the bearings can be divided into three types: double-end surface grinding drawings, centerless external cylindrical grinding drawings, and groove finishing drawings. Then, the drawings can be determined as the first processing information for workpiece processing. For example, the process sub-drawing of centerless external cylindrical grinding (coordinate grinding machine processing, etc.) can be determined as the first processing information for centerless external cylindrical grinding. In this first processing information, the centerless external cylindrical grinding process involved is also the target processing process.
[0070] In another example, the design drawings of screws involve the processing of shapes, screw heads, threads, chamfers, grooves and other structures, so they can be divided into processing sub-graphs such as cold heading, turning, and milling. Then, each processing sub-graph is determined as the first processing information for workpiece processing, such as the process sub-graph of turning (processing threads, chamfers, grooves, etc.) is determined as the first processing information for turning.
[0071] S102 : splitting the first processing information based on a preset shape structure corresponding to a target processing technology to obtain a plurality of second processing information corresponding to the preset shape structure and / or to a non-preset shape structure.
[0072] Optionally, to adapt to different processing techniques, a shape structure that can be conventionally processed and formed can be pre-configured. For example, in grinding machine processing, the preset shape structure for the groove can be configured as a rectangular groove. All other shape structures other than rectangular grooves can be considered non-preset shape structures, such as a structure where the groove bottom is set as an inner arc. On this basis, in order to improve the adaptability and accuracy of processing and improve processing efficiency, the first processing information can be split based on the preset shape structure, distinguishing between the second processing information corresponding to the preset shape structure and the second processing information corresponding to the non-preset shape structure, so that different shape structures can be processed separately in subsequent operations, thereby reducing the number of clamping times and improving processing efficiency.
[0073] For example, for the same workpiece, it may include only the second processing information corresponding to the preset shape structure, or only the second processing information corresponding to the non-preset shape structure, or it may include both the second processing information corresponding to the preset shape structure and the second processing information corresponding to the non-preset shape structure. The second processing information can be a process unit drawing for each structural part generated by splitting the process sub-graph, and each process unit drawing corresponds to a processing operation of the workpiece processing equipment.
[0074] In an embodiment of the present invention, it is possible to group corresponding processing information of parts with the same structural characteristics into the same information set. For example, the processing information of all inclined surfaces with the same angle, inner arc surfaces with the same curvature, R angles, etc. can be grouped into the same information set, and the processing information of grooves with the same width or groove width differences within one cut can be grouped into the same information set. In the above embodiment, the first processing information can be understood as the first information set (such as the information contained in a process sub-diagram), the second processing information can be the second information set (such as the information contained in a process unit drawing), and each first information set can be divided into several second information sets.
[0075] S103 , generating target parameters corresponding to each piece of second processing information, so as to process the workpiece using corresponding processing tools based on the target parameters.
[0076] Optionally, target parameters refer to specific parameters set by various factors that affect processing quality and efficiency during the processing process. The target parameters include but are not limited to: processing width, processing tool type, cutting speed, feed rate, cutting depth, etc.
[0077] Optionally, when a plurality of second processing information is obtained, corresponding target parameters can be generated for each second processing information, so that the corresponding processing tool can be used to process the workpiece based on the target parameters. For example, in the process of generating the target parameters, parameters such as equipment process, workpiece material, workpiece size, processing tool material, processing tool size, equipment power, and the size of the required processing structure can be taken into consideration, and the target parameters can be automatically generated by obtaining parameters that match the current second processing information of the current workpiece from the existing data in the system. After determining the target parameters, considering that the determination of the target parameters is related to factors such as the operating conditions of the processing tool and the structural shape of the structure to be processed, the processing tool suitable for the current processing can be determined based on the target parameters to process the workpiece.
[0078] In an embodiment of the present invention, on the one hand, the shape structures that need to be processed in the workpiece are distinguished, which can improve the compatibility between the processed workpiece and the processing tool, and effectively improve the processing efficiency and processing accuracy; on the other hand, the first processing information can be automatically split to obtain the second processing information corresponding to the preset shape structure and / or the second processing information corresponding to the non-preset shape structure, and the target parameters are automatically generated based on the obtained second processing information, avoiding excessive dependence on technical personnel and effectively avoiding human errors, which can effectively improve the quality and production efficiency of the processed products.
[0079] In a feasible embodiment, the target parameter includes a first processing parameter related to the structure to be processed.
[0080] Optionally, the structure to be processed indicates a structure that needs to be processed in the current processing operation. In terms of shape and structure classification, the structure to be processed at least includes a preset shape structure or a non-preset shape structure.
[0081] In one example, when the second processing information corresponds to a preset shape structure, the first processing parameters include parameters for processing the preset shape structure. For example, if the preset shape structure is a rectangular groove, the first processing parameters include the depth and width of the groove.
[0082] In another example, when the second processing information corresponds to a non-preset shape structure, the first processing parameter includes a first parameter and a second parameter.
[0083] The first parameter is a shape parameter corresponding to each non-preset shape structure, and the first parameter is used to trim the processing tool. The trimmed processing tool is used to process the part of the workpiece corresponding to the non-preset shape structure.
[0084] For example, in a grinding process, conventional rectangular slots in a process sub-graph can be extracted to generate one drawing, while special slots (such as those with bevels, inner and outer arc surfaces, etc., i.e., non-rectangular slots) can be extracted to generate another drawing. For non-rectangular slot structures included in the drawing, corresponding first parameters can be generated based on each structure. These first parameters can be used to perform sanding before machining that part of the workpiece, improving the compatibility of the machining tool with the required machining structure of the workpiece, thereby improving machining accuracy and efficiency.
[0085] Optionally, the trimmed surface of the trimmed processing tool matches at least one geometric surface of the non-preset shape structure. Figures 3 to 5 As shown, the trimmed surface of the processing tool (such as a grinding wheel) after trimming corresponds to the geometric surfaces of the groove, such as the inclined surface, inner arc surface, and outer arc surface.
[0086] In one example, the overall shape of the non-preset shape structure matches the trimmed surface of a trimmed processing tool. In other words, the overall shape of the non-preset shape structure (i.e., the overall shape of all side surfaces and bottom surfaces of a non-rectangular groove (e.g., a special-shaped groove)) matches the trimmed surface of a trimmed processing tool (i.e., a trimmed grinding wheel), thereby allowing the non-preset shape structure (e.g., a special-shaped groove) to be machined and formed in one step using only one trimmed processing tool (e.g., a grinding wheel). Figure 3 As shown in the figure, there are two inclined surfaces and one bottom surface in the groove to be processed. The inclined surface on the front side is different from the inclined surface on the back side (such as the bevel angles C1 and C2, the heights H1 and H2, and the widths W1 and W2 are different). When a grinding wheel can process the front inclined surface, the back inclined surface and the middle bottom surface at the same time, the grinding wheel can be repaired to the same surface. Figure 3 The shape-matched processing tool shown in the figure realizes one-time processing and forming of a structure with a non-preset shape through the grinding wheel.
[0087] In another example, at least two local shapes of the non-preset shape structure are matched with different trimmed surfaces of the processing tool after trimming. A geometric surface here refers to a local shape of the non-preset shape structure, and the overall shape of the non-preset shape structure includes multiple geometric surfaces. For example, when the non-preset shape structure is a special-shaped groove, the overall shape of the non-preset shape structure is the combination of all side and bottom geometric shapes of the special-shaped groove. At least two geometric surfaces of the non-preset shape structure are matched with different trimmed surfaces of the processing tool after trimming. Figure 4As shown in the figure, the arc surface on the left, the middle part and the arc surface on the right are three geometric surfaces with different local shapes (as can be seen by comparing the parameters H1, H2, W1, W2, R1 and R2). One grinding wheel may not be able to complete the processing of the three geometric surfaces of local shapes in a groove at the same time. Therefore, the three grinding wheels can be dressed separately, and each grinding wheel corresponds to a geometric surface of local shape. During processing, different local geometric surfaces are processed by the three dressed grinding wheels respectively.
[0088] In another example, at least two local-shaped geometric surfaces of the non-preset shape structure match the finishing surface of the same trimmed processing tool. Exemplarily, the non-preset shape structure may include two local-shaped geometric surfaces, and the two local-shaped geometric surfaces may match the finishing surface of the same trimmed processing tool. In addition, the non-preset shape structure may include three or more local-shaped geometric surfaces, and at least two of the local-shaped geometric surfaces may match the finishing surface of the same trimmed processing tool, and the other local-shaped geometric surfaces may match the finishing surfaces of one or more other trimmed processing tools. Figure 5 As shown in the figure, the left arc surface, the middle part and the right arc surface are three geometric surfaces with different local shapes (as can be seen by comparing the parameters H1, H2, W1, W2, R1 and R2). It is possible that one grinding wheel cannot complete the three geometric surfaces with local shapes at the same time, but it is possible that one grinding wheel can process the left arc surface and the middle part at the same time. Therefore, the two grinding wheels can be dressed separately. The shape of one grinding wheel after dressing corresponds to the geometric surfaces of the local shapes of the left arc surface and the middle part, and the shape of the other grinding wheel after dressing corresponds to the geometric surfaces of the local shape of the right arc surface.
[0089] In the above embodiment, combined with Figure 3 、 Figure 4 and Figure 5 The corresponding relationship between the trimmed surface of the processing tool and the shape of the non-preset shape structure is illustrated by example. In practical applications, it can be adjusted according to actual needs, such as Figure 3 The two different bevels shown can also be processed using different dressed grinding wheels, which is not limited in this embodiment of the present invention.
[0090] Optional, such as Figure 3 、 Figure 4 and Figure 5 As shown, the height H and width W are related to the rough trimming amount M and the fine trimming amount N. The first parameter includes the rough trimming parameter and the fine trimming parameter, for example, Figure 3 As shown in the figure, height M1 is the rough trimming amount, and height N1 is the fine trimming amount. When the processing tool is a grinding wheel, the M1 portion can be quickly removed using the rough trimming parameters, and then the N1 portion can be removed using the fine trimming parameters to improve the surface quality of the grinding wheel and optimize the grinding performance.
[0091] The second parameter is used to process a non-preset shape structure.
[0092] For example, in addition to the first parameters for trimming the processing tool shown in the above embodiment, the second parameters of the non-preset shape structure need to be determined, such as the depth, width, and required surface smoothness of each position. After determining the parameters at each position of the structure, parameters related to the processing path can also be formed, such as the order in which each position is processed during the processing.
[0093] Optionally, determining the first parameter includes steps A1 and A2:
[0094] Step A1: Acquire structural information of each non-preset shape structure having a height change in a first direction, where the first direction includes a moving direction of a workbench or a processing tool when a machine tool is processing a workpiece.
[0095] For example, on a grinding machine, the workbench can move in the horizontal direction (i.e., the workbench can move along the X-axis and Y-axis directions), and the processing tool (such as a grinding wheel) can move in the vertical direction (i.e., the grinding wheel can move along the Z-axis direction), and the first direction can include any one of the X-axis, Y-axis, and Z-axis directions. Figure 3 As shown, there are bevels on the left and right sides. It can be understood that Figure 3 The formation of any inclined surface in the figure is due to the adjacent positions in the left and right directions (such as the Y-axis direction shown in Figure 3) in the vertical direction (such as Figure 3 There is a height difference in the Z-axis direction shown in FIG. Figure 3 The existence of height variation in the first direction of the non-preset shape structure refers to the existence of height variation (i.e., the height difference between the two adjacent points on the inclined surface) at two adjacent positions (i.e., two adjacent points on the inclined surface) on either the left or right inclined surface in the left-right direction (i.e., the first direction). Therefore, the structure to be processed including the inclined surface can be regarded as a non-preset shape structure, and the structural information of the non-preset shape structure having height variation in the first direction includes Figure 3 Structural information of the slope shown.
[0096] For example, taking a grinding machine as an example, in which a machine tool utilizes a grinding tool (e.g., a grinding wheel) to grind the surface of a workpiece, the first direction may be the direction in which the worktable or grinding wheel moves in the X-axis, Y-axis, or Z-axis directions during the grinding process, to adapt to different processing requirements. For example, when processing a cylindrical workpiece on a grinding machine, the grinding wheel may feed and grind along the axial direction of the workpiece (e.g., the Z-axis direction), that is, the processing tool moves along the first direction, while the worktable drives the workpiece to rotate to achieve grinding of the circumferential surface; for example, when processing a planar workpiece on a grinding machine, the grinding wheel may reciprocate along the X-axis or Y-axis directions on the worktable to achieve grinding of the plane.
[0097] Step A2: determining a category corresponding to each non-preset shape structure based on the structural information, and determining a corresponding first parameter based on the category and the structural information; the category includes at least one of a slant line and an arc.
[0098] For example, a special groove (such as all other grooves other than rectangular grooves, which may also be referred to as special-shaped grooves) is used as an example to illustrate the process of processing a structure having a non-preset shape. Figure 3 、 Figure 4 and Figure 5 As shown, first identify the groove line of the special groove and extract the left and right y points (with Figure 3 、 Figure 4 and Figure 5 The workpiece surface and coordinates are taken as an example) and the inconsistent lines and arcs are then identified according to the type of the groove line (such as Figure 3 The slope shown, Figure 4 The inner arc shown, Figure 5 The outer arc shown in FIG, calculates the corresponding first parameter.
[0099] For lines with a certain slope, the second processing information includes a sloped line of type Line, where the structure information includes the starting point [X1, Y1] and the ending point [X2, Y2]. The corresponding sanding parameters are calculated as follows:
[0100] Bottom width: W = Math.Abs(X2-X1);
[0101] Side height: H = Math.Abs(Y2-Y1);
[0102] Bevel angle: C = Math.Atan2(W / H)*180 / π.
[0103] For arcs: the second processing information includes an arc line of type Arc, where the structural information includes the center [Cx, Cy], radius R, starting angle θ1, and ending angle θ2. The corresponding sanding parameters are calculated as follows:
[0104] Starting point: (x1, y1) = (Cx + R*cos(θ1)), Cy + R*sin(θ1));
[0105] End point: (x2, y2) = (Cx + R*cos(θ2)), Cy + R*sin(θ2));
[0106] Arc width: W = Math.Abs(X2-X1);
[0107] Arc height: H = Math.Abs(Y2-Y1).
[0108] Optionally, in order to improve the accuracy of workpiece processing, when generating the first parameter for trimming the shape of the processing tool, the rough trimming amount and the fine trimming amount can be set, such as Figure 3 As shown, taking sand repair as an example, for the front side of the workpiece ( Figure 3 For example, if the grinding wheel is on the left side of the grinding wheel (in the example direction), a rough trim of amount M1 can be performed first, and then a fine trim of amount N1 can be performed. For example, the rough trim amount and the fine trim amount can be determined based on the relevant parameters of the grinding wheel and the workpiece. For example, the rough trim amount can be determined based on the shape and size of the workpiece structure to be processed (such as the depth, width, and special geometric features of the groove), and the fine trim amount can be determined based on the requirements for the surface roughness of the structure and the accuracy requirements of the workpiece structure to be processed.
[0109] For example, in the grinding machine process, after obtaining the second processing information (such as the process unit drawing), the special grooves (bevels, inner and outer arc surfaces) in the drawing can be identified. For example, for the bevel, the groove bevel angle, bevel height and width are calculated according to the oblique line to generate the corresponding bevel sanding parameters, and the pre-processing sanding parameters (also called the first parameters) are automatically generated accordingly. For example, for the inner and outer arc surfaces, the center offset point and radius are calculated according to the arc line. At the same time, the database can be used to quickly retrieve and accurately match key parameters such as workpiece material, processing length, groove width, groove depth range (maximum, minimum and average groove depth), processing type, and precision requirements to determine the corresponding cutting amount, plane Y-axis feed amount, interval sanding depth and other parameters. Subsequently, based on these calculated sanding parameters and the generated target parameters, the processing time is estimated, and the relevant parameters and estimated processing time are output to the automatic processing scheduling module for scheduling, so as to achieve efficient and accurate scheduling and sorting of processing tasks.
[0110] In a feasible embodiment, when the second processing information corresponds to a preset shape structure, determining the second processing information includes step B1: splitting the part of the first processing information corresponding to the preset shape structure based on the preset first processing width and the second processing width to obtain the second processing information, and the second processing information includes at least one of the following information: the processing width is not greater than the first processing width, is greater than the first processing width and not greater than the second processing width, and is greater than the second processing width.
[0111] Optionally, in order to reduce the number of clamping times and improve processing efficiency, the part corresponding to the preset shape structure in the first processing information can be further split. Figure 8As shown, after the first processing information is split based on the preset shape structure, if it is determined that the split part does not include the preset shape structure, the part can be directly determined as the second processing information A, that is, the second processing information corresponding to the non-preset shape structure; if it is determined that the split part includes the preset shape structure, the part corresponding to the preset shape structure in the first processing information can be further split based on the preset first processing width and the second processing width to obtain the second processing information B, that is, the second processing information corresponding to the preset shape structure. For example, in grinding machine processing, the width of a conventional rectangular groove is split into drawings according to a preset disassembly width (such as a first processing width of 4mm and a second processing width of 8mm). The grooves with a groove width of 4mm and below can be split into one drawing, such as a groove with a groove width of 3mm and a groove width of 4mm as a second processing information; then, the grooves with a groove width between (4mm, 8mm] can be split into another drawing, such as a groove with a groove width of 4.5mm, a groove width of 7mm, and a groove width of 8mm as another second processing information, and the grooves with a groove width greater than 8mm can be split into another drawing, such as a groove with a groove width of 8.5mm and a groove width of 9mm as another second processing information.
[0112] In the above embodiment, the configuration of the first and second processing widths effectively distinguishes pre-set shapes with different processing widths, allowing the same processing tool to be used to process structures within the same processable width range during subsequent processing, thereby improving processing efficiency and precision. For example, using a grinding wheel with a width of 4.5 mm, structures within the processing width range of [4.5 mm, 8 mm] can be processed in a single clamping.
[0113] Optionally, the first processing width and / or the second processing width is determined based on at least one of the following information:
[0114] Information 1: thickness information and / or width information of a processing tool used to process a workpiece;
[0115] For example, taking a grinding wheel as an example, the coarseness of the grinding wheel indicates the size of the grinding wheel particles and the density of the grinding wheel. The finer the particles and the greater the density of the grinding wheel, the smaller the cutting force and the higher the surface finish; while the coarser the particles and the smaller the density of the grinding wheel, the greater the cutting force and the rougher the cut surface; the width of the grinding wheel refers to the width of the abrasive on the grinding wheel disc. In one example, a coarse grinding wheel is suitable for quickly removing a large amount of material from a workpiece, a fine grinding wheel is suitable for fine grinding and polishing, a wide grinding wheel can be suitable for processing larger structures, and a narrow grinding wheel can be suitable for processing structures of specific shapes. Based on this, the processing width for splitting the second processing information can be set based on the grinding wheel configured on the current workpiece processing equipment.
[0116] Information 2: Geometric accuracy information of workpiece processing.
[0117] Optionally, geometric accuracy can include dimensional accuracy (e.g., requiring the deviation between the actual size of the workpiece and the expected size to be within an acceptable range), shape accuracy (e.g., requiring the shape of the workpiece to match the expected shape), and position accuracy (e.g., requiring the relative positional relationships between parts of the workpiece to match the expected relative positional relationships). Based on this, when setting the processing width for splitting the second processing information, it can be determined based on the processing geometric accuracy information.
[0118] In one example, if Figure 6a As shown in , it can be a process sub-graph obtained by process splitting based on the design drawing of the workpiece, which can also be called the first processing information. Based on the grinding wheel A with a width of 4.5mm and the grinding wheel B with a width of 2.0mm, Figure 6a The drawings shown are split into Figure 6b and Figure 6c The drawings shown can be divided into different processing parts performed by different grinding wheels.
[0119] Optionally, the second processing information can be split according to different processing widths of optional processing tools to obtain multiple different splitting schemes, and then the processing hours of each splitting scheme can be estimated, and the multiple splitting schemes can be selected based on the processing hours. The selected splitting scheme can be determined as the result of splitting the second processing information based on the preset processing width of the optional processing tool.
[0120] In a feasible embodiment, before splitting the first processing information based on the preset shape structure, the method further includes step C1: dividing the first processing information into a plurality of processing information corresponding to each processing direction based on the processing direction of the workpiece.
[0121] Optionally, considering that the workpiece can be a three-dimensional object, the shape and structure required to be processed in each processing direction may be different. In order to improve processing efficiency and processing accuracy, the first processing information can be split based on the different processing directions of the workpiece, such as splitting to obtain drawings corresponding to different processing directions, so as to improve the fineness considered in subsequent processing.
[0122] For example, the workpiece is a cube before processing, and it can be split according to the left-right, front-back, and top-bottom directions of processing to obtain processing information corresponding to different processing directions.
[0123] In a feasible embodiment, generating target parameters corresponding to each piece of second processing information includes performing the following operations from step D1 to step D4 for each piece of second processing information:
[0124] Step D1: Determine a first processing parameter corresponding to the structure to be processed indicated by the second processing information.
[0125] Optionally, the first processing parameter is related to the structure to be processed, and may be a workpiece material, a workpiece length, a size of the structure to be processed, etc. In an embodiment of the present invention, the first processing parameter may be obtained by extracting and analyzing features in the drawing after the device acquires the second processing information (such as a drawing).
[0126] Optionally, after obtaining the second processing information in step S102 and before determining the corresponding target parameters using different processing tools, to improve processing efficiency and accuracy, the workpiece may be split into different processing surface drawings based on different processing directions, and subsequent steps may be performed separately for different processing surface drawings. For example, if the drawings corresponding to the second processing information include grooves opening in a vertical direction and grooves opening in a horizontal direction, the drawings of the grooves opening in different directions may be split, resulting in one processing surface drawing corresponding to the grooves opening in the vertical direction and another processing surface drawing corresponding to the grooves opening in the horizontal direction.
[0127] Step D2: Determine at least one second processing parameter that matches the second processing information, each second processing parameter including a parameter corresponding to at least one processing tool.
[0128] Optionally, the second processing parameter is related to the processing tool used. For example, if a 4mm wide grinding wheel is used, the second processing parameter includes the grinding wheel material, grinding wheel coarseness, grinding wheel width, the number of clamping times required for processing using the grinding wheel, the number of processing times required for processing using the grinding wheel, etc.
[0129] Optionally, the second processing information corresponding to the preset shape structure may be processing information corresponding to one preset shape structure, or may be processing information corresponding to multiple preset shape structures.
[0130] Exemplarily, for the second processing information corresponding to the preset shape structure, taking the preset shape structure as a rectangular groove as an example, assuming that an 8mm wide groove needs to be opened, a 4mm wide grinding wheel or an 8mm wide grinding wheel can be selected. Therefore, there are at least two second processing parameters corresponding to the processing of the 8mm wide groove, such as the second processing parameter corresponding to the 4mm wide grinding wheel, the second processing parameter corresponding to the 8mm wide grinding wheel, and the second processing parameter corresponding to the 4mm wide grinding wheel and the 8mm wide grinding wheel. Among them, the second processing parameters corresponding to the 4mm wide grinding wheel and the 8mm wide grinding wheel can be understood as that for an 8mm wide groove, the 8mm wide grinding wheel is first used for rough processing, and then the 4mm wide grinding wheel is used for fine processing. In addition, in the same second processing information, assuming that a countersink groove with an upper width of 10mm and a lower width of 8mm needs to be opened, then among the second processing parameters corresponding to the 4mm wide grinding wheel and the 8mm wide grinding wheel, the 8mm wide grinding wheel can be used to process the lower width of the countersink groove, and the 4mm wide grinding wheel can be used to process the upper width of the countersink groove.
[0131] For example, the second processing information corresponding to the preset shape structure takes the preset shape structure as a rectangular groove as an example. Assuming that a groove with a width of 4mm needs to be opened, and only 4mm and 8mm width grinding wheels are available, then the processing of the 4mm width groove corresponds to only one second processing parameter corresponding to the 4mm width grinding wheel.
[0132] For example, for the second processing information corresponding to the non-preset shape structure, taking the non-preset shape structure as a special groove as an example, Figure 3 The grooves with different bevels on the front and back sides can be matched with two grinding wheels, which can also be matched with the bevels on the front and back sides. Figure 3 The groove is machined with a grinding wheel that matches the shape and structure of the groove, so there are at least two different second machining parameters.
[0133] Step D3: estimating the corresponding processing time for each combination of the first processing parameter and each second processing parameter.
[0134] Optionally, the second processing information corresponds to a first processing parameter, but may correspond to at least one second processing parameter. Therefore, when combining the first processing parameter and the second processing parameter, there is at least one combination item, based on which the processing hours of different combination items can be estimated separately. The processing hours of different combination items may be different or the same. Taking the processing tool as a grinding wheel as an example, the grinding wheel's travel speed and travel distance may affect the amount of cutting. For example, the wider the grinding wheel, the slower its rotation speed, and thus the slower its travel speed. For example, an 8mm-wide grinding wheel only needs to move the grinding wheel 2mm to grind a 10mm-long groove, while a 4mm-wide grinding wheel needs to move the grinding wheel 6mm to grind a 10mm-long groove, which will result in different processing hours.
[0135] Step D4: In response to the selection operation of any combination item on the operation interface, the corresponding parameters of the combination item are determined as target parameters; the operation interface displays each combination item and the corresponding parameters and / or processing hours.
[0136] Optionally, the device can display each combination item, the parameters corresponding to each combination item and / or processing time through the operation interface. The operator of the device can select the combination item through the information displayed on the operation interface and determine the parameters corresponding to the selected combination item as the target parameters.
[0137] Optionally, each combination item can be displayed in numerical form or in graphic form. For example, when displaying in numerical form, the various second processing parameters obtained in step D2 can be marked with different numerical values, and the numerical values can be used as labels for each combination item in step D4. For example, when displaying in graphic form, if Figure 6a The structures to be processed are shown in the figure and are processed by grinding wheels with a width of 2.000mm and 4.500mm respectively. Figure 6a (such as the second processing information) can be obtained by disassembly Figure 6b The drawing shown is processed with a grinding wheel of 4.500 mm width, and the Figure 6c The drawing shown uses a 2.000mm wide grinding wheel for processing. In addition, a drawing (not shown) can be obtained that uses both a 2.000mm wide grinding wheel and a 4.500mm wide grinding wheel for processing. In this drawing, a 4.500mm wide grinding wheel can be used for rough processing, and then a 2.000mm wide grinding wheel can be used for fine processing.
[0138] In an embodiment of the present invention, a visual interactive solution is provided for determining the drawing process of a single processing of a processing device during workpiece processing. Optionally, when the equipment automatically decomposes the first processing information to obtain the second processing information, the number of clamping times, the number of processing times (such as the number of grinding knives in a grinder), the width of the processing tool, and the processing time required for processing each second processing information can be displayed. The operating object of the processing equipment (such as a technician, an intelligent robot, etc.) selects the displayed parameters and / or processing time, and the selected combination item is determined as the target parameter corresponding to the corresponding second processing information.
[0139] In a feasible embodiment, in step D3, when the second processing information corresponds to a preset shape structure, determining at least one second processing parameter that matches the second processing information includes step D31: when there are at least two optional processing tools that match the processing width of the structure to be processed corresponding to the first processing parameter, respectively determining the parameters for processing the structure to be processed by each optional processing tool to obtain at least two second processing parameters; wherein the processing width of the structure to be processed is matched with the optional processing tool so that the preset processing width of the optional processing tool is not greater than the processing width of the structure to be processed.
[0140] For example, Figure 6bAs shown, the first processing parameter includes the processing width (such as the groove width) of each structure to be processed (such as a rectangular groove), such as groove widths of 4.535mm, 5.930mm, 5.535mm, 4.500mm and 2.500mm. The preset processing widths of the optional processing tools are 8.000mm, 4.500mm and 2.000mm. The processing width of the structure to be processed is matched with the preset processing width of the optional processing tool (since the groove with a groove width of 2.500mm is located at the edge of the workpiece, it can be processed with a processing tool of any width. Therefore, when performing the matching operation, the groove width of the groove can be ignored to avoid generating a second processing parameter corresponding only to the groove, which increases the complexity of calculation and processing). It can be seen that there are two optional processing tools with a width of 4.500mm and a width of 2.000mm that match the processing width of the structure to be processed. Therefore, for Figure 6b The machining information shown here yields the first and second machining parameters corresponding to a 4.500mm-wide grinding wheel, the second machining parameters corresponding to a 2.000mm-wide grinding wheel, and the third machining parameters corresponding to both 4.500mm and 2.000mm-wide grinding wheels. Considering that workpiece machining involves both roughing and finishing, the third machining parameters can be understood as using a 4.500mm-wide grinding wheel for roughing and a 2.000mm-wide grinding wheel for finishing a slot.
[0141] As can be seen from the above example, when there are at least two matching optional processing tools, at least two second processing parameters can be obtained (considering that switching grinding wheels will increase processing time, the above third situation of using two different grinding wheels for processing at the same time is rarely considered as an optional situation, but in actual application it can be configured accordingly according to needs, and the embodiment of the present invention is not limited to this).
[0142] In another example, Figures 6a to 6c As shown in FIG, the first processing parameters (such as the width of the groove) of the structure to be processed (such as the rectangular groove) indicated by the second processing information include processing widths of 4.535mm, 2.860mm, 5.930mm, 5.535mm, 2.110mm, 4.500mm and 2.500mm, and the optional processing tools include a grinding wheel with a width of 2.000mm and a grinding wheel with a width of 4.500mm. Therefore, Figure 6a For the structure to be processed shown, there are at least two optional processing tools, and the corresponding second processing parameters include the following two items:
[0143] The second processing parameters for the first item, using a 4.500mm wide grinding wheel, include Figure 6bThe travel amount of the part shown, where the part with a processing width of 2.500mm is located at the edge of the workpiece, therefore, using a processing tool with a width greater than the processing width of the structure to be processed does not affect the actual processed structural shape, and the part with a processing width of 2.500mm is located at the edge of the workpiece and is processed by a grinding wheel with a width of 4.500mm, only needs to be processed once, which saves the number of processing times and processing time compared to processing this part with a grinding wheel with a width of 2.000mm.
[0144] The second processing parameters for the second item, using a 2.000mm wide grinding wheel, include Figure 6c Amount of travel of the portion shown.
[0145] In the above example, Figure 6a The second processing information shown is processed by two grinding wheels with a width of 4.500mm and 2.000mm. Considering that the part processed by the 4.500mm width grinding wheel in the first item can also be processed by the 2.000mm width grinding wheel, Figure 6a The second machining information shown may also correspond to a second machining parameter corresponding to a grinding wheel with a width of 2.000 mm.
[0146] In a feasible embodiment, the workpiece processing method further includes steps E1 to E2:
[0147] Step E1: Perform tool path simulation based on target parameters and display the machining process.
[0148] Step E2: estimating the processing time based on the simulation results to determine the processing sequence of each second processing information.
[0149] Optionally, tool path simulation based on target parameters means that during the machining process, according to the target parameters generated by the current split drawing, the cutting path of the machining tool on the workpiece is simulated using computer simulation software or the simulation function of the machining equipment itself. Through tool path simulation, the cutting path of the machining tool on the workpiece can be visually observed (such as displayed through the visual hardware of the equipment or transmitted to the associated terminal device for display, and the operator can promptly understand the possible problems of the workpiece under the target parameters through the displayed simulation process). Figure 7 As shown, the target parameters can be verified to be reasonable. If the cutting trajectory is found to be inconsistent with expectations, the target parameters can be adjusted in time.
[0150] Optionally, in the processing of workpieces, in order to adapt each second processing information to match the optimal processing tool and improve processing efficiency, the target parameters corresponding to each second processing information to be executed can be arranged in sequence, and this process can be called scheduling. Among them, the required processing time can be estimated based on the simulation results of the tool-feeding simulation, and the processing sorting can be performed based on the estimated time. The simulation results may include information such as the movement trajectory of the visualized processing tool, the movement speed of the processing tool, and the processing status of the workpiece. Based on this information, the time cost required to complete the processing requirements of the corresponding second processing information, that is, the processing time, can be estimated. In one example, tool-feeding simulation is also a processing simulation process. The time required to complete the simulation can be used as reference data for estimating the processing time, to assist in estimating more accurate processing time, so as to determine a more reasonable sorting in the subsequent processing sorting and formulate a reasonable processing plan.
[0151] In a feasible embodiment, obtaining the first processing information includes steps F1 to F4:
[0152] Step F1: Obtain the design drawing of the workpiece.
[0153] Step F2: Based on the preset processing technology information, the design drawing is disassembled to obtain several different process sub-drawings.
[0154] Step F3: On the operation interface, each process sub-graph and its required processing information and estimated processing time are displayed.
[0155] Step F4: In response to a selection operation on any process sub-graph, first processing information is generated.
[0156] Optionally, the design drawing of the workpiece is a graphic and textual expression that converts the design ideas according to the functional requirements, usage environment and manufacturing conditions of the product. The design drawing may include basic views (such as main view, top view, left view, right view, etc.), dimensioning, material and technical requirements, tolerances and fitting relationships, processing symbols and annotations and other information. In one example, the design drawing can be two-dimensional, and the processing requirements of the three-dimensional workpiece can be illustrated by the coordination of various basic views, which can relatively reduce the complexity of the production and disassembly of the design drawing; in another example, the design drawing can also be three-dimensional, and the various details of the workpiece can be illustrated by a three-dimensional model, which can more intuitively show the state of the workpiece after processing.
[0157] Optionally, a suitable processing technology can be selected according to the structural characteristics and design requirements of the workpiece. According to the processing technology information recorded in the program system, the obtained design drawings are parsed and divided into different sets of processing technology sub-graphs. In this process, the parts that need to be processed by the same process can be divided into the same process sub-graph. Among them, since the same structure in the workpiece may be processed by multiple different processes, several different process processing schemes can be obtained by disassembling the design drawings of the workpiece. Among them, the disassembly operation includes parsing and splitting the drawings, such as parsing the information included in the drawings into a computer-readable language and then splitting it.
[0158] In one example, the process sub-graphs can also be divided according to the process stages, such as the rough machining stage (such as removing most of the allowance of the workpiece to form the basic shape and size), the semi-finishing stage (such as further removing the allowance to improve the workpiece accuracy and surface quality) and the finishing stage (such as achieving the final size and shape required by the design drawings).
[0159] Optionally, each process sub-diagram, along with its required processing information and estimated processing time, can be displayed, allowing the operator to select from among the multiple process sub-diagrams to form the first processing information. For example, some process sub-diagrams may be irreplaceable, while others may be replaceable. To expedite the drawing decomposition process and improve processing efficiency, only the replaceable process sub-diagrams can be displayed for selection by the operator.
[0160] In a feasible embodiment, the determination of the processing time in the above embodiment includes: estimating the corresponding processing time based on information related to the processing through an AI network.
[0161] Optional, such as Figure 2 As shown, the processing time obtained through AI time estimation can be used as reference data for each unit in the drawing disassembly module, each unit in the parameter generation module, and the order processing module. At different stages or to meet different needs, the AI network can estimate the processing time for the corresponding stage or need based on the different input data. For example, when providing the estimated processing time to the order processing module, the time estimation can be performed based on the input target parameters.
[0162] Optionally, the AI network is trained using training data, and the training data is obtained by performing corresponding operations from steps G1 to G3 below:
[0163] Step G1: Acquire processing data corresponding to workpiece processing in a historical time period, where the processing data includes a process sub-graph of the workpiece and processing hours of the workpiece.
[0164] Step G2: When there is abnormal first data in the processed data, perform discrete point detection on the processed data. If the second data indicated by the detection result is the same as the first data, delete the first data.
[0165] Step G3: If there is missing third data in the processed data, delete the third data.
[0166] Step G4: Using the processed data after deleting the first data and the third data as training data.
[0167] Optionally, in actual machine processing, processing data will be continuously generated. The AI network can be trained once or continuously updated and iterated as target parameters are continuously generated. For example, processing data within a specific time period can be obtained regularly or irregularly to test the performance of the AI network. If the performance of the AI network is determined to be more than an acceptable difference from the expected performance, data from the most recent historical time period can be obtained to retrain the network, update network parameters, and optimize network performance.
[0168] Optionally, due to the poor stability of data protection during machine processing, data loss and abnormalities may easily occur in the event of unstable data communication, mechanical transmission failure, human intervention, etc. In order to avoid missing data and abnormal data affecting the training of the AI network, thereby affecting the accuracy of the processing time estimated by the AI network, the missing data and abnormal data can be processed. Exemplarily, when an abnormal first data is identified in the processed data, discrete point detection can be performed on the processed data (such as identifying data points in the data set that are significantly different from most data, that is, outliers), and the second data that can be detected to be abnormal is determined. Then, the first data identified earlier and the second data obtained by the subsequent detection are compared. If the first data is the same as the second data, it means that the data is real abnormal data, which has a greater impact on the AI network training and can be deleted; if the first data is different from the second data, it means that the first data identified may be a false abnormality (such as misjudgment), and the second data with the abnormality is repeatedly verified. If the value determined by repeated verification is the same as the first data, it proves that the first data is not abnormal data and the second data detected previously is abnormal data, then the second data is deleted and the first data is retained; then, the processed data after the first data is deleted can be used as training data to train the AI network.
[0169] For example, suppose there are ten groups of data, of which groups 1 to 9 are all 5, and the tenth group of data is 100. At this time, the second data obtained by re-verification through discrete points is 100, which is equal to the tenth group of data, and the tenth group of data is deleted; if the second data obtained by verification is 200, which is inconsistent with the tenth group of data, repeated verification is performed. If the data obtained from subsequent repeated verification is around 100, then it is proved that the tenth group of data 100 is not abnormal data, but 200 is abnormal data, so the data of 200 is deleted and the tenth group of data is retained.
[0170] Optionally, deletion of missing or abnormal first data in the processed data may be performed in the following manner:
[0171] Direct deletion method: Delete the data related to missing or abnormal values. For example, when recording processing data in a list format, you can delete all the data in the row or column where the missing or abnormal values are located, or delete the row or column when the number of missing or abnormal values in the same row or column exceeds the set threshold or ratio.
[0172] Indirect deletion: By weighting each item in the processed data, the bias caused by missing or abnormal data is reduced. This approach does not physically delete the data, but rather reduces the impact of missing or abnormal data on the overall processed data by assigning weight coefficients, thereby improving the accuracy and effectiveness of AI network training using the processed data as training data.
[0173] In a feasible embodiment, the method provided by the embodiment of the present invention further includes step H1 and step H2:
[0174] Step H1: Before processing the workpiece, obtain the position information of the workpiece on the magnetic table. The position information is obtained by image recognition based on the image information of the workpiece on the magnetic table. The image information is obtained by the image acquisition device configured in the calibration station.
[0175] Step H2: When the workpiece is transferred to the processing equipment for processing, control information in the processing equipment coordinate system is generated based on the position information, so as to control the moving distance of the workpiece in the processing equipment coordinate system based on the control information.
[0176] Optionally, the system also includes a calibration station, which is equipped with an image acquisition device, such as a camera. The workpiece passes through the calibration station before being moved to the processing equipment (such as a grinder) for processing. At this time, the system can perform image recognition based on the image information obtained by the image acquisition device to determine the position information of the workpiece on the magnetic table. Then, when the workpiece is transferred to the processing equipment (such as a grinder) together with the magnetic table, the system can control the moving distance of the workpiece according to the position information to ensure that the processing path of the workpiece is optimal and improve the efficiency of workpiece processing.
[0177] Among them, the magnetic table is a component used for positioning and fixing. It can firmly adsorb the workpiece on the processing platform through electromagnetic suction to prevent the grinding force from causing the workpiece to deflect or vibrate.
[0178] Exemplarily, the position information can be the offset of the center of the workpiece relative to the center of the magnetic table. When the workpiece and the magnetic table are transferred to the processing equipment for processing, the control information in the processing equipment coordinate system (such as the grinder coordinate system) can be generated based on the offset. Then, during the workpiece processing, if grinding is required along the length direction of the workpiece, the X-axis of the grinder can be controlled based on the control information, that is, the moving distance of the workpiece in the X-axis direction of the grinder is limited to ensure that the grinding path is optimal in the length direction of the workpiece. In addition, the position of the workpiece in the Y-axis direction of the grinder can also be adjusted, that is, the position in the height direction can be adjusted to avoid excessive or insufficient grinding. In addition, the position information can also be composed of the length dimension of the workpiece and the offset between the two end edges of the workpiece in the length direction and the edge of the magnetic table.
[0179] A feasible application example is provided below to better illustrate the workpiece processing method provided by an embodiment of the present invention.
[0180] Optionally, the workpiece processing method provided in the embodiment of the present invention can be applied to a CAM (Computer Aided Manufacturing) system for grinding machine processing. Figure 2 As shown, the system can include a drawing disassembly module, a parameter generation module, a work-hour estimation module, a processing module, and a processing machine line. The processing machine line is a combination of assembly and transportation, and can include conveyor belts, robots, and other automated devices. During the processing process, workpieces can be transferred from one workstation to the next according to the processing results output by the processing module, ensuring effective connection between the processing of various parts of the workpiece and improving processing efficiency.
[0181] In the drawing disassembly module, a primary disassembly unit and a secondary disassembly unit may be included.
[0182] Exemplarily, the first-level disassembly unit can be used to perform the operations of steps F1 to F4 in the above embodiment. The first-level disassembly unit can be used to disassemble a complete workpiece drawing into several process sub-graphs. The complete workpiece drawing (such as a design drawing) can be displayed first, and the drawing content can be disassembled after the operating object confirms that it is correct. During the disassembly process, the drawing information that has been read as a custom data structure set can be parsed according to the recorded processing technology information and divided into different processing technology sub-graph data structure sets. Since the same drawing can use multiple different processing technologies to achieve the goal, that is, there are different processing technology solutions, a set of optional solutions can be generated during the disassembly process. Then, for each processing technology solution, the process required according to the corresponding process flow and the process sub-graph data to be generated can be displayed in a subwindow. After confirmation by the operating object, the drawing documents (i.e., the first processing information) of all processes in the processing flow are generated in sequence. In one example, the first processing information under different processing technology solutions can also be directly disassembled and generated without the participation of the operating object. Optionally, when the complete drawing is disassembled into various optional processing schemes, the working time estimation module can be used to estimate the working time, providing a reference for the operation object or system to select the processing scheme and subsequent order processing.
[0183] Illustratively, the secondary disassembly unit may be used to perform operations related to S102 in the above embodiment. First, the first processing information can be split into drawings corresponding to each processing direction according to the different processing directions of the workpiece (this step is not a necessary step for disassembling all workpiece drawings. If the provided drawing is a three-dimensional drawing, this step of disassembly is required. If the provided drawing is a two-dimensional drawing, this step of disassembly is not required). Then, it can be split according to the specificity of each processing direction. For example, in the grinding machine process, a drawing is first extracted and generated for the conventional rectangular groove (such as the second processing information corresponding to the preset shape structure), and another drawing is extracted for the special groove (such as the bevel, inner and outer arc surface, etc.) (such as the second processing information corresponding to the non-preset shape structure). Under each processing direction, the second processing information of the preset shape structure can be split according to the process characteristics in accordance with the goal of minimum clamping and maximum processing efficiency. For example, in the grinding machine, the width of the conventional groove is split into drawings according to the pre-set processing width. First, small grooves of 4mm and below are split into multiple drawings according to different groove widths, and then 4mm-8mm are split into one drawing, and the above are split into one drawing. Among them, multiple batches of reference disassembly widths can be set. After the drawings are split according to each batch of disassembly widths, the number of clamping times, the number of grinding tools and the grinding wheel width of each scheme are calculated, and the estimated processing time is obtained through the time estimation module, which is displayed for reference and selection by the operating object.
[0184] After the drawing disassembly module disassembles the drawing, the resulting process unit drawings (such as the second processing information) will flow into the various process sections along with the workpiece. This module splits the complete process drawing corresponding to the workpiece into process unit drawings, each of which corresponds to a single operation on the machine. Optionally, the time estimation module can also provide a time estimate for each splitting scheme, providing a reference for the operator when selecting a solution.
[0185] The parameter generation module can be used to perform the operation of S103 in the above embodiment. Optionally, it can include a first parameter generation unit and a second parameter generation unit.
[0186] Exemplarily, the first parameter generating unit can be used to perform the operations of step A1 to step A2 in the above embodiment. When it is determined that the second processing information corresponds to a non-preset shape structure, a first parameter can be generated to trim the processing tool based on the first parameter before processing the non-preset shape structure, and the first parameter can be provided to the order processing module for reference. Among them, before trimming the processing tool, the equipment can automatically select the corresponding processing tool based on the first parameter, and then trim the selected processing tool according to the first parameter. For example, the equipment can select the processing tool according to factors such as the shortest installation time and the highest processing efficiency. Exemplarily, for an 8mm wide special-shaped groove, there are a 6mm wide grinding wheel and a 9mm wide grinding wheel. The 9mm wide grinding wheel can be automatically selected and the grinding wheel can be trimmed using the first parameter.
[0187] Exemplarily, the second parameter generation unit can be used to determine the second parameter shown in the above embodiment. Before the second parameter is generated, the factors affecting the second parameter can be analyzed and verified, and then the factors and the actual second parameters can be classified and verified. For example, in the grinding machine process, the second parameters such as workpiece material, workpiece length, grinding wheel material, grinding wheel thickness, grinding wheel width, machine type, machine power, groove width, groove depth, etc. are classified and verified. After determining the factors and the relationship between the factors and the actual second parameters, the corresponding data can be established in a data table and stored through a database. In the process of generating the second parameter, the second parameter corresponding to the second processing information can be automatically generated according to the corresponding second parameter in the database according to the factor matching. Optionally, after obtaining the process unit drawing, the most suitable processing parameters can be matched from the database, and then the second parameters including the processing path can be generated according to the process unit drawing. Optionally, the first processing parameter corresponding to the target parameter of the preset shape structure can be determined by the second parameter generation unit.
[0188] The man-hour estimation module may include a first man-hour estimation unit and a second man-hour estimation unit.
[0189] Exemplarily, the first man-hour estimation unit may be used to determine the processing man-hours shown in the above-mentioned step D3 and step F3.
[0190] Illustratively, the second man-hour estimation unit may be used to determine the processing man-hour shown in the above step E2.
[0191] Optionally, the first working hour estimation unit and the second working hour estimation unit can be relatively independent parts in a working hour estimation module (such as a module built based on an AI network). For example, the AI network can include two parallel branches, such as identifying different input data, and when it is determined that the input data is a simulation result, it is assigned to the second working hour estimation unit for working hour estimation; when it is determined that the input data is the third processing information, it is assigned to the first working hour estimation unit for working hour estimation.
[0192] In the embodiments of the present invention, on the one hand, by introducing intelligent operation, manual intervention and dependence on the professional skills of technicians are reduced. On the basis of effectively saving labor costs, the time for drawing disassembly, labor time estimation and target parameter calculation can be greatly shortened, thereby improving overall production efficiency; on the other hand, the accuracy and consistency of target parameters and contour sanding parameters can be ensured through automated calculation, which can effectively improve the precision and surface quality of workpieces; on the other hand, the AI network can also be used to accurately estimate labor time, provide reliable reference data for the formulation and execution of production plans, and avoid problems such as improper resource allocation and production progress delays.
[0193] It should be noted that in the optional embodiments of the present invention, the data involved (processing information, target parameters, design drawings, etc.) must be licensed or consented by the user when the above embodiments of the present invention are applied to specific products or technologies, and the collection, use, and processing of the relevant data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. In other words, if data related to an object is involved in the embodiments of the present invention, this data must be obtained with the authorization and consent of the object and in compliance with the relevant laws, regulations, and standards of the relevant countries and regions.
[0194] An embodiment of the present invention provides a workpiece processing device, which can be applied to the workpiece processing equipment provided by the above embodiment. The workpiece processing device may include: an acquisition module, a splitting module and a generation module; wherein the acquisition module is used to acquire first processing information for workpiece processing, and the first processing information corresponds to a target processing process; the splitting module is used to split the first processing information based on a preset shape structure corresponding to the target processing process, and obtain a number of second processing information corresponding to the preset shape structure and / or to a non-preset shape structure; the generation module is used to generate target parameters corresponding to each second processing information, so as to use corresponding processing tools to process the workpiece based on the target parameters.
[0195] The device of the embodiment of the present invention can execute the method provided by the embodiment of the present invention, and its implementation principle is similar. The actions performed by each module in the device of each embodiment of the present invention correspond to the steps in the method of each embodiment of the present invention. For the detailed functional description of each module of the device, please refer to the description in the corresponding method shown in the previous text, and will not be repeated here.
[0196] The modules described in the embodiments of the present invention may be implemented via software. In some cases, the name of a module does not limit the module itself. For example, an acquisition module may also be described as a "module for acquiring first processing information for workpiece processing," "a first module," or the like.
[0197] In an embodiment of the present invention, a workpiece processing device is provided, including a memory, a processor and a computer program stored in the memory. The processor executes the above-mentioned computer program to implement the steps of the workpiece processing method. Compared with the related technology, it can be achieved: the implementation of the present invention can automatically generate target parameters, improve production efficiency, reduce manual intervention, reduce dependence on the professional skills of technicians, effectively save labor costs, and distinguish between preset shape structures and non-preset shape structures corresponding to the processing technology for processing, which is conducive to improving the accuracy and quality of the processed parts.
[0198] In an optional embodiment, the workpiece processing device provided is an electronic device, such as Figure 9 As shown, Figure 9 The electronic device 4000 shown includes: a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data exchange between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the number of transceivers 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present invention.
[0199] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the present disclosure. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0200] Bus 4002 may include a path for transmitting information between the above components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. Bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0201] The memory 4003 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium that can be used to carry or store computer programs and can be read by a computer, without limitation here.
[0202] The memory 4003 is used to store the computer program for executing the embodiment of the present invention, and the execution is controlled by the processor 4001. The processor 4001 is used to execute the computer program stored in the memory 4003 to implement the steps shown in the above method embodiment.
[0203] Among them, electronic equipment includes but is not limited to: workpiece processing equipment, machine tool equipment, and grinders.
[0204] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented.
[0205] An embodiment of the present invention further provides a computer program product, including a computer program, which can implement the steps and corresponding contents of the aforementioned method embodiment when executed by a processor.
[0206] The terms "first," "second," "third," "fourth," "1," "2," and the like (if any) in the description and claims of the present invention and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or sequential sequence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of the present invention described herein can be practiced in an order other than that shown or described in the drawings.
[0207] It should be understood that, although the flowchart of the embodiment of the present invention indicates each operation step by arrows, the implementation order of these steps is not limited to the order indicated by the arrows. Unless otherwise clearly stated herein, in some implementation scenarios of the embodiment of the present invention, the implementation steps in each flowchart can be performed in other orders as required. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on the actual implementation scenario. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage in these sub-steps or stages can also be executed at different times. In scenarios where the execution time is different, the execution order of these sub-steps or stages can be flexibly configured as required, and the embodiment of the present invention does not limit this.
[0208] The above description is only an optional implementation method for some implementation scenarios of the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the solution of the present invention, other similar implementation methods based on the technical ideas of the present invention also fall within the protection scope of the embodiments of the present invention.
Claims
1. A workpiece processing method, characterized in that: include: Acquiring first processing information for processing a workpiece, wherein the first processing information corresponds to a target processing technology; Based on a preset shape structure corresponding to the target processing technology, the first processing information is split to obtain a plurality of second processing information corresponding to the preset shape structure and / or to a non-preset shape structure; target parameters corresponding to each of the second processing information are generated, so as to use corresponding processing tools to process the workpiece based on the target parameters.
2. The method according to claim 1, wherein: The target parameters include first processing parameters related to the structure to be processed, and when the second processing information corresponds to the non-preset shape structure, the first processing parameters include a first parameter and a second parameter; The first parameter is a shape parameter corresponding to each of the non-preset shape structures, and the first parameter is used to trim a processing tool, and the trimmed processing tool is used to process the portion of the workpiece corresponding to the non-preset shape structure; The second parameter is used to process the non-preset shape structure.
3. The method according to claim 2, wherein: The trimmed surface of the trimmed processing tool matches at least one geometric surface of the non-preset shape structure.
4. The method according to claim 2, wherein: Determining the first parameter includes: Acquiring structural information that each of the non-preset shape structures has a height change in a first direction, where the first direction includes a moving direction of a workbench or a processing tool when a machine tool is processing the workpiece; The corresponding category of each of the non-preset shape structures is determined based on the structural information, and the corresponding first parameter is determined based on the category and the structural information; the category includes at least one of a slant line and an arc.
5. The method according to claim 1, wherein: Generating target parameters corresponding to each piece of second processing information includes performing the following operations on each piece of second processing information: determining a first processing parameter corresponding to the structure to be processed indicated by the second processing information; determining at least one second processing parameter matching the second processing information, each of the second processing parameters including a parameter corresponding to at least one processing tool; estimating corresponding processing time for each combination of the first processing parameter and each of the second processing parameters; In response to a selection operation on any combination item in the operation interface, the corresponding parameter of the combination item is determined as the target parameter; the operation interface displays each combination item and the parameters and / or processing hours corresponding to each combination item.
6. The method according to claim 5, characterized in that: In a case where the second processing information corresponds to the preset shape structure, determining at least one second processing parameter matching the second processing information includes: When there are at least two optional processing tools that match the processing width of the structure to be processed corresponding to the first processing parameter, respectively determining parameters for each optional processing tool to process the structure to be processed to obtain at least two second processing parameters; The processing width of the structure to be processed is matched with the optional processing tool so that the preset processing width of the optional processing tool is not greater than the processing width of the structure to be processed.
7. The method according to claim 1, wherein: The method further comprises: Perform tool path simulation based on the target parameters and display the machining process; The processing time is estimated based on the simulation result to determine the processing sequence of each piece of the second processing information.
8. The method according to claim 1, wherein: The acquisition of the first processing information includes: Obtaining a design drawing of the workpiece; Based on the preset processing technology information, the design drawing is disassembled to obtain several different process sub-drawings; On the operation interface, each process sub-graph and its required processing process information and / or estimated processing time are displayed; In response to a selection operation on any of the process sub-graphs, the first processing information is generated.
9. The method according to any one of claims 5 to 8, characterized in that: The determination of the processing hours includes: Through the artificial intelligence (AI) network, the corresponding processing hours are estimated based on processing-related information; The AI network is trained using training data, and the training data is obtained by the following operations: Acquire processing data corresponding to workpiece processing in a historical time period, wherein the processing data includes a process sub-graph of the workpiece and processing hours of the workpiece; When there is abnormal first data in the processed data, performing discrete point detection on the processed data, and if the second data indicated by the detection result is the same as the first data, deleting the first data; If there is missing third data in the processed data, deleting the third data; The processed data after deleting the first data and the third data is used as training data.
10. The method according to claim 1, wherein: The method further comprises: Before processing the workpiece, the position information of the workpiece on the magnetic table is obtained. The position information is obtained by performing image recognition based on the image information of the workpiece on the magnetic table. The image information is obtained by an image acquisition device configured in the calibration station. When the workpiece and the magnetic stage are transferred to the processing equipment for processing, control information in the processing equipment coordinate system is generated based on the position information, so as to control the moving distance of the workpiece in the processing equipment coordinate system based on the control information.
11. A workpiece processing device comprising a memory, a processor, and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 10.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
13. A computer program product comprising a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.