Online intelligent hardness detection system

Through the hardness online intelligent detection system, automatic detection is realized using components such as visual detection, code scanning and hardness detection units, which solves the problem of low manual detection efficiency and false detection, improves detection efficiency and reduces manual participation.

CN118670907APending Publication Date: 2024-09-20QINHUANGDAO HUARISHENG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411134571.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing hardness testing mainly relies on manual operation, which is prone to missed detections, incorrect detections, and incorrect detections, resulting in products with unqualified workpiece quality flowing into the production line and requiring a lot of manpower investment.

Method used

Design a hardness online intelligent detection system, including a visual detection unit, a code scanning unit, a hardness detection unit, a data processing unit and a robot unit. It automatically identifies the type of workpiece, scans the QR code, performs hardness detection, and grasps the workpiece based on the detection results. Classify and implement automated detection and processing.

Benefits of technology

Automated detection is realized, the efficiency of workpiece hardness detection is improved, misdetection is avoided, subsequent traceability is facilitated, and manual participation is reduced through the automatic system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118670907A
    Figure CN118670907A
Patent Text Reader

Abstract

The invention relates to a hardness online intelligent detection system, and belongs to the field of hardness detection systems, the hardness online intelligent detection system comprises a visual detection unit, a code scanning unit, a hardness detection unit, a data processing unit and a robot unit, the visual detection unit is used for identifying the workpiece type of a to-be-detected workpiece, obtaining an identification result and outputting the identification result; the code scanning unit is used for performing two-dimensional code scanning on the to-be-detected workpiece to obtain a scanning result and outputting the scanning result; the hardness detection unit is used for detecting the hardness of the to-be-detected workpiece to obtain a hardness detection result and outputting the hardness detection result; the data processing unit is used for receiving, storing, processing and outputting the identification result, the scanning result and the hardness detection result; and the robot unit is used for grabbing and classifying the to-be-detected workpiece according to the identification result, the scanning result and the hardness detection result. The device has the effect of improving the workpiece hardness detection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of hardness detection systems, and in particular to an online intelligent hardness detection system. Background Art

[0002] Hardness is the ability of a material to resist being pressed into its surface by a harder object.

[0003] Existing hardness testing is mostly done manually. The disadvantages of manual hardness testing are: due to the particularity of hardness testing, there are strict requirements on the testing posture and testing contact surface. Manual testing by operators is prone to omissions, wrong detections, and misdetection. When the above situations occur, the quality of the workpiece cannot be guaranteed, and products with unqualified hardness will flow into the "machining" production line, causing irreversible effects. In order to meet the production needs of the production line, manual hardness testing requires a lot of manpower. Summary of the invention

[0004] In order to improve the efficiency of workpiece hardness detection, the present application provides an online intelligent hardness detection system.

[0005] In a first aspect of the present application, an online intelligent hardness detection system is provided.

[0006] An online intelligent hardness detection system, comprising: An online intelligent hardness detection system, characterized in that it comprises: a visual detection unit, the visual detection unit is used to identify the type of the workpiece to be detected, obtain the identification result, and output it; A code scanning unit, which is used to scan a two-dimensional code of a workpiece to be inspected, obtain a scanning result, and output it; A hardness testing unit, which is used to perform hardness testing on the workpiece to be tested, obtain hardness testing results, and output them; A data processing unit, the data processing unit is used to receive the recognition result, the scanning result and the hardness test result, and store, process and output them; A robot unit is used to grasp and classify the workpieces to be inspected according to the recognition results, the scanning results and the hardness test results.

[0007] In a possible implementation, the data processing unit is connected to the visual inspection unit, the code scanning unit, the hardness inspection unit and the robot unit respectively through PLC.

[0008] In a possible implementation, the PLC is connected to the hardness detection unit via Ethernet.

[0009] In a possible implementation manner: the visual detection unit is configured as: Construct a spatial rectangular coordinate system; Obtaining the coordinates of each vertex of the workpiece to be inspected in a spatial rectangular coordinate system; The type of the workpiece to be detected is identified according to the coordinates and a preset coordinate comparison table to obtain an identification result. The preset coordinate comparison table pre-stores the coordinates of the workpiece to be detected and the corresponding workpiece type.

