An automatic on-line measurement and automatic machining system for an electric discharge machining machine

Through the automatic online measurement and automatic machining system of the electric spark machining machine, the problem of multiple disassembly and assembly measurement of high-precision parts is solved, and automatic online measurement and correction are realized, reducing costs and improving processing efficiency.

CN115922003BActive Publication Date: 2025-07-25MAKINO MACHINE TOOL CHINA CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211642466.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-20
Publication Date
2025-07-25
Estimated Expiration
2042-12-20

AI Technical Summary

Technical Problem

In the existing electric spark processing technology, the processing of high-precision parts requires multiple disassembly and assembly measurements between the machine tool and the three-coordinate machine tool, resulting in low efficiency and high cost. The existing method of automatically generating electric spark workpieces and electrode coordinates is cumbersome.

Method used

The automatic online measurement and automatic processing system of the electric spark machining machine is adopted, including a measurement system and a processing system. The cutting line offset is calculated by measuring the mechanical coordinates of the starting point, the approximate part size and the drawing part size, and the data is automatically measured and corrected without the intervention of external equipment and personnel.

Benefits of technology

It realizes automatic online measurement and processing of high-precision parts, reduces the number of disassembly and assembly times, reduces equipment costs, and can quickly handle regular and irregular workpieces, improving processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115922003B_ABST
    Figure CN115922003B_ABST
Patent Text Reader

Abstract

The present invention discloses an automatic on-line measurement and automatic machining system for an electric discharge machining machine in the technical field of electric discharge machining, including a measurement system and a machining system, wherein: the machining system includes a workpiece, a fixture, a workbench and an electric discharge machining machine; the measurement system includes a mechanical coordinate of a measurement starting point, a rough part size, a drawing part size and a cutting line offset amount; this solution does not require an external measurement device, and the machined workpiece can be measured on-line on the machine tool. There is no need to repeatedly disassemble and assemble the workpiece, saving the machining time of high-precision parts, and customers do not need to purchase expensive external measurement devices, greatly reducing the equipment investment cost for customers; and after on-line measurement by the measurement system, the correction data is automatically calculated and automatically filled into the machine tool offset amount. During the correction process, no manual intervention is required, and the deviation value is automatically measured, automatically calculated and set in the system. There is no need to repeatedly disassemble / remove and measure on an external coordinate machine tool.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric discharge machining, and particularly to an automatic on-line measurement and automatic machining system for an electric discharge machining machine. Background Art

[0002] With the development of modern science and technology, new ultra-hard materials and high-precision parts have emerged, posing challenges to the traditional machining industry. As a kind of high-precision machine tool, the key to a slow wire electric discharge machining machine is its ability to perform high-precision discharge machining. However, how to ensure that the machined parts meet the tolerance accuracy requirements of the drawings. Currently, the commonly used method on the market is to take the machined parts off the machine tool and place them on a coordinate measuring machine for measurement. After the measurement is completed, if the parts do not meet the tolerance requirements of the part drawings, they need to be placed back on the machine tool for repair machining.

[0003] Although the commonly used method on the market can measure whether the accuracy of the parts is qualified by using external detection instruments, it is necessary to repeatedly take the parts off the machine tool and measure them on the coordinate measuring machine. After the measurement on the coordinate measuring machine is completed, the deviation data is obtained and manually input into the machine tool system for repair machining. Using this method, it is necessary to repeatedly clamp the workpiece on the machine tool / coordinate measuring machine. When machining parts with extremely high precision requirements, it is time-consuming and laborious.

[0004] After retrieval, Chinese Patent No. CN202210806354.X discloses a method and system for automatically generating the coordinates of an electric discharge machining workpiece and an electrode, including the following steps:

[0005] Step S1: Obtain an electric discharge machining drawing, obtain the preset detection point coordinates according to the electric discharge machining drawing, and calculate the first coordinate according to the preset detection point coordinates. The first coordinate is the theoretical center point coordinate of the electric discharge machining drawing;

[0006] Step S2: Measure and calculate the second coordinate according to the preset detection point coordinates in combination with the reference ball of the electric discharge machining machine. The second coordinate is the physical center point coordinate of the electric discharge machining;

[0007] Step S3: Calculate the difference between the first coordinate and the second coordinate to obtain the electric discharge machining correction value;

[0008] Step S4: Import the machining correction value into the electric discharge machining machine tool for electric discharge operation.

[0009] The beneficial effects of the above device are as follows: By analyzing the design drawings of the workpiece and the electrode, the method automatically determines the theoretical center points of the workpiece and the electrode. After the workpiece placement and electrode installation are completed, by comparing the error between the physical center point and the theoretical center point, the correction value is calculated, achieving the automatic generation of the coordinates of the workpiece and the electrode, thus greatly improving the efficiency of electrical discharge machining.

[0010] In the above document, before machining, it is necessary to accurately position the installation positions of the workpiece and the electrode, and obtain the coordinates of the positions of the workpiece and the electrode before the theoretical center points and physical center points of the workpiece and the electrode can be compared to further calculate the correction value. Its preparatory work is rather cumbersome and increases the calculation steps.

