Detection equipment and detection equipment control method
By designing a detection device including a controller and a photosensitive sensor, the problem that the prior art cannot test the LED performance of the microphone circuit board is solved, effective detection of LEDs is achieved, and product yield and customer satisfaction are improved.
Patent Information
- Application Number
- CN202510618024.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-14
- Publication Date
- 2025-06-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing microphone circuit board detection technology cannot effectively test LED performance, resulting in LED performance defects being exposed during product use, increasing customer complaint rate.
A detection device is designed, including a controller and a photosensitive sensor, and the controller outputs test instructions to the microphone circuit board under test, and uses the photosensitive sensor to collect the LED light-off detection results, and display the results on the upper computer.
A comprehensive test of microphone circuit board LEDs has been achieved, which improves product yield and reduces customer complaints.
Smart Images

Figure CN120128870A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of microphone device detection, and particularly to a detection device and a detection device control method. Background Art
[0002] In the processing industries such as microphone manufacturing and audio equipment production, it is necessary to detect the functions of each module on the microphone circuit board before the products are shipped to ensure the normal operation of the microphones. In practical applications, the detection items of the microphone circuit board are complex. Not only is it necessary to verify the accuracy of the burned version to ensure the normal product functions, but there are also many limitations in the current microphone circuit board performance detection technology.
[0003] In the prior art, a test host provided by a chip manufacturer is usually used to perform function tests on the microphone circuit board through serial ports or USBs, etc., to test whether the modules in the microphone circuit boards of various versions can normally respond or send corresponding control signals. However, the LEDs on the microphone circuit board cannot be tested, and the omitted LED performance defects may be exposed during the product use process, increasing the customer complaint rate. Summary of the Invention
[0004] In view of the above, this application provides a detection device and a detection device control method for realizing the LED test on the microphone circuit board to solve the problem of a relatively high customer complaint rate for the microphone circuit board.
[0005] The first aspect of this application provides a detection device, including a controller and a photosensitive sensor. Among them, the controller is connected to the output end of the photosensitive sensor, and the controller is used to connect to the microphone circuit board to be tested. The photosensitive sensor is used to collect the LED on / off detection results of the microphone circuit board to be tested during the test of the microphone circuit board to be tested. The controller is connected to the host computer. When the controller is connected to the microphone circuit board to be tested, the controller is used to: output a test instruction to the microphone circuit board to be tested to control the microphone circuit board to be tested to perform a test, and collect the LED on / off detection results of the microphone circuit board to be tested through the photosensitive sensor. Receive the function test results output by the microphone circuit board to be tested to control the host computer to display the LED on / off detection results and the function test results.
[0006] As an optional implementation, the detection device further includes a current detection module. The output end of the current detection module is connected to the controller. The current detection module is arranged on the series loop between the microphone circuit board to be tested and the controller, and the current detection module is used to detect the current value on the series loop between the microphone circuit board to be tested and the controller. The controller is further used to receive the current value to control the host computer to display the current value of the microphone circuit board to be tested.
[0007] As an alternative implementation, the current detection module is further configured to: when the controller provides the working current for the microphone circuit board under test, detect the value of the working current on the series loop. When the controller provides the charging current for the microphone circuit board under test, detect the value of the charging current on the series loop. At the moment when the controller stops providing the working current or the charging current for the microphone circuit board under test, detect the value of the shutdown current on the series loop.
[0008] As an alternative implementation, the controller is further configured to obtain the version number of the microphone circuit board under test, output a test instruction to the microphone circuit board under test according to the version number to control the microphone circuit board under test to perform a test, and collect the LED on / off detection result of the microphone circuit board under test through a photosensitive sensor.
[0009] As an alternative implementation, the controller is further configured to: obtain an increment signal sent by the host computer. The increment signal includes the version number for which the test instruction needs to be incremented and the test instruction to be incremented. Increment the test instruction in the version number according to the increment signal.
[0010] As an alternative implementation, the controller is further configured to: obtain a deletion signal sent by the host computer. The deletion signal includes the version number for which the test instruction needs to be deleted and the test instruction to be deleted. Delete the test instruction in the version number according to the deletion signal.
[0011] As an alternative implementation, the controller is further configured to: obtain an order adjustment signal sent by the host computer. The order adjustment signal includes the version number for which the order of the test instructions needs to be adjusted, the test instructions to be adjusted, and the order. Adjust the test instructions in the version number according to the order adjustment signal.
[0012] As an alternative implementation, when there are multiple test instructions, the controller is further configured to send each test instruction to the microphone circuit board under test one by one to control the microphone circuit board under test to perform a test.
[0013] As an alternative implementation, the test instruction includes at least one of a power-on current test instruction, a shutdown current test instruction, a charging current test instruction, an LED detection instruction, a key function detection instruction, a pairing function detection instruction, a loopback function detection instruction, and a mac address detection instruction.
[0014] The second aspect of the present application also provides a method for controlling a detection device, which is applied to a detection device. The detection device includes a controller and a photosensitive sensor. The controller is connected to the output end of the photosensitive sensor, and the controller is used to connect to the microphone circuit board to be tested. The photosensitive sensor is used to collect the LED on / off detection result of the microphone circuit board to be tested when the microphone circuit board to be tested is being tested. The controller is connected to a host computer. The method for controlling the detection device includes: the controller outputs a test instruction to the microphone circuit board to be tested to control the microphone circuit board to be tested, and collects the LED on / off detection result of the microphone circuit board to be tested through the photosensitive sensor. The controller receives the functional test result output by the microphone circuit board to be tested to control the host computer to display the LED on / off detection result and the functional test result.
[0015] The detection device provided by the embodiment of the present application outputs a test instruction to the microphone circuit board to be tested through the controller to control the microphone circuit board to be tested, and collects the LED on / off detection result of the microphone circuit board to be tested through the photosensitive sensor, so as to realize the LED test of the microphone circuit board, improve the yield of the microphone circuit board, and reduce the customer complaint rate. Description of the Drawings
[0016] Figure 1 is a schematic structural diagram of a detection device provided by an embodiment of the present application.
[0017] Figure 2 is a schematic flow diagram of a detection method provided by an embodiment of the present application.
[0018] Main element symbol description: Detection device 100, housing 10, controller 20, relay 30, current detection module 40, photosensitive sensor 50. Detailed Embodiments
[0019] Next, the technical solutions in the embodiments of the present application will be described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments.
[0020] The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to limit this application. As used in the specification and appended claims of this application, the singular forms "a", "an", "the above", "the", and "this" are also intended to include expressions such as "one or more", unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, "at least one" and "one or more" mean one, two, or more than two. The term "and / or" is used to describe the association relationship of associated objects and indicates that three relationships can exist; for example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0021] References to "one embodiment" or "some embodiments" or the like described in this specification mean that specific features, structures, or characteristics described in connection with that embodiment are included in one or more embodiments of this application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments" and the like that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "comprising", "including", "having" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0022] In the processing industries such as microphone production and manufacturing, audio equipment, etc., it is necessary to detect the functions of each module on the microphone circuit board before the product is shipped to ensure that the microphone can work properly. In practical applications, the detection items of the microphone circuit board are numerous and complex. Not only is it necessary to verify the accuracy of the burned version to ensure the normal operation of the product functions, but it is also necessary to detect whether the working current, startup current, and shutdown current of the microphone circuit board are within a reasonable range to prevent equipment failures caused by abnormal currents. At the same time, it is also necessary to detect the LED on / off control in the microphone circuit board.
[0023] However, there are many limitations in the current microphone circuit board performance detection technology. In the prior art, a test host computer provided by the chip manufacturer is usually used to perform functional tests on the microphone circuit board through serial ports or USBs or other means to test whether the modules in the microphone circuit boards of each version can normally respond or send corresponding control signals, but the LEDs on the microphone circuit board cannot be tested, and the missing LED performance defects may be exposed during the product use process, increasing the customer complaint rate.
[0024] Therefore, how to achieve a comprehensive test of the microphone circuit board, improve the yield rate of the microphone circuit board, and reduce the customer complaint rate has become an important research direction in the detection process of the microphone circuit board.
[0025] For this reason, the embodiments of the present application provide a detection device and a detection device control method, which can realize the test of microphone circuit boards with different version numbers and simultaneously realize the LED test of the microphone circuit board. The detection device and method of the embodiments of the present application can also improve the yield rate of the microphone circuit board and reduce the customer complaint rate.
[0026] Please refer to Figure 1 , Figure 1 FIG. 100 is a schematic diagram of a detection device 100 provided by an embodiment of the present application.
[0027] In the embodiments of the present application, the detection device 100 may include a housing 10, a controller 20, a relay 30, a current detection module 40, and a photosensitive sensor 50. Among them, the controller 20, the relay 30, and the current detection module 40 are disposed inside the housing 10. The first end of the controller 20 is connected to the output end of the current detection module 40, the second end of the controller 20 is connected to the control end of the relay 30, the third end of the controller 20 is connected to the output end of the photosensitive sensor 50, the fourth end of the controller 20 is used to connect to the test end of the microphone circuit board to be tested, the fifth end of the controller 20 is used to connect to the upper computer, and the sixth end of the controller 20 is used to connect to the power supply end of the microphone circuit board to be tested. Among them, the relay 30 and the current detection module 40 are disposed on the connection loop between the sixth end of the controller 20 and the power supply end of the microphone circuit board to be tested. In practical applications, the current detection module 40 may be an ammeter, and the upper computer may be a touch display. Optionally, a card slot for the microphone circuit board to be tested is provided on the housing 10 so that the circuit board to be tested can be clamped in the card slot during testing.
[0028] In a specific implementation process, when the fifth end of the controller 20 receives a detection signal output by the upper computer and the sixth end of the controller 20 is connected to the microphone circuit board to be tested, the controller 20 may output a conduction signal to the control end of the relay 30 to control the relay 30 to conduct the connection loop between the sixth end of the controller 20 and the power supply end of the microphone circuit board to be tested, so as to provide a charging current for the microphone circuit board to be tested through the controller 20 and detect the charging current value of the microphone circuit board to be tested through the current detection module 40.
[0029] In practical applications, the sixth terminal of the controller 20 can also provide working current for the power supply terminal of the microphone circuit board under test. After the microphone circuit board under test is powered on, the controller 20 sends a serial port version reading command to the test terminal of the microphone circuit board under test. After the version reading command is received at the test terminal of the microphone circuit board under test, its own version number is output to the fourth terminal of the controller 20, so as to determine whether the version number of the microphone circuit board under test is the preset version number through the controller 20. Furthermore, when the version number of the microphone circuit board under test is the preset version number, corresponding test instructions are sent to the microphone circuit board under test through the controller 20 to control the microphone circuit board under test to perform a function test, so that the microphone circuit board under test can output corresponding function test results to the controller 20, and the controller 20 can detect the on / off state of the indicator light on the microphone circuit board under test through the photosensitive sensor 50 during the function test of the microphone circuit board under test, and output the LED on / off detection result and the function test result to the host computer to control the host computer to display the indicator light detection result of the microphone circuit board under test. The controller 20 can also detect the working current value on the connection loop between the power supply terminal of the microphone circuit board under test and the sixth terminal of the controller 20 through the current detection module 40, and output the working current value to the host computer to control the host computer to display the working current value of the microphone circuit board under test.
[0030] In practical applications, at the moment when the microphone circuit board under test stops charging or stops working, the charging current is interrupted, and the microphone circuit board under test is no longer affected by the charging current or working current. At this time, the current measured by the current detection module 40 can truly reflect the current situation of the microphone circuit board under test in the shutdown state. Therefore, the controller 20 can detect the shutdown current value on the connection loop between the sixth terminal of the controller 20 and the power supply terminal of the microphone circuit board under test through the current detection module 40 at the moment when the microphone circuit board under test stops charging or stops working. Furthermore, the shutdown current value of the microphone circuit board under test can be tested without additional power-on and power-off operations, improving the test efficiency of the detection device 100, enabling the controller 20 to generate the detection result of the microphone circuit board under test according to the version number, charging current value, working current value, shutdown current value, function test result and LED on / off detection result output by the microphone circuit board under test, and output the detection result of the microphone circuit board under test to the host computer, enabling the user to view the detection result of the microphone circuit board under test through the host computer, realizing version detection, function detection, current detection and LED on / off detection in the microphone circuit board under test, improving the yield rate of the microphone circuit board under test, and reducing the customer complaint rate.
[0031] In a possible implementation, the microphone circuit board under test can receive the version reading command and test instructions output from the fourth terminal of the controller 20 through the serial port task polling method, so as to respond to the version reading instruction when receiving the version reading command output from the controller 20, output the version number to the fourth terminal of the controller 20, or when receiving the test instructions output from the controller 20, respond to the test instructions to perform tests and then output the functional test results to the fourth terminal of the controller 20, so that the controller can generate the detection results of the microphone circuit board under test based on the functional test results.
[0032] In practical applications, at least two sets of test instructions corresponding to different version numbers are pre-stored in the controller 20. After the controller 20 receives the version number output from the microphone circuit board under test, it can output the corresponding test instructions to the microphone circuit board under test, control the microphone circuit board under test to perform tests, and output the version number to the host computer to control the host computer to display the version number of the microphone circuit board under test. When there are multiple test instructions, the controller 20 can send each test instruction to the test terminal of the microphone circuit board under test one by one to control the microphone circuit board under test to perform tests. Optionally, the test instructions include at least one of the turn-on current test instruction, turn-off current test instruction, charging current test instruction, LED detection instruction, key function detection instruction, pairing function detection instruction, loopback function detection instruction, and mac address detection instruction.
[0033] When the controller 20 outputs the turn-on current test instruction to the test terminal of the microphone circuit board under test, the sixth terminal of the controller 20 provides the working current for the power supply terminal of the microphone circuit board under test to control the microphone circuit board under test to turn on. Then, the current detection module 40 detects the working current value on the connection loop between the sixth terminal of the controller 20 and the power supply terminal of the microphone circuit board under test. Then, the controller 20 determines whether the working current value is within the preset working current range. When the working current value is not within the preset working current range, it is determined that the working current of the microphone circuit board under test does not meet the preset working current requirement, and the working current detection result is output to the host computer to control the host computer to display the working current detection result of the microphone circuit board under test, so that the user can repair the microphone circuit board under test according to the working current detection result, improving the yield of the microphone circuit board. Among them, the working current detection result includes information such as the working current value detected by the current detection module 40 and whether the working current meets the preset working current requirement.
[0034] When the controller 20 outputs a charging current test instruction to the test terminal of the microphone circuit board under test, the sixth terminal of the controller 20 provides a charging current for the power supply terminal of the microphone circuit board under test to charge the microphone circuit board under test. Then, the current detection module 40 detects the charging current value on the connection loop between the sixth terminal of the controller 20 and the power supply terminal of the microphone circuit board under test. Furthermore, the controller 20 determines whether the charging current value is within the preset charging current range, so as to determine that the charging current of the microphone circuit board under test does not meet the preset charging current requirement when the charging current value is not within the preset charging current range, and outputs the charging current detection result to the host computer, controlling the host computer to display the charging current detection result of the microphone circuit board under test. Thus, the user can repair the microphone circuit board under test according to the charging current detection result, improving the yield of the microphone circuit board. Among them, the charging current detection result includes information such as the charging current value detected by the current detection module 40 and whether the charging current meets the preset charging current requirement.
[0035] When the controller 20 outputs a shutdown current test instruction to the test terminal of the microphone circuit board under test, the controller 20 can, through the current detection module 40, detect the shutdown current value on the connection loop between the sixth terminal of the controller 20 and the power supply terminal of the microphone circuit board under test at the moment when the microphone circuit board under test stops charging or stops working, so as to judge whether the shutdown current value is within the preset shutdown current range. Furthermore, when the shutdown current value is not within the preset shutdown current range, it is determined that the shutdown current of the microphone circuit board under test does not meet the preset shutdown current requirement, and the shutdown current detection result is output to the host computer, controlling the host computer to display the shutdown current detection result of the microphone circuit board under test. Thus, the user can repair the microphone circuit board under test according to the shutdown current detection result, improving the yield of the microphone circuit board. Among them, the shutdown current detection result includes information such as the shutdown current value detected by the current detection module 40 and whether the shutdown current meets the preset shutdown current requirement.
[0036] When the controller 20 outputs an LED detection instruction to the test terminal of the microphone circuit board under test and the microphone circuit board under test is in a working state, the microphone circuit board under test can respond to the LED detection instruction and light up the LED on the microphone circuit board under test, so that the controller 20 can detect whether the LED on the microphone circuit board under test can be normally lit through the photosensitive sensor 50. For example, when controlling the microphone circuit board under test to be paired with an external device in the control mode, the corresponding pairing LED can be controlled to light up. At this time, the controller 20 can detect whether the pairing LED is lit through the photosensitive sensor 50 to determine whether the pairing LED is misconnected. Furthermore, when the pairing LED is not lit, it is determined that the pairing LED is misconnected, and the LED detection result is output to the host computer to control the host computer to display the LED detection result, so that the user can repair the microphone circuit board under test according to the LED detection result, improving the yield of the microphone circuit board. Among them, the LED detection result includes information such as the on / off state of the LED and whether the LED is misconnected.
[0037] When the controller 20 outputs a key function detection instruction to the test terminal of the microphone circuit board under test and the microphone circuit board under test is in a working state, the controller 20 can output a pressing instruction to the host computer to guide the user to press the corresponding key on the microphone circuit board under test, and then receive the key response signal output by the microphone circuit board under test to determine the key state according to the key response signal and output the key state to the host computer to control the host computer to display the key state, so that the user can repair the microphone circuit board under test according to the key state, improving the yield of the microphone circuit board. That is, when the key response signal is a high-level signal, it is determined that the key is normal. When the key response signal is a low-level signal, it is determined that the key is abnormal. Optionally, the key state includes information such as the level of the key response signal and whether the key is abnormal. The key can be a volume up / down or volume down key. In practical applications, it is not limited to this, and it can be determined according to its specific application environment, all within the protection scope of this application.
[0038] When the controller 20 outputs a pairing function detection instruction to the test terminal of the microphone circuit board under test and the microphone circuit board under test is in the working state, the microphone circuit board under test pairs with an external device to output a corresponding pairing result to the controller 20, so that the controller 20 can determine the pairing function detection result of the microphone circuit board under test according to the pairing result, and then output the pairing function detection result to the host computer to control the host computer to display the pairing function status of the microphone circuit board under test, and the user can repair the microphone circuit board under test according to the pairing function status, improving the yield of the microphone circuit board. Specifically, when the pairing between the microphone circuit board under test and the external device is successful, the pairing result is a high-level signal, and the controller 20 can determine that the pairing function of the microphone circuit board under test is normal. When the pairing between the microphone circuit board under test and the external device fails, the pairing result is a low-level signal, and the controller 20 can determine that the pairing function of the microphone circuit board under test is abnormal. Among them, the pairing function detection result includes information such as the pairing result and whether the pairing function of the microphone circuit board under test is abnormal.
[0039] When the controller 20 outputs a loopback function detection instruction to the test terminal of the microphone circuit board under test and the microphone circuit board under test is in the working state, the microphone circuit board under test performs a loopback function detection and outputs a corresponding loopback function detection signal to the controller 20, so that the controller 20 can determine the loopback function detection result of the microphone circuit board under test according to the loopback function detection signal, and then output the loopback function detection result to the host computer to control the host computer to display the loopback function detection result of the microphone circuit board under test, and the user can repair the microphone circuit board under test according to the loopback function detection result, improving the yield of the microphone circuit board. Specifically, when there are distortions, losses or other abnormal conditions in the transmission and processing of the sound signal of the microphone circuit board under test, the loopback function detection signal is a high-level signal, and the controller 20 can determine that the loopback function of the microphone circuit board under test is normal. When there are no distortions, losses or other abnormal conditions in the transmission and processing of the sound signal of the microphone circuit board under test, the loopback function detection signal is a low-level signal, and the controller 20 can determine that the loopback function of the microphone circuit board under test is abnormal. Among them, the loopback function detection result includes information such as the loopback function detection signal output by the microphone circuit board under test and whether the loopback function is abnormal.
[0040] When the controller 20 outputs a MAC address detection instruction to the test terminal of the microphone circuit board under test and the microphone circuit board under test is in a working state, the microphone circuit board under test outputs a MAC address to the controller 20, so that the controller 20 can determine whether the MAC address is within the preset MAC address range. When the MAC address is not within the preset MAC address range, it is determined that the MAC address of the microphone circuit board under test does not meet the preset MAC address requirement, and the MAC address detection result is output to the host computer, controlling the host computer to display the MAC address detection result, so that the user can adjust the MAC address of the microphone circuit board under test according to the MAC address detection result, improving the yield of the microphone circuit board. Among them, the MAC address detection result includes information such as the MAC address of the microphone circuit board under test and whether the MAC address meets the preset MAC address requirement.
[0041] In an optional implementation manner, the user can also send an addition signal or a deletion signal to the controller 20 through the host computer according to actual test requirements. When the controller 20 receives the addition signal sent by the host computer, it can increase the test instructions in the corresponding version number according to the addition signal. When the controller 20 receives the deletion signal sent by the host computer, it can delete the test instructions in the corresponding version number according to the deletion signal. Optionally, the user can also send a test sequence adjustment signal to the controller 20 through the host computer, so that the controller 20 can adjust the sending sequence of the test instructions in the corresponding version number according to the test sequence adjustment signal. Among them, the actual requirement is the test requirement of the microphone circuit board under test. The addition signal includes information such as the version number of the test instructions to be added and the test instructions to be added. The deletion signal includes information such as the version number of the test instructions to be deleted and the test instructions to be deleted. The test sequence adjustment signal includes information such as the version number of the test instructions whose sequence needs to be adjusted, the test instructions to be adjusted, and the sequence. In practical applications, it is not limited to this, and it can be determined according to its specific application environment, all within the protection scope of this application.
[0042] Optionally, when the user needs to confirm whether the version number burned on the microphone circuit board to be tested is correct, the host computer can send a version number detection instruction and a preset version number to the controller 20, so that the controller 20 can output a version reading command to the microphone circuit board to be tested according to the version number detection instruction. After the microphone circuit board to be tested outputs the version number to the controller 20, the controller 20 outputs a corresponding detection result to the host computer according to the version number, and controls the host computer to display the version number burned on the microphone circuit board to be tested and whether the version number is correct. Specifically, when the version number of the microphone circuit board to be tested is the preset version number, the controller 20 determines that the version number burned on the microphone circuit board to be tested is correct, so as to control the host computer to display the version number burned on the microphone circuit board to be tested and information such as the version number being burned correctly; when the version number of the microphone circuit board to be tested is not the preset version number, the controller 20 determines that the version number burned on the microphone circuit board to be tested is incorrect, so as to control the host computer to display the version number burned on the microphone circuit board to be tested and information such as the version number being burned incorrectly.
[0043] In a possible implementation, information interaction can be carried out between the fifth terminal of the controller 20 and the host computer through two serial ports. Optionally, the connection between the fifth terminal of the controller 20 and the host computer can be implemented by using an RS-232 interface, an RS-485 interface or a USB interface. Among them, one serial port can be used as a receiving serial port for receiving the signal output by the host computer, and the other serial port can be a sending serial port for sending signals to the host computer.
[0044] In a possible implementation, information interaction can be carried out between the fourth terminal of the controller 20 and the test terminal of the microphone circuit board to be tested through two serial ports. Optionally, the connection between the fourth terminal of the controller 20 and the test terminal of the microphone circuit board to be tested can be implemented by using an RS-232 interface, an RS-485 interface or a USB interface. Among them, one serial port can be used as a receiving serial port for receiving the signal output by the test terminal of the microphone circuit board to be tested, and the other serial port can be a sending serial port for sending signals to the test terminal of the microphone circuit board to be tested.
[0045] Please refer to Figure 2 , Figure 2 which is a flowchart of the detection device control method provided by an embodiment of the present application. The detection device control method may include the following steps: Step S21: The controller connects to the host computer and receives the version number detection instruction output by the host computer.
[0046] Taking Figure 1 the detection device 100 shown as an example for illustration, after the controller 20 connects to the host computer, it receives the version number detection instruction output by the host computer.
[0047] Step S22: The controller obtains the version number of the microphone circuit board to be tested.
[0048] After the controller 20 receives the version number detection instruction output by the host computer, it outputs a version reading command to the test terminal of the microphone circuit board under test to obtain the version number of the microphone circuit board under test.
[0049] Step S23: The controller determines whether the version number is a preset version number.
[0050] After the controller 20 obtains the version number of the microphone circuit board under test, the controller 20 determines whether the version number is a preset version number pre-stored inside it. When the version number is the preset version number, step S24 is executed, and when the version number is not the preset version number, step S27 is executed.
[0051] Step S24: The controller determines the corresponding test instruction according to the version number.
[0052] In practical applications, at least two test instructions corresponding to version numbers are pre-stored in the controller 20, so that when the version number is the preset version number, the controller 20 can determine the corresponding test instruction according to the version number.
[0053] Step S25: The controller outputs a test instruction to the microphone circuit board under test to control the microphone circuit board under test to perform a test, and collects the LED on / off detection result of the microphone circuit board under test through a photosensitive sensor.
[0054] After the controller 20 determines the corresponding test instruction, the controller 20 sends the corresponding test instruction to the microphone circuit board under test to control the microphone circuit board under test to perform a test, and collects the LED on / off detection result of the microphone circuit board under test through the photosensitive sensor 50. Specifically, the controller 20 can send detection instructions such as an LED detection instruction, a key function detection instruction, a pairing function detection instruction, a loopback function detection instruction, and a mac address detection instruction to the microphone circuit board under test to control the microphone circuit board under test and the photosensitive sensor 50 to perform LED detection, and control the microphone circuit board under test to perform key function detection, pairing function detection, loopback function detection, and mac address detection.
[0055] Optionally, when the detection device 100 includes a current detection module 40 and the current detection module 40 is arranged on the connection loop between the controller 20 and the microphone circuit board under test, the controller 20 can send a power-on current test instruction, a power-off current test instruction, and a charging current test instruction to the test terminal of the microphone circuit board under test to control the microphone circuit board under test and the current detection module 40 to perform power-on current test, power-off current test, and charging current test.
[0056] In a possible implementation, at the moment when the microphone circuit board under test stops charging or stops working, the controller 20 can detect the shutdown current value of the microphone circuit board under test, so that the shutdown current of the microphone circuit board under test can be tested without performing additional power-on and power-off operations, improving the test efficiency of the detection device 100.
[0057] Step S26: The controller receives the functional test result output by the microphone circuit board under test to control the host computer to display the LED on / off detection result and the functional test result of the microphone circuit board under test.
[0058] After the controller 20 controls the microphone circuit board under test and the photosensitive sensor 50 to perform tests, it receives the functional test result output by the microphone circuit board under test to output the functional test result and the LED on / off detection result of the microphone circuit board under test to the host computer, enabling the user to view the LED on / off detection result and the functional test result of the microphone circuit board under test through the host computer, realizing the LED detection and functional detection in the microphone circuit board under test, enabling the user to repair the microphone circuit board under test according to the LED on / off detection result and the functional test result, improving the yield rate of the microphone circuit board under test, and reducing the customer complaint rate.
[0059] Optionally, the controller 20 can also control the host computer to display the version number, charging current value, working current value, and shutdown current value of the microphone circuit board under test, enabling the user to repair the microphone circuit board under test according to the version number, charging current value, working current value, and shutdown current value of the microphone circuit board under test, further improving the yield rate of the microphone circuit board under test and reducing the customer complaint rate.
[0060] Step S27: The controller exits the test.
[0061] When the version number is not the preset version number pre-stored in the controller 20, the controller 20 exits the test.
[0062] Using the detection device 100 of the present application can realize the test of microphone circuit boards with different version numbers and simultaneously realize the LED test of the microphone circuit board, improving the reliability of the detection device 100 and the yield rate of the microphone circuit board, and reducing the customer complaint rate.
[0063] For those skilled in the art, it is obvious that the present application is not limited to the details of the above exemplary embodiments, and the present application can be implemented in other specific forms without departing from the spirit or basic characteristics of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present application is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in the present application. Any reference signs in the claims should not be construed as limiting the claims concerned. In addition, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. The multiple elements or devices recited in the apparatus claims can also be implemented by the same element or device through software or hardware. First, second, etc. are used to denote names and do not denote any particular order.
[0064] The above embodiments are only used to illustrate the technical solutions of the present application and not to limit them. Although the present application has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present application can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present application.
Claims
1. A detection device, characterized in that: Including a controller and a light sensor; Wherein, the controller is connected to the output end of the photosensor, and the controller is used to connect to the microphone circuit board under test, the photosensor is used to collect the LED on / off detection result of the microphone circuit board under test when the microphone circuit board under test is tested, and the controller is connected to the host computer; When the controller is connected to the microphone circuit board under test, the controller is used to: Output a test instruction to the microphone circuit board under test to control the microphone circuit board under test to perform the test, and collect the LED on / off detection result of the microphone circuit board under test through the photosensitive sensor; Receive the function test result output by the tested microphone circuit board to control the host computer to display the LED on / off detection result and the function test result.
2. The detection device according to claim 1, characterized in that: The detection device also includes a current detection module; The output end of the current detection module is connected to the controller, the current detection module is arranged on the series loop between the tested microphone circuit board and the controller, and the current detection module is used to detect the current value on the series loop between the tested microphone circuit board and the controller; The controller is also used to receive the current value to control the host computer to display the current value of the tested microphone circuit board.
3. The detection device according to claim 2, characterized in that: The current detection module is also used for: When the controller provides the working current to the tested microphone circuit board, detecting the working current value on the series loop; When the controller provides charging current to the tested microphone circuit board, detecting the charging current value on the series loop; At the moment when the controller stops providing the working current or the charging current to the microphone circuit board under test, the shutdown current value on the series loop is detected.
4. The detection device according to claim 1, characterized in that: The controller is also used to obtain the version number of the microphone circuit board under test, output the test instruction to the microphone circuit board under test according to the version number to control the microphone circuit board under test to perform the test, and collect the LED on and off detection result of the microphone circuit board under test through the photosensitive sensor.
5. The detection device according to claim 1, characterized in that: The controller is also used for: Obtaining an increase signal sent by the host computer; wherein the increase signal includes a version number of a test instruction to be added and a test instruction to be added; The test instruction in the version number is increased according to the increase signal.
6. The detection device according to claim 1, characterized in that: The controller is also used for: Obtaining a deletion signal sent by the host computer; wherein the deletion signal includes a version number of the test instruction to be deleted and the test instruction to be deleted; The test instructions in the version number are deleted according to the deletion signal.
7. The detection device according to claim 1, characterized in that: The controller is also used for: Obtaining a sequence adjustment signal sent by the host computer; wherein the sequence adjustment signal includes a version number of the test instruction sequence to be adjusted and the test instruction and sequence to be adjusted; The test instructions in the version number are adjusted according to the sequence adjustment signal.
8. The detection device according to claim 1, characterized in that: When there are multiple test instructions, the controller is further used to send each of the test instructions to the microphone circuit board under test one by one, so as to control the microphone circuit board under test to perform the test.
9. The detection device according to claim 1, characterized in that: The test instructions include at least one of a power-on current test instruction, a power-off current test instruction, a charging current test instruction, an LED detection instruction, a key function detection instruction, a pairing function detection instruction, a loopback function detection instruction and a MAC address detection instruction.
10. A detection device control method, applied to a detection device, the detection device includes a controller and a photosensitive sensor, the controller is connected to the output end of the photosensitive sensor, and the controller is used to connect to a microphone circuit board under test, the photosensitive sensor is used to collect the LED on and off detection results of the microphone circuit board under test when the microphone circuit board under test is tested, the controller is connected to a host computer, characterized in that The detection device control method comprises: The controller outputs a test instruction to the microphone circuit board under test to control the microphone circuit board under test to perform a test, and collects a light-on and light-off detection result of an LED of the microphone circuit board under test through the photosensitive sensor; The controller receives the function test result output by the tested microphone circuit board to control the host computer to display the LED on / off detection result and the function test result.
Citation Information
Patent Citations
Automatic testing system and automatic testing method
CN102759719A
Circuit board testing device and method
CN109959859A
Microphone board testing equipment and microphone board testing system
CN212727428U
Bluetooth earphone test control circuit and device
CN216057495U