Tool changing method, machining center, computer storage medium and computer program product

Through probe measurement and position adjustment, the machining center automatically grasps and releases large tools, solves the problem of tool change caused by tool size exceeding the tool magazine limit, and improves the automatic tool change capability and safety of the machining center.

CN119017115AActive Publication Date: 2024-11-26WEICHAI POWER CO LTD

Patent Information

Application Number
CN202410952349.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-11-26
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

The size of the tool in the machining center exceeds the space limit of the tool magazine, resulting in the inability to automatically change the tool. The prior art requires manual disassembly and loading the tool, which is time-consuming and labor-intensive and has safety risks.

Method used

Through the probe, measure the tool position, determine the grab position and adjust the fixture and spindle position, automatic grab and release of the tool is achieved, ensuring accurate grab and placement of the tool in the horizontal and vertical directions.

Benefits of technology

The machining center automatically changes tools with tools whose size exceeds the tool magazine space limitations, improves tool change efficiency, reduces the risk and time of manual operation, and enhances the automation level of the machining center.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119017115A_ABST
    Figure CN119017115A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of machining center tool changing, in particular to a tool changing method, a machining center, a computer storage medium and a computer program product.The tool changing method is used for the machining center, the machining center comprises a clamp, a tool arranged on the clamp, a probe and a main shaft, and the tool changing method comprises the steps that the position of the tool is measured through the probe; the grabbing positions are determined according to the position of the cutter, and the grabbing positions comprise the grabbing position in the first horizontal direction, the grabbing position in the vertical direction, the grabbing position in the second horizontal direction, the grabbing angle of the main shaft and the angle of the clamp; the position of the clamp is adjusted according to the grabbing position in the second horizontal direction and the angle of the clamp, the position of the main shaft is adjusted according to the grabbing position in the first horizontal direction, the grabbing position in the vertical direction and the grabbing angle of the main shaft, the tool is grabbed, and the first horizontal direction, the second horizontal direction and the vertical direction are perpendicular to one another. By means of the tool changing method, the tool can be automatically grabbed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of tool changing in a machining center, and in particular to a tool changing method, a machining center, a computer storage medium and a computer program product. Background Art

[0002] The machining center is a highly automated CNC equipment that integrates multiple cutting functions such as milling, boring, drilling, tapping, etc., and can process complex parts efficiently and accurately. The machining center includes a tool magazine that contains tools, and the machining center can grab the tools in the tool magazine to achieve tool change.

[0003] In actual production, the size of the tool will exceed the space limit of the tool magazine, so that the tool cannot be stored in the tool magazine, and then the machining center cannot change the tool. In order to solve the problem that the size of the tool exceeds the space limit of the tool magazine and the machining center cannot change the tool, in the prior art, a replacement device (such as an empty tool holder, a replacement tool, etc.) that can be loaded in the tool magazine is set in the tool magazine. After the machining center completes the tool change, the operator manually removes the replacement device and loads the tool. Summary of the invention

[0004] The purpose of the present invention is to at least solve the problem that the tool size exceeds the space limit of the tool magazine, resulting in the inability of the machining center to automatically change the tool. This purpose is achieved by the following means:

[0005] A first aspect of the present invention provides a tool changing method, which is used in a machining center. The machining center includes a fixture, a tool arranged on the fixture, a probe and a spindle. The tool changing method includes: measuring the position of the tool by the probe; confirming the grasping position according to the position of the tool, wherein the grasping position includes: a grasping position in a first horizontal direction, a grasping position in a vertical direction, a grasping position in a second horizontal direction, a grasping angle of the spindle and an angle of the fixture; adjusting the position of the fixture according to the grasping position in the second horizontal direction and the angle of the fixture, and adjusting the position of the spindle and grasping the tool according to the grasping position in the first horizontal direction, the grasping position in the vertical direction and the grasping angle of the spindle, wherein the first horizontal direction, the second horizontal direction and the vertical direction are perpendicular to each other.

[0006] The tool changing method of the embodiment of the present invention supports the tool by the fixture of the machining center. When changing the tool, the position of the tool is measured by the probe, and the grasping position is obtained according to the position of the tool. The tool is grasped according to the grasping position, thereby realizing automatic grasping of the tool.

[0007] In some embodiments of the present invention, measuring the position of the tool by the probe includes: approaching the tool along the radial direction of the tool by the probe and detecting a plurality of first points, wherein the plurality of first points are arranged at intervals along the circumferential direction of the tool; approaching the tool along the axial direction of the tool by the probe and detecting a second point; and determining the position of the tool based on the plurality of first points and the second point.

[0008] In some embodiments of the present invention, confirming the grasping position according to the position of the tool includes: fitting the outer contour of the tool according to multiple first points; determining the grasping position in the first horizontal direction, the grasping position in the vertical direction, the grasping angle of the spindle and the angle of the clamp according to the position of the tool and the outer contour of the tool; and determining the grasping position in the second horizontal direction according to the second point.

[0009] In some embodiments of the present invention, the position of the clamp is adjusted according to the grasping position in the second horizontal direction and the angle of the clamp, and the tool is grasped according to the grasping position in the first horizontal direction, the grasping position in the vertical direction and the grasping angle of the spindle, including: rotating the clamp according to the angle of the clamp; driving the spindle to move according to the grasping position in the first horizontal direction and the grasping position in the vertical direction; determining a first safety position according to the grasping position in the second horizontal direction, and driving the clamp to move according to the first safety position, wherein when the clamp is located at the first safety position, the tool is spaced apart from the spindle in the second horizontal direction; orienting the spindle according to the grasping angle of the spindle; driving the spindle to move and clamp the tool according to the grasping position in the second horizontal direction.

[0010] In some embodiments of the present invention, before rotating the fixture according to the angle of the fixture, the tool changing method includes: controlling the spindle to spray cutting fluid; after driving the spindle to move and clamp the tool according to the grasping position in the second horizontal direction, the tool changing method includes: controlling the spindle to turn off the cutting fluid.

[0011] In some embodiments of the present invention, the tool changing method further includes: adjusting the position of the clamp according to the gripping position in the second horizontal direction and the angle of the clamp, and releasing the tool according to the gripping position in the first horizontal direction, the gripping position in the vertical direction and the gripping angle of the spindle.

[0012] In some embodiments of the present invention, the position of the clamp is adjusted according to the gripping position in the second horizontal direction and the angle of the clamp, and the tool is released according to the gripping position in the first horizontal direction, the gripping position in the vertical direction and the gripping angle of the spindle, including: rotating the clamp according to the angle of the clamp; orienting the spindle according to the gripping angle of the spindle; driving the spindle to move according to the gripping position in the first horizontal direction; determining a second safety position according to the gripping position in the vertical direction, and driving the clamp to move according to the second safety position, wherein when the clamp is in the second safety position, the spindle is spaced apart from the tool in the vertical direction; driving the clamp to move according to the gripping position in the second horizontal direction; driving the spindle to move according to the gripping position in the vertical direction and releasing the tool through the spindle.

[0013] The second aspect of the present invention also proposes a machining center, including a fixture, a tool provided on the fixture, a probe, a spindle and a control device, wherein the control device drives the fixture, the probe and the spindle to move and perform tool changing according to the tool changing method described in the implementation scheme of the first aspect above.

[0014] According to the machining center of the present invention, the tool can be carried by the fixture. When changing the tool, the position of the tool is measured by the probe, and the grasping position is obtained according to the position of the tool. The tool is grasped according to the grasping position, thereby realizing automatic grasping of the tool.

[0015] The third aspect of the present invention further proposes a computer storage medium having computer-readable instructions stored thereon. When the computer-readable instructions are read by one or more processors, the one or more processors execute the tool changing method as described in the implementation of the first aspect above.

[0016] According to the computer storage medium of the present invention, when being read, the machining center can measure the position of the tool through the probe, obtain the grasping position according to the position of the tool, grasp the tool according to the grasping position, thereby realizing automatic grasping of the tool.

[0017] The fourth aspect of the present invention further proposes a computer program product, which, when running on one or more processors, implements the tool changing method as described in the implementation of the first aspect above.