[0011] Therefore, we propose an automatic on-line measurement and automatic machining system for an electrical discharge machining machine. Summary of the Invention

[0012] The purpose of the present invention is to provide an automatic on-line measurement and automatic machining system for an electrical discharge machining machine to solve the problems raised in the above background technology.

[0013] To achieve the above purpose, the present invention provides the following technical solutions: It includes a measurement system and a machining system, where:

[0014] The machining system includes a workpiece, a fixture, a workbench, and an electrical discharge machining machine;

[0015] The measurement system includes the mechanical coordinates of the measurement starting point, the approximate part size, the drawing part size, and the cutting line offset amount;

[0016] The working processes of the machining system and the measurement system include the following steps:

[0017] S1: The machining system fixes the workpiece;

[0018] S2: Input the mechanical coordinates of the measurement starting point, the approximate part size, and the drawing part size into the measurement system;

[0019] S3: Compare the mechanical coordinate data of the measurement starting point and the approximate part size data after calculation with the drawing part size;

[0020] S4: Calculate the cutting line offset amount data;

[0021] S5: Compensate the cutting line offset amount data into the machining process of the spark machining machine;

[0022] S6: Machine qualified parts.

[0023] Preferably, in S1, the machining system includes the following steps: The fixture clamps and fixes the workpiece on the workbench, and the electrical discharge machining machine machines the workpiece.

[0024] Preferably, the mechanical coordinates of the measurement starting point in S2 include the positions of eight points, namely A1, A2, A3, A4, A5, A6, A7, and A8, where A1, A2, A3, and A4 are known:

[0025] Position A1 corresponds to two sets of data, namely X1 and Y1. X1 is the approximate mechanical coordinate value of the X-axis at position A1, and Y1 is the approximate mechanical coordinate value of the Y-axis at A1. The coordinate of position A1 is (X1, Y1);

[0026] Position A2 corresponds to two sets of data, namely X2 and Y2. X2 is the approximate mechanical coordinate value of the X-axis at position A2, and Y2 is the approximate mechanical coordinate value of the Y-axis at A2. The coordinate of position A2 is (X2, Y2);

[0027] Position A3 corresponds to two sets of data, namely X3 and Y3. X3 is the approximate mechanical coordinate value of the X-axis at position A3, and Y3 is the approximate mechanical coordinate value of the Y-axis at A3. The coordinate of position A3 is (X3, Y3);

[0028] Position A4 corresponds to two sets of data, namely X4 and Y4. X4 is the approximate mechanical coordinate value of the X-axis at position A4, and Y4 is the approximate mechanical coordinate value of the Y-axis at A4. The coordinate of position A4 is (X4, Y4);

[0029] The approximate part dimensions include data P and data Q;

[0030] Among them:

[0031] The data P corresponds to the approximate dimension of the part in the X-axis direction;

[0032] The data Q corresponds to the approximate dimension of the part in the Y-axis direction.

[0033] The drawing part dimensions include data p and data q;

[0034] Among them:

[0035] The data p corresponds to the drawing dimension of the part in the X-axis direction;

[0036] The data q corresponds to the drawing dimension of the part in the Y-axis direction.

[0037] Preferably, the mechanical coordinates of positions A5, A6, A7, and A8 are obtained after calculating the mechanical coordinates of the measurement starting point and the approximate part dimensions in S3.

[0038] 5. An automatic on-line measurement and automatic machining system for an electric discharge machining machine according to claim 4, characterized in that: the data calculation of the mechanical coordinates of the measurement starting point and the approximate part dimensions includes the following steps:

[0039] Step 1:

[0040] Position A1 and position A5 are horizontally corresponding with respect to the central vertical line of the part;

[0041] Position A2 and position A6 are horizontally corresponding with respect to the central vertical line of the part;

[0042] Position A3 and position A7 are horizontally corresponding with respect to the central horizontal line of the part;

[0043] Position A4 and position A8 are horizontally corresponding with respect to the central horizontal line of the part;

[0044] Step 2:

[0045] Therefore, the Y-axis coordinates of position A1 and position A5 are the same;

[0046] Therefore, the Y-axis coordinates of position A2 and position A6 are the same;

[0047] Therefore, the X-axis coordinates of position A3 and position A7 are the same;

[0048] Therefore, the Y-axis coordinates of position A4 and position A8 are the same;

[0049] Step 3:

[0050] So X5 = X1 + P, Y5 = Y1;

[0051] So X6 = X2 + P, Y6 = Y2;

[0052] So X7 = X3, Y7 = Y3 + Q;

[0053] So X8 = X4 + Q, Y8 = Y4;

[0054] Step 4:

[0055] It is obtained that the coordinates of position A5 are (X1 + P, Y1);

[0056] It is obtained that the coordinates of position A6 are (X2 + P, Y2);

[0057] It is obtained that the coordinates of position A7 are (X3, Y3 + Q);

[0058] It is obtained that the coordinates of position A5 are (X4 + Q, Y4).

[0059] Preferably, the measurement system further includes a vision camera and a controller. The vision camera is used to scan the surface of the irregular workpiece and convert it into a picture. The vision camera transmits the scanned picture to the controller, and the controller locates any point on the surface scanned picture of the irregular workpiece and calculates a suitable machining area.

[0060] Preferably, the steps for the controller to locate the machining area are as follows:

[0061] Step 1: The vision camera scans the surface of the irregular workpiece and converts it into a picture.

[0062] Step 2: The controller identifies the picture of the surface of the irregular workpiece.

[0063] Step 3: The controller identifies the position H1 of the deepest concave point on the horizontal surface of the irregular workpiece and inputs the machine coordinates (x1, y1) of the position H1.

[0064] Step 4: At the same time, a horizontal line L1 is drawn at the position H1.

[0065] Step 5: The controller identifies the position T1 of the deepest concave point on the side surface of the workpiece 1 and inputs the machine coordinates (x2, y2) of the position T1.

[0066] Step 6: A vertical line L1 is drawn at the position T1 until it intersects with the horizontal line L1. The intersection point is the position T2, and the machine coordinates (x3, y3) of the position T2 are input, where x3 = x2 and y3 = y1. Therefore, the machine coordinates of T2 are (x2, y1).

[0067] Step 7: At the position of T2, the data obtained by adding the drawing dimension data of the part in the X-axis direction and the numerical value Z is added to the X-axis coordinate of the position T2 to obtain the position T3, and the machine coordinates (x4, y4) of the position T3 are input, so that the distance between T2 and T3 is greater than the drawing dimension of the part in the X-axis direction, where x4 = p + x3 + Z and y3 = y2. Therefore, the coordinates of the position T3 are (p + x2 + Z, y1).

[0068] Step 8: A horizontal line L2 is drawn at the position T1, a vertical line L2 is drawn at the position T3, and the positioning is carried out at the intersection of the horizontal line L2 and the vertical line L2 until the intersection position T4 of the horizontal line L1 and the edge of the workpiece 1 is reached, and the machine coordinates (x5, y5) of the position T4 are input, where x5 = x3 = p + x2 + Z and y4 = y2. Therefore, the coordinates of the position T4 are (p + x2 + Z, y2).

[0069] Step 9: In summary, the machine coordinates of the positions T1, T2, T3, and T4 are obtained, and T1(x2, y2), T2(x2, y1), T3(p + x2 + Z, y1), T4(p + x2 + Z, y2), where x1, x2, y1, y2, p, and Z are all known data.

[0070] Step Ten: Then, through the coordinate positioning of positions T1, T2, T3, and T4, successively connect horizontal line L1, horizontal line L2, vertical line L1, and vertical line L2. The rectangle formed by horizontal line L1, horizontal line L2, vertical line L1, and vertical line L2 is the appropriate machining area of the part on the irregular workpiece.

[0071] Preferably, ensure that the length of horizontal line L1 is greater than the drawing dimension of the part in the X-axis direction. If the length of horizontal line L1 is less than the drawing dimension of the part in the X-axis direction, reselect position H1 and draw horizontal line L1 until the length of horizontal line L1 is greater than the drawing dimension of the part in the X-axis direction.

[0072] Preferably, the selection range of A1, A2, A3, and A4 in the mechanical coordinates of the measurement starting point for the appropriate machining area in Step Ten includes the following steps:

[0073] Step One: Subtract the drawing dimension of the part in the X-axis direction from the distance value between positions T1 and T4, divide the obtained value by 2 to get data V1, and add data V1 to the X-axis data of vertical line L2 to obtain vertical line l2;

[0074] Step Two: The range of the X-axis coordinates of positions A1 and A2 is within the distance between vertical line L2 and vertical line l2;

[0075] Step Three: Subtract the drawing dimension of the part in the Y-axis direction from the distance value between positions T3 and T4, divide the obtained value by 2 to get data V2, and add data V2 to the Y-axis data of horizontal line L2 to obtain horizontal line l2;

[0076] Step Four: The range of the Y-axis coordinates of positions A3 and A4 is within the distance between horizontal line L2 and horizontal line l2;

[0077] Step Five: The intersection point of vertical line l2 and horizontal line l2 is position V, and the coordinates of position V are (U1, R1);

[0078] Step Six: Combining the coordinates of positions T1, T2, T3, and T4, the range of the Y-axis coordinates of positions A1 and A2 and the range of the X-axis coordinates of positions A3 and A4 can be inferred.

[0079] Preferably, the coordinates of position A1 are (x3 ≤ X1 ≤ U1, y4 ≤ Y1 ≤ y3);

[0080] The coordinates of position A2 are (x3 ≤ X2 ≤ U1, y4 ≤ Y2 ≤ y3);

[0081] The coordinates of position A3 are (x3 ≤ X3 ≤ x1, y4 ≤ Y3 ≤ R1);

[0082] The coordinates of the position A4 are (x3 ≤ X4 ≤ U1, y4 ≤ Y4 ≤ R1).

[0083] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0084] 1. This solution does not require external measuring equipment and can perform on-line measurement of the machined workpiece on the machine tool. There is no need to repeatedly disassemble and assemble the workpiece, saving the processing time of high-precision parts. Moreover, customers do not need to purchase expensive external measuring equipment, greatly reducing the equipment investment cost for customers;

