Cutter height measurement method and apparatus, and device and readable storage medium

MYPI2025003666A0Undetermined Publication Date: 2024-06-20SUZHOU MEGAROBO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
MYPI2025003666
Authority / Receiving Office
MY · MY
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-12-20
Filing Date
2023-11-28
Publication Date
2024-06-20

AI Technical Summary

Technical Problem

In the existing technology, the height measurement method of tools has large differences in resistance values ​​of different types of tools from different manufacturers, making it difficult to achieve high-precision height measurement, especially when switching between high-resistance and low-resistance tools, the height measurement results are inaccurate.

Method used

A photoelectric sensor is used to detect the movement path of the tool, and the signal output by the photoelectric sensor is used to determine whether the tool has reached the preset position, determine the lowest point of the tool, and thereby calculate the height of the tool, avoiding contact height measurement of the tool and reducing the resistance value. The impact of differences on height measurement accuracy.

Benefits of technology

It improves the accuracy of tool height measurement results, enables accurate height measurement when the tool is eccentric or worn, avoids height measurement errors caused by differences in resistance values, and enhances height measurement accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure PI2025003666_DRAWING_001
    Figure PI2025003666_DRAWING_001
  • Figure PI2025003666_DRAWING_002
    Figure PI2025003666_DRAWING_002
  • Figure PI2025003666_DRAWING_003
    Figure PI2025003666_DRAWING_003
Patent Text Reader

Abstract

A cutter height measurement method, comprising: controlling a cutter (101) to rotate and move downwards from an initial position; performing detection on the cutter (101) by means of a photoelectric sensor (102), which is arranged on a movement path of the cutter (101), and acquiring, in real time, a cutter detection signal which is outputted by the photoelectric sensor (102); determining, according to the cutter detection signal, whether the cutter (101) arrives at a preset position; when an extreme value of the cutter detection signal changes from a first numerical value to a second numerical value and the second numerical value exceeds a preset threshold value, determining that the lowest point of an edge of the cutter (101) arrives at the preset position during the rotation process; and finally, determining a first measurement height of the cutter according to the distance between the initial position and the preset position. By means of the cutter height measurement method, it is unnecessary to perform contact-type height measurement on a cutter, such that a height measurement process is not affected by a difference in resistance values of blades of different manufacturers, which blades are of different types, thereby improving the accuracy of a measurement result. Further provided are a cutter height measurement apparatus, and a device and a readable storage medium. Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

A method, device, equipment and readable storage medium for measuring the height of a tool

[0001] The present invention claims priority to the Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on December 20, 2022, with application number 202211641382.7 and application name “A method, device, apparatus and readable storage medium for measuring the height of a tool”, the entire contents of which are incorporated by reference into the present invention. Technical Field

[0002] The present application relates to the field of semiconductor cutting technology, and in particular to a method, device, equipment and readable storage medium for measuring the height of a tool. Background Art

[0003] Dicing machines are key equipment in the semiconductor industry, primarily used for cutting wafer scribe lines. Dicing machines use a Z-axis-mounted air spindle to drive a grinding wheel tool for dicing. As processing progresses, the tool wears. If the tool's Z-axis position remains unchanged during cutting, the corresponding cutting depth will gradually become shallower as the tool wears.

[0004] Therefore, tool height measurement is necessary to maintain the relative position of the tool and material during machining. Currently, most methods use a contact height measurement method, which connects a voltage between the tool and the worktable, then connects to an analog-to-digital conversion circuit. The voltage change is used to calculate the resistance, which determines whether the tool is in contact with the worktable. The tool wear is then calculated using a formula. This height measurement method is difficult to achieve high-precision height measurement when switching between high- and low-resistance tools, as the resistance values ​​of different types of tools from different manufacturers often vary significantly, ranging from tens of ohms to hundreds or even thousands of ohms. This leads to inaccurate tool height measurement results.

[0005] Summary of the Invention

[0006] In view of the above problems, the present invention provides a tool height measurement method, device, equipment and readable storage medium, aiming to improve the accuracy of tool height measurement results.

[0007] In a first aspect, an embodiment of the present invention provides a method for measuring the height of a tool, the method comprising:

[0008] Controlling the tool to rotate and move downward from an initial position;

[0009] The tool is detected by a photoelectric sensor arranged on the moving path of the tool, and a tool detection signal output by the photoelectric sensor is obtained in real time;

[0010] determining whether the tool has reached a preset position based on the tool detection signal, wherein when the extreme value of the tool detection signal changes from a first value to a second value and the second value exceeds a preset threshold, determining that the lowest point of the edge of the tool during rotation has reached the preset position, the photoelectric sensor has a detection light path, the detection light path is located on the moving path of the tool, when the detection light path is not blocked, the extreme value of the tool detection signal output by the photoelectric sensor is a first value, and when the detection light path is blocked, as the light flux decreases, the extreme value of the tool detection signal output by the photoelectric sensor will change from the first value toward the second value;

[0011] A first measured height of the tool is determined according to a distance between an initial position and the preset position.

[0012] Optionally, the photoelectric sensor includes a light emitting unit and a light receiving unit, the light emitting unit emits detection light toward the light receiving unit to form the detection light path, and the step of acquiring the tool detection signal output by the photoelectric sensor includes:

[0013] The light receiving unit converts the light signal received from the light emitting unit into an electrical signal;

[0014] The electric signal is converted into a digital signal to obtain the tool detection signal.

[0015] Optionally, the light receiving unit converts the optical signal received from the light emitting unit into an electrical signal, comprising:

[0016] Converting the optical signal output by the light receiving unit in the current cycle into an electrical signal in a preset cycle, wherein the preset cycle is greater than or equal to the length of time required for the tool to rotate one circle and is an integer multiple of the length of time required for the tool to rotate one circle;

[0017] Furthermore, converting the electrical signal into a digital signal to obtain the tool detection signal includes:

[0018] The electrical signal corresponding to each preset cycle is converted into a digital signal.

[0019] Optionally, before determining whether the tool has reached a preset position according to the tool detection signal, the method further includes:

[0020] Perform sliding filtering on the digital signal corresponding to each preset period;

[0021] Sampling the sliding filtered signal to obtain a tool detection signal corresponding to the preset period;

[0022] The digital signal is sampled based on a preset sampling interval, and the sampled digital signal is used as a tool detection signal.

[0023] Optionally, judging whether the tool has reached a preset position according to the tool detection signal includes:

[0024] In each preset cycle, a search is performed based on the tool detection signal corresponding to the cycle to determine whether there is a second value exceeding the preset threshold, and if the search result is yes, it is determined that the tool has reached the preset position.

[0025] Optionally, the method for measuring the height of the tool further includes:

[0026] A second measured height is determined based on the first measured height of the tool, wherein the second measured height is the maximum height of the tool descending from the initial position toward the processing table during the processing, wherein the height relationship between the preset position and the processing table is pre-calibrated.

[0027] Optionally, as the luminous flux decreases, the tool detection signal output by the photoelectric sensor decreases. When judging whether the tool has reached the preset position based on the tool detection signal, when the extreme value of the tool detection signal is lower than a preset threshold, it is determined that the lowest point of the edge of the tool during the rotation process has reached the preset position.

[0028] In a second aspect, an embodiment of the present invention provides a device for measuring the height of a tool, the device comprising:

[0029] A control module, configured to control the tool to rotate and move downward from an initial position;

[0030] an acquisition module, configured to detect the tool through a photoelectric sensor provided on the moving path of the tool, and acquire a tool detection signal output by the photoelectric sensor in real time;

[0031] a judgment module, configured to judge whether the tool has reached a preset position based on the tool detection signal, wherein when the extreme value of the tool detection signal changes from a first value to a second value and the second value exceeds a preset threshold, it is determined that the lowest point of the edge of the tool during rotation has reached the preset position, the photoelectric sensor has a detection light path, the detection light path is located on the moving path of the tool, when the detection light path is not blocked, the extreme value of the tool detection signal output by the photoelectric sensor is a first value, and when the detection light path is blocked, as the light flux decreases, the extreme value of the tool detection signal output by the photoelectric sensor will change from the first value toward the second value;

[0032] The first determining module is configured to determine a first measured height of the tool according to a distance between an initial position and the preset position.

[0033] Optionally, the photoelectric sensor includes a light emitting unit and a light receiving unit, the light emitting unit emits detection light toward the light receiving unit to form a detection light path, and the acquisition module 302 specifically includes:

[0034] a first conversion unit, configured for the light receiving unit to convert the optical signal received from the light emitting unit into an electrical signal;

[0035] The second conversion unit is used to convert the electrical signal into a digital signal to obtain a tool detection signal.

[0036] Optionally, the first conversion unit is specifically configured to convert the optical signal output by the light receiving unit in a current cycle into an electrical signal in a preset cycle, wherein the preset cycle is greater than or equal to the length of time required for the tool to rotate one circle, and is an integer multiple of the length of time required for the tool to rotate one circle;

[0037] Optionally, the second conversion unit is specifically configured to convert the electrical signal into a digital signal to obtain a tool detection signal, including: converting the electrical signal corresponding to each preset period into a digital signal.

[0038] Optionally, the device further includes:

[0039] A filtering module, used for performing sliding filtering on the digital signal corresponding to each preset period;

[0040] The first sampling module is used to sample the signal after sliding filtering to obtain a tool detection signal corresponding to the preset period.

[0041] The second sampling module is used to sample the digital signal based on a preset sampling interval and use the sampled digital signal as a tool detection signal.

[0042] Optionally, the judgment module is specifically used to search whether there is a second value exceeding a preset threshold value within each preset cycle based on the tool detection signal corresponding to the cycle, and determine that the tool has reached the preset position if the search result is yes.

[0043] Optionally, the device further includes:

[0044] The second determination module is used to determine a second measured height based on the first measured height of the tool, wherein the second measured height is the maximum height of the tool descending from the initial position toward the processing table during the processing, wherein the height relationship between the preset position and the processing table is pre-calibrated.

[0045] In a third aspect, an embodiment of the present invention provides a device, comprising:

[0046] Memory for storing computer programs;

[0047] A processor is used to execute the computer program so that the device executes the tool height measurement method described in any one of the first aspects.

[0048] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for measuring the height of a tool according to any one of the first aspects is implemented.

[0049] Compared with the prior art, the present invention has the following beneficial effects:

[0050] The present invention discloses a method, device, equipment and readable storage medium for measuring the height of a tool. The method controls the tool to rotate and move downward from an initial position, detects the tool through a photoelectric sensor set on the tool's moving path, obtains a tool detection signal output by the photoelectric sensor in real time, determines whether the tool has reached a preset position based on the tool detection signal, and when the extreme value of the tool detection signal changes from a first value to a second value, and the second value exceeds a preset threshold, determines that the lowest point of the tool edge during the rotation process has reached the preset position, and finally determines the first measured height of the tool based on the distance between the initial position and the preset position. It can be seen that the present invention does not require contact height measurement of the tool, and the height measurement process will not be affected by the problem that the resistance values ​​of different types of blades from different manufacturers are often quite different. This improves the accuracy of the tool height measurement results. In addition, the present invention identifies the position of the lowest point of the tool edge by detecting the second value, and can achieve accurate height measurement when the tool itself is eccentric due to quality problems or actual wear, thereby avoiding the influence of tool eccentricity on height measurement accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0052] FIG1 is a schematic diagram of a system framework involved in an application scenario in an embodiment of the present invention;

[0053] FIG2 is a flow chart of a method for measuring the height of a tool provided by an embodiment of the present invention;

[0054] FIG3 is a schematic structural diagram of a tool height measuring device provided by an embodiment of the present invention;

[0055] FIG4 is a schematic diagram of the structure of a computer-readable medium provided by an embodiment of the present invention;

[0056] FIG5 is a schematic diagram of the hardware structure of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0057] As previously described, dicing machines are key equipment in the semiconductor industry, primarily used for cutting wafer scribe lines. Dicing machines use a Z-axis-mounted air spindle to drive a grinding wheel tool for dicing. As processing progresses, the tool wears. If the Z-axis position remains unchanged, the corresponding cutting depth will gradually become shallower.

[0058] Therefore, tool height measurement is necessary to maintain the relative position of the tool and material during machining. Currently, most methods use a contact height measurement method, which connects a voltage between the tool and the worktable, then connects to an analog-to-digital conversion circuit. The voltage change is used to calculate the resistance, which determines whether the tool is in contact with the worktable. The tool wear is then calculated using a formula. This height measurement method is difficult to achieve high-precision height measurement when switching between high- and low-resistance tools, as the resistance values ​​of different types of tools from different manufacturers often vary significantly, ranging from tens of ohms to hundreds or even thousands of ohms. This leads to inaccurate tool height measurement results.

[0059] Based on this, in order to solve the above-mentioned problem, the present invention discloses a method, device, equipment and readable storage medium for measuring the height of a tool, which controls the tool to rotate and move downward from an initial position, detects the tool through a photoelectric sensor set on the tool's moving path, obtains the tool detection signal output by the photoelectric sensor in real time, and determines whether the tool has reached a preset position based on the tool detection signal. When the extreme value of the tool detection signal changes from a first value to a second value, and the second value exceeds a preset threshold, it is determined that the lowest point of the edge of the tool during the rotation process has reached the preset position, and finally the first measured height of the tool is determined based on the distance between the initial position and the preset position. It can be seen that the present invention does not require contact height measurement of the tool, and the height measurement process will not be affected by the problem that the resistance values ​​of different types of blades from different manufacturers are often quite different. This improves the accuracy of the tool height measurement results.

[0060] For example, one scenario of the embodiments of the present invention can be applied to the scenario shown in Figure 1. This scenario includes a tool 101 and a photoelectric sensor 102. The photoelectric sensor detects a rotating tool moving downward from an initial position and determines whether the tool has reached a preset position based on the tool detection signal. In the present invention, a computer can be used to implement a method for measuring the height of a tool using the implementation methods provided in the embodiments of the present invention. Furthermore, the embodiments of the present invention are not limited in terms of the execution subject; as long as the actions disclosed in the implementation methods provided in the embodiments of the present invention are performed, they are sufficient.

[0061] It should be noted that the above scenario is only an example scenario provided by an embodiment of the present invention, and the embodiment of the present invention is not limited to this scenario.

[0062] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0063] Referring to FIG2 , which is a flow chart of a method for measuring the height of a tool provided by an embodiment of the present invention, the method for measuring the height of a tool provided by an embodiment of the present invention may include:

[0064] S201: Control the tool to rotate and move downward from the initial position.

[0065] In the embodiment of the present invention, the tool can be controlled to rotate and move from the zero point of the Z-axis movement. Of course, it can also move downward from any other calibrated position. For ease of understanding, the Z-axis is used as an example in the embodiment of the present invention.

[0066] S202: Detecting the tool through a photoelectric sensor provided on the moving path of the tool, and obtaining a tool detection signal output by the photoelectric sensor in real time.

[0067] The photoelectric sensor includes a light emitting unit and a light receiving unit. The light emitting unit emits detection light toward the light receiving unit to form a detection light path. The light receiving unit first converts the light signal it receives from the light emitting unit into an electrical signal, and then converts the electrical signal into a digital signal to obtain a tool detection signal.

[0068] And the tool is always in a rotating state, and the time length required for the tool to rotate one circle can be set as a cycle. Therefore, the light signal output by the light receiving unit in the current cycle can be converted into an electrical signal in a preset cycle. The preset cycle is greater than or equal to the time length required for the tool to rotate one circle, and is an integer multiple of the time length required for the tool to rotate one circle.

[0069] S203: Determine whether the tool has reached a preset position based on the tool detection signal.

[0070] By monitoring the tool detection signal from a detection light path of a photoelectric sensor located along the tool's moving path, the photoelectric sensor outputs a first value as the tool has not descended between the photoelectric sensors (that is, when the detection light path is unobstructed). When the detection light path is obstructed, the photoelectric sensor outputs a second value as the light flux decreases. If the tool detection signal changes from the first value to the second value, and the second value exceeds a preset threshold, it is determined that the lowest point of the tool's edge during rotation has reached a preset position.

[0071] S204: Determine a first measured height of the tool according to the distance between the initial position and the preset position.

[0072] The second measured height is determined based on the first measured height of the tool, wherein the second measured height is the maximum height of the tool descending from the initial position toward the processing table during the processing, and the height relationship between the preset position and the processing table is pre-calibrated.

[0073] The present invention discloses a method for measuring the height of a tool. The present invention eliminates the need for contact-type tool height measurement, and the height measurement process is not affected by the often significant differences in resistance values ​​of blades of different types and manufacturers. This improves the accuracy of the tool height measurement results. Furthermore, because the present invention completes detection when the tool detection signal reaches a second value exceeding a preset threshold, even if the tool being detected exhibits eccentricity, there will be no significant error in the detection result, thereby preventing the subsequent overcompensation for tool wear.

[0074] Furthermore, the present invention's solution can overcome the impact of tool eccentricity on height measurement accuracy. In practice, due to factors such as blade manufacturing, blades are not perfectly circular, resulting in eccentricity. When the photoelectric sensor's detection light path is blocked by the tool edge, the unobstructed luminous flux in the detection light path varies as the blade rotates, as the blade's edge is not a perfect circle. This results in the optical signal not being a constant value within one tool rotation, and the corresponding electrical signal also fluctuating.

[0075] By detecting a second value that exceeds a preset threshold, the present invention can identify the edge of the eccentric tool that first reaches the preset position during the rotation process, and determine the height to which the tool moves down at this time, so that this height can be determined as the height to which the tool moves down during cutting. In this way, the edge with the largest protrusion can be used for cutting, thereby preventing the protruding edge from damaging the carrier that carries the workpiece to be cut.

[0076] In one embodiment, the photoelectric sensor employed in the present invention includes a light emitting unit and a light receiving unit. The light emitted by the light emitting unit constitutes the detection light path, and the emitted light is received by the light receiving unit. The photoelectric sensor also includes a photoelectric conversion module for outputting a signal corresponding to the amount of light received by the light receiving unit. If the detection light path is blocked, the luminous flux decreases as the blocked portion becomes larger, and the signal voltage value output by the photoelectric conversion module also decreases.

[0077] In this embodiment, the preset position corresponds to the lowest position of the tool during cutting. During height measurement, when the edge of the tool with the largest outward protrusion (the position with the greatest distance from the tool axis) reaches the preset position during tool rotation, the lowest voltage value output by the photoelectric sensor falls below a preset threshold, at which point the tool is deemed to have reached the preset position.

[0078] Therefore, in the process of measuring the height of the tool, the measurement accuracy of the present invention will not be affected by the problem of tool eccentricity. If the accuracy needs to be improved, it is only necessary to reduce the speed at which the tool moves downward. The slower the moving speed, the more accurate the measurement result and the higher the accuracy, thereby improving the accuracy of the tool height measurement as a whole.

[0079] In addition, to achieve more efficient tool height measurement, the present invention can also perform sliding filtering on the digital signal corresponding to each preset period after acquiring the tool detection signal output by the photoelectric sensor in real time. The signal after sliding filtering is then sampled to obtain the tool detection signal corresponding to the preset period. Finally, the digital signal is sampled based on the preset sampling interval, and the sampled digital signal is used as the tool detection signal. Within each preset period, a search is performed based on the tool detection signal corresponding to the period to determine whether there is a second value that exceeds the preset threshold. If the search result is yes, it is determined that the tool has reached the preset position. After sliding filtering, the signal after sliding filtering is sampled to complete the downsampling process. All signals after the downsampling process are derived from the originally acquired signal. If downsampling is performed first and then sliding filtering is performed, the originally acquired signal will lose effective information due to downsampling, ultimately resulting in a large error in the result.

[0080] 3 , which shows a tool height measuring device provided by an embodiment of the present invention. The device at least includes: a control module 301 , an acquisition module 302 , a judgment module 303 and a first determination module 304 .

[0081] A control module 301 is used to control the tool to rotate and move downward from an initial position;

[0082] An acquisition module 302 is configured to detect the tool through a photoelectric sensor provided on the tool's moving path, and acquire a tool detection signal output by the photoelectric sensor in real time;

[0083] a judgment module 303 for judging whether the tool has reached a preset position based on a tool detection signal, wherein when an extreme value of the tool detection signal changes from a first value to a second value and the second value exceeds a preset threshold, it is determined that the lowest point of the edge of the tool during rotation has reached the preset position; the photoelectric sensor has a detection light path, and the detection light path is located on the moving path of the tool; when the detection light path is not blocked, the extreme value of the tool detection signal output by the photoelectric sensor is the first value; when the detection light path is blocked, as the light flux decreases, the extreme value of the tool detection signal output by the photoelectric sensor will change from the first value toward the second value;

[0084] The first determining module 304 is configured to determine a first measured height of the tool according to a distance between the initial position and the preset position.

[0085] Optionally, the photoelectric sensor includes a light emitting unit and a light receiving unit, the light emitting unit emits detection light toward the light receiving unit to form a detection light path, and the acquisition module 302 specifically includes:

[0086] a first conversion unit, configured for the light receiving unit to convert the optical signal received from the light emitting unit into an electrical signal;

[0087] The second conversion unit is used to convert the electrical signal into a digital signal to obtain a tool detection signal.

[0088] Optionally, the first conversion unit is specifically configured to convert the optical signal output by the light receiving unit in a current cycle into an electrical signal in a preset cycle, wherein the preset cycle is greater than or equal to the length of time required for the tool to rotate one circle, and is an integer multiple of the length of time required for the tool to rotate one circle;

[0089] Optionally, the second conversion unit is specifically configured to convert the electrical signal into a digital signal to obtain a tool detection signal, including: converting the electrical signal corresponding to each preset period into a digital signal.

[0090] Optionally, the device further includes:

[0091] A filtering module, used for performing sliding filtering on the digital signal corresponding to each preset period;

[0092] The first sampling module is used to sample the signal after sliding filtering to obtain a tool detection signal corresponding to the preset period.

[0093] The second sampling module is used to sample the digital signal based on a preset sampling interval and use the sampled digital signal as a tool detection signal.

[0094] Optionally, the judgment module 303 is specifically configured to search, within each preset period, for a second value exceeding a preset threshold based on the tool detection signal corresponding to the period, and determine that the tool has reached the preset position if the search result is yes.

[0095] Optionally, the device further includes:

[0096] The second determination module is used to determine a second measured height based on the first measured height of the tool, wherein the second measured height is the maximum height of the tool descending from the initial position toward the processing table during the processing, wherein the height relationship between the preset position and the processing table is pre-calibrated.

[0097] The present invention discloses a device for measuring the height of a tool. The device includes a control module 301 for controlling the tool to rotate and move downward from an initial position. An acquisition module 302 is configured to detect the tool using a photoelectric sensor positioned along the tool's path of movement, and to acquire a tool detection signal output by the photoelectric sensor in real time. A determination module 303 is configured to determine whether the tool has reached a preset position based on the tool detection signal. When the extreme value of the tool detection signal changes from a first value to a second value, and the second value exceeds a preset threshold, the lowest point of the tool's edge during rotation is determined to have reached the preset position. The photoelectric sensor includes a detection light path positioned along the tool's path of movement. When the detection light path is unobstructed, the extreme value of the tool detection signal output by the photoelectric sensor is a first value. When the detection light path is obstructed, the extreme value of the tool detection signal output by the photoelectric sensor changes from the first value toward the second value as the light flux decreases. A first determination module 304 is configured to determine a first measured height of the tool based on the distance between the initial position and the preset position. Therefore, the present invention does not require contact-type height measurement of the tool, and the height measurement process is not affected by the problem that the resistance values ​​of different types of blades from different manufacturers often vary greatly, thereby improving the accuracy of the tool height measurement results.

[0098] As shown in FIG4 , this embodiment provides a computer-readable medium 400 on which a computer program 411 is stored. When the computer program 411 is executed by a processor, the steps of the tool height measurement method described in FIG2 are implemented.

[0099] It should be noted that, in the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by an instruction execution system, device or equipment or used in conjunction with an instruction execution system, device or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0100] It should be noted that the machine-readable medium of the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present invention, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0101] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0102] Please refer to Figure 5, which is a schematic diagram of the hardware structure of a server provided in an embodiment of the present invention. The server 500 may have relatively large differences due to different configurations or performance, and may include one or more central processing units (CPU) 522 (for example, one or more processors) and memory 532, and one or more storage media 530 (for example, one or more mass storage devices) for storing application programs 540 or data 544. Among them, the memory 532 and the storage medium 530 can be temporary storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 522 can be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the server 500.

[0103] The server 500 may also include one or more power supplies 526, one or more wired or wireless network interfaces 550, one or more input and output interfaces 558, and / or one or more operating systems 541, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.

[0104] The steps executed by the tool height measurement method in the above embodiment can be based on the server structure shown in FIG5 .

[0105] It should also be noted that, according to an embodiment of the present invention, the process of the tool height measurement method described in the flowchart in FIG. 2 can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product comprising a computer program embodied on a non-transitory computer-readable medium, the computer program containing program code for executing the method shown in the flowchart in FIG. 2 .

[0106] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

[0107] Although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present invention. Certain features described in the context of a separate embodiment may also be implemented in combination in a single embodiment. Conversely, the various features described in the context of a single embodiment may also be implemented in multiple embodiments individually or in any suitable sub-combination.

[0108] The above description is merely a preferred embodiment of the present invention and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present invention is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in the present invention.

Claims

1. A method for measuring the height of a tool, characterized in that: The method comprises: Controlling the tool to rotate and move downward from an initial position; The tool is detected by a photoelectric sensor arranged on the moving path of the tool, and a tool detection signal output by the photoelectric sensor is obtained in real time; determining whether the tool has reached a preset position based on the tool detection signal, wherein when the extreme value of the tool detection signal changes from a first value to a second value and the second value exceeds a preset threshold, determining that the lowest point of the edge of the tool during rotation has reached the preset position, the photoelectric sensor has a detection light path, the detection light path is located on the moving path of the tool, when the detection light path is not blocked, the extreme value of the tool detection signal output by the photoelectric sensor is a first value, and when the detection light path is blocked, as the light flux decreases, the extreme value of the tool detection signal output by the photoelectric sensor will change from the first value toward the second value; A first measured height of the tool is determined according to a distance between an initial position and the preset position.

2. The method according to claim 1, characterized in that The photoelectric sensor includes a light emitting unit and a light receiving unit, wherein the light emitting unit emits detection light toward the light receiving unit to form the detection light path, and the step of acquiring the tool detection signal output by the photoelectric sensor includes: The light receiving unit converts the light signal received from the light emitting unit into an electrical signal; The electric signal is converted into a digital signal to obtain the tool detection signal.

3. The method according to claim 2, characterized in that The light receiving unit converts the optical signal received from the light emitting unit into an electrical signal, comprising: Converting the optical signal output by the light receiving unit in the current cycle into an electrical signal in a preset cycle, wherein the preset cycle is greater than or equal to the length of time required for the tool to rotate one circle and is an integer multiple of the length of time required for the tool to rotate one circle; Furthermore, converting the electrical signal into a digital signal to obtain the tool detection signal includes: The electrical signal corresponding to each preset cycle is converted into a digital signal.

4. The method according to claim 3, characterized in that Before determining whether the tool has reached the preset position according to the tool detection signal, the method includes: Perform sliding filtering on the digital signal corresponding to each preset period; Sampling the sliding filtered signal to obtain a tool detection signal corresponding to the preset period; The digital signal is sampled based on a preset sampling interval, and the sampled digital signal is used as a tool detection signal.

5. The method according to claim 4, characterized in that The determining whether the tool has reached a preset position according to the tool detection signal includes: In each preset cycle, a search is performed based on the tool detection signal corresponding to the cycle to determine whether a second value exceeding the preset threshold exists, and if the search result is yes, it is determined that the tool has reached the preset position.

6. The method according to claim 1, characterized in that The method further comprises: A second measured height is determined based on the first measured height of the tool, wherein the second measured height is the maximum height of the tool descending from the initial position toward the processing table during the processing, wherein the height relationship between the preset position and the processing table is pre-calibrated.

7. The method according to claim 1, characterized in that As the luminous flux decreases, the tool detection signal output by the photoelectric sensor decreases. When judging whether the tool has reached the preset position based on the tool detection signal, when the extreme value of the tool detection signal is lower than the preset threshold, it is determined that the lowest point of the edge of the tool during the rotation process has reached the preset position.

8. A tool height measuring device, characterized in that: The device comprises: A control module, configured to control the tool to rotate and move downward from an initial position; an acquisition module, configured to detect the tool through a photoelectric sensor provided on the moving path of the tool, and acquire a tool detection signal output by the photoelectric sensor in real time; a judgment module, configured to judge whether the tool has reached a preset position based on the tool detection signal, wherein when the extreme value of the tool detection signal changes from a first value to a second value and the second value exceeds a preset threshold, it is determined that the lowest point of the edge of the tool during rotation has reached the preset position, the photoelectric sensor has a detection light path, the detection light path is located on the moving path of the tool, when the detection light path is not blocked, the extreme value of the tool detection signal output by the photoelectric sensor is a first value, and when the detection light path is blocked, as the light flux decreases, the extreme value of the tool detection signal output by the photoelectric sensor will change from the first value toward the second value; The first determining module is configured to determine a first measured height of the tool according to a distance between an initial position and the preset position.

9. A tool height measuring device, characterized in that: include: memory and processor; The memory is used to store programs; The processor is configured to execute the program to implement each step of the method according to any one of claims 1 to 7.

10. A tool height measurement storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step of the method according to any one of claims 1 to 7 is implemented.