Machine tool probe detection method, electronic equipment and storage medium

By recording the number of probe triggers and displaying abnormal detection information during the machine tool probe detection process, the problem of detection accuracy caused by false detections is solved, thus improving the accuracy and efficiency of machine tool probe detection.

CN121374201APending Publication Date: 2026-01-23FUXIANG PRECISION IND KUNSHAN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511588175.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-31
Publication Date
2026-01-23

AI Technical Summary

Technical Problem

During the machine tool probe inspection process, false detections triggered when the probe is not in contact with the sample reduce the accuracy of the test results, making it difficult to correctly classify and improve unqualified probes.

Method used

By controlling the clamping device to hold the machine tool probe and make it contact the standard sample, the number of probe triggers is recorded, and abnormal detection information is displayed when the number of detections reaches a preset threshold, thus distinguishing false detections and improving the accuracy of detection results.

Benefits of technology

It effectively identifies and reduces the possibility of false detections of machine tool probes being misjudged as having poor accuracy, thus improving the accuracy and efficiency of machine tool probe detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121374201A_ABST
    Figure CN121374201A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of detection equipment, and discloses a machine tool probe detection method, electronic equipment and a storage medium. The detection method comprises the following steps: controlling the clamping device to clamp the machine tool probe; controlling the clamping device to move, enabling the machine tool probe to be in contact with the standard sample piece, enabling the machine tool probe to measure the measurement size of the standard sample piece, recording the triggering times of triggering the probe of the machine tool probe, adding 1 to the detection times, and superposing the triggering times to the total triggering times; when the number of times of detection is smaller than a first preset number of times, resetting the number of times of triggering and returning to execute the second step; when the detection times are equal to the first preset times and the total triggering times are larger than the second preset times, abnormal detection information is displayed. According to the detection method, the accuracy of the detection result of the machine tool probe detection can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the product detection technical field, and in particular to a machine tool probe detection method, an electronic device and a storage medium. BACKGROUND

[0002] The machine tool probe is also called a machine tool probe head, which is a measuring tool for a numerical control machine tool. By contacting the probe of the machine tool probe with a workpiece, automatic centering, edge finding and measuring of the workpiece can be achieved. The probe is also called a measuring needle.

[0003] In order to improve the yield of the machine tool probe when it is shipped, the detection accuracy of each machine tool probe needs to be detected before it is shipped. During the detection of the machine tool probe, sometimes the probe of the machine tool probe is not in contact with the sample and is triggered, resulting in a false detection, which reduces the accuracy of the detection result of the machine tool probe detection. SUMMARY

[0004] Therefore, the present application provides a machine tool probe detection method, an electronic device and a storage medium to improve the accuracy of the detection result of the machine tool probe detection.

[0005] The first aspect of the present application provides a machine tool probe detection method applied to a detection device. The detection device includes a clamping device for clamping a machine tool probe. The detection method includes: controlling the clamping device to clamp the machine tool probe; controlling the clamping device to move so that the machine tool probe is in contact with a standard sample, so that the machine tool probe measures the size of the standard sample and records the number of times the probe of the machine tool probe is triggered, and adds 1 to the detection number and adds the number of times the probe is triggered to the total number of times the probe is triggered; when the detection number is less than a first preset number, the number of times the probe is triggered is cleared to zero and the step of controlling the clamping device to move so that the machine tool probe is in contact with the standard sample, so that the machine tool probe measures the size of the standard sample and records the number of times the probe of the machine tool probe is triggered, and adds 1 to the detection number and adds the number of times the probe is triggered to the total number of times the probe is triggered is returned; when the detection number is equal to the first preset number and the total number of times the probe is triggered is greater than a second preset number, an abnormal detection information is displayed.

[0006] After the detection of the machine tool probe is completed, i.e. when the detection number is equal to the first preset number, the total number of times the probe is triggered is compared with the second preset number. When the total number of times the probe is triggered is greater than the second preset number, it indicates that the probe of the machine tool probe has a false detection, and the detected machine tool probe is unqualified, and at least part of the reason is that the false detection occurs. By displaying the abnormal detection information, the false detection is classified as an abnormal detection, which reduces the possibility that the machine tool probe with false detection is classified as poor detection accuracy, thereby improving the accuracy of the detection result of the machine tool probe detection.

[0007] In some embodiments of the present application, the detection method further comprises: obtaining a size difference between the measured size and the preset standard size; when the size difference is outside the preset tolerance range, increasing the number of abnormal sizes by 1; when the detection frequency is equal to the first preset frequency, the trigger total frequency is equal to the second preset frequency, and the ratio of the number of abnormal sizes to the preset size number is less than or equal to the preset ratio, displaying the detection qualified information.

[0008] By comparing the measured size with the standard size, when the size difference is within the tolerance range, it indicates that the measured size is qualified; when the size difference is outside the tolerance range, it indicates that the measured size is unqualified. The ratio of the number of abnormal sizes to the preset size number is used to represent the unqualified rate of the measured size. When the unqualified rate is less than or equal to the preset ratio, the detection qualified information is displayed to indicate that the detection accuracy of the machine tool probe is qualified.

[0009] In some embodiments of the present application, the preset ratio is in the range of 0 to 0.1.

[0010] By setting the preset ratio to 0 to 0.1, the unqualified rate of the measured size detected by the detection qualified machine tool probe can be controlled within 10%.

[0011] In some embodiments of the present application, the preset ratio is in the range of 0 to 0.05.

[0012] By setting the preset ratio to 0 to 0.05, the unqualified rate of the measured size detected by the detection qualified machine tool probe can be further controlled within 5%.

[0013] In some embodiments of the present application, the detection method further comprises: when the detection frequency is equal to the first preset frequency, displaying the detection completion information.

[0014] When the detection frequency is equal to the first preset frequency, it indicates that the machine tool probe has completed the predetermined first preset frequency detection process. By displaying the detection completion information, it is convenient to identify that the machine tool probe is in the detection completion state.

[0015] In some embodiments of the present application, the detection method further comprises: when the detection frequency is less than the first preset frequency, displaying the detection in progress information.

[0016] When the detection frequency is less than the first preset frequency, it indicates that the detection of the machine tool probe has not stopped. By the detection in progress information, it is convenient to identify that the machine tool probe is in the detection state.

[0017] In some embodiments of the present application, the method of controlling the movement of the clamping device to make the machine tool probe contact the standard sample, so that the machine tool probe measures the size of the standard sample and records the number of times the probe of the machine tool probe is triggered, and adds 1 to the detection number and adds the number of times the probe is triggered to the total number of times the probe is triggered, comprises: controlling the movement of the clamping device in the reference coordinate system, so that the probe of the machine tool probe clamped by the clamping device contacts the side wall on both sides of the standard sample along the axial direction of the X axis of the reference coordinate system in turn, and obtains the first coordinate and the second coordinate when the probe of the machine tool probe contacts the side wall of the standard sample; the difference between the X coordinate value of the first coordinate and the X coordinate value of the second coordinate is taken as the first measurement size; the number of times the probe is triggered is added to the total number of times the probe is triggered; and the detection number is added by 1.

[0018] The X coordinate value of the first coordinate and the X coordinate value of the second coordinate are equal to the X coordinate values of the side walls on both sides of the standard sample along the axial direction of the X axis of the reference coordinate system, so that the difference between the X coordinate value of the first coordinate and the X coordinate value of the second coordinate is equal to the size of the standard sample along the axial direction of the X axis.

[0019] In some embodiments of the present application, the method of controlling the movement of the clamping device to make the machine tool probe contact the standard sample, so that the machine tool probe measures the size of the standard sample and records the number of times the probe of the machine tool probe is triggered, and adds 1 to the detection number and adds the number of times the probe is triggered to the total number of times the probe is triggered, comprises: controlling the movement of the clamping device in the reference coordinate system, so that the probe of the machine tool probe clamped by the clamping device contacts the side wall on the side away from the reference surface of the standard sample along the axial direction of the Z axis of the reference coordinate system, and obtains the third coordinate when the probe of the machine tool probe contacts the side wall of the standard sample; the difference between the Z coordinate value of the third coordinate and the Z coordinate value of the coordinate of the reference surface is taken as the second measurement size; the number of times the probe is triggered is added to the total number of times the probe is triggered; and the detection number is added by 1.

[0020] The standard sample is installed on the reference surface, and the Z coordinate value of the coordinate of the side wall of the standard sample in contact with the reference surface is equal to the Z coordinate value of the coordinate of the reference surface, so that the difference between the Z coordinate value of the third coordinate and the Z coordinate value of the coordinate of the reference surface is equal to the size of the standard sample along the axial direction of the Z axis.

[0021] The second aspect of the present application provides an electronic device comprising a processor and a memory, wherein the processor is configured to execute a computer program stored in the memory to implement the detection method according to any one of the above embodiments.

[0022] The third aspect of the present application provides a storage medium storing at least one instruction, wherein the at least one instruction is executed by a processor to implement the detection method according to any one of the above embodiments.

[0023] It can be understood that the electronic device of the second aspect and the storage medium of the third aspect provided above correspond to the detection method of the first aspect, and thus the beneficial effects achieved thereby can refer to the beneficial effects of the corresponding detection method provided above, which will not be described herein again. BRIEF DESCRIPTION OF DRAWINGS

[0024] Figure 1 is a schematic diagram of the overall structure of a detection device provided in an embodiment of the present application.

[0025] Figure 2 is a schematic diagram of the overall structure of a detection device provided in an embodiment of the present application. Figure 1

[0026] Figure 3 is a schematic diagram of the overall structure of a detection device provided in an embodiment of the present application. Figure 1

[0027] Figure 4 is a schematic diagram of the overall structure of a detection device provided in an embodiment of the present application. Figure 2

[0028] Figure 5 is a flowchart of a machine tool probe detection method provided in an embodiment of the present application.

[0029] Figure 6 is a flowchart of step S102 in Figure 5

[0030] Figure 7 is a flowchart of another machine tool probe detection method provided in an embodiment of the present application.

[0031] Figure 8 is a flowchart of still another machine tool probe detection method provided in an embodiment of the present application.

[0032] Figure 9 is a schematic diagram of an electronic device provided in an embodiment of the present application.

[0033] MAIN ELEMENT SYMBOL EXPLANATION ​​​​100, detection device; 11, device main body; 111, workbench; 1111, reference block; 112, reference surface; 12, carrier; 121, fixing seat; 1211, accommodating groove; 122, fixing piece; 13, standard sample; 131, first wall; 132, second wall; 133, third wall; 134, fourth wall; 135, fifth wall; 136, sixth wall; 14, driving device; 141, first driving assembly; 1411, first sliding seat; 142, second driving assembly; 1421, second sliding seat; 143, third driving assembly; 1431, third sliding seat; 15, clamping device; 151, clamping driving piece; 152, clamping piece; 1521, positioning groove; 16, control device; 161, control piece; 162, first receiving piece; 163, display piece; 164, second receiving piece; 200, machine tool probe; 21, probe; 1000, electronic device; 1001, processor; 1002, memory. DETAILED DESCRIPTION

[0034] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments of the present application.

[0035] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

[0036] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0037] In addition, the terms "first", "second", "third", etc. are only for the purpose of description, and cannot be understood as indicating or implying relative importance.

[0038] At present, in the related art, when detecting a machine tool probe, only the detection accuracy of the machine tool probe to the size of the sample is detected, and the position of the probe when the probe is triggered is recorded. However, in the actual detection process of the machine tool probe, the probe can be triggered when it is not in contact with the sample due to vibration and other reasons during equipment operation, that is, false detection occurs. It can be understood that when false detection occurs, the size data detected by the machine tool probe will be incorrect, thereby causing the unqualified reason of the detected machine tool probe to be listed as poor detection accuracy; however, in fact, the unqualified reason of such machine tool probe should be probe false triggering. Therefore, when false detection occurs, the accuracy of the detection result of the detection of the machine tool probe is reduced, thereby making it difficult to correctly classify the unqualified machine tool probe after detection and to make targeted improvements.

[0039] An embodiment of the present application provides a machine tool probe detection method, applied to a detection device. The detection device comprises a clamping device configured to clamp a machine tool probe. The detection method comprises: controlling the clamping device to clamp the machine tool probe; controlling the clamping device to move, so that the machine tool probe contacts a standard sample, so that the machine tool probe measures a measurement size of the standard sample and records a trigger number of a probe of the machine tool probe being triggered, and adds 1 to a detection number and adds the trigger number to a total trigger number; when the detection number is less than a first preset number, clearing the trigger number and returning to execute the step of controlling the clamping device to move, so that the machine tool probe contacts the standard sample, so that the machine tool probe measures the measurement size of the standard sample and records the trigger number of the probe of the machine tool probe being triggered, and adds 1 to the detection number and adds the trigger number to the total trigger number; when the detection number is equal to the first preset number and the total trigger number is greater than or less than a second preset number, displaying detection abnormal information.

[0040] When the detection number is equal to the first preset number, that is, after the machine tool probe detection is completed, the total trigger number is compared with the second preset number, and when the total trigger number is greater than the second preset number, it indicates that the probe of the machine tool probe has a false detection situation, the detected machine tool probe is unqualified, and at least part of the reason for being unqualified is that the false detection occurs; by displaying the detection abnormal information, the false detection situation is classified as a detection abnormality, the possibility that the machine tool probe with the false detection is classified as a poor detection precision situation is reduced, and therefore the accuracy of the detection result of the machine tool probe detection can be improved.

[0041] Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. In the case of no conflict, the embodiments described below and the features in the embodiments can be combined with each other.

[0042] Reference Figure 1 and Figure 2 An embodiment of the present application provides a detection device 100 for detecting a machine tool probe 200. It can be understood that the machine tool probe 200 is provided with a probe 21 for contacting a workpiece, and the probe 21 can be triggered when contacting the workpiece.

[0043] The detection device 100 comprises a device main body 11, a carrier 12, a standard sample 13, a driving device 14, a clamping device 15 and a control device 16.

[0044] The device body 11 is provided with a reference origin and a reference coordinate system with the reference origin as the origin, the reference coordinate system has an X-axis, a Y-axis and a Z-axis, and the X-axis, the Y-axis and the Z-axis are perpendicular to each other. Exemplarily, the device body 11 is the main body of a numerical control machining center; the reference origin is the machine tool origin of the numerical control machining center; and the reference coordinate system is the machine tool coordinate system of the numerical control machining center. In some embodiments, the axial direction of the Z-axis is arranged along the vertical direction; in other embodiments, the axial direction of the Z-axis can be arranged along the horizontal direction.

[0045] In some embodiments, the device body 11 is provided with a workbench 111, the carrier 12 is arranged on the workbench 111, and the carrier 12 is configured to carry a plurality of machine tool probes 200 to be detected. In some embodiments, the carrier 12 includes a fixed seat 121 and a fixing member 122, the fixing member 122 connects the fixed seat 121 and the workbench 111; and exemplarily, the fixing member 122 is a screw. The fixed seat 121 is provided with a plurality of accommodating grooves 1211, one accommodating groove 1211 is configured to accommodate one machine tool probe 200 and constrain the position of the corresponding machine tool probe 200. Optionally, the accommodating groove 1211 is a cylindrical groove, the inner diameter of the accommodating groove 1211 is equal to the diameter of the main body of the machine tool probe 200; after the main body of the machine tool probe 200 is inserted into the accommodating groove 1211, the peripheral wall of the machine tool probe 200 is fitted with the inner peripheral wall of the accommodating groove 1211, so as to achieve the effect of constraining the position of the machine tool probe 200.

[0046] In some embodiments, the plurality of accommodating grooves 1211 are arranged in a matrix on the fixed seat 121; it can be understood that the plurality of accommodating grooves 1211 are sequentially and uniformly spaced along the axial direction of the X-axis, and the plurality of accommodating grooves 1211 are sequentially and uniformly spaced along the axial direction of the Y-axis. In other embodiments, the axial direction of the Z-axis is arranged along the horizontal direction, and the plurality of accommodating grooves 1211 can be sequentially and uniformly spaced along the axial direction of the Z-axis. By sequentially and uniformly spacing the plurality of accommodating grooves 1211 along the X-axis or the Y-axis or the Z-axis, the position of each accommodating groove 1211 can be conveniently calibrated by coordinates, so as to facilitate accurate positioning of the position of each machine tool probe 200 to be detected.

[0047] In some embodiments, the standard sample 13 is connected with the device body 11. In some embodiments, the device body 11 is provided with a reference surface 112, the normal direction of the reference surface 112 is arranged along the axial direction of the Z-axis. Exemplarily, the upper surface of the workbench 111 is provided with a reference block 1111, and the reference surface 112 is the upper surface of the reference block 1111. Optionally, the reference block 1111 is a magnet block, the material of the standard sample 13 and the material of the workbench 111 are both ferromagnetic materials, the standard sample 13 is magnetically adsorbed on the upper surface of the workbench 111, and the end wall of one end of the standard sample 13 along the axial direction thereof is magnetically adsorbed on the reference surface 112.

[0048] In some embodiments, the standard sample 13 is in the shape of a ring, and the inner diameter, the outer diameter and the width along the axial direction of the standard sample 13 are all known and fixed values. In other embodiments, the standard sample 13 can be in the shape of a square block.

[0049] The driving device 14 includes a first driving assembly 141, a second driving assembly 142 and a third driving assembly 143.

[0050] The clamping device 15 is configured to clamp the machine tool probe 200 on the carrier 12; the first driving assembly 141 connects the clamping device 15 and the device main body 11, and is configured to drive the clamping device 15 to move along the axial direction of the Y axis, so as to drive the machine tool probe 200 clamped by the clamping device 15 to move along the axial direction of the Y axis. The second driving assembly 142 connects the clamping device 15 and the device main body 11, and is configured to drive the clamping device 15 to move along the axial direction of the X axis, so as to drive the machine tool probe 200 clamped by the clamping device 15 to move along the axial direction of the X axis. The third driving assembly 143 connects the clamping device 15 and the device main body 11, and is configured to drive the clamping device 15 to move along the axial direction of the Z axis, so as to drive the machine tool probe 200 clamped by the clamping device 15 to move along the axial direction of the Z axis. In other embodiments, the first driving assembly 141 and / or the second driving assembly 142 and / or the third driving assembly 143 can be configured to drive the workbench 111 to move, so as to drive the standard sample 13 to move relative to the machine tool probe 200 clamped by the clamping device 15.

[0051] In some embodiments, the first driving assembly 141 includes a first sliding seat 1411 and a first driving member (not shown in the figure). The first sliding seat 1411 is slidingly connected to the device main body 11 along the axial direction of the Y axis; the first driving member includes a first motor, a first screw rod and a first nut threadedly connected to the first screw rod, the axial direction of the first screw rod is along the axial direction of the Y axis, and the first screw rod is rotationally connected to the device main body 11, the first nut is fixedly connected to the first sliding seat 1411, and the first motor is connected to the device main body 11 and connected to the first screw rod to drive the first screw rod to rotate. In other embodiments, the first driving member can be an electric push rod or a linear motor or other structures capable of driving the first sliding seat 1411 to slide.