[0010] In a possible implementation manner: the visual detection unit is configured as: If the recognition result is successful, it means that the type of the workpiece to be detected has been recorded; If the recognition result is recognition failure, it means that the workpiece type of the workpiece to be detected has not been recorded.

[0011] In a possible implementation manner: the code scanning unit is configured as: If the scanning result is that the code is scanned successfully, it means that the workpiece to be inspected is complete; If the scanning result is a scanning failure, it means that the workpiece to be inspected is incomplete.

[0012] In a possible implementation manner: the hardness detection unit is configured as: A first detection point and a second detection point of the workpiece to be detected are determined according to the type and coordinates of the workpiece.

[0013] In a possible implementation manner: the hardness detection unit is configured as: Performing a first hardness test on a first test point and a second test point of the workpiece to be tested to obtain a first set of hardness values; If the hardness values ​​in the first group of hardness values ​​all reach the preset hardness values, it means that the hardness of the workpiece to be tested meets the standard, and the first group of hardness values ​​is output; If one or two hardness values ​​in the first group of hardness values ​​do not reach the preset hardness value, performing a second hardness test on the first detection point and the second detection point of the workpiece to be detected to obtain a second group of hardness values; If the hardness values ​​in the second group of hardness values ​​all reach the preset hardness values, it means that the hardness of the workpiece to be tested meets the standard, and the second group of hardness values ​​is output; If any hardness value in the second group of hardness values ​​does not reach the preset hardness value, it means that the hardness of the workpiece to be tested does not meet the standard, and the second group of hardness values ​​is output.

[0014] In a possible implementation: the robot unit is configured as: If the workpiece to be detected is successfully identified, the workpiece to be detected is grabbed into the code scanning area; If the code of the workpiece to be tested is scanned successfully, the workpiece to be tested is placed in the hardness testing area; If the code scanning of the workpiece to be inspected fails, the workpiece to be inspected is placed in the workpiece code scanning failure area; If the hardness of the workpiece to be tested meets the standard, the workpiece to be tested is placed in the finished workpiece area, and the workpiece to be tested that meets the hardness standard is a finished workpiece; If the hardness of the workpiece to be detected does not meet the standard, the workpiece to be detected is placed in a workpiece waste area, and the workpiece to be detected is a waste workpiece if the hardness does not meet the standard.

[0015] In a possible implementation manner: the data processing unit is configured to: Counting the number of all the workpieces to be inspected in this batch that are finished workpieces; Retrieve the final hardness values ​​of all the workpieces to be tested in this batch that are finished workpieces; if the first group of hardness values ​​of the workpieces to be tested reaches the preset hardness value, the average value of the first group of hardness values ​​is the final hardness value; if the first hardness value of the workpieces to be tested does not reach the preset hardness value, but the second group of hardness values ​​reaches the preset hardness value, the average value of the second group of hardness values ​​is the final hardness value; Calculate the variance of the batch of workpieces to be tested as finished workpieces according to the number of workpieces and the final hardness value; Comparing the variance with a preset variance; If the variance is less than the preset variance, the manufacturing material of the current batch of workpieces to be tested is used as the reference material for the next batch of workpieces to be tested; If the variance is not less than the preset variance, multiple historical variances of multiple historical batches of the same type of workpieces as the current batch of workpieces to be inspected are retrieved; Sorting the variance and multiple historical variances to obtain a sorting result; The manufacturing materials of the batch of workpieces to be inspected with the minimum value in the sorting result are selected as the reference materials for the next batch of workpieces to be inspected.

[0016] In summary, the present application includes at least one of the following beneficial technical effects: 1. This application is implemented by an automatic system, does not require human intervention, and can improve the efficiency of workpiece hardness testing.

[0017] 2. Avoid false detection by performing secondary hardness test on the workpiece to be tested.

[0018] 3. By collecting and filing the workpiece type, scanning results and hardness test results of the workpiece to be tested, it is convenient to trace the workpiece to be tested later. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a system schematic diagram of an online intelligent hardness detection system according to an embodiment of the present application.

[0020] Figure 2 It is a system flow chart of an online intelligent hardness detection system according to an embodiment of the present application.