[0085] 2. After on-line measurement in this solution, the correction data is automatically calculated and automatically filled into the machine tool offset. During the correction process, no manual intervention is required. It automatically measures, automatically calculates the deviation value, and sets it in the system. Without repeatedly disassembling / measuring on an external coordinate machine tool, it greatly reduces the processing time of high-precision parts for customers;

[0086] 3. Through the measurement system in this solution, not only can regular workpieces be quickly measured, and the mechanical coordinates of the measurement starting point and the approximate part size are set, so as to process qualified parts. For the processing of irregular workpieces, the visual camera can quickly select a suitable processing position on the surface of the irregular workpiece and quickly locate the setting range of the mechanical coordinates of the measurement starting point, enabling qualified parts to be quickly processed on the surface of the irregular workpiece. Description of the Drawings

[0087] Figure 1 It is a schematic diagram of the processing steps of the present invention;

[0088] Figure 2 It is a schematic diagram of the processing of the present invention;

[0089] Figure 3 It is a schematic diagram of the positioning and processing of the visual camera of the present invention;

[0090] Figure 4 It is a schematic diagram of the processing system flow of the present invention;

[0091] Figure 5 It is a schematic diagram of the measurement system flow of the present invention;

[0092] Figure 6 It is a schematic diagram of the positioning process of the visual camera of the present invention;

[0093] Figure 7 It is a schematic diagram of the positioning process of the mechanical coordinates of the measurement starting point of the present invention.

[0094] In the figure: 1. Workpiece; 2. Fixture; 3. Workbench; 4. Part; 5. Mechanical coordinates of the measurement starting point; 6. Approximate part size; 7. Drawing part size; 8. Cutting line offset; 9. Visual camera; 10. Electrical discharge machining machine. Detailed Embodiment

[0095] Embodiment 1

[0096] Please refer to Figures 1-7 , the present invention provides a technical solution:

[0097] An automatic on-line measurement and automatic machining system for an electric discharge machining machine, wherein:

[0098] The machining system includes a workpiece 1, a fixture 2, a workbench 3 and an electric discharge machining machine 10;

[0099] The measurement system includes a mechanical coordinate 5 of the measurement starting point, a rough part size 6, a drawing part size 7 and a cutting line offset 8.

[0100] The working processes of the machining system and the measurement system include the following steps:

[0101] S1: The machining system fixes the workpiece 1;

[0102] S2: Input the mechanical coordinate 5 of the measurement starting point, the rough part size 6 and the drawing part size 7 into the measurement system;

[0103] S3: Compare the data of the mechanical coordinate 5 of the measurement starting point and the rough part size 6 after calculation with the drawing part size 7;

[0104] S4: Calculate the data of the cutting line offset 8;

[0105] S5: Compensate the data of the cutting line offset 8 into the machining process of the electric discharge machining machine 10;

[0106] S6: Machine a qualified part 4.

[0107] As Figure 2 shown, before machining, the workpiece 1 is clamped and fixed by the fixture 2, further fixed on the workbench 3, and machined by the electric discharge machining machine 10, and a part 4 is obtained after machining.

[0108] And before machining, set the mechanical coordinate 5 of the measurement starting point, the rough part size 6 and the drawing part size 7 through the measurement system, perform automatic measurement after completion of the setting, compare the measurement result with the drawing part size 7, and automatically calculate the cutting line offset 8;

[0109] Start the operation of the electric discharge machining machine 10 through the cutting line offset 8, and compensate the machining of the electric discharge machining machine 10 through the cutting line offset 8, and further machine a qualified part 4.

[0110] When setting the mechanical coordinates 5 of the measurement starting point, the mechanical coordinates 5 of the measurement starting point include the positions of eight points, namely A1, A2, A3, A4, A5, A6, A7, and A8, where A1, A2, A3, and A4 are known:

[0111] Position A1 corresponds to two sets of data, namely X1 and Y1. X1 is the approximate mechanical coordinate value of the X-axis at position A1, and Y1 is the approximate mechanical coordinate value of the Y-axis at A1. Therefore, the coordinates of position A1 are (X1, Y1);

[0112] Position A2 corresponds to two sets of data, namely X2 and Y2. X2 is the approximate mechanical coordinate value of the X-axis at position A2, and Y2 is the approximate mechanical coordinate value of the Y-axis at A2. Therefore, the coordinates of position A2 are (X2, Y2);

[0113] Position A3 corresponds to two sets of data, namely X3 and Y3. X3 is the approximate mechanical coordinate value of the X-axis at position A3, and Y3 is the approximate mechanical coordinate value of the Y-axis at A3. Therefore, the coordinates of position A3 are (X3, Y3);

[0114] Position A4 corresponds to two sets of data, namely X4 and Y4. X4 is the approximate mechanical coordinate value of the X-axis at position A4, and Y4 is the approximate mechanical coordinate value of the Y-axis at A4. Therefore, the coordinates of position A4 are (X4, Y4).

[0115] When setting the approximate part dimensions 6, the approximate part dimensions 6 include two data P and Q;

[0116] Among them:

[0117] P corresponds to the approximate dimension of the part 4 in the X-axis direction;

[0118] Q corresponds to the approximate dimension of the part 4 in the Y-axis direction.

[0119] When setting the drawing part dimensions 7, the drawing part dimensions 7 include two data p and q;

[0120] Among them:

[0121] p corresponds to the drawing dimension of the part 4 in the X-axis direction;

[0122] q corresponds to the drawing dimension of the part 4 in the Y-axis direction.

[0123] After the data of the mechanical coordinates 5 of the measurement starting point and the data of the approximate part dimensions 6 are set, at this time, through the calculation of the mechanical coordinates 5 of the measurement starting point and the approximate part dimensions 6, A5, A6, A7, and A8 corresponding to A1, A2, A3, and A4 are further deduced;

[0124] Among them:

[0125] Position A5 corresponds to two sets of data, namely X5 and Y5. X5 is the approximate mechanical coordinate value of the X-axis of position A5, and Y5 is the approximate mechanical coordinate value of the Y-axis of A5. Therefore, the coordinate of position A5 is (X5, Y5);

[0126] Position A6 corresponds to two sets of data, namely X6 and Y6. X6 is the approximate mechanical coordinate value of the X-axis of position A6, and Y6 is the approximate mechanical coordinate value of the Y-axis of A6. Therefore, the coordinate of position A6 is (X6, Y6);

[0127] Position A7 corresponds to two sets of data, namely X7 and Y7. X7 is the approximate mechanical coordinate value of the X-axis of position A7, and Y7 is the approximate mechanical coordinate value of the Y-axis of A7. Therefore, the coordinate of position A7 is (X7, Y7);

[0128] Position A8 corresponds to two sets of data, namely X8 and Y8. X8 is the approximate mechanical coordinate value of the X-axis of position A8, and Y8 is the approximate mechanical coordinate value of the Y-axis of A8. Therefore, the coordinate of position A8 is (X8, Y8).

[0129] The calculation of the mechanical coordinate 5 data of the measurement starting point and the data of the approximate part size 6 is as follows:

[0130] Position A1 and position A5 are horizontally corresponding with the central vertical line of part 4. Therefore, the Y-axis coordinates of position A1 and position A5 are the same. So X5 = X1 + P, Y5 = Y1. Further, the coordinate of position A5 is (X1 + P, Y1);

[0131] Position A2 and position A6 are horizontally corresponding with the central vertical line of part 4. Therefore, the Y-axis coordinates of position A2 and position A6 are the same. So X6 = X2 + P, Y6 = Y2. Further, the coordinate of position A6 is (X2 + P, Y2);

[0132] Position A3 and position A7 are horizontally corresponding with the central horizontal line of part 4. Therefore, the X-axis coordinates of position A3 and position A7 are the same. So X7 = X3, Y7 = Y3 + Q. Further, the coordinate of position A7 is (X3, Y3 + Q);

[0133] Position A4 and position A8 are horizontally corresponding with the central horizontal line of part 4. Therefore, the Y-axis coordinates of position A4 and position A8 are the same. So X8 = X4 + Q, Y8 = Y4. Further, the coordinate of position A5 is (X4 + Q, Y4).

[0134] In summary, all the mechanical coordinates corresponding to A1, A2, A3, A4, A5, A6, A7, and A8 in the mechanical coordinate 5 of the measurement starting point can be obtained:

[0135] A1(X1, Y1), A2(X2, Y2), A3(X3, Y3), A4(X4, Y4), A5(X1 + P, Y1), A6(X2 + P, Y2), A7(X3, Y3 + Q), A5(X4 + Q, Y4);

[0136] Further, by measuring the mechanical coordinate data of the starting point 5 and the approximate part size data 6, and comparing them with the p and q data in the part size 7 of the drawing, the cutting line offset 8 is calculated. Further, the cutting line offset 8 is used to correct the machining of the electric discharge machining machine 10, and a qualified part 4 is machined.

[0137] In this way, the workpiece 1 can be automatically measured quickly and automatically machined after measurement. During the machining process, the measured cutting line offset 8 can be corrected in the machining process of the electric discharge machining machine 10. Compared with the traditional technology, in this solution, through the measurement system and the machining system, automatic measurement and machining can be completed online, the correction data can be automatically calculated, automatically filled into the machine tool offset, and no manual intervention is required during the correction process. Automatic measurement, automatic calculation of the deviation value, and setting in the system. There is no need to repeatedly disassemble / install or take it to an external coordinate machine tool for measurement, which greatly reduces the machining time of high-precision parts for customers.

[0138] Embodiment 2

[0139] Please refer to Figures 1-7 , on the basis of Embodiment 1, the present invention provides a technical solution:

[0140] An automatic online measurement and automatic machining system for an electric discharge machining machine;

[0141] Through Embodiment 1, a qualified part 4 can be machined for a workpiece 1 with a regular shape. However, when machining a workpiece 1 with an irregular shape, it is necessary to position and set the mechanical coordinate 5 of the measurement starting point to avoid that after the mechanical coordinate 5 of the measurement starting point is arbitrarily set on the surface of the workpiece 1, a qualified part 4 cannot be machined on the surface of the workpiece 1 according to the calculation results of the mechanical coordinate 5 of the measurement starting point and the approximate part size 6.

[0142] When the irregular workpiece 1 is scanned by the vision camera 9, the scanned image of the surface of the workpiece 1 can be transmitted to the controller 11. The controller 11 positions any point on the scanned image of the surface of the workpiece 1, and further enables the controller 11 to position the area on the surface of the workpiece 1 where a qualified part 4 can be machined:

[0143] The steps for the controller 11 to locate the machining area include the following:

[0144] Step 1: The vision camera 9 scans the surface of the workpiece 1 and converts it into a picture;

[0145] Step 2: The controller 11 identifies the picture of the surface of the workpiece 1;

[0146] Step 3: The controller 11 identifies the position H1 of the deepest concave part on the horizontal surface of the workpiece 1, and inputs the machine coordinates (x1, y1) of the position H1;

[0147] Step 4: At the same time, a horizontal line L1 is drawn at the position H1, and it is ensured that the length of the horizontal line L1 is greater than the drawing dimension of the part 4 in the X-axis direction. If the length of the horizontal line L1 is less than the drawing dimension of the part 4 in the X-axis direction, the position H1 is reselected and the horizontal line L1 is drawn until the length of the horizontal line L1 is greater than the drawing dimension of the part 4 in the X-axis direction;

[0148] Step 5: The controller 11 identifies the position T1 of the deepest concave part on the side surface of the workpiece 1, and inputs the machine coordinates (x2, y2) of the position T1;

[0149] Step 6: A vertical line L1 is drawn at the position T1 until the horizontal line L1 intersects with the horizontal line L1, and the intersection point is the position T2, and the machine coordinates (x3, y3) of the position T2 are input, where x3 = x2 and y3 = y1. Therefore, the machine coordinates of T2 are (x2, y1);

[0150] Step 7: At the position of T2, the drawing dimension data of the part 4 in the X-axis direction is added to the numerical value Z data, and the obtained data is added to the X-axis coordinate of the position T2 to obtain the position T3, and the machine coordinates (x4, y4) of the position T3 are input, so that the distance between T2 and T3 is greater than the processing of the drawing dimension of the part 4 in the X-axis direction, where x4 = p + x3 + Z and y3 = y2. Therefore, the coordinates of the position T3 are (p + x2 + Z, y1);

[0151] Step 8: A horizontal line L2 is drawn with the position T1 as the starting point, a vertical line L2 is drawn with the position T3 as the starting point, and positioning is carried out at the intersection of the horizontal line L2 and the vertical line L2 until the horizontal line L1 intersects with the edge of the workpiece 1 at the position T4, and the machine coordinates (x5, y5) of the position T4 are input, where x5 = x3 = p + x2 + Z and y4 = y2. Therefore, the coordinates of the position T4 are (p + x2 + Z, y2);

[0152] Step 9: In summary, the machine coordinates of the positions T1, T2, T3, and T4 are obtained, and T1(x2, y2), T2(x2, y1), T3(p + x2 + Z, y1), T4(p + x2 + Z, y2), where x1, x2, y1, and y2 are all known data;

[0153] Step Ten: Then, through the coordinate positioning of positions T1, T2, T3, and T4, horizontally line L1, horizontally line L2, vertically line L1, and vertically line L2 are sequentially connected. The rectangle formed by horizontally line L1, horizontally line L2, vertically line L1, and vertically line L2 is the appropriate machining area of part 4 on the irregular workpiece 1;

[0154] Through the position positioning of the above positions T1, T2, T3, and T4 and the position positioning of horizontally line L1, horizontally line L2, vertically line L1, and vertically line L2, the initial position of the mechanical coordinate 5 of the measurement starting point can be selected within the machining area;

[0155] First, subtract the drawing dimension of part 4 in the X-axis direction from the distance value between positions T1 and T4, and divide the obtained value by 2 to get data V1. Add data V1 to the X-axis data of vertically line L2 to obtain vertically line l2;

[0156] The range of the X-axis coordinates of positions A1 and A2 is within the distance range between vertically line L2 and vertically line l2;

[0157] At the same time, subtract the drawing dimension of part 4 in the Y-axis direction from the distance value between positions T3 and T4, and divide the obtained value by 2 to get data V2. Add data V2 to the Y-axis data of horizontally line L2 to obtain horizontally line l2;

[0158] The range of the Y-axis coordinates of positions A3 and A4 is within the distance range between horizontally line L2 and horizontally line l2;

[0159] The intersection point of vertically line l2 and horizontally line l2 is position V, and the coordinates of position V are (U1, R1);

[0160] Combined with the coordinates of positions T1, T2, T3, and T4, the range of the Y-axis coordinates of positions A1 and A2 and the range of the X-axis coordinates of positions A3 and A4 can be inferred;

[0161] Thus, it can be obtained that:

[0162] The coordinates of position A1 are (x3 ≤ X1 ≤ U1, y4 ≤ Y1 ≤ y3);

[0163] The coordinates of position A2 are (x3 ≤ X2 ≤ U1, y4 ≤ Y2 ≤ y3);

[0164] The coordinates of position A3 are (x3 ≤ X3 ≤ x1, y4 ≤ Y3 ≤ R1);

