CN210327940U - Wireless earphone charging circuit and earphone box - Google Patents

Wireless earphone charging circuit and earphone box Download PDF

Info

Publication number
CN210327940U
CN210327940U CN201921693014.0U CN201921693014U CN210327940U CN 210327940 U CN210327940 U CN 210327940U CN 201921693014 U CN201921693014 U CN 201921693014U CN 210327940 U CN210327940 U CN 210327940U
Authority
CN
China
Prior art keywords
current detection
current
earphone
processing module
power supply
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.)
Active
Application number
CN201921693014.0U
Other languages
Chinese (zh)
Inventor
陶红霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Yaohuo Microelectronics Co Ltd
Original Assignee
Shanghai Yaohuo Microelectronics 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 Shanghai Yaohuo Microelectronics Co Ltd filed Critical Shanghai Yaohuo Microelectronics Co Ltd
Priority to CN201921693014.0U priority Critical patent/CN210327940U/en
Application granted granted Critical
Publication of CN210327940U publication Critical patent/CN210327940U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The utility model provides a wireless earphone charging circuit and earphone box, include: the wireless earphone comprises a power supply end, an earphone power supply end used for connecting any one wireless earphone, a current detection module and a logic processing module; the current detection module comprises N current detection branches connected between the power supply end and the earphone power supply end and a current detection feedback unit; the current detection feedback unit is respectively connected with the N current detection branches and a logic processing module used for determining whether the corresponding contact of the power supply end of the earphone is plugged into the wireless earphone or not so as to detect the current information of the current detection branch in the N current detection branches and feed the current information back to the logic processing module.

Description

Wireless earphone charging circuit and earphone box
Technical Field
The utility model relates to a wireless headset field especially relates to a wireless headset charging circuit and earphone box.
Background
A wireless headset is understood to be a headset that is configured with a battery and can transmit signals through wireless communication, wherein, in order to charge the battery and avoid the loss of the headset, a headset case is generally configured for the wireless headset, and the headset case can be used for charging the wireless headset and accommodating the headset when the headset is idle.
In the related art, in order to detect the insertion and extraction of an earphone from an earphone box, a hall sensor or an infrared sensor is usually used to detect whether the earphone is installed in a related position in the earphone box. For example, if a hall sensor is adopted, a small magnetic material can be placed in each of the left and right earphones, the hall sensor is placed in the relevant position in the earphone box, and then the hall sensor can output the changed information when the earphones are inserted or pulled out; for another example, if an infrared sensor is used, the infrared sensor can be placed at a relevant position in the earphone box, and then the infrared sensor can output changed information when the earphone is plugged in or pulled out.
However, the magnetic blocks in the hall sensor and the earphone, and the infrared emitting device and the infrared receiving device which are needed to be adopted by the infrared sensor are both higher in cost and larger in occupied space, and meanwhile, the magnetic blocks can only detect whether the earphone is in a relevant position, and cannot detect whether the electrical connection contact of the earphone is reliably connected with the electrical connection contact corresponding to the charging box.
SUMMERY OF THE UTILITY MODEL
The utility model provides a wireless earphone charging circuit and earphone box to the solution adopts hall sensor and infrared sensor with high costs, occupation space is big, and can't detect the problem whether the contact reliably connects.
According to the utility model discloses an aspect provides a wireless earphone charging circuit, include: the wireless earphone comprises a power supply end, an earphone power supply end used for connecting any one wireless earphone, a current detection module and a logic processing module; the current detection module comprises N current detection branches connected between the power supply end and the earphone power supply end and a current detection feedback unit; wherein N is an integer greater than or equal to 1;
the current detection feedback unit is respectively connected with the N current detection branches and a logic processing module used for determining whether the corresponding contact of the power supply end of the earphone is plugged into the wireless earphone, and the current detection feedback unit is used for detecting current information of one current detection branch in the N current detection branches which is switched on currently and feeding the current information back to the logic processing module.
Optionally, the logic processing module is further connected to the N current detection branches respectively to control on/off of the N current detection branches, the N current detection branches are connected in parallel, and impedances of different current detection branches are different.
Optionally, the current detection branches include current detection resistors and switches connected in series, the current detection feedback units are connected in parallel to the N current detection branches, and the logic processing module is connected to the switches and is configured to control on/off of the corresponding current detection branches by controlling on/off of the switches.
Optionally, the current detection feedback unit includes a current sensing subunit and a digital feedback subunit;
the current sensing subunit is used for sensing the current of the current detection branch circuit which is switched on at present and generating a corresponding current voltage signal;
and the digital feedback subunit is used for feeding back a corresponding digital signal to the logic processing module according to the current voltage signal so as to represent the current information by using the digital signal.
Optionally, the digital feedback subunit includes M comparators; wherein M is an integer greater than or equal to 1;
the comparator is configured to compare the current voltage signal with the input reference voltage signal to obtain a corresponding current level signal, and: feeding back the current level signal to the logic processing module; wherein, different comparators correspond to input different reference voltage signals;
the current information is characterized by M current level signals corresponding to the M comparators.
Optionally, the digital feedback subunit includes an analog-to-digital converter, an input end of the analog-to-digital converter is connected to the current sensing subunit, and an output end of the analog-to-digital converter is connected to the logic processing module.
Optionally, the power supply end of the logic processing module is connected to the power supply through a voltage reduction module.
Optionally, the number of the earphone power supply terminals and the number of the current detection modules are two, and different earphone power supply terminals are used for inserting different wireless earphones.
According to the utility model discloses a second aspect provides an earphone box, including the wireless earphone charging circuit that first aspect and alternative involved.
Optionally, the earphone box further includes a controller, and the logic processing module is further connected to the controller.
The utility model provides an among wireless earphone charging circuit and the earphone box, because the earphone inserts and is different usually with the current between power end and the earphone feed end when not inserting, so, the utility model discloses a current information of this electric current of sign can be learnt to the logic processing module, and then, can be convenient for on the hardware the logic processing module with current information as judging whether male judgement foundation of earphone, wherein, because whether the change of electric current is connected with the contact and is correlated with, the utility model discloses a judge the result also be with the contact whether be connected correlated with, compare in prior art adopt hall sensor and infrared sensor's mode, the utility model discloses a judge that the rate of accuracy is higher, the space of cost and required use is all less.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a first schematic structural diagram of a wireless headset charging circuit according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a wireless headset charging circuit according to an embodiment of the present invention;
fig. 3 is a third schematic structural diagram of a wireless headset charging circuit according to an embodiment of the present invention;
fig. 4 is a fourth schematic structural diagram of a wireless headset charging circuit according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a wireless headset charging circuit according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an earphone box and a wireless earphone according to an embodiment of the present invention.
Description of reference numerals:
1-a power supply terminal;
2-a logic processing module;
3-a flow detection module;
31-a flow detection branch;
311-a switch;
312-current detecting resistor
32-a streaming feedback unit;
321-a current sensing subunit;
322-a digital feedback subunit;
3221-a comparator;
4-earphone power supply terminal;
5-right wireless earphone;
6-left wireless headset;
7-a wireless earphone box;
8-charging chip.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 is a first schematic structural diagram of a wireless headset charging circuit according to an embodiment of the present invention; fig. 2 is a schematic structural diagram of a wireless headset charging circuit according to an embodiment of the present invention; fig. 3 is a third schematic diagram of a wireless headset charging circuit according to an embodiment of the present invention.
Referring to fig. 1, fig. 2 and fig. 3, the wireless headset charging circuit includes: the wireless earphone comprises a power supply end 1, an earphone power supply end 4 used for connecting any one wireless earphone, a current detection module 3 and a logic processing module 2.
The current detection module 3 comprises N current detection branches 31 connected between the power supply terminal 1 and the earphone power supply terminal 4, and a current detection feedback unit 32; wherein N is an integer greater than or equal to 1.
The current detection branch 31 can be understood as a branch having a certain impedance and being capable of flowing a current to be detected. Correspondingly, the current detection feedback unit 32 can be understood as any circuit unit that is able to detect the current of the current detection branch 31 that is switched on.
The current detection feedback unit 32 is respectively connected to the N current detection branches 31, and configured to: and detecting current information of the currently conducted current detection branch of the N current detection branches 31, and feeding back the current information to the logic processing module 2.
The logic processing module 2 is connected to the streaming feedback unit 32, and configured to: when a first current detection branch of the N current detection branches 31 is turned on, if the current information is greater than a first threshold, it is determined that a wireless headset plug-in has occurred at a corresponding contact of the headset power supply terminal 4, and the first current detection branch is configured to be turned on by default.
When the wireless earphone is not inserted, the current detection branch 31 may have no current or a very small current; when the wireless earphone is inserted, the current detection branch 31 can circulate a large current, specifically, the wireless earphone is inserted, and after the contact point of the wireless earphone charging contacts with the contact point corresponding to the wireless earphone box, the generated large current can be detected, so that the wireless earphone insertion is determined to occur in the corresponding contact point of the earphone power supply terminal 4.
Therefore, the current between the power supply end and the earphone power supply end is usually different when the wireless earphone is inserted or not inserted, so that the above embodiment can more accurately judge whether the wireless earphone is inserted or not based on the current information representing the current. The judgment result of the above embodiment can accurately reflect whether the contact is connected or not, and compared with the mode of adopting a Hall sensor and an infrared sensor in the prior art, the accuracy of the above embodiment is higher, and the cost and the required space are smaller.
In one embodiment, after determining that the wireless headset is inserted into the corresponding contact of the headset power supply terminal 4, the logic processing module 2 may feed back the determination result to the controller of the headset box.
The logic processing module 2 may communicate with the controller of the earphone box through an I2C module, and further, the logic processing module 2 may be a logic I2C module. Wherein I2C and I2C can also be characterized as IIC or I2C, which may be understood as the international universal integrated circuit communication digital interface. I2C, more particularly, is understood to be a two-wire serial bus in which the signal transmission required by the I2C bus protocol can be generated by controlling the high and low level timing of the clock pin and the data pin.
Taking fig. 1 as an example, N may be 1, and further taking fig. 2 and fig. 3 as examples, N may be an integer greater than or equal to 2, if N is greater than or equal to 2, then: the current detection branches 31 are connected in parallel. In addition, the circuit according to this embodiment may be used to charge one earphone, or may be used to charge two earphones, and further: the number of the earphone power supply terminal 4 and the current detection module 3 may be one or two, and a plurality of cases are not excluded.
If the method is applied to charging two earphones, in part of related technologies, the power supply terminals of the two earphones can be connected together, and voltage information is detected to judge whether the earphones are inserted or not, however, for an event that a second earphone or any one earphone is put in or taken out, the method is difficult to effectively track, so that the method needs to determine through continuous polling of a logic processing module, further, the method cannot timely and quickly detect the occurrence of the event, power consumption and resource occupation can be increased, meanwhile, when the earphones are powered off, a polling signal of an earphone box cannot be responded, and therefore the time required for detection is longer.
In comparison, in the embodiments related to this embodiment, the current detection modules may be configured for different earphone power supply terminals, so that waste of time, power consumption, and resources caused by polling is avoided, and the detection efficiency is improved.
In one embodiment, N is an integer greater than or equal to 2, and when the N current detection branches 31 are connected in parallel, the logic processing module 2 is respectively connected to the N current detection branches 31, and specifically, may be connected to a position for controlling on/off of the current detection branches.
The logic processing module 2 is further configured to: if the current information is greater than the first threshold, another second current detection branch of the N current detection branches 31 is controlled to be turned on, and the first current detection branch is turned off.
The first current detection branch is the current detection branch with the maximum impedance in the N current detection branches, and further, the impedances of the second current detection branch and the current detection branches other than the first current detection branch are all smaller than that of the first current detection branch.
Furthermore, the impedance of the first current detection branch is the largest, so that the detection of a small or even a very small current can be facilitated, wherein the very small current when the wireless headset is not inserted can also be detected by configuring a proper impedance. Meanwhile, when the wireless headset is actually charged, the impedance of the current detection branch circuit is smaller than that of the first current detection branch circuit, so that the wireless headset can be charged conveniently by using smaller impedance and power consumption. Therefore, the above embodiment can meet different impedance requirements during charging and during non-charging.
In the specific implementation process, the impedances of different current detection branches are different, and one of the current detection branches can be selected to be conducted, so that: when the earphone power supply end charges the wireless earphone through normal charging current, the current detection branch with the minimum impedance is controlled to be conducted; when the inserted wireless headset is in a low power consumption mode or a standby mode, the current detection branch (e.g., the first current detection branch) with the highest impedance is controlled to be conducted.
Through above embodiment, through adopting several to detect the current condition that the earphone box reaches the earphone by the mode that the parallelly connected combination is carried out to the current detection resistance that can be controlled to turn off or switch on the power supply channel, and then, both can compromise the earphone box and need the requirement that power supply channel impedance is enough little (for example can switch on the minimum current detection branch road of impedance) when charging the earphone with normal heavy current, also can compromise the detection of the minimum current that the earphone box exported the earphone under standby or the low-power consumption mode after the earphone is fully charged (for example can switch on the maximum current detection branch road of impedance), simultaneously, when switching on the maximum current detection branch road of impedance, this current change that the minimum current reaches almost no current also can be accurately judged after the earphone is pulled out.
In one embodiment, the logic processing module 2 is further configured to:
when any other current detection branch not in the first current detection branch of the N current detection branches 31 is turned on, if the current information is smaller than a second threshold, controlling the first current detection branch to be turned on, and turning off all other current detection branches of the N current detection branches;
and after the first current detection branch is conducted, if the current information is kept smaller than the second threshold value, determining that the corresponding contact of the earphone power supply end is taken out of the wireless earphone.
The second threshold value is understood to be: if less than the second threshold, it indicates that the current is close to 0. Further, the above embodiment can secure: when the impedance of the current detection branch is maximum and the impedance is small, the current is close to 0, and the influence on the judgment result due to overlarge impedance is avoided.
In one embodiment, after determining that the wireless headset is taken out from the corresponding contact of the power supply end of the headset, the logic processing module 2 may also feed back the determination result to the controller of the headset box.
In the above embodiment, it is possible to further determine whether or not the wireless headset is removed. The change of the current can reflect whether the contact is connected or not, and the judgment result of the above embodiment can accurately reflect whether the contact is connected or not.
Fig. 4 is a fourth schematic diagram of the wireless headset charging circuit according to an embodiment of the present invention.
Referring to fig. 4, the current detection feedback unit 32 includes a current sensing sub-unit 321 and a digital feedback sub-unit 322.
The current sensing subunit 321 is configured to sense a current of the current sensing branch that is currently turned on, and generate a corresponding current voltage signal.
It can be seen that the current sensing subunit 321 can be understood as a device capable of sensing a current to generate a voltage signal associated with the magnitude of the current, wherein the generated voltage signal can be further amplified so that it can be further identified and used.
In a specific implementation process, the Current sensing subunit may adopt a Current Sense Amplifier CSA, where the CSA may be a Current-Sense Amplifier. In other embodiments, the current sensing subunit may also be implemented by using an operational amplifier in combination with a differential input resistor.
The digital feedback sub-unit 322 is configured to feed back a corresponding digital signal to the logic processing module according to the current voltage signal, so as to represent the current information by using the digital signal. It can be seen that the signal received by the digital feedback sub-unit 322 is an analog signal, the signal fed back is a digital signal, and the analog signal is associated with the digital signal, and further, the digital feedback sub-unit 322 is any circuit sub-unit capable of sending out a corresponding digital signal according to the received analog signal.
In one embodiment, the digital feedback sub-unit 322 may be an analog-to-digital converter, i.e. an a/D converter, or ADC for short, and is specifically understood to be an electronic component for converting an analog signal into a digital signal. Furthermore, the digital feedback sub-unit 322 may include an analog-to-digital converter, an input end of the analog-to-digital converter is connected to the current sensing sub-unit, and an output end of the analog-to-digital converter is connected to the logic processing module.
Fig. 5 is a schematic structural diagram of a wireless headset charging circuit according to an embodiment of the present invention.
In another specific implementation, referring to fig. 5, the digital feedback sub-unit 322 includes M comparators 3221; wherein M is an integer greater than or equal to 1.
The comparator 3221 is configured to compare the current voltage signal with a pre-configured reference voltage signal, obtain a corresponding current level signal, and feed back the current level signal to the logic processing module 2; wherein, different reference voltage signals are correspondingly configured for different comparators.
The Comparator 3221 may be specifically a Comparator, which may also be abbreviated as CMP, and may be understood as a device for comparing the input current voltage signal with a reference voltage signal and further outputting a level signal according to the comparison result. Through the comparison result of each comparator, the comparison result of the current information and a corresponding current value can be obtained, and further, the value of the current information or the value range in which the current information is located can be correspondingly determined.
It can be seen that the current information is characterized by M current level signals corresponding to the M comparators.
In one example, the comparator may be connected to the current sensing subunit 321 by its inverting input terminal, and accordingly, the reference voltage signal may be connected to its non-inverting input terminal, and in another example, the comparator may be connected to the current sensing subunit 321 by its inverting input terminal, and accordingly, the reference voltage signal may be connected to its inverting input terminal. Correspondingly, the system logic of the logic processing module 2 and the like can be configured correspondingly.
In a specific implementation process, referring to fig. 5, the current detection branch 31 includes a current detection resistor 312 and a switch 311 that are connected in series, the current detection feedback unit is connected in parallel to the N current detection branches, and the logic processing module 2 is connected to the switch 311 and is configured to control on/off of the corresponding current detection branch 31 by controlling on/off of the switch 311.
The current detection resistor 312 may be a single resistor, or may be a circuit combination formed by connecting a plurality of resistors in series/parallel.
The switch 311 may be a power switch that is turned off bidirectionally, or a power switch that supports unidirectional turn-off in the direction of current from the earphone box to the earphone.
In one embodiment, the logic processing module 2 is further configured to: and determining whether the corresponding contact of the earphone power supply end 4 is short-circuited or not according to the current information.
In another embodiment, the logic processing module 2 may be further configured to send the current information to a controller, so that the controller can: and determining whether the corresponding contact of the earphone power supply end 4 is short-circuited or not according to the current information.
Meanwhile, the logic processing module 2 and the controller can also send the on-off condition of each current detection branch circuit through interaction.
Whether the main body of the short circuit is determined to be the controller or the logic processing module 2 is determined, as long as the above processing is realized, the description of the embodiment is not departed.
Specifically, the current information may be compared with predetermined short-circuit current information when the contact is short-circuited, and then whether a short circuit occurs may be determined according to the comparison result.
As can be seen, the above embodiments can utilize the current detection on the power channel to determine the short circuit condition caused by corrosion of the contacts of the earphone box and other conditions in advance.
In one embodiment, the logic processing module 2 is further configured to: and determining whether the corresponding contact of the earphone power supply end 4 has poor contact or abnormal contact impedance according to the change condition of the current information.
In another embodiment, the logic processing module 2 is further configured to send the current information to a controller, so that the controller can: and determining whether the corresponding contact of the power supply end of the earphone has poor contact or abnormal contact impedance according to the change condition of the current information.
No matter whether the main body of the above impedance abnormality and contact failure is determined to be the controller or the logic processing module 2, as long as the above processing is realized, the description of the present embodiment is not deviated. At the same time, the information sent by the logic processing module 2 to the controller may also include, for example, the current processing state of the logic processing module, which may include, for example, the on-off control state for each current sensing branch.
The bad contact can be determined based on the state machine of the logic processing module 2 according to the variation rule of the digital signal fed back by the current detection feedback unit 32 (e.g. each comparator). For example: the change rule of the digital signal when the contact impedance is normal can be predetermined, and if the actually detected change condition is not accordant with the change rule, the poor contact is determined to occur.
For the contact impedance abnormality, the normal value of the contact impedance or the normal change rule thereof can be determined in advance, and if the actual value and/or the actual change condition of the contact impedance determined according to the detected current are not in accordance with the predetermined normal value and/or the normal change rule, the contact impedance abnormality is determined to occur.
Therefore, the above embodiment can determine the conditions such as poor contact between the earphone contact and the earphone box contact, abnormal contact impedance caused by corrosion or other conditions by detecting the abnormal change condition of the current on the power supply channel.
In a specific implementation process, the logic processing module may interact with the controller through I2C, combine a signal (e.g., a logic level output by the comparator) fed back by the current detection module, and further determine whether the contact is shorted or corroded to cause abnormal contact impedance and other abnormal conditions through software interaction, polling and algorithms.
In one embodiment, the logic processing module 2 is further configured to: and if the current information is larger than a third current threshold, executing a preset overcurrent protection action.
In another embodiment, the logic processing module 2 is further configured to send the current information to a controller, so that the controller can: and when the current information is larger than a third current threshold value, executing a preset overcurrent protection action.
The third current threshold may be understood as a preconfigured current threshold, which is further: if the current exceeds the threshold, it is interpreted that an overcurrent has occurred. It may be a single value or a plurality of values configured for different flow detection branches.
Therefore, the above embodiment can provide a basis for the intelligent overcurrent protection of the earphone box output to the earphone charging channel by using the current detection on the power channel.
The overcurrent protection action may be any action of performing overcurrent protection on the earphone, for example, all current detection branches may be turned off.
Fig. 6 is a schematic structural diagram of an earphone box and a wireless earphone according to an embodiment of the present invention.
Referring to fig. 6, two current detection modules 3 and two earphone power supply terminals 4 may be adopted, one earphone power supply terminal 4 is correspondingly connected to the left wireless earphone 6, and the other earphone power supply terminal 4 is correspondingly connected to the right wireless earphone 6.
In the left wireless headset 6, the input impedance can be characterized by Rload1 and its power input end by VINL; in right wireless headset 5, the input impedance may be characterized by Rload2 and its power input by VINR.
In the earphone case 7, the wireless earphone charging circuit described above may be provided in the charging chip 8, and in another alternative embodiment, the circuit may not be provided in the same chip.
In the embodiment shown in fig. 6, VOUTL may be used to characterize one earphone power supply terminal, where the current detection module 3 corresponding to the earphone power supply terminal VOUTL:
the number of the current detection branches 31 may be three, wherein the current detection resistor R1 and the switch S1 may form a first current detection branch 31, the current detection resistor R2 and the switch S2 may form a second current detection branch 31, and the current detection resistor R3 and the switch S3 may form a third current detection branch 31; the current sensing subunit 321 may employ a current sense amplifier CSA 1; the number of the comparators 3221 may be three, which are respectively the comparator CMP1, the comparator CMP2 and the comparator CMP3, and the correspondingly input reference voltage signals are respectively the reference voltage signal Ref1, the reference voltage signal Ref2 and the reference voltage signal Ref 3.
In the embodiment shown in fig. 6, the other earphone power supply terminal may be characterized by using the VOUTR, and in the current detection module 3 corresponding to the earphone power supply terminal VOUTR:
the number of the current detection branches 31 may be three, wherein the current detection resistor R4 and the switch S4 may form a first current detection branch 31, the current detection resistor R5 and the switch S5 may form a second current detection branch 31, and the current detection resistor R6 and the switch S6 may form a third current detection branch 31; the current sensing subunit 321 may employ a current sense amplifier CSA 2; the number of the comparators 3221 may be three, which are respectively the comparator CMP4, the comparator CMP5 and the comparator CMP6, and the correspondingly input reference voltage signals are respectively the reference voltage signal Ref1, the reference voltage signal Ref2 and the reference voltage signal Ref 3.
In a specific example, the switch S1 may be turned on by default when the wireless headset is inserted into the headset case from the power input terminal VINL to the headset supply terminal VOUTL, and the switch S4 may be turned on by default when the wireless headset is inserted into the headset case from the power input terminal VINR to the headset supply terminal VOUTL.
When the wireless earphone is plugged in, considering the existence of the input impedance Rload1 of the left wireless earphone 6 and the input impedance Rload2 of the right wireless earphone 7 (one intends to configure the charging input pins VINL and VINR with 1M Ω or other resistance value of impedance to ground when designing the earphone), when the earphone is put in and the charging contact of the earphone is in contact with the corresponding contact of the charging box, the current flows from the power input terminal VINL to the earphone power supply terminal VOUTL, and is detected by the current detection amplifier CSA1, converted into voltage, amplified and output to the comparator CMP1, the comparator CMP2, and the comparator CMP3 series, and simultaneously, the current flows from the power input terminal VINR to the earphone power supply terminal VOUTR, and is detected by the current detection amplifier CSA2, converted into voltage, amplified and output to the comparator CMP4, the comparator CMP5, and the comparator CMP6 series.
Furthermore, the logic processing module 2 can determine the current flowing through the current sensing resistor R1 according to the logic levels output by the comparator CMP1, the comparator CMP2 and the comparator CMP3, and if the current is large enough (e.g., larger than the first threshold), the logic processing module turns on the switch S2 and then turns off the switch S1, or turns on the switch S3 and then turns off the switch S1. The current detection resistor R1 can be understood as the first current detection resistor mentioned above, and the resistance value of the current detection resistor R1 may be greater than that of the current detection resistor R2, and the resistance value of the current detection resistor R2 may be greater than that of the current detection resistor R3.
The logic processing module 2 can also determine the current flowing through the current detecting resistor R4 according to the logic level of the outputs of the comparator CMP4, the comparator CMP5 and the C comparator MP6, and if the current is large enough (for example, larger than the first threshold), the switch S5 is turned on and then the switch S4 is turned off, or the switch S6 is turned on and then the switch S5 is turned off. The current detection resistor R4 can be understood as the first current detection resistor mentioned above, and the resistance value of the current detection resistor R4 may be greater than that of the current detection resistor R5, and the resistance value of the current detection resistor R5 may be greater than that of the current detection resistor R6.
In the specific examples: the impedance formed by the current detection resistor R1 and the switch S1 and the impedance formed by the current detection resistor R4 and the switch S4 can be 500 ohms; the impedance formed by the current detection resistor R2 and the switch S2 and the impedance formed by the current detection resistor R5 and the switch S5 can be 10 ohms; the impedance formed by the current detection resistor R3 and the switch S3 and the impedance formed by the current detection resistor R6 and the switch S6 can be 0.2 ohm; the voltage of the reference voltage signal Ref1 may be 50 mv, the voltage of the reference voltage signal Ref2 may be 350 mv, and the voltage of the reference voltage signal Ref3 may be 2.5 v.
When any wireless earphone is taken out from the charging box, for example, the left wireless earphone 6 is taken out, the current on the channel from the corresponding power input terminal VINL to the earphone power supply terminal VOUTL becomes 0 (much smaller than 1uA), and at this time, the logic processing module switches to the on state of the default switch S1 quickly according to the logic level conditions output by the comparator CMP1, the comparator CMP2 and the comparator CMP3, so as to increase the resistance value of the current detection resistor, so that the current detection amplifier CSA1 can ensure that the current detected at this channel is really smaller than 1uA, and thus, the left wireless earphone 6 is judged to be taken out. The judgment notifying system (e.g., the notification controller) which can give the judgment that the earphone is taken out after the left wireless earphone 6 is taken out can also judge that the right wireless earphone 5 is taken out and notify the system (e.g., the notification controller) based on the same principle.
The state machine of the logic processing module 2 can also judge whether the contact of the earphone is bad or not according to the change rule of the output logic level of each group of comparators, and the logic processing module 2 can also judge whether the contact of the earphone is bad or not through I2And C, interacting with a controller unit of the charging box system, and further judging whether contact impedance is abnormal or not due to short circuit or corrosion of the contacts or not through software interaction, polling and algorithm by combining the logic level output by the comparator group.
In a specific implementation process, the internal signal pins of the switch S1, the switch S2, the switch S3, the switch S4, the switch S5, and the switch S6 output by the logic processing module 2 are used for controlling the on and off of the corresponding switches.
The VDD pin may be used to supply power to the circuit according to this embodiment, for example, to supply power to the logic processing module 2, and the VIN pin may be used to supply power to the VDD pin through internal voltage reduction. Therefore, the power supply end of the logic processing module is connected to the power supply through the voltage reduction module.
Meanwhile, the EN pin, the SDAL pin, the SCL pin, and the INTB pin may be used for enabling or disabling the logic processing module 2 and I of the controller of the earphone box 72C commands operation, where GND is system ground.
In other alternativesIn the embodiment, the EN pin is not configured, but only I2The C input serves both enabling and disabling.
In other optional embodiments, the EN pin, the SDA pin, the SCL pin, and the INTB pin may also be replaced by two GPIOs, and the two GPIOs may output high and low levels to the controller of the charging box so as to report the plugging/unplugging conditions of the two earphones, so that the number of pins of the charging chip 8 may be reduced to 6, thereby further reducing the cost.
The embodiment also provides a wireless headset box comprising the wireless headset charging circuit related to the above optional scheme.
In one embodiment, the system may further include a controller as described above, and the controller may be communicatively connected to the logic processing module.
To sum up, in the wireless headset charging circuit and the headset box provided by this embodiment, because the current between the power supply end and the headset power supply end is usually different when the headset is inserted and not inserted, the current information representing the current can be known by the logic processing module of this embodiment, and then the current information can be used as the judgment basis for judging whether the headset is inserted by the logic processing module on hardware, wherein, because the change of the current is associated with whether the contact is connected, the judgment result of this embodiment is also associated with whether the contact is connected, compared with the mode that a hall sensor and an infrared sensor are adopted in the prior art, the judgment accuracy of this embodiment is higher, and the cost and the required space are smaller.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention.

