A method and device for testing TWS headset PCBA shutdown current

By connecting the voltage stabilizing power supply circuit and the sampling circuit to the headphone PCBA, using the microcontroller to control the switch on and off, and collecting the voltage code value to calculate the shutdown current of the headphone PCBA, the problems of complex and inconvenient testing in the existing technology are solved, and a simple and efficient method is achieved. current test.

CN114325317BActive Publication Date: 2024-10-18敦拓电子(宜城)有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111606952.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2024-10-18
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

The existing method of testing the shutdown current of a TWS headset PCBA is too complicated and inconvenient to use. In particular, it cannot effectively test the conduction performance of the lithium battery protection chip, and is not suitable for TWS Bluetooth headset PCBA without a shutdown button.

Method used

Design a method to connect the positive and negative poles of the voltage-stabilized power supply circuit to the positive and negative poles of the battery of the headphone PCBA respectively, use the microcontroller to control the power on and off of the headphone PCBA, and collect the voltage code value after shutdown through the sampling circuit and the analog-to-digital conversion circuit. , calculate the shutdown current value of the headset PCBA.

Benefits of technology

It has simplified the test process and is easy to operate. It can effectively test the shutdown current of the headset PCBA. It is suitable for various TWS headsets, including models without a shutdown button, and improves the accuracy and efficiency of the test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114325317B_ABST
    Figure CN114325317B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for testing the shutdown current of a TWS headset PCBA, comprising: connecting the positive and negative electrodes of a voltage-stabilized power supply circuit to the positive and negative electrodes of a battery of the headset PCBA, respectively, and connecting a sampling circuit to the positive and negative electrodes of the battery of the headset PCBA, wherein the sampling circuit comprises a sampling resistor; using a single-chip microcomputer to control the headset PCBA to start up, and then controlling the headset PCBA to shut down; collecting a sampled voltage code value loaded on the sampling resistor by the voltage-stabilized power supply circuit after the headset PCBA is shut down; converting the sampled voltage code value into a digital voltage through an analog-to-digital conversion circuit; and the single-chip microcomputer calculates the shutdown current value of the headset PCBA according to the digital voltage. The present invention also discloses a device for testing the shutdown current of a TWS headset PCBA. The present invention can be used to test the shutdown current of a TWS headset PCBA, and is simple to operate and convenient to use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a rechargeable battery, and more specifically to a method and a device for testing shutdown current of a TWS headset PCBA. Background Art

[0002] TWS earphones have lithium batteries, and they are equipped with a lithium battery protection chip to protect the battery. Usually, the lithium battery protection chip is designed on the earphone PCBA. There are generally two methods for testing the shutdown current of this type of earphone PCBA in the prior art;

[0003] The first method is to connect the negative pole of the ammeter to the gnd of the PCBA and the positive pole to the positive pole of the battery. This method is equivalent to not testing the conduction performance of the lithium battery protection chip.

[0004] The second method is to connect the ammeter head to the two pads of the battery, first use a 5V voltage to connect the charging test point of the headphone PCBA to activate the lithium battery, then use the button to shut down the headphone PCBA, and then read the value of the ammeter head.

[0005] The first method is equivalent to not testing the conduction performance of the lithium battery protection chip on the TWS headset PCBA. The headset PCBA with a broken lithium battery protection chip cannot be tested. The second method is too complicated and the test time is too long, so it is not suitable for TWS Bluetooth headset PCBAs without a power off button.

[0006] Obviously, the existing method of testing the shutdown current of TWS headset PCBA is too complicated and inconvenient to use. Summary of the invention

[0007] In order to solve the technical problem that the prior art method for testing the shutdown current of a TWS headset PCBA is too complicated and inconvenient to use, the present invention provides a method and device for testing the shutdown current of a TWS headset PCBA.

[0008] In order to solve the above technical problems, the technical solution adopted by the present invention is to design a method for testing the shutdown current of the TWS headset PCBA, including:

[0009] Connect the positive electrode and negative electrode of the voltage-stabilized power supply circuit to the positive electrode and negative electrode of the battery of the headset PCBA respectively, and connect the sampling circuit to the positive electrode and negative electrode of the battery of the headset PCBA, wherein the sampling circuit includes a sampling resistor;