[0021] Figure 3 It is a method schematic diagram of an online intelligent hardness detection system according to an embodiment of the present application.

[0022] Explanation of the reference numerals: 100, visual inspection unit; 200, code scanning unit; 300, hardness inspection unit; 400, data processing unit; 500, robot unit; 600, PLC; 700, Ethernet. DETAILED DESCRIPTION

[0023] The present application is further described in detail below with reference to the accompanying drawings.

[0024] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, those skilled in the art may make modifications to the present embodiment without any creative contribution as needed. However, as long as it is within the scope of the claims of the present application, it shall be protected by the patent law.

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0026] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.

[0027] Reference Figure 1 , Figure 2 and Figure 3 A hardness online intelligent detection system includes a visual inspection unit 100, a code scanning unit 200, a hardness detection unit 300, a data processing unit 400 and a robot unit 500.

[0028] Among them, the visual inspection unit 100, the code scanning unit 200, the hardness detection unit 300 and the robot unit 500 are all connected to the data processing unit 400 through the PLC600 (programmable logic controller), and the PLC600 transmits data with the hardness detection unit 300 through the Ethernet 700. The visual inspection unit 100 is used to identify the type of the workpiece to be inspected, obtain the identification result, and output it; the code scanning unit 200 is used to scan the two-dimensional code of the workpiece to be inspected, obtain the scanning result, and output it; the hardness detection unit 300 is used to perform hardness detection on the workpiece to be inspected, obtain the hardness detection result, and output it; the data processing unit 400 is used to receive the identification result, scanning result and hardness detection result, and store, process and output it; the robot unit 500 is used to grab and classify the workpiece to be inspected according to the identification result, scanning result and hardness detection result.

[0029] The visual inspection unit 100 is configured as follows: after the workpiece to be inspected is pre-processed for fluorescence inspection, it is conveyed to the area of ​​the visual inspection unit 100 by a conveyor belt, the visual inspection unit 100 constructs a spatial rectangular coordinate system, then obtains the coordinates of each vertex of the workpiece to be inspected in the spatial rectangular coordinate system, identifies the type of the workpiece to be inspected according to the coordinates and a preset coordinate comparison table, obtains the identification result, and transmits the identification result to the data processing unit 400; the preset coordinate comparison table pre-stores the coordinates of the workpiece to be inspected at different placement angles and the corresponding workpiece types. In the embodiment of the present application, the visual inspection unit 100 is a 3D visual system.

[0030] If the recognition result is successful, it means that the workpiece type of the workpiece to be detected has been recorded; if the recognition result is failed, it means that the workpiece type of the workpiece to be detected has not been recorded. At this time, the workpiece to be detected is conveyed by the conveyor belt to the workpiece recognition failure area.

[0031] The code scanning unit 200 is configured to: use a code scanning camera to scan the QR code installed on the surface of the workpiece to be inspected, and obtain a scanning result. If the scanning result is a successful scanning, it means that the workpiece to be inspected is complete; if the scanning result is a failed scanning, it means that the workpiece to be inspected is incomplete, and the scanning results of the workpiece to be inspected are sent to the data processing unit 400.

[0032] The hardness testing unit 300 is configured to: determine the first detection point and the second detection point of the workpiece to be tested according to the workpiece type, coordinates and the preset coordinate comparison table, and use the Leeb hardness tester to perform hardness testing on the first detection point and the second detection point of the workpiece to be tested to obtain a hardness test result. It should be noted that the preset coordinate comparison table also pre-stores the coordinates of the first detection point and the second detection point of the workpiece to be tested.

[0033] Perform a first hardness test on a first detection point and a second detection point of the workpiece to be detected to obtain a first group of hardness values, the first group of hardness values ​​including the hardness value of the first detection point and the hardness value of the first detection point; If both hardness values ​​in the first group of hardness values ​​reach the preset hardness values, it means that the hardness of the workpiece to be tested meets the standard, and the first group of hardness values ​​is output; If one or two hardness values ​​in the first group of hardness values ​​do not reach the preset hardness value, a second hardness test is performed on the first detection point and the second detection point of the workpiece to be detected to obtain a second group of hardness values, the second group of hardness values ​​including the hardness value of the second detection of the first detection point and the hardness value of the second detection of the second detection point; If the hardness values ​​in the second group of hardness values ​​all reach the preset hardness values, it means that the hardness of the workpiece to be tested meets the standard, and the second group of hardness values ​​is output; If any hardness value in the second group of hardness values ​​does not reach the preset hardness value, it means that the hardness of the workpiece to be tested does not meet the standard, and the second group of hardness values ​​is output. In this case, the second group of hardness values ​​has the following conditions: if the hardness value of the first detection point does not reach the preset hardness value, there is no need to detect the second detection point; if the hardness value of the first detection point does not reach the preset hardness value, it is necessary to detect the second detection point. In the embodiment of the present application, the hardness detection unit 300 includes a Leeb hardness tester, a hardness detection fixture for placing the Leeb hardness tester, and a data analysis and transmission system connected to the hardness fixture signal.

[0034] It can be known that the hardness test result includes whether the workpiece to be tested meets the standard and whether the workpiece to be tested does not meet the standard. On the premise that the hardness of the workpiece to be tested meets the standard, if the first group of hardness values ​​reaches the preset hardness value, the hardness test result also includes the first group of hardness values ​​of the workpiece to be tested; if the first group of hardness values ​​does not reach the preset hardness value, but the second group of hardness values ​​reaches the preset hardness value, the hardness test result also includes the first group of hardness values ​​and the second group of hardness values ​​of the workpiece to be tested; on the premise that the hardness of the workpiece to be tested does not meet the standard, the hardness test result also includes the first group of hardness values ​​and the second group of hardness values ​​of the workpiece to be tested.

[0035] The data processing unit 400 is configured as follows: the data processing unit 400 receives the recognition result output from the visual inspection unit 100, the scanning result from the code scanning unit 200, and the hardness detection result from the hardness detection unit 300. On the premise that the recognition result is a successful recognition and the scanning result is a successful code scanning, the data processing unit 400 records the workpiece type, QR code, and hardness detection result of the workpiece to be detected. Subsequently, the data processing unit 400 sends the recognition result, the code scanning result, and the hardness detection result to the robot unit 500, and sends the workpiece type and the coordinates of each vertex of the workpiece to be detected to the hardness detection unit 300. It should be noted that the purpose of recording the workpiece type, QR code, and hardness detection result of the workpiece to be detected is to facilitate subsequent staff to trace and query the workpiece data to be detected. In the embodiment of the present application, the data processing unit 400 is a computer system with a display screen and a host.

[0036] After the data of the workpieces to be inspected are filed, the number of all the workpieces to be inspected in this batch that are finished workpieces is counted; Retrieve the final hardness values ​​of all the workpieces to be tested in this batch as finished workpieces. If the first group of hardness values ​​of the workpieces to be tested reaches the preset hardness value, the average value of the first group of hardness values ​​is the final hardness value. If the first hardness value of the workpieces to be tested does not reach the preset hardness value, but the second group of hardness values ​​reaches the preset hardness value, the average value of the second group of hardness values ​​is the final hardness value. Calculate the variance of the batch of workpieces to be tested as finished workpieces based on the number of workpieces and the final hardness value; Compare the variance with the preset variance; If the variance is less than the preset variance, the production material of the current batch of workpieces to be tested will be the reference material for the next batch of workpieces to be tested; If the variance is not less than the preset variance, multiple historical variances of multiple historical batches of the same type of workpieces as the current batch of workpieces to be inspected are retrieved; the variance and the multiple historical variances are sorted in order from large to small (or small to large) to obtain the sorting result; the manufacturing material of the batch of workpieces to be inspected with the minimum value in the sorting result is selected as the reference material for the next batch of workpieces to be inspected.

[0037] Since the size of the variance can reflect the degree of dispersion of the workpieces to be tested in this batch, the larger the variance, the greater the degree of dispersion, and the smaller the variance, the smaller the degree of dispersion. The smaller the variance, the more perfect the manufacturing process of the manufacturer, which can enhance the buyer's confidence in the subsequent buyer's random inspection process.

[0038] The robot unit 500 is configured as follows: The robot unit 500 receives the recognition result, the scanning result and the hardness detection result from the data processing unit 400 .

[0039] If the workpiece to be inspected is successfully identified, the workpiece to be inspected is grabbed into the code scanning area; If the code of the workpiece to be tested is scanned successfully, the workpiece to be tested is placed in the hardness testing area; If the scan code of the workpiece to be inspected fails, the workpiece to be inspected is placed in the workpiece scan code failure area; If the hardness of the workpiece to be tested meets the standard, the workpiece to be tested is placed in the finished workpiece area, and the workpiece to be tested is considered a finished workpiece if its hardness value meets the standard; If the hardness of the workpiece to be tested does not meet the standard, the workpiece to be tested will be placed in the workpiece waste area, and the workpiece to be tested whose hardness value does not meet the standard will be a waste workpiece.

[0040] It should be noted that the workpiece recognition failure area and the workpiece scanning failure area are unified areas, the scanning area is the area where the scanning unit 200 operates, and the workpiece waste area is the area where the workpiece cannot be used. In the embodiment of the present application, the robot unit 500 is a robot arm system.

[0041] An online intelligent hardness detection method includes: S100: Identifying the type of the workpiece to be inspected by the visual inspection unit 100 to obtain an identification result; If the recognition result is successful, the workpiece to be inspected is grabbed by the robot system and placed in the code scanning area; if the recognition result is failed, the workpiece to be inspected is transported to the workpiece recognition failure area by the conveyor belt.

[0042] S200: Scanning the QR code of the workpiece to be inspected by the code scanning unit 200 to obtain a scanning result; If the scanning result is a successful code scanning, the robot system will place the workpiece to be tested in the hardness testing area. If the scanning result is a failed code scanning, the robot system will place the workpiece to be tested in the workpiece code scanning failure area.

[0043] S300: performing a first hardness test on a first test point and a second test point of the workpiece to be tested by the hardness testing unit 300; If both hardness values ​​in the first group of hardness values ​​in the first hardness test reach the preset hardness values, the workpiece to be tested is placed in the workpiece finished product area by the robot system; If one or two hardness values ​​in the first group of hardness values ​​in the first hardness test do not reach the preset hardness value, a second hardness test is performed on the first test point and the second test point of the workpiece to be tested by the hardness testing unit 300; If both hardness values ​​in the second group of hardness values ​​in the second hardness test reach the preset hardness values, the workpiece to be tested is placed in the finished workpiece area by the robot system; If any hardness value in the second group of hardness values ​​in the second hardness test does not reach the preset hardness value, the workpiece to be tested is placed in the workpiece waste area through the robot system.

[0044] In summary, the visual inspection unit 100, the code scanning unit 200, the hardness inspection unit 300, the data processing unit 400 and the robot unit 500 are all implemented through an automatic system, without the need for human intervention, and can improve the efficiency of workpiece hardness inspection.

[0045] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present application (but not limited to) by each other to form a technical solution.

Claims

1. An online intelligent hardness detection system, characterized in that: include: A visual inspection unit (100), the visual inspection unit (100) being used to identify the type of the workpiece to be inspected, obtain an identification result, and output it; A code scanning unit (200), the code scanning unit (200) is used to scan a two-dimensional code of a workpiece to be inspected, obtain a scanning result, and output it; A hardness detection unit (300), the hardness detection unit (300) is used to perform hardness detection on a workpiece to be detected, obtain a hardness detection result, and output it; A data processing unit (400), the data processing unit (400) is used to receive the recognition result, the scanning result and the hardness test result, and store, process and output them; A robot unit (500) is used to grasp and classify workpieces to be inspected according to recognition results, scanning results and hardness inspection results.

2. According to claim 1, the online intelligent hardness detection system is characterized by: The data processing unit (400) is respectively connected to the visual inspection unit (100), the code scanning unit (200), the hardness inspection unit (300) and the robot unit (500) via a PLC (600).

3. The online intelligent hardness detection system according to claim 2 is characterized in that: The PLC (600) is connected to the hardness detection unit (300) via Ethernet (700).

4. The online intelligent hardness detection system according to claim 1 is characterized in that: The visual inspection unit (100) is configured as follows: Construct a spatial rectangular coordinate system; Obtaining the coordinates of each vertex of the workpiece to be inspected in a spatial rectangular coordinate system; The workpiece type of the workpiece to be detected is identified according to the coordinates and a preset coordinate comparison table to obtain an identification result. The preset coordinate comparison table pre-stores the coordinates of the workpiece to be detected and the corresponding workpiece type.

5. The online intelligent hardness detection system according to claim 4 is characterized in that: The visual inspection unit (100) is configured as follows: If the recognition result is successful, it means that the type of the workpiece to be detected has been recorded; If the recognition result is recognition failure, it means that the workpiece type of the workpiece to be detected has not been recorded.

6. The online intelligent hardness detection system according to claim 5, characterized in that: The code scanning unit (200) is configured as follows: If the scanning result is that the code is scanned successfully, it means that the workpiece to be inspected is complete; If the scanning result is a scanning failure, it means that the workpiece to be inspected is incomplete.

7. The online intelligent hardness detection system according to claim 6, characterized in that: The hardness detection unit (300) is configured as follows; A first detection point and a second detection point of the workpiece to be detected are determined according to the type and coordinates of the workpiece.

8. The online intelligent hardness detection system according to claim 7, characterized in that: The hardness detection unit (300) is configured as follows; Performing a first hardness test on a first test point and a second test point of the workpiece to be tested to obtain a first set of hardness values; If the hardness values ​​in the first group of hardness values ​​all reach the preset hardness values, it means that the hardness of the workpiece to be tested meets the standard, and the first group of hardness values ​​is output; If one or two hardness values ​​in the first group of hardness values ​​do not reach the preset hardness value, performing a second hardness test on the first detection point and the second detection point of the workpiece to be detected to obtain a second group of hardness values; If the hardness values ​​in the second group of hardness values ​​all reach the preset hardness values, it means that the hardness of the workpiece to be tested meets the standard, and the second group of hardness values ​​is output; If any hardness value in the second group of hardness values ​​does not reach the preset hardness value, it means that the hardness of the workpiece to be tested does not meet the standard, and the second group of hardness values ​​is output.

9. The online intelligent hardness detection system according to claim 8, characterized in that: The robot unit (500) is configured as follows; If the workpiece to be detected is successfully identified, the workpiece to be detected is grabbed into the code scanning area; If the code of the workpiece to be tested is scanned successfully, the workpiece to be tested is placed in the hardness testing area; If the code scanning of the workpiece to be inspected fails, the workpiece to be inspected is placed in the workpiece code scanning failure area; If the hardness of the workpiece to be tested meets the standard, the workpiece to be tested is placed in the finished workpiece area, and the workpiece to be tested that meets the hardness standard is a finished workpiece; If the hardness of the workpiece to be tested does not meet the standard, the workpiece to be tested is placed in a waste workpiece area, and the workpiece to be tested is a waste workpiece if the hardness value meets the standard.

10. The online intelligent hardness detection system according to claim 8, characterized in that: The data processing unit (400) is configured to: Counting the number of all the workpieces to be inspected in this batch that are finished workpieces; Retrieve the final hardness values ​​of all the workpieces to be tested in this batch that are finished workpieces; if the first group of hardness values ​​of the workpieces to be tested reaches the preset hardness value, the average value of the first group of hardness values ​​is the final hardness value; if the first hardness value of the workpieces to be tested does not reach the preset hardness value, but the second group of hardness values ​​reaches the preset hardness value, the average value of the second group of hardness values ​​is the final hardness value; Calculate the variance of the batch of workpieces to be tested as finished workpieces according to the number of workpieces and the final hardness value; Comparing the variance with a preset variance; If the variance is less than the preset variance, the manufacturing material of the current batch of workpieces to be tested is used as the reference material for the next batch of workpieces to be tested; If the variance is not less than the preset variance, multiple historical variances of multiple historical batches of the same type of workpieces as the current batch of workpieces to be inspected are retrieved; Sorting the variance and multiple historical variances to obtain a sorting result; The manufacturing materials of the batch of workpieces to be inspected with the minimum value in the sorting result are selected as the reference materials for the next batch of workpieces to be inspected.