[0165] The coordinates of position A4 are (x3 ≤ X4 ≤ U1, y4 ≤ Y4 ≤ R1).

[0166] Furthermore, on the irregular workpiece 1, the mechanical coordinates 5 of the measurement starting point can be quickly input. After the data of the mechanical coordinates 5 of the measurement starting point, the approximate part size 6, and the drawing part size 7 are input, the cutting line offset 8 can be obtained by comparison, and a qualified part 4 can be machined.

Claims

1. An automatic on-line measurement and automatic machining system for an electric discharge machining machine, characterized in that: It includes a measurement system and a processing system, where: The processing system includes a workpiece (1), a fixture (2), a workbench (3), and an electric discharge machining machine (10); The data in the measurement system includes the mechanical coordinates of the measurement starting point (5), the approximate part size (6), the drawing part size (7), and the cutting line offset amount (8); The working processes of the processing system and the measurement system include the following steps: S1: The processing system fixes the workpiece (1); S2: Input the mechanical coordinates of the measurement starting point (5), the approximate part size (6), and the drawing part size (7) into the measurement system; S3: Compare the data of the mechanical coordinates of the measurement starting point (5) and the approximate part size (6) after calculation with the drawing part size (7); S4: Calculate the data of the cutting line offset amount (8); S5: Compensate the data of the cutting line offset amount (8) into the processing process of the spark machining machine (10); S6: Machine a qualified part (4); Among them, the mechanical coordinates of the measurement starting point (5) in S2 include the positions of eight points, namely A1, A2, A3, A4, A5, A6, A7, A8, where A1, A2, A3, A4 are known: Position A1 corresponds to two sets of data, namely X1 and Y1. X1 is the approximate mechanical coordinate value of the X-axis of position A1, and Y1 is the approximate mechanical coordinate value of the Y-axis of A1. The coordinate of position A1 is (X1, Y1); Position A2 corresponds to two sets of data, namely X2 and Y2. X2 is the approximate mechanical coordinate value of the X-axis of position A2, and Y2 is the approximate mechanical coordinate value of the Y-axis of A2. The coordinate of position A2 is (X2, Y2); Position A3 corresponds to two sets of data, namely X3 and Y3. X3 is the approximate mechanical coordinate value of the X-axis of position A3, and Y3 is the approximate mechanical coordinate value of the Y-axis of A3. The coordinate of position A3 is (X3, Y3); Position A4 corresponds to two sets of data, namely X4 and Y4. X4 is the approximate mechanical coordinate value of the X-axis of position A4, and Y4 is the approximate mechanical coordinate value of the Y-axis of A4. The coordinate of position A4 is (X4, Y4); The approximate part size (6) includes data P and data Q; Among them: The data P corresponds to the approximate size of the part 4 in the X-axis direction; The data Q corresponds to the approximate size of the part 4 in the Y-axis direction; The drawing part size (7) includes data p and data q; Among them: The data p corresponds to the drawing size of the part 4 in the X-axis direction; The data q corresponds to the drawing size of the part 4 in the Y-axis direction; Among them, the mechanical coordinates of positions A5, A6, A7, and A8 are obtained after calculating the mechanical coordinates of the measurement starting point (5) and the approximate part size (6) in S3; The data calculation of the mechanical coordinates of the measurement starting point (5) and the approximate part size (6) includes the following steps: Step 1: Position A1 and position A5 are horizontally corresponding with respect to the central vertical line of part 4; Position A2 and position A6 are horizontally corresponding with respect to the central vertical line of part 4; Position A3 and position A7 are horizontally corresponding with respect to the central horizontal line of part 4; Position A4 and position A8 are horizontally corresponding with respect to the central horizontal line of part 4; Step 2: Therefore, the Y-axis coordinates of position A1 and position A5 are the same; Therefore, the Y-axis coordinates of position A2 and position A6 are the same; Therefore, the X-axis coordinates of position A3 and position A7 are the same; Therefore, the Y-axis coordinates of position A4 and position A8 are the same; Step Three: So, X5 = X1 + P, Y5 = Y1; So, X6 = X2 + P, Y6 = Y2; So, X7 = X3, Y7 = Y3 + Q; So, X8 = X4 + Q, Y8 = Y4; Step Four: It is obtained that the coordinates of position A5 are (X1 + P, Y1); It is obtained that the coordinates of position A6 are (X2 + P, Y2); It is obtained that the coordinates of position A7 are (X3, Y3 + Q); It is obtained that the coordinates of position A5 are (X4 + Q, Y4).

2. The automatic on-line measurement and automatic machining system of an electric discharge machining machine according to claim 1, characterized in that: The processing system described in S1 includes the following steps: The fixture (2) clamps and fixes the workpiece (1) and fixes it on the workbench (3), and the electric discharge machining machine (10) processes the workpiece (1).

3. An automatic on-line measurement and automatic machining system for an electric discharge machining machine according to claim 1, characterized in that: The measuring system further includes a vision camera (9) and a controller (11). The vision camera (9) is used to scan the surface of the irregular workpiece (1) and output pictures. The vision camera (9) transmits the scanned pictures to the controller (11), and the controller (11) locates any point on the surface scanned pictures of the irregular workpiece (1) and calculates the appropriate machining area.

4. An automatic on-line measurement and automatic machining system for an electric discharge machining machine according to claim 3, characterized in that: The controller (11) locating the machining area includes the following steps: Step One: The vision camera (9) scans the surface of the irregular workpiece (1) and outputs pictures; Step Two: The controller (11) identifies the pictures of the surface of the irregular workpiece (1); Step Three: The controller (11) identifies the position H1 of the deepest concave point on the horizontal surface of the irregular workpiece (1), and inputs the machine coordinates (x1, y1) of position H1; Step Four: At the same time, a horizontal line L1 is made at position H1; Step Five: The controller (11) identifies the position T1 of the deepest concave point on the side surface of the workpiece 1, and inputs the machine coordinates (x2, y2) of position T1; Step Six: A vertical line L1 is made at position T1 until the vertical line L1 intersects with the horizontal line L1. The intersection point is position T2, and the machine coordinates (x3, y3) of position T2 are input, where x3 = x2, y3 = y1. Therefore, the machine coordinates of T2 are (x2, y1); Step Seven: At the position of T2, add the drawing dimension data in the X-axis direction of the part (4) and the numerical value Z data, and add the obtained data to the X-axis coordinate of position T2 to obtain position T3, and input the machine coordinates (x4, y4) of position T3, so that the distance between T2 and T3 is greater than the drawing dimension in the X-axis direction of the part (4), where x4 = p + x3 + Z, y3 = y2. Therefore, the coordinates of position T3 are (p + x2 + Z, y1); Step Eight: Make a horizontal line L2 with position T1 as the starting point, make a vertical line L2 with position T3 as the starting point, and locate at the intersection of the horizontal line L2 and the vertical line L2 until it intersects with the edge of the workpiece 1 by the horizontal line L1 at position T4, and input the machine coordinates (x5, y5) of position T4, where x5 = x3 = p + x2 + Z, and y4 = y2. Therefore, the coordinates of position T4 are (p + x2 + Z, y2); Step 9: In summary, obtain the machine coordinates of positions T1, T2, T3, and T4, and T1(x2, y2), T2(x2, y1), T3(p + x2 + Z, y1), T4(p + x2 + Z, y2), where x1, x2, y1, y2, p, and Z are all known data; Step 10: Then, through the coordinate positioning of positions T1, T2, T3, and T4, connect horizontal line L1, horizontal line L2, vertical line L1, and vertical line L2 in sequence. The rectangle formed by horizontal line L1, horizontal line L2, vertical line L1, and vertical line L2 is the appropriate machining area of part (4) on the irregular workpiece (1).

5. An automatic on-line measurement and automatic machining system for an electric discharge machining machine according to claim 4, characterized in that: And ensure that the length of horizontal line L1 is greater than the drawing size of part (4) in the X-axis direction. If the length of horizontal line L1 is less than the drawing size of part (4) in the X-axis direction, reselect position H1 and draw horizontal line L1 until the length of horizontal line L1 is greater than the drawing size of part (4) in the X-axis direction.

6. The automatic on-line measurement and automatic machining system of an electric discharge machining machine according to claim 4, characterized in that: The selection range of A1, A2, A3, and A4 in the machine coordinates (5) of the measurement starting point is included in the appropriate machining area in Step 10, and the following steps are involved: Step 1: Subtract the drawing size of part (4) in the X-axis direction from the distance value between positions T1 and T4, and divide the obtained value by 2 to get data V1. Add data V1 to the X-axis data of vertical line L2 to obtain vertical line l2; Step 2: The X-axis coordinate range of positions A1 and A2 is within the distance range between vertical line L2 and vertical line l2; Step 3: Subtract the drawing size of part (4) in the Y-axis direction from the distance value between positions T3 and T4, and divide the obtained value by 2 to get data V2. Add data V2 to the Y-axis data of horizontal line L2 to obtain horizontal line l2; Step 4: The Y-axis coordinate range of positions A3 and A4 is within the distance range between horizontal line L2 and horizontal line l2; Step 5: The intersection point of vertical line l2 and horizontal line l2 is position V, and the coordinates of position V are (U1, R1); Step 6: Combining the coordinates of positions T1, T2, T3, and T4, the Y-axis coordinate range of positions A1 and A2 and the X-axis coordinate range of positions A3 and A4 can be inferred.

7. An automatic on-line measurement and automatic machining system for an electric discharge machining machine according to claim 6, characterized in that: The coordinates of position A1 are (x3 ≤ X1 ≤ U1, y4 ≤ Y1 ≤ y3); The coordinates of position A2 are (x3 ≤ X2 ≤ U1, y4 ≤ Y2 ≤ y3); The coordinates of position A3 are (x3 ≤ X3 ≤ x1, y4 ≤ Y3 ≤ R1); The coordinates of position A4 are (x3 ≤ X4 ≤ U1, y4 ≤ Y4 ≤ R1).

Citation Information

Patent Citations

  • Method and system for online measurement of workpiece by numerical control electric discharge machine

    CN113867261A

  • Method and system for automatically generating electric spark workpiece coordinates and electrode coordinates

    CN115291567A