CN114966377A - Circuit board detection device, method, computer equipment and storage medium - Google Patents

Circuit board detection device, method, computer equipment and storage medium Download PDF

Info

Publication number
CN114966377A
CN114966377A CN202210721670.7A CN202210721670A CN114966377A CN 114966377 A CN114966377 A CN 114966377A CN 202210721670 A CN202210721670 A CN 202210721670A CN 114966377 A CN114966377 A CN 114966377A
Authority
CN
China
Prior art keywords
hall signal
circuit board
detection result
hall
detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210721670.7A
Other languages
Chinese (zh)
Inventor
王琼彪
王章洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Insta360 Innovation Technology Co Ltd
Original Assignee
Insta360 Innovation Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Insta360 Innovation Technology Co Ltd filed Critical Insta360 Innovation Technology Co Ltd
Priority to CN202210721670.7A priority Critical patent/CN114966377A/en
Publication of CN114966377A publication Critical patent/CN114966377A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2801Testing of printed circuits, backplanes, motherboards, hybrid circuits or carriers for multichip packages [MCP]
    • G01R31/2806Apparatus therefor, e.g. test stations, drivers, analysers, conveyors
    • G01R31/2808Holding, conveying or contacting devices, e.g. test adapters, edge connectors, extender boards

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

The application relates to a detection device, a method, a computer device, a storage medium and a computer program product of a circuit board. The circuit board includes a hall sensor, the apparatus includes: the acquisition module is used for acquiring Hall signals of the circuit board to be detected; the processing module is connected with the acquisition module and used for receiving the Hall signal and obtaining a detection result according to the waveform of the Hall signal; and the output module is connected with the processing module and used for outputting the detection result. According to the scheme, the acquisition module is used for acquiring the Hall signal of the circuit board, the processing module is used for analyzing the waveform of the Hall signal to obtain a detection result, and the output module is used for outputting the detection result.

Description

Circuit board detection device, method, computer equipment and storage medium
Technical Field
The present application relates to the field of testing technologies, and in particular, to a device and a method for detecting a circuit board, a computer device, a storage medium, and a computer program product.
Background
A Printed Circuit Board Assembly (PCBA) is a finished PCB Board obtained after a PCB blank Board is subjected to a Surface Mount Technology (SMT) piece or a full process of a Dual In-line Package (DIP) Package. At present, the conventional circuit board is well tested, and the resistance and voltage values are generally measured by testing the on-off of the circuit. However, for the circuit board with the hall sensor, since the change of the external magnetic field needs to be sensed to reflect the quality of the components, the conventional circuit board testing method cannot be adopted, and at present, the voltage, the insulation resistance and the like of the signal points can only be measured manually by using electronic signals such as a multimeter and the like. Such measuring method process is comparatively loaded down with trivial details, and is consuming time more, and production efficiency is lower, mostly manual initiative judgement moreover, lacks data support, can not the accurate paster precision that detects out the circuit board that has hall sensor and whether reaches the control requirement.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a method, an apparatus, a computer device, a computer readable storage medium, and a computer program product for detecting a circuit board with high accuracy.
In a first aspect, the present application provides a detection apparatus for a circuit board. The circuit board includes hall sensor, and the device includes:
the acquisition module is used for acquiring Hall signals of the circuit board to be detected;
the processing module is connected with the acquisition module and used for receiving the Hall signal and obtaining a detection result according to the waveform of the Hall signal;
and the output module is connected with the processing module and used for outputting the detection result.
In one embodiment, the acquisition module comprises: the device comprises a vacuum unit, a high-pressure air unit, a motor and a detection table; the detection platform is used for placing a circuit board to be detected, and the circuit board to be detected is connected with the processing module through a wiring terminal; the vacuum unit is connected with the detection table and is used for adsorbing the circuit board on the detection table; one end of the motor facing the detection table is provided with a magnetic element; the high-voltage unit is connected with the motor and used for generating air pressure, and the motor is moved to a preset position through the air pressure, wherein the preset position is a position between the motor and the detection table; the motor is also used for moving to a preset position under the action of air pressure and rotating under the control of the processing module so that the circuit board to be detected generates a Hall signal; the wiring terminal is used for sending the Hall signal to the processing module.
In one embodiment, the hall signals include a first hall signal and a second hall signal, and the processing module is specifically configured to: calculating to obtain frequency spectrum parameters of the first Hall signal and the second Hall signal according to the waveforms of the first Hall signal and the second Hall signal; and obtaining a detection result according to the relation between the frequency spectrum parameter and the preset range.
In one embodiment, the spectral parameter comprises at least one of a fundamental frequency, an amplitude, or a phase difference; the processing module is specifically configured to perform at least one of the following operations:
obtaining a detection result according to the relation between the fundamental frequency of the first Hall signal and the preset range of the fundamental frequency and the relation between the fundamental frequency of the second Hall signal and the preset range of the fundamental frequency;
obtaining a detection result according to the relation between the amplitude of the first Hall signal and the preset range of the amplitude and the relation between the amplitude of the second Hall signal and the preset range of the amplitude;
and calculating the phase difference between the first Hall signal and the second Hall signal, and obtaining a detection result according to the relation between the phase difference and a phase difference preset range.
In one embodiment, the output module comprises indicator lights, and the colors of the indicator lights correspond to the detection results one by one.
In a second aspect, the application further provides a detection method of the circuit board. The circuit board comprises a Hall sensor, and the method comprises the following steps: acquiring a Hall signal of a circuit board to be detected; and obtaining a detection result according to the waveform of the Hall signal.
In one embodiment, when acquiring the hall signal of the circuit board to be detected, the following operations may be performed:
opening a vacuum air valve of the vacuum unit, and adsorbing the circuit board on the detection table;
opening an air valve of the high-pressure unit to generate air pressure, and moving a motor connected with the high-pressure unit to a preset position by utilizing the action of the air pressure, wherein the preset position is a position between the motor and the detection table, and a magnetic element is arranged at one end of the motor facing the detection table; the motor is controlled to rotate at a preset position, so that the circuit board to be detected generates a Hall signal.
In one embodiment, the hall signals comprise a first hall signal and a second hall signal; when the detection result is obtained from the waveform of the hall signal, the following operation may be performed: calculating to obtain frequency spectrum parameters of the first Hall signal and the second Hall signal according to the waveforms of the first Hall signal and the second Hall signal; and obtaining a detection result according to the relation between the frequency spectrum parameter and the preset range.
In one embodiment, the spectral parameter includes at least one of a fundamental frequency, an amplitude, or a phase difference, and when the detection result is obtained according to a relationship between the spectral parameter and a preset range, the method may include at least one of the following operations:
obtaining a detection result according to the relation between the fundamental frequency of the first Hall signal and the preset range of the fundamental frequency and the relation between the fundamental frequency of the second Hall signal and the preset range of the fundamental frequency;
obtaining a detection result according to the relation between the amplitude of the first Hall signal and the preset range of the amplitude and the relation between the amplitude of the second Hall signal and the preset range of the amplitude;
and calculating the phase difference between the first Hall signal and the second Hall signal, and obtaining a detection result according to the relation between the phase difference and a preset range of the phase difference.
In one embodiment, the method further includes: and setting the color of the indicator light according to the detection result, wherein the color of the indicator light corresponds to the detection result.
In a third aspect, the application also provides a computer device. The computer device comprises a memory storing a computer program and a processor capable of implementing the method of the second aspect and any one of its implementations when executing the computer program.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, is capable of implementing the method of the second aspect and any one of its implementations.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program that when executed by a processor is capable of implementing the method of the second aspect and any one of its implementations.
According to the detection device, the detection method, the computer equipment, the storage medium and the computer program product for the circuit board, on the circuit board comprising the Hall sensor, the Hall signal of the circuit board is obtained by the acquisition module, the waveform of the Hall signal is analyzed by the processing module to obtain the detection result, and the detection result is output by the output module.
Drawings
Fig. 1 is a schematic structural diagram of a detection apparatus for a circuit board according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of an acquisition module according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of another circuit board detection device according to an embodiment of the present application.
Fig. 4 is a schematic flow chart of a circuit board detection method according to an embodiment of the present application.
Fig. 5 is a flowchart of one example of step 401.
Fig. 6 is a flow chart of one example of step 402.
Fig. 7 is a schematic flow chart of another circuit board detection method according to an embodiment of the present application.
Fig. 8 is a diagram showing an example of a waveform of a hall signal according to an embodiment of the present application.
Fig. 9 is another exemplary diagram of a waveform of a hall signal according to an embodiment of the present application.
Fig. 10 is an internal structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, there is provided a detection apparatus of a circuit board including a hall sensor, the apparatus 100 including: an acquisition module 110, a processing module 120, and an output module 130.
And the acquisition module 110 is used for acquiring the hall signal of the circuit board to be detected.
It should be noted that, when the hall signal is obtained, because the rotating motor drives the magnet to rotate, the voltage signal induced by the hall chip is regular and has a waveform with a certain rule, and the detection result is determined more accurately by analyzing the waveform.
The hall signal can be generated by the magnetic element changing on the surface of the circuit board.
And the processing module 120 is connected with the acquisition module 110 and is used for receiving the hall signal and obtaining a detection result according to the waveform of the hall signal.
The processing module 120 is mainly used for analyzing the waveform of the hall signal to obtain a detection result.
Whether the circuit board is normal or not can be shown through the waveform of the Hall signal generated by the circuit board. For example, there may be a difference in waveform amplitude between a normal circuit board and an abnormal circuit board. Also for example, there may be differences in the phase and/or period of the waveforms between a normal circuit board and an abnormal circuit board. Whether the circuit board is normal can be deduced by analyzing and judging the differences.
And the output module 130 is connected with the processing module 120 and is used for outputting the detection result.
In some implementations, the output module 130 may be an interface circuit for sending the detection result to a subsequent module, for example, a control module, to perform a relevant control operation. In other implementations, the output module may be a display module, and configured to output the detection result in a manner of light indication, graphic or image display, audio indication, or the like.
In the detection device of the circuit board, the acquisition module is used for acquiring the Hall signal of the circuit board, the processing module is used for analyzing the waveform of the Hall signal to obtain a detection result, and the output module is used for outputting the detection result.
In one embodiment, as shown in fig. 2, the acquisition module 110 includes: a vacuum unit 114, a high voltage unit 112, a motor 111, and a test stage 115.
The detection platform 115 is used for placing a circuit board to be detected, and the circuit board to be detected is connected with the processing module 120 through the wiring terminal 142. It should be understood that the connection terminal 142 is not an integral part of the acquisition module 110. The vacuum unit 114 is connected to the inspection stage 115, and is used to adsorb the circuit board to the inspection stage 115. One end of the motor 111 facing the detection stage 115 is provided with a magnetic element 113. The high voltage unit 112 is connected to the motor 111 for moving the motor 111 to a preset position by an air pressure action, the preset position being a position between the motor 111 and the inspection table 115. The motor 111 is also used for moving to a preset position under the action of the air pressure generated by the high-voltage unit 112 and rotating under the control of the processing module 120, so that the circuit board to be detected generates a hall signal. The connection terminal 142 is used for transmitting the hall signal to the processing module 120.
The magnetic element 113 may be a magnet or an electromagnetic element. The magnet has magnetism without being energized. The electromagnetic element is magnetized when energized, but is not magnetized when de-energized.
When the vacuum valve of the vacuum unit 114 is opened, the circuit board is firmly attached to the inspection table due to the air pressure.
When the air valve of the high pressure unit 112 is opened, air pressure is generated, and the motor and the magnetic element connected to the vacuum unit are pushed (driven) to move toward the detection table 115 by the action of the air pressure.
When the motor moves to a designated position (preset position) between the detection table 115 and the motor 111, the motor 111 can be driven to rotate at a certain rotation speed under the control of the processing module 120. It should be understood that, since the magnetic element 113 is disposed at one end of the motor 111, the above-mentioned when the motor moves to the specified position (preset position) between the detection table 115 and the motor 111 can also be said to be when the magnetic element 113 moves to the preset position between the detection table 115 and the magnetic element 113.
In one embodiment, as shown in fig. 3, the acquisition module 110 includes: a vacuum air valve of the vacuum unit 114, the motor 111, an air valve of the high voltage unit 112, and a magnetic element 113 disposed at one end of the motor 111 facing the circuit board to be tested. The processing module 120 includes a controller 121. The output module 130 includes an indicator lamp 131. The device shown in fig. 3 also includes a key 141. Fig. 3 may be considered as an example of the apparatus 100 shown in fig. 1.
As shown in fig. 3, the keys 141 may include a switch key for controlling power on and off of the entire detection apparatus. Alternatively, the switch key may be plural, and the detection means may be powered on only when the plural switch keys are all pressed.
In some implementations, keys 141 may also include an emergency stop key. Because the motor can run at high speed, when an accident happens, the motor can be stopped emergently to protect an operator and a detection device.
Before starting the test, the operator places the circuit board on a test table (not shown in fig. 3) and fastens the terminals, and the test apparatus enters a standby state. When the two switch keys are pressed, the detection device is powered on to start detection. After the detection is started, the controller 121 controls to open the vacuum valve of the vacuum unit 114, and the circuit board is adsorbed on the detection table under the action of air pressure. The controller 121 controls to open the air valve of the high pressure unit 112 to generate air pressure, and the motor 111 and the magnetic element 113 are pressed to a preset position by the air pressure, and when the preset position is reached, the controller 121 drives the motor 111 to rotate at a constant rotation speed.
Thereafter, the connection terminal transmits the hall signal generated on the circuit board to the controller 121. The controller 121 analyzes the waveform of the hall signal to obtain a detection result. The controller 121 generates a control signal to the indicator lamp 131 according to the detection result to control the indicator lamp 131 to be turned on.
It should be noted that details of the detection result obtained by analyzing the waveform of the hall signal by the controller 121 will be described in detail in the following method description, and will not be described herein again.
In some implementations, the color of the indicator light 131 corresponds to the detection result. The detection result comprises two results of circuit board normal (normal for short) and circuit board abnormity (abnormal for short). The color of the indicator lamp 131 may include a first color and a second color, and the first color corresponds to a detection result being normal and the second color corresponds to a detection result being abnormal. In one example, the first color is green and the second color is red, that is, when the indicator light 131 displays green light (which may be referred to as green light), the detection result is normal, and when the indicator light 131 displays red light (which may be referred to as red light), the detection result is abnormal.
It is understood that the indicator light 131 may be one or more. When the indicator 131 is one, the indicator may emit at least two colors, and the two colors correspond to the two detection results one by one. When there are a plurality of indicator lights 131, for example, two indicator lights may be provided, where each of the two indicator lights corresponds to one detection result, that is, which indicator light is turned on is considered as which detection result.
Based on the same inventive concept, the embodiment of the application also provides a detection method for realizing the detection device. The implementation scheme for solving the problem provided by the detection method is similar to the implementation scheme described in the detection device, so specific limitations in the following detection method embodiments can be referred to the limitations of the detection device in the foregoing, and are not described again here.
In one embodiment, as shown in fig. 4, a method for detecting a circuit board including a hall sensor is provided, and the method is exemplified by being applied to the detection apparatus 100 in fig. 1, and includes the following steps:
step 401, acquiring a hall signal of a circuit board to be detected.
As mentioned above, when the hall signal is obtained, because the rotating motor drives the magnet to rotate, the voltage signal induced by the hall chip is regular and has a waveform with a certain rule, and the detection result is determined to be more accurate through the waveform analysis.
In particular, it can be produced by a variation of the magnetic element on the surface of the circuit board.
And step 402, obtaining a detection result according to the waveform of the Hall signal.
As described above, the normality or normality of the circuit board can be represented by the waveform of the hall signal generated thereby. For example, there may be a difference in waveform amplitude between a normal circuit board and an abnormal circuit board. Also for example, there may be differences in the phase and/or period of the waveforms between a normal circuit board and an abnormal circuit board. Therefore, whether the circuit board is normal or not can be deduced by analyzing and judging the differences.
According to the detection method, the Hall signal of the circuit board is obtained, and the waveform of the Hall signal is analyzed to obtain the detection result, so that compared with a mode of roughly deducing electrical parameters such as manually measured voltage, insulation resistance and the like in the traditional scheme, the mode of collecting and analyzing the waveform is more accurate.
In one embodiment, as shown in FIG. 5, step 401 comprises:
and step 501, opening a vacuum air valve of the vacuum unit to adsorb the circuit board on the detection table.
When the vacuum air valve of the vacuum unit is opened, the circuit board can be firmly adsorbed on the detection platform under the action of air pressure in a vacuum state.
Step 502, an air valve of the high-pressure unit is opened, a motor connected with the high-pressure unit is moved to a preset position under the action of air pressure generated by the high-pressure unit, the preset position is a position between the motor and the detection table, and a magnetic element is arranged at one end of the motor facing the detection table.
When the magnetic element is at the preset position, the magnetic element can change on the surface of the circuit board, the preset position is not unique, but any height within a preset distance range is adopted, the magnetic element can enable the circuit board to generate corresponding Hall signals within the preset distance range, and the circuit board can generate regular Hall signals as the motor drives the magnetic element to rotate.
And 503, controlling the motor to rotate at a preset position so that the circuit board to be detected generates a hall signal.
In a preset position, the processing module controls the motor to rotate at a certain rotating speed, so that the circuit board to be detected generates a Hall signal. The generated hall signal can be transmitted to the processing module via the connection terminal.
In one embodiment, as shown in FIG. 6, step 402 includes:
step 601, calculating to obtain frequency spectrum parameters of the first hall signal and the second hall signal according to the waveforms of the first hall signal and the second hall signal.
In some implementations, the hall signal includes a first hall signal and a second hall signal.
When the motor rotates at a rotation speed N, the unit of N is rpm, assuming that a fixed magnet (i.e., the above magnetic element) rotating along with the motor is magnetized in a sinusoidal manner, the number of pairs of the fixed magnet is p, the corresponding rotation speed of the waveform of each hall signal on the circuit board is npp, and since the position of the hall sensor on the circuit board is preset, the constant value of the phase difference between the two hall signals should be θ, but since the actual angle has a deviation of σ due to a position error of a patch or the like, the measured phase difference should be θ ± σ, θ represents a theoretical value of the phase difference, and σ represents a deviation of the actual value of the phase difference from the theoretical value.
In practice, due to the patch error or the installation error, the amplitude of the two hall signals has certain fluctuation and deviation, but the amplitude needs to be limited in a certain range during detection, so that the influence on subsequent functions is avoided. As shown in fig. 8, the waveform a is a waveform of the first hall signal, and the waveform B is a waveform of the second hall signal. It can be seen from the figure that the amplitude H1 of the first hall signal is not equal to the amplitude H2 of the second hall signal. And the phase difference between the first hall signal and the second hall signal is shown in the figure.
As shown in fig. 9, assuming that the hall signal from the time T1 to the time T2 is collected, the time interval between the time T1 and the time T2 is Δ T. As shown in fig. 9, the waveform a is a waveform of the first hall signal, and the waveform B is a waveform of the second hall signal. The most significant of waveform a and waveform B can be determined. For example, the minimum value min _ a of the waveform a, the maximum value max _ a of the waveform a, the minimum value min _ B of the waveform B, and the maximum value max _ B of the waveform B. And calculating the data to obtain the frequency spectrums of the two paths of Hall signals. Fundamental frequencies f0_ A and f0_ B of the two Hall signals are found from the spectrum signals, and phases theta _ A and theta _ B corresponding to the fundamental frequencies are found.
The spectral parameters are corresponding parameters of the waveform, including amplitude, fundamental frequency, phase and phase difference. The amplitude includes a maximum value and a minimum value.
The correlation parameters obtained in fig. 8 and 9 above can be used to obtain the detection result in step 602.
Step 602, obtaining a detection result according to the relation between the spectrum parameter and the preset range.
In one implementation, the detection result is obtained according to a relationship between the fundamental frequency of the first hall signal and a preset range of the fundamental frequency and a relationship between the fundamental frequency of the second hall signal and the preset range of the fundamental frequency. In one example, it can be determined whether the frequencies corresponding to f0_ a and f0_ B are N × p/60 ± allowable deviation, and the N × p/60 ± allowable deviation is a preset range corresponding to the fundamental frequency of the hall signal. If the judgment result is yes, the detection result is that the circuit board is normal; and if the judgment result is 'no', the detection result is that the circuit board is abnormal.
In another implementation manner, the detection result is obtained according to the relationship between the amplitude of the first hall signal and the preset range of the amplitude and the relationship between the amplitude of the second hall signal and the preset range of the amplitude. In one example, it can be determined whether any one of min _ A, max _ A, min _ B and max _ B is within a preset. If the judgment result is yes, the detection result is that the circuit board is normal; and if the judgment result is 'no', the detection result is that the circuit board is abnormal.
In still another implementation manner, the detection result is obtained according to a relationship between a phase difference between the first hall signal and the second hall signal and a preset range of the phase difference. In one example, it is determined whether the absolute value of the phase difference theta between the first hall signal and the second hall signal, theta-a-theta-B, is within theta ± σ. Because the collected signals have different starting points, the phases of the first hall signal and the second hall signal after FFT calculation may be advanced or delayed by 2 × pi, when calculating the absolute value of the phase difference, the absolute value deltaAB of the phase difference needs to be compared with pi, when deltaAB is greater than pi, the absolute value theta _ a-theta _ B is | deltaAB-2 × pi |, when deltaAB is less than-pi, the absolute value theta | deltaAB +2 × pi |, otherwise, the absolute value theta | deltaAB |. And theta +/-sigma is a preset range corresponding to the phase difference of the Hall signals. If the judgment result is yes, the detection result is that the circuit board is normal; and if the judgment result is 'no', the detection result is that the circuit board is abnormal.
The three types of implementation manners may be implemented in an overlapping manner, that is, step 602 may execute a method of any one, two, or all of the three implementation manners, or step 602 may execute a method of at least one of the three implementation manners.
In one embodiment, the detection method further includes: and setting the color of the indicator light according to the detection result, wherein the color of the indicator light corresponds to the detection result.
In one embodiment, as shown in FIG. 7, another method of circuit board inspection is provided. The method shown in fig. 7 can be regarded as a specific example of the detection method shown in fig. 4.
Step 701, judging whether the emergency brake key is pressed, if the judgment result is yes, executing step 711, and if the judgment result is no, executing step 702.
Step 701 is mainly used for responding to the operation of an emergency brake key to perform power-off when an emergency occurs, so as to protect the detection device and the circuit board to be detected.
Step 701 may be performed by the processing module 120, or may be performed by the acquisition module 110.
Step 702 sets the detection device to a standby state.
Standby state is understood to mean that the detection means are ready for detection. Step 702 may be that the circuit board to be detected has been connected to the connection terminal, the circuit board to be detected has been placed on the detection table, and the power line of the detection device has been powered on.
In step 703, it is determined whether the switch key is pressed, and if the determination result is "yes", step 704 is executed, and if the determination result is "no", step 702 is executed.
Step 703 is to start a round of detection mainly by switching the keys. If a plurality of circuit boards to be detected are arranged, the circuit boards to be detected are detected one at a time, and the detection turn of each circuit board to be detected starts from the pressing of the switch key in the step 703 until the detection in the step 710 is finished.
Step 703 may be performed by the processing module 120 described above.
Step 704, open the gas valve of the high pressure unit.
Under the action of air pressure generated by the high-voltage unit, the motor and the magnetic element can be pushed to a preset position, namely, the position which can enable the circuit board to be detected to generate a Hall signal.
Step 704 may be performed by the acquisition module 110 under the control of the processing module 120.
Step 705, open the gas valve of the vacuum unit.
Step 705 may be performed by the acquisition module 110 under the control of the processing module 120.
Under the air pressure action of the vacuum unit, the circuit board to be detected can be adsorbed on the detection table, so that the detection result is not accurate due to the fact that the detection circuit board moves.
It should be understood that there is no limitation to the order of execution of step 704 and step 705, that both may be executed simultaneously or not, and that there is no limitation to which step is executed first.
And step 706, driving the motor to operate.
Step 706 is executed after step 704 is completed, that is, after step 704 is executed, the motor and the magnetic element reach the preset position, and the motor is driven to operate by the processing module.
Step 707, collecting the hall signal.
Step 707 may be that the wire connection terminal transmits the hall signal to the processing module.
At step 708, the waveform of the hall signal is analyzed.
Step 708 may analyze the waveform by the processing module to obtain a detection result.
And step 709, displaying the detection result by an indicator light.
In step 709, the processing module generates a control signal of the indicator light according to the detection result, and the control signal controls the indicator light to display a color corresponding to the detection result.
Step 710, ending the round of detection, and transitioning to step 702.
It should be understood that the ending in step 710 refers to ending a detection round, for example, after the step 703 and 709 are performed on a circuit board to be detected, the step 710 is performed to end the detection round. And a step 702 is executed to prepare for the next round of detection.
It should be understood that, although the steps in the flowcharts according to the embodiments described above are shown in the sequence shown in the drawings or in the direction indicated by the arrow, the steps are not necessarily executed in the sequence shown in the drawings or in the direction indicated by the arrow. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
The modules in the detection device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 10. The computer device includes a processor, a memory, an Input/Output interface (I/O for short), and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing data such as the waveform and the detection result of the Hall signal. The input/output interface of the computer device is used for exchanging information between the processor and an external device. The communication interface of the computer device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a method of inspecting a circuit board.
Those skilled in the art will appreciate that the architecture shown in fig. 10 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the circuit board detection method according to any one of the above implementations when executing the computer program: acquiring a Hall signal of a circuit board to be detected; and obtaining a detection result according to the waveform of the Hall signal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when acquiring the hall signal of the circuit board to be detected, the following operations may be performed:
opening a vacuum air valve of the vacuum unit, and adsorbing the circuit board on the detection table;
opening an air valve of the high-pressure unit to generate air pressure, and moving a motor connected with the high-pressure unit to a preset position by utilizing the action of the air pressure, wherein the preset position is a position between the motor and the detection table, and a magnetic element is arranged at one end of the motor facing the detection table;
the motor is controlled to rotate at a preset position, so that the circuit board to be detected generates a Hall signal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the Hall signals comprise a first Hall signal and a second Hall signal; when the detection result is obtained from the waveform of the hall signal, the following operation may be performed: calculating to obtain frequency spectrum parameters of the first Hall signal and the second Hall signal according to the waveforms of the first Hall signal and the second Hall signal; and obtaining a detection result according to the relation between the frequency spectrum parameter and the preset range.
In one embodiment, the processor when executing the computer program further performs the steps of: the spectral parameter includes at least one of a fundamental frequency, an amplitude value or a phase difference, and when the detection result is obtained according to a relation between the spectral parameter and a preset range, at least one of the following operations may be included:
obtaining a detection result according to the relation between the fundamental frequency of the first Hall signal and the preset range of the fundamental frequency and the relation between the fundamental frequency of the second Hall signal and the preset range of the fundamental frequency;
obtaining a detection result according to the relation between the amplitude of the first Hall signal and the preset range of the amplitude and the relation between the amplitude of the second Hall signal and the preset range of the amplitude;
and calculating the phase difference between the first Hall signal and the second Hall signal, and obtaining a detection result according to the relation between the phase difference and a phase difference preset range.
In one embodiment, the computer program when executed by the processor further performs the steps of: and setting the color of the indicator light according to the detection result, wherein the color of the indicator light corresponds to the detection result.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, the computer program, when executed by a processor, implementing the following steps of acquiring a hall signal of a circuit board to be detected; and obtaining a detection result according to the waveform of the Hall signal.
In one embodiment, the computer program when executed by the processor further performs the steps of: when acquiring the hall signal of the circuit board to be detected, the following operations may be performed:
opening a vacuum air valve of the vacuum unit, and adsorbing the circuit board on the detection table;
opening an air valve of the high-pressure unit to generate air pressure, and moving a motor connected with the high-pressure unit to a preset position by utilizing the action of the air pressure, wherein the preset position is a position between the motor and the detection table, and one end of the motor facing the detection table is provided with a magnetic element;
the motor is controlled to rotate at a preset position, so that the circuit board to be detected generates a Hall signal.
In one embodiment, the computer program when executed by the processor further performs the steps of: the Hall signals comprise a first Hall signal and a second Hall signal; when the detection result is obtained from the waveform of the hall signal, the following operation may be performed: calculating to obtain frequency spectrum parameters of the first Hall signal and the second Hall signal according to the waveforms of the first Hall signal and the second Hall signal; and obtaining a detection result according to the relation between the frequency spectrum parameter and the preset range.
In one embodiment, the computer program when executed by the processor further performs the steps of: the spectral parameter includes at least one of a fundamental frequency, an amplitude value or a phase difference, and when the detection result is obtained according to a relation between the spectral parameter and a preset range, at least one of the following operations may be included:
obtaining a detection result according to the relation between the fundamental frequency of the first Hall signal and the preset range of the fundamental frequency and the relation between the fundamental frequency of the second Hall signal and the preset range of the fundamental frequency;
obtaining a detection result according to the relation between the amplitude of the first Hall signal and the preset range of the amplitude and the relation between the amplitude of the second Hall signal and the preset range of the amplitude;
and calculating the phase difference between the first Hall signal and the second Hall signal, and obtaining a detection result according to the relation between the calculated phase difference and a preset range of the phase difference.
In one embodiment, the computer program when executed by the processor further performs the steps of: and setting the color of the indicator light according to the detection result, wherein the color of the indicator light corresponds to the detection result.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of: acquiring a Hall signal of a circuit board to be detected; and obtaining a detection result according to the waveform of the Hall signal, wherein the circuit board comprises a Hall sensor.
In one embodiment, the computer program when executed by the processor further performs the steps of: and setting the color of the indicator light according to the detection result, wherein the color of the indicator light corresponds to the detection result.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, the computer program, when executed by a processor, implementing the following steps of acquiring a hall signal of a circuit board to be detected; and obtaining a detection result according to the waveform of the Hall signal.
In one embodiment, the computer program when executed by the processor further performs the steps of: when acquiring the hall signal of the circuit board to be detected, the following operations may be performed:
opening a vacuum air valve of the vacuum unit, and adsorbing the circuit board on the detection table;
opening an air valve of the high-pressure unit to generate air pressure, and moving a motor connected with the high-pressure unit to a preset position by utilizing the action of the air pressure, wherein the preset position is a position between the motor and the detection table, and one end of the motor facing the detection table is provided with a magnetic element;
the motor is controlled to rotate at a preset position, so that the circuit board to be detected generates a Hall signal.
In one embodiment, the computer program when executed by the processor further performs the steps of: the Hall signals comprise a first Hall signal and a second Hall signal; when the detection result is obtained from the waveform of the hall signal, the following operation may be performed: calculating to obtain frequency spectrum parameters of the first Hall signal and the second Hall signal according to the waveforms of the first Hall signal and the second Hall signal; and obtaining a detection result according to the relation between the frequency spectrum parameter and the preset range.
In one embodiment, the computer program when executed by the processor further performs the steps of: the spectral parameter includes at least one of a fundamental frequency, an amplitude value or a phase difference, and when the detection result is obtained according to a relation between the spectral parameter and a preset range, at least one of the following operations may be included:
obtaining a detection result according to the relation between the fundamental frequency of the first Hall signal and the preset range of the fundamental frequency and the relation between the fundamental frequency of the second Hall signal and the preset range of the fundamental frequency;
obtaining a detection result according to the relation between the amplitude of the first Hall signal and the preset range of the amplitude and the relation between the amplitude of the second Hall signal and the preset range of the amplitude;
and calculating the phase difference between the first Hall signal and the second Hall signal, and obtaining a detection result according to the relation between the phase difference and a phase difference preset range.
In one embodiment, the computer program when executed by the processor further performs the steps of: and setting the color of the indicator light according to the detection result, wherein the color of the indicator light corresponds to the detection result.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A detection device of a circuit board, the circuit board comprising a hall sensor, characterized in that the device comprises:
the acquisition module is used for acquiring Hall signals of the circuit board to be detected;
the processing module is connected with the acquisition module and used for receiving the Hall signal and obtaining a detection result according to the waveform of the Hall signal;
and the output module is connected with the processing module and used for outputting the detection result.
2. The apparatus of claim 1, wherein the acquisition module comprises: the device comprises a vacuum unit, a high-voltage unit, a motor and a detection table;
the detection table is used for placing the circuit board to be detected, and the circuit board to be detected is connected with the processing module through a wiring terminal;
the vacuum unit is connected with the detection table and used for adsorbing the circuit board on the detection table;
the motor is provided with a magnetic element at one end facing the detection table;
the high-voltage unit is connected with the motor and used for generating air pressure, and the motor is moved to a preset position through the air pressure, wherein the preset position is a position between the motor and the detection platform;
the motor is also used for moving to the preset position under the action of the air pressure and rotating under the control of the processing module, so that the circuit board to be detected generates the Hall signal;
the wiring terminal is used for sending the Hall signal to the processing module.
3. The device of claim 1, wherein the hall signals comprise a first hall signal and a second hall signal, and the processing module is specifically configured to:
calculating to obtain frequency spectrum parameters of the first Hall signal and the second Hall signal according to the waveforms of the first Hall signal and the second Hall signal;
and obtaining the detection result according to the relation between the frequency spectrum parameter and a preset range.
4. The apparatus of claim 3, wherein the spectral parameter comprises at least one of a fundamental frequency, an amplitude, or a phase difference; the processing module is specifically configured to perform at least one of the following operations:
obtaining the detection result according to the relationship between the fundamental frequency of the first Hall signal and the preset range of the fundamental frequency and the relationship between the fundamental frequency of the second Hall signal and the preset range of the fundamental frequency;
obtaining the detection result according to the relation between the amplitude of the first Hall signal and the preset range of the amplitude and the relation between the amplitude of the second Hall signal and the preset range of the amplitude;
and calculating the phase difference between the first Hall signal and the second Hall signal, and obtaining the detection result according to the relation between the phase difference and a phase difference preset range.
5. The apparatus of any one of claims 1 to 4, wherein the output module comprises an indicator light, a color of the indicator light corresponding to the detection result.
6. A detection method of a circuit board, wherein the circuit board comprises a Hall sensor, and is characterized by comprising the following steps:
acquiring a Hall signal of a circuit board to be detected;
and obtaining a detection result according to the waveform of the Hall signal.
7. The method according to claim 6, wherein the obtaining the Hall signal of the circuit board to be detected comprises:
opening a vacuum air valve of a vacuum unit, and adsorbing the circuit board on a detection table;
opening an air valve of a high-pressure unit to generate air pressure, and moving a motor connected with the high-pressure unit to a preset position by utilizing the action of the air pressure, wherein the preset position is a position between the motor and the detection table, and a magnetic element is arranged at one end of the motor facing the detection table;
and controlling the motor to rotate at the preset position, so that the circuit board to be detected generates the Hall signal.
8. The method of claim 6, wherein the Hall signals comprise a first Hall signal and a second Hall signal; the obtaining of the detection result according to the waveform of the hall signal includes:
calculating to obtain frequency spectrum parameters of the first Hall signal and the second Hall signal according to the waveforms of the first Hall signal and the second Hall signal;
and obtaining the detection result according to the relation between the frequency spectrum parameter and a preset range.
9. The method of claim 8, wherein the spectral parameters include at least one of a fundamental frequency, an amplitude, or a phase difference; the obtaining the detection result according to the relationship between the spectrum parameter and a preset range comprises at least one of the following operations:
obtaining the detection result according to the relationship between the fundamental frequency of the first Hall signal and the preset range of the fundamental frequency and the relationship between the fundamental frequency of the second Hall signal and the preset range of the fundamental frequency;
obtaining the detection result according to the relation between the amplitude of the first Hall signal and the preset range of the amplitude and the relation between the amplitude of the second Hall signal and the preset range of the amplitude;
and calculating the phase difference between the first Hall signal and the second Hall signal, and obtaining the detection result according to the relation between the phase difference and a phase difference preset range.
10. The method according to any one of claims 6 to 9, further comprising:
and setting the color of an indicator light according to the detection result, wherein the color of the indicator light corresponds to the detection result one by one.
CN202210721670.7A 2022-06-24 2022-06-24 Circuit board detection device, method, computer equipment and storage medium Pending CN114966377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210721670.7A CN114966377A (en) 2022-06-24 2022-06-24 Circuit board detection device, method, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210721670.7A CN114966377A (en) 2022-06-24 2022-06-24 Circuit board detection device, method, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114966377A true CN114966377A (en) 2022-08-30

Family

ID=82964985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210721670.7A Pending CN114966377A (en) 2022-06-24 2022-06-24 Circuit board detection device, method, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114966377A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2879210Y (en) * 2006-01-24 2007-03-14 许晓华 Hall detecting frock
CN203643567U (en) * 2013-12-18 2014-06-11 马震远 PCB short-circuit detection device based on Hall sensor array
CN206756990U (en) * 2017-01-03 2017-12-15 深圳建溢宝电子有限公司 Automatic Testing System of Circuit Board
CN108983074A (en) * 2018-08-09 2018-12-11 珠海格力智能装备有限公司 The detection method and device of circuit board
CN214585881U (en) * 2021-05-24 2021-11-02 常州酷睿智能科技有限公司 High-sensitivity motor Hall plate detection equipment
CN114649909A (en) * 2020-12-18 2022-06-21 华为技术有限公司 Driving device, camera device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2879210Y (en) * 2006-01-24 2007-03-14 许晓华 Hall detecting frock
CN203643567U (en) * 2013-12-18 2014-06-11 马震远 PCB short-circuit detection device based on Hall sensor array
CN206756990U (en) * 2017-01-03 2017-12-15 深圳建溢宝电子有限公司 Automatic Testing System of Circuit Board
CN108983074A (en) * 2018-08-09 2018-12-11 珠海格力智能装备有限公司 The detection method and device of circuit board
CN114649909A (en) * 2020-12-18 2022-06-21 华为技术有限公司 Driving device, camera device and electronic equipment
CN214585881U (en) * 2021-05-24 2021-11-02 常州酷睿智能科技有限公司 High-sensitivity motor Hall plate detection equipment

