CN115347632A - Battery charging management method, device and system of TWS earphone - Google Patents

Battery charging management method, device and system of TWS earphone Download PDF

Info

Publication number
CN115347632A
CN115347632A CN202210765250.9A CN202210765250A CN115347632A CN 115347632 A CN115347632 A CN 115347632A CN 202210765250 A CN202210765250 A CN 202210765250A CN 115347632 A CN115347632 A CN 115347632A
Authority
CN
China
Prior art keywords
switch
battery
earphone
cabin
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210765250.9A
Other languages
Chinese (zh)
Other versions
CN115347632B (en
Inventor
王锐
李建军
王亚波
莫军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Unicmicro Guangzhou Co ltd
Original Assignee
Unicmicro Guangzhou Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Unicmicro Guangzhou Co ltd filed Critical Unicmicro Guangzhou Co ltd
Priority to CN202210765250.9A priority Critical patent/CN115347632B/en
Publication of CN115347632A publication Critical patent/CN115347632A/en
Application granted granted Critical
Publication of CN115347632B publication Critical patent/CN115347632B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00302Overcharge protection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/34Parallel operation in networks using both storage and other dc sources, e.g. providing buffering
    • H02J7/342The other DC source being a battery actively interacting with the first one, i.e. battery to battery charging
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a battery charging management method, a device and a system of a TWS earphone, wherein a switch array of an earphone cabin battery is arranged; when no external power supply is input, whether earphone insertion exists at present is detected, if yes, the switch array of the earphone cabin battery is set to be in a series mode, and the earphone cabin battery is charged according to the linear charging circuit; when the input of an external power supply is detected, whether the earphone is inserted currently is detected, if so, the external power supply is used for charging the earphone battery, otherwise, the switch array of the earphone cabin battery is set to be in a parallel mode, and the external power supply is used for charging the earphone cabin battery according to the linear charging circuit. Compared with the prior art, the invention improves the charging efficiency of the power supply to the earphone battery by detecting whether the external power supply is input or not and selecting the external power supply or the earphone cabin battery to directly charge the battery of the earphone according to the detection result.

Description

Battery charging management method, device and system of TWS earphone
Technical Field
The present invention relates to the field of earphone battery charging technologies, and in particular, to a battery charging management method, device, and system for a TWS earphone.
Background
With the development of mobile phone technology, the TWS, true Wireless step: true wireless stereo, TWS headphones are increasingly used. Due to the limitation of the size of the TWS earphone, the battery capacity is relatively small, and different technical schemes are generated for solving the problem of endurance of the TWS earphone, wherein the scheme of charging the TWS earphone at any time through a matched earphone cabin battery gradually becomes the mainstream of the market and is widely applied.
However, the currently mainstream TWS headset cabin scheme mainly has two implementation methods, one is to charge a cabin battery through one linear buck charging circuit, and the other is to charge the headset through the other synchronous boost circuit. The other is a bidirectional synchronous power supply, one direction of which is used for reducing voltage and charging a cabin battery, and the other direction of which is used for charging an earphone. The synchronous power supplies of the two schemes both need to use an inductor, and the inductor occupies a large space inside the earphone. And the charging to the earphone battery is fixed 5V output, the earphone battery is charged by reducing the voltage, the earphone cabin battery and the earphone battery are converted by at least two stages of power supplies, especially in the first scheme, the external power supply and the earphone battery are converted by three stages, and the integral charging efficiency is lower.
Therefore, there is a need in the market for a battery charging management strategy for TWS headphones, which improves charging efficiency and reduces the occupation of the internal space of the headphones.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method, the device and the system for managing the charging of the battery of the TWS earphone are provided, the charging efficiency of the power supply to the earphone battery is improved by detecting whether the external power supply is input currently and selecting the external power supply or the earphone cabin battery to directly charge the battery of the earphone according to the detection result.
In order to solve the above technical problem, the present invention provides a battery charging management method for a TWS headset, including:
setting a switch array of the earphone cabin battery;
when no external power supply is input, controlling an input power switch to be disconnected, detecting whether an earphone is inserted currently, if so, controlling an earphone cabin battery output switch to be closed, setting a switch array of the earphone cabin battery to be in a series mode, and charging the earphone battery by the earphone cabin battery according to a linear charging circuit;
when the input of an external power supply is detected, controlling the input power supply switch to be closed, simultaneously controlling the earphone cabin battery output switch to be disconnected, detecting whether an earphone is inserted currently or not, if so, enabling the external power supply to charge the earphone battery according to a linear charging circuit, if not, disconnecting the earphone battery charging switch, setting a switch array of the earphone cabin battery to be in a parallel mode, and enabling the external power supply to charge the earphone cabin battery according to the linear charging circuit.
In a possible implementation manner, after the external power supply charges the earphone battery, the method further includes:
detecting the electric quantity of the current earphone battery in real time, if the electric quantity of the earphone battery is detected to be full, disconnecting a charging switch of the earphone battery, setting a switch array of the earphone cabin battery to be in a parallel mode, and charging the earphone cabin battery by the external power supply according to a linear charging circuit.
In a possible implementation manner, the switch array for setting the battery of the earphone cabin is specifically:
the switch array of the earphone cabin battery comprises a first switch, a second switch, a third switch, a fourth switch, a fifth switch and a sixth switch;
the first switch is the earphone cabin battery output switch, a first end of the first switch is connected with an input end of the linear charging circuit, first ends of the second switch and the third switch are respectively connected with an output end of the linear charging circuit, a second end of the second switch is respectively connected with a first end of a second battery of the earphone cabin battery and a second end of the fifth switch, a second end of the third switch is respectively connected with a second end of the first switch and a first end of a first battery of the earphone cabin battery, a second end of the first battery is respectively connected with a first end of the fifth switch and a second end of the fourth switch, a second end of the second battery is connected with a second end of the sixth switch, a first end of the fourth switch is connected with a first end of the sixth switch, and first ends of the fourth switch and the sixth switch are respectively grounded.
In one possible implementation, the series mode includes setting the second switch, the third switch, and the fourth switch in the switch array of the headset cabin battery to an open state, and setting the fifth switch and the sixth switch to a closed state;
the parallel mode includes setting the second, third, fourth, and sixth switches in the switch array of the headset cabin battery to a closed state and setting the fifth switch to an open state.
The present invention also provides a battery charging management apparatus for a TWS headset, comprising: the earphone cabin battery charging system comprises a switch array setting module, an earphone cabin battery charging module and an external power supply charging module;
the switch array setting module is used for setting a switch array of the earphone cabin battery;
the earphone cabin battery charging module is used for controlling an input power switch to be disconnected when no external power supply is input, detecting whether an earphone is inserted currently or not, controlling an earphone cabin battery output switch to be closed if the earphone is inserted currently, setting a switch array of the earphone cabin battery to be in a series mode, and enabling the earphone cabin battery to charge the earphone battery according to a linear charging circuit;
the external power supply charging module is used for controlling the input power supply switch to be closed when the input of an external power supply is detected, simultaneously controlling the earphone cabin battery output switch to be disconnected, detecting whether an earphone is inserted currently or not, if so, enabling the external power supply to charge the earphone battery according to a linear charging circuit, otherwise, disconnecting the earphone battery charging switch, setting the switch array of the earphone cabin battery to be in a parallel mode, and enabling the external power supply to charge the earphone cabin battery according to the linear charging circuit.
In a possible implementation manner, the external power supply charging module is configured to enable an external power supply to charge the earphone battery, and further includes:
detecting the electric quantity of the current earphone battery in real time, if the electric quantity of the earphone battery is detected to be full, disconnecting a charging switch of the earphone battery, setting a switch array of the earphone cabin battery to be in a parallel mode, and charging the earphone cabin battery by the external power supply according to a linear charging circuit.
In a possible implementation manner, the switch array setting module is configured to set a switch array of a battery in an earphone cabin, and specifically includes:
the switch array of the earphone cabin battery comprises a first switch, a second switch, a third switch, a fourth switch, a fifth switch and a sixth switch;
the first switch is the earphone cabin battery output switch, a first end of the first switch is connected with an input end of the linear charging circuit, first ends of the second switch and the third switch are respectively connected with an output end of the linear charging circuit, a second end of the second switch is respectively connected with a first end of a second battery of the earphone cabin battery and a second end of the fifth switch, a second end of the third switch is respectively connected with a second end of the first switch and a first end of a first battery of the earphone cabin battery, a second end of the first battery is respectively connected with a first end of the fifth switch and a second end of the fourth switch, a second end of the second battery is connected with a second end of the sixth switch, a first end of the fourth switch is connected with a first end of the sixth switch, and first ends of the fourth switch and the sixth switch are respectively grounded.
In one possible implementation, the series mode includes setting the second, third, and fourth switches in the switch array of the headset cabin battery to an open state, and setting the fifth and sixth switches to a closed state;
the parallel mode includes setting the second, third, fourth, and sixth switches in the switch array of the headset cabin battery to a closed state and setting the fifth switch to an open state.
The invention also provides a battery charging management system of the TWS earphone, which comprises a USB interface, a master control module, a linear charging module, an input power switch, a switch array of an earphone cabin battery, a first voltage and current detection unit, a second voltage and current detection unit, a third voltage and current detection unit, a fourth voltage and current detection unit, an earphone battery pack, an earphone battery charging switch, an earphone cabin battery pack and any one of the battery charging management devices of the TWS earphone;
the USB interface, the main control module, the linear charging module, the input power switch, the switch array of the earphone cabin battery, the first voltage and current detection unit, the second voltage and current detection unit, the third voltage and current detection unit, the fourth voltage and current detection unit, the earphone battery pack, the earphone battery charging switch and the earphone cabin battery pack are respectively arranged in the battery charging management device of the TWS earphone.
The invention also provides a terminal device, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the battery charging management method of the TWS headset.
The invention also provides a computer readable storage medium, which includes a stored computer program, wherein when the computer program runs, the apparatus where the computer readable storage medium is located is controlled to execute the method for managing battery charging of the TWS headset according to any one of the above items.
Compared with the prior art, the battery charging management method, the battery charging management device and the battery charging management system for the TWS earphone have the following beneficial effects that:
the method comprises the steps that a switch array of an earphone cabin battery is preset, the input condition of an external power supply is detected, when no external power supply is input but an earphone is inserted, the open and close states of corresponding switches are controlled, the switch array of the earphone cabin battery is set to be in a series mode, and the earphone cabin battery charges the earphone battery according to a linear charging circuit; when the external power supply input is detected and the earphone is plugged in, the on-off state and the on-off state of the corresponding switch are controlled, the external power supply directly charges the earphone battery according to the linear charging circuit, if the external power supply input is detected and the earphone is not plugged in, the switch array of the earphone cabin battery is set to be in a parallel mode, and the external power supply charges the earphone cabin battery according to the linear charging circuit. According to the invention, the input of the external power supply is detected at present, and the external power supply or the battery of the earphone cabin is selected to directly charge the battery of the earphone according to the detection result.
Drawings
Fig. 1 is a schematic flowchart of an embodiment of a battery charging management method for a TWS headset according to the present invention;
FIG. 2 is a schematic structural diagram of an embodiment of a battery charging management apparatus for a TWS headset according to the present invention;
FIG. 3 is a schematic diagram of a configuration of an embodiment of a battery charging management system for a TWS headset according to the present invention;
FIG. 4 is a schematic diagram of the high side switching circuit according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of the low side switching circuit according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a linear charging circuit according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a voltage detection circuit according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a current detection circuit according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
Referring to fig. 1, fig. 1 is a schematic flowchart of an embodiment of a battery charging management method for a TWS headset according to the present invention, as shown in fig. 1, the method includes steps 101 to 103, which are as follows:
step 101: a switch array of earphone cabin batteries is provided.
In one embodiment, the switch array of the battery of the earphone cabin comprises a first switch, a second switch, a third switch, a fourth switch, a fifth switch and a sixth switch; the first switch is the earphone cabin battery output switch, a first end of the first switch is connected with an input end of the linear charging circuit, first ends of the second switch and the third switch are respectively connected with an output end of the linear charging circuit, a second end of the second switch is respectively connected with a first end of a second battery of the earphone cabin battery and a second end of the fifth switch, a second end of the third switch is respectively connected with a second end of the first switch and a first end of a first battery of the earphone cabin battery, a second end of the first battery is respectively connected with a first end of the fifth switch and a second end of the fourth switch, a second end of the second battery is connected with a second end of the sixth switch, a first end of the fourth switch is connected with a first end of the sixth switch, and first ends of the fourth switch and the sixth switch are respectively grounded.
In one embodiment, the first switch, the second switch, the third switch and the fifth switch are high-voltage side switches; the combination of the first switch, the second switch, the third switch and the fifth switch is equivalent to the combination of a first PMOS tube and a first NMOS tube. Therefore, the schematic diagram of the high-voltage side switch circuit formed by the first switch, the second switch, the third switch and the fifth switch is equivalent to the schematic diagram of the high-voltage side switch circuit formed by one first PMOS transistor and one first NMOS transistor.
In an embodiment, a schematic structural diagram of a high-voltage end switch circuit is shown in fig. 4, and includes a first PMOS transistor Q1, a first NMOS transistor Q2, an external high-level signal Vin, an output connection point Vout, a switch enable signal on, and a first resistor R1; the first PMOS tube Q1 is a switch for communicating an external high-level signal Vin with an output connection point Vout, the first resistor R1 is offset of the first PMOS tube Q1, the initial state of the first PMOS tube Q1 is a closed state, the external high-level signal Vin is communicated with the output connection point Vout when a switch enabling signal on is 1, and the external high-level signal Vin is disconnected with the output connection point Vout when the switch enabling signal on is 0.
In one embodiment, the connection relationship of the high-side switch circuit is: the output end of an external high-level signal Vin is connected with the drain electrode of a first PMOS tube Q1, the source electrode of the first PMOS tube Q1 is respectively connected with the first end of a first resistor R1 and an output connection point Vout, the grid electrode of the first PMOS tube Q1 is respectively connected with the second end of the first resistor R1 and the drain electrode of a first NMOS tube Q2, the grid electrode of the first NMOS tube Q2 is connected with a switch enabling signal on, and the source electrode of the first NMOS tube Q2 is grounded.
In one embodiment, the fourth switch and the sixth switch are low-voltage side switches, and a combination of the fourth switch and the sixth switch is equivalent to a second NMOS transistor, so that a schematic diagram of a low-voltage side switch circuit formed by the fourth switch and the sixth switch is equivalent to a schematic diagram of a low-voltage side switch circuit formed by the second NMOS transistor.
In an embodiment, a schematic structural diagram of the low-voltage end switch circuit is shown in fig. 5, and includes a second NMOS transistor Q3, an external high-level signal Vin, and a switch enable signal on, where when the switch enable signal on is 1, the external high-level signal Vin is grounded.
In one embodiment, the connection relationship of the low-side switch circuit is as follows: the output end of the switch enabling signal on is connected with the grid electrode of the second NMOS tube Q3, the external high-level signal Vin is connected with the drain electrode of the second NMOS tube Q3, and the source electrode of the second NMOS tube Q3 is grounded.
In one embodiment, the plurality of high-voltage end and low-voltage end switches are combined to form a switch array of the battery of the earphone cabin.
Step 102: when no external power supply is input, the input power switch is controlled to be disconnected, whether earphone insertion exists at present is detected, if yes, the output switch of the earphone cabin battery is controlled to be closed, the switch array of the earphone cabin battery is set to be in a series mode, and the earphone cabin battery charges the earphone battery according to a linear charging circuit.
In one embodiment, the input power switch is set to be a high-voltage switch, and the main control module MCU detects whether there is an external power input in the current USB socket by controlling the first voltage power detection unit. When no external power supply is input into the USB socket, the voltage at the input power supply switch is low voltage, so that the input power supply switch cannot be conducted, and the input power supply switch is disconnected.
In one embodiment, the first voltage power detection unit is composed of a voltage detection circuit and a current detection circuit.
In an embodiment, a schematic structural diagram of the voltage detection circuit, as shown in fig. 7, includes a fifth resistor R5 and a sixth resistor R6; the fifth resistor R5 and the sixth resistor R6 are configured to divide the detected output voltage Vdet, and send the divided output voltage Vdet to an analog-to-digital converter module of the MCU, so as to convert the analog voltage into a digital value, which is used as an input of the main control module MCU and is also used as a voltage feedback input of the linear charging module.
In an embodiment, a schematic structural diagram of the current detection circuit, as shown in fig. 8, includes a seventh resistor R7, where the seventh resistor R7 is a current sampling resistor. And acquiring a sampling current value based on the current sampling resistor, sending an amplified current Idet obtained by amplifying the sampling current value by the amplifier to an analog/digital converter of the MCU, converting the analog current into a digital value as the input of the MCU of the main control module, and simultaneously serving as the current feedback input of the linear charging module.
In one embodiment, when the external power input is not detected and the insertion of the earphone is not detected, the earphone battery is not required to be charged currently, and the earphone cabin battery input switch is controlled to be switched off, so that the current earphone cabin battery is in a standby state, the battery does not need to be discharged, and the energy loss is avoided.
In one embodiment, when no external power input is detected, but an earphone insertion is detected, it is determined that the earphone battery needs to be charged currently through the earphone cabin battery. The earphone cabin battery input switch is controlled to be closed, so that the earphone cabin battery can output corresponding power supply voltage, and the switch array of the earphone cabin battery is set to be in a series mode. Specifically, the series connection mode of the switch array of the base cabin battery is to set the second switch, the third switch and the fourth switch in the switch array of the earphone cabin battery to be in an off state, and set the fifth switch and the sixth switch to be in an on state, so that the energy output by the earphone cabin battery is input into the linear charging circuit through the closed earphone cabin battery input switch, and the earphone cabin battery is directly charged through the linear charging circuit.
In an embodiment, a schematic structural diagram of the linear charging circuit is shown in fig. 6, where the schematic structural diagram of the linear charging circuit includes: the current error feedback amplifier CC, the voltage error feedback amplifier CV, the current sampling module MA, a second NMOS tube Q3, a third NMOS tube Q4, a fourth NMOS tube Q5, a second resistor R2, a third resistor R3 and a fourth resistor R4; the second resistor R2 and the third resistor R3 are battery voltage sampling divider resistors; the fourth resistor R4 is a current-limiting resistor and is used for realizing constant current control of battery charging; the third NMOS tube Q4 is a charging power tube, the second NMOS tube Q3 and the third NMOS tube Q4 form a current mirror, and the current flowing through the second NMOS tube Q3 and the current flowing through the third NMOS tube Q4 are in a fixed proportion relation; the current sampling module MA and the fourth NMOS tube Q5 form closed-loop control, and are used for improving the matching precision of the current mirror; the current error feedback amplifier CC is a current error feedback amplifier and is used for realizing the constant current control of the charging current; the voltage error feedback amplifier CV is a voltage error feedback amplifier for realizing constant voltage control of the charging voltage.
In one embodiment, the linear charging circuit that sets up can multiplex simultaneously on earphone passenger cabin battery and earphone battery, has avoided needing external inductance among the prior art, and the size occupies great problem, and the linear charging circuit that this embodiment provided has saved circuit design, changes in chip integration.
In one embodiment, after the earphone cabin battery directly charges the earphone battery, the acquired current voltage is sent to an analog/digital converter integrated or externally connected with a main control module MCU (microprogrammed control unit) based on a second voltage and current detection unit and a third voltage and current detection unit, and the analog voltage and the current are converted into digital values, so that the electric quantity of the current left earphone battery and the current right earphone battery can be detected in real time; if the earphone battery is detected to be fully charged, the earphone battery charging switch and the earphone cabin battery input switch are disconnected, so that the current earphone cabin battery is in a standby state, discharging is not needed, and energy loss is avoided.
Step 103: when the input of an external power supply is detected, controlling the input power supply switch to be closed, simultaneously controlling the earphone cabin battery output switch to be disconnected, detecting whether an earphone is inserted currently, if so, enabling the external power supply to charge the earphone battery according to a linear charging circuit, otherwise, disconnecting the earphone battery charging switch, setting a switch array of the earphone cabin battery to be in a parallel mode, and enabling the external power supply to charge the earphone cabin battery according to the linear charging circuit.
In an embodiment, since the input power switch is a high-voltage switch, the main control module MCU controls the first voltage power detection unit to detect that the external power is input into the current USB socket, and the voltage at the current input power switch is a high voltage, so that the input power switch is turned on to close the input power switch.
In one embodiment, when an input of an external power supply is detected, but an earphone insertion is not detected, it is considered that the earphone battery is not required to be charged currently, and only the earphone cabin battery is required to be charged, and the earphone battery charging switch is controlled to be turned off, and the switch array of the earphone cabin battery is set to be in a parallel connection mode.
In one embodiment, after the external power supply directly charges the battery of the earphone cabin, the acquired current voltage is sent to the master control module MCU integrated or an external analog/digital converter based on the set fourth voltage and current detection unit, and the analog voltage and the current are converted into digital values, so that the electric quantity of the current battery of the earphone cabin is detected in real time; if the electric quantity of the battery of the earphone cabin is detected to be full, the battery input switch and the input power switch of the earphone cabin are disconnected, so that the external power supply does not discharge any more, and the energy loss is avoided.
In one embodiment, when the input of the external power source is detected and the insertion of the earphone is detected, it is determined that the earphone battery needs to be charged currently, and after the earphone is charged, the earphone cabin battery needs to be charged. Specifically, through controlling the earphone battery charging switch to be closed and controlling the earphone cabin battery input switch to be disconnected, the external power supply is input into the linear charging circuit through the closed input power switch, so that the external power supply is enabled to be right through the linear charging circuit, the earphone battery is charged, the electric quantity of the current earphone battery is detected in real time, if the electric quantity of the earphone battery is detected to be full, the earphone battery charging switch is disconnected and the earphone cabin battery input switch is closed, so that the external power supply is input into the linear charging circuit through the closed input power switch, the external power supply is input into the closed earphone cabin battery input switch through the linear charging circuit, and the earphone cabin battery is charged through the external power supply.
In one embodiment, after the earphone batteries are directly charged by the external power supply, the electric quantities of the left earphone battery and the right earphone battery are detected in real time based on the set second voltage current detection unit and the set third voltage current detection unit; and if the earphone battery is detected to be fully charged, the earphone battery charging switch is disconnected, so that the current external power supply can not discharge the earphone battery, and the energy loss is avoided.
In summary, according to the battery charging management method for the TWS headset provided by this embodiment, based on the switch array for setting the headset cabin battery, the external power supply or the headset cabin battery is selected to directly charge the headset battery by detecting the input condition of the external power supply, so that the charging efficiency of the power supply to the headset battery is improved, and meanwhile, the need of setting a charging management chip in the TWS headset in the prior art is avoided, so that the content size of the headset is saved, and the cost of the headset is reduced.
Example two
Referring to fig. 2, fig. 2 is a schematic structural diagram of an embodiment of a battery charging management apparatus for a TWS headset according to the present invention, as shown in fig. 2, the structure includes a switch array setting module 201, a headset cabin battery charging module 202, and an external power charging module 203, which are as follows:
the switch array setting module 201 is used for setting a switch array of the earphone cabin battery;
the earphone cabin battery charging module 202 is used for controlling an input power switch to be switched off when no external power supply is input, detecting whether an earphone is inserted currently, if so, controlling an earphone cabin battery output switch to be switched on, setting a switch array of the earphone cabin battery to be in a series mode, and charging the earphone cabin battery according to a linear charging circuit.
The external power supply charging module 203 is configured to control the input power switch to be turned on when an input of an external power supply is detected, control the earphone cabin battery output switch to be turned off at the same time, detect whether an earphone is currently inserted, if so, enable the external power supply to charge the earphone battery according to a linear charging circuit, and if not, turn off the earphone battery charging switch, set a switch array of the earphone cabin battery to be in a parallel connection mode, and enable the external power supply to charge the earphone cabin battery according to the linear charging circuit.
In an embodiment, the external power charging module 203 is configured to enable an external power to charge the earphone battery, and further includes: detecting the electric quantity of a current earphone battery in real time, if the electric quantity of the earphone battery is detected to be fully charged, disconnecting a charging switch of the earphone battery, setting a switch array of the earphone cabin battery to be in a parallel mode, and charging the earphone cabin battery by the external power supply according to a linear charging circuit.
In an embodiment, the switch array setting module 201 is configured to set a switch array of a battery of an earphone cabin, specifically: the switch array of the earphone cabin battery comprises a first switch, a second switch, a third switch, a fourth switch, a fifth switch and a sixth switch; the first switch is the earphone cabin battery output switch, a first end of the first switch is connected with an input end of the linear charging circuit, first ends of the second switch and the third switch are respectively connected with an output end of the linear charging circuit, a second end of the second switch is respectively connected with a first end of a second battery of the earphone cabin battery and a second end of the fifth switch, a second end of the third switch is respectively connected with a second end of the first switch and a first end of a first battery of the earphone cabin battery, a second end of the first battery is respectively connected with a first end of the fifth switch and a second end of the fourth switch, a second end of the second battery is connected with a second end of the sixth switch, a first end of the fourth switch is connected with a first end of the sixth switch, and first ends of the fourth switch and the sixth switch are respectively grounded.
In an embodiment, the headset cabin battery charging module 202 is configured to set the switch array of the headset cabin battery in a series mode, where the series mode includes setting the second switch, the third switch, and the fourth switch in the switch array of the headset cabin battery to be in an open state, and setting the fifth switch and the sixth switch to be in a closed state.
In an embodiment, the external power charging module 203 is configured to set the switch array of the headset cabin battery to be in a parallel mode, where the parallel mode includes setting the second switch, the third switch, the fourth switch, and the sixth switch in the switch array of the headset cabin battery to be in a closed state, and setting the fifth switch to be in an open state.
It can be clearly understood by those skilled in the art that, for convenience and brevity, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Example 3
Referring to fig. 3, fig. 3 is a schematic structural diagram of an embodiment of a battery charging management system for a TWS headset according to the present invention, and as shown in fig. 3, the system includes a USB interface, a main control module MCU, a linear charging module, an input power switch S0, a switch array of a battery in a headset cabin, a first voltage and current detection unit, a second voltage and current detection unit, a third voltage and current detection unit, a fourth voltage and current detection unit, a headset battery pack, a headset battery charging switch, a headset cabin battery pack, and a battery charging management apparatus for a TWS headset according to the above embodiment.
In an embodiment, the USB interface, the main control module, the linear charging module, the input power switch S0, the switch array of the headset cabin battery, the first voltage and current detection unit, the second voltage and current detection unit, the third voltage and current detection unit, the fourth voltage and current detection unit, the headset battery pack, the headset battery charging switch, and the headset cabin battery pack are respectively disposed in the battery charging management apparatus of the TWS headset, where the headset cabin battery pack includes a first power supply B0 and a second power supply B1, and the headset battery charging switch includes a seventh switch S7 and an eighth switch S8.
In one embodiment, the switch array of the headset cabin battery includes a first switch S1, a second switch S2, a third switch S3, a fourth switch S4, a fifth switch S5, and a sixth switch S6.
It can be clearly understood by those skilled in the art that, for convenience and brevity, the specific working process of the system described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Further, in an embodiment of the present application, there is also provided a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor, when executing the computer program, implements the battery charging management method for the TWS headset according to the foregoing embodiment.
Further, in an embodiment of the present application, a computer-readable storage medium is provided, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, the apparatus on which the computer-readable storage medium is located is controlled to perform the battery charging management method for a TWS headset according to the foregoing embodiment.
To sum up, the invention discloses a battery charging management method, device and system for a TWS earphone, which is characterized in that a switch array of an earphone cabin battery is arranged; when no external power supply is input, controlling an input power switch to be disconnected, detecting whether an earphone is inserted currently, if so, controlling an earphone cabin battery output switch to be closed, setting a switch array of the earphone cabin battery to be in a series mode, and charging the earphone cabin battery according to a linear charging circuit; when the input of an external power supply is detected, controlling an input power supply switch to be closed, simultaneously controlling an earphone cabin battery output switch to be disconnected, detecting whether an earphone is inserted currently or not, if so, enabling the external power supply to charge an earphone battery according to a linear charging circuit, otherwise, disconnecting an earphone battery charging switch, setting a switch array of the earphone cabin battery to be in a parallel mode, and enabling the external power supply to charge the earphone cabin battery according to the linear charging circuit; compared with the prior art, the invention improves the charging efficiency of the power supply to the earphone battery by detecting whether the external power supply is input currently and selecting the external power supply or the earphone cabin battery to directly charge the earphone battery according to the detection result. The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and substitutions can be made without departing from the technical principle of the present invention, and these modifications and substitutions should also be regarded as the protection scope of the present invention.

Claims (10)

1. A battery charging management method of a TWS headset is characterized by comprising the following steps:
setting a switch array of the earphone cabin battery;
when no external power supply is input, controlling an input power switch to be disconnected, detecting whether an earphone is inserted currently, if so, controlling an earphone cabin battery output switch to be closed, setting a switch array of the earphone cabin battery to be in a series mode, and charging the earphone battery by the earphone cabin battery according to a linear charging circuit;
when the input of an external power supply is detected, controlling the input power supply switch to be closed, simultaneously controlling the earphone cabin battery output switch to be disconnected, detecting whether an earphone is inserted currently, if so, enabling the external power supply to charge the earphone battery according to a linear charging circuit, otherwise, disconnecting the earphone battery charging switch, setting a switch array of the earphone cabin battery to be in a parallel mode, and enabling the external power supply to charge the earphone cabin battery according to the linear charging circuit.
2. The method for managing charging of the battery of the TWS headset according to claim 1, wherein after the external power source charges the headset battery, the method further comprises:
detecting the electric quantity of a current earphone battery in real time, if the electric quantity of the earphone battery is detected to be fully charged, disconnecting a charging switch of the earphone battery, setting a switch array of the earphone cabin battery to be in a parallel mode, and charging the earphone cabin battery by the external power supply according to a linear charging circuit.
3. The method for managing battery charging of a TWS headset according to claim 1, wherein the switch array for the headset cabin battery is configured to:
the switch array of the earphone cabin battery comprises a first switch, a second switch, a third switch, a fourth switch, a fifth switch and a sixth switch;
the first switch is the earphone cabin battery output switch, a first end of the first switch is connected with an input end of the linear charging circuit, first ends of the second switch and the third switch are respectively connected with an output end of the linear charging circuit, a second end of the second switch is respectively connected with a first end of a second battery of the earphone cabin battery and a second end of the fifth switch, a second end of the third switch is respectively connected with a second end of the first switch and a first end of a first battery of the earphone cabin battery, a second end of the first battery is respectively connected with a first end of the fifth switch and a second end of the fourth switch, a second end of the second battery is connected with a second end of the sixth switch, a first end of the fourth switch is connected with a first end of the sixth switch, and first ends of the fourth switch and the sixth switch are respectively grounded.
4. The method of claim 3, wherein the series mode comprises setting the second, third, and fourth switches in the switch array of the headset bay battery to an open state, setting the fifth and sixth switches to a closed state;
the parallel mode includes setting the second, third, fourth, and sixth switches in the switch array of the headset cabin battery to a closed state and setting the fifth switch to an open state.
5. A battery charging management apparatus for a TWS headset, comprising: the earphone cabin battery charging system comprises a switch array setting module, an earphone cabin battery charging module and an external power supply charging module;
the switch array setting module is used for setting a switch array of the earphone cabin battery;
the earphone cabin battery charging module is used for controlling an input power switch to be disconnected when no external power supply is input, detecting whether an earphone is inserted currently or not, controlling an earphone cabin battery output switch to be closed if the earphone is inserted currently, setting a switch array of the earphone cabin battery to be in a series mode, and enabling the earphone cabin battery to charge the earphone battery according to a linear charging circuit;
the external power supply charging module is used for controlling the input power supply switch to be closed when the input of an external power supply is detected, simultaneously controlling the earphone cabin battery output switch to be disconnected, detecting whether an earphone is inserted currently or not, if so, enabling the external power supply to charge the earphone battery according to a linear charging circuit, otherwise, disconnecting the earphone battery charging switch, setting the switch array of the earphone cabin battery to be in a parallel mode, and enabling the external power supply to charge the earphone cabin battery according to the linear charging circuit.
6. The device for managing battery charging of TWS headset of claim 5, wherein the external power charging module, after being used to charge the headset battery with the external power, further comprises:
detecting the electric quantity of the current earphone battery in real time, if the electric quantity of the earphone battery is detected to be full, disconnecting a charging switch of the earphone battery, setting a switch array of the earphone cabin battery to be in a parallel mode, and charging the earphone cabin battery by the external power supply according to a linear charging circuit.
7. The device for battery charge management of a TWS headset according to claim 5, wherein the switch array setting module is configured to set a switch array of a headset cabin battery, specifically:
the switch array of the earphone cabin battery comprises a first switch, a second switch, a third switch, a fourth switch, a fifth switch and a sixth switch;
the first switch is the earphone cabin battery output switch, a first end of the first switch is connected with an input end of the linear charging circuit, first ends of the second switch and the third switch are respectively connected with an output end of the linear charging circuit, a second end of the second switch is respectively connected with a first end of a second battery of the earphone cabin battery and a second end of the fifth switch, a second end of the third switch is respectively connected with a second end of the first switch and a first end of a first battery of the earphone cabin battery, a second end of the first battery is respectively connected with a first end of the fifth switch and a second end of the fourth switch, a second end of the second battery is connected with a second end of the sixth switch, a first end of the fourth switch is connected with a first end of the sixth switch, and first ends of the fourth switch and the sixth switch are respectively grounded.
8. A battery charging management system of a TWS headset, comprising a USB interface, a main control module, a linear charging module, an input power switch, a switch array of a headset cabin battery, a first voltage current detection unit, a second voltage current detection unit, a third voltage current detection unit, a fourth voltage current detection unit, a headset battery pack, a headset battery charging switch, a headset cabin battery pack, and the battery charging management apparatus of a TWS headset of any one of claims 5 to 7;
the USB interface, the main control module, the linear charging module, the input power switch, the switch array of the earphone cabin battery, the first voltage and current detection unit, the second voltage and current detection unit, the third voltage and current detection unit, the fourth voltage and current detection unit, the earphone battery pack, the earphone battery charging switch and the earphone cabin battery pack are respectively arranged in the battery charging management device of the TWS earphone.
9. A terminal device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the battery charge management method of the TWS headset of any of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method for battery charge management of a TWS headset according to any of claims 1 to 4.
CN202210765250.9A 2022-06-30 2022-06-30 Method, device and system for battery charging management of TWS earphone Active CN115347632B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210765250.9A CN115347632B (en) 2022-06-30 2022-06-30 Method, device and system for battery charging management of TWS earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210765250.9A CN115347632B (en) 2022-06-30 2022-06-30 Method, device and system for battery charging management of TWS earphone

Publications (2)

Publication Number Publication Date
CN115347632A true CN115347632A (en) 2022-11-15
CN115347632B CN115347632B (en) 2023-06-27

Family

ID=83948456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210765250.9A Active CN115347632B (en) 2022-06-30 2022-06-30 Method, device and system for battery charging management of TWS earphone

Country Status (1)

Country Link
CN (1) CN115347632B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208539612U (en) * 2018-07-20 2019-02-22 深圳市冠旭电子股份有限公司 A kind of charging box of bluetooth headset
CN211405531U (en) * 2019-12-30 2020-09-01 歌尔科技有限公司 Charging box
CN111740460A (en) * 2020-06-24 2020-10-02 歌尔科技有限公司 Earphone charging control circuit and charging box
CN216086972U (en) * 2021-09-28 2022-03-18 深圳市卓翼科技股份有限公司 Power control circuit, earphone charging box and TWS earphone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208539612U (en) * 2018-07-20 2019-02-22 深圳市冠旭电子股份有限公司 A kind of charging box of bluetooth headset
CN211405531U (en) * 2019-12-30 2020-09-01 歌尔科技有限公司 Charging box
CN111740460A (en) * 2020-06-24 2020-10-02 歌尔科技有限公司 Earphone charging control circuit and charging box
CN216086972U (en) * 2021-09-28 2022-03-18 深圳市卓翼科技股份有限公司 Power control circuit, earphone charging box and TWS earphone

Also Published As

Publication number Publication date
CN115347632B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
US20130154550A1 (en) Power Management Circuit for a Portable Electronic Device Including USB Functionality and Method for Doing the Same
WO2015035383A2 (en) Universal power adapter
CN101682199A (en) Power distribution circuit for use in a portable telecommunications device
CN108964457A (en) The embodiment of high-efficiency battery charger for electronic device
EP3516752A1 (en) Charging circuit for battery-powered device
CN102118052B (en) Power supply management system
CN111404232A (en) Fast charging switching circuit and method based on double-interface plug-in detection
US20210249870A1 (en) Battery control circuit, battery and unmanned aerial vehicle
CN116388350B (en) Charging control method, energy storage device, and readable storage medium
CN110970956A (en) Charging method, electronic device, charging device and charging system
CN105207279A (en) Charge and discharge circuit and mobile terminal
CN115347633A (en) Charging and discharging management method, device and system for earphone cabin
CN102118057B (en) DC UPS circuit with integrated charge-discharge circuit
CN115347632A (en) Battery charging management method, device and system of TWS earphone
CN211629858U (en) Input undervoltage protection circuit and switching power supply system
CN216720898U (en) Undervoltage protection module
CN215528640U (en) Charging circuit
CN111030237B (en) Mobile power supply and working method thereof
WO2022188048A1 (en) Charge/discharge control device
CN217769525U (en) Novel mobile energy storage standby power supply battery management system
CN115001116B (en) Charger charging control method, controller and charger
EP4228120A1 (en) Power system, charging method, and discharging method
CN220754385U (en) Charge-discharge control circuit, bidirectional power supply and mobile terminal
CN218243029U (en) Battery package PD fills communication circuit soon
CN218415857U (en) Power supply circuit of mobile phone power supply

Legal Events

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