Surface magnetic detection method and system, storage medium and intelligent terminal

Through the cooperation of automated detection equipment and electromagnetic blocks, the problem of artificial operation error in NdFeB magnetic ring detection is solved, and high-precision and high-efficiency magnet gauge detection is achieved.

CN119001554APending Publication Date: 2024-11-22NINGBO DAXIE DEV ZONE YINXIN MAGNET CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411100374.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In factories using neodymium iron boron magnets, when detecting neodymium iron boron magnetic rings with small sizes, the detector is too small to hold the magnets stably, which can easily lead to reading errors and inconvenient operation. In the existing technology, there is operation. Issues of inconvenience and error.

Method used

A method of meter magnet detection is adopted to automatically detect the center position of the magnet by cooperating with the in-place signal on the detection equipment and the electromagnetic block, and accurately detect the magnet using a right-angle detection ruler and Gauss meter to reduce human operation errors and automatically attract it through the electromagnetic block. The magnet is in place to realize unmanned magnet magnet gauge detection.

Benefits of technology

It improves the accuracy and automation of magnet gauge magnetic detection, reduces labor costs, reduces detection errors, and improves detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119001554A_ABST
    Figure CN119001554A_ABST
Patent Text Reader

Abstract

The invention relates to a surface magnetic detection method and system, a storage medium and an intelligent terminal, and relates to the technical field of magnet performance detection, and the method comprises the steps: obtaining an in-place signal on detection equipment; when the in-place signal is received, a single-face detection step is executed, wherein the single-face detection step comprises the steps of obtaining an in-place image; analyzing the in-place image based on preset magnet features and detection ruler features to determine the size of the magnet; determining a measurement center based on the magnet size and a preset size rule; controlling a probe of a gauss meter to move to a measurement center so as to detect the magnet; the detection result is obtained after the single-face detection step is executed, and the detection result is displayed. The method has the advantages that detection is automatic and accurate, manual operation is not needed, operation errors caused by manual operation are avoided, and the accuracy of magnet surface magnetic detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of magnet performance detection technology, and in particular to a surface magnetism detection method, system, storage medium and intelligent terminal. Background Art

[0002] Neodymium iron boron magnet is a high-performance rare earth permanent magnet material with the chemical formula Nd2Fe14B. It is the strongest permanent magnet currently available commercially, with the characteristics of high remanence, high coercivity and high maximum magnetic energy product (BHmax), which makes it widely used in many fields.

[0003] In factories using NdFeB magnets, handheld Gaussmeters are used to measure small-sized radially polarized NdFeB magnetic rings. The measurement method is: the inspector holds the magnet in one hand and the Gaussmeter probe in the other hand, and then places the probe at the center of the outer surface of the magnet to measure its magnetic force.

[0004] The prior art has the following problems: the inspector may not be able to hold the magnet steadily due to the small size, and may not be able to align the center of the magnet, which may easily lead to reading errors and inconvenient operation. There is still room for improvement. Summary of the invention

[0005] In order to improve the problem that detection personnel may easily cause reading errors and inconvenient operation during detection, the present application provides a surface magnetic detection method, system, storage medium and intelligent terminal.

[0006] In the first aspect, the present application provides a surface magnetic detection method, which adopts the following technical solution: A surface magnetic detection method, comprising: Obtaining an in-position signal on a detection device, the detection device comprising a detection platform and a Gaussmeter, the detection platform being provided with a detection plate having no magnetism for placing a magnet and a right-angle detection ruler for characterizing a scale, the right-angle detection ruler being provided with two inner side surfaces arranged at right angles, both of which abut and fit against the circumferential side wall of the detection plate, the right-angle detection ruler moving up and down in a vertical direction of the detection surface, the Gaussmeter slidingly connected in a three-dimensional direction in the detection platform to align with the magnet placed on the detection plate for detection; When the arrival signal is received, a single-side detection step is performed, and the single-side detection step includes: Acquire an in-place image; analyze the in-place image based on preset magnet features and detection ruler features to determine the magnet size; determine the measurement center based on the magnet size and preset size rules; control the probe of the Gaussmeter to move to the measurement center to detect the magnet; After executing the single-side detection step, the detection result is obtained and displayed.

[0007] By adopting the above technical solution, the corresponding center position is detected after the magnetic block to be detected is placed in the corresponding position, and then the machine controls the Gaussian meter to the center position for magnetic detection. The detection is automated and accurate, and no human operation is required, thus avoiding operational errors caused by human operation and improving the accuracy of magnet surface magnetic detection.

[0008] Optionally, the method for obtaining the arrival signal on the detection device includes: Acquiring pressure signals on two inner surfaces; When both pressure signals exist, the output is a position signal; Outputting a preset no-object signal when both pressure signals are absent; When only one of the pressure signals exists, the in-place operation step is performed, and the in-place operation step includes: obtaining a partial in-place image, and defining the existing pressure signal as the first pressure signal, and defining the non-existent pressure signal as the second pressure signal; analyzing the partial in-place image based on the magnet characteristics and the detection ruler characteristics to determine the size of the single-sided magnet; determining the center of the moving magnetic block based on the single-sided magnet size and the size rule; determining the non-existent direction based on the second pressure signal; determining the attraction operation electromagnetic block number and the attraction current direction based on the non-existent direction, and the detection device is also provided with an electromagnetic block, the electromagnetic block has an electromagnetic block number, the number of the electromagnetic blocks is two and one-to-one correspondingly connected to the side of the detection plate close to the corresponding inner side surface, and the sliding direction of the electromagnetic block is parallel to the corresponding inner side surface; controlling the electromagnetic block corresponding to the attraction operation electromagnetic block number to be energized according to the attraction current direction and the preset moving current size until the second pressure signal is obtained; When the second pressure signal exists, a position signal is output and the electromagnetic block corresponding to the operating electromagnetic block number is powered off.