Similar Documents

Publication Publication Date Title
CN100589587C (en) Automatic test system for handset single-plate and its method
US10615735B2 (en) Smart motor driver architecture with built-in MEMS sensor based early diagnosis of faults
CA2668132C (en) Stray flux processing method and system
CN104459588A (en) System and method for current sensor test
CN101561467B (en) System and method for real-time impedance measuring
CN1979174A (en) Fan rotation-speed detection device and method
US11965925B2 (en) Test device for localizing a partial discharge in or at an electrical component as well as method for localizing the partial discharge
CN109975700A (en) Detection method, device, terminal device and the medium of steering engine abnormality
CN114966377A (en) Circuit board detection device, method, computer equipment and storage medium
CN112903308A (en) Performance detection method and device for automobile equipment, electronic equipment and storage medium
CN107643476A (en) A kind of Profibus insulated bus performance test methods based on virtual instrument technique
JP2001330644A (en) Screening method and screening device, and recording medium
CN113671932A (en) ECU offline testing device and method
CN111880519A (en) Controller test system and method
JP2000111596A (en) Electrostatic testing device
JP5423044B2 (en) Verification apparatus for partial discharge test apparatus and verification method for partial discharge test apparatus
CN216871074U (en) A automatic FCT testing arrangement for big bus pump control panel
CN112525536B (en) Method and system for detecting alarm value setting of vibration acceleration monitoring system of large airplane
CN215766875U (en) Sensor chip position indirect inspection device
KR102312051B1 (en) System for inspecting TAS winch drum and inspection method using the same
CN220252133U (en) Integrated testing device
JP2024516980A (en) Method and test device for detecting wear in electronic components - Patents.com
CN109491845B (en) Test method and system for storage product controller
CN117538598A (en) Electronic actuator detection device and method
CN117929892A (en) Detection method and device for subway vehicle relay

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination