An earphone assembly automatic test system

CN122952256APending Publication Date: 2026-10-20BEJING EDIFIER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611300700.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-10-20

AI Technical Summary

Technical Problem

[0003]现有耳机质量测试系统主要依赖机械执行机构完成测试操作:通过机械臂或凸轮结构实现充电盒开盖/关盖动作,通过机械手将耳机从充电盒中取出或放回,以此模拟耳机在盒内/盒外、充电盒开盖/关盖等不同工作状态,机械操作本身存在固有缺陷,这样容易出现抓取偏移、掉件、开合不到位、磁吸错位等失误,一旦发生掉件等问题将直接导致测试中断,甚至损坏被测样机,严重影响测试的连续性和稳定性;同时机械动作响应速度慢,对于需要成百上千次循环的休眠、唤醒和重连稳定性测试,人工操作劳动强度极大,测试效率较低

Benefits of technology

[0015]本发明实施例中,通过主控模块分别与开关模块、数据采集模块通信连接;这样主控模块根据测试项目生成控制指令;开关模块与耳机组件电连接,开关模块在接收控制指令,基于控制指令模拟耳机组件的开合盖状态、出入仓状态、供电模式状态、负载状态、按键状态中的至少一种;同时数据采集模块用于与耳机组件电连接,数据采集模块可以采集耳机组件的测试数据;如此实现了对不同测试项目的全自动,提高测试的稳定性及测试效率;同时在测试过程中采集耳机组件全过程的测试数据,以后续根据测试数据准确定位测试故障点。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

This invention discloses an automatic testing system for headphone components. The system includes: a main control module, a switch module, and a data acquisition module; the main control module is communicatively connected to both the switch module and the data acquisition module; the main control module generates control commands based on test items; the switch module is electrically connected to the headphone component and receives the control commands, simulating at least one of the following states of the headphone component: open / closed cover state, in / out tray state, power supply mode state, load state, and button state; the data acquisition module is electrically connected to the headphone component and collects test data from the headphone component. This solution achieves fully automated testing, improving test stability and efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of headphone technology, and more particularly to an automatic testing system for headphone components. Background Technology

[0002] TWS (True Wireless Stereo) earphones have become mainstream products in the consumer electronics market, and their software design quality directly affects the user experience. During earphone development, prototype debugging, trial production, and batch sampling inspection, comprehensive verification of typical software behaviors such as charging, sleep mode, wake-up, reconnection, and battery level reporting is essential.

[0003] Existing headphone quality testing systems primarily rely on mechanical actuators to perform testing operations: opening / closing the charging case is achieved through robotic arms or cam structures, and the headphone is removed or placed back into the charging case by a robotic arm. This simulates different working states of the headphone, such as inside / outside the case and with the charging case open / closed. However, mechanical operation itself has inherent defects, which can easily lead to errors such as gripping misalignment, dropping parts, incomplete opening / closing, and magnetic misalignment. Once problems such as dropping parts occur, they will directly cause test interruption or even damage the sample under test, seriously affecting the continuity and stability of the test. At the same time, the mechanical action response speed is slow. For stability tests that require hundreds or thousands of cycles of sleep, wake-up, and reconnection, manual operation is extremely labor-intensive and the testing efficiency is low. Summary of the Invention

[0004] This invention provides an automated testing system for headphone components to achieve fully automated testing, thereby improving testing stability and efficiency.

[0005] To achieve the above objectives, embodiments of the present invention provide an automatic testing system for headphone components, which includes: a main control module, a switch module, and a data acquisition module; The main control module is communicatively connected to the switch module and the data acquisition module, respectively; The main control module is used to generate control commands based on the test items; The switch module is used to be electrically connected to the earphone assembly. The switch module is used to receive the control command and simulate at least one of the following states of the earphone assembly: open / closed cover state, in / out state, power supply mode state, load state, and button state. The data acquisition module is electrically connected to the headphone assembly and is used to collect test data of the headphone assembly.

[0006] Optionally, the switching module includes at least one of a first switching unit, a second switching unit, a third switching unit, a fourth switching unit, and a fifth switching unit. The first switch unit is used to simulate the open / closed state of the headphone assembly; The second switching unit is used to simulate the insertion and removal state of the earphone assembly; The third switch unit is used to simulate the power supply mode state of the headphone assembly; The fourth switching unit is used to simulate the load state of the headphone assembly; The fifth switch unit is used to simulate the button state of the headphone assembly.

[0007] Optionally, the first switching unit includes a first relay unit and a switch cover electromagnetic actuator unit; The first terminal of the first relay unit is electrically connected to a voltage source; the second terminal of the first relay unit is electrically connected to the electromagnetic actuator of the switch cover.

[0008] Optionally, the first relay unit includes a main relay and a polarity reversal relay; the electromagnetic actuator for the switch cover includes: a universal adjustment bracket, a DC voltage regulator, a DC voltage regulator, and an electromagnet; The voltage source is electrically connected to the first terminal of the DC voltage regulator; the second terminal of the DC voltage regulator is electrically connected to the first terminal of the main relay; the second terminal of the main relay is grounded. The third terminal of the DC voltage regulator is electrically connected to the first stationary contact of the polarity reversing relay; the first normally closed contact of the polarity reversing relay is electrically connected to the first terminal of the electromagnet; the first normally open contact of the polarity reversing relay is electrically connected to the second terminal of the electromagnet; the fourth terminal of the DC voltage regulator is electrically connected to the second stationary contact of the polarity reversing relay; the second normally closed contact of the polarity reversing relay is electrically connected to the first terminal of the electromagnet; the second normally open contact of the polarity reversing relay is electrically connected to the second terminal of the electromagnet. The universal adjustment bracket is used to adjust the angle of the electromagnet.

[0009] Optionally, the second switching unit includes a second relay unit and a third relay unit; The earphone assembly includes earphones and a charging case; the earphones include at least a left earphone circuit board and a right earphone circuit board; the charging case includes at least a charging case circuit board. The first charging communication pin of the charging box circuit board is electrically connected to the input terminal of the second relay unit; the output terminal of the second relay unit is connected to the charging communication pin of the left earphone circuit board. The second charging communication pin of the charging box circuit board is electrically connected to the input terminal of the third relay unit; the output terminal of the third relay unit is connected to the charging communication pin of the right earphone circuit board.

[0010] Optionally, the third switching unit includes a fourth relay unit; The power supply terminal of the charging box circuit board is connected to the stationary contact of the fourth relay unit; the normally closed contact of the fourth relay unit is connected to the charging box battery; and the normally open contact of the fourth relay unit is connected to the battery simulator.

[0011] Optionally, the fourth switching unit includes a fifth relay unit, a first load unit, a sixth relay unit, and a second load unit; The stationary contact of the fifth relay unit is connected to the output terminal of the second relay unit; the normally closed contact of the fifth relay unit is connected to the charging communication pin of the left earphone circuit board; and the normally open contact of the fifth relay unit is electrically connected to the first load unit. The stationary contact of the sixth relay unit is connected to the output terminal of the third relay unit; the normally closed contact of the sixth relay unit is connected to the charging communication pin of the right earphone circuit board; and the normally open contact of the sixth relay unit is electrically connected to the second load unit.

[0012] Optionally, the fifth switch unit includes a seventh relay unit; the button terminal of the charging box circuit board is connected to the main control module through the seventh relay unit.

[0013] Optionally, the power supply terminals of the left earphone circuit board and the right earphone circuit board are both electrically connected to the earphone battery through the data acquisition module; the data acquisition module is specifically used to collect earphone current and voltage test information in the earphone assembly in real time. The data acquisition module is also specifically used to collect real-time current and voltage test information of the earphone assembly's entry and exit from the charging case; it is also specifically used to collect real-time current and voltage test information of the charging case in the earphone assembly.

[0014] Optionally, the automatic testing system for the headphone assembly also includes: a headphone serial port operation log acquisition module; The serial port of the left earphone circuit board is electrically connected to the earphone serial port operation log acquisition module; the serial port of the right earphone circuit board is electrically connected to the earphone serial port operation log acquisition module. The headphone serial port operation log acquisition module is used to collect the headphone component serial port operation log in real time.

[0015] In this embodiment of the invention, the main control module is communicatively connected to the switch module and the data acquisition module. The main control module generates control commands based on the test items. The switch module is electrically connected to the earphone assembly. Upon receiving the control commands, the switch module simulates at least one of the following states of the earphone assembly: open / closed cover state, in / out tray state, power supply mode state, load state, and button state. Simultaneously, the data acquisition module is electrically connected to the earphone assembly and can collect test data from the earphone assembly. This achieves full automation for different test items, improving test stability and efficiency. Furthermore, it collects test data from the entire earphone assembly process during testing, allowing for accurate location of test faults later based on the test data.

[0016] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a schematic diagram of the structure of an automatic testing system for headphone components provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of another automatic testing system for headphone components provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of another automatic testing system for headphone components provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the specific structure of the first switching unit provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of the structure of the second switching unit provided in an embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of the third switching unit provided in an embodiment of the present invention; Figure 7 This is a schematic diagram of the structure of the fourth switching unit provided in an embodiment of the present invention; Figure 8 This is a schematic diagram of the structure of the fourth switching unit provided in an embodiment of the present invention; Figure 9 This is a schematic diagram of another automatic testing system for headphone components provided in an embodiment of the present invention. Detailed Implementation

[0019] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0020] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0021] Figure 1 This is a schematic diagram of the structure of an automatic testing system for headphone components provided in an embodiment of the present invention, as shown below. Figure 1 As shown, the automatic testing system for the headphone assembly includes: a main control module 10, a switch module 20, and a data acquisition module 30; the main control module 10 is communicatively connected to the switch module 20 and the data acquisition module 30 respectively; the main control module 10 is used to generate control commands according to the test items; the switch module 20 is used to be electrically connected to the headphone assembly A, and the switch module 20 is used to receive control commands and simulate at least one of the following states of the headphone assembly A: open / closed cover state, in / out state, power supply mode state, load state, and button state; The data acquisition module 30 is electrically connected to the headphone assembly A and is used to acquire test data of the headphone assembly A.

[0022] In this embodiment, the test items are the entire implementation process of testing and evaluating the various performance aspects of the headphone components; different test items correspond to the performance indicators in the electrical and reliability aspects of the headphone components; this embodiment does not limit the type of test items; for example, the test items may include the headphone component charging process test, the minimum charge protection test, the multi-scenario sleep and wake-up test, the TWS / A2DP reconnection test when the cover is opened and closed, and the core software test items for power information testing; Different test items require the corresponding earphone components to be in different states. Specifically, in this embodiment, the main control module 10 generates different control commands according to different test items, and the switch module 20 receives the corresponding control commands and simulates at least one of the following states of earphone component A: open / closed state, in / out state, power supply mode state, load state, and button state. The simulated open / closed state of earphone component A simulates the opening and closing action of earphone component A (e.g., charging case), which is independent of whether the earphone unit is inside the charging case. The simulated in / out state simulates the positional relationship between the earphone unit and the charging case. When the earphone unit is inside the charging case, it is in the in / out state; when the earphone unit is not inside the charging case, it is in the out / out state. The states are as follows: out of the case; simulated power supply mode, which is the power supply switching mode of the earphone assembly; load mode, which is the mode that replaces the earphone unit as a load; simulated button mode, which simulates the power button, call button, play button and pairing button of the earphone assembly; the switch module 20 can simulate any one, any two, any three, any four or five states of the earphone assembly A based on the corresponding control command; the switch module 20 can be an integrated switch unit or a discrete switch unit; the switch module 20 can be an integrated switch unit or a discrete switch unit; the switch module 20 can be an integrated switch unit or a discrete switch unit; the switch module 20 can be an integrated switch unit or a discrete switch unit.

[0023] For example, in some embodiments, when the main control module 10 receives a first test item, which may be at least one of the following: earphone component charging process test, multi-scenario sleep and wake-up test, open / close TWS / A2DP reconnection test, and power information test, the main control module 10 generates a first control command based on the first test item; the switch module 20 can then simulate the open / closed state and the insertion / removal state of the earphone component A according to the first control command; when the main control module 10 receives a second test item, which may be a minimum charging protection test, the main control module 10 can generate a second control command; the switch module 20 can then simulate the open / closed state, insertion / removal state, power supply mode state, and load state of the earphone component A according to the second control command; when the main control module 10 receives a third test item, which may be an earphone component button test, the main control module 10 can generate a third control command; the switch module 20 can then simulate the button state of the earphone component A according to the third control command.

[0024] During the execution of different test items, the data acquisition module 30 can collect test data of the earphone component A; that is, the data acquisition module 30 can collect test data in any of the following states of the simulated earphone component A: open / closed state, in / out state, power supply mode state, load state, and button state; for example, it can collect the current and voltage test data between the earphone unit and the charging case in the in / out state; it can collect the current and voltage test data of the charging case in the power supply mode state; in this way, the entire process of different test items can be monitored, so that the main control module 10 can determine the test results based on the test data collected by the data acquisition module 30.

[0025] In this embodiment of the invention, the switch module 10 receives control commands and simulates at least one of the following states of the headphone assembly: open / closed cover state, in / out chamber state, power supply mode state, load state, and button state. This achieves full automation for different test items, improving test stability and efficiency. Simultaneously, the data acquisition module 30 can collect test data of the headphone assembly during the test. This allows for the collection of test data for the entire headphone assembly process, enabling accurate location of test fault points based on the test data.

[0026] Optionally, based on the above embodiments, the switch module 10 can be further refined. Figure 2 This is a schematic diagram of another automatic testing system for headphone components provided in an embodiment of the present invention; as shown below. Figure 2 As shown, the switch module 20 includes at least one of a first switch unit 21, a second switch unit 22, a third switch unit 23, a fourth switch unit 24, and a fifth switch unit 25; the first switch unit 21 is used to simulate the opening and closing state of the headphone assembly; the second switch unit 22 is used to simulate the insertion and removal state of the headphone assembly; the third switch unit 23 is used to simulate the power supply mode state of the headphone assembly; the fourth switch unit 24 is used to simulate the load state of the headphone assembly; and the fifth switch unit 25 is used to simulate the button state of the headphone assembly.

[0027] In this embodiment, the switch module 20 can be a discrete switch unit; specifically, the switch module 20 includes at least one of a first switch unit 21, a second switch unit 22, a third switch unit 23, a fourth switch unit 24, and a fifth switch unit 25; the switch module 20 can include any one of each switch unit 22; or any two switch units, or any three switch units, or any four switch units, or five switch units, and this embodiment does not limit this; For example, in some embodiments, when the main control module 10 receives the first test item, the first test item can be at least one of the following: headphone component charging process test, multi-scenario sleep and wake-up test, opening and closing TWS / A2DP reconnection test, and power information test. The main control module 10 generates a first control command according to the first test item; the first switch unit 21 can simulate the opening and closing state of the headphone component A according to the first control command; the second switch unit 22 can simulate the insertion and removal state of the headphone component. When the main control module 10 receives the second test item, the second test item can be a minimum charging protection test; the main control module 10 can generate a second control command; the first switch unit 21 can simulate the opening and closing state of the earphone component A according to the second control command, the second switch unit 22 can simulate the insertion and removal state of the earphone component A according to the second control command, the third switch unit 23 can simulate the power supply mode state according to the second control command, and the fourth switch unit 24 can simulate the load state according to the second control command. When the main control module 10 receives the third test item, the third test item can be a button test of the headphone component; a third control command can be generated; the fifth switch unit 25 can then simulate the button state of the headphone component A according to the third control command.

[0028] Optionally, each switching unit can be further refined. Figure 3 This is a schematic diagram of another automatic testing system for headphone components provided in an embodiment of the present invention; as shown below. Figure 3 As shown, the first switch unit 21 includes a first relay unit 211 and a switch cover electromagnetic actuator unit 212; the first terminal of the first relay unit 211 is electrically connected to the voltage source VCC; the second terminal of the first relay unit 211 is electrically connected to the switch cover electromagnetic actuator module 212.

[0029] The first switch unit 21 can simulate the opening and closing state of the headphone assembly; that is, when the first switch unit 21 is in the first state, it simulates the open state of the headphone assembly; when the first switch unit 21 is in the second state, it simulates the closed state of the headphone assembly. Specifically, when the first switch unit is in the first state, the first relay unit 211 is in the first state. If the first relay unit 211 is in the conducting state, the switch cover electromagnetic actuator 212 is powered by the voltage source and provides the magnetic force required to open and close the cover, thereby simulating the open state of the headphone assembly A. When the first switch unit 21 is in the second state, the first relay unit 211 is in the second state. If the first relay unit 211 is in the open state, the switch cover electromagnetic actuator 212 cannot be powered by the voltage source and cannot provide the magnetic force required to open and close the cover, thereby simulating the closed state of the headphone assembly.

[0030] Optional, Figure 4 This is a schematic diagram of the specific structure of the first switching unit provided in an embodiment of the present invention; as shown below. Figure 4 As shown, the first relay unit 211 includes a main relay K01 and a polarity reversal relay K02; the switch cover electromagnetic actuator 212 includes: a universal adjustment bracket 2121 (not shown in the figure), a DC voltage regulator 2122 and an electromagnet 2123. The voltage source VCC is electrically connected to the first terminal of the DC voltage regulator 2122; the second terminal of the DC voltage regulator 2122 is electrically connected to the first terminal of the main relay K01; the second terminal of the main relay K01 is grounded. The third terminal of the DC voltage regulator 2122 is electrically connected to the first stationary contact of the polarity reversing relay K02; the first normally closed contact of the polarity reversing relay K02 is electrically connected to the first terminal of the electromagnet 2123; the first normally open contact of the polarity reversing relay K02 is electrically connected to the second terminal of the electromagnet 2123; the fourth terminal of the DC voltage regulator 2122 is electrically connected to the second stationary contact of the polarity reversing relay K02; the second normally closed contact of the polarity reversing relay K02 is electrically connected to the first terminal of the electromagnet 2123; and the second normally open contact of the polarity reversing relay K02 is electrically connected to the second terminal of the electromagnet 2123. Universal adjustment bracket 2121 is used to adjust the angle of electromagnet 2123.

[0031] Among them, the universal adjustment bracket 2121 can adjust the electromagnet 2123 to the corresponding position in the charging case of the earphone assembly, and can realize arbitrary adjustment of the three-dimensional spatial position and angle. It can quickly adapt to charging cases of different shapes, sizes and opening angles, so there is no need to customize mechanical structures for different models; the DC voltage regulator 2122 can adjust the value of the input voltage source VCC, thereby adjusting the working voltage of the electromagnet 2123, thereby changing the magnitude of the output electromagnetic force of the electromagnet 2123, which can adapt to charging case covers of different weights and different magnetic attraction forces; the DC voltage regulator 2122 can be a transformer; The main relay K01 controls whether the power supply VCC is output to the electromagnet 2123 through the DC voltage regulator 2122, that is, it controls the energization and de-energization of the electromagnet 2123, and controls whether the magnetic force required to open and close the cover is provided. The polarity reversal relay K02 can change the current direction of the electromagnet, thereby reversing the polarity of the electromagnet and adapting to charging compartments with different magnetic pole directions. Specifically, when it is necessary to simulate the closing action, the main relay K01 is in the closed state according to the control command. At the same time, the first stationary contact of the polarity reversal relay K02 is connected to the first normally closed contact, and the second stationary contact of the polarity reversal relay K02 is connected to the second normally closed contact. The polarity reversal relay K02 can maintain the initial current direction of the electromagnet. In this way, the electromagnet is energized in the positive direction, generating a positive magnetic force to activate the Hall sensor on the charging box, simulating the closing of the charging box cover. When simulating opening the lid, to avoid damaging the drive circuit or electromagnet due to a direct short circuit in the power supply during switching, the main relay K01 is first in the off state according to the control command, so that the electromagnet 2123 is completely de-energized. After the residual energy of the power supply is discharged, the first stationary contact of the polarity reversal relay K02 switches to connect with the first normally open contact, and the second stationary contact of the polarity reversal relay K02 switches to connect with the second normally open contact, and then closes the main relay K0 again. In this way, the initial current direction of the electromagnet can be changed by the polarity reversal relay K02, so that the electromagnet is energized in the reverse direction, generating a repulsive force to push open the charging box lid. In some embodiments, the main relay K01 is in the off state, controlling the electromagnet to de-energize, releasing the magnetic force, and simulating the opening of the charging box lid.

[0032] Optional, Figure 5 This is a schematic diagram of the structure of the second switching unit provided in an embodiment of the present invention; as shown below. Figure 5 As shown, the second switch unit 22 includes a second relay unit 221 and a third relay unit 222; the earphone assembly includes earphones and a charging case; the earphones include at least a left earphone circuit board and a right earphone circuit board; the charging case includes at least a charging case circuit board; The first charging communication pin PogoPin1 of the charging box circuit board is electrically connected to the input terminal of the second relay unit 221; the output terminal of the second relay unit 221 is connected to the charging communication pin of the left earphone circuit board. The second charging communication pin PogoPin2 of the charging box circuit board is electrically connected to the input terminal of the third relay unit 222; the output terminal of the third relay unit 222 is connected to the charging communication pin of the right earphone circuit board.

[0033] The second switch unit 22 can simulate the insertion and removal states of the earphone assembly; that is, when the second switch unit 22 is in the first state, it simulates the removal state of the earphone assembly, and when the second switch unit 22 is in the second state, it simulates the insertion state of the earphone assembly. Specifically, when the second switch unit 22 is in the first state, the second relay unit 221 is also in the first state. For example, when the second electrical unit 221 is in the on state, the first charging communication pin PogoPin of the charging case circuit board (which may include the first positive charging communication pin PogoPin1+ and the first negative charging communication pin PogoPin1-) is activated. The charging communication pin PogoPin of the charging case circuit board (which can correspond to pin 5V and pin GND) is connected to the charging communication pin of the left earphone circuit board to simulate the left earphone being inserted into the charging case. When the second switch unit is in the first state, the third relay unit 222 is in the first state. If the third electrical unit 222 is in the conducting state, the second charging communication pin PogoPin of the charging case circuit board (which can include the second positive charging communication pin PogoPin2+ and the second negative charging communication pin PogoPin2-) is connected to the charging communication pin of the right earphone circuit board (which can correspond to pin 5V and pin GND) to simulate the right earphone being inserted into the charging case. When the second switch unit 22 is in the second state, the second relay unit 221 is in the second state. If the second electrical unit 221 is in the off state, the first charging communication pin PogoPin of the charging case circuit board is disconnected from the charging communication pin of the left earphone circuit board, thereby simulating the state of the left earphone being removed from the charging case. When the second switch unit 22 is in the second state, the third relay unit 222 is in the second state. If the third electrical unit 222 is in the off state, the second charging communication pin PogoPin of the charging case circuit board is disconnected from the charging communication pin of the right earphone circuit board, thereby simulating the state of the right earphone being removed from the charging case.

[0034] For example, when the main control module 10 receives the first test item, which is a test of the charging process of the earphone assembly, the main control module 10 generates a first control command according to the first test item; the first switch unit 21 can specifically simulate the closed state of the earphone assembly A according to the first control command; at the same time, the second relay unit 221 can specifically simulate the left earphone being inserted into the charging case according to the first control command, and the third relay unit 222 can specifically simulate the right earphone being inserted into the charging case according to the first control command; in this way, the charging case can test the charging process of the left and right earphones.

[0035] When the main control module 10 receives the first test item, which is a multi-scenario sleep and wake-up test, the main control module 10 generates a first control command according to the first test item. The first switch unit 21 can specifically simulate the open or closed state of the earphone component A according to the first control command. At the same time, the second relay unit 221 can specifically simulate the left earphone's insertion or removal state according to the first control command, and the third relay unit 222 can specifically simulate the right earphone's insertion or removal state according to the first control command. In this way, the four scenarios of earphones in / out of the case and charging case open / closed can be freely combined and switched, and the sleep and wake-up processes of the charging case and earphones can be verified under each combination of conditions.