[0009] By adopting the above technical solution, the pressure on the detection ruler is detected to determine the position, and then the electromagnetic block set on the side is used to adsorb it into place, thereby reducing the placement error caused by manual placement, reducing labor costs, and improving the accuracy of magnet surface magnetic detection.

[0010] Optionally, the specific method for determining the number of the attraction operation electromagnetic block and the attraction current direction based on the non-existence direction includes: Find the corresponding attraction operation electromagnetic block number from the preset induction database based on the non-existent direction; Determine the existent direction based on the non-existent direction; Find the corresponding test electromagnetic block number from the induction database based on the existing direction; After determining the test electromagnetic block number, a current direction test step is performed, and the current direction test step includes: The electromagnetic block corresponding to the control test electromagnetic block number is energized according to the moving current size and the preset forward current direction and determines whether the first pressure signal still exists; if it still exists, the forward current direction is defined as the attraction current direction; if not, the electromagnetic block corresponding to the control test electromagnetic block number is energized according to the moving current size and the preset reverse current direction until the first pressure signal is restored, and the reverse current direction is defined as the attraction current direction.

[0011] By adopting the above technical solution, since one side is bound to fit the detection ruler when it is in place, the electromagnetic block on this side is used for positive and negative power supply test to determine the north and south poles of the magnet, and then the direction of the current that attracts the magnet is obtained, thereby avoiding the situation where blind power supply repels the magnet from the detection board, thereby improving the efficiency of attracting the magnet into place.

[0012] Optionally, if still present, the method of defining the forward current direction as the attracting current direction includes: When the first pressure signal still exists, the electromagnetic block corresponding to the test electromagnetic block number is controlled to be energized according to the moving current magnitude and the reverse current direction and continue to determine whether the first pressure signal still exists; If it still exists, the preset no-magnetic signal will be output instead of the in-position signal; If it does not exist, the electromagnetic block corresponding to the test electromagnetic block number is controlled to be energized according to the moving current size and the forward current direction until the first pressure signal is restored, and the forward current direction is defined as the attraction current direction.

[0013] By adopting the above technical solution, although the first pressure signal still exists in the forward direction to indicate that the electromagnetic block attracts the magnet, the magnet may also be an unmagnetized metal block at this time, which is attracted by the magnetic force. Therefore, a reverse current is passed to observe and judge. If it is still attracted, it means there is no magnetism. At this time, there is no need for on-site detection, and it can be directly determined as an unqualified product, thereby improving the efficiency of magnet surface magnetic detection.

[0014] Optionally, the method for obtaining the detection result after performing the single-side detection step includes: After executing the single-side detection step, a single-side detection result is obtained, and the single-side detection result is defined as a first-side detection result; After obtaining the first surface detection result, defining any one of the electromagnetic block numbers as a test electromagnetic block number, and defining the corresponding pressure signal as a first pressure signal; performing a test current direction step to determine the direction of the attraction current; Controlling the electromagnetic block corresponding to the test electromagnetic block number to be energized according to the attraction current direction and the preset flip current magnitude until the first pressure signal disappears; When the first pressure signal disappears, obtaining the disappearance duration; When the first pressure signal disappears, the electromagnetic block corresponding to the test electromagnetic block number is controlled to be energized according to the reverse direction of the attraction current, the magnitude of the movement current and the disappearance time; Controlling the electromagnetic block corresponding to the test electromagnetic block number to be energized according to the attraction current direction and the preset movement current magnitude until the first pressure signal exists; When the first pressure signal exists, executing an in-position operation step to obtain an in-position signal; After obtaining the in-place signal, performing a single-side detection step to obtain a single-side detection result of another side, and defining the single-side detection result as a second-side detection result; The first surface detection result and the second surface detection result are output as detection results.

[0015] By adopting the above technical solution, when double-sided detection is performed, the magnet is turned over and then put back in place through the cooperation of the electromagnetic block and the detection ruler, so that the detection process does not require manual operation and only requires automatic control of the system, thereby improving the automation of detection.

[0016] Optionally, the method of controlling the electromagnetic block corresponding to the test electromagnetic block number to be energized according to the attraction current direction and the flip current magnitude includes: Obtaining the magnet height when performing a single-side detection step; Determine the lifting height of the detection ruler based on the magnet height and the preset reasonable flip height ratio; Based on the first surface detection result, the magnet height and the magnet size, the corresponding flip current size and the test electromagnetic block height are searched from the preset first magnetic attraction database; Control the detection ruler to lift according to the detection ruler lifting height, then control the electromagnetic block corresponding to the test electromagnetic block number to lift to the test electromagnetic block height, and then control the electromagnetic block corresponding to the test electromagnetic block number to energize according to the attraction current direction and flip current size.

[0017] Optionally, when the first pressure signal disappears, the method of controlling the electromagnetic block corresponding to the test electromagnetic block number to be energized according to the reverse direction of the attraction current, the movement current magnitude and the disappearance time also includes: Based on the first surface detection result, the magnet height and the magnet size, the corresponding moving current magnitude and the optimal moving height are searched from a preset second magnetic attraction database; The electromagnetic block corresponding to the control test electromagnetic block number is controlled to descend according to the reverse direction of the attraction current, the size of the moving current and the disappearance time before power is turned on, and the electromagnetic block corresponding to the control test electromagnetic block number is controlled to descend according to the optimal moving height; The electromagnetic block corresponding to the control test electromagnetic block number is energized according to the reverse direction of the attraction current, the size of the moving current and the disappearance time, and then the detection ruler is controlled to be lifted according to the lifting height of the detection ruler.

[0018] By adopting the above technical solution and laying the detection ruler flat, the magnet can take a relatively stable route when returning after flipping, and is not easily flipped over again due to up and down fluctuations, thereby improving the stability of the movement of the magnet.

[0019] In the second aspect, the present application provides a surface magnetic detection system, which adopts the following technical solution: A surface magnetic detection system, comprising: An acquisition module is used to acquire an in-place signal, an in-place image, a detection result, a pressure signal, a partial in-place image, a single-side detection result, a disappearance time, and a magnet height; A memory for storing a program of a control method of any of the above-mentioned surface magnetic detection methods; The program in the processor memory can be loaded and executed by the processor to implement the control method of any of the above-mentioned surface magnetic detection methods.

[0020] By adopting the above technical solution, the corresponding center position is detected after the magnetic block to be detected is placed in the corresponding position, and then the machine controls the Gaussian meter to the center position for magnetic detection. The detection is automated and accurate, and no human operation is required, thus avoiding operational errors caused by human operation and improving the accuracy of magnet surface magnetic detection.

[0021] In the third aspect, the present application provides a smart terminal, which adopts the following technical solution: The intelligent terminal comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and execute any one of the above-mentioned surface magnetism detection methods.

[0022] By adopting the above technical solution, the corresponding center position is detected after the magnetic block to be detected is placed in the corresponding position, and then the machine controls the Gaussian meter to the center position for magnetic detection. The detection is automated and accurate, and no human operation is required, thus avoiding operational errors caused by human operation and improving the accuracy of magnet surface magnetic detection.

[0023] Fourthly, the present application provides a computer storage medium that can store corresponding programs and has the characteristics of fast interaction with memory big data.

[0024] Computer readable storage medium, using the following technical solution: A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned surface magnetic detection methods.

[0025] By adopting the above technical solution, the corresponding center position is detected after the magnetic block to be detected is placed in the corresponding position, and then the machine controls the Gaussian meter to the center position for magnetic detection. The detection is automated and accurate, and no human operation is required, thus avoiding operational errors caused by human operation and improving the accuracy of magnet surface magnetic detection.

[0026] In summary, the present application includes at least the following beneficial technical effects: 1. Through automatic magnetic detection, the detection is automatic and accurate, without manual operation, avoiding operational errors caused by manual operation, and improving the accuracy of magnet surface magnetic detection; 2. By detecting the pressure on the detection ruler, the position is determined, and then the electromagnetic block set on the side is used to adsorb it into place, reducing the placement error caused by manual placement, reducing labor costs, and improving the accuracy of magnet surface magnetic detection; 3. When double-sided detection is performed, the magnet is turned over by the cooperation of the electromagnetic block and the detection ruler, and then put back in place, so that the detection process does not require manual operation, only the system can be automatically controlled, which improves the automation of detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a flow chart of a surface magnetic detection method in an embodiment of the present application.

[0028] Figure 2 It is a structural diagram of the detection device in the embodiment of the present application.

[0029] Figure 3 It is a flow chart of the single-sided detection steps in an embodiment of the present application.

[0030] Figure 4 It is a flowchart of a method for obtaining an arrival signal on a detection device in an embodiment of the present application.

[0031] Figure 5 It is a flow chart of the operation steps in place in an embodiment of the present application.

[0032] Figure 6 It is a flowchart of a specific method for determining the attraction operation electromagnetic block number and the attraction current direction based on the non-existence direction in an embodiment of the present application.

[0033] Figure 7 It is a flow chart of the steps of testing current direction in an embodiment of the present application.

[0034] Figure 8 It is a flowchart of a method for defining the forward current direction as the attracting current direction if it still exists in an embodiment of the present application.

[0035] Fig. 9It is a flowchart of a method for obtaining a detection result after executing a single-side detection step in an embodiment of the present application.

[0036] Fig.10 It is a flow chart of a method for controlling the electromagnetic block corresponding to the test electromagnetic block number in an embodiment of the present application to be energized according to the direction of the attraction current and the magnitude of the flipping current.

[0037] Fig.11 It is a flow chart of a method for controlling the electromagnetic block corresponding to the test electromagnetic block number to be energized according to the reverse direction of the attraction current, the movement current size and the disappearance time in an embodiment of the present application when the first pressure signal disappears.

[0038] Fig.12 It is a system module diagram of a surface magnetic detection method in an embodiment of the present application.

[0039] Explanation of the accompanying drawings: 1. Detection platform; 2. Detection plate; 3. Right-angle detection ruler; 31. Inner side; 4. Electromagnetic block. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-Figure 12 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0041] The present application embodiment discloses a surface magnetic detection method. Figure 1 , a surface magnetic detection method comprises: Step 100: Obtain an arrival signal from a detection device.

[0042] Reference Figure 2 The detection equipment includes a detection platform 1 and a Gaussmeter (not shown in the figure), and the detection platform 1 is provided with a detection plate 2 and a right-angle detection ruler 3. The detection plate 2 is used for placing magnets and is non-magnetic. In the embodiment of the present application, it can be a transparent glass plate. The right-angle detection ruler 3 has two inner side surfaces 31, and the two inner side surfaces 31 are arranged at right angles. Both inner side surfaces 31 abut and fit on the circumferential side wall of the detection plate 2 to fit the detection plate 2. The right-angle detection ruler 3 is used to characterize the scale to measure the size of the magnet placed on the detection plate 2. The right-angle detection ruler 3 moves up and down in the vertical direction of the detection surface, and the power source here can be any kind of lifting power source, such as a cylinder. The Gaussmeter is connected to the detection platform 1 by sliding in a three-dimensional direction to align the magnet placed on the detection plate 2 for detection.

[0043] The detection device is also equipped with an electromagnetic block 4. The electromagnetic block 4 has an electromagnetic block number, which is used to indicate the position of the corresponding electromagnetic block 4. There are two electromagnetic blocks 4, which are slidably connected to the side of the detection plate 2 close to the corresponding inner side surface 31 in a one-to-one correspondence. The sliding direction of the electromagnetic block 4 is parallel to the corresponding inner side surface 31. Here, the electromagnetic block 4 can also move up and down in the vertical direction of the detection surface, and the power source here can be any kind of lifting power source, such as a cylinder.

[0044] The arrival signal is a signal that the magnet to be detected reaches the specified position and meets the specified requirements. The output here can be any signal, for example: text output. The requirement met here is that the magnet and the two inner surfaces 31 are in contact. The specific acquisition method can be obtained by subsequent steps and will not be repeated here.

[0045] Step 101: Execute a single-side detection step when receiving a position arrival signal.

[0046] The single-side detection step is a step for detecting the magnetism of one side of the magnet. When the arrival signal is received, it means that the magnet has been placed and meets the requirements, so the automatic detection can be started.

[0047] Reference Figure 3 , the single-sided detection steps include: Step 1010: Acquire an in-place image.

[0048] The in-place image is an image detected from above the detection board 2 after the in-place signal is output. It can be obtained by taking a picture from the camera above.

[0049] Step 1011: Analyze the in-place image based on the preset magnet features and detection ruler features to determine the magnet size.

[0050] The magnet feature is the feature of the magnet in the image. The detection ruler feature is the feature of the detection ruler in the image, which also includes the scale feature on the detection ruler. The magnet size is the size of the magnet, which mainly refers to the size on the horizontal plane. In the embodiment of the present application, the magnet is a cylinder as an example, so the size can refer to the diameter alone. The analysis method is to determine the two readings of the magnet on the detection ruler along the inner side 31 through the magnet feature, and then obtain the diameter through the readings, that is, the magnet size.

[0051] Step 1012: Determine the measurement center based on the magnet size and preset size rules.

[0052] The size rule is a rule for obtaining the measurement center through the size of the magnet. The measurement center is the center point of the magnetism measurement. Here, the rule can be half of the diameter as the horizontal coordinate and the vertical coordinate. Here, the horizontal coordinate and the vertical coordinate use the point where the straight line where the two inner surfaces 31 intersect and the detection surface intersect as the coordinate origin, and the direction along the inner surface 31 is the coordinate point of the horizontal and vertical coordinate lines. For example, if the diameter is 1 cm, then the measurement center is (0.5, 0.5).

[0053] Step 1013: Control the probe of the Gaussmeter to move to the measurement center to detect the magnet.

[0054] Step 102: Obtain the detection result after executing the single-side detection step, and display the detection result.

[0055] The test results are displayed on the Gauss meter. The purpose of displaying here is for human screening.

[0056] Reference Figure 4 , the method of obtaining the arrival signal on the detection device includes: Step 200 : Acquire pressure signals on the two inner surfaces 31 .

[0057] The pressure signal is a signal of the pressure felt on the inner side 31. It can be obtained by a pressure sensor, or there is a film here, and the film is filled with air of a certain pressure. Once squeezed, the air pressure will change. At this time, a pressure sensor obtains the pressure change and the pressure signal can be obtained.

[0058] Step 201: Outputting a position signal when both pressure signals exist.

[0059] When both pressure signals exist, it means that both inner side surfaces 31 are abutted by the magnets, which means that the magnets are in place, so an in-place signal is output.

[0060] Step 202: Output a preset absence signal when both pressure signals do not exist.

[0061] The no-object signal is a signal without a magnet. Here, it is assumed that the magnet is not in contact with any surface and is also regarded as a no-object signal. Since the magnet is placed on the detection board 2 manually, the no-object signal is also to alert the corresponding personnel to place it correctly.

[0062] Step 203: Execute the in-position operation step when only one of the pressure signals exists.

[0063] The in-place operation step is a step of automatically moving the magnet to a position. When there is only one pressure signal, it means that at least one side is against the inner side surface 31.

[0064] Reference Figure 5 , the operation steps include: Step 2030: Acquire a partially in-place image, and define an existing pressure signal as a first pressure signal, and define an absent pressure signal as a second pressure signal.

[0065] The partially in-place image is an image with only one pressure signal, that is, an image with only one side of the magnet in contact with the inner side surface 31 .

[0066] Step 2031: Analyze the partially in-place image based on the magnet features and the detection ruler features to determine the size of the magnet on one side.

[0067] The single-side magnet size is the size of one side of the magnet. This includes not only the diameter of the magnet, but also the readings on the left and right sides of the non-contact side, i.e. positioning. The determination method is introduced in the above steps and will not be repeated here.

[0068] Step 2032: Determine the center of the moving magnetic block based on the single-sided magnet size and size rules.

[0069] The center of the moving magnetic block is the center position of the magnet. The method of determination is to take the median value of the readings on both sides.

[0070] Step 2033: Determine that there is no direction based on the second pressure signal.

[0071] The non-existent direction is a direction in which there is no pressure, which can be found in a database, that is, the database stores a mapping relationship between the second pressure signal and the non-existent direction, and the staff in this field observes which direction is the non-existent direction when the second pressure signal does not exist according to the actual situation and records it. When the system receives that the second pressure signal does not exist, it automatically outputs the non-existent direction.

[0072] Step 2034: Determine the attraction operation electromagnetic block number and attraction current direction based on the non-existence direction.

[0073] The attraction operation electromagnetic block number is the number of the electromagnetic block 4 that can attract the magnet so that the magnet fits the inner side surface 31 in the non-existent direction. The attraction current direction is the current direction of the electromagnetic block 4 when the attraction magnetic block approaches. The steps determined here will be introduced in the subsequent process and will not be introduced here.

[0074] Step 2035: Control the electromagnetic block 4 corresponding to the attraction operation electromagnetic block number to be energized according to the attraction current direction and the preset movement current magnitude until the second pressure signal is obtained.

[0075] The moving current is the current that moves the magnet without flipping. This value is set manually, and this value can also be modified according to the estimated magnet type, that is, the estimated type is manually input, and then the corresponding moving current is set. The electromagnetic block 4 corresponding to the control attraction operation electromagnetic block number is energized according to the attraction current direction and the preset moving current size, with the purpose of moving the magnet to the inner side surface 31 that is not in contact and fitting it.

[0076] Step 2036: When the second pressure signal exists, output a position signal and power off the electromagnetic block 4 corresponding to the operating electromagnetic block number.

[0077] When the second pressure signal exists, it means that both inner surfaces 31 have been released, and a position signal can be output. In order not to affect the detection of the Gaussian meter, the electromagnetic block 4 corresponding to the operating electromagnetic block number is powered off.

[0078] Reference Figure 6 The specific method for determining the number of the attraction operation electromagnetic block and the direction of the attraction current based on the non-existence direction includes: Step 300: Find the corresponding attraction operation electromagnetic block number from a preset sensing database based on the non-existent direction.

[0079] The induction database stores the mapping relationship between the non-existent direction and the number of the attraction operation electromagnetic block. The staff in this field determines the number of the electromagnetic block 4 by reading the number of the electromagnetic block 4 according to the actual non-existent direction, that is, the non-existent inner side surface 31, and then the electromagnetic block 4 required when the magnet approaches the non-existent inner side surface 31. When the system receives the corresponding non-existent direction, it automatically outputs the corresponding attraction operation electromagnetic block number.

[0080] Step 301: Determine an existing direction based on an non-existent direction.

[0081] The existing direction is another direction of the non-existent direction. Since there are only two directions of the electromagnetic block 4, when one of the non-existent directions is known, the other existing direction can be known. The two directions here can be virtual concepts and are only used to determine the corresponding electromagnetic block numbers. For example, the two directions are regarded as 1 and 2. If the non-existent direction is 1, then the existing direction is 2.

[0082] Step 302: Find the corresponding test electromagnetic block number from the induction database based on the existing direction.

[0083] The test electromagnetic block number is the number of the electromagnetic block 4 that tests the magnet to learn how to attract the magnet. The establishment of the database is introduced in step 300 and will not be repeated here. When the system receives the corresponding existing direction, it automatically finds the corresponding test electromagnetic block number from the database and outputs it.

[0084] Here, it can also be determined directly by the attraction operation electromagnetic block number, that is, there are only two numbers in total, when one is the attraction operation electromagnetic block number, the other is the test electromagnetic block number.

[0085] Step 303: After determining the test electromagnetic block number, execute the test current direction step.

[0086] The step of testing the current direction is to test the direction of the current that can attract the magnet. Since the magnet does not know the direction of the current when the polarity is not measured, the magnetic field generated can attract the magnet, so it needs to be measured.

[0087] Reference Figure 7 , the steps for testing the current direction include: Step 3030: Control the electromagnetic block 4 corresponding to the test electromagnetic block number to be energized according to the moving current size and the preset forward current direction and determine whether the first pressure signal still exists.

[0088] The forward current direction is the direction of the current flowing forward, and the forward direction here can be a manually set direction, that is, it is not necessarily a specific direction. The purpose of passing the current is to energize the electromagnetic block 4 to generate a magnetic field, thereby determining the current size that attracts the magnet to approach.

[0089] Step 3031: If it still exists, define the forward current direction as the attracting current direction.

[0090] If it still exists, it means that the current direction is attracting the magnet, so the positive current direction is defined as the attracting current direction. It should be noted here that the two electromagnetic blocks 4 are set in the same way, that is, when the power-on directions of the electromagnetic blocks 4 are the same, the magnetic field directions acting on the detection board 2 are the same.

[0091] Step 3032: If it does not exist, the electromagnetic block 4 corresponding to the test electromagnetic block number is controlled to be energized according to the moving current size and the preset reverse current direction until the first pressure signal is restored, and the reverse current direction is defined as the attraction current direction.

[0092] The reverse current direction is the direction in which the current is reversely energized, and here this direction is opposite to the forward current direction. If it does not exist, it means that the reverse current direction is the attraction current direction at this time, and since the first pressure signal disappears at this time, it means that it has separated from the inner side surface 31, so it is necessary to energize the magnet to approach the inner side surface 31, so the electromagnetic block 4 corresponding to the test electromagnetic block number is controlled to be energized according to the moving current size and the preset reverse current direction until the first pressure signal is restored.

[0093] Reference Figure 8, if it still exists, the method of defining the positive current direction as the attracting current direction includes: Step 400: When the first pressure signal still exists, control the electromagnetic block 4 corresponding to the test electromagnetic block number to be energized according to the moving current size and the reverse current direction and continue to determine whether the first pressure signal still exists.