Claims (10)

1. A wireless headset charging circuit, comprising: the wireless earphone comprises a power supply end, an earphone power supply end used for connecting any one wireless earphone, a current detection module and a logic processing module; the current detection module comprises N current detection branches connected between the power supply end and the earphone power supply end and a current detection feedback unit; wherein N is an integer greater than or equal to 1;
the current detection feedback unit is respectively connected with the N current detection branches and a logic processing module used for determining whether the corresponding contact of the power supply end of the earphone is plugged into the wireless earphone, and the current detection feedback unit is used for detecting current information of one current detection branch in the N current detection branches which is switched on currently and feeding the current information back to the logic processing module.
2. The circuit of claim 1, wherein the logic processing module is further connected to the N current detection branches respectively to control on/off of the N current detection branches, the N current detection branches are connected in parallel, and impedances of different current detection branches are different.
3. The circuit according to claim 2, wherein the current detection branches comprise current detection resistors and switches connected in series, the current detection feedback units are connected in parallel to the N current detection branches, and the logic processing module is connected to the switches and configured to control on/off of the corresponding current detection branches by controlling on/off of the switches.
4. The circuit of claim 3, wherein the current-sensing feedback unit comprises a current-sensing sub-unit and a digital feedback sub-unit;
the current sensing subunit is used for sensing the current of the current detection branch circuit which is switched on at present and generating a corresponding current voltage signal;
and the digital feedback subunit is used for feeding back a corresponding digital signal to the logic processing module according to the current voltage signal so as to represent the current information by using the digital signal.
5. The circuit of claim 4, wherein the digital feedback sub-unit comprises M comparators; wherein M is an integer greater than or equal to 1;
the comparator is configured to compare the current voltage signal with the input reference voltage signal to obtain a corresponding current level signal, and: feeding back the current level signal to the logic processing module; wherein, different comparators correspond to input different reference voltage signals;
the current information is characterized by M current level signals corresponding to the M comparators.
6. The circuit of claim 4, wherein the digital feedback subunit comprises an analog-to-digital converter, an input terminal of the analog-to-digital converter is connected to the current sensing subunit, and an output terminal of the analog-to-digital converter is connected to the logic processing module.
7. The circuit according to any one of claims 1 to 6, wherein the power supply terminal of the logic processing module is connected to the power supply terminal through a voltage reduction module.
8. The circuit of any one of claims 1 to 6, wherein the number of the earphone power supply terminals and the current detection module is two, and different earphone power supply terminals are used for inserting different wireless earphones.
9. An earphone box, characterized by comprising the wireless earphone charging circuit of any one of claims 1 to 8.
10. The headset case of claim 9, further comprising a controller, wherein the logic processing module is further coupled to the controller.
CN201921693014.0U 2019-10-08 2019-10-08 Wireless earphone charging circuit and earphone box Active CN210327940U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201921693014.0U CN210327940U (en) 2019-10-08 2019-10-08 Wireless earphone charging circuit and earphone box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201921693014.0U CN210327940U (en) 2019-10-08 2019-10-08 Wireless earphone charging circuit and earphone box

