Tool setting method based on on-site microscope

Through the radius of the residue and round trough in the microscope measurement center, combined with image analysis, it solves the problem of accurately determining the axial error direction of the knife in the process of the existing technology. Machining accuracy and efficiency.

CN118789362BActive Publication Date: 2025-01-28JIANGXI LIANCHUANG ELECTRONICS CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411282343.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2025-01-28
Estimated Expiration
2044-09-13

AI Technical Summary

Technical Problem

In the prior art, it is difficult to accurately determine the position error direction of the tool in each axial direction during the tool setting process, and often requires measurement with offline equipment, which leads to cumbersome and time-consuming tool setting process and introduces non-target error sources.

Method used

Based on the cutting of the knife based on the microscope in place, the radius of the residue of the center residue is used to form a plane and measure the radius of the residue through the car cutting workpiece. Combine the surface image analysis of the round trough of the microscope to determine the position error of the knife in each axis and achieve precise compensation.

Benefits of technology

Achieving fast and accurate incentive measurement, reducing the tediousness and errors of the knife process, and improving the processing accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118789362B_ABST
    Figure CN118789362B_ABST
Patent Text Reader

Abstract

The present invention provides a tool setting method based on an on-site microscope, which has the advantages of being fast, accurate, low-cost and easy to operate. Specifically, by turning a workpiece to form a first plane, and measuring the first radius and the second radius of the center residue of the first plane through an on-site microscope, the position error of the tool in the second axis can be determined, thereby realizing tool setting in the second axis direction. By turning a circular groove on the second plane of the workpiece, and collecting the surface image of the circular groove through an on-site microscope and measuring the radius of the circular groove, the position error of the tool in the first axis can be determined, thereby realizing tool setting in the second axis direction. By turning a workpiece to form a third plane, and using the third axis coordinates of the tool when the third plane is turned as the third axis coordinates of the tool positioning origin, tool setting in the third axis direction can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to the field of mechanical processing technology, and in particular to a tool setting method based on an on-site microscope. Background Art

[0002] When using a machine tool to process a workpiece, the positioning origin after the tool is installed and the origin of the processing program do not coincide, so the positioning of the tool needs to be adjusted. The process of adjusting the tool positioning is usually called tool setting. In the machine tool coordinate system, the positioning origin after the tool is installed and the origin of the processing program may have misalignment errors in each axis. The purpose of tool setting is to reduce or eliminate the misalignment error between the two as much as possible. By measuring the characteristic parameters of the center residue after turning the plane and the characteristic parameters of the circular groove diameter after turning the circular groove, the tool setting operation can be assisted. However, measuring these characteristic parameters can only obtain the size of each axial error, but it is difficult to determine the direction of each axial error.

[0003] At present, in order to determine the error direction of the X-axis, the tool is usually moved a fixed distance away from the origin of the machining program before turning the circular groove. The size and direction of the X-axis error are calculated by comparing the moving distance and the measured circular groove diameter. Since the moving distance is usually in the millimeter level, in-situ measurement equipment with a small field of view such as optical microscopes cannot meet the measurement requirements of characteristic parameters. In order to determine the error direction of the Y-axis, measuring equipment with three-dimensional morphology measurement performance is usually used to measure the center residual shape and characteristic parameters, but three-dimensional morphology measurement equipment is usually large in size and difficult to integrate into machine tool processing centers. Therefore, current measurements often require the use of offline equipment, which makes the tool setting process not only cumbersome and time-consuming, but also introduces non-target error sources such as repeated installation errors.

[0004] The contents of the background technology section are merely the technologies known to the inventors and do not necessarily represent the prior art in the field. Summary of the invention

[0005] In view of one or more defects in the prior art, the present invention provides a tool setting method based on an on-site microscope, comprising:

[0006] Clamp the workpiece on the machine tool;

[0007] Turning the workpiece to form a first plane on the workpiece, wherein the workpiece can be fed along a first axis of the machine tool relative to the tool and rotated about a third axis, and the tool can be fed along a third axis of the machine tool relative to the workpiece;

[0008] adjusting the focal plane of the microscope to coincide with the first plane, so as to measure a first radius of a central residue of the first plane through the microscope;

[0009] adjusting the focal plane of the microscope in a direction away from the first plane to measure a second radius of the central residue; and

[0010] Correcting the second axis coordinate of the tool positioning origin according to the first radius and the second radius of the center residue;

[0011] The first axis, the second axis and the third axis are perpendicular to each other.

[0012] According to one aspect of the present invention, the step of correcting the second axis coordinate of the tool positioning origin according to the first radius and the second radius of the central residue comprises:

[0013] Comparing the first radius and the second radius of the central residue,

[0014] If the first radius is greater than the second radius, the second axis coordinate of the tool positioning origin is compensated by a first distance in the negative direction of the second axis;

[0015] If the first radius is equal to the second radius, the second axis coordinate of the tool positioning origin is compensated by a first distance in the positive direction of the second axis;

[0016] Wherein, the first distance is equal to the first radius.

[0017] According to one aspect of the present invention, the step of measuring a first radius of a central residue of a first plane by means of the microscope comprises:

[0018] collecting a first image of the central residue by the microscope;

[0019] Based on the first image, a first radius of the central residue is determined.

[0020] According to one aspect of the present invention, the step of adjusting the focal plane of the microscope in a direction away from the first plane comprises:

[0021] moving the microscope in a direction away from the first plane; or,

[0022] Reduce the focal length of the microscope.

[0023] According to one aspect of the present invention, the step of measuring the second radius of the central residue comprises:

[0024] collecting a second image of the central residue through the microscope;

[0025] Based on the second image, a second radius of the central residue is determined.

[0026] According to one aspect of the present invention, the tool setting method further comprises:

[0027] Turning the workpiece to remove the first plane and form a second plane on the workpiece;

[0028] The tool is moved to a tool positioning origin, and a circular groove is turned on a second plane of the workpiece, wherein the workpiece rotates about a third axis and the tool is fed along the third axis;

[0029] Measuring the radius of the circular groove by a microscope and collecting a surface image of the circular groove;

[0030] The first axis coordinate of the tool positioning origin is corrected according to the radius and the surface image of the circular groove.

[0031] According to one aspect of the present invention, when turning the circular groove, the workpiece rotates clockwise;

[0032] The step of correcting the first axis coordinate of the tool positioning origin according to the radius and the surface image of the circular groove comprises:

[0033] determining whether there is a ploughing effect during the turning of the circular groove according to the surface image of the circular groove;

[0034] If the plowing effect exists, the first axis coordinate of the tool positioning origin is compensated by a second distance in the positive direction of the first axis;

[0035] If the plowing effect does not exist, the first axis coordinate of the tool positioning origin is compensated by a second distance in the negative direction of the first axis;

[0036] The second distance is equal to the radius of the circular groove.

[0037] According to one aspect of the present invention, the radius of the circular groove satisfies the following formula:

[0038] R0=(R1+R2) / 2;

[0039] Among them, R0 is the radius of the circular groove, R1 is the inner diameter of the circular groove, and R2 is the outer diameter of the circular groove.

[0040] According to one aspect of the present invention, the step of measuring the radius of the circular groove by means of a microscope comprises:

[0041] Measuring the length of a first line segment in the circular groove by a microscope, wherein the first line segment passes through the center of the circular groove, one end of the first line segment is located at the inner edge of the circular groove, and the other end of the first line segment is located at the outer edge of the circular groove;

[0042] The radius of the circular groove is determined according to the length of the first line segment.

[0043] According to one aspect of the present invention, the tool setting method further comprises:

[0044] turning the workpiece to remove the second plane and form a third plane on the workpiece;

[0045] The third axis coordinate of the tool when the third plane turning is completed is used as the third axis coordinate of the tool positioning origin.

[0046] Compared with the prior art, the embodiment of the present invention provides a tool setting method based on an in-situ microscope, which forms a first plane by turning a workpiece, and measures the first radius and the second radius of the center residue of the first plane by an in-situ microscope, so that the position error (error size and error direction) of the tool in the second axis can be determined, which provides data support for compensating the tool error, and is conducive to achieving the purpose of accurate, fast, and in-situ measurement of tool setting. By turning a circular groove on the second plane of the workpiece, and collecting the surface image of the circular groove and measuring the radius of the circular groove by an in-situ microscope, the position error of the tool in the first axis can be determined, which provides data support for compensating the tool error, and is conducive to achieving the purpose of accurate, fast, and in-situ measurement of tool setting. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0048] Figure 1 A schematic diagram of a machine tool according to an embodiment of the present invention is shown;

[0049] Figure 2 A flow chart of a tool setting method based on an on-site microscope according to an embodiment of the present invention is shown;

[0050] Figure 3 shows a schematic diagram of a central residue according to one embodiment of the invention;

[0051] Figure 4 shows a schematic diagram of another central residue according to one embodiment of the invention;

[0052] Figure 5 A schematic diagram showing a method of measuring a first radius of a central residue by a microscope according to an embodiment of the present invention is shown;

[0053] Figure 6 A schematic diagram showing a method of measuring a second radius of a central residue by a microscope according to an embodiment of the present invention is shown;

[0054] Figure 7 A schematic diagram of turning a circular groove according to an embodiment of the present invention is shown;

[0055] Figure 8 for Figure 7A magnified schematic diagram of the middle area;

[0056] Fig. 9 A schematic diagram of turning a circular groove according to an embodiment of the present invention is shown;

[0057] Fig.10 Shows Fig. 9 A magnified view of the middle area. DETAILED DESCRIPTION

[0058] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0059] In the description of the present invention, it should 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" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0060] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0061] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is lower in level than the second feature.

[0062] The disclosure below provides many different embodiments or examples to realize different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplicity and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides various specific examples of processes and materials, but those of ordinary skill in the art can be aware of the application of other processes and / or the use of other materials.

[0063] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0064] Figure 1 A schematic diagram of a machine tool 100 according to an embodiment of the present invention is shown. Figure 1 As shown, the machine tool 100 includes a spindle 110, a tool 120, a microscope 130, a first base 140, a second base 150 and a third base 160. The spindle 110 is mounted on the second base 150, and the tool 120 and the microscope 130 are mounted on the third base 160. A workpiece 170 can be clamped on the spindle 110. Figure 1 1 shows an XYZ coordinate system of the machine tool 100, wherein in order to process the workpiece 170 by the tool 120, before processing, the tool 120 and the workpiece 170 can be relatively moved along the first axis X and the second axis Y to adjust the cutting position, and then the workpiece 170 is rotated around the Z direction to complete the cutting. The tool can be, for example: a pointed turning tool, a round turning tool, a beveled turning tool, a grooving tool, a single-edged turning tool, an elbow turning tool, an end face cross-cutting tool, a square head elbow turning tool, etc.

[0065] According to one embodiment of the present invention, the first seat body 140 is configured to be movable along the first axis X, the second seat body 150 is mounted on the first seat body 140 and configured to be movable along the second axis Y, and the third seat body 160 is configured to be movable along the third axis Z. The first axis X, the second axis Y and the third axis Z are coordinate axes of the absolute coordinate system of the machine tool 100, the first axis X, the second axis Y and the third axis Z are perpendicular to each other, the first axis X and the second axis Y are perpendicular to the axis of the spindle 110, the third axis Z and the axis of the spindle 110 are parallel to each other, and optionally, the third axis Z coincides with the axis of the spindle 110.

[0066] In machine tools, coordinate systems are mainly divided into absolute coordinate systems and relative coordinate systems. Each coordinate point in the absolute coordinate system is determined based on a fixed reference point (such as the origin) on the machine tool. The relative coordinate system is used in the machining program, and the position of each coordinate point in the relative coordinate system is determined relative to a specific reference point (such as the tool positioning origin).

[0067] After the tool is installed on the machine tool, ideally, the position of the tool (tool positioning origin) is aligned with the axis of the spindle 110, that is, aligned with the intersection 0 of the first axis X and the second axis Y (or aligned with the third axis Z). However, during the actual installation process, there will be a certain deviation between the actual position of the tool and the tool positioning origin. For example, the actual position of the tool will deviate by a certain distance along the X direction and the Y direction, and due to the factors of the installation position and the length of the tool, it will also deviate by a certain distance along the Z direction. In the actual cutting process, the tool will be controlled with the tool positioning origin as the starting point, so the deviation of the tool position will significantly affect the processing accuracy. The embodiments of the present invention can respectively determine the deviation between the actual position of the tool and the tool positioning origin along each axis. After determining the deviation along each axis, the tool positioning origin or the actual position of the tool can be adjusted to improve the processing accuracy. The following is a detailed description.

[0068] Figure 2 FIG. 4 shows a flow chart of a tool setting method based on an on-site microscope according to an embodiment of the present invention. Figure 2 As shown, the tool setting method includes the following steps, and each step is described in detail below.

[0069] In step S210: the workpiece is clamped on the machine tool.

[0070] In a specific embodiment, Figure 1 As shown, the workpiece 170 can be clamped at the output end of the spindle 110. Optionally, a fixture (not shown in the figure) is provided at the output end of the spindle 110, and the fixture can be, for example, a three-jaw chuck, a four-jaw chuck, etc., through which the workpiece 170 can be accurately positioned and fixed to ensure the high efficiency of the processing operation and the consistency of the processing quality.

[0071] In step S220 , the workpiece is turned to form a first plane on the workpiece, for example, a first plane is formed on the end surface (XY plane) of the workpiece.

[0072] In a specific implementation, the workpiece is driven by the main spindle of the machine tool to rotate around the third axis, and the direction of rotation can be clockwise or counterclockwise. At the same time, the workpiece is fed along the first axis X driven by the first seat body, and the tool is fed along the third axis Y driven by the third seat body. Through this coordinated feeding method, the tool can effectively turn the workpiece, thereby forming the required first plane.

[0073] After turning is completed, due to the installation error of the tool in the second axis, some unremoved material will be left in the center area of ​​the first plane. This unremoved material is called the center residue. The size and shape of the center residue are closely related to the position error of the tool in the second axis (error size and error direction). The error size of the tool in the second axis can be determined by measuring the bottom radius of the center residue, and the error direction of the tool in the second axis can be determined by the shape of the center residue, for example: Figure 3 A schematic diagram of a central residue Cr according to an embodiment of the invention is shown, Figure 3 As shown, if the actual installation height of the tool 120 is lower than the expected standard height (the tool 120 is below the third axis Z), then when turning the central area of ​​the first plane P1, the front cutting face of the tool 120 is used, and the central residue Cr will appear cylindrical. Figure 4 A schematic diagram of another central residue Cr according to an embodiment of the invention is shown, Figure 4 As shown, if the actual installation height of the tool 120 is higher than the expected standard height (the tool 120 is above the third axis Z), then when turning the central area of ​​the first plane P1, the back face of the tool 120 is used. At this time, the center residue Cr will be in the shape of a cone (or a truncated cone).

[0074] In step S230 : the focal plane of the microscope is adjusted to coincide with the first plane, so as to measure a first radius of the central residue of the first plane through the microscope.

[0075] Figure 5 1 shows a first radius R of the central residue Cr measured by the microscope 130 according to one embodiment of the present invention. a Schematic diagram, such as Figure 5As shown, the third base 160 can be moved along the third axis Z, so that the microscope 130 and its focal plane can be moved along the third axis Z, and then the focal plane of the microscope 130 can be accurately aligned with the first plane P1 of the workpiece 170, so that the focal plane and the first plane P1 are coincident. In some embodiments, the microscope 130 can also be focused to change the focal length of the microscope 130 so that the focal plane of the microscope 130 is coincident with the first plane P1 of the workpiece 170.

[0076] After the focal plane of the microscope 130 coincides with the first plane P1, a first image of the central residue Cr may be collected by the microscope 130, and a first radius R of the central residue Cr may be determined according to the first image. a Specifically, the central residue Cr may be photographed by the microscope 130 to obtain a first image, and then the first image may be processed by image analysis software to obtain a first radius R of the central residue Cr. a In some embodiments, the microscope 130 is equipped with an eyepiece micrometer, and the center residue Cr can be observed through the microscope 130, and the first radius R of the center residue Cr can be calculated according to the scale number of the eyepiece micrometer. a .

[0077] In step S240: the focal plane of the microscope is adjusted in a direction away from the first plane to measure a second radius of the central residue.

[0078] Figure 6 1 shows a second radius R of the central residue Cr measured by the microscope 130 according to one embodiment of the present invention. b Schematic diagram, such as Figure 6 As shown, the third base 160 can be moved a preset distance along the third axis Z in a direction away from the first plane P1, so that the microscope 130 and its focal plane move in the direction away from the first plane P1 along the third axis Z. After the movement stops, the focal plane of the microscope 130 intersects with the central residue Cr. In some embodiments, the focal plane of the microscope 130 can also be adjusted in a direction away from the first plane P1 by reducing the focal length of the microscope 130.

[0079] After the focal plane of the microscope 130 is moved away from the first plane P1, a second image of the central residue Cr may be acquired through the microscope 130, and a second radius R of the central residue Cr may be determined according to the second image. b , the second radius R b That is, the radius of the intersection of the central residue Cr and the focal plane of the microscope 130. Specifically, the central residue Cr can be photographed by the microscope 130 to obtain a second image, and then the second image can be processed by image analysis software to obtain the second radius R of the central residue Cr. bIn some embodiments, the microscope 130 is equipped with an eyepiece micrometer, and the center residue Cr can be observed through the microscope 130, and the second radius R of the center residue Cr can be calculated according to the scale number of the eyepiece micrometer. b .

[0080] In step S250 : the second axis coordinate of the tool positioning origin is corrected according to the first radius and the second radius of the center residue.

[0081] In a specific embodiment, the first radius R of the central residue can be compared a and the second radius R b .like Figure 3 As shown, if the first radius R a Equal to the second radius R b , the center residue Cr is cylindrical, and the actual installation height of the tool 120 is lower than the expected standard height. Therefore, the second axis coordinate of the tool positioning origin can be moved to the positive direction of the second axis Y ( Figure 3 The first distance is compensated along the second axis (the positive direction of the second axis). Figure 4 As shown, if the first radius R a Greater than the second radius R b , the center residue Cr is conical (or truncated cone), and the actual installation height of the tool 120 is higher than the expected standard height. Therefore, the second axis coordinate of the tool positioning origin can be moved to the negative direction of the second axis Y ( Figure 4 The first distance is equal to the first radius R a , taking the tool positioning origin with coordinates (x, y, z) in the absolute coordinate system as an example (the tool positioning origin is recorded as (0,0,0) in the machining program), the second axis coordinate of the tool positioning origin is compensated by the first distance to the positive direction of the second axis Y, that is, the absolute coordinate system coordinate of the tool positioning origin is modified to (x, y + R a , z), and recorded as (0, 0, 0) in the machining program; the second axis coordinate of the tool positioning origin is compensated by the first distance to the negative direction of the second axis Y, that is, the absolute coordinate system coordinate of the tool positioning origin is modified to (x, yR a , z), and recorded as (0, 0, 0) in the machining program.

[0082] The foregoing describes in detail the process of forming a first plane by turning a workpiece, and measuring the first radius and the second radius of the center residue of the first plane based on an in-situ microscope, determining the position error (error magnitude and error direction) of the tool in the second axis and performing compensation. The tool setting method may further include steps S260-S290, through which the position error of the tool in the first axis may be determined and compensated, which are described in detail below.

[0083] In step S260 : the workpiece is turned to remove the first plane and form a second plane on the workpiece.

[0084] In step S270: the tool is moved to the tool positioning origin, and a circular groove is turned on the end face (second plane) of the workpiece.

[0085] According to an embodiment of the present invention, step S260 may not be performed and step S270 may be performed directly, that is, a circular groove is turned on the end surface (first plane) of the workpiece.

[0086] In a specific implementation, the workpiece rotates around the third axis under the drive of the spindle, and the direction of rotation can be clockwise or counterclockwise. The choice of the workpiece rotation direction will affect the determination of the position error of the tool in the first axis, which will be described in detail later. The tool first moves to the corrected tool positioning origin (x, yR under the drive of the third seat body a , z), and then driven by the third seat body, it feeds a preset distance along the third axis. Through this feeding method, the tool can turn the required circular groove in the central area of ​​the end face of the workpiece.

[0087] The size and machining traces of the circular groove are closely related to the position error (error size and error direction) of the tool in the first axis. Specifically, the error size of the tool in the first axis can be determined by measuring the radius of the circular groove, and the error direction of the tool in the first axis can be determined by observing the machining traces of the circular groove, thereby providing data support for compensating the tool error, which is conducive to achieving the purpose of accurate, fast, and in-situ measurement of tool setting. Take the example of the workpiece rotating clockwise during the process of turning the circular groove: Figure 7 Schematic diagram of turning a circular groove Cg according to an embodiment of the present invention is shown, Figure 8 for Figure 7 An enlarged schematic diagram of the middle area is shown in Figure 2. Figure 7 and Figure 8 As shown, if the actual installation position of the tool 120 is different from the expected installation position in the positive direction of the first axis X ( Figure 7 If there is a deviation along the first axis (the right is the positive direction of the first axis), then when turning the circular groove Cg, the front cutting face of the tool 120 is used, and the edge of the processing mark is smooth. Fig. 9 Schematic diagram of turning a circular groove Cg according to an embodiment of the present invention is shown, Fig.10 Shows Fig. 9 The enlarged image of the middle part of the area, such as Fig. 9 and Fig.10 As shown, if the actual installation position of the tool 120 is compared with the expected installation position, in the negative direction of the first axis X ( Fig. 9In some embodiments, the workpiece 170 rotates counterclockwise during the turning of the circular groove Cg. At this time, if the actual installation position of the tool 120 deviates from the expected installation position in the positive direction of the first axis X, then when turning the circular groove Cg, the back face of the tool 120 is used, and there is a plowing effect during turning, and some materials are attached to the edge of the circular groove Cg in the form of burrs. If the actual installation position of the tool 120 deviates from the expected installation position in the negative direction of the first axis X, then when turning the circular groove Cg, the front face of the tool 120 is used, and the edge of the processing mark is smooth.

[0088] In step S280: the radius of the circular groove is measured by a microscope, and a surface image of the circular groove is collected.

[0089] In a specific implementation, the focal plane of the microscope can be adjusted to coincide with the end face of the workpiece, and then the circular groove is photographed by the microscope to obtain a surface image of the circular groove, and the surface image of the circular groove is processed by image analysis software to obtain the radius of the circular groove. The radius of the circular groove R0 = (R1 + R2) / 2, where R1 is the inner diameter of the circular groove and R2 is the outer diameter of the circular groove. Optionally, the length of the first line segment in the circular groove can be measured by image analysis software, and then the radius of the circular groove can be determined based on the length of the first line segment, where Fig. 9 As shown, the first line segment L passes through the center of the circular groove, and one end of the first line segment L is located at the inner edge of the circular groove Cg, and the other end is located at the outer edge of the circular groove Cg. Obviously, the length of the first line segment is the sum of the inner diameter and the outer diameter of the circular groove, so half of the length of the first line segment is equal to the radius of the circular groove.

[0090] In step S290: according to the radius of the circular groove and the surface image, the first axis coordinate of the tool positioning origin is corrected.

[0091] In a specific implementation, it can be determined whether there is a ploughing effect during the process of turning the circular groove according to the surface image of the circular groove. Specifically, Figure 8 As shown in , if there is no burr or less burr on the edge of the circular groove Cg, there is no plowing effect; Fig.10 As shown, if there are a lot of burrs on the edge of the circular groove Cg, there will be a plowing effect.

[0092] In the embodiment where the workpiece rotates clockwise when turning the circular groove, Figure 7 and Figure 8As shown, if there is no plowing effect, the actual installation position of the tool 120 deviates from the expected installation position in the positive direction of the first axis X. Therefore, the first axis X coordinate of the tool positioning origin can be compensated to the negative direction of the first axis X by a second distance. If there is a plowing effect, the actual installation position of the tool 120 deviates from the expected installation position in the negative direction of the first axis X. Therefore, the first axis X coordinate of the tool positioning origin can be compensated to the positive direction of the first axis X by a second distance. The second distance is equal to the radius R0 of the circular groove, with the coordinate (x, y+R0) in the absolute coordinate system. a , z) as an example (the tool positioning origin is recorded as (0,0,0) in the machining program), the first axis coordinate of the tool positioning origin is compensated by the second distance to the negative direction of the first axis X, that is, the absolute coordinate system coordinate of the tool positioning origin is modified to (x-R0, y+R a , z), and recorded as (0, 0, 0) in the machining program; the first axis coordinate of the tool positioning origin is compensated by the second distance to the positive direction of the first axis X, that is, the absolute coordinate system coordinate of the tool positioning origin is modified to (x+R0, y+R a , z), and recorded as (0, 0, 0) in the machining program.

[0093] In the embodiment where the workpiece rotates counterclockwise when turning the circular groove, if there is no plowing effect, the actual installation position of the tool deviates from the expected installation position in the negative direction of the first axis, so the first axis coordinate of the tool positioning origin can be compensated by a second distance to the positive direction of the first axis. If there is a plowing effect, the actual installation position of the tool deviates from the expected installation position in the positive direction of the first axis, so the first axis coordinate of the tool positioning origin can be compensated by a second distance to the negative direction of the first axis. The second distance is equal to the radius R0 of the circular groove.

[0094] According to one embodiment of the present invention, the tool setting method may further include: turning the workpiece to remove the second plane and form a third plane on the workpiece. The third axis coordinate (absolute coordinate system) of the tool when the third plane is turned is used as the third axis coordinate of the tool positioning origin. For example, when the third plane is turned, the third axis coordinate of the tool is z-δd, then the absolute coordinate system coordinate of the tool positioning origin is modified to (x-R0, y+R a , z-δd).

[0095] Compared with the prior art, the embodiment of the present invention provides a tool setting method based on an in-situ microscope. The tool setting method can directly identify the direction of each axial error within the limited field of view of the microscope (in-situ microscope). In addition, combined with the accurate measurement of key characteristic parameters such as the center residue and the circular groove diameter by the microscope, a solid data support can be provided for the compensation of tool setting errors. Thus, the tool setting process is fast, accurate, low-cost and easy to operate, meeting the needs of efficient production.

Claims

1. A tool setting method based on an on-site microscope, comprising: Clamp the workpiece on the machine tool; Turning the workpiece to form a first plane on the workpiece, wherein the workpiece can be fed along a first axis of the machine tool relative to the tool and rotated about a third axis, and the tool can be fed along a third axis of the machine tool relative to the workpiece; adjusting the focal plane of the microscope to coincide with the first plane, so as to measure a first radius of a central residue of the first plane through the microscope; adjusting the focal plane of the microscope in a direction away from the first plane to measure a second radius of the central residue; and Correcting the second axis coordinate of the tool positioning origin according to the first radius and the second radius of the center residue, wherein the second axis coordinate of the tool positioning origin is compensated by a first distance in the positive direction or negative direction of the second axis; The first axis, the second axis and the third axis are perpendicular to each other, and the first distance is equal to the first radius.

2. The tool setting method according to claim 1, wherein: The step of correcting the second axis coordinate of the tool positioning origin according to the first radius and the second radius of the central residue comprises: Comparing the first radius and the second radius of the central residue, If the first radius is greater than the second radius, the second axis coordinate of the tool positioning origin is compensated by a first distance in the negative direction of the second axis; If the first radius is equal to the second radius, the second axis coordinate of the tool positioning origin is compensated by a first distance in the positive direction of the second axis.

3. The tool setting method according to claim 1, wherein: The step of measuring a first radius of a central residue of a first plane by the microscope comprises: collecting a first image of the central residue by the microscope; Based on the first image, a first radius of the central residue is determined.

4. The tool setting method according to claim 1, wherein: The step of adjusting the focal plane of the microscope in a direction away from the first plane comprises: moving the microscope in a direction away from the first plane; or, Reduce the focal length of the microscope.

5. The tool setting method according to claim 1, wherein: The step of measuring a second radius of the central residue comprises: collecting a second image of the central residue through the microscope; Based on the second image, a second radius of the central residue is determined.

6. The tool setting method according to claim 1, further comprising: turning the workpiece to remove the first plane and form a second plane on the workpiece; The tool is moved to a tool positioning origin, and a circular groove is turned on a second plane of the workpiece, wherein the workpiece rotates about a third axis and the tool is fed along the third axis; Measuring the radius of the circular groove by a microscope and collecting a surface image of the circular groove; The first axis coordinate of the tool positioning origin is corrected according to the radius and the surface image of the circular groove.

7. The tool setting method according to claim 6, wherein: When turning the circular groove, the workpiece rotates clockwise; The step of correcting the first axis coordinate of the tool positioning origin according to the radius and the surface image of the circular groove comprises: determining whether there is a ploughing effect during the turning of the circular groove according to the surface image of the circular groove; If the plowing effect exists, the first axis coordinate of the tool positioning origin is compensated by a second distance in the positive direction of the first axis; If the plowing effect does not exist, the first axis coordinate of the tool positioning origin is compensated by a second distance in the negative direction of the first axis; The second distance is equal to the radius of the circular groove.

8. The tool setting method according to claim 6, wherein: The radius of the circular groove satisfies the following formula: R0=(R1+R2) / 2; Among them, R0 is the radius of the circular groove, R1 is the inner diameter of the circular groove, and R2 is the outer diameter of the circular groove.

9. The tool setting method according to claim 6, wherein: The step of measuring the radius of the circular groove by microscope comprises: Measuring the length of a first line segment in the circular groove through a microscope, wherein the first line segment passes through the center of the circular groove, one end of the first line segment is located at the inner edge of the circular groove, and the other end is located at the outer edge of the circular groove; The radius of the circular groove is determined according to the length of the first line segment.

10. The tool setting method according to claim 6, further comprising: turning the workpiece to remove the second plane and form a third plane on the workpiece; The third axis coordinate of the tool when the third plane turning is completed is used as the third axis coordinate of the tool positioning origin.

Citation Information

Patent Citations

  • Numerically controlled lathe microscope amplification tool setting device

    CN218461672U

  • Tool-to-tool matching control method and its system for scanning electron microscope

    US20070114405A1