[0018] According to the computer program product of the embodiment of the present invention, when running, the machining center can measure the position of the tool through the probe, obtain the grasping position according to the position of the tool, grasp the tool according to the grasping position, thereby realizing automatic grasping of the tool. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference numerals are used throughout the accompanying drawings to represent the same components. Among them:

[0020] Figure 1 is a flow chart of a tool changing method according to an embodiment of the present invention;

[0021] Figure 2 A specific flow chart of the tool changing method according to an embodiment of the present invention;

[0022] Figure 3 Another specific flow chart of the tool changing method according to an embodiment of the present invention;

[0023] Figure 4 is another specific flow chart of the tool changing method according to an embodiment of the present invention;

[0024] Figure 5 Another flow chart of the tool changing method according to an embodiment of the present invention;

[0025] Figure 6 is another flow chart of the tool changing method according to an embodiment of the present invention;

[0026] Figure 7 The figure is another specific flow chart of the tool changing method according to the embodiment of the present invention. DETAILED DESCRIPTION

[0027] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0028] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0029] Although the terms first, second, third, etc. can be used in the text to describe multiple elements, components, regions, layers and / or sections, these elements, components, regions, layers and / or sections should not be limited by these terms. These terms can only be used to distinguish an element, component, region, layer or section from another region, layer or section. Unless the context clearly indicates, terms such as "first", "second" and other numerical terms do not imply order or sequence when used in the text. Therefore, the first element, component, region, layer or section discussed below can be referred to as the second element, component, region, layer or section without departing from the teaching of the example embodiments.

[0030] For ease of description, spatial relative terms may be used herein to describe the relationship of one element or feature relative to another element or feature as shown in the figure, such as "inside", "outside", "inner side", "outer side", "below", "below", "above", "above", etc. Such spatial relative terms are intended to include different orientations of the device in use or operation in addition to the orientation depicted in the figure. For example, if the device in the figure is rotated, then the elements described as "below other elements or features" or "below other elements or features" will subsequently be oriented as "above other elements or features" or "above other elements or features". Therefore, the example term "below..." can include both above and below orientations.

[0031] The machining center is a highly automated CNC equipment that integrates multiple cutting functions such as milling, boring, drilling, tapping, etc., and can process complex parts efficiently and accurately. The machining center includes a tool magazine that contains tools, and the machining center can grab the tools in the tool magazine to achieve tool change.

[0032] The spindle is one of the core components of the machining center. The spindle is responsible for carrying and driving the cutting tool to perform rotational motion. The spindle is equipped with a tool clamping device so that the tool can be installed and fixed through the clamping device.

[0033] The machining center also has an X-axis, a Y-axis and a Z-axis, and the spindle is arranged on the X-axis, Y-axis and Z-axis. The spindle can be moved along the X-axis, Y-axis and Z-axis through the X-axis, Y-axis and Z-axis, so that the position of the spindle can be adjusted.

[0034] In the prior art, in order to meet the needs of actual production, the size of the tool will exceed the space limit of the tool magazine of the machining center, resulting in the inability to store the tool in the tool magazine, which in turn causes the machining center to be unable to change the tool. In order to solve the problem that the size of the tool exceeds the space limit of the tool magazine and causes the machining center to be unable to change the tool, in the prior art, a replacement device (such as an empty tool holder, a replacement tool, etc.) that can be loaded in the tool magazine is set in the tool magazine. After the machining center completes the tool change, the operator manually removes the replacement device and loads the tool. However, the prior art cannot automatically change the tool, and manual tool change is time-consuming and labor-intensive, and there are safety risks.

[0035] In order to at least solve the problem that the machining center cannot automatically change tools when the size of the tool exceeds the space limit of the tool magazine, an embodiment of the present invention proposes a tool changing method that can automatically change tools whose size exceeds the space limit of the tool magazine.

[0036] The tool changing method according to an embodiment of the present invention will be described below with reference to the accompanying drawings.

[0037] like Figure 1 As shown, the tool changing method of the embodiment of the present invention is used in a machining center, and the machining center includes a fixture, a tool provided on the fixture, a probe and a spindle. The tool changing method includes:

[0038] S100, measuring the position of the tool by a probe.

[0039] S200. Confirm the grasping position according to the position of the tool, wherein the grasping position includes: a grasping position in a first horizontal direction, a grasping position in a vertical direction, a grasping position in a second horizontal direction, a grasping angle of the spindle and an angle of the fixture, and the first horizontal direction, the second horizontal direction and the vertical direction are perpendicular to each other.

[0040] S300, adjusting the position of the fixture according to the grasping position in the second horizontal direction and the angle of the fixture, and adjusting the position of the spindle according to the grasping position in the first horizontal direction, the grasping position in the vertical direction and the grasping angle of the spindle to grasp the tool.

[0041] The size of the tool exceeds the space limit of the tool magazine of the machining center, so the tool is carried by a fixture. It is understandable that the fixture can limit the displacement of the tool when carrying the tool, and can limit the rotation of the tool.

[0042] When changing tools, the position of the tool is measured by the probe, so that the position of the tool can be obtained, and the grasping position of the spindle is confirmed by the position of the tool. The grasping position includes the grasping position in the first horizontal direction, the grasping position in the vertical direction, the grasping position in the second horizontal direction, the grasping angle of the spindle, and the angle of the fixture. The grasping position in the first horizontal direction is the position where the spindle can grasp the tool in the first horizontal direction, and the first horizontal direction is parallel to the extension direction of the X-axis; the grasping position in the second horizontal direction is the position where the spindle can grasp the tool in the second horizontal direction, and the second horizontal direction is parallel to the extension direction of the Z-axis; the grasping position in the vertical direction is the position where the spindle can grasp the tool in the vertical direction, and the vertical direction is parallel to the extension direction of the Y-axis; the grasping angle of the spindle is the angle at which the spindle needs to rotate to grasp the tool; the angle of the fixture is the angle at which the fixture needs to rotate when the spindle can grasp the tool.

[0043] The fixture is rotated according to the angle of the fixture, so that the tool on the fixture is in a suitable position to be grasped by the spindle. Since the grasping position in the second direction is far away from the spindle, the grasping position in the second horizontal direction can avoid the spindle from having a large displacement in the second horizontal direction. According to the grasping position in the first horizontal direction, the grasping position in the vertical direction and the grasping angle of the spindle, the position of the spindle is adjusted and the tool is grasped to achieve grasping of the tool.

[0044] The tool changing method of the embodiment of the present invention supports the tool by the fixture of the machining center. When changing the tool, the position of the tool is measured by the probe, and the grasping position is obtained according to the position of the tool. The tool is grasped according to the grasping position, thereby realizing automatic grasping of the tool.

[0045] Combination Figure 1 and Figure 2 As shown, in some embodiments, S100, measuring the position of the tool by a probe, includes:

[0046] S110, approaching the tool along the radial direction of the tool with a probe and detecting a plurality of first points, wherein the plurality of first points are arranged at intervals along the circumferential direction of the tool;

[0047] S120, approaching the tool along the axial direction of the tool with a probe and detecting a second point;

[0048] S130, determining the position of the tool according to the plurality of first points and the second points.

[0049] The number of the second points may be one or more.

[0050] Through step S110, a first point position that can represent the position of the outer contour in the radial direction of the tool is detected, and through step S120, a second point position that can represent the position of the outer contour in the axial direction of the tool is detected. Thus, the position of the tool can be accurately determined through the first point position and the second point position, so that the tool can obtain higher grasping accuracy.

[0051] Combination Figure 1 and Figure 3 As shown, in some embodiments, S200, confirming the grasping position according to the position of the tool, includes:

[0052] S210, fitting the outer contour of the tool according to the multiple first points;

[0053] S220, determining a grabbing position in a first horizontal direction, a grabbing position in a vertical direction, a grabbing angle of a spindle, and an angle of a fixture according to a position of the tool and an outer contour of the tool;

[0054] S230: Determine a grabbing position in a second horizontal direction according to the second point.

[0055] The outer contour of the tool is fitted according to the first point, and the grasping angle of the spindle and the angle of the fixture can be determined according to the outer contour of the tool, so that the grasping angle of the spindle and the angle of the fixture can be obtained more accurately. The grasping position in the first horizontal direction and the grasping position in the vertical direction are determined according to the position of the tool and the outer contour of the tool, so that the grasping position in the first horizontal direction and the grasping position in the vertical direction can be obtained more accurately. The grasping position in the second horizontal direction is determined by the second point, so that the grasping position in the second horizontal direction can be obtained more accurately.

[0056] Combination Figure 1 and Figure 4 As shown, in some embodiments, S300, adjusting the position of the fixture according to the grasping position in the second horizontal direction and the angle of the fixture, and grasping the tool according to the grasping position in the first horizontal direction, the grasping position in the vertical direction and the grasping angle of the spindle, includes:

[0057] S310, rotating the fixture according to the angle of the fixture;

[0058] S320, driving the main shaft to move according to the grabbing position in the first horizontal direction and the grabbing position in the vertical direction;

[0059] S330, determining a first safety position according to the grasping position in the second horizontal direction, and driving the fixture to move according to the first safety position, wherein when the fixture is located at the first safety position, the tool is spaced apart from the spindle in the second horizontal direction;

[0060] S340, orienting the main shaft according to the gripping angle of the main shaft;

[0061] S350, driving the spindle to move and clamp the tool according to the grasping position in the second horizontal direction.

[0062] The fixture is rotated according to the angle of the fixture so that the position of the end face of the tool loaded on the fixture is adapted to the position of the spindle, so that the spindle can grab the tool. The spindle is driven to move through the grabbing position in the first horizontal direction and the grabbing position in the vertical direction, so that the spindle is located in a position that can grab the tool in the first direction and the vertical direction, so that the spindle can grab the tool. The fixture is driven to move according to the first safety position to avoid the spindle from moving too far in the second horizontal direction. When the fixture moves to the first safety position, the tool is spaced from the spindle in the second horizontal direction to avoid the tool carried on the fixture from colliding with the spindle. The spindle is oriented according to the grabbing angle of the spindle, that is, the spindle is rotated according to the grabbing angle of the spindle so that the spindle is rotated to a reasonable position suitable for clamping the tool. The spindle is driven to move and clamp the tool according to the grabbing position in the second horizontal direction, and the spindle is clamped to complete the clamping of the tool by the spindle.

[0063] Specifically, before step S350, the tool clamping device on the spindle is opened to facilitate the subsequent clamping of the tool.

[0064] As some optional embodiments, the following procedures are used when executing step S300:

[0065] CS_TPU(“8888”,BLADE,SPOS,XPOS,YPOS,ZPOS,BPOS,LD_MODE)

[0066] Among them, CS_TPU is the name of the tool grabbing program. "8888" is a character variable, indicating the tool name. BLADE is an integer variable, indicating the blade number. SPOS is a floating-point variable, indicating the grabbing angle of the spindle. XPOS is a floating-point variable, indicating the grabbing position in the first horizontal direction. YPOS is a floating-point variable, indicating the grabbing position in the vertical direction. ZPOS is a floating-point variable, indicating the grabbing position in the second horizontal direction. BPOS is a floating-point variable, indicating the angle of the fixture. LD_MODE is an integer variable, which identifies the tool change mode, for example, 1 is the grabbing mode and -1 is the lowering mode.

[0067] Combination Figure 4 and Figure 5 As shown, in some embodiments, S310, before rotating the fixture according to the angle of the fixture, the tool changing method includes: S400, controlling the spindle to spray cutting fluid; S350, after driving the spindle to move and clamping the tool according to the grasping position in the second horizontal direction, the tool changing method includes: S500, controlling the spindle to turn off the cutting fluid.

[0068] By spraying cutting fluid on the spindle, impurities on the tool surface can be removed, thereby reducing the influence of impurities on the tool surface on the spindle clamping effect, and further increasing the spindle clamping effect on the tool.

[0069] like Figure 6 As shown, in some embodiments, the tool changing method further includes: S600, adjusting the position of the clamp according to the gripping position in the second horizontal direction and the angle of the clamp, and releasing the tool according to the gripping position in the first horizontal direction, the gripping position in the vertical direction and the gripping angle of the spindle.

[0070] The fixture is rotated according to the angle of the fixture, so that the tool on the fixture is in a suitable position to facilitate receiving the tool. The position of the spindle is adjusted according to the grabbing position in the first horizontal direction, the grabbing position in the vertical direction and the grabbing angle of the spindle, and the tool is grabbed to realize the release of the tool.

[0071] Combination Figure 6 and Figure 7 As shown, in some embodiments, S600, adjusting the position of the clamp according to the grasping position in the second horizontal direction and the angle of the clamp, and releasing the tool according to the grasping position in the first horizontal direction, the grasping position in the vertical direction and the grasping angle of the spindle, includes:

[0072] S610, rotating the fixture according to the angle of the fixture;

[0073] S620, orienting the main shaft according to the gripping angle of the main shaft;

[0074] S630, driving the spindle to move according to the grabbing position in the first horizontal direction;

[0075] S640, determining a second safety position according to the grasping position in the vertical direction, and driving the fixture to move according to the second safety position, wherein when the fixture is located at the second safety position, the spindle is spaced apart from the tool in the vertical direction;

[0076] S650, driving the clamp to move according to the grasping position in the second horizontal direction;

[0077] S660, driving the spindle to move according to the grasping position in the vertical direction and releasing the tool through the spindle.

[0078] The clamp is rotated according to the angle of the clamp so that the angle loaded on the clamp is adapted to the position of the tool, so that the tool can be stably loaded on the clamp.

[0079] The spindle is oriented according to the gripping angle of the spindle, that is, the spindle is rotated according to the gripping angle of the spindle so that the spindle is rotated to a reasonable position suitable for releasing the tool.

[0080] The spindle is driven to move through the gripping position in the first horizontal direction, so that the position of the spindle in the first horizontal direction is adapted to the fixture, so that the spindle can release the tool on the fixture more accurately.

[0081] The fixture is driven to move according to the second safety position to prevent the spindle from moving too far in the second horizontal direction. When the fixture moves to the second installation position, the tool is spaced apart from the spindle in the vertical direction to prevent the tool on the spindle from colliding with the fixture.

[0082] The spindle is driven to move through the gripping position in the second horizontal direction, so that the position of the spindle in the second horizontal direction is adapted to the fixture, so that the spindle can release the tool on the fixture more accurately.

[0083] The spindle is driven to move and clamp the tool according to the grabbing position in the vertical direction, and the spindle is made to release the tool, thereby completing the release of the tool.

[0084] An embodiment of the present invention further proposes a machining center, including a fixture, a tool mounted on the fixture, a probe, a spindle and a control device. The control device drives the fixture, the probe and the spindle to move and perform a tool changing action according to the tool changing method of the above embodiment.

[0085] The machining center of the embodiment of the present invention can carry the tool through the fixture. When changing the tool, the position of the tool is measured by the probe, and the grasping position is obtained according to the position of the tool. The tool is grasped according to the grasping position, thereby realizing automatic grasping of the tool.

[0086] An embodiment of the present invention further provides a computer storage medium on which computer-readable instructions are stored. When the computer-readable instructions are read by one or more processors, the one or more processors execute the tool changing method of the above embodiment.

[0087] The computer storage medium of the embodiment of the present invention, when read, can enable the machining center to measure the position of the tool through the probe, obtain the grasping position according to the position of the tool, grasp the tool according to the grasping position, thereby realizing automatic grasping of the tool.

[0088] An embodiment of the present invention further provides a computer program product. When the computer program product is run on one or more processors, the tool changing method of the above embodiment is implemented.

[0089] The computer program product of the embodiment of the present invention, when running, can enable the machining center to measure the position of the tool through the probe, obtain the grasping position according to the position of the tool, grasp the tool according to the grasping position, thereby realizing automatic grasping of the tool.

[0090] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0091] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0092] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A tool changing method, characterized in that: Used in a machining center, the machining center includes a fixture, a tool provided on the fixture, a probe and a spindle, and the tool changing method includes: measuring the position of the tool by the probe; Determine the grasping position according to the position of the tool, wherein the grasping position includes: a grasping position in a first horizontal direction, a grasping position in a vertical direction, a grasping position in a second horizontal direction, a grasping angle of the spindle, and an angle of the fixture; adjusting the position of the clamp according to the grasping position in the second horizontal direction and the angle of the clamp, and adjusting the position of the spindle according to the grasping position in the first horizontal direction, the grasping position in the vertical direction and the grasping angle of the spindle to grasp the tool, The first horizontal direction, the second horizontal direction and the vertical direction are perpendicular to each other.

2. The tool changing method according to claim 1, characterized in that: The step of measuring the position of the tool by the probe comprises: approaching the tool along the radial direction of the tool by the probe and detecting a plurality of first points, wherein the plurality of first points are arranged at intervals along the circumferential direction of the tool; approaching the tool along the axial direction of the tool by the probe and detecting a second point; The position of the tool is determined according to the plurality of the first points and the second points.

3. The tool changing method according to claim 2, characterized in that: Determining the grasping position according to the position of the tool comprises: Fitting the outer contour of the tool according to the plurality of first points; Determining the grasping position in the first horizontal direction, the grasping position in the vertical direction, the grasping angle of the spindle, and the angle of the clamp according to the position of the tool and the outer contour of the tool; The grabbing position in the second horizontal direction is determined according to the second point position.

4. The tool changing method according to claim 1, characterized in that: The method of adjusting the position of the clamp according to the grasping position in the second horizontal direction and the angle of the clamp, and grasping the tool according to the grasping position in the first horizontal direction, the grasping position in the vertical direction and the grasping angle of the spindle, comprises: rotating the clamp according to the angle of the clamp; driving the spindle to move according to the grabbing position in the first horizontal direction and the grabbing position in the vertical direction; Determine a first safety position according to the grasping position in the second horizontal direction, and drive the clamp to move according to the first safety position, wherein when the clamp is located at the first safety position, the tool is spaced apart from the spindle in the second horizontal direction; orienting the spindle according to a grip angle of the spindle; The spindle is driven to move and clamp the tool according to the gripping position in the second horizontal direction.

5. The tool changing method according to claim 4, characterized in that: Before rotating the fixture according to the angle of the fixture, the tool changing method includes: Controlling the spindle to spray cutting fluid; After driving the spindle to move and clamping the tool according to the grasping position in the second horizontal direction, the tool changing method includes: Control the spindle to turn off the cutting fluid.

6. The tool changing method according to any one of claims 1 to 5, characterized in that: The tool changing method further comprises: The position of the clamp is adjusted according to the gripping position in the second horizontal direction and the angle of the clamp, and the tool is released according to the gripping position in the first horizontal direction, the gripping position in the vertical direction and the gripping angle of the spindle.

7. The tool changing method according to claim 6, characterized in that: The adjusting the position of the clamp according to the grasping position in the second horizontal direction and the angle of the clamp, and releasing the tool according to the grasping position in the first horizontal direction, the grasping position in the vertical direction and the grasping angle of the spindle, comprises: rotating the clamp according to the angle of the clamp; orienting the spindle according to a grip angle of the spindle; driving the spindle to move according to the grasping position in the first horizontal direction; Determine a second safety position according to the grasping position in the vertical direction, and drive the clamp to move according to the second safety position, wherein when the clamp is located at the second safety position, the spindle is spaced apart from the tool in the vertical direction; driving the clamp to move according to the grasping position in the second horizontal direction; The spindle is driven to move according to the gripping position in the vertical direction and the tool is released via the spindle.

8. A machining center, characterized in that: The method comprises a fixture, a tool arranged on the fixture, a probe, a spindle and a control device, wherein the control device drives the fixture, the probe and the spindle to move and perform a tool changing action according to the tool changing method according to any one of claims 1 to 7.

9. A computer storage medium, characterized in that Computer-readable instructions are stored on the computer storage medium. When the computer-readable instructions are read by one or more processors, the one or more processors execute the tool changing method according to any one of claims 1 to 7.

10. A computer program product, characterized in that When the computer program product is run on one or more processors, the tool changing method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Machine tool

    CN102729083A

  • Tool Changer

    CN106553074A

  • Tool changing control method and device based on auxiliary tool magazine, storage medium and equipment

    CN115958450A

  • Tool changer

    TW202228901A

  • Tool Changing Method and Machine Tool

    US20140323279A1

Cited By

  • Method, system and equipment for detecting tool changing position of numerical control machine tool and medium

    CN120663181A