[0036] When the main control module 10 receives the first test item, which is the TWS / A2DP reconnection test and power information test after opening and closing the cover, the main control module 10 generates a first control command according to the first test item. The first switch unit 21 can specifically simulate the closed state of the earphone component A according to the first control command. After the earphone is powered off and put to sleep, it specifically simulates the open state of the earphone component. At the same time, the second relay unit 221 specifically simulates the inserted state of the left earphone according to the first control command, and the third relay unit 222 specifically simulates the inserted state of the right earphone according to the first control command. In this way, it can be confirmed that the TWS left and right ear interconnection and A2DP mobile phone reconnection can be completed normally after opening the cover, and the power value is verified to have no abnormal jumps.

[0037] Optional, Figure 6 This is a schematic diagram of the structure of the third switching unit provided in an embodiment of the present invention; as shown below. Figure 6 As shown, the third switch unit 23 includes a fourth relay unit 231; the power supply terminal of the charging box circuit board is connected to the stationary contact of the fourth relay unit 231; the normally closed contact of the fourth relay unit 231 is connected to the charging box battery; and the normally open contact of the fourth relay unit 231 is connected to the battery simulator.

[0038] In this embodiment, the battery simulator can simulate the characteristics of batteries with different capacities and different discharge curves; for example, the output voltage range is 0-12V with an accuracy of ±1mV; the current range is 0-2A with an accuracy of ±1mA; and the output voltage, current limit, and charging / discharging mode can be adjusted in real time by receiving control commands from the host computer. When the third switch unit 23 can simulate the power supply mode of the headphone assembly, that is, when the third switch unit 23 is in the first state, it simulates the charging case battery power supply mode of the headphone assembly; when the third switch unit 23 is in the second state, it simulates the battery simulator power supply mode of the headphone assembly. Specifically, when the third switch unit 23 is in the first state, the fourth relay unit 231 is in the first state, that is, when the stationary contact of the fourth electrical unit 231 is connected to the normally closed contact, it simulates the charging case battery power supply mode of the headphone assembly; when the third switch unit 23 is in the second state, the fourth relay unit 231 is in the second state, and the stationary contact of the fourth electrical unit 231 is connected to the normally open contact, it simulates the battery simulator power supply mode of the headphone assembly.

[0039] Optional, Figure 7 This is a schematic diagram of the structure of the fourth switching unit provided in an embodiment of the present invention; as shown below. Figure 7 As shown, the fourth switching unit 24 includes a fifth relay unit 241, a first load unit 242, a sixth relay unit 243, and a second load unit 244. The stationary contact of the fifth relay unit 241 is connected to the output terminal of the second relay unit 221. The normally closed contact of the fifth relay unit 241 is connected to the charging communication pin of the left earphone circuit board. The normally open contact of the fifth relay unit 241 (only the normally open contact corresponding to the 5V pin is shown in the figure) is electrically connected to the first load unit 242. The stationary contact of the sixth relay unit 243 is connected to the output terminal of the third relay unit 222. The normally closed contact of the sixth relay unit 243 is connected to the charging communication pin of the right earphone circuit board. The normally open contact of the sixth relay unit 243 (only the normally open contact corresponding to the 5V pin is shown in the figure) is electrically connected to the second load unit 244.

[0040] The fourth switch unit 24 can simulate the load state of the headphone assembly; that is, when the fourth switch unit 24 is in the first state, it simulates the headphone unit connection state of the headphone assembly; when the fourth switch unit 24 is in the second state, it simulates the load of the headphone assembly replacing the headphone unit connection state. Specifically, when the fourth switch unit 24 is in the first state, the fifth relay unit 241 and the sixth relay unit 243 are in the first state, that is, the stationary contacts and normally closed contacts corresponding to the fifth relay unit 241 and the sixth relay unit 243 are both connected, thus simulating the headphone unit connection state of the headphone assembly; when the fourth switch unit 24 is in the second state, the fifth relay unit 241 and the sixth relay unit 243 are in the second state, that is, the stationary contacts and normally open contacts corresponding to the fifth relay unit 241 and the sixth relay unit 243 are both connected, thus simulating the load of the headphone assembly replacing the headphone unit connection state. It should be noted that when the main control module 10 receives the second test item, the second test item can be a minimum charging protection test; the main control module 10 can generate a second control command; correspondingly, the first relay unit 211 is in the conducting state, simulating the closed state; the second relay unit 221 and the third relay unit 222 are in the conducting state, simulating the left and right earphones being inserted into the charging case; the fourth relay unit 231 is in the state where the stationary contact and the normally open contact are connected, i.e., the battery simulator power supply mode; the stationary contact and the normally open contact of the fifth relay unit 241 and the sixth relay unit 243 are both connected, i.e., simulating the load replacement of the earphone unit, creating a constant load that cannot be fully charged for a long time. This can verify whether the charging case can automatically terminate charging and enter the minimum charging sleep mode within a preset time, verify whether the minimum charging logic is normal, and avoid long-term ineffective charging and abnormal power consumption.