[0094] When the first pressure signal still exists, it means that the current in the positive direction must attract the magnet. However, if the magnet has no magnetism but only conductivity, it will be attracted as long as there is a magnetic field regardless of the direction of the current. Therefore, it is necessary to judge this possibility.

[0095] Step 401: If the magnetism still exists, a preset no-magnetism signal is output instead of an in-position signal.

[0096] The non-magnetic signal is a signal that the magnet has no magnetism. The output method can be a text output method, that is, the text "non-magnetic" is output. When it still exists, it means that no matter which direction the current is, it will be attracted, and it is non-magnetic, so the non-magnetic signal is output, and in order to stop the entire system from proceeding, the in-place signal is not output.

[0097] Step 402: If it does not exist, the electromagnetic block 4 corresponding to the test electromagnetic block number is controlled to be energized according to the moving current size and the forward current direction until the first pressure signal is restored, and the forward current direction is defined as the attraction current direction.

[0098] If it does not exist, it means that the magnet is magnetic. Since the first pressure signal does not exist at this time, it means that it has detached from the inner surface 31. Therefore, the electromagnetic block 4 corresponding to the test electromagnetic block number is controlled to be energized according to the moving current size and the forward current direction until the first pressure signal is restored to fit the magnet to the inner surface 31.

[0099] Reference Fig. 9 , the method for obtaining the detection result after executing the single-side detection step includes: Step 500: Obtain a single-side detection result after executing the single-side detection step, and define the single-side detection result as a first-side detection result.

[0100] Since the magnetism of only one surface can be detected by performing a single-side detection step at a time, two surfaces need to be detected.

[0101] Step 501: After obtaining the first surface detection result, define any electromagnetic block number as a test electromagnetic block number, and define the corresponding pressure signal as a first pressure signal.

[0102] The purpose of the definition is to facilitate the execution of the test current direction step.

[0103] Step 502: Execute a current direction test step to determine the attraction current direction.

[0104] Step 503: Control the electromagnetic block 4 corresponding to the test electromagnetic block number to be energized according to the attraction current direction and the preset flip current magnitude until the first pressure signal disappears.

[0105] The flipping current magnitude is the magnitude of the current that flips the magnet. Here, the current magnitude can be determined by subsequent steps, or it can be manually preset, that is, consistent with the moving current magnitude, by manually inputting the estimated type, and then setting the corresponding flipping current magnitude.

[0106] Step 504: Obtain disappearance duration when the first pressure signal disappears.

[0107] The disappearance time is the time from the beginning of the flip to the end of the flip. When the first pressure signal disappears, it means that the magnet flips successfully, so the disappearance time can be recorded for later use.

[0108] Step 505: When the first pressure signal disappears, the electromagnetic block 4 corresponding to the test electromagnetic block number is controlled to be energized according to the reverse direction of the attraction current, the movement current size and the disappearance time.

[0109] The purpose of energizing the electromagnetic block 4 corresponding to the control test electromagnetic block number according to the reverse direction of the attraction current, the size of the moving current and the disappearance time is to push the magnet back to the detection board 2. It should be noted that due to the flipping step in the subsequent steps, the magnet will be on the detection scale after flipping here, so it needs to be pushed back at this time. Since the difficulty of flipping is greater than the movement, the disappearance time is generally greater than the movement time. At this time, the magnet is energized according to the disappearance time, and the magnet will inevitably move to the detection board 2, so the current of the disappearance time is passed.

[0110] In addition, a safeguard measure may be adopted, that is, power is supplied by a preset safety time length plus a disappearance time length, but the total time length cannot exceed the preset time length of separation from the detection plate 2 .

[0111] Step 506: Control the electromagnetic block 4 corresponding to the test electromagnetic block number to be energized according to the attraction current direction and the preset movement current magnitude until the first pressure signal exists.

[0112] The purpose of this step is to make the magnet fit the inner side surface 31 .

[0113] Step 507: Execute the in-position operation step to obtain the in-position signal when the first pressure signal exists.

[0114] When the first pressure signal exists, it means that the surface has been turned over and at least one side has been attached. If there are two pressure signals at this time, there is no need to execute the in-place operation step to directly obtain the in-place signal. If there is only one pressure signal, the in-place operation step needs to be executed.

[0115] Step 508: After obtaining the arrival signal, perform a single-side detection step to obtain a single-side detection result of another side, and define the single-side detection result as a second-side detection result.

[0116] Step 509: Output the first surface detection result and the second surface detection result as detection results.

[0117] Reference Fig.10 The method of controlling the electromagnetic block 4 corresponding to the test electromagnetic block number to be energized according to the direction of the attraction current and the magnitude of the flip current includes: Step 600: Obtaining the magnet height when performing the single-side detection step.

[0118] The magnet height is the height of the magnet to be detected. Here, the height can be obtained by the distance detection sensor. That is, the height is measured from top to bottom at the measurement center, and then the measured value is converted.

[0119] Step 601: Determine the lifting height of the detection ruler based on the magnet height and a preset reasonable flip height ratio.

[0120] The reasonable flip height ratio is the reasonable height ratio that can flip the magnet to the detection ruler. This ratio is the ratio of the magnet height to the detection ruler lifting height. Here, this height ratio is generally 0.5. The detection ruler lifting height is the height to which the detection ruler needs to be lifted. The determination method is to divide the magnet height by the reasonable flip height ratio.

[0121] Step 602: Based on the first surface detection result, the magnet height and the magnet size, the corresponding flip current size and the test electromagnetic block height are searched from a preset first magnetic attraction database.

[0122] The height of the test electromagnetic block is the most suitable height of the magnet based on the magnet height and the magnet size. The database stores the mapping relationship between the first-side detection result, magnet height, magnet size, flip current size and test electromagnetic block height. The staff in this field will lift the electromagnetic block 4 to different heights based on the magnets with different properties, that is, the sizes and heights of the magnets are different, and the first-side detection results, that is, the internal magnetic forces are different. After the flip currents of different sizes are passed through, the flip current size and the test electromagnetic block height that can flip the magnet and are relatively stable are recorded. When the system receives the corresponding first-side detection result, magnet height and magnet size, it automatically finds the corresponding flip current size and test electromagnetic block height from the database and outputs them.

[0123] Step 603: Control the detection ruler to be lifted according to the detection ruler lifting height, then control the electromagnetic block 4 corresponding to the test electromagnetic block number to be lifted to the test electromagnetic block height, and then control the electromagnetic block 4 corresponding to the test electromagnetic block number to be energized according to the attraction current direction and the flipping current size.

[0124] Reference Fig.11 , when the first pressure signal disappears, the method of controlling the electromagnetic block 4 corresponding to the test electromagnetic block number to be energized according to the reverse direction of the attraction current, the movement current size and the disappearance time also includes: Step 700: Based on the first surface detection result, the magnet height and the magnet size, the corresponding moving current magnitude and the optimal moving height are searched from a preset second magnetic attraction database.

[0125] The optimal moving height is the optimal moving height for pushing the magnetic block. The database stores the mapping relationship between the optimal moving height and the optimal moving height. Based on a large number of experiments conducted by staff in this field, it is similar to the first magnetic attraction database, except that the first magnetic attraction database records the flipping situation, while this records the moving situation, so it will not be repeated. When the system receives the corresponding magnet height, it automatically finds the corresponding optimal moving height from the database and outputs it.

[0126] Step 701: Before the electromagnetic block 4 corresponding to the control test electromagnetic block number is powered on according to the reverse direction of the attraction current, the size of the moving current and the disappearance time, the detection ruler is controlled to descend according to the preset detection board 2 height, and the electromagnetic block 4 corresponding to the control test electromagnetic block number is controlled to descend according to the optimal moving height.

[0127] The detection plate height is the height at which the detection plate 2 is flush. The detection ruler is controlled to descend according to the preset detection plate height so that the magnet can move smoothly onto the detection plate 2 during the movement.

[0128] Step 702: after the electromagnetic block 4 corresponding to the control test electromagnetic block number is powered on in the opposite direction of the attraction current, the movement current size and the disappearance time, the detection ruler is controlled to be lifted according to the detection ruler lifting height.

[0129] The purpose of controlling the detection ruler to be lifted according to the detection ruler lifting height is to prevent the magnet from falling off the detection plate 2.

[0130] Based on the same inventive concept, an embodiment of the present invention provides a surface magnetic detection system.

[0131] Reference Fig.12 , a surface magnetic detection system, comprising: An acquisition module is used to acquire an in-place signal, an in-place image, a detection result, a pressure signal, a partial in-place image, a single-side detection result, a disappearance time, and a magnet height; A memory for storing a program of a control method of a surface magnetic detection method; The program in the memory can be loaded and executed by the processor to implement a control method for a surface magnetic detection method.

[0132] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0133] An embodiment of the present invention provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute a surface magnetism detection method.

[0134] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0135] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute a surface magnetism detection method.

[0136] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

Claims

1. A surface magnetic detection method, characterized in that: include: Acquiring an in-position signal on a detection device, the detection device comprising a detection platform (1) and a gauss meter, the detection platform (1) being provided with a detection plate (2) on which a magnet is placed and which is non-magnetic, and a right-angle detection ruler (3) for representing a scale, the right-angle detection ruler (3) being provided with two inner side surfaces (31) arranged at right angles, the two inner side surfaces (31) both abutting against and fitting against the circumferential side wall of the detection plate (2), the right-angle detection ruler (3) moving up and down in a direction perpendicular to the detection surface, the gauss meter slidingly connected in a three-dimensional direction in the detection platform (1) to align with the magnet placed on the detection plate (2) for detection; When the arrival signal is received, a single-side detection step is performed, and the single-side detection step includes: Acquire an in-place image; analyze the in-place image based on preset magnet features and detection ruler features to determine the magnet size; determine the measurement center based on the magnet size and preset size rules; control the probe of the Gaussmeter to move to the measurement center to detect the magnet; After executing the single-side detection step, the detection result is obtained and displayed.

2. A surface magnetic detection method according to claim 1, characterized in that: The methods for obtaining the in-position signal on the detection device include: Acquiring pressure signals on two inner surfaces (31); When both pressure signals exist, the output is a position signal; Outputting a preset no-object signal when both pressure signals are absent; When only one of the pressure signals exists, an in-place operation step is performed, the in-place operation step comprising: obtaining a partial in-place image, and defining the existing pressure signal as a first pressure signal, and defining the non-existent pressure signal as a second pressure signal; analyzing the partial in-place image based on the magnet feature and the detection ruler feature to determine the size of the single-side magnet; determining the center of the moving magnetic block based on the single-side magnet size and the size rule; determining the non-existent direction based on the second pressure signal; determining the attracting operation electromagnetic block number and the attracting current direction based on the non-existent direction, the detection device is further provided with an electromagnetic block (4), the electromagnetic block (4) having an electromagnetic block number, the number of the electromagnetic blocks (4) being two and correspondingly connected to a side of the detection plate (2) close to the corresponding inner side surface (31), the sliding direction of the electromagnetic block (4) being parallel to the corresponding inner side surface (31); controlling the electromagnetic block (4) corresponding to the attracting operation electromagnetic block number to be energized according to the attracting current direction and the preset moving current magnitude until the second pressure signal is obtained; When the second pressure signal exists, a position signal is output and the electromagnetic block (4) corresponding to the operating electromagnetic block number is powered off.