[0010] Use the single chip microcomputer to control the headset PCBA to turn on and then turn off the headset PCBA;

[0011] Collecting a sampled voltage code value loaded on the sampling resistor by the voltage-stabilized power supply circuit after the headset PCBA is turned off;

[0012] Converting the sampled voltage code value into a digital voltage through an analog-to-digital conversion circuit;

[0013] The single chip microcomputer calculates a shutdown current value of the earphone PCBA according to the digital voltage.

[0014] The method of using a single chip microcomputer to control the headset PCBA to turn on and then control the headset PCBA to turn off includes:

[0015] One end of the first control switch is connected to the positive electrode of the charging test point of the headset PCBA, and the other end is connected to the charging power supply;

[0016] One end of the second control switch is connected to the negative electrode of the charging test point of the headset PCBA, and the other end is grounded;

[0017] The single chip microcomputer has a first control port and a second control port, the first control port is connected to the first control switch, and the second control port is connected to the second control switch;

[0018] The single chip microcomputer outputs a control signal to control the first control switch and the second control switch to close and open, control the headset PCBA to turn on, and then control the headset PCBA to turn off, and at the same time control the first control switch and the second control switch to open.

[0019] The sampling circuit also includes:

[0020] a second resistor, one end of which is connected to the positive electrode of the voltage-stabilized power supply circuit, and the other end of which is connected to one end of the sampling resistor and the negative electrode of the voltage-stabilized power supply circuit; the other end of the sampling resistor is grounded;

[0021] The analog-to-digital conversion circuit is connected to one end of the sampling resistor.

[0022] The single chip microcomputer includes a chip stm32f103c8t6; the analog-to-digital conversion circuit includes a chip ads1256.

[0023] The method of connecting the positive electrode and the negative electrode of the voltage-stabilized power supply circuit to the positive electrode and the negative electrode of the battery of the headset PCBA respectively, and connecting one end of the first control switch to the positive electrode of the charging test point of the headset PCBA, and connecting one end of the second control switch to the negative electrode of the charging test point of the headset PCBA includes:

[0024] Place the earphone PCBA on the test stand, so that the test pins on the test stand connect the battery positive electrode, battery negative electrode, charging test point positive electrode, and charging test point negative electrode of the earphone PCBA to the positive electrode of the voltage-stabilized power supply circuit, the negative electrode of the voltage-stabilized power supply circuit, one end of the first control switch, and one end of the second control switch respectively.

[0025] The present invention also provides a device for testing the shutdown current of a TWS headset PCBA, comprising:

[0026] A voltage-stabilized power supply circuit, whose positive and negative electrodes are respectively connected to the positive and negative electrodes of the battery of the headset PCBA;

[0027] A voltage sampling circuit, which is connected to the positive electrode of the battery and the negative electrode of the battery of the headset PCBA, and the voltage sampling circuit includes a sampling resistor;

[0028] An analog-to-digital conversion circuit, connected to a sampling resistor of the voltage sampling circuit;

[0029] A single chip microcomputer, which is connected to the analog-to-digital conversion circuit and is used to control the headset PCBA to turn on and then control the headset PCBA to turn off;

[0030] The voltage sampling circuit collects a sampled voltage code value loaded on the sampling resistor by the voltage-stabilizing power supply circuit after the earphone PCBA is turned off; the analog-to-digital conversion circuit converts the sampled voltage code value into a digital voltage; and the single-chip computer calculates a shutdown current value of the earphone PCBA based on the digital voltage.

[0031] The device for testing the shutdown current of the TWS headset PCBA also includes:

[0032] A first control switch, one end of which is connected to the positive electrode of the charging test point of the headset PCBA, and the other end is connected to the charging power supply;

[0033] A second control switch, one end of which is connected to the negative electrode of the charging test point of the headset PCBA, and the other end is grounded;

[0034] The single chip microcomputer has a first control port and a second control port, the first control port is connected to the first control switch, and the second control port is connected to the second control switch;

