Multi-spindle parallel processing method and system based on tool path file batch processing
By obtaining the relationship matrix between the workpiece and the machine tool coordinate system and converting the tool tip point coordinates to determine the spindle wrist center position value, the problem of processing position and sequence integration in multi-spindle joint hole-making machine tools is solved, and efficient multi-spindle parallel processing is achieved.
Patent Information
- Application Number
- CN202111674708.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-12-31
AI Technical Summary
The existing batch processing method of tool path files is difficult to effectively integrate the processing positions and sequences, resulting in low processing efficiency of multi-spindle joint hole-making machine tools.
By obtaining the relationship matrix between the workpiece coordinate system and the machine tool coordinate system, converting the tool tip point coordinates, obtaining the spindle wrist center coordinate value, determining the station value of the wrist center trajectory file, and determining the actual station value based on the station value, it is realized The processing positions and sequences of multiple spindle units are integrated to form wave operations.
It achieves the maximum efficiency of multi-spindle parallel processing, simplifies the algorithm, improves processing efficiency, and is easy to program.
Smart Images

Figure CN114488942B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automated manufacturing technology, and more specifically, to a multi-spindle parallel processing method and system based on tool path file batch processing. Background Art
[0002] At present, there are a large proportion of complex structural parts in large industrial products. Such structural parts need to use gantry-type multi-spindle head joint hole-making machines to simultaneously perform CNC drilling on them in order to improve the processing efficiency of complex components. However, compared with general single-axis CNC hole-making machines, the processing position and processing sequence planning of multi-axis joint hole-making machines are more complicated. In the process of multi-spindle parallel hole-making, it is necessary to consider the working space of each spindle, the gantry station and the joint hole-making of the ground bridge unit, etc. If multi-spindle heads cannot perform simultaneous hole-making, it will also seriously affect the processing efficiency of the multi-spindle joint hole-making machine.
[0003] It can be seen that since the number of holes to be processed in such large and complex structural parts is usually large, a reasonable tool path file batch processing method can improve the processing efficiency of multi-spindle head joint hole-making machine tools. However, the existing tool path file batch processing effect is not good; for example, the existing mature CAM software or method is used for tool path file batch processing, and the information of the holes to be processed obtained from the tool path file only contains the hole position information and path information, so it is difficult to complete the integration of the processing position and processing sequence, and thus its processing efficiency cannot be maximized. Summary of the invention
[0004] In view of the above problems, the purpose of the present invention is to provide a multi-spindle parallel machining method and system based on tool path file batch processing to solve the problems that the existing machining methods cannot effectively control the machining position and sequence, thereby affecting the machining efficiency.
[0005] The multi-spindle parallel processing method based on tool path file batch processing provided by the present invention includes obtaining a relationship matrix between a calibrated workpiece coordinate system and a machine tool coordinate system based on all tool path files of a target machine tool; converting the tool tip point coordinates in the workpiece coordinate system to the tool tip point conversion coordinates in the machine tool coordinate system based on the relationship matrix; obtaining the spindle wrist center coordinate value of the target machine tool based on the tool tip point conversion coordinates; obtaining the position value of the wrist center trajectory file corresponding to the spindle wrist center coordinate value based on the spindle wrist center coordinate value as the preset position value of the tool path file; determining the actual position value corresponding to each tool path file based on the preset position value; and processing the workpiece to be processed on the target machine tool based on the actual position value of each tool path file.
[0006] In addition, an optional technical solution is that the process of obtaining the relationship matrix between the calibrated workpiece coordinate system and the machine tool coordinate system includes: traversing all tool path files of the target machine tool, and obtaining the docking position of the workpiece to be processed on the target machine tool based on the laser tracker; determining the relationship matrix based on the tool path file and the docking position.
[0007] In addition, an optional technical solution is that, based on the spindle wrist center coordinate value, the process of obtaining the position value of the wrist center trajectory file corresponding to the spindle wrist center coordinate value includes: sorting the spindle wrist center coordinate values according to the size of the x-coordinate to determine the maximum and minimum values of the x-coordinate of the spindle wrist center coordinate value; based on the maximum and minimum values of the x-coordinate, obtaining the average value of the x-coordinate; rounding the average value according to a preset step size to obtain the corresponding position value of the wrist center trajectory file.
[0008] In addition, an optional technical solution is that, based on the preset position values, the process of determining the actual position values corresponding to each tool path file includes: sorting the preset position values under each spindle unit in ascending order; retaining the same preset position values in the left column spindle unit and the right column spindle unit in the spindle unit; based on the remaining position values except the same preset position values in the left column spindle unit, modifying the preset position value of the right column spindle unit whose absolute difference between the preset position values of the left column spindle unit and the right column spindle unit is less than the preset value to the corresponding preset position value of the left column spindle unit, so as to determine the actual position values of each tool path file; wherein, the preset position values that cannot be merged are retained in situ.
[0009] In addition, an optional technical solution is that the main shaft unit includes a left column main shaft unit, a right column main shaft unit, a crossbeam main shaft unit and a ground bridge main shaft unit.
[0010] In addition, an optional technical solution is that, based on the actual position value of each tool path file, the process of processing the workpiece to be processed on the target machine tool includes: sorting the actual position values of each tool path file in order from small to large, and merging the same actual position values; based on the merged actual position values, determining the number of tool path files that need to be processed under the spindle unit under each actual position value, and creating corresponding processing steps based on the number; wherein, if the number of tool path files that need to be processed under the actual position value is 1, then create a processing step; if the number of tool path files that need to be processed under the actual position value is 0, then replace it with a blank tool path file; if the number of tool path files that need to be processed under the actual position value is m, m>1, then create m processing steps.
[0011] In addition, an optional technical solution is to also include a processing process for the ground bridge spindle unit, including: obtaining the first tool path file of the ground bridge spindle unit, and sorting the first tool path file based on the order of the number of holes made from large to small, and obtaining a first sorting result; at the same time, based on the order of the number of holes made from large to small, sorting the second tool path files of the left column spindle unit, the right column spindle unit and the crossbeam spindle unit, and obtaining a second sorting result; based on the first sorting result and the second sorting result, determining the processing steps of the ground bridge spindle, and processing the workpiece to be processed based on the processing steps.
[0012] In addition, an optional technical solution is that, based on the first sorting result and the second sorting result, the process of determining the processing steps of the ground bridge spindle includes: one-to-one matching of the actual position value and the processing step number of the first tool path file in the first sorting result with the actual position value and the processing step number in the second tool path file in the second sorting result; if the number of the first sorting result is greater than that of the second sorting result, the position value of the excess part of the ground bridge spindle unit is set to a predetermined value.
[0013] In addition, an optional technical solution is that the guide rail file includes tool information, stacking information, process information, feed path, hole position information, retract path and feed path.
[0014] According to another aspect of the present invention, there is provided a multi-spindle parallel machining system based on tool path file batch processing, comprising: a relationship matrix acquisition unit, for acquiring the relationship matrix between the calibrated workpiece coordinate system and the machine tool coordinate system based on all tool path files of the target machine tool; a coordinate conversion unit, for converting the tool tip point coordinates in the workpiece coordinate system to the tool tip point conversion coordinates in the machine tool coordinate system based on the relationship matrix; a wrist center coordinate value determination unit, for acquiring the spindle wrist center coordinate value of the target machine tool based on the tool tip point conversion coordinates; a preset position value determination unit, for acquiring the position value of the wrist center trajectory file corresponding to the spindle wrist center coordinate value based on the spindle wrist center coordinate value as the preset position value of the tool path file; an actual position value determination unit, for determining the actual position value corresponding to each tool path file based on the preset position value; and a machining unit, for machining the workpiece to be machined on the target machine tool based on the actual position value of each tool path file.
[0015] Utilizing the above-mentioned multi-spindle parallel processing method and system based on tool path file batch processing, it is possible to complete the integration of processing positions and processing sequences of multiple spindle units according to the relationship between the tool path file and the workpiece coordinate system and the machine tool coordinate system, forming wave operations and maximizing processing efficiency. The principle is simple and clear, the algorithm is correct and effective, and it is easy to program and implement.
[0016] In order to achieve the above and related purposes, one or more aspects of the present invention include the features that will be described in detail later. The following description and the accompanying drawings describe some exemplary aspects of the present invention in detail. However, these aspects indicate only some of the various ways in which the principles of the present invention can be used. In addition, the present invention is intended to include all these aspects and their equivalents. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] By referring to the following description in conjunction with the accompanying drawings, and with a more comprehensive understanding of the present invention, other objects and results of the present invention will become more apparent and easy to understand. In the accompanying drawings:
[0018] Figure 1 is a flow chart of a multi-spindle parallel machining method based on tool path file batch processing according to an embodiment of the present invention;
[0019] Figure 2 A detailed flow chart of a multi-spindle parallel machining method based on tool path file batch processing according to an embodiment of the present invention;
[0020] Figure 3 A control principle diagram of a multi-spindle parallel machining method based on tool path file batch processing according to an embodiment of the present invention;
[0021] Figure 4 A schematic diagram of a tool path file structure and file contents of a multi-spindle parallel machining method based on tool path file batch processing according to an embodiment of the present invention;
[0022] Figure 5 is a schematic structural diagram of a spindle unit according to an embodiment of the present invention;
[0023] Figure 6 It is a schematic diagram of the station aggregation of the left column spindle unit and the right column spindle unit according to an embodiment of the present invention;
[0024] Figure 7 A schematic diagram of integrating processing positions and processing sequences according to an embodiment of the present invention;
[0025] Figure 8 A schematic diagram of a wave operation processing load according to an embodiment of the present invention;
[0026] Fig. 9 A schematic diagram of the time consumption of multi-axis parallel operations after load balancing processing according to an embodiment of the present invention;
[0027] Fig.10 4 is a logic block diagram of a multi-spindle parallel machining system based on tool path file batch processing according to an embodiment of the present invention.
[0028] The same reference numerals throughout the drawings indicate similar or corresponding features or functions. DETAILED DESCRIPTION
[0029] In the following description, for the purpose of illustration, in order to provide a comprehensive understanding of one or more embodiments, many specific details are set forth. However, it is apparent that these embodiments may also be implemented without these specific details. In other examples, for ease of describing one or more embodiments, known structures and devices are shown in the form of block diagrams.
[0030] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0031] In order to describe in detail the multi-spindle parallel machining method and system based on tool path file batch processing of the present invention, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0032] Figure 1 and Figure 3 The schematic flow and control principle of the multi-spindle parallel machining method based on tool path file batch processing according to an embodiment of the present invention are respectively shown.
[0033] like Figure 1 and Figure 3 As shown together, the multi-spindle parallel machining method based on tool path file batch processing according to the embodiment of the present invention mainly includes:
[0034] S110: Based on all tool path files of the target machine tool, a relationship matrix between the calibrated workpiece coordinate system and the machine tool coordinate system is obtained.
[0035] In this step, combine Figure 4 The tool path file architecture and file content schematic structure of the embodiment of the present invention shown first traverse all tool path files of the target machine tool, and the tool path file may further include tool information, stacking information, process information, feed path, hole position information, retract path and feed path. Then, the parking position of the workpiece to be processed on the target machine tool is obtained based on the laser tracker; finally, the relationship matrix is determined based on the tool path file and the parking position.
[0036] Specifically, all the M tool path files of the multi-spindle joint hole-making machine tool can be traversed, and the parking position of the calibrated workpiece to be holed (i.e., the workpiece to be processed, the same below) under the target machine tool can be automatically obtained through the laser tracker, that is, the relationship matrix T between the calibrated workpiece coordinate system and the target machine tool coordinate system is obtained, and then the relationship matrix T is used for the subsequent conversion of the tool tip point coordinates.
[0037] S120: Convert the tool tip point coordinates in the workpiece coordinate system to tool tip point conversion coordinates in the machine tool coordinate system based on the relationship matrix.
[0038] Among them, the transformation formula for converting the tool tip coordinates P0 (x0, y0, z0; i0, j0, k0) in the workpiece coordinate system in the tool path file to the tool tip coordinates P1 (x1, y1, z1; i1, j1, k1) in the machine tool coordinate system is as follows:
[0039]
[0040] Among them, T represents the relationship matrix, P1 represents the tool tip point conversion coordinates, P0 represents the tool tip point coordinates in the workpiece coordinate system, R is the posture matrix of the workpiece coordinate system in the machine tool coordinate system, P b0 is the position of the origin of the workpiece coordinate system in the machine tool coordinate system. For example, after the workpiece to be holed is transferred to the workbench of the target machine tool, the laser tracker is used to automatically measure the parking position of the workpiece to be holed on the target machine tool: T[-1,0,0,5966.124,0,0,-1,3650,0,-1,0,12676.194], and the measurement results are stored in the specified database. The tool path file batch processing system automatically obtains the measurement results of this operation and completes the coordinate transformation.
[0041] S130: Based on the tool tip point conversion coordinates, the spindle wrist center coordinate value of the target machine tool is obtained.
[0042] Specifically, Figure 5 The schematic structure of the spindle unit according to the embodiment of the present invention is shown, wherein each tool path file M is first i The tool tip point conversion coordinate value P1 is converted into the spindle wrist center coordinate value P2 (x2, y2, z2) of the target machine tool. The conversion formula is as follows:
[0043]
[0044] Where j = 1, 2, 3, 4, [i, j, k] T is the tool axis vector direction in the machine tool coordinate system, L jis the spindle pendulum length of each spindle unit of the machine tool. The spindle unit may further include a left column spindle unit, a right column spindle unit, a crossbeam spindle unit and a ground bridge spindle unit. For example, the pendulum length of the left column spindle unit may be set to 335 mm. Then, the corresponding machine tool spindle wrist trajectory file N may be obtained. i , the spindle wrist trajectory file N i Based on tool path file M i The file is stored as an intermediate file. i As M i The two are in a corresponding relationship. For each spindle wrist trajectory file N i The coordinate point P2 in is sorted according to the X coordinate, and the stations are divided in sequence. After the station division is completed, it will no longer be used.
[0045] S140: Based on the spindle wrist center coordinate value, obtain the position value of the wrist center trajectory file corresponding to the spindle wrist center coordinate value as the preset position value of the tool path file.
[0046] Among them, bubble sorting can be used to sort the spindle wrist center coordinate value P2 according to the size of the x coordinate to determine the maximum value X of the spindle wrist center coordinate value. max and minimum value X min ; Then, based on the maximum and minimum values of the X coordinate, the average value of the X coordinate is obtained; the average value is rounded according to the preset step size to obtain the corresponding position value of the wrist-heart trajectory file.
[0047] Specifically, take the maximum value of the spindle wrist center coordinate X max and minimum value X min The arithmetic mean X avg , and then X avg Round according to the specified step length step to obtain the wrist trajectory file N i The position value X Ai , which is the preset position value of the tool path file Mi, and the rounding formula is as follows:
[0048] XA i =step·Round((X avg +iCONST) / step)-iCONST
[0049] Among them, iCONST is a constant value, Round() is a rounding formula, and the rounding step can be determined as needed. If the step is too large, it may exceed the machine tool travel range, and if the step is too small, it may increase the station types and affect the efficiency of multi-spindle joint hole making. For example, if the rounding step step=50, the calculated station will only have two digits, 5 or 0, such as X avg =4015.5, then the rounded position X Ai=4000.
[0050] S150: Based on the preset position value, determine the actual position value corresponding to each tool path file.
[0051] Among them, this step may further include: sorting the preset position values under each preset spindle unit in order from small to large; retaining the same preset position values in the left column spindle unit and the right column spindle unit in the spindle unit; based on the remaining position values in the left column spindle unit except the same preset position value, modifying the preset position value of the right column spindle unit whose absolute difference between the preset position values of the left column spindle unit and the right column spindle unit is less than the preset value to the corresponding preset position value of the left column spindle unit, so as to determine the actual position value of each tool path file; wherein, the preset position values that cannot be merged are retained in situ.
[0052] Specifically, based on the principle of station aggregation, the multi-spindle joint hole-making machine tool contains n operating units, each of which contains W i Tool path files, satisfy Using the bubble sort principle, each spindle unit A j W i The tool path file is based on the preset station value X Ai Sort from small to large, keep the left column spindle unit and the right column spindle unit X Ai The same preset position value, and then the remaining preset position value X of the left column spindle unit Ai As a benchmark, the right column spindle unit position value with an absolute difference value less than R is modified to the corresponding left column spindle unit position value, and finally the remaining preset position values that cannot be merged are retained to obtain each tool path file M i Actual position value X A0i Examples include Figure 6 As shown, for example, the initial position values of the left column spindle unit are: 4000, 4100, 4200, 5000, and the position values of the right column spindle unit are: 3950, 4050, 4200, 4250, 4950. When R=50, the modified position values of the right column spindle unit are: 4000, 4100, 4200, 4250, 5000. This can reduce the number of gantry movements, increase the probability of simultaneous hole making by the left and right column spindle units, and improve the processing efficiency of the combined hole making machine.
[0053] S160: Based on the actual position values of each tool path file, the workpiece to be processed is processed on the target machine tool.
[0054] Among them, based on the actual position value of each tool path file, the process of processing the workpiece to be processed on the target machine tool includes: sorting the actual position values of each tool path file in order from small to large, and merging the same actual position values; based on the merged actual position values, determining the number of tool path files that need to be processed under the spindle unit under each actual position value, and creating corresponding processing steps based on the number; among them, if the number of tool path files that need to be processed under the actual position value is 1, then create a processing step; if the number of tool path files that need to be processed under the actual position value is 0, then replace it with a blank tool path file; if the number of tool path files that need to be processed under the actual position value is m, m>1, then create m processing steps.
[0055] Specifically, all different station values of this operation are obtained from the database, and the station values are sorted from small to large {XA01, XA02, ..., XA0n}. The query logic formula is as follows:
[0056] SELECT DISTUNCT XA FROM EACHFILE ORDER BY XA
[0057] Among them, EACHFILE is a table that records the detailed information of each tool path file, and DISTUNCT is an instruction to obtain different station values from the table. Traverse all station values in turn. If the station value X A0i If all spindle units have no more than one tool path file to be processed, create a processing step and copy the tool path file M i Attach them to the corresponding spindle unit of the step respectively; if a unit does not have a tool path file at this station, a blank tool path file M0 is used instead; if the station value X A0i Lower, spindle unit A j If there are m tool path files (m>1), and the number of tool path files of other single-spindle elements is less than m, then create m steps until the last station X A0n .
[0058] As a specific example, Figure 7 As shown, the position values from small to large are {4000, 4100, 4200, 4250, 5000}, and the number of execution steps at each position is {2, 3, 3, 1, 2}, totaling 11 processing steps.
[0059] In a specific embodiment of the present invention, the processing of the ground bridge spindle unit is also included. Since the ground bridge spindle is an independent spindle and is not bound to the gantry machine, the ground bridge spindle unit can be excluded from the station value calculation and the division of processing steps in the early stage based on the load balancing principle. In the calculation process of the ground bridge spindle unit:
[0060] First, the first tool path file of the ground bridge spindle unit is obtained, and the first tool path file is sorted based on the order of the number of holes to be made from large to small, and a first sorting result is obtained; at the same time, the second tool path files of the left column spindle unit, the right column spindle unit and the crossbeam spindle unit are sorted based on the order of the number of holes to be made from large to small, and a second sorting result is obtained; based on the first sorting result and the second sorting result, the processing steps of the ground bridge spindle are determined, and the workpiece to be processed is processed based on the processing steps.
[0061] Furthermore, based on the first sorting result and the second sorting result, the process of determining the processing steps of the ground bridge spindle includes: one-to-one matching of the actual position value and processing step number of the first tool path file in the first sorting result with the actual position value and processing step number in the second tool path file in the second sorting result; if the number of the first sorting result is greater than that of the second sorting result, the position value of the excess part of the ground bridge spindle unit is set to a predetermined value.
[0062] The query logic formula of the first sorting result B of the ground bridge main axis unit is as follows:
[0063] SELECT fileId FROM EACHFILE WHERE AXIS=DOWN ORDER SUMHOLES
[0064] Among them, fileId is the unique number of the tool path file in the database, and SUMHOLES is the number of holes made by the tool path file.
[0065] The query logic formula for the second sorting result C of other spindle units is as follows:
[0066] SELECT XA STEPID FROM EACHFILE WHERE AXIS<>DOWN ORDER SUMHOLES;
[0067] Among them, STEPID is the processing step number of the tool path file.
[0068] Then, all the query results B of the ground bridge spindle units are traversed in turn, corresponding to the query result C, that is, the station value and processing step number of the tool path file Bi of the i-th ground bridge spindle unit are the same as those of C. i The station value in corresponds to the processing step number; if the number of the ground bridge spindle unit query result B exceeds the query result C, the station value of the excess part of the ground bridge spindle is a fixed value, that is, X A =X A0 , the processing step numbers are added sequentially.
[0069] Examples include Figure 8As shown in the figure, the maximum number of holes processed in each step is taken as the processing time of this step. The time consumption after load balancing is as follows: Fig. 9 As shown, the multi-spindle joint hole making takes 700 seconds, and the spindle loads in each step are balanced, reducing the processing waiting time. If no processing is done, the ground bridge spindle unit needs to be processed in a separate step, that is, the ground bridge spindle unit cannot make holes in parallel with other units, which takes 1080 seconds.
[0070] As a specific example, Figure 2 The detailed process of the multi-spindle parallel machining method based on tool path file batch processing according to an embodiment of the present invention is shown.
[0071] like Figure 2 As shown, the multi-spindle parallel machining method based on tool path file batch processing according to an embodiment of the present invention comprises:
[0072] 1. After starting, read the workpiece coordinate system positioning matrix;
[0073] 2. Convert the coordinates in the tool path file to the machine tool coordinate system;
[0074] 3. Calculate the wrist center coordinates of the machine tool spindle;
[0075] 4. Get the maximum and minimum values of the coordinate x of the wrist center coordinate value;
[0076] 5. Calculate the average of the maximum and minimum values of the coordinate x, and round it according to the specified step length to obtain the tool path file position X A ;
[0077] 6. Sort the position values of each spindle of the machine tool spindle from small to large;
[0078] 7. Determine whether station aggregation is required. If not, proceed directly to the processing sequence generation stage; otherwise, merge equal stations;
[0079] 8. Taking the left column spindle unit as the reference, merge the left and right positions whose difference is not greater than R, keep the step positions that are not merged, and enter the processing sequence generation stage;
[0080] 9. Further determine whether the station is finished; if so, generate the processing sequence; otherwise, determine whether the tool path file m is less than or equal to 1, if so, create 1 step, otherwise create m steps until the processing sequence is generated;
[0081] 10. Based on load balancing, sort the tool path files of the ground bridge spindle from large to small according to the number of holes;
[0082] 11. Determine whether the processing of the ground bridge spindle is completed. If it is, it is finished. Otherwise, if the ground bridge spindle tool path file is larger than the steps of other spindles, the position of the ground bridge spindle is equal to the step position. Otherwise, the position value of the excess part is set to a fixed value, that is, X A =X A0 .
[0083] Corresponding to the above-mentioned multi-spindle parallel machining method based on tool path file batch processing, the present invention also provides a multi-spindle parallel machining system based on tool path file batch processing.
[0084] Specifically, Fig.10 The schematic logic of a multi-spindle parallel machining system 100 based on tool path file batch processing according to an embodiment of the present invention is shown.
[0085] like Fig.10 As shown, the multi-spindle parallel machining system 100 based on tool path file batch processing according to an embodiment of the present invention includes:
[0086] A relationship matrix acquisition unit 101 is used to acquire a relationship matrix between a calibrated workpiece coordinate system and a machine tool coordinate system based on all tool path files of a target machine tool;
[0087] A coordinate conversion unit 102 is used to convert the tool tip point coordinates in the workpiece coordinate system into tool tip point conversion coordinates in the machine tool coordinate system based on the relationship matrix;
[0088] A wrist center coordinate value determination unit 103 is used to obtain the spindle wrist center coordinate value of the target machine tool based on the tool tip point conversion coordinate;
[0089] A preset position value determining unit 104 is used to obtain, based on the spindle wrist center coordinate value, the position value of the wrist center trajectory file corresponding to the spindle wrist center coordinate value as the preset position value of the tool path file;
[0090] An actual position value determining unit 105, for determining an actual position value corresponding to each tool path file based on a preset position value;
[0091] The processing unit 106 is used to process the workpiece to be processed on the target machine tool based on the actual position value of each tool path file.
[0092] It should be noted that the embodiment of the multi-spindle parallel machining system based on tool path file batch processing in the embodiment of the present invention can refer to the description in the embodiment of the multi-spindle parallel machining method based on tool path file batch processing in the embodiment of the present invention, and will not be repeated here.
[0093] The multi-spindle parallel processing method and system based on tool path file batch processing of the embodiment of the present invention according to the above-mentioned embodiment can utilize simple data calculations and complete the integration of the processing positions and processing sequences of multiple spindle units only according to the relationship between the tool path file and the workpiece coordinate system and the machine tool coordinate system, thereby forming wave operations and maximizing processing efficiency. The principle is concise and clear, the algorithm is correct and effective, and it is easy to implement through programming.
[0094] As described above with reference to the accompanying drawings, the multi-spindle parallel processing method and system based on tool path file batch processing according to the present invention are described by way of example. However, those skilled in the art should understand that various improvements can be made to the multi-spindle parallel processing method and system based on tool path file batch processing proposed by the present invention without departing from the content of the present invention. Therefore, the protection scope of the present invention should be determined by the content of the attached claims.
Claims
1. A multi-spindle parallel processing method based on tool path file batch processing, characterized in that: include: Based on all tool path files of the target machine tool, obtain the relationship matrix between the calibrated workpiece coordinate system and the machine tool coordinate system; Based on the relationship matrix, the tool tip point coordinates in the workpiece coordinate system are converted into tool tip point conversion coordinates in the machine tool coordinate system; Based on the tool tip point conversion coordinates, obtaining the spindle wrist center coordinate value of the target machine tool; Based on the spindle wrist center coordinate value, obtaining the position value of the wrist center trajectory file corresponding to the spindle wrist center coordinate value as the preset position value of the tool path file; Based on the preset position values, determining actual position values corresponding to each tool path file; Based on the actual position values of each tool path file, processing the workpiece to be processed on the target machine tool; Wherein, the process of obtaining the station value of the wrist center trajectory file corresponding to the spindle wrist center coordinate value based on the spindle wrist center coordinate value includes: Sorting the spindle wrist center coordinate values according to the size of the x-coordinate to determine the maximum and minimum x-coordinate values of the spindle wrist center coordinate values; Based on the maximum and minimum values of the x-coordinates, obtaining an average value of the x-coordinates; The average value is rounded according to a preset step size to obtain the corresponding station value of the wrist-heart trajectory file.
2. The multi-spindle parallel machining method based on tool path file batch processing according to claim 1, characterized in that: The process of obtaining the relationship matrix between the calibrated workpiece coordinate system and the machine tool coordinate system includes: Traversing all tool path files of the target machine tool, and acquiring the parking position of the workpiece to be processed on the target machine tool based on a laser tracker; The relationship matrix is determined based on the tool path file and the parking position.
3. The multi-spindle parallel processing method based on tool path file batch processing according to claim 1, characterized in that: The process of determining the actual position value corresponding to each tool path file based on the preset position value includes: Sort the preset station values under each spindle unit in ascending order; retaining the same preset position value in the left column spindle unit and the right column spindle unit in the spindle unit; Based on the remaining position values in the left column spindle unit except the same preset position value, the preset position value of the right column spindle unit whose absolute difference between the preset position values of the left column spindle unit and the right column spindle unit is less than the preset value is modified to the corresponding preset position value of the left column spindle unit, so as to determine the actual position value of each tool path file; wherein, Preset station values that cannot be merged are retained in place.
4. The multi-spindle parallel processing method based on tool path file batch processing according to claim 3, characterized in that: The spindle unit includes the left column spindle unit, the right column spindle unit, the crossbeam spindle unit and the ground bridge spindle unit.
5. The multi-spindle parallel processing method based on tool path file batch processing according to claim 3, characterized in that: The process of processing the workpiece to be processed on the target machine tool based on the actual position value of each tool path file includes: The actual position values of the tool path files are sorted in order from small to large, and the same actual position values are merged; Based on the merged actual position values, the number of tool path files required to be processed under the spindle unit under each actual position value is determined, and corresponding processing steps are created based on the number; wherein, If the number of tool path files that need to be processed under the actual position value is 1, a processing step is created; If the number of tool path files that need to be processed under the actual position value is 0, a blank tool path file is used instead; If the number of tool paths to be processed under the actual position value is m, and m>1, then m processing steps are created.
6. The multi-spindle parallel processing method based on tool path file batch processing according to claim 4, characterized in that: The invention also includes a processing process of the ground bridge main shaft unit, including: Obtain the first tool path file of the ground bridge spindle unit, sort the first tool path file based on the order of the number of holes to be made from large to small, and obtain a first sorting result; at the same time, Based on the order of the number of holes to be made from large to small, the second tool path files of the left column spindle unit, the right column spindle unit and the beam spindle unit are sorted, and a second sorting result is obtained; Based on the first sorting result and the second sorting result, the processing steps of the ground bridge main shaft are determined, and the workpiece to be processed is processed based on the processing steps.
7. The multi-spindle parallel processing method based on tool path file batch processing according to claim 6, characterized in that: The process of determining the processing steps of the ground bridge main shaft based on the first sorting result and the second sorting result includes: Matching the actual position value and processing step number of the first tool path file in the first sorting result with the actual position value and processing step number of the second tool path file in the second sorting result one by one; If the number of the first sorting results is greater than that of the second sorting results, the position value of the excess part of the ground bridge main shaft unit is set to a predetermined value.
8. The multi-spindle parallel processing method based on tool path file batch processing according to claim 1, characterized in that: The tool path file includes tool information, stacking information, process information, feed path, hole position information, retract path and feed path.
9. A multi-spindle parallel machining system based on tool path file batch processing, characterized in that: The system comprises: A relationship matrix acquisition unit, used for acquiring a relationship matrix between a calibrated workpiece coordinate system and a machine tool coordinate system based on all tool path files of a target machine tool; A coordinate conversion unit, used for converting the tool tip point coordinates in the workpiece coordinate system into tool tip point conversion coordinates in the machine tool coordinate system based on the relationship matrix; A wrist center coordinate value determination unit, used for acquiring the spindle wrist center coordinate value of the target machine tool based on the tool tip point conversion coordinate; A preset position value determining unit, used for acquiring, based on the spindle wrist center coordinate value, a position value of a wrist center trajectory file corresponding to the spindle wrist center coordinate value as a preset position value of the tool path file; An actual position value determining unit, used to determine the actual position value corresponding to each tool path file based on the preset position value; A processing unit, used for processing the workpiece to be processed on the target machine tool based on the actual position value of each tool path file; Wherein, the process of obtaining the station value of the wrist center trajectory file corresponding to the spindle wrist center coordinate value based on the spindle wrist center coordinate value includes: Sorting the spindle wrist center coordinate values according to the size of the x-coordinate to determine the maximum and minimum x-coordinate values of the spindle wrist center coordinate values; Based on the maximum and minimum values of the x-coordinates, obtaining an average value of the x-coordinates; The average value is rounded according to a preset step size to obtain the corresponding station value of the wrist-heart trajectory file.