Publications (1)

Publication Number Publication Date
CN210327940U true CN210327940U (en) 2020-04-14

Family

ID=70133783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201921693014.0U Active CN210327940U (en) 2019-10-08 2019-10-08 Wireless earphone charging circuit and earphone box

Country Status (1)

Country Link
CN (1) CN210327940U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099414A (en) * 2020-09-25 2020-12-18 东莞市猎声电子科技有限公司 Earphone in-out bin detection circuit and method
WO2021068712A1 (en) * 2019-10-08 2021-04-15 上海爻火微电子有限公司 Wireless earphone charging circuit and wireless earphone box
CN113533844A (en) * 2021-08-17 2021-10-22 南昌黑鲨科技有限公司 Electric quantity meter circuit, control method, electric quantity meter and terminal
WO2022166544A1 (en) * 2021-02-05 2022-08-11 Oppo广东移动通信有限公司 Corrosion identification method and apparatus for connectors, earbuds, charging box, and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021068712A1 (en) * 2019-10-08 2021-04-15 上海爻火微电子有限公司 Wireless earphone charging circuit and wireless earphone box
CN112099414A (en) * 2020-09-25 2020-12-18 东莞市猎声电子科技有限公司 Earphone in-out bin detection circuit and method
WO2022166544A1 (en) * 2021-02-05 2022-08-11 Oppo广东移动通信有限公司 Corrosion identification method and apparatus for connectors, earbuds, charging box, and storage medium
CN113533844A (en) * 2021-08-17 2021-10-22 南昌黑鲨科技有限公司 Electric quantity meter circuit, control method, electric quantity meter and terminal