[0035] The single chip microcomputer outputs a control signal to control the first control switch and the second control switch to close and open, control the headset PCBA to turn on, and then control the headset PCBA to turn off, and at the same time control the first control switch and the second control switch to open.

[0036] The sampling circuit also includes:

[0037] a second resistor, one end of which is connected to the positive electrode of the voltage-stabilized power supply circuit, and the other end of which is connected to one end of the sampling resistor and the negative electrode of the voltage-stabilized power supply circuit; the other end of the sampling resistor is grounded;

[0038] The analog-to-digital conversion circuit is connected to one end of the sampling resistor.

[0039] The single chip microcomputer includes a chip stm32f103c8t6; the analog-to-digital conversion circuit includes a chip ads1256.

[0040] The device for testing the shutdown current of the TWS earphone PCBA also includes a test frame, on which a test pin is provided. The test pin on the test frame can connect the battery positive pole, battery negative pole, charging test point positive pole, and charging test point negative pole of the earphone PCBA placed on the test frame to the positive pole of the voltage-stabilized power supply circuit, the negative pole of the voltage-stabilized power supply circuit, one end of the first control switch, and one end of the second control switch, respectively.

[0041] The present invention connects the positive and negative electrodes of the voltage-stabilized power supply circuit to the positive and negative electrodes of the battery of the headset PCBA respectively, and connects the sampling circuit to the positive and negative electrodes of the battery of the headset PCBA, wherein the sampling circuit includes a sampling resistor; uses a single-chip microcomputer to control the headset PCBA to start up, and then controls the headset PCBA to shut down; collects the sampled voltage code value loaded on the sampling resistor by the voltage-stabilized power supply circuit after the headset PCBA is shut down; converts the sampled voltage code value into a digital voltage through an analog-to-digital conversion circuit; and the single-chip microcomputer calculates the shutdown current value of the headset PCBA according to the digital voltage. Thus, the single-chip microcomputer can be used to turn on the headset PCBA, activate the lithium battery protection IC on the headset PCBA, and then after shutting down, the sampling voltage code value is collected by the sampling resistor, converted into a digital voltage through an analog-to-digital conversion circuit, and then the single-chip microcomputer is used to calculate the shutdown current value of the headset PCBA according to the digital voltage. The operation is simple and convenient to use. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The present invention is described in detail below with reference to the embodiments and accompanying drawings, wherein:

[0043] Figure 1 It is a schematic diagram of a device for testing the shutdown current of a TWS headset PCBA according to the present invention. DETAILED DESCRIPTION

[0044] The specific implementation of the present invention is further described below in conjunction with the accompanying drawings:

[0045] See also Figure 1 The method of the present invention for testing the shutdown current of a TWS headset PCBA includes:

[0046] The first step: connect the positive electrode and the negative electrode of the voltage-stabilized power supply circuit 2 to the battery positive electrode BAT+ and the battery negative electrode BAT- of the earphone PCBA 9 respectively, and connect the sampling circuit to the battery positive electrode and the battery negative electrode of the earphone PCBA, wherein the sampling circuit includes a sampling resistor R1.

[0047] The voltage stabilizing power supply circuit is used to simulate the battery. A lithium battery protection chip 8 is provided on the earphone PCBA 9, one end of the lithium battery protection chip is connected to the battery negative electrode BAT- of the earphone PCBA, and the other end is grounded.

[0048] In this specific embodiment, the sampling circuit further includes a second resistor R2, one end of which is connected to the positive electrode of the voltage-stabilized power supply circuit, and the other end is connected to one end of the sampling resistor and the negative electrode of the voltage-stabilized power supply circuit; the other end of the sampling resistor is grounded;

[0049] The analog-to-digital conversion circuit is connected to one end of the sampling resistor.

[0050] Step 2: Use single chip microcomputer 4 to control the headset PCBA to turn on, and then control the headset PCBA to turn off.

[0051] In this specific embodiment, one end of the first control switch J1 is connected to the positive electrode 5V+ of the charging test point of the headset PCBA, and the other end is connected to the charging power supply +5V;

[0052] One end of the second control switch J2 is connected to the negative electrode 5V- of the charging test point of the headset PCBA, and the other end is grounded.

[0053] The 5V- and gnd of the TWS headset are connected. After the headset PCBA is turned on, the lithium battery protection chip 8 will connect the BAT- of the headset PCBA with the gnd of the PCBA. In addition to the charging function, the 5V+ and 5V- of the TWS headset PCBA can also receive data, that is, receive control instructions.

[0054] TWS earphones are usually designed to add 5V voltage to the charging test point when the battery end is powering the earphone PCBA. At this time, the lithium battery protection chip will be turned on, that is, the BAT- of the earphone PCBA is connected to the gnd of the PCBA. When the 5V is removed, it will turn on and the Bluetooth IC of the earphone PCBA will turn on.

[0055] The single chip microcomputer has a first control port and a second control port, the first control port is connected to the first control switch, and the second control port is connected to the second control switch;

[0056] The single chip microcomputer outputs a control signal to control the first control switch and the second control switch to close and open, control the headset PCBA to turn on, and then control the headset PCBA to turn off, and at the same time control the first control switch and the second control switch to open.

[0057] The first control switch and the second control switch can both be implemented by electromagnetic switches, and of course, can also be implemented by triodes and the like.

[0058] The single chip microcomputer comprises a chip stm32f103c8t6.

[0059] Step 3: collecting the sampled voltage code value loaded on the sampling resistor by the voltage-stabilized power supply circuit after the earphone PCBA 9 is turned off.

[0060] Step 4: convert the sampled voltage code value into a digital voltage through the analog-to-digital conversion circuit 3.

[0061] In this specific embodiment, the analog-to-digital conversion circuit includes a chip ads1256.

[0062] Step 5: The single chip microcomputer calculates the shutdown current value of the headset PCBA according to the digital voltage.

[0063] In this specific embodiment, the voltage-stabilized power supply circuit, the single-chip microcomputer, the analog-to-digital conversion circuit, and the sampling circuit are all arranged on the test board 1. The positive electrode and the negative electrode of the voltage-stabilized power supply circuit are connected to the positive electrode and the negative electrode of the battery of the headset PCBA, respectively, and one end of the first control switch is connected to the positive electrode of the charging test point of the headset PCBA, and one end of the second control switch is connected to the negative electrode of the charging test point of the headset PCBA, including:

[0064] Place the earphone PCBA on the test stand, so that the test pins on the test stand connect the battery positive electrode, battery negative electrode, charging test point positive electrode, and charging test point negative electrode of the earphone PCBA to the positive electrode of the voltage-stabilized power supply circuit, the negative electrode of the voltage-stabilized power supply circuit, one end of the first control switch, and one end of the second control switch respectively.

[0065] In this specific embodiment, a test base for placing the headset PCBA and a test pin that can move up and down relative to the test base can be set on the test stand. First, put the PCBA of the TWS headset on the test stand, and then press the handle. At this time, the test pin of the test stand connects BAT+, BAT-, 5V+, and 5V- of the TWS headset PCBA to the four points corresponding to the test board, namely, the positive pole of the voltage-stabilized power supply circuit, the negative pole of the voltage-stabilized power supply circuit, one end of the first control switch, and one end of the second control switch. 5V- is actually connected to the gnd of the PCBA.

[0066] The specific testing steps of the present invention are:

[0067] After the test board is connected to the earphone PCBA, there will be a 4.0v voltage at BAT+ and BAT- of the earphone PCBA. This 4.0v voltage is generated by a 4.0v voltage-regulated power supply circuit on the test board, which is used to simulate the battery and is connected to BAT+ and BAT- of the earphone PCBA through the connection wires on the test stand. Since the lithium battery protection chip 8 has not been activated at this time, that is, BAT- has not been connected to the gnd network of the earphone PCBA, the shutdown current of the entire earphone PCBA cannot be measured at this time.

[0068] Then the microcontroller controls the I / O port, that is, the high and low level changes of the first control port and the second control port, to close the electromagnetic switches J1 and J2 for about one second (the specific time can be adjusted according to the settings) and then remove them. At this time, the lithium battery protection chip has been turned on and the headset PCBA has also been turned on.

[0069] Next, the single chip microcomputer sends a shutdown command by controlling the high and low level changes of the I / O port, so that the headset PCBA is turned off, and at the same time, the electromagnetic switches J1 and J2 are indirectly controlled to be disconnected.

[0070] The charging test point of the TWS headset PCBA can usually receive high and low level signals. The software engineer can set the shutdown command in the software of the headset PCBA. That is, control the opening and closing of 5v+, forming the opening and closing of high and low level changes, and send the shutdown command to shut down the headset.

[0071] After the electromagnetic switches J1 and J2 are disconnected, the microcontroller of the test board can convert the shutdown current value of the headset PCBA by collecting the sampled voltage code value of the sampling resistor.

[0072] The data collected by the analog-to-digital conversion circuit is voltage data, and the resistance value of the sampling resistor is preset. Through Ohm's law i=u / r, the current value can be obtained.

[0073] See also Figure 1 The present invention also provides a device for testing the shutdown current of a TWS headset PCBA made according to the above method for testing the shutdown current of a TWS headset PCBA. The device for testing the shutdown current of a TWS headset PCBA includes a voltage-stabilized power supply circuit 2, a voltage sampling circuit, an analog-to-digital conversion circuit 3, a single-chip microcomputer 4, a first control switch J1, and a second control switch J2. Wherein:

[0074] The positive electrode and the negative electrode of the voltage-stabilized power supply circuit 1 are respectively connected to the positive electrode and the negative electrode of the battery of the earphone PCBA 9. The voltage-stabilized power supply circuit is used to simulate a battery.

[0075] A lithium battery protection chip 8 is provided on the earphone PCBA 9, one end of the lithium battery protection chip is connected to the battery negative electrode BAT- of the earphone PCBA, and the other end is grounded.

[0076] The voltage sampling circuit is connected to the battery positive electrode BAT+ and the battery negative electrode BAT- of the earphone PCBA 9, and the voltage sampling circuit includes a sampling resistor R1 and a second resistor R2.

[0077] One end of the second resistor R2 is connected to the positive electrode of the voltage-stabilized power supply circuit, and the other end is connected to one end of the sampling resistor and the negative electrode of the voltage-stabilized power supply circuit; the other end of the sampling resistor is grounded; the analog-to-digital conversion circuit 3 is connected to one end of the sampling resistor.

[0078] The analog-to-digital conversion circuit 3 is connected to the sampling resistor R1 of the voltage sampling circuit.

[0079] The single chip microcomputer 4 is connected to the analog-to-digital conversion circuit 3 and is used to control the headset PCBA to start up and then control the headset PCBA to shut down.

[0080] The voltage sampling circuit collects a sampled voltage code value loaded on the sampling resistor by the voltage-stabilizing power supply circuit after the earphone PCBA is turned off; the analog-to-digital conversion circuit converts the sampled voltage code value into a digital voltage; and the single-chip computer calculates a shutdown current value of the earphone PCBA based on the digital voltage.

[0081] One end of the first control switch J1 is connected to the positive pole of the charging test point of the headset PCBA, and the other end is connected to the charging power supply.

[0082] One end of the second control switch J2 is connected to the negative electrode of the charging test point of the earphone PCBA, and the other end is grounded.

[0083] The single chip microcomputer has a first control port and a second control port, the first control port is connected to the first control switch, and the second control port is connected to the second control switch.

[0084] The single chip microcomputer outputs a control signal to control the first control switch and the second control switch to close and open, control the headset PCBA to turn on, and then control the headset PCBA to turn off, and at the same time control the first control switch and the second control switch to open.

[0085] The 5V- and gnd of the TWS headset are connected. After the headset PCBA is turned on, the lithium battery protection chip 8 will connect the BAT- of the headset PCBA with the gnd of the PCBA. In addition to the charging function, the 5V+ and 5V- of the TWS headset PCBA can also receive data, that is, receive control instructions.

[0086] TWS earphones are usually designed to add 5V voltage to the charging test point when the battery end is powering the earphone PCBA. At this time, the lithium battery protection chip will be turned on, that is, the BAT- of the earphone PCBA is connected to the gnd of the PCBA. When the 5V is removed, it will turn on and the Bluetooth IC of the earphone PCBA will turn on.

[0087] The voltage-stabilized power supply circuit 2 , the voltage sampling circuit, the analog-to-digital conversion circuit 3 , the single-chip computer 4 , the first control switch J1 , the second control switch J2 , the sampling resistor R1 , and the second resistor R2 are all arranged on the test board 1 .

[0088] In this specific embodiment, the single chip microcomputer includes a chip STM32F103C8T6; the analog-to-digital conversion circuit includes a chip ADS1256.

[0089] To further facilitate testing, the device for testing the shutdown current of the TWS earphone PCBA also includes a test stand, on which a test pin is provided. The test pin on the test stand can connect the battery positive pole, battery negative pole, charging test point positive pole, and charging test point negative pole of the earphone PCBA placed on the test stand to the positive pole of the voltage-stabilized power supply circuit, the negative pole of the voltage-stabilized power supply circuit, one end of the first control switch, and one end of the second control switch, respectively.

[0090] The present invention connects the positive and negative electrodes of the voltage-stabilized power supply circuit to the positive and negative electrodes of the battery of the headphone PCBA respectively, and connects the sampling circuit to the positive and negative electrodes of the battery of the headphone PCBA, wherein the sampling circuit includes a sampling resistor; uses a single-chip microcomputer to control the headphone PCBA to start up, and then controls the headphone PCBA to shut down; collects the sampled voltage code value loaded on the sampling resistor by the voltage-stabilized power supply circuit after the headphone PCBA is shut down; converts the sampled voltage code value into a digital voltage through an analog-to-digital conversion circuit; and the single-chip microcomputer calculates the shutdown current value of the headphone PCBA according to the digital voltage. Thus, the headphone PCBA can be turned on by using a single-chip microcomputer, activating the lithium battery protection IC on the headphone PCBA, and then after shutting down, the sampling voltage code value is collected by the sampling resistor, converted into a digital voltage through an analog-to-digital conversion circuit, and then the shutdown current value of the headphone PCBA is calculated by the single-chip microcomputer according to the digital voltage. The operation is simple and easy to use.

[0091] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for testing the shutdown current of a TWS headset PCBA, characterized in that include: Connect the positive electrode and negative electrode of the voltage-stabilized power supply circuit to the positive electrode and negative electrode of the battery of the headset PCBA respectively, and connect the sampling circuit to the positive electrode and negative electrode of the battery of the headset PCBA, wherein the sampling circuit includes a sampling resistor; Use the single chip microcomputer to control the headset PCBA to turn on and then turn off the headset PCBA; Collecting a sampled voltage code value loaded on the sampling resistor by the voltage-stabilized power supply circuit after the headset PCBA is turned off; Converting the sampled voltage code value into a digital voltage through an analog-to-digital conversion circuit; The single chip microcomputer calculates a shutdown current value of the earphone PCBA according to the digital voltage.

2. The method for testing the shutdown current of a TWS headset PCBA according to claim 1, characterized in that: The method of using a single chip microcomputer to control the headset PCBA to turn on and then control the headset PCBA to turn off includes: One end of the first control switch is connected to the positive electrode of the charging test point of the headset PCBA, and the other end is connected to the charging power supply; One end of the second control switch is connected to the negative electrode of the charging test point of the headset PCBA, and the other end is grounded; The single chip microcomputer has a first control port and a second control port, the first control port is connected to the first control switch, and the second control port is connected to the second control switch; The single chip microcomputer outputs a control signal to control the first control switch and the second control switch to close and open, control the headset PCBA to turn on, and then control the headset PCBA to turn off, and at the same time control the first control switch and the second control switch to open.

3. The method for testing the shutdown current of a TWS headset PCBA according to claim 2, characterized in that: The sampling circuit also includes: a second resistor, one end of which is connected to the positive electrode of the voltage-stabilized power supply circuit, and the other end of which is connected to one end of the sampling resistor and the negative electrode of the voltage-stabilized power supply circuit; the other end of the sampling resistor is grounded; The analog-to-digital conversion circuit is connected to one end of the sampling resistor.

4. The method for testing the shutdown current of a TWS headset PCBA according to claim 1, characterized in that: The single chip microcomputer includes a chip stm32f103c8t6; the analog-to-digital conversion circuit includes a chip ads1256.

5. The method for testing the shutdown current of a TWS headset PCBA according to claim 2, characterized in that: The method of connecting the positive electrode and the negative electrode of the voltage-stabilized power supply circuit to the positive electrode and the negative electrode of the battery of the headset PCBA respectively, and connecting one end of the first control switch to the positive electrode of the charging test point of the headset PCBA, and connecting one end of the second control switch to the negative electrode of the charging test point of the headset PCBA includes: Place the earphone PCBA on the test stand, so that the test pins on the test stand connect the battery positive electrode, battery negative electrode, charging test point positive electrode, and charging test point negative electrode of the earphone PCBA to the positive electrode of the voltage-stabilized power supply circuit, the negative electrode of the voltage-stabilized power supply circuit, one end of the first control switch, and one end of the second control switch respectively.

6. A device for testing the shutdown current of a TWS headset PCBA, characterized in that include: A voltage-stabilized power supply circuit, whose positive and negative electrodes are respectively connected to the positive and negative electrodes of the battery of the headset PCBA; A voltage sampling circuit, which is connected to the positive electrode of the battery and the negative electrode of the battery of the headset PCBA, and the voltage sampling circuit includes a sampling resistor; An analog-to-digital conversion circuit, connected to a sampling resistor of the voltage sampling circuit; A single chip microcomputer, which is connected to the analog-to-digital conversion circuit and is used to control the headset PCBA to turn on and then control the headset PCBA to turn off; The voltage sampling circuit collects a sampled voltage code value loaded on the sampling resistor by the voltage-stabilized power supply circuit after the headset PCBA is turned off; The analog-to-digital conversion circuit converts the sampled voltage code value into a digital voltage; and the single chip microcomputer calculates a shutdown current value of the earphone PCBA according to the digital voltage.

7. The device for testing the shutdown current of a TWS headset PCBA according to claim 6, characterized in that: The device for testing the shutdown current of the TWS headset PCBA also includes: A first control switch, one end of which is connected to the positive electrode of the charging test point of the headset PCBA, and the other end is connected to the charging power supply; A second control switch, one end of which is connected to the negative electrode of the charging test point of the headset PCBA, and the other end is grounded; The single chip microcomputer has a first control port and a second control port, the first control port is connected to the first control switch, and the second control port is connected to the second control switch; The single chip microcomputer outputs a control signal to control the first control switch and the second control switch to close and open, control the headset PCBA to turn on, and then control the headset PCBA to turn off, and at the same time control the first control switch and the second control switch to open.

8. The device for testing the shutdown current of a TWS headset PCBA according to claim 7, characterized in that: The sampling circuit also includes: a second resistor, one end of which is connected to the positive electrode of the voltage-stabilized power supply circuit, and the other end of which is connected to one end of the sampling resistor and the negative electrode of the voltage-stabilized power supply circuit; the other end of the sampling resistor is grounded; The analog-to-digital conversion circuit is connected to one end of the sampling resistor.

9. The device for testing the shutdown current of a TWS headset PCBA according to claim 6, characterized in that: The single chip microcomputer includes a chip stm32f103c8t6; the analog-to-digital conversion circuit includes a chip ads1256.

10. The device for testing the shutdown current of a TWS headset PCBA according to claim 7, characterized in that: The device for testing the shutdown current of the TWS earphone PCBA also includes a test frame, on which a test pin is provided. The test pin on the test frame can connect the battery positive pole, battery negative pole, charging test point positive pole, and charging test point negative pole of the earphone PCBA placed on the test frame to the positive pole of the voltage-stabilized power supply circuit, the negative pole of the voltage-stabilized power supply circuit, one end of the first control switch, and one end of the second control switch, respectively.

Citation Information

Patent Citations

  • Automatic terminal charging / discharging test circuit and automatic terminal charging / discharging test method

    CN106291179A

  • Leakage current detection circuit of terminal, and terminal

    WO2016141572A1