[0041] Optional, Figure 8 This is a schematic diagram of the structure of the fifth switching unit provided in an embodiment of the present invention; as shown below. Figure 8 As shown, the fifth switch unit 25 includes a seventh relay unit 251; the button terminal of the charging box circuit board is connected to the main control module 10 through the seventh relay unit.

[0042] The fifth switch unit 25 can simulate the button state of the headphone assembly. When the fifth switch unit 25 is in the first state, it can simulate the button state of the headphone assembly. Specifically, when the fifth switch unit 25 is in the first state, the seventh relay unit 251 is in the first state. If the seventh relay unit 251 is in the conducting state, it simulates the button state of the headphone assembly, and the main control module 10 can obtain the button state. When the fifth switch unit 25 is in the second state, it can simulate the non-button state of the headphone assembly. Specifically, when the fifth switch unit 25 is in the second state, the seventh relay unit 251 is in the second state, that is, the seventh relay unit 251 is in the conducting state, thus simulating the non-button state of the headphone assembly, and the main control module 10 can obtain this non-button state.

[0043] Optional, continue to refer to Figure 8 The power terminals B+B- of the left earphone circuit board and the right earphone circuit board are both electrically connected to the earphone battery through the data acquisition module 40. The data acquisition module 40 is specifically used to collect the earphone current and voltage test information in the earphone assembly in real time. The data acquisition module 40 is also specifically used to collect the current and voltage test information of the earphone assembly in and out of the charging case in real time. It is also specifically used to collect the charging case current and voltage test information in the earphone assembly in real time.

[0044] Specifically, different test items can include at least one of the following: earphone component charging process test, multi-scenario sleep and wake-up test, opening and closing TWS / A2DP reconnection test, power information test, and button test. During different test items, the data acquisition module 40 can comprehensively collect the earphone current and voltage test information, the current and voltage test information of the earphone component in and out of the charging case, and the current and voltage test information of the charging case, and verify whether the test is successful based on the detected earphone current and voltage test information, the current and voltage test information of the earphone component in and out of the charging case, and the current and voltage test information of the charging case.

[0045] It should be noted that when the main control module 10 receives the second test item, the second test item can be a minimum charge protection test; the main control module 10 can generate a second control command; the switch module 20 can simulate the closed state, inserted state, battery simulator power supply mode state and load state of the earphone component A according to the second control command; at the same time, the data acquisition module 40 can collect the current and voltage test information of the earphone component in and out of the charging case and the current and voltage test information of the simulated battery side during the minimum charge protection test, thereby verifying whether the charging case can automatically terminate charging and enter the minimum charge sleep mode within a preset time, verifying whether the minimum charge logic is normal, and avoiding long-term ineffective charging and abnormal power consumption.

[0046] In some embodiments, the data acquisition module 40 may specifically include multiple sets of independent current and voltage meters, all of which communicate directly with the main control module 10 via an RS-485 bus to realize independent and synchronous acquisition of multi-channel electrical parameters, with measurement accuracy of ±1mV and ±0.01mA.

[0047] Optional, Figure 9 This is a schematic diagram of another automatic testing system for headphone components provided in an embodiment of the present invention; as shown below. Figure 9 As shown, the automatic testing system for the headphone assembly also includes: a headphone serial port operation log acquisition module 40; the serial port RX / TX of the left headphone circuit board is electrically connected to the headphone serial port operation log acquisition module 40; the serial port RX / TX of the right headphone circuit board is electrically connected to the headphone serial port operation log acquisition module 40; the headphone serial port operation log acquisition module 40 is used to collect the headphone assembly serial port operation log in real time.

[0048] The various test items can include at least one of the following: headphone component charging process test, multi-scenario sleep and wake-up test, case opening and closing TWS / A2DP reconnection test, power information test, minimum charge test, and button test. During different test items, the headphone serial port operation log acquisition module 40 can collect the headphone component serial port operation log in real time. Based on the detected headphone current and voltage test information, the current and voltage test information of the headphone component in and out of the charging case, and the current and voltage test information of the charging case, the module can verify the success of the test by combining the headphone component serial port operation log, thus improving the anomaly analysis capability. At the same time, when an anomaly occurs, the module automatically shuts down and issues an audible and visual alarm, and with the anomaly snapshot saving function, the safety, controllability, and problem tracing efficiency of long-term unattended testing are improved.

[0049] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. An automatic testing system for headphone components, characterized in that, include: Main control module, switch module and data acquisition module; The main control module is communicatively connected to the switch module and the data acquisition module, respectively; The main control module is used to generate control commands based on the test items; The switch module is used to be electrically connected to the earphone assembly. The switch module is used to receive the control command and simulate at least one of the following states of the earphone assembly: open / closed cover state, in / out state, power supply mode state, load state, and button state. The data acquisition module is electrically connected to the headphone assembly and is used to collect test data of the headphone assembly.

2. The automatic testing system for headphone components according to claim 1, characterized in that, The switching module includes at least one of a first switching unit, a second switching unit, a third switching unit, a fourth switching unit, and a fifth switching unit. The first switch unit is used to simulate the open / closed state of the headphone assembly; The second switching unit is used to simulate the insertion and removal state of the earphone assembly; The third switch unit is used to simulate the power supply mode state of the headphone assembly; The fourth switching unit is used to simulate the load state of the headphone assembly; The fifth switch unit is used to simulate the button state of the headphone assembly.

3. The automatic testing system for headphone components according to claim 2, characterized in that, The first switching unit includes a first relay unit and a switch cover electromagnetic actuator unit; The first terminal of the first relay unit is electrically connected to a voltage source; the second terminal of the first relay unit is electrically connected to the electromagnetic actuator of the switch cover.

4. The automatic testing system for headphone components according to claim 3, characterized in that, The first relay unit includes a main relay and a polarity reversal relay; the electromagnetic actuator for the switch cover includes a universal adjustment bracket, a DC voltage regulator, and an electromagnet. The voltage source is electrically connected to the first terminal of the DC voltage regulator; the second terminal of the DC voltage regulator is electrically connected to the first terminal of the main relay; the second terminal of the main relay is grounded. The third terminal of the DC voltage regulator is electrically connected to the first stationary contact of the polarity reversing relay; the first normally closed contact of the polarity reversing relay is electrically connected to the first terminal of the electromagnet; the first normally open contact of the polarity reversing relay is electrically connected to the second terminal of the electromagnet; the fourth terminal of the DC voltage regulator is electrically connected to the second stationary contact of the polarity reversing relay; the second normally closed contact of the polarity reversing relay is electrically connected to the first terminal of the electromagnet; the second normally open contact of the polarity reversing relay is electrically connected to the second terminal of the electromagnet. The universal adjustment bracket is used to adjust the angle of the electromagnet.

5. The automatic testing system for headphone components according to claim 2, characterized in that, The second switching unit includes a second relay unit and a third relay unit; The earphone assembly includes earphones and a charging case; the earphones include at least a left earphone circuit board and a right earphone circuit board; the charging case includes at least a charging case circuit board. The first charging communication pin of the charging box circuit board is electrically connected to the input terminal of the second relay unit; the output terminal of the second relay unit is connected to the charging communication pin of the left earphone circuit board. The second charging communication pin of the charging box circuit board is electrically connected to the input terminal of the third relay unit; the output terminal of the third relay unit is connected to the charging communication pin of the right earphone circuit board.

6. The automatic testing system for headphone components according to claim 5, characterized in that, The third switching unit includes a fourth relay unit; The power supply terminal of the charging box circuit board is connected to the stationary contact of the fourth relay unit; the normally closed contact of the fourth relay unit is connected to the charging box battery; and the normally open contact of the fourth relay unit is connected to the battery simulator.

7. The automatic testing system for headphone components according to claim 5, characterized in that, The fourth switching unit includes a fifth relay unit, a first load unit, a sixth relay unit, and a second load unit; The stationary contact of the fifth relay unit is connected to the output terminal of the second relay unit; the normally closed contact of the fifth relay unit is connected to the charging communication pin of the left earphone circuit board; and the normally open contact of the fifth relay unit is electrically connected to the first load unit. The stationary contact of the sixth relay unit is connected to the output terminal of the third relay unit; the normally closed contact of the sixth relay unit is connected to the charging communication pin of the right earphone circuit board; and the normally open contact of the sixth relay unit is electrically connected to the second load unit.

8. The automatic testing system for headphone components according to claim 5, characterized in that, The fifth switch unit includes a seventh relay unit; the button terminal of the charging box circuit board is connected to the main control module through the seventh relay unit.

9. The automatic testing system for headphone components according to claim 5, characterized in that, The power supply terminals of the left and right earphone circuit boards are both electrically connected to the earphone battery through the data acquisition module; the data acquisition module is specifically used to collect earphone current and voltage test information in the earphone assembly in real time. The data acquisition module is also specifically used to collect real-time current and voltage test information of the earphone assembly's entry and exit from the charging case; it is also specifically used to collect real-time current and voltage test information of the charging case in the earphone assembly.

10. The automatic testing system for headphone components according to claim 5, characterized in that, Also includes: Headphone serial port operation log acquisition module; The serial port of the left earphone circuit board is electrically connected to the earphone serial port operation log acquisition module; the serial port of the right earphone circuit board is electrically connected to the earphone serial port operation log acquisition module. The headphone serial port operation log acquisition module is used to collect the headphone component serial port operation log in real time.