Similar Documents

Publication Publication Date Title
CN110572738A (en) wireless earphone charging circuit and wireless earphone box
CN210327940U (en) Wireless earphone charging circuit and earphone box
US8163411B2 (en) Abnormality detection apparatus for battery pack
CN101102119B (en) A charging detection circuit of appliance device and charging detection method
JP6359459B2 (en) Mobile terminal and charging device and method thereof
US8281048B2 (en) Information processing apparatus and method for detecting a type of apparatus connected to a connector thereof
US9223727B2 (en) Input-output circuit
US8749221B2 (en) Input-output circuit
EP4207552A1 (en) Fast charging method and system, terminal, and charger
JP2012205366A (en) Input/output circuit
US20130049680A1 (en) Electronic device
CN103151658B (en) Data connecting line, for the control method of data connecting line and device
JP2014082152A (en) Voltage detection device
CN201075704Y (en) Detection circuit of electrical equipment and mobile phone having the circuit
WO2023134458A1 (en) Electronic device
CN110266082A (en) Detection method, charging interface detection circuit structure and the electronic equipment of channel impedance
CN105071484A (en) Charging method and apparatus of terminal having data exchange function
CN201260086Y (en) Mobile terminal and charging detection device thereof
US9184606B2 (en) Battery charger
US20080203970A1 (en) Battery-powered apparatus for portable system
CN107706977B (en) Charging current detection method and charging device
US11687138B2 (en) Power supplying system, electronic apparatus, and power supplying method
CN213213127U (en) Charging device, power utilization device, charging-side circuit, power utilization-side circuit, and component
JP2013223269A (en) Chargeable mobile device
CN103001261A (en) Universal charger with USB (universal serial bus)

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant