Method, computer program product and system for identifying unqualified magnetic block based on change state of magnetic detection value

By identifying the changing state and maximum value of the magnetic detection value of the magnetic block, the problems of mis-detection and missed detection in the existing magnetic block detection system are solved, the accuracy of magnetic block detection is improved, and a more efficient full inspection process is achieved.

CN118884318APending Publication Date: 2024-11-01GUANGDONG UNIV OF TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411051845.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

Due to the stability of the transmission equipment and environmental factors, the existing magnetic block detection system may cause abnormal situations such as error detection and missed detection in batch magnetic block detection, which reduces the accuracy of full inspection of magnetic blocks.

Method used

By identifying the change state of the magnetic detection value of the magnetic block, especially the maximum value, we judge whether the number of magnetic detection values ​​is within the preset ratio range. If so, compare the maximum value with the initialization threshold to determine whether the magnetic block is unqualified. In turn, improve detection accuracy.

Benefits of technology

By identifying the magnetic maximum value and data amount of the magnetic block, accurately judge whether the magnetic block is qualified or not, reduce mis-checking and missed inspections, and improve the accuracy of batch magnetic block detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118884318A_ABST
    Figure CN118884318A_ABST
Patent Text Reader

Abstract

The invention provides a method, a computer program product and a system for identifying an unqualified magnetic block based on a magnetic detection value change state, and the method comprises the steps: enabling a plurality of magnetic blocks to continuously pass through a magnetic induction intensity detection position, and continuously collecting a plurality of magnetic detection values; identifying a monomer maximum value in the acquired magnetic detection values; for the currently collected maximum value, identifying the number S of the magnetic detection values collected between the maximum value and the previous maximum value, obtaining the data volume N of the magnetic detection values of the single magnetic block, and judging whether the number S of the magnetic detection values is within the preset ratio range of the data volume N or not; and if the judgment result is yes, the maximum value of each single body is compared with the value of the initialization threshold value, and if the maximum value of each single body is lower than the initialization threshold value, the corresponding magnetic block is judged to be an unqualified magnetic block. By judging whether the number S of the magnetic detection values collected between the current maximum value and the previous maximum value is within the preset range or not, the abnormal detection conditions of wrong detection and missing detection can be found, and the detection accuracy of full detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to a method for identifying unqualified magnetic blocks based on the change state of magnetic detection values, a computer program product and a magnetic block detection system. Background Art

[0002] Due to its repeatable disassembly and assembly characteristics, magnetic blocks are widely used in consumer fields such as home entertainment, outdoor adventure, and educational toys. The most important process in producing magnetic blocks is to magnetize the block magnetic material. When the magnetic material reaches magnetization saturation, the magnetic field inside it will present a regular, periodically distributed spatial field, forming a magnetic block with stable magnetism. However, the volume of magnetic blocks in the consumer field is relatively small, and the consistency of the dimensional accuracy of mass-produced magnetic blocks is low. This results in the magnetization stage of the magnetic material. Some magnetic materials cannot fully reach the magnetization saturation state and show a state of leakage, which manifests as the defect of insufficient magnetic attraction in the magnetic block. Therefore, an important process in the production process of magnetic blocks is magnetic detection.

[0003] Magnetic detection usually uses a Gauss meter or Hall effect sensor to detect the magnetic induction intensity of the magnetized magnetic block. The magnetic block whose magnetic induction intensity is not within the standard range is a defective product with unqualified magnetism and is rejected. In order to achieve magnetic detection of all magnetic block products, it is usually necessary to adopt an automated or semi-automated method to improve efficiency. The current commonly used method is to place the magnetic blocks on the conveyor belt at the same intervals. When the conveyor belt starts, the magnetic blocks are continuously conveyed. The detection position of the magnetic induction intensity sensor is set in the middle of the conveyor belt. The magnetic induction intensity sensor sets the detection time according to the conveying speed of the conveyor belt. The magnetic blocks that arrive at the detection position are subjected to magnetic detection, and the rejection device is set at the end of the conveyor belt to reject the magnetic blocks with unqualified magnetism. This set of magnetic block detection system can realize the full inspection and defective product rejection of batch magnetic blocks.

[0004] However, due to the stability of the conveying equipment and the environmental factors at the detection site, the time for each magnetic block on the conveyor belt to arrive at the detection position may deviate. This may lead to abnormal detection such as false detection and missed detection during the continuous detection of batch magnetic blocks, reducing the accuracy of the full magnetic block inspection. Summary of the invention

[0005] The inventor discovered that the magnetic induction intensity distribution of a magnetic block has the characteristic of being high at the center and low at the edge, that is, if a magnetic induction intensity test is performed continuously on a magnetic block, the multiple magnetic detection values ​​obtained will gradually increase from low to gradually decrease, and the maximum value is the magnetic detection value at the center of the magnetic block. Then, when a batch of magnetic blocks are continuously tested for magnetic induction intensity, each time a magnetic maximum value is detected, it means that a magnetic block has been detected. It is only necessary to determine whether the maximum value of the magnetic detection value of the magnetic block is higher than the qualified threshold value to identify unqualified magnetic blocks.

[0006] To this end, the inventors have studied the changing state of the magnetic detection values ​​of magnetic blocks, especially the maximum value, and provided a method for identifying unqualified magnetic blocks based on the changing state of magnetic detection values, including the following steps, in order to solve the technical problem to be solved by the present invention: how to perform a full inspection of batch magnetic blocks with high detection accuracy.

[0007] Step S1. Multiple magnetic blocks continuously pass through the magnetic induction intensity detection position and continuously collect multiple magnetic detection values;

[0008] Step S2. Identify a single maximum value in the collected magnetic detection values, wherein the single maximum value refers to: among a plurality of consecutive magnetic detection value data within a preset range before and after the single maximum value, the data before the single maximum value has an upward trend, and the data after the single maximum value has a downward trend;

[0009] The maximum value confirmation step is to identify the number S of magnetic detection values ​​collected between the current maximum value and the previous maximum value, obtain the data volume N of the magnetic detection value of a single magnetic block, and determine whether the number S of magnetic detection values ​​is within a preset ratio range of the data volume N. If the determination result is yes, step S3 is executed;

[0010] Step S3: respectively compare the numerical values ​​of each monomer maximum value with the initialization threshold value. If the monomer maximum value is lower than the initialization threshold value, the corresponding magnetic block is judged to be an unqualified magnetic block.

[0011] Furthermore, in the maximum value confirmation step, the preset ratio range refers to being greater than K1N and less than K2N, and K1∈(0,1), K2∈(1,2), and if the judgment result is yes, the maximum value is considered valid.

[0012] Furthermore, if the judgment result is that the number S of magnetic detection values ​​is less than K1N, it is judged that the current maximum value is not the center point of the magnetic block, and the maximum value is discarded.

[0013] Furthermore, if the judgment result is that the number S of magnetic detection values ​​is greater than K2N but less than K3N, K3∈(2,3) determines that there is an undetected maximum value between the current maximum value and the previous maximum value, and issues a reminder signal.

[0014] Furthermore, the data volume N of the magnetic detection value of the single magnetic block refers to: obtaining the length of the single magnetic block, the moving speed of the magnetic block, and the sampling frequency of the magnetic induction intensity detection; calculating the time interval between two adjacent detections according to the sampling frequency, multiplying the calculated time interval by the moving speed of the magnetic block to calculate the moving distance of the magnetic block, and dividing the length of the single magnetic block by the moving distance to calculate the data volume N of the magnetic detection value of the theoretical single magnetic block.

[0015] Furthermore, the real-time phase difference data of the center points of the two magnetic blocks is recorded as y, and the data volume N of the magnetic detection value of a single magnetic block is cyclically updated by the following formula: the updated N=N*P1+y*P2, P1 and P2 are weight percentages respectively, and P1+P2=1.

[0016] Furthermore, the plurality of magnetic blocks are attracted to each other to form a magnetic block chain and detect positions in sequence through magnetic induction intensity.

[0017] Furthermore, the initialization threshold is: take a plurality of magnetic blocks that have been manually detected as qualified, execute the steps S1 and S2, record the maximum value of each magnetic block, and take the minimum value as the initialization threshold.

[0018] Furthermore, the number of the multiple magnetic blocks in step S1 is less than one fifth of all the magnetic blocks to be detected, and the above steps S1-S3 are executed in a loop until all the magnetic blocks are identified.

[0019] The present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method for identifying unqualified magnetic blocks based on the change state of magnetic detection values ​​as described above.

[0020] The present invention also provides a system for identifying unqualified magnetic blocks based on the change state of magnetic detection values, comprising interconnected processors and the computer program product as described above.

[0021] The present invention has the following beneficial effects: there is a difference in magnetic induction intensity between the edge and the center of a magnetic block. Generally, a magnetic maximum value appears at the center of a magnetic block. Therefore, a magnetic block can be located by finding the magnetic maximum value based on the change state of the magnetic detection value. The lengths of batch magnetic blocks are almost the same, so the data volume N of the magnetic detection value of a single magnetic block is close. Therefore, by judging whether the number S of magnetic detection values ​​collected between the current maximum value and the previous maximum value is within a preset range, abnormal detection situations such as false detection and missed detection can be discovered, thereby improving the detection accuracy of the full inspection. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 The present invention is a flowchart of a method for identifying unqualified magnetic blocks based on the change state of magnetic detection values. DETAILED DESCRIPTION

[0023] In order to further understand the content of the present invention, the present invention is described in detail in conjunction with the accompanying drawings and embodiments. The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are only used to explain the relevant inventions, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0024] The present embodiment provides a system for identifying unqualified magnetic blocks based on the change state of magnetic detection values, the system includes: a conveying device, a conveyor belt capable of continuously conveying magnetic blocks; a positioning device: to ensure that each magnetic block is in the correct position during the detection process; a sensor: a Hall effect sensor is installed in the middle section of the conveyor belt so as to accurately measure the magnetic field strength of the magnetic block. The Hall effect method measures the magnetic field power by utilizing the voltage signal of the Hall element acting on the magnetic field, and calculates the magnetic force value based on it, with high measurement accuracy. Data acquisition: a data acquisition system to record the change state of the magnetic detection value of each magnetic block in real time. The system also includes a processor and a computer program product connected to each other, the computer program product includes a computer program, and when the computer program is executed by the processor, it implements the following Figure 1 The method for identifying unqualified magnetic blocks based on the change state of magnetic detection values ​​shown includes the following steps.

[0025] Initialize the system before the actual test.

[0026] 1. Calculate the data volume N of the magnetic detection value of a single magnetic block in theory.

[0027] Obtain the length of a single magnetic block, the moving speed of the magnetic block, and the sampling frequency of the magnetic induction intensity detection; calculate the time interval between two adjacent detections based on the sampling frequency, calculate the moving distance of the magnetic block by multiplying the calculated time interval by the moving speed of the magnetic block, and calculate the data volume N of the magnetic detection value of a theoretical single magnetic block by dividing the length of the single magnetic block by the moving distance. The sampling rate is 200Hz, and the theoretical data volume of a single magnetic block can be calculated based on the length and speed. For example, if the magnetic block is 4mm and the speed is 40mm / s, then there are 10 magnetic blocks per second, and the data volume of each magnetic block is N=20.

[0028] 2. Calculate the initialization threshold of the magnetic block maximum value.

[0029] The magnetic induction intensity of magnets in different magnetization batches is different. If a unified magnetic induction intensity detection standard is set for all magnet products, batch misjudgment is prone to occur. Take multiple magnets (such as fifty or more) that have been manually tested as qualified, and perform the following steps S1 and S2 to record the maximum value of each magnet, and take the minimum value as the initialization threshold. When the magnet is not magnetized well, the maximum value of the magnet will be low or even lower than this threshold, and these magnets are considered unqualified.

[0030] Step S1. A plurality of magnetic blocks continuously pass through a magnetic induction intensity detection position, and a plurality of magnetic detection values ​​are continuously collected.

[0031] Among them, multiple magnetic blocks are attracted to each other to form a magnetic block chain, so the multiple magnetic detection values ​​collected continuously can form a continuous waveform. By visually processing the continuous waveform and displaying it to the operator, it is possible to intuitively find situations where the maximum value of the magnetic block is too low, too high, missing, too dense, etc., and correspondingly find detection anomalies such as unqualified magnetic blocks, detection anomalies, missed detections, and wrong detections.

[0032] Step S2: Identify a single maximum value in the collected magnetic detection values. A single maximum value means that among a plurality of consecutive magnetic detection value data in a preset range before and after the single maximum value, the data before the single maximum value has an upward trend, and the data after the single maximum value has a downward trend.

[0033] In actual detection, due to the influence of equipment or environment, the detected maximum value will jitter, and the jitter will cause a false maximum value, that is, the maximum value does not correspond to the center of the magnetic block, or there may be a disappearing maximum value in the real waveform. Therefore, the actual measured single maximum value is confirmed through the following maximum value confirmation steps.

[0034] The maximum value confirmation step is to identify the number S of magnetic detection values ​​collected between the current maximum value and the previous maximum value, obtain the data volume N of the magnetic detection value of a single magnetic block, and determine whether the number S of magnetic detection values ​​is within the preset ratio range of the data volume N. The preset ratio range refers to being greater than K1N and less than K2N, K1∈(0,1), K2∈(1,2). If the judgment result is yes, the maximum value is considered valid. The actual values ​​are K1=0.6, K2=1.6. The measured number of magnetic detection values ​​is greater than 0.6 times and less than 1.6 times the data volume N of a single magnetic block, which belongs to the reasonable range of magnetic offset of the center point of the magnetic block. In actual detection, the preset ratio range is often adjusted according to the material of the magnetic block, magnetization process, etc.

[0035] The judgment result is that the number of magnetic detection values ​​S is less than K1N=0.6*20=12, and the magnetic blocks corresponding to the two center points are adjacent. When the maximum values ​​of the two magnetic detection values ​​are too close, it means that there is one more magnetic block before the next maximum value in the theoretical distance. It is judged that the current maximum value is not the center point of the magnetic block. The magnetic change of this maximum value may be caused by device jitter, and the maximum value is discarded.

[0036] If the result of the judgment is that the number of magnetic detection values ​​S is greater than K2N but less than K3N, K3∈(2,3), it is judged that there is an undetected maximum value between the current maximum value and the previous maximum value, and a reminder signal is issued. The actual value is K2=1.6, K3=2.6, and the calculated data volume of a single magnetic block is greater than 1.6 times. There is a high possibility that there is another magnetic block between the two adjacent maximum values ​​measured. The unqualified rate of magnetization of magnetic blocks is about 0.3%, and the probability of continuous unqualified magnets is extremely low. Therefore, K3 is set to be less than 2.6 times.

[0037] When the distance from the last detected maximum value exceeds the data volume N of a single magnetic block, a maximum value should have been detected, but the magnetic block has magnetic anomalies and other non-magnetic leakage reasons, the maximum value will disappear. For example, the magnetic block itself is an unqualified magnetic block, and the overall magnetism is weak. The maximum value that should have appeared at the center point is affected by the overall magnetism and is low or even a very small value point; or the original minimum value is the edge of the magnetic block, but the magnetism of the center point of the magnetic block is too weak, and the magnetism beside the center point cannot pull the center point to form a maximum value. At this time, the magnetism of the center point becomes a minimum value.

[0038] In order to solve these two situations at the same time, all magnetic detection values ​​from the previous extreme point to the current extreme point are called, and the data of these magnetic detection values ​​are supplemented according to the upward and downward trends. For example, the magnetic detection values ​​with abnormal trends are interpolated and supplemented, and their two adjacent magnetic detection values ​​are used to correct them.

[0039] The conveyor belt of this embodiment drives the magnetic block to move by friction, so there is a certain deviation between the actual moving speed of the magnetic block and the theoretical moving speed of the conveyor belt. Therefore, in step S2, the data volume N of the magnetic detection value of a single magnetic block is cyclically updated by the following formula: the data volume of the difference between the center points of the two magnetic blocks obtained in real time is recorded as y, and the updated N=N*P1+y*P2, P1 and P2 are weight percentages respectively, P1+P2=1, and the actual values ​​are P1=0.95 and P2=0.05.

[0040] After each cycle obtains the updated single magnetic block data volume N, wait until the next maximum value is collected, then obtain the actual data volume between the two maximum values, and cycle again to obtain the new single magnetic block data volume N, so that the theoretical value continues to approach the actual true value.

[0041] Step S3. Perform quality detection on all magnetic blocks with valid maximum values, and compare the numerical values ​​of each single maximum value with the initialization threshold. If the single maximum value is lower than the initialization threshold, the corresponding magnetic block is judged as an unqualified magnetic block. For unqualified magnetic blocks, use the clamp to push them out of the magnetic block chain when they pass through the subsequent rejection device.

[0042] 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 the invention 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 concept of the present application. For example, the above features are replaced with the technical features with similar functions disclosed in the present application (but not limited to) to form a technical solution.

Claims

1. A method for identifying unqualified magnetic blocks based on the change state of magnetic detection values, characterized in that: The following steps are involved: Step S1. Multiple magnetic blocks continuously pass through the magnetic induction intensity detection position and continuously collect multiple magnetic detection values; Step S2. Identify a single maximum value in the collected magnetic detection values, wherein the single maximum value refers to: among a plurality of consecutive magnetic detection value data within a preset range before and after the single maximum value, the data before the single maximum value has an upward trend, and the data after the single maximum value has a downward trend; The maximum value confirmation step is to identify the number S of magnetic detection values ​​collected between the current maximum value and the previous maximum value, obtain the data volume N of the magnetic detection value of a single magnetic block, and determine whether the number S of magnetic detection values ​​is within a preset ratio range of the data volume N. If the determination result is yes, step S3 is executed; Step S3: respectively compare the numerical values ​​of each monomer maximum value with the initialization threshold value. If the monomer maximum value is lower than the initialization threshold value, the corresponding magnetic block is judged to be an unqualified magnetic block.

2. The method for identifying unqualified magnetic blocks based on the change state of magnetic detection values ​​according to claim 1 is characterized in that: In the maximum value confirmation step, the preset ratio range refers to being greater than K1N and less than K2N, and K1∈(0,1), K2∈(1,2). If the judgment result is yes, the maximum value is considered valid.

3. The method for identifying unqualified magnetic blocks based on the change state of magnetic detection values ​​according to claim 2 is characterized in that: If the judgment result is that the number S of magnetic detection values ​​is less than K1N, it is judged that the current maximum value is not the center point of the magnetic block and the maximum value is discarded.

4. The method for identifying unqualified magnetic blocks based on the change state of magnetic detection values ​​according to claim 2 is characterized in that: If the judgment result is that the number S of magnetic detection values ​​is greater than K2N but less than K3N, K3∈(2,3) determines that there is an undetected maximum value between the current maximum value and the previous maximum value, and a reminder signal is issued.

5. The method for identifying unqualified magnetic blocks based on the change state of magnetic detection values ​​according to claim 1 is characterized in that: The data volume N of the magnetic detection value of the single magnetic block refers to: obtaining the length of the single magnetic block, the moving speed of the magnetic block, and the sampling frequency of the magnetic induction intensity detection; calculating the time interval between two adjacent detections according to the sampling frequency, multiplying the calculated time interval by the moving speed of the magnetic block to calculate the moving distance of the magnetic block, and dividing the length of the single magnetic block by the moving distance to calculate the data volume N of the magnetic detection value of the theoretical single magnetic block.

6. The method for identifying unqualified magnetic blocks based on the change state of magnetic detection values ​​according to claim 1 is characterized in that: The real-time phase difference data of the center points of the two magnetic blocks is recorded as y, and the data volume N of the magnetic detection value of a single magnetic block is cyclically updated by the following formula: the updated N=N*P1+y*P2, P1 and P2 are weight percentages respectively, and P1+P2=1.

7. The method for identifying unqualified magnetic blocks based on the change state of magnetic detection values ​​according to claim 1 is characterized in that: The plurality of magnetic blocks are attracted to each other to form a magnetic block chain and detect positions in sequence through magnetic induction intensity.

8. The method for identifying unqualified magnetic blocks based on the change state of magnetic detection values ​​according to claim 1 is characterized in that: The initialization threshold is: take a plurality of magnetic blocks that have been manually detected as qualified, execute the steps S1 and S2, record the maximum value of each magnetic block, and take the minimum value as the initialization threshold.

9. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method for identifying unqualified magnetic blocks based on the change state of magnetic detection values ​​as described in any one of claims 1 to 8 are implemented.

10. A system for identifying unqualified magnetic blocks based on the change state of magnetic detection values, characterized in that: The invention comprises interconnected processors and the computer program product according to claim 9.