A tool change position detection device and detection method for a five-axis machining center

By setting the datum plane and datum sphere in the CNC machine tool, collecting coordinate points and calculating the tool change parameters, the problem of inaccurate position during tool change is solved and the efficiency and accuracy of tool change are improved.

CN118342338BActive Publication Date: 2024-10-18CHENGDU AIRCRAFT INDUSTRY GROUP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410780492.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-10-18
Estimated Expiration
2044-06-18

AI Technical Summary

Technical Problem

When changing tools on existing CNC machine tools, the relative position of the spindle and the tool change arm does not accurately meet the set requirements, resulting in problems such as tool jamming and tool dropping during tool change, and there is a lack of theoretical and data-based accurate solutions to tool changing parameters. Calculate.

Method used

By setting the datum plane and datum sphere, using the probe to collect the coordinates of the datum plane and datum sphere points, establishing the normal vector and sphere center coordinates, and solving the coordinates and angle of the tool change point, the tool change parameters are determined.

Benefits of technology

The efficiency and accuracy of tool changing operations are improved, and standardized and parameterized tool changing posture determination is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118342338B_ABST
    Figure CN118342338B_ABST
Patent Text Reader

Abstract

The present invention discloses a tool change posture detection device and detection method for a five-axis machining center. A reference plane and a reference sphere are set, and a probe is used to collect a number of reference plane points on the approach plane, and a number of reference spherical points on the reference spherical surface. The normal vector of the reference plane is constructed through the reference plane points, and the tool change angle between the main axis of a numerical control machine tool and the coordinate axis of a tool change coordinate system is solved according to the normal vector; the coordinates of the center of the reference sphere are solved through the reference spherical surface points, and finally the coordinates of the tool change point are calculated through the normal vector and the coordinates of the center of the reference sphere, and then the tool change parameters including the coordinates of the tool change point and the tool change angle are obtained. The tool change posture can be determined in a standardized, parameterized and precise manner, and the efficiency and accuracy of tool change of numerical control machine tools are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of tool change calibration of numerical control machine tools, and relates to a tool change posture detection device and a detection method for a five-axis machining center. Background Art

[0002] In the process of automatic tool changing in CNC machining centers, the relative position of the spindle and the tool changing arm often fails to accurately meet the set requirements, resulting in problems such as tool jamming and tool dropping during tool changing. The patent application with patent application number "202020691353.1" discloses a spindle tool changing position detection device, including: a first positioning member, which is arranged on the spindle, and a first positioning hole is opened on the first positioning member; a second positioning member, which is arranged on the tool changing arm, and a second positioning hole is opened on the second positioning member; a detection shaft, which is used to insert the first positioning hole and the second positioning hole; when the relative position relationship between the spindle and the tool changing arm meets the set requirements, the detection shaft can be inserted into the first positioning hole and the second positioning hole. Before changing the tool, it can detect whether the relative position relationship between the spindle and the tool changing arm meets the set requirements, effectively avoiding the occurrence of tool jamming, tool dropping, etc. during tool changing.

[0003] However, the above-mentioned prior art does not further specifically propose how to determine and calculate the final tool change parameters based on the detected data, and its use still has limitations.

[0004] In view of the problem that the prior art lacks theoretical and digitized accurate calculation of tool change parameters, the present invention discloses a tool change posture detection device and a detection method for a five-axis machining center. Summary of the invention

[0005] The purpose of the present invention is to provide a tool change posture detection device and detection method for a five-axis machining center, which determines the posture parameters of the tool change point by setting a reference plane and a reference sphere, and further accurately calculates the tool change parameters based on the posture parameters, thereby ensuring the efficiency and accuracy of the tool change operation.

[0006] The present invention is achieved through the following technical solutions:

[0007] A tool changing posture detection device for a five-axis machining center comprises a tool changing claw, a tool handle is rotatably provided on the tool changing claw, one end of the tool handle is coaxially connected to a posture detection part via a connecting shaft, the posture detection part comprises at least one reference spherical surface, at least one reference plane is provided on the side of the reference spherical surface close to the machine tool spindle, and a probe for contacting the reference plane or the reference spherical surface is installed on the machine tool spindle.

[0008] In order to better implement the present invention, further, a rotating slot is provided at one end of the tool changing claw, one end of the tool handle is rotatably engaged with the rotating slot, and the end face of the tool handle close to the machine tool spindle and the end face of the tool handle away from the machine tool spindle are symmetrically arranged with respect to the neutral plane of the rotating slot.

[0009] A five-axis machining center tool change posture detection method is implemented based on a five-axis machining center tool change posture detection device, comprising the following steps:

[0010] Step 1: Rotate and clamp the tool handle onto the tool change claw, ensuring that the reference plane faces the spindle side;

[0011] Step 2: Install the probe to the end of the machine tool spindle, ensure that the A-axis swing angle of the machine tool spindle is equal to 0°, and the C-axis swing angle of the machine tool spindle is equal to 0°, drive the probe to contact the reference plane through the machine tool spindle, collect the coordinates of at least six reference plane points on the reference plane, and establish the normal vector of the reference plane according to the coordinates of the reference plane points;

[0012] Step 3, calculating the tool change angle between the normal vector and the coordinate axis of the tool change coordinate system axis;

[0013] Step 4: Under the premise that the A-axis swing angle of the machine tool spindle is equal to 0° and the C-axis swing angle of the machine tool spindle is equal to 0°, the machine tool spindle drives the probe to contact the reference spherical surface, and the coordinates of at least three reference spherical points on the reference spherical surface are collected; based on the coordinates of the reference spherical points and the radius of the reference spherical surface, the coordinates of the center of the reference spherical surface are solved;

[0014] Step 5: Calculate the coordinate position of the tool change point based on the tool change angle between the normal vector and the axis of the machine tool spindle, the coordinates of the center of the reference sphere, and the axial distance between the tool change claw and the center of the reference sphere.

[0015] In order to better implement the present invention, further, solving the normal vector of the reference plane in step 2 specifically includes the following steps:

[0016] Step Q1, setting the position accuracy calibration value according to the machine tool accuracy and the probe accuracy;

[0017] Step Q2, establishing a position relationship function between reference plane points;

[0018] Step Q3: Calculate the normal vector of the reference plane according to the relationship between the position relationship function and the position accuracy calibration value.

[0019] In order to better implement the present invention, further, the position relationship function is:

[0020] ;

[0021] Where: M represents the position relationship function value;x i Represents the x-axis coordinate of the i-th reference plane point; y i Represents the y-axis coordinate of the i-th reference plane point; x i+1 Represents the x-axis coordinate of the i+1th reference plane point; y i+1 represents the y-axis coordinate of the i+1th reference plane point; n represents the number of reference plane points, and n≥6; k represents the average position relationship value between reference plane points.

[0022] In order to better implement the present invention, further, the calculation formula of the average position relationship value between the reference plane points is:

[0023] ;

[0024] in: x i Represents the x-axis coordinate of the i-th reference plane point; y i Represents the y-axis coordinate of the i-th reference plane point; x i+1 Represents the x-axis coordinate of the i+1th reference plane point; y i+1 represents the y-axis coordinate of the i+1th reference plane point; n represents the number of reference plane points, and n≥6.

[0025] In order to better implement the present invention, further, the normal vector of the reference plane is calculated according to the relationship between the position relationship function and the position accuracy calibration value as follows:

[0026] like , then the normal vector of the reference plane (1) is

[0027] ;

[0028] like , then ;

[0029] in: ; ; ; Indicates the x-axis coordinate of the first reference plane point; x i represents the x-axis coordinate of the i-th reference plane point, and 1≤i≤n; x n Represents the x-axis coordinate of the nth reference plane point; y 1 represents the y-axis coordinate of the first reference plane point; yi represents the y-axis coordinate of the i-th reference plane point, and 1≤i≤n; y n represents the y-axis coordinate of the nth reference plane point; z1 represents the z-axis coordinate of the first reference plane point; z i represents the z-axis coordinate of the i-th reference plane point, and 1≤i≤n; z n represents the z-axis coordinate of the nth reference plane point; A' represents the first component of the least squares fitting normal vector; B' represents the second component of the least squares fitting normal vector; D' represents the third component of the least squares fitting normal vector; ε represents the position accuracy calibration value; D f represents the plane intercept correlation coefficient; A f Represents the first component of the normal vector of the reference plane in the x-axis direction; B f Represents the second component of the normal vector of the reference plane in the y-axis direction; C f Indicates the third component of the normal vector of the reference plane in the z-axis direction.

[0030] In order to better implement the present invention, further, the formula for calculating the coordinate position of the tool change point in step 5 is as follows:

[0031] ;

[0032] in: Indicates the x-axis, y-axis, and z-axis coordinates of the tool change point; Indicates the coordinates of the center of the reference sphere on the x-axis, y-axis, and z-axis; A f Represents the first component of the normal vector; B f Represents the second component of the normal vector; C f It represents the third component of the normal vector; L represents the axial distance between the tool changing claw and the center of the reference sphere.

[0033] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0034] The present invention sets a reference plane and a reference sphere, collects a number of reference plane points on the approach plane and a number of reference spherical points on the reference spherical surface through a probe, and constructs a normal vector of the reference plane through the reference plane points, and solves the tool change angle between the coordinate axes of the CNC machine tool spindle and the tool change coordinate system according to the normal vector; the center coordinates of the reference sphere are solved through the reference spherical surface points, and finally the coordinates of the tool change point are calculated through the normal vector and the center coordinates of the reference sphere, and then the tool change parameters including the tool change point coordinates and the tool change angle are obtained, and the tool change posture can be determined in a standardized, parameterized and precise manner, which effectively improves the efficiency and accuracy of tool change of CNC machine tools. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1It is a schematic diagram of the detection and calibration of tool change parameters;

[0036] Figure 2 It is a structural diagram of the posture detection unit;

[0037] Figure 3 It is a flow chart of the tool change posture detection method.

[0038] Among them: 1-reference plane; 2-reference sphere; 3-connecting axis; 4-tool handle; 5-tool changing claw; 6-machine tool spindle; 7-probe. DETAILED DESCRIPTION

[0039] The following detailed descriptions are all illustrative and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used in the present invention have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0040] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the present invention explicitly states otherwise, singular forms are also intended to include plural forms. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0041] For the convenience of description, if the words "up", "down", "left" and "right" appear in the present invention, they only indicate that they are consistent with the up, down, left and right directions of the drawings themselves, and do not limit the structure. They are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.

[0042] Terminology explanation section: The terms "install", "connect", "connect", "fixed" and the like in the present invention should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral whole; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be an internal connection between two elements, or an 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 the specific circumstances.

[0043] Embodiment 1:

[0044] A tool change position detection device for a five-axis machining center according to this embodiment, such as Figure 1 and Figure 2As shown, a tool handle 4 is rotatably provided on the tool-changing claw 5, and one end of the tool handle 4 is coaxially connected to a posture detection unit through a connecting shaft 3, and the posture detection unit includes at least one reference spherical surface 2, and at least one reference plane 1 is provided on the side of the reference spherical surface 2 close to the machine tool spindle 6, and a probe 7 for contacting the reference plane 1 or the reference spherical surface 2 is installed on the machine tool spindle 6. The axis of the tool handle 4 and the axis of the connecting shaft 3 are coaxially coincident, the reference plane 1 and the axis of the tool handle 4 are perpendicular to each other, and the center of the reference spherical surface 2 is on the axis of the tool handle 4.

[0045] One end of the tool changing claw 5 is provided with a rotating slot, and one end of the tool handle 4 is rotatably engaged with the rotating slot. The end face of the tool handle 4 close to the machine tool spindle 6 and the end face of the tool handle 4 away from the machine tool spindle 6 are symmetrically arranged about the neutral plane of the rotating slot.

[0046] A five-axis machining center tool change posture detection method is implemented based on a five-axis machining center tool change posture detection device. Figure 3 As shown, the following steps are included:

[0047] Step 1, rotate and clamp the tool handle 4 onto the tool changing claw 5, ensure that the reference plane 1 faces the spindle side, and establish the tool changing coordinate system o-xyz;

[0048] Step 2, install the probe 7 to the end of the machine tool spindle 6, ensure that the A-axis swing angle of the machine tool spindle 6 is equal to 0°, and the C-axis swing angle of the machine tool spindle 6 is equal to 0°, drive the probe 7 to contact the reference plane 1 through the machine tool spindle 6, collect the coordinates of at least six reference plane points on the reference plane 1, and establish the normal vector of the reference plane 1 according to the coordinates of the reference plane points;

[0049] Step 3, calculating the tool change angle between the normal vector and the coordinate axis of the tool change coordinate system;

[0050] Step 4: Under the premise that the A-axis swing angle of the machine tool spindle 6 is equal to 0° and the C-axis swing angle of the machine tool spindle 6 is equal to 0°, the machine tool spindle 6 drives the probe 7 to contact the reference spherical surface 2, and the coordinates of at least three reference spherical surface points on the reference spherical surface 2 are collected; based on the coordinates of the reference spherical surface points and the radius of the reference spherical surface 2, the coordinates of the center of the reference spherical surface 2 are solved;

[0051] Step 5: Calculate the coordinate position of the tool change point based on the tool change angle between the normal vector and the axis of the machine tool spindle 6, the coordinates of the center of the reference sphere 2, and the axial distance between the tool change claw 5 and the center of the reference sphere 2.

[0052] Solving the normal vector of the reference plane 1 in step 2 specifically includes the following steps:

[0053] Step Q1, setting the position accuracy calibration value according to the accuracy of the machine tool and the accuracy of the probe 7;

[0054] Step Q2, establishing a position relationship function between reference plane points;

[0055] Step Q3, calculating the normal vector of the reference plane 1 according to the relationship between the position relationship function and the position accuracy calibration value.

[0056] The position relationship function is:

[0057] ;

[0058] Where: M represents the position relationship function value; x i Represents the x-axis coordinate of the i-th reference plane point; y i Represents the y-axis coordinate of the i-th reference plane point; x i+1 Represents the x-axis coordinate of the i+1th reference plane point; y i+1 represents the y-axis coordinate of the i+1th reference plane point; n represents the number of reference plane points, and n≥6; k represents the average position relationship value between reference plane points.

[0059] The calculation formula of the average position relationship value between the reference plane points is:

[0060] ;

[0061] in: x i Represents the x-axis coordinate of the i-th reference plane point; y i Represents the y-axis coordinate of the i-th reference plane point; x i+1 Represents the x-axis coordinate of the i+1th reference plane point; y i+1 represents the y-axis coordinate of the i+1th reference plane point; n represents the number of reference plane points, and n≥6.

[0062] The normal vector of reference plane 1 is calculated based on the relationship between the position relationship function and the position accuracy calibration value:

[0063] like , then the normal vector of reference plane 1 is

[0064] ;

[0065] like , then ;

[0066] in: ; ; ; Indicates the x-axis coordinate of the first reference plane point; x i represents the x-axis coordinate of the i-th reference plane point, and 1≤i≤n; x n Represents the x-axis coordinate of the nth reference plane point; y 1 represents the y-axis coordinate of the first reference plane point; y i represents the y-axis coordinate of the i-th reference plane point, and 1≤i≤n; y n represents the y-axis coordinate of the nth reference plane point; z1 represents the z-axis coordinate of the first reference plane point; z i represents the z-axis coordinate of the i-th reference plane point, and 1≤i≤n; z n represents the z-axis coordinate of the nth reference plane point; A' represents the first component of the least squares fitting normal vector; B' represents the second component of the least squares fitting normal vector; D' represents the third component of the least squares fitting normal vector; ε represents the position accuracy calibration value; D f represents the plane intercept correlation coefficient; D represents the plane intercept correlation constant; A f Represents the first component of the normal vector of the reference plane in the x-axis direction; B f Represents the second component of the normal vector of the reference plane in the y-axis direction; C f Indicates the third component of the normal vector of the reference plane in the z-axis direction.

[0067] The formula for calculating the coordinate position of the tool change point in step 5 is as follows:

[0068] ;

[0069] in: Indicates the x-axis, y-axis, and z-axis coordinates of the tool change point; Indicates the coordinates of the center of the reference sphere on the x-axis, y-axis, and z-axis; A f Represents the first component of the normal vector; B f Represents the second component of the normal vector; C f It represents the third component of the normal vector; L represents the axial distance between the tool changing claw and the center of the reference sphere.

[0070] Embodiment 2:

[0071] A five-axis machining center tool change posture detection method of this embodiment is improved on the basis of embodiment 1, and includes the following steps:

[0072] Step 1, rotate and clamp the tool handle 4 onto the tool changing claw 5, ensuring that the reference plane 1 faces the spindle side;

[0073] Step 2, install the probe 7 to the end of the machine tool spindle 6, ensure that the A-axis swing angle of the machine tool spindle 6 is equal to 0°, and the C-axis swing angle of the machine tool spindle 6 is equal to 0°, drive the probe 7 to contact the reference plane 1 through the machine tool spindle 6, collect the coordinates of at least six reference plane points on the reference plane 1, and establish the normal vector of the reference plane 1 according to the coordinates of the reference plane points;

[0074] Step 3, solving the tool change angle between the normal vector and the 6-axis of the machine tool spindle;

[0075] Step 4: Under the premise that the A-axis swing angle of the machine tool spindle 6 is equal to 0° and the C-axis swing angle of the machine tool spindle 6 is equal to 0°, the machine tool spindle 6 drives the probe 7 to contact the reference spherical surface 2, and the coordinates of at least three reference spherical surface points on the reference spherical surface 2 are collected; based on the coordinates of the reference spherical surface points and the radius of the reference spherical surface 2, the coordinates of the center of the reference spherical surface 2 are solved;

[0076] Step 5: Calculate the coordinate position of the tool change point based on the tool change angle between the normal vector and the axis of the machine tool spindle 6, the coordinates of the center of the reference sphere 2, and the axial distance between the tool change claw 5 and the center of the reference sphere 2.

[0077] Specifically:

[0078] Install the probe 7 to the end of the machine tool spindle 6. Ensure that the A-axis swing angle of the machine tool spindle 6 is equal to 0° and the C-axis swing angle of the machine tool spindle 6 is equal to 0°. Drive the probe 7 to contact the reference plane 1 through the machine tool spindle 6. The coordinates of the six reference plane points collected on the reference plane 1 are:

[0079] , , , , , , and the coordinate value components of the six reference plane points are not equal.

[0080] Create a plane based on six reference plane points , where (A f , B f , C f ) represents the normal vector of reference plane 1 and satisfies ; D represents the plane intercept correlation constant.

[0081] if:

[0082]

[0083] Then C f =0, normal vector (A f , B f , C f) is expressed as:

[0084] ;

[0085] in: ; ε represents the position accuracy calibration value, which can be adjusted according to actual needs.

[0086] if:

[0087] ,

[0088] Then C f ≠ 0, then we have ;in: ; ; ; Indicates the x-axis coordinate of the first reference plane point; x i represents the x-axis coordinate of the i-th reference plane point, and 1≤i≤n; x n Represents the x-axis coordinate of the nth reference plane point; y 1 represents the y-axis coordinate of the first reference plane point; y i represents the y-axis coordinate of the i-th reference plane point, and 1≤i≤n; y n represents the y-axis coordinate of the nth reference plane point; z1 represents the z-axis coordinate of the first reference plane point; z i represents the z-axis coordinate of the i-th reference plane point, and 1≤i≤n; z n represents the z-axis coordinate of the nth reference plane point; A' represents the first component of the least squares fitting normal vector; B' represents the second component of the least squares fitting normal vector; D' represents the third component of the least squares fitting normal vector; ε represents the position accuracy calibration value; D represents the plane intercept association constant; A f Represents the first component of the normal vector of the reference plane in the x-axis direction; B f Represents the second component of the normal vector of the reference plane in the y-axis direction; C f Indicates the third component of the normal vector of the reference plane in the z-axis direction.

[0089] Solve to get the normal vector (A f , B f , C f ), the tool change angle between the normal vector and the axis of the machine tool spindle 6 is further solved, and the normal vector is projected onto the xoy plane of the tool change coordinate system to obtain the first projection vector (A f , B f , 0), tool change angle between the first projection vector and the x-axis Project the normal vector to the yoz plane of the tool change coordinate system to obtain the second projection vector (0, B f , C f ), the tool change angle between the second projection vector and the z-axis .

[0090] Under the premise that the A-axis swing angle of the machine tool spindle 6 is equal to 0° and the C-axis swing angle of the machine tool spindle 6 is equal to 0°, the machine tool spindle 6 drives the probe 7 to contact the reference spherical surface 2, and three reference spherical points are collected on the reference spherical surface 2. The coordinate value components of the three reference spherical points are not equal. The coordinates of the three reference spherical points are:

[0091] , according to the radius of the reference sphere 2, we can get:

[0092]

[0093] Where: R represents the radius of the reference sphere.

[0094] Then the coordinates of the center of the reference sphere are solved as follows: , it is known that the axial distance between the tool-changing claw 5 and the center of the reference sphere 2 is L, and the coordinates of the tool-changing point on the tool-changing claw 5 are obtained by moving the coordinates of the center of the reference sphere 2 along the normal vector, then:

[0095] ;

[0096] ( x t , y t , z t ) represents the x-axis, y-axis, and z-axis coordinates of the tool change point; Indicates the coordinates of the center of the reference sphere on the x-axis, y-axis, and z-axis; A f Represents the first component of the normal vector; B f Represents the second component of the normal vector; C f represents the third component of the normal vector; L represents the axial distance between the tool changing claw 5 and the center of the reference sphere 2.

[0097] Then the final position of the tool change point is: The coordinates of the tool change point are ( x t , y t , z t ), the tool change angle between the tool change axis and the x-axis of the tool change coordinate system is , the tool change angle between the tool change axis and the z-axis of the tool change coordinate system is .

[0098] The rest of this embodiment is the same as that of Embodiment 1, and thus will not be described again.

[0099] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in any form. Any simple modifications or equivalent changes made to the above embodiments based on the technical essence of the present invention fall within the protection scope of the present invention.

Claims

1. A tool change position detection device for a five-axis machining center, characterized in that: The invention comprises a tool changing claw (5), a tool handle (4) being rotatably arranged on the tool changing claw (5), one end of the tool handle (4) being coaxially connected to a posture detection unit via a connecting shaft (3), the posture detection unit comprising at least one reference spherical surface (2), at least one reference plane (1) being arranged on a side of the reference spherical surface (2) close to a machine tool spindle (6), and a probe (7) for contacting the reference plane (1) or the reference spherical surface (2) being installed on the machine tool spindle (6); the tool changing claw (5) is provided with a tool handle (4) for rotatably arranged on the tool changing claw (5), one end of the tool handle (4) being coaxially connected to a position detection unit via a connecting shaft (3), the position detection unit comprising at least one reference spherical surface (2), at least one reference plane (1) being arranged on a side of the reference spherical surface (2) close to a machine tool spindle (6), and a probe (7) for contacting the reference plane (1) or the reference spherical surface (2) being installed on the machine tool spindle (6); One end of the claw (5) is provided with a rotation slot, one end of the tool handle (4) is rotationally engaged with the rotation slot, and an end face of the tool handle (4) close to the machine tool spindle (6) and an end face of the tool handle (4) away from the machine tool spindle (6) are symmetrically arranged with respect to the neutral plane of the rotation slot; the axis of the tool handle (4) and the axis of the connecting shaft (3) are coaxially coincident, the reference plane (1) and the axis of the tool handle (4) are perpendicular to each other, and the center of the reference spherical surface (2) is on the axis of the tool handle (4).

2. A five-axis machining center tool change posture detection method, based on the five-axis machining center tool change posture detection device according to claim 1, characterized in that: The following steps are involved: Step 1: Rotate and clamp the tool handle (4) onto the tool changing claw (5), ensure that the reference plane (1) faces the spindle side, and establish a tool changing coordinate system; Step 2: Mount the probe (7) to the end of the machine tool spindle (6), ensure that the A-axis swing angle of the machine tool spindle (6) is equal to 0°, and the C-axis swing angle of the machine tool spindle (6) is equal to 0°, drive the probe (7) to contact the reference plane (1) through the machine tool spindle (6), collect the coordinates of at least six reference plane points on the reference plane (1), and establish the normal vector of the reference plane (1) according to the coordinates of the reference plane points; Step 3, calculating the tool change angle between the normal vector and the coordinate axis of the tool change coordinate system; Step 4: Under the premise that the A-axis swing angle of the machine tool spindle (6) is equal to 0° and the C-axis swing angle of the machine tool spindle (6) is equal to 0°, the machine tool spindle (6) drives the probe (7) to contact the reference spherical surface (2), and the coordinates of at least three reference spherical surface points on the reference spherical surface (2) are collected; Based on the coordinates of the reference spherical point and the radius of the reference spherical surface (2), the coordinates of the center of the reference spherical surface (2) are calculated; Step 5: Calculate the coordinate position of the tool change point based on the tool change angle between the normal vector and the axis of the machine tool spindle (6), the coordinates of the center of the reference sphere (2), and the axial distance between the tool change point of the tool change claw (5) and the center of the reference sphere (2).

3. A five-axis machining center tool change posture detection method according to claim 2, characterized in that: The step 2 of solving the normal vector of the reference plane (1) specifically comprises the following steps: Step Q1, setting a position accuracy calibration value according to the accuracy of the machine tool and the accuracy of the probe (7); Step Q2, establishing a position relationship function between reference plane points; Step Q3, calculating the normal vector of the reference plane (1) according to the relationship between the position relationship function and the position accuracy calibration value.

4. A five-axis machining center tool change position detection method according to claim 3, characterized in that: The position relationship function is: ; Where: M represents the position relationship function value; x i Represents the x-axis coordinate of the i-th reference plane point; y i Represents the y-axis coordinate of the i-th reference plane point; x i+1 Represents the x-axis coordinate of the i+1th reference plane point; y i+1 represents the y-axis coordinate of the i+1th reference plane point; n represents the number of reference plane points, and n≥6; k represents the average position relationship value between reference plane points.

5. A five-axis machining center tool change position detection method according to claim 4, characterized in that: The calculation formula of the average position relationship value between the reference plane points is: ; in: x i Represents the x-axis coordinate of the i-th reference plane point; y i Represents the y-axis coordinate of the i-th reference plane point; x i+1 Represents the x-axis coordinate of the i+1th reference plane point; y i+1 represents the y-axis coordinate of the i+1th reference plane point; n represents the number of reference plane points, and n≥6.

6. A five-axis machining center tool change position detection method according to claim 5, characterized in that: According to the relationship between the position relationship function and the position accuracy calibration value, the normal vector of the reference plane (1) is calculated as follows: like , then the normal vector of the reference plane (1) is ; like , then ;in: ; ; ; Indicates the x-axis coordinate of the first reference plane point; x i represents the x-axis coordinate of the i-th reference plane point, and 1≤i≤n; x n Represents the x-axis coordinate of the nth reference plane point; y 1 represents the y-axis coordinate of the first reference plane point; y i represents the y-axis coordinate of the i-th reference plane point, and 1≤i≤n; y n represents the y-axis coordinate of the nth reference plane point; z1 represents the z-axis coordinate of the first reference plane point; z i represents the z-axis coordinate of the i-th reference plane point, and 1≤i≤n; z n represents the z-axis coordinate of the nth reference plane point; A' represents the first component of the least squares fitting normal vector; B' represents the second component of the least squares fitting normal vector; D' represents the third component of the least squares fitting normal vector; ε represents the position accuracy calibration value; D f represents the plane intercept correlation coefficient; A f Represents the first component of the normal vector of the reference plane in the x-axis direction; B f Represents the second component of the normal vector of the reference plane in the y-axis direction; C f Indicates the third component of the normal vector of the reference plane in the z-axis direction.

7. A five-axis machining center tool change position detection method according to claim 6, characterized in that: The formula for calculating the coordinate position of the tool change point in step 5 is as follows: ; in: Indicates the x-axis, y-axis, and z-axis coordinates of the tool change point; Indicates the coordinates of the center of the reference sphere on the x-axis, y-axis, and z-axis; A f Represents the first component of the normal vector; B f Represents the second component of the normal vector; C f represents the third component of the normal vector; L represents the axial distance between the tool changing claw (5) and the center of the reference sphere (2).

Citation Information

Patent Citations

  • Spindle tool changing position detection device

    CN212330500U

  • Cutter-shaft-swing five-coordinate numerical control machine tool pendulum length determination method

    CN103197601A

  • Online testing method for ultra-view-field cutter

    CN105773309A