Automatic machining method for bidirectional grinding with reverse orifice chamfer
By linking the Z and C axes of the machine tool, the coordinates of the midpoint of the waist groove are obtained, and the coordinates and distance of the chamfer of the reverser hole are calculated, realizing the automated and precise machining of internal threads. This solves the problems of cumbersome machining and inconsistent accuracy of the reverser hole in the existing technology, and improves machining efficiency and accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 浙江陀曼智能科技股份有限公司
- Filing Date
- 2023-12-25
- Publication Date
- 2026-05-05
AI Technical Summary
Existing technology requires separate adjustment of each reverser hole when machining internal threads, resulting in a cumbersome machining process and significant differences in accuracy between different reverser holes, making it difficult to meet accuracy requirements.
An automated machining method for bidirectional grinding of chamfered reverser holes is adopted. By linking the Z and C axes of the machine tool, the midpoint coordinates of the waist groove are obtained. Combined with the tool setting adjustment amount of the thread starting point and the actual grinding point coordinates, the coordinates of the chamfer of the reverser hole and the cutting, translation and cutting distances are calculated to achieve automatic tool setting and machining.
It enables automated and precise machining of the reverser hole, reduces tool setting operations, improves machining accuracy and consistency, avoids multi-turn positioning problems, and simplifies the machining process.
Smart Images

Figure CN117921446B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of internal thread grinding technology, and specifically to an automated machining method for bidirectional grinding with a reverser hole chamfer. Background Technology
[0002] A lead screw nut typically has several inverter holes, each containing an inlet and an outlet, both with reducing chamfers. When machining the internal threads, the finished lead screw nut must meet the required machining accuracy. Current technology usually involves re-setting the tool after machining each nut, which makes the process cumbersome and can lead to variations in machining accuracy between different nuts. Furthermore, the need to adjust each inverter hole separately during re-machining can result in significant errors between different inverter holes of the same nut.
[0003] The above issues urgently need to be addressed. Summary of the Invention
[0004] This invention aims to overcome at least one of the aforementioned shortcomings of the prior art and provides an automated machining method for bidirectional grinding of a chamfered reverser hole, wherein the reverser hole is a waist-shaped groove. The method includes: S1, linking the Z-axis and C-axis of the machine tool; S2, obtaining the midpoint coordinates of the waist-shaped groove in the width direction; S3, generating the midpoint coordinates of the waist-shaped groove in the length direction based on the midpoint coordinates in the width direction; S4, generating the midpoint coordinates of the waist-shaped groove based on the midpoint coordinates in the width direction and the midpoint coordinates in the length direction; S5, obtaining the starting grinding angle based on the midpoint coordinates of the waist-shaped groove, combined with the tool adjustment amount at the thread starting point and the actual grinding starting point coordinates; S6, obtaining the inlet coordinates of the first reverser hole chamfer based on the tool adjustment amount at the chamfer starting point of the reverser hole, the midpoint coordinates of the waist-shaped groove, and the actual grinding starting point coordinates; S7, obtaining the chamfer inlet coordinates of the first reverser hole based on the infeed angle. S8. Obtain the translation distance based on the translation angle of the chamfer inlet of the first reverser hole; S9. Obtain the diameter-changing cut-out endpoint distance based on the cut-out angle of the chamfer inlet of the first reverser hole; S10. Obtain the chamfer outlet starting coordinates of the first reverser hole based on the chamfer inlet coordinates, diameter-changing cut-out endpoint distance, translation distance, and diameter-changing cut-out endpoint distance of the first reverser hole; S11. Obtain the diameter-changing cut-out endpoint distance based on the cut-in angle of the chamfer outlet of the first reverser hole; S12. Obtain the translation distance based on the translation angle of the chamfer outlet of the first reverser hole; S13. Obtain the diameter-changing cut-out endpoint distance based on the cut-out angle of the chamfer outlet of the first reverser hole; S14. Inspect the completed workpiece and adjust the tool setting adjustment amount of the chamfer starting point of the reverser hole and / or the tool setting adjustment amount of the thread starting point based on the inspection results.
[0005] Further, step S2 includes: S210, moving the probe parallel to the width direction of the waist-shaped groove in the negative direction of the Z-axis, and recording the coordinates Z1 and C1 of the probe on the C-axis and Z-axis when it contacts the wall of the waist-shaped groove; S220, moving the probe parallel to the width direction of the waist-shaped groove in the positive direction of the Z-axis, and recording the coordinates Z2 and C2 of the probe on the C-axis and Z-axis when it contacts the wall of the waist-shaped groove; S230, calculating the midpoint coordinates Z3=Z1+(Z1-Z2) / 2, C3=C1+(C1-C2) / 2.
[0006] Further, step S3 includes: S310, the probe moves along the length of the waist-shaped groove at the middle position in the width direction; S320, the vertex coordinates of the top semicircle are measured as Z4 and C4; S330, the vertex coordinates of the bottom semicircle are measured as Z5 and C5; S340, the midpoint coordinates of the waist-shaped groove in the length direction are calculated as Z6=Z4+(Z4-Z5) / 2, C6=C4+(C4-C5) / 2.
[0007] Further, step S5 includes: S510, with the probe positioned at the center of the waist-shaped groove, using coordinates Z6 and C6 as references and adding the thread starting point tool adjustment amount L1, comparing it with the actual grinding starting point coordinates Z0; S520, calculating the grinding starting point error Z7 = Z6 + L1 - Z0; S530, the grinding starting angle C0 = C6 + Z7. 360 / S, where S is the lead.
[0008] Further, step S6 includes: S610, the Z-axis coordinate of the first reverser hole chamfer inlet is the absolute coordinate obtained by adding the Z-axis coordinate of the midpoint of the waist groove length direction and the tool adjustment amount of the reverser hole chamfer starting point; S620, the C-axis coordinate of the first reverser hole chamfer inlet is C10=(Z10-Z0). 360 / S, where Z0 is the actual starting point coordinate, Z10 is the Z-axis coordinate of the chamfer inlet of the first reverser hole, and S is the lead.
[0009] Furthermore, the formula for calculating the endpoint distance of the variable diameter cut-in based on the chamfered inlet of the first reverser hole is: Z11 = cut-in angle S / 360, C11 = entry angle; the formula for calculating the translation distance based on the chamfered inlet of the first reverser hole is: Z12 = translation angle. S / 720, C12 = translation angle / 2; the formula for calculating the endpoint distance of the variable diameter cutout based on the chamfered inlet of the first reverser hole is: Z13 = cutout angle. S / 360, C13 = cutout angle, where S is the lead.
[0010] Furthermore, the formula for calculating the coordinates of the starting point of the chamfered outlet of the first reverser hole is: Z14 = Z10 + S - (360 - h) 8 / 360, C14=(Z14-Z10-Z11-Z12-Z13) S / 360, where h is the span of the reverser hole and Z10 is the Z-axis coordinate of the chamfered inlet of the first reverser hole.
[0011] Furthermore, the formula for calculating the variable diameter cutting end point distance based on the chamfered outlet of the first reverser hole is: Z15 = cutting angle S / 360, C15 = entry angle; the formula for calculating the translation distance based on the chamfered outlet of the first reverser hole is: Z16 = translation angle. S / 720, C16 = translation angle / 2; the formula for calculating the endpoint distance of the variable diameter cutout based on the chamfered outlet of the first reverser hole is: Z17 = cutout angle. S / 360, C17 = angle of entry.
[0012] Furthermore, the method further includes: S15, obtaining the inlet coordinates of the nth reverser hole chamfer based on the inlet coordinates and outlet start coordinates of the (n-1)th reverser hole chamfer, the variable diameter cut-in end distance based on the outlet of the reverser hole chamfer, the translation distance based on the outlet of the reverser hole chamfer, and the variable diameter cut-out end distance based on the outlet of the reverser hole chamfer, where n is a positive integer greater than 1; S16, repeating steps S7-S9 to obtain the variable diameter cut-in end distance, translation distance, and variable diameter cut-out end distance based on the inlet coordinates of the nth reverser hole chamfer; S17, obtaining the outlet start coordinates of the nth reverser hole chamfer based on the inlet coordinates, variable diameter cut-in end distance, translation distance, and variable diameter cut-out end distance; S18, repeating steps S11-S13 to obtain the variable diameter cut-in end distance, translation distance, and variable diameter cut-out end distance based on the outlet of the nth reverser hole chamfer.
[0013] Furthermore, the midpoint coordinates of the waist-shaped groove are Z6 and C6.
[0014] In another aspect, the present invention provides a computer-readable storage medium storing one or more instructions for causing a computer to perform the above-described automatic machining method for bidirectional grinding with a reverser hole chamfer.
[0015] In another aspect, the present invention provides an electronic device, comprising: a memory and a processor; the memory storing at least one program instruction; the processor loading and executing the at least one program instruction to implement the above-described automatic machining method for bidirectional grinding with a reverser hole chamfer.
[0016] The beneficial effects of this invention are as follows: This invention provides an automatic machining method for bidirectional grinding of chamfered reverser holes, the method comprising: S1, linking the Z-axis and C-axis of the machine tool; S2, obtaining the midpoint coordinates of the waist-shaped groove in the width direction; S3, generating the midpoint coordinates of the waist-shaped groove in the length direction based on the midpoint coordinates in the width direction; S4, generating the midpoint coordinates of the waist-shaped groove based on the midpoint coordinates in the width direction and the midpoint coordinates in the length direction; S5, obtaining the starting grinding angle based on the midpoint coordinates of the waist-shaped groove, combined with the thread starting point tool adjustment amount and the actual starting grinding point coordinates; S6, obtaining the first reverser hole chamfer inlet coordinates based on the reverser hole chamfer starting point tool adjustment amount, the midpoint coordinates of the waist-shaped groove, and the actual starting grinding point coordinates; S7, obtaining the variable diameter cutting endpoint based on the cutting angle at the chamfer inlet of the first reverser hole. S8. Based on the translation angle, obtain the translation distance of the chamfer inlet of the first reverser hole; S9. Based on the cut-out angle, obtain the variable diameter cut-out endpoint distance of the chamfer inlet of the first reverser hole; S10. Based on the chamfer inlet coordinates, variable diameter cut-in endpoint distance, translation distance, and variable diameter cut-out endpoint distance of the first reverser hole, obtain the chamfer outlet starting coordinates of the first reverser hole; S11. Based on the cut-in angle, obtain the variable diameter cut-in endpoint distance of the chamfer outlet of the first reverser hole; S12. Based on the translation angle, obtain the translation distance of the chamfer outlet of the first reverser hole; S13. Based on the cut-out angle, obtain the variable diameter cut-out endpoint distance of the chamfer outlet of the first reverser hole; S14. Inspect the completed workpiece, and adjust the tool setting adjustment amount of the chamfer starting point of the reverser hole and / or the tool setting adjustment amount of the thread starting point based on the inspection results. The method of finding the midpoint of the waist groove in the width direction first and then the midpoint in the length direction is used to find the exact center of the waist groove. The middle position of the arc in the length direction can be measured. The tool setting data is associated with the grinding start point by adjusting the tool setting amount L1 at the thread start point. The tool setting data is associated with the chamfering start point of the reverser hole by adjusting the tool setting amount L2 at the chamfering start point of the reverser hole. This achieves that the reverser hole and the grinding start point are not associated with each other after tool setting. The calculation method of using the Z-axis coordinate as the reference axis and the C-axis to calculate the incremental value coordinate according to the thread lead avoids the problem of multi-turn positioning. Attached Figure Description
[0017] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0018] Figure 1 This is a flowchart of an automated machining method for bidirectional grinding with a chamfered reverser hole, provided in an embodiment of the present invention.
[0019] Figure 2 This is a schematic diagram of the waist-shaped hole machining drawing provided in an embodiment of the present invention.
[0020] Figure 3-4 This is a schematic diagram of the detection results of a completed workpiece, provided by an embodiment of the present invention.
[0021] Figure 5 This is a partial block diagram of the electronic device provided in the embodiments of the present invention. Detailed Implementation
[0022] Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but may also have additional steps not included in the figures. The process can correspond to a method, function, procedure, subroutine, subroutine, etc.
[0023] It should be understood that although the terms "first," "second," etc., may be used herein to describe various units, these units should not be limited by these terms. These terms are used merely to distinguish one unit from another. For example, without departing from the scope of the exemplary embodiments, a first unit may be referred to as a second unit, and similarly, a second unit may be referred to as a first unit. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0024] For ease of understanding, the following technical terms are explained:
[0025] Machine tool Z-axis: 1. The spindle that transmits the main cutting force is the Z-axis. 2. If there is no spindle, the Z-axis is perpendicular to the workpiece clamping surface. 3. If there are multiple spindles, select one that is perpendicular to the workpiece clamping surface as the Z-axis.
[0026] Machine tool C-axis: 1. A rotary table is located in the middle of the worktable, rotating around the Z-axis, defined as the C-axis. The C-axis rotates 360 degrees. 2. The front end of the axis is a rotary head that can rotate 360 degrees around the Z-axis on its own, becoming the C-axis.
[0027] Example 1
[0028] refer to Figure 1 The flowchart shows an automated machining method for bidirectional grinding with a reverser hole chamfer.
[0029] As an example, the reverser hole is a waist-shaped groove, and the method includes:
[0030] S1. Link the Z-axis and C-axis of the machine tool.
[0031] S2. Obtain the coordinates of the midpoint in the width direction of the waist-shaped groove.
[0032] Preferred, combined Figure 2 Step S2 includes: S210, moving the probe parallel to the width direction of the slot towards the negative Z-axis, and recording the probe's coordinates Z1 and C1 on the C-axis and Z-axis when it contacts the slot wall; S220, moving the probe parallel to the width direction of the slot towards the positive Z-axis, and recording the probe's coordinates Z2 and C2 on the C-axis and Z-axis when it contacts the slot wall; S230, calculating the midpoint coordinates Z3 = Z1 + (Z1 - Z2) / 2 and C3 = C1 + (C1 - C2) / 2. Specifically, after the probe enters the reverser hole, the C-axis and Z-axis are linked and moved parallel to the width direction of the slot towards the negative Z-axis. When the probe contacts the slot wall, the probe's coordinates at C1 on the C-axis and Z1 on the Z-axis are recorded. Then move the probe in the positive Z-axis direction. When the probe contacts the wall of the waist-shaped slot, record the C-axis coordinate C2 and the Z-axis coordinate Z2. Calculate the midpoint coordinates: Z3 = Z1 + (Z1 - Z2) / 2, C3 = C1 + (C1 - C2) / 2. If C2 is greater than C1, use the formula C3 = C1 + (C1 + 360 - C2) / 2. If C3 is greater than 360 degrees, make C3 = C3 - 360.
[0033] S3. Generate the midpoint coordinates of the waist-shaped groove in the length direction based on the midpoint coordinates in the width direction.
[0034] Preferred, combined Figure 2 Step S3 includes: S310, the probe moves along the length of the waist-shaped groove at the middle position in the width direction; S320, the vertex coordinates of the top semicircle are measured as Z4 and C4; S330, the vertex coordinates of the bottom semicircle are measured as Z5 and C5; S340, the midpoint coordinates in the length direction of the waist-shaped groove are calculated as Z6=Z4+(Z4-Z5) / 2, C6=C4+(C4-C5) / 2. Specifically, after locating the midpoint coordinates, the probe moves along the length of the waist-shaped groove from the middle of the width direction to measure. The coordinates of the top semicircle's vertices are Z4 and C4, and the coordinates of the bottom semicircle's vertices are Z5 and C5. The C-axis and Z-axis coordinates are recorded respectively. The midpoint coordinates are calculated as follows: Z6 = Z4 + (Z4 - Z5) / 2; C6 = C4 + (C4 - C5) / 2. If C2 is greater than C1, the formula C6 = C4 + (C4 + 360 - C5) / 2 is used. If C6 is greater than 360 degrees, C6 = C6 - 360.
[0035] S4. Generate the midpoint coordinates of the waist-shaped groove based on the midpoint coordinates in the width direction and the midpoint coordinates in the length direction.
[0036] S5. Using the midpoint coordinates of the waist-shaped groove as a reference, combined with the thread starting point tool adjustment amount and the actual grinding point coordinates, the grinding angle is obtained.
[0037] Preferably, step S5 includes: S510, with the probe positioned at the center of the waist-shaped groove, using coordinates Z6 and C6 as references, plus the thread start point tool adjustment amount L1, and comparing it with the actual grinding start point coordinates Z0; S520, calculating the grinding start point error Z7 = Z6 + L1 - Z0; S530, the grinding start angle C0 = C6 + Z7. 360 / S, where S is the lead. Specifically, after locating the midpoint coordinates Z6 and C6 of the waist-shaped groove along its length, the probe is positioned at the exact center of the groove. Using these coordinates as a reference, and adding the thread starting point tool adjustment amount L1, the starting point error Z7 can be calculated by comparing it with the actual starting point coordinates Z0: Z7 = Z6 + L1 - Z0; starting angle C0 = C6 + Z7. 360 / leader. Where Z0 is a pre-set value.
[0038] S6. Based on the tool adjustment amount at the starting point of the chamfer of the reverser hole, the midpoint coordinates of the waist groove, and the actual starting point coordinates, the inlet coordinates of the first reverser hole chamfer are obtained.
[0039] Preferably, step S6 includes: S610, the Z-axis coordinate of the first reverser hole chamfer inlet is the absolute coordinate obtained by adding the Z-axis coordinate of the midpoint of the waist groove length direction and the tool adjustment amount of the reverser hole chamfer starting point; S620, the C-axis coordinate of the first reverser hole chamfer inlet is C10 = (Z10 - Z0). 360 / S, where Z0 is the actual starting point coordinate, Z10 is the Z-axis coordinate of the chamfer inlet of the first reverser hole, and S is the lead. Specifically, the chamfer inlet coordinate of the first reverser hole is: Z10 = Z6 + L2 (absolute coordinate), where L2 is the tool setting adjustment amount at the starting point of the reverser hole chamfer; C10 = (Z10 - Z0). 360 / Direction.
[0040] S7. Based on the infeed angle, obtain the variable diameter infeed endpoint distance based on the chamfered inlet of the first reverser hole.
[0041] S8. Based on the translation angle, obtain the translation distance based on the chamfered inlet of the first reverser hole.
[0042] S9. Based on the cut-out angle, obtain the variable diameter cut-out endpoint distance based on the chamfer inlet of the first reverser hole.
[0043] Preferably, the formula for calculating the endpoint distance of the variable diameter cut-in based on the chamfered inlet of the first reverser hole is: Z11 = cut-in angle S / 360, C11 = entry angle; the formula for calculating the translation distance based on the chamfered inlet of the first reverser hole is: Z12 = translation angle. S / 720, C12 = translation angle / 2; the formula for calculating the endpoint distance of the variable diameter cutout based on the chamfered inlet of the first reverser hole is: Z13 = cutout angle. S / 360, C13 = angle of approach, where S is the lead. Specifically, the distance to the endpoint of the variable-diameter approach: Z11 = angle of approach. Lead / 360, C11 = angle of approach; translation distance: Z12 = translation angle Lead / 720, C12 = translation angle / 2, variable diameter cutout end point distance: Z13 = cutout angle Lead / 360, C13 = cut-out angle.
[0044] S10. Based on the chamfer inlet coordinates, the diameter change inlet end point distance, the translation distance, and the diameter changeout end point distance of the first reverser hole, obtain the chamfer outlet start point coordinates of the first reverser hole.
[0045] Preferably, the formula for calculating the coordinates of the starting point of the chamfered outlet of the first reverser hole is: Z14 = Z10 + S - (360 - h) 8 / 360, C14=(Z14-Z10-Z11-Z12-Z13) S / 360, where h is the span of the inverter hole, and Z10 is the Z-axis coordinate of the inlet of the first inverter hole chamfer. Outlet starting point coordinate: Z14 = Z10 + lead - (360 - inverter hole span). 8 / 360 (absolute coordinates), C14 = (Z14 - Z10 - Z11 - Z12 - Z13) Lead / 360.
[0046] S11. Based on the entry angle, obtain the variable diameter entry endpoint distance based on the chamfered outlet of the first reverser hole.
[0047] S12. Based on the translation angle, obtain the translation distance based on the chamfered outlet of the first reverser hole.
[0048] S13. Based on the cut-out angle, obtain the variable diameter cut-out endpoint distance based on the chamfered outlet of the first reverser hole.
[0049] Preferably, the formula for calculating the variable diameter cutting end point distance based on the chamfered outlet of the first reverser hole is: Z15 = cutting angle S / 360, C15 = entry angle; the formula for calculating the translation distance based on the chamfered outlet of the first reverser hole is: Z16 = translation angle. S / 720, C16 = translation angle / 2; the formula for calculating the endpoint distance of the variable diameter cutout based on the chamfered outlet of the first reverser hole is: Z17 = cutout angle. S / 360, C17 = approach angle. Specifically, the distance to the end point of the variable diameter approach: Z15 = approach angle. Lead / 360, C15 = angle of approach; translation distance: Z16 = translation angle Lead / 2 360, C16 = translation angle / 2; distance from the end point of the variable diameter cutout: Z17 = cutout angle Lead / 360, C17 = cut-out angle.
[0050] S14. Inspect the completed workpiece and adjust the tool setting adjustment amount of the chamfer starting point of the reverser hole and / or the tool setting adjustment amount of the thread starting point based on the inspection results.
[0051] Preferred, Reference Figure 3-4 ,based on Figure 3 The test results shown indicate that the middle line segment represents the actual measured value. When the middle line segment is between the upper and lower line segments, the machining error is within the allowable range. When the middle line segment exceeds the range of the upper and lower line segments, the tool adjustment amount L2 at the chamfering starting point of the reverser hole is adjusted based on the excess deviation. Figure 4 The test results shown are based on the deviation adjustment of the thread starting point and the tool adjustment amount L1.
[0052] Preferably, the method further includes: S15, obtaining the inlet coordinates of the nth reverser hole chamfer based on the inlet coordinates, outlet start coordinates, the variable diameter cut-in end distance based on the outlet of the (n-1)th reverser hole chamfer, the translation distance based on the outlet of the reverser hole chamfer, and the variable diameter cut-out end distance based on the outlet of the reverser hole chamfer, where n is a positive integer greater than 1; S16, repeating steps S7-S9 to obtain the variable diameter cut-in end distance, translation distance, and variable diameter cut-out end distance based on the inlet coordinates of the nth reverser hole chamfer; S17, obtaining the outlet start coordinates of the nth reverser hole chamfer based on the inlet coordinates, variable diameter cut-in end distance, translation distance, and variable diameter cut-out end distance; S18, repeating steps S11-S13 to obtain the variable diameter cut-in end distance based on the outlet of the nth reverser hole chamfer, the translation distance based on the outlet of the nth reverser hole chamfer, and the variable diameter cut-out end distance based on the outlet of the first reverser hole chamfer. Specifically, the inlet coordinates of the second reverser hole chamfer are: Z20 = Z10 + reverser hole spacing - lead + (360 - reverser hole cross distance). 8 / 360 (absolute coordinates) C20 = (Z20 - Z14 - Z15 - Z16 - Z17) 360 / Lead; Variable Diameter Cut-in End Point Distance: Z21 = Cut-in Angle Lead / 360, C21 = angle of approach; translation distance: Z22 = translation angle Lead / 2 360, C22 = translation angle / 2; distance from the end point of the variable diameter cutout: Z23 = cutout angle Lead / 360, C23 = entry angle; exit starting point coordinates: Z24 = Z20 + lead - (360 - reverser hole spacing) 8 / 360 (absolute coordinates), C24 = (Z24 - Z20 - Z21 - Z22 - Z23) Lead / 360. Distance to the endpoint of the variable diameter cut-in: Z25 = Cut-in angle Lead / 360, C25 = angle of approach; translation distance: Z26 = translation angle Lead / 2 360, C26 = translation angle / 2; distance from the end point of the variable diameter cutout: Z27 = cutout angle Lead / 360, C27 = angle of approach.
[0053] The above embodiment uses a method of first finding the midpoint of the width direction of the waist-shaped groove and then finding the midpoint of the length direction to accurately measure the midpoint of the arc in the length direction. The tool setting data is associated with the grinding start point by adjusting the thread starting point L1, and the tool setting data is associated with the chamfering start point of the inverter hole by adjusting the chamfering start point L2. Adjusting L1 and L2 ensures that the inverter hole and the grinding start point are not correlated after tool setting. Automatic measurement can identify the angle at the 360-degree boundary and automatically adjust to the midpoint between the two angles, making the obtained data more accurate. The method of calculating key coordinates using absolute values and programming incremental values avoids the problem of the rotary axis not being able to position itself in multiple turns. The method of using the Z-axis coordinate as the reference axis and calculating the incremental coordinates of the C-axis according to the thread lead avoids the problem of multi-turn positioning. The method of calculating the Z-axis coordinate of the inverter hole outlet according to the inverter hole offset angle makes the method easy to implement and highly accurate.
[0054] Example 2
[0055] This invention also proposes a storage medium storing an automated machining method for bidirectional grinding with a chamfered reverser hole. When executed by a processor, the automated machining program for bidirectional grinding with a chamfered reverser hole implements the steps of the automated machining method for bidirectional grinding with a chamfered reverser hole as described above. Since this storage medium employs all the technical solutions of all the above embodiments, it possesses at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be elaborated upon further here.
[0056] Example 4
[0057] Please see Figure 5 The present invention also provides an electronic device, including: a memory and a processor; the memory stores at least one program instruction; the processor loads and executes the at least one program instruction to implement the automatic machining method for bidirectional grinding with a reverser hole chamfer provided in Embodiment 1.
[0058] The memory 502 and processor 501 are connected via a bus, which may include any number of interconnecting buses and bridges. The bus connects various circuits of one or more processors 501 and memory 502 together. The bus may also connect various other circuits, such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 501 is transmitted over a wireless medium via an antenna, which further receives data and transmits it to processor 501.
[0059] Processor 501 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory 502 can be used to store data used by processor 501 during operation.
[0060] The above descriptions are merely embodiments of the present invention. Commonly known structures and characteristics are not described in detail here. Those skilled in the art are aware of all common technical knowledge in the field prior to the application date or priority date, are aware of all existing technologies in that field, and have the ability to apply conventional experimental methods prior to that date. Those skilled in the art can, under the guidance of this application, improve and implement this solution in combination with their own capabilities. Some typical known structures or methods should not be obstacles for those skilled in the art to implement this application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the structure of the present invention. These should also be considered within the scope of protection of the present invention, and will not affect the effectiveness of the implementation of the present invention or the practicality of the patent. The scope of protection claimed in this application should be determined by the content of its claims, and the specific embodiments described in the specification can be used to interpret the content of the claims.
Claims
1. An automated machining method for bidirectional grinding with a chamfered reverser hole, wherein the reverser hole is a slotted groove, characterized in that, The method includes: S1. Link the Z-axis and C-axis of the machine tool; S2. Obtain the coordinates of the midpoint in the width direction of the waist-shaped groove; S3. Generate the midpoint coordinates of the waist-shaped groove in the length direction based on the midpoint coordinates in the width direction; step S3 includes: S310. The probe moves along the length of the waist-shaped groove from the middle position in the width direction of the waist-shaped groove. S320. The coordinates of the vertices of the top semicircle are measured to be Z4 and C4. S330. The coordinates of the vertices of the bottom semicircle are measured to be Z5 and C5. S340. Calculate the coordinates of the midpoint in the length direction of the waist-shaped groove as Z6=Z4+(Z4-Z5) / 2, C6=C4+(C4-C5) / 2; S4. Generate the midpoint coordinates of the waist-shaped groove based on the midpoint coordinates in the width direction and the midpoint coordinates in the length direction; S5. Using the midpoint coordinates of the waist-shaped groove as a reference, combined with the thread starting point tool adjustment amount and the actual starting point coordinates, the starting grinding angle is obtained. Step S5 includes: S510, with the probe in the center of the waist groove, using coordinates Z6 and C6 as references, plus the thread start point tool adjustment amount L1, compare it with the actual grinding point coordinates Z0. S520, Calculate the starting point error Z7 = Z6 + L1 - Z0; S530, Grinding angle C0 = C6 + Z7 360 / S, where S is the lead; S6. Based on the tool adjustment amount at the chamfering start point of the reverser hole, the midpoint coordinates of the waist groove, and the actual grinding start point coordinates, the inlet coordinates of the first reverser hole chamfer are obtained. Step S6 includes: S610, The Z-axis coordinate of the chamfer inlet of the first reverser hole is the absolute coordinate of the Z-axis coordinate of the midpoint of the waist groove in the length direction and the tool adjustment amount of the chamfer starting point of the reverser hole. S620, the C-axis coordinate of the chamfered inlet of the first reverser hole is C10 = (Z10 - Z0). 360 / S, where Z0 is the actual starting point coordinate, Z10 is the Z-axis coordinate of the chamfer inlet of the first reverser hole, and S is the lead; S7. Based on the entry angle, obtain the variable diameter entry endpoint distance based on the chamfered inlet of the first reverser hole; S8. Based on the translation angle, obtain the translation distance based on the chamfered inlet of the first reverser hole; S9. Based on the cut-out angle, obtain the variable diameter cut-out endpoint distance based on the chamfered inlet of the first reverser hole; S10. Based on the chamfer inlet coordinates, the diameter change inlet end point distance, the translation distance, and the diameter changeout end point distance of the first reverser hole, obtain the chamfer outlet start point coordinates of the first reverser hole. The formula for calculating the endpoint distance of the variable diameter cut-in based on the chamfered inlet of the first reverser hole is: Z11 = cut-in angle S / 360, C11 = angle of entry; The formula for calculating the translation distance based on the chamfered inlet of the first reverser hole is: Z12 = translation angle S / 720, C12 = translation angle / 2; The formula for calculating the endpoint distance of the variable diameter cutout based on the chamfered inlet of the first reverser hole is: Z13 = cutout angle S / 360, C13 = cutout angle, where S is the lead; The formula for calculating the coordinates of the starting point of the chamfered outlet of the first reverser hole is: Z14 = Z10 + S - (360 - h) 8 / 360, C14=(Z14-Z10-Z11-Z12-Z13) S / 360, where h is the span of the reverser hole and Z10 is the Z-axis coordinate of the chamfered inlet of the first reverser hole; S11. Based on the entry angle, obtain the variable diameter entry endpoint distance based on the chamfered outlet of the first reverser hole; S12. Based on the translation angle, obtain the translation distance based on the chamfered outlet of the first reverser hole; S13. Based on the cut-out angle, obtain the variable diameter cut-out endpoint distance based on the chamfered outlet of the first reverser hole; The formula for calculating the cut-in endpoint distance based on the chamfered outlet of the first reverser hole is: Z15 = cut-in angle S / 360, C15 = angle of entry; The formula for calculating the translation distance based on the chamfered outlet of the first reverser hole is: Z16 = translation angle S / 720, C16 = translation angle / 2; The formula for calculating the endpoint distance of the variable diameter cutout based on the chamfered outlet of the first reverser hole is: Z17 = cutout angle S / 360, C17 = cutting angle; S14. Inspect the completed workpiece and adjust the tool setting adjustment amount of the chamfer starting point of the reverser hole and / or the tool setting adjustment amount of the thread starting point based on the inspection results.
2. The automatic machining method for bidirectional grinding with chamfered reverser hole according to claim 1, characterized in that, Step S2 includes: S210. Move the probe parallel to the width direction of the waist-shaped groove in the negative direction of the Z-axis. When it contacts the wall of the waist-shaped groove, record the coordinates Z1 and C1 of the probe on the C-axis and Z-axis. S220. Move the probe parallel to the width of the slot towards the positive Z-axis. When it contacts the wall of the slot, record the coordinates Z2 and C2 of the probe on the C-axis and Z-axis. S230. Calculate the midpoint coordinates Z3=Z1+(Z1-Z2) / 2, C3=C1+(C1-C2) / 2.
3. The automatic machining method for bidirectional grinding with chamfered reverser hole according to claim 1, characterized in that, The method further includes: S15. Based on the inlet coordinates and outlet starting coordinates of the chamfered nth inverter hole, the variable diameter cutting end distance of the outlet of the chamfered inverter hole, the translation distance of the outlet of the chamfered inverter hole, and the variable diameter cutting end distance of the outlet of the chamfered inverter hole, the inlet coordinates of the chamfered nth inverter hole are obtained, where n is a positive integer greater than 1. S16. Repeat steps S7-S9 to obtain the variable diameter cut-in endpoint distance, translation distance and variable diameter cut-out endpoint distance based on the chamfered inlet of the nth reverser hole. S17. Based on the inlet coordinates of the chamfer of the nth reverser hole, the distance to the end point of the diameter change inlet, the translation distance, and the distance to the end point of the diameter changeout, obtain the starting coordinates of the chamfer outlet of the nth reverser hole. S18. Repeat steps S11-S13 to obtain the variable diameter cutting end point distance based on the chamfered outlet of the nth reverser hole, the translation distance based on the chamfered outlet of the nth reverser hole, and the variable diameter cutting end point distance based on the chamfered outlet of the first reverser hole.
4. The automatic machining method for bidirectional grinding with chamfered reverser hole according to claim 1, characterized in that, The midpoint coordinates of the waist-shaped groove are Z6 and C6.
Citation Information
Patent Citations
Tool setting ruler and method for repairing internal thread with same lead at specific spindle rotating speed
CN110711908A
Part chamfer grinding method
CN112171385A