3. A surface magnetic detection method according to claim 2, characterized in that: The specific method for determining the number of the attraction operation electromagnetic block and the attraction current direction based on the non-existence direction includes: Find the corresponding attraction operation electromagnetic block number from the preset induction database based on the non-existent direction; Determine the existent direction based on the non-existent direction; Find the corresponding test electromagnetic block number from the induction database based on the existing direction; After determining the test electromagnetic block number, a current direction test step is performed, and the current direction test step includes: The electromagnetic block (4) corresponding to the control test electromagnetic block number is energized according to the moving current magnitude and the preset forward current direction and determines whether the first pressure signal still exists; if it still exists, the forward current direction is defined as the attraction current direction; if it does not exist, the electromagnetic block (4) corresponding to the control test electromagnetic block number is energized according to the moving current magnitude and the preset reverse current direction until the first pressure signal is restored, and the reverse current direction is defined as the attraction current direction.

4. A surface magnetic detection method according to claim 3, characterized in that: If it still exists, methods to define the positive current direction as the attracting current direction include: When the first pressure signal still exists, controlling the electromagnetic block (4) corresponding to the test electromagnetic block number to be energized according to the moving current magnitude and the reverse current direction and continuing to determine whether the first pressure signal still exists; If it still exists, the preset no-magnetic signal will be output instead of the in-position signal; If it does not exist, the electromagnetic block (4) corresponding to the test electromagnetic block number is controlled to be energized according to the moving current size and the forward current direction until the first pressure signal is restored, and the forward current direction is defined as the attraction current direction.

5. A surface magnetic detection method according to claim 3, characterized in that: The method of obtaining the detection result after performing the single-side detection step includes: After executing the single-side detection step, a single-side detection result is obtained, and the single-side detection result is defined as a first-side detection result; After obtaining the first surface detection result, defining any one of the electromagnetic block numbers as a test electromagnetic block number, and defining the corresponding pressure signal as a first pressure signal; performing a test current direction step to determine the direction of the attraction current; Controlling the electromagnetic block (4) corresponding to the test electromagnetic block number to be energized according to the direction of the attraction current and the preset flip current magnitude until the first pressure signal disappears; When the first pressure signal disappears, obtaining the disappearance duration; When the first pressure signal disappears, the electromagnetic block (4) corresponding to the test electromagnetic block number is controlled to be energized according to the reverse direction of the attraction current, the magnitude of the movement current and the disappearance time; Controlling the electromagnetic block (4) corresponding to the test electromagnetic block number to be energized according to the direction of the attraction current and the preset movement current magnitude until the first pressure signal exists; When the first pressure signal exists, executing an in-position operation step to obtain an in-position signal; After obtaining the in-place signal, performing a single-side detection step to obtain a single-side detection result of another side, and defining the single-side detection result as a second-side detection result; The first surface detection result and the second surface detection result are output as detection results.

6. A surface magnetic detection method according to claim 5, characterized in that: The method of controlling the electromagnetic block (4) corresponding to the test electromagnetic block number to be energized according to the direction of the attraction current and the magnitude of the flip current comprises: Obtaining the magnet height when performing a single-side detection step; Determine the lifting height of the detection ruler based on the magnet height and the preset reasonable flip height ratio; Based on the first surface detection result, the magnet height and the magnet size, the corresponding flip current size and the test electromagnetic block height are searched from the preset first magnetic attraction database; The detection ruler is controlled to be lifted according to the lifting height of the detection ruler, and then the electromagnetic block corresponding to the test electromagnetic block number is controlled to be lifted to the test electromagnetic block height, and then the electromagnetic block (4) corresponding to the test electromagnetic block number is controlled to be energized according to the direction of the attraction current and the magnitude of the flip current.

7. A surface magnetic detection method according to claim 6, characterized in that: The method of controlling the electromagnetic block (4) corresponding to the test electromagnetic block number to be energized according to the reverse direction of the attraction current, the magnitude of the movement current and the disappearance time when the first pressure signal disappears also includes: Based on the first surface detection result, the magnet height and the magnet size, the corresponding moving current magnitude and the optimal moving height are searched from a preset second magnetic attraction database; The electromagnetic block (4) corresponding to the control test electromagnetic block number is controlled to descend according to the reverse direction of the attraction current, the magnitude of the moving current and the disappearance time before power is turned on, and the electromagnetic block (4) corresponding to the control test electromagnetic block number is controlled to descend according to the optimal moving height; After the electromagnetic block (4) corresponding to the control test electromagnetic block number is energized in the opposite direction of the attraction current, the magnitude of the movement current and the disappearance time, the detection ruler is controlled to be lifted according to the detection ruler lifting height.

8. A surface magnetic detection system, characterized in that: include: An acquisition module is used to acquire an in-place signal, an in-place image, a detection result, a pressure signal, a partial in-place image, a single-side detection result, a disappearance time, and a magnet height; A memory for storing a program of a control method of a surface magnetic detection method according to any one of claims 1 to 7; The program in the processor memory can be loaded and executed by the processor to implement a control method for a surface magnetic detection method as described in any one of claims 1 to 7.

9. Intelligent terminal, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes a surface magnetism detection method as claimed in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that A computer program is stored which can be loaded by a processor and executes a surface magnetism detection method as claimed in any one of claims 1 to 7.

Citation Information

Cited By

  • Surface magnetic full-detection device and detection method

    CN122017696A