[0052] In some embodiments, the second driving assembly 142 comprises a second sliding seat 1421 and a second driving member (not shown in the figure). The second sliding seat 1421 is slidingly connected with the first sliding seat 1411 along the axial direction of the X axis; the second driving member comprises a second motor, a second screw rod and a second nut threadedly connected with the second screw rod, the axial direction of the second screw rod is arranged along the axial direction of the X axis, and the second screw rod is rotationally connected with the first sliding seat 1411, the second nut is fixedly connected with the second sliding seat 1421, and the second motor is connected with the first sliding seat 1411 and the second screw rod to drive the second screw rod to rotate. In other embodiments, the second driving member can be an electric push rod or a linear motor or other structures capable of driving the second sliding seat 1421 to slide.

[0053] In some embodiments, the third driving assembly 143 comprises a third sliding seat 1431 and a third driving member (not shown in the figure). The clamping device 15 is connected with the third sliding seat 1431, and the third sliding seat 1431 is slidingly connected with the second sliding seat 1421 along the axial direction of the Z axis; the third driving member comprises a third motor, a third screw rod and a third nut threadedly connected with the third screw rod, the axial direction of the third screw rod is arranged along the axial direction of the Z axis, and the third screw rod is rotationally connected with the second sliding seat 1421, the third nut is fixedly connected with the third sliding seat 1431, and the third motor is connected with the equipment main body 11 and the third screw rod to drive the third screw rod to rotate. In other embodiments, the third driving member can be an electric push rod or a linear motor or other structures capable of driving the third sliding seat 1431 to slide.

[0054] In some embodiments, the clamping device 15 comprises a clamping driving member 151 and two clamping members 152, the clamping driving member 151 is connected with the third sliding seat 1431 and connected with the two clamping members 152, and the clamping driving member 151 is configured to drive the two clamping members 152 to approach each other to clamp the machine tool probe 200. In some embodiments, the clamping driving member 151 is a pneumatic cylinder. Exemplarily, the clamping device 15 is a pneumatic clamp, and the clamping member 152 is a clamp of the pneumatic clamp.

[0055] In some embodiments, the clamping member 152 is provided with a positioning groove 1521 for accommodating at least part of the machine tool probe 200. Alternatively, the side wall of the side of each of the two clamping members 152 facing each other is provided with the positioning groove 1521, and the positioning groove 1521 can position the machine tool probe 200 relative to the clamping member 152, thereby improving the accuracy of clamping the machine tool probe 200 by the clamping member 152.

[0056] Referring to Figure 2 and Figure 3The control device 16 comprises a control member 161, a first receiving member 162 and a display member 163. The first receiving member 162 is configured to be electrically connected with the machine tool probe 200. The first receiving member 162, the display member 163, the driving device 14 and the clamping device 15 are all electrically connected with the control member 161. It can be understood that the first motor, the second motor and the third motor of the driving device 14 are all electrically connected with the control member 161. The first receiving member 162 is configured to record the coordinates of the probe 21 each time it is triggered in the reference coordinate system. The control member 161 is configured to process the data received by the first receiving member 162 into the size of the standard sample 13 along the X axis or the Y axis or the Z axis. The display member 163 is configured to display the size of the standard sample 13 along the X axis and / or the size along the Y axis and / or the size along the Z axis.

[0057] Exemplarily, the control member 161 is a servo control system of a numerical control machining center. The first receiving member 162 is a receiver matched with the machine tool probe 200, and the first receiving member 162 is electrically connected with the machine tool probe 200 through a Bluetooth module. The display member 163 is a display screen of the numerical control machining center.

[0058] When detecting the machine tool probe 200, the driving device 14 drives the clamping device 15 to move, so that the probe 21 of the machine tool probe 200 is in contact with the side walls on both sides of the standard sample 13 along the X axis in turn. The X coordinate values of the two coordinates obtained by the first receiving member 162 are subtracted, and the size of the standard sample 13 along the X axis can be measured. Similarly, the size of the standard sample 13 along the Y axis and the size along the Z axis can be measured. By comparing the measured size with the actual size of the standard sample 13, the detection accuracy of the machine tool probe 200 can be obtained.

[0059] Reference is made to Figure 4 In the illustrated state, the reference coordinate system is not visible, but for the convenience of description, the reference coordinate system is represented in the form of a dashed line with an arrow.

[0060] In some embodiments, the standard sample 13 comprises a first wall 131, a second wall 132, a third wall 133, a fourth wall 134, a fifth wall 135 and a sixth wall 136. The first wall 131 and the second wall 132 are arranged opposite to each other along the axial direction of the X axis. The third wall 133 and the fourth wall 134 are arranged opposite to each other along the axial direction of the Y axis. The fifth wall 135 and the sixth wall 136 are arranged opposite to each other along the axial direction of the Z axis. The fifth wall 135 is in contact with the reference surface 112. The dashed line frames on the inner peripheral wall of the standard sample 13 in the figure represent the first wall 131, the second wall 132, the third wall 133 and the fourth wall 134 respectively. The dashed line frame on the end wall of the standard sample 13 close to the reference surface 112 represents the fifth wall 135. In the illustrated state, the second wall 132, the fourth wall 134 and the fifth wall 135 are not visible.

[0061] Exemplarily, after the probe 21 is in contact with the first wall 131 and the second wall 132 in turn, the probe 21 is triggered twice; the X coordinate value of the two coordinates obtained by the first receiving member 162 is subtracted, so that the size of the standard sample 13 along the X axis is measured, which is recorded as the first measurement size D1.

[0062] Exemplarily, after the probe 21 is in contact with the sixth wall 136, the probe 21 is triggered once; the Z coordinate value of the coordinate obtained by the first receiving member 162 is subtracted from the Z coordinate value of the reference surface 112, so that the size of the standard sample 13 along the Z axis is obtained, which is recorded as the second measurement size D2. It can be understood that, since the fifth wall 135 is in contact with the reference surface 112, the Z coordinate value of the fifth wall 135 is equal to the Z coordinate value of the reference surface 112. In other embodiments, a gap is provided between the fifth wall 135 and the reference surface 112, so that the probe 21 is in contact with the fifth wall 135 and the sixth wall 136 in turn, and the Z coordinate value of the two coordinates obtained by the first receiving member 162 is subtracted, so that the second measurement size D2 of the standard sample 13 is measured.

[0063] Exemplarily, after the probe 21 is in contact with the third wall 133 and the fourth wall 134 in turn, the probe 21 is triggered twice; the Y coordinate value of the two coordinates obtained by the first receiving member 162 is subtracted, so that the size of the standard sample 13 along the Y axis is measured, which is recorded as the third measurement size D3.

[0064] Referring to Figure 3 and Figure 4 In some embodiments, the control device 16 further comprises a second receiving member 164, which is electrically connected with the control member 161; the second receiving member 164 is configured to be electrically connected with the machine tool probe 200 and record the trigger times of the probe 21 of the machine tool probe 200, and the display member 163 is configured to display the trigger times. Exemplarily, the second receiving member 164 is a receiver matched with the machine tool probe 200, and the second receiving member 164 is electrically connected with the machine tool probe 200 through a Bluetooth module. By comparing the trigger times displayed by the display member 163 with the set calibration times, it can be judged whether the machine tool probe 200 has a false detection during the detection process. It can be understood that, when the trigger times displayed by the display member 163 are greater than the calibration times, it indicates that the machine tool probe 200 under detection has a false detection during the detection process.

[0065] Exemplarily, when the first measurement size D1, the second measurement size D2 and the third measurement size D3 in the measurement Figure 4 are measured, the calibration times are 5.

[0066] The second receiving member 164 cooperates with the first receiving member 162 to form a double-channel detection system, which can not only detect the detection accuracy of the machine tool probe 200 on the workpiece size, but also detect whether the machine tool probe 200 has a false detection, so as to improve the accuracy of the detection result.

[0067] After the detection of the machine tool probe 200 is completed, the driving device 14 drives the clamping device 15 to move to the carrier 12, and the clamping device 15 releases the machine tool probe 200 after the detection is completed to the carrier 12 and clamps another machine tool probe 200 to be detected. In this way, automatic disassembly and automatic detection of batch machine tool probes 200 can be realized, so as to improve the efficiency of the detection of the machine tool probe 200.

[0068] Referring to Figure 5 An embodiment of the present application also provides a machine tool probe detection method applied to a detection device. The detection device comprises a clamping device for clamping a machine tool probe.

[0069] The detection method comprises the following steps: Step S101, controlling the clamping device to clamp the machine tool probe.

[0070] In combination Figure 3 In some embodiments, the controller 161 controls the driving device 14 to drive the clamping device 15 to move to the machine tool probe 200 to be detected, and then controls the clamping device 15 to clamp the corresponding machine tool probe 200.

[0071] Exemplarily, the coordinates of each accommodation groove 1211 for constraining the machine tool probe 200 in the reference coordinate system are determined and unique, and the controller 161 can calibrate the position of each accommodation groove 1211 through the coordinates, so as to determine the position of each machine tool probe 200, so that the controller 161 can accurately move the clamping device 15 to each machine tool probe 200 to be detected.

[0072] Step S102, controlling the clamping device to move so that the machine tool probe contacts the standard sample, so that the machine tool probe measures the measurement size of the standard sample and records the trigger times of the probe of the machine tool probe, and adds 1 to the detection times and adds the trigger times to the total trigger times.

[0073] It can be understood that the initial value of the total trigger times is zero.

[0074] In combination Figure 3 and Figure 4In some embodiments, after the clamping device 15 clamps the machine probe 200, the control member 161 controls the driving device 14 to move the clamping device 15 to the standard sample 13, and the machine probe 200 clamped by the clamping device 15 detects the measured dimensions of the standard sample 13. The measured dimensions are three, and the three dimensions are the first measured dimension D1, the second measured dimension D2, and the third measured dimension D3. In other embodiments, the machine probe 200 can detect one or two of the first measured dimension D1, the second measured dimension D2, and the third measured dimension D3 of the standard sample 13.

[0075] Taking the machine probe 200 detecting the first measured dimension D1, the second measured dimension D2, and the third measured dimension D3 of the standard sample 13 as an example, when step S102 is executed, the probe 21 of the machine probe 200 contacts the standard sample 13 five times.

[0076] Step S103, when the detection number is less than the first preset number, the trigger number is cleared and the step S102 is returned to be executed.

[0077] In some embodiments, the first preset number can be pre-entered through a keyboard or a touch screen or a button; in other embodiments, the first preset number can be pre-entered when the program is written.

[0078] It can be understood that the first preset number is the number of executions of step S102, that is, the number of detections required by a single machine probe. For example, the first preset number is 2000, that is, the machine probe 200 needs to be repeatedly detected 2000 times.

[0079] Step S104, when the detection number is equal to the first preset number and the total trigger number is greater than the second preset number, the detection abnormal information is displayed.

[0080] In some embodiments, the second preset number can be pre-entered through a keyboard or a touch screen or a button; in other embodiments, the second preset number can be pre-entered when the program is written.

[0081] In combination Figure 4 The product of the number of times that the probe 21 contacts the standard sample 13 in a single detection of the machine probe 200 and the first preset number can be taken as the second preset number; it can be understood that when the total trigger number is greater than the second preset number, it indicates that false detection occurs in the detection process of the machine probe 200. For example, the machine probe 200 detects the first measured dimension D1, the second measured dimension D2, and the third measured dimension D3 of the standard sample 13 in a single detection, and the probe 21 needs to contact the standard sample 13 five times; taking the first preset number as 2000 as an example, the second preset number can be set to 10000.

[0082] In combination Figure 2In some embodiments, the display 163 is a display screen, and the control 161 can control the display 163 to display the detection abnormality information; for example, the detection abnormality information can be one or a combination of text, color blocks, picture frames, and patterns. In other embodiments, the display 163 can be an alarm lamp; for example, the detection abnormality information can be flashing light or constant light. In other embodiments, the display 163 can display the detection abnormality information through a buzzer or a loudspeaker; for example, the detection abnormality information is an intermittent sounding siren. The present application does not limit the form of the detection abnormality information, as long as the detection abnormality information can remind the operator that a false detection has occurred during the detection.

[0083] After the detection of the machine tool probe 200 is completed, that is, when the detection times equal the first preset number of times, the total number of triggering is compared with the second preset number of times. When the total number of triggering is greater than the second preset number of times, it indicates that the probe 21 of the machine tool probe 200 has a false detection situation, and the detected machine tool probe 200 is unqualified, and at least part of the reason for being unqualified is that a false detection occurs. By displaying the detection abnormality information, the false detection situation is classified as a detection abnormality, which reduces the possibility that the machine tool probe 200 with a false detection is classified as having poor detection accuracy, thereby improving the accuracy of the detection result of the detection of the machine tool probe 200.

[0084] Referring to Figure 6 In some embodiments, the above step S102 includes the following steps: In step S1021, the clamping device is controlled to move in the reference coordinate system, so that the probe of the machine tool probe clamped by the clamping device contacts the side walls on both sides of the standard sample along the axial direction of the X axis of the reference coordinate system in turn, and the first coordinate and the second coordinate when the probe of the machine tool probe contacts the side walls of the standard sample are obtained.

[0085] In combination Figure 3 And Figure 4 Taking the standard sample 13 in the form of a circular ring as an example, the control 161 controls the driving device 14 to drive the clamping device 15 to move, so that the probe 21 of the machine tool probe 200 clamped by the clamping device 15 moves along the axis of the standard sample 13, and then the clamping device 15 is moved along the axial direction of the Z axis of the reference coordinate system, so that the probe 21 moves to between the first wall 131 and the second wall 132. Then, the clamping device 15 is moved along the axial direction of the X axis of the reference coordinate system, so that the probe 21 contacts the first wall 131, and then the clamping device 15 is moved along the axial direction of the X axis of the reference coordinate system again, so that the probe 21 contacts the second wall 132.

[0086] In some other embodiments, when the first wall 131 and the second wall 132 are the outer side walls of the standard sample 13, the probe 21 is first located at a side of the first wall 131 away from the second wall 132, then the probe 21 is moved along the axial direction of the X axis of the reference coordinate system towards the second wall 132, then the probe 21 is brought into contact with the first wall 131, then the probe 21 is moved to a side of the second wall 132 away from the first wall 131, then the probe 21 is moved along the axial direction of the X axis of the reference coordinate system towards the first wall 131, and then the probe 21 is brought into contact with the second wall 132.

[0087] When the probe 21 is in contact with the first wall 131, the probe 21 is triggered, and the first receiving member 162 records the coordinate of the probe 21 when the probe 21 is triggered as the first coordinate; when the probe 21 is in contact with the second wall 132, the probe 21 is triggered, and the first receiving member 162 records the coordinate of the probe 21 when the probe 21 is triggered as the second coordinate.

[0088] In step S1022, the clamping device is controlled to move in the reference coordinate system, so that the probe of the machine tool probe clamped by the clamping device is brought into contact with the side wall on the side away from the reference surface along the axial direction of the Z axis of the reference coordinate system, and a third coordinate when the probe of the machine tool probe is brought into contact with the side wall of the standard sample is obtained.

[0089] In combination with Figure 3 and Figure 4 , the control member 161 controls the driving device 14 to drive the clamping device 15 to move, so that the probe 21 of the machine tool probe 200 clamped by the clamping device 15 is moved to the side away from the reference surface 112 along the axial direction of the Z axis of the standard sample 13, and then the clamping device 15 is moved along the axial direction of the Z axis of the reference coordinate system, so that the probe 21 is brought into contact with the sixth wall 136. When the probe 21 is in contact with the sixth wall 136, the probe 21 is triggered, and the first receiving member 162 records the coordinate of the probe 21 when the probe 21 is triggered as the third coordinate.

[0090] In step S1023, the clamping device is controlled to move in the reference coordinate system, so that the probe of the machine tool probe clamped by the clamping device is brought into contact with the side wall on the side away from the reference surface along the axial direction of the Z axis of the reference coordinate system, and a third coordinate when the probe of the machine tool probe is brought into contact with the side wall of the standard sample is obtained.

[0091] Step S1023 can refer to the description of step S1021, which will not be repeated here.

[0092] In step S1024, the difference between the X coordinate value of the first coordinate and the X coordinate value of the second coordinate is taken as the first measurement size.

[0093] In combination with Figure 4, the X coordinate value of the first coordinate is x1, and the X coordinate value of the second coordinate is x2, then the first measurement size D1 = |x2-x1|. Wherein the symbol "||" is an absolute value symbol.

[0094] Step S1025, taking the difference between the Z coordinate value of the third coordinate and the Z coordinate value of the reference surface as the second measurement size.

[0095] In combination Figure 4 , the Z coordinate value of any point in the reference surface 112 is z1, and the Z coordinate value of the third coordinate is z2, then the second measurement size D2 = |z2-z1|.

[0096] Step S1026, taking the difference between the Y coordinate value of the fourth coordinate and the Y coordinate value of the fifth coordinate as the third measurement size.

[0097] In combination Figure 4 , the Y coordinate value of the fourth coordinate is y1, and the Y coordinate value of the fifth coordinate is y2, then the third measurement size D3 = |y2-y1|.

[0098] Step S1027, adding the trigger number to the total trigger number.

[0099] It can be understood that the trigger number is increased by 1 each time the probe is triggered. In the case that no false detection occurs and steps S1021, S1022 and S1023 are executed in turn, the trigger number is 2 after step S1021 is executed, the trigger number is 3 after step S1022 is executed, and the trigger number is 5 after step S1023 is executed.

[0100] Step S1028, increasing the detection number by 1.

[0101] In other embodiments, the order of steps S1021, S1022 and S1023 can be changed as needed; for example, step S1022 can be executed before step S1021.

[0102] In other embodiments, one or two of steps S1021, S1022 and S1023 can be omitted.

[0103] Referring to Figure 7 , an embodiment of the present application also provides another machine tool probe detection method, applied to a detection device. The detection device includes a clamping device for clamping a machine tool probe.

[0104] The detection method includes the following steps: Step S201, controlling the clamping device to clamp the machine tool probe.

[0105] Step S201 can refer to Figure 5The description of step S101 in the foregoing embodiment can be referred to, and will not be repeated here.

[0106] At step S202, the clamping device is controlled to move so that the machine tool probe contacts the standard sample, so that the machine tool probe measures the measurement size of the standard sample and records the trigger times of the probe of the machine tool probe, and the detection times are added by 1 and the trigger times are added to the total trigger times.

[0107] The description of step S102 in the foregoing embodiment can be referred to, and will not be repeated here. Figure 5 The description of step S102 in the foregoing embodiment can be referred to, and will not be repeated here.

[0108] At step S203, the size difference between the measurement size and the preset standard size is obtained.

[0109] In combination with the foregoing embodiment, Figure 4 the measurement size is three, and the standard size corresponds to the preset three, and the three standard sizes are a first standard size D01, a second standard size D02 and a third standard size D03; the first standard size D01 and the third standard size D03 are the inner diameter of the standard sample 13, and the second standard size D02 is the size of the standard sample 13 along the axial direction.

[0110] In some embodiments, the first standard size D01, the second standard size D02 and the third standard size D03 can be pre-entered through a keyboard or a touch screen or a key; in other embodiments, the first standard size D01, the second standard size D02 and the third standard size D03 can be pre-entered when the program is written.

[0111] It can be understood that the first standard size D01 corresponds to the first measurement size D1, the second standard size D02 corresponds to the second measurement size D2, and the second standard size D03 corresponds to the second measurement size D3. Accordingly, there are three size differences, and the three size differences are a first size difference K1, a second size difference K2 and a third size difference K3, wherein the first size difference K1 = |D1-D01|, the second size difference K2 = |D2-D02|, and the third size difference K3 = |D3-D03|.

[0112] At step S204, when the size difference is outside the preset tolerance range, the number of abnormal sizes is added by 1.

[0113] In some embodiments, the tolerance range can be pre-entered through a keyboard or a touch screen or a key; in other embodiments, the tolerance range can be pre-entered when the program is written. In some embodiments, the preset tolerance range is 0 to 0.005 mm.

[0114] In combination with the foregoing embodiment, Figure 3 and Figure 4Optionally, the preset tolerance range is 0 to 0.001 mm. Illustratively, after the first measurement size D1, the second measurement size D2 and the third measurement size D3 are measured by the machine tool probe 200, if it is known that K1 and K2 are both less than or equal to 0.001 mm and K3 is greater than 0.001 mm, it indicates that the first measurement size D1 and the second measurement size D2 are qualified sizes and the third measurement size D3 is an abnormal size, then the value of the abnormal size number is added by 1. It can be understood that the initial value of the abnormal size number is 0.

[0115] In step S205, when the detection number is less than the first preset number, the trigger number is cleared and the execution returns to step S202.

[0116] Step S205 can refer to the description of step S103 in Figure 5 , which will not be repeated here.

[0117] In step S206, when the detection number is equal to the first preset number and the total trigger number is greater than the second preset number, the detection abnormal information is displayed.

[0118] Step S206 can refer to the description of step S104 in Figure 5 , which will not be repeated here.

[0119] In step S207, when the detection number is equal to the first preset number, the total trigger number is equal to the second preset number, and the ratio of the abnormal size number to the preset size number is less than or equal to the preset ratio, the detection qualified information is displayed.

[0120] In some embodiments, the preset ratio can be pre-entered through a keyboard or a touch screen or a key; in other embodiments, the preset ratio can be pre-entered when the program is written. In some embodiments, the preset ratio can be in the range of 0 to 0.1. Alternatively, the preset ratio can be in the range of 0 to 0.05. Illustratively, the preset ratio can be one of 0, 0.02, 0.05, 0.06, 0.08 and 0.1.

[0121] When the detection number is equal to the first preset number, it indicates that the detection is completed; when the total trigger number is equal to the second preset number, it indicates that the machine tool probe does not occur false elasticity during the detection process.

[0122] In combination with Figure 3 and Figure 4 , in some embodiments, the preset size number can be the product of the first preset number and the number of measurement sizes of the standard sample 13 measured by the machine tool probe 200 each time. Taking the first preset number as 2000 and the three measurement sizes of the standard sample 13 measured by the machine tool probe 200 each time as an example, the preset size number is 6000.

[0123] In some embodiments, the controller 161 can control the display 163 to display the detection qualified information. Exemplarily, the detection qualified information can be one or a combination of text, color block, picture frame, pattern, etc. In some other embodiments, the detection qualified information can be displayed by an alarm lamp. Exemplarily, the detection qualified information can be flashing light or constant light. In some other embodiments, the detection qualified information can be displayed by a buzzer or a loudspeaker. Exemplarily, the detection qualified information can be intermittent sounding siren. The form of the detection qualified information is not limited in the present application, as long as the detection qualified information can remind the operator that the detection result is qualified.

[0124] In step S208, when the detection number is equal to the first preset number, the trigger total number is equal to the second preset number, and the ratio of the abnormal size number to the preset size number is greater than the preset ratio, the detection unqualified information is displayed.

[0125] In combination Figure 3 In some embodiments, the controller 161 can control the display 163 to display the detection unqualified information. Exemplarily, the detection unqualified information can be one or a combination of text, color block, picture frame, pattern, etc. In some other embodiments, the detection unqualified information can be displayed by an alarm lamp. Exemplarily, the detection unqualified information can be flashing light or constant light. In some other embodiments, the detection unqualified information can be displayed by a buzzer or a loudspeaker. Exemplarily, the detection unqualified information can be intermittent sounding siren. The form of the detection unqualified information is not limited in the present application, as long as the detection unqualified information can remind the operator that the detection result is unqualified.

[0126] In step S209, the clamping device is controlled to move, so that the machine tool probe clamped by the clamping device moves to a specified position.

[0127] In combination Figure 2 In some embodiments, the specified position can be the initial installation position of the machine tool probe 200 on the carrier 12.

[0128] In step S210, the trigger number and the trigger total number are cleared, and the process returns to step S201.

[0129] In combination Figure 2 It can be understood that in step S210, the machine tool probe 200 in step S201 refers to other undetected machine tool probes 200. Exemplarily, the machine tool probe 200 to be detected can be another undetected machine tool probe 200 adjacent to the machine tool probe 200 that has completed detection.

[0130] In reference Figure 8In an embodiment of the present application, another machine tool probe detection method is provided, which is applied to a detection device. The detection device comprises a clamping device for clamping a machine tool probe.

[0131] The detection method comprises the following steps: In step S301, the clamping device is controlled to clamp the machine tool probe.

[0132] Step S301 can refer to the description of step S101 in Figure 5 and will not be described here.

[0133] In step S302, the clamping device is controlled to move so that the machine tool probe contacts the standard sample, so that the machine tool probe measures the measurement size of the standard sample and records the trigger times of the probe of the machine tool probe, and the detection times are increased by 1 and the trigger times are added to the total trigger times.

[0134] Step S302 can refer to the description of step S102 in Figure 5 and will not be described here.

[0135] In step S303, when the detection times are less than the first preset times, the detection in progress information is displayed.

[0136] In combination with Figure 3 , in some embodiments, the controller 161 can control the display 163 to display the detection in progress information. Exemplarily, the detection in progress information can be one or a combination of text, color block, picture frame, pattern, etc. In other embodiments, the detection in progress information can be displayed by an alarm lamp. Exemplarily, the detection in progress information can be flashing light or constant light. In other embodiments, the detection in progress information can be displayed by a buzzer or a loudspeaker. Exemplarily, the detection in progress information is intermittent sounding of the buzzer. The present application does not limit the form of the detection in progress information, as long as the detection in progress information can remind the operator that the detection result is unqualified.

[0137] In step S304, when the detection times are less than the first preset times, the trigger times are cleared and the step S302 is returned to be executed.

[0138] Step S304 can refer to the description of step S103 in Figure 5 and will not be described here.

[0139] In step S305, when the detection times are equal to the first preset times, the detection completion information is displayed.

[0140] In combination with Figure 3In some embodiments, the control unit 161 can control the display unit 163 to display completion detection information. Exemplarily, the completion detection information can be one or more combinations of text, color blocks, frames, patterns, etc. In other embodiments, the completion detection information can be displayed via an alarm light; exemplarily, the completion detection information can be a flashing light or a constantly lit light. In other embodiments, the completion detection information can be displayed via a buzzer or horn; exemplarily, the completion detection information is an intermittent horn sound. This application does not limit the form of the completion detection information, as long as the completion detection information can remind the operator that the detection result is unqualified.

[0141] Step S306: When the number of detections equals the first preset number and the total number of triggers is greater than the second preset number, display the detection error information.

[0142] Step S306 can be referred to Figure 5 The description of step S104 is omitted here.

[0143] In some other embodiments, step S303 may be performed after step S301.

[0144] In other embodiments, step S305 may be performed after step S306 or simultaneously with step S306.

[0145] Reference Figure 9 An embodiment of this application also provides an electronic device 1000, which includes a processor 1001 and a memory 1002. The memory 1002 stores at least one computer instruction, and the processor 1001 is used to execute the at least one computer instruction stored in the memory 1002 to implement the detection method in any of the above embodiments. Exemplarily, the electronic device 1000 is a detection device 100 (see...). Figure 1 ) control element 161 (see Figure 2 At least some modules of ).

[0146] In some embodiments, the processor 1001 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0147] In some embodiments, the memory 1002 can be used to store computer instructions, and the processor 1001 can implement the control of the driving device 14 (see Figure 2 ), the clamping device 15 (see Figure 2 ), and the display 163 (see Figure 2 ) and the like of the detection device 100 by running or fetching the computer instructions stored in the memory 1002 and calling the data stored in the memory 1002. The memory 1002 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, and the like), and the like; and the data storage area can store data created according to the use of the detection device and the like. In addition, the memory 1002 can include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device.

[0148] The embodiment also provides a storage medium, and the storage medium stores computer instructions. When the instructions run on an electronic device, the electronic device executes the steps of the detection method provided in the above embodiments to detect a machine tool probe.

[0149] In addition, those skilled in the art should recognize that the above embodiments are only used to illustrate the present application, and are not used as a limitation on the present application. Any appropriate changes and modifications made to the above embodiments within the spirit and principles of the present application fall within the scope of the present application.

Claims

1. A machine tool probe testing method applied to a testing apparatus, characterized by, The detection device comprises a clamping device for clamping the machine tool probe; the detection method comprises: controlling the clamping device to clamp the machine tool probe; controlling the clamping device to move, so that the machine tool probe contacts the standard sample, so that the machine tool probe measures the size of the standard sample, and records the number of times the probe of the machine tool probe is triggered, and adds 1 to the detection number and adds the number of times the probe is triggered to the total number of times the probe is triggered; when the detection number is less than a first preset number, the number of times the probe is triggered is cleared to zero and the step of controlling the clamping device to move, so that the machine tool probe contacts the standard sample, so that the machine tool probe measures the size of the standard sample, and records the number of times the probe of the machine tool probe is triggered, and adds 1 to the detection number and adds the number of times the probe is triggered to the total number of times the probe is triggered is returned to be executed; when the detection number is equal to the first preset number and the total number of times the probe is triggered is greater than a second preset number, an abnormal detection information is displayed.

2. The detection method according to claim 1, characterized in that, The detection method further comprises: obtaining a size difference between the measured size and a preset standard size; when the size difference is outside a preset tolerance range, adding 1 to the number of abnormal sizes; when the detection number is equal to the first preset number, the total number of times the probe is triggered is equal to the second preset number, and the ratio of the number of abnormal sizes to a preset size number is less than or equal to a preset ratio, a detection qualified information is displayed.

3. The detection method according to claim 2, characterized in that, The preset ratio is in the range of 0 to 0.

1.

4. The detection method according to claim 3, characterized in that, The preset ratio is in the range of 0 to 0.

05.

5. The method of claim 1, wherein The detection method further comprises: when the detection number is equal to the first preset number, a detection completion information is displayed.

6. The method of claim 1, wherein The detection method further comprises: when the detection number is less than the first preset number, a detection in progress information is displayed.

7. The method of claim 1, wherein, The control of the clamping device to move, so that the machine tool probe contacts the standard sample, so that the machine tool probe measures the size of the standard sample, and records the number of times the probe of the machine tool probe is triggered, and adds 1 to the detection number and adds the number of times the probe is triggered to the total number of times the probe is triggered, comprises: controlling the clamping device to move in a reference coordinate system, so that the probe of the machine tool probe clamped by the clamping device contacts the side walls on both sides of the standard sample along the axial direction of the X axis of the reference coordinate system in turn, and obtaining first and second coordinates when the probe of the machine tool probe contacts the side walls of the standard sample; the difference between the X coordinate value of the first coordinate and the X coordinate value of the second coordinate is taken as a first measured size; the number of times the probe is triggered is added to the total number of times the probe is triggered; the detection number is added by 1.

8. The method of claim 1, wherein, The control of the clamping device to move, so that the machine tool probe contacts the standard sample, so that the machine tool probe measures the size of the standard sample, and records the number of times the probe of the machine tool probe is triggered, and adds 1 to the detection number and adds the number of times the probe is triggered to the total number of times the probe is triggered, comprises: The clamping device is controlled to move in a reference coordinate system, so that the probe of the machine tool probe clamped by the clamping device contacts the side wall on the side away from the reference surface along the axial direction of the Z axis of the reference coordinate system, and a third coordinate when the probe of the machine tool probe contacts the side wall of the standard sample is obtained; The difference between the Z coordinate value of the third coordinate and the Z coordinate value of the reference surface is taken as a second measurement size; The trigger number is added to the total trigger number; The detection number is added by 1.

9. An electronic device, comprising: The electronic device comprises a processor and a memory, and the processor is used to execute a computer program stored in the memory to realize the detection method in any one of claims 1 to 8.

10. A storage medium, characterized by The storage medium stores at least one instruction, and the at least one instruction is executed by the processor to realize the detection method in any one of claims 1 to 8.