CN110572738B - Wireless earphone charging circuit and wireless earphone box - Google Patents
Wireless earphone charging circuit and wireless earphone box Download PDFInfo
- Publication number
- CN110572738B CN110572738B CN201910951063.8A CN201910951063A CN110572738B CN 110572738 B CN110572738 B CN 110572738B CN 201910951063 A CN201910951063 A CN 201910951063A CN 110572738 B CN110572738 B CN 110572738B
- Authority
- CN
- China
- Prior art keywords
- current
- earphone
- branches
- processing module
- current detection
- 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
Links
- 238000001514 detection method Methods 0.000 claims abstract description 95
- 238000012545 processing Methods 0.000 claims abstract description 70
- 238000003780 insertion Methods 0.000 claims abstract description 6
- 230000037431 insertion Effects 0.000 claims abstract description 6
- 230000008859 change Effects 0.000 claims description 18
- 230000002159 abnormal effect Effects 0.000 claims description 14
- 230000009471 action Effects 0.000 claims description 8
- 238000000605 extraction Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 8
- 101100464782 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) CMP2 gene Proteins 0.000 description 4
- 101100464779 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) CNA1 gene Proteins 0.000 description 4
- YPJMOVVQKBFRNH-UHFFFAOYSA-N 1-(9-ethylcarbazol-3-yl)-n-(pyridin-2-ylmethyl)methanamine Chemical compound C=1C=C2N(CC)C3=CC=CC=C3C2=CC=1CNCC1=CC=CC=N1 YPJMOVVQKBFRNH-UHFFFAOYSA-N 0.000 description 3
- 101100537098 Mus musculus Alyref gene Proteins 0.000 description 3
- 101100269674 Mus musculus Alyref2 gene Proteins 0.000 description 3
- 101150095908 apex1 gene Proteins 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000005260 corrosion Methods 0.000 description 3
- 230000007797 corrosion Effects 0.000 description 3
- 101150042828 csa1 gene Proteins 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 101100222017 Candida albicans (strain SC5314 / ATCC MYA-2876) CSA2 gene Proteins 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 239000000696 magnetic material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1025—Accumulators or arrangements for charging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/10—Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention provides a wireless earphone charging circuit and a wireless earphone box, comprising: the power supply end is used for connecting an earphone power supply end of any wireless earphone, the current detection module and the logic processing module; the current detection module comprises N current detection branches connected between the power end and the earphone power supply end, and a current detection feedback unit; the current detection feedback units are respectively connected with the N current detection branches and are used for: detecting current information of a current conduction path of the N current detection branches, and feeding back the current information to the logic processing module; the logic processing module is connected with the current detection feedback unit and is used for: when a first current detection branch of the N current detection branches is conducted, if the current information is larger than a first threshold value, determining that wireless earphone insertion occurs at a corresponding contact of the earphone power supply end.
Description
Technical Field
The invention relates to the field of wireless earphones, in particular to a wireless earphone charging circuit and a wireless earphone box.
Background
A wireless headset, which may be understood as a wireless headset configured with a wireless headset battery and capable of transmitting signals by wireless communication means, may be e.g. a TWS headset (true wireless stereo earbud). In order to charge the wireless earphone battery and avoid the loss of the wireless earphone, a wireless earphone box is generally required to be configured for the wireless earphone, and the wireless earphone box can charge the wireless earphone and can accommodate the wireless earphone when the wireless earphone is idle.
In the prior art, in order to detect the insertion and extraction of the wireless earphone box to the wireless earphone, a hall sensor or an infrared sensor is generally adopted to detect whether the wireless earphone is installed in the relevant position in the wireless earphone box. For example, if a hall sensor is adopted, a small magnetic material can be placed in each of the left and right wireless earphones, the hall sensor is placed at the relevant position in the wireless earphone box, and then the hall sensor can output variable information when the wireless earphone is inserted or pulled out; for another example, if an infrared sensor is used, the infrared sensor may be placed at a relevant position in the wireless headset case, and then the infrared sensor may output varying information when the wireless headset is plugged in or pulled out.
However, the magnetic blocks in the hall sensor and the wireless earphone, and the infrared emitting device and the infrared receiving device which are required to be adopted by the infrared sensor are high in cost and large in occupied space, and meanwhile, whether the wireless earphone is positioned at a relevant position or not can only be detected, and whether the electrical connection contact of the wireless earphone is reliably connected with the electrical connection contact corresponding to the earphone box can not be detected.
Disclosure of Invention
The invention provides a wireless earphone charging circuit and a wireless earphone box, which are used for solving the problems that a Hall sensor and an infrared sensor are high in cost and large in occupied space, and whether contacts are reliably connected cannot be detected.
According to a first aspect of the present invention, there is provided a wireless headset charging circuit comprising: the power supply end is used for connecting an earphone power supply end of any wireless earphone, the current detection module and the logic processing module; the current detection module comprises N current detection branches connected between the power 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 units are respectively connected with the N current detection branches and are used for:
Detecting current information of a current conduction path of the N current detection branches, and feeding back the current information to the logic processing module;
the logic processing module is connected with the current detection feedback unit and is used for:
When a first current detection branch of the N current detection branches is conducted, if the current information is larger than a first threshold value, determining that wireless earphone insertion occurs at a corresponding contact of the earphone power supply end.
Optionally, N is an integer greater than or equal to 2; the N current detecting branches are mutually connected in parallel;
The logic processing module is respectively connected with the N current detection branches and is also used for: if the current information is larger than the first threshold value, controlling the other second current detecting branch in the N current detecting branches to be conducted, and disconnecting the first current detecting branch; the first current detecting branch is the current detecting branch with the largest impedance in the N current detecting branches.
Optionally, the logic processing module is further configured to:
When any one of the N current detecting branches other than the first current detecting branch is conducted, if the current information is smaller than a second threshold value, the first current detecting branch is controlled to be conducted, and other current detecting branches in the N current detecting branches are disconnected;
after the first current detection branch is conducted, if the current information is kept smaller than the second threshold value, it is determined that wireless earphone extraction occurs at the corresponding contact of the earphone power supply end.
Optionally, N is an integer greater than or equal to 2, and the impedance of different current detection branches is different, and can be alternatively turned on, and the following is made:
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 earphone is in a low power consumption mode or a standby mode, the current detection branch with the largest impedance is controlled to be conducted.
Optionally, the current detecting branch circuit includes a current detecting resistor and a switch connected in series, the current detecting feedback unit is connected in parallel to the N current detecting branch circuits, and the logic processing module is connected to the switch and is used for controlling the on-off of the corresponding current detecting branch circuit through the on-off control of the switch.
Optionally, the current detection feedback unit comprises a current induction subunit and a digital feedback subunit;
The current sensing subunit is used for sensing the current of the current detection branch circuit which is conducted currently and generating a corresponding current voltage signal;
And the digital feedback subunit is used for feeding back corresponding digital signals to the logic processing module according to the current voltage signals so as to characterize the current information by utilizing the digital signals.
Optionally, the digital feedback subunit includes M comparators; wherein M is an integer greater than or equal to 1;
The comparator is used for comparing the current voltage signal with a pre-configured 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 are correspondingly configured with different reference voltage signals;
the current information is characterized by M current level signals corresponding to the M comparators.
Optionally, the logic processing module is further configured to: determining whether a short circuit occurs at a corresponding contact of the earphone power supply end according to the current information, and: determining whether the corresponding contact of the earphone power supply end is poor in contact or abnormal in contact impedance according to the change condition of the current information; or:
The logic processing module is further configured to send the current information to a controller, so that the controller can: determining whether a short circuit occurs at a corresponding contact of the earphone power supply end according to the current information, and: and determining whether the corresponding contact of the earphone power supply end is poor in contact or abnormal in contact impedance according to the change condition of the current information.
Optionally, the logic processing module is further configured to: when the current information is larger than a third current threshold value, executing preset overcurrent protection action; or:
the logic processing module 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.
According to a second aspect of the present invention there is provided a wireless earphone cassette comprising the wireless earphone charging circuit of the first aspect and alternatives thereof.
In the wireless earphone charging circuit and the wireless earphone box provided by the invention, because the current between the power supply end and the earphone power supply end is usually different when the wireless earphone is inserted and not inserted, the wireless earphone charging circuit and the wireless earphone box can accurately judge whether the wireless earphone is inserted or not based on the current information representing the current. In a further alternative, it may be further determined whether removal of the wireless headset has occurred. The judgment result of the invention can accurately reflect whether the contacts are connected or not, and compared with the mode of adopting a Hall sensor and an infrared sensor in the prior art, the invention has higher accuracy, lower cost and smaller required space.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a schematic diagram of a wireless headset charging circuit according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a second configuration of a wireless headset charging circuit according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a third configuration of a wireless headset charging circuit according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a wireless headset charging circuit according to an embodiment of the present invention;
fig. 5 is a schematic diagram showing a configuration of a wireless headset charging circuit according to an embodiment of the present invention;
Fig. 6 is a schematic view of a configuration of a earphone case and a wireless earphone according to an embodiment of the present invention.
Reference numerals illustrate:
1-a power supply terminal;
2-logic processing module;
3-a flow detection module;
31-a current detecting branch;
311-switching;
312-current detecting resistor
32-A current detection feedback unit;
321-a current sensing subunit;
322-digital feedback subunit;
3221-a comparator;
4-earphone power supply end;
5-right wireless headphones;
6-left wireless earphone;
7-a wireless earphone box;
8-a charging chip.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented 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 scheme of the invention is described in detail below by specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 1 is a schematic diagram of a wireless headset charging circuit according to an embodiment of the present invention; fig. 2 is a schematic diagram of a second configuration of a wireless headset charging circuit according to an embodiment of the present invention; fig. 3 is a schematic diagram of a wireless headset charging circuit according to an embodiment of the invention.
Referring to fig. 1,2 and 3, the wireless earphone charging circuit includes: the wireless earphone comprises a power supply end 1, an earphone power supply end 4 for connecting any 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 end 1 and the earphone power supply end 4, and a current detection feedback unit 32; wherein N is an integer greater than or equal to 1.
The current detection branch 31 is understood to be a branch having a certain impedance and capable of flowing a current to be detected. Correspondingly, the current detection feedback unit 32 can be understood as any circuit unit capable of detecting the current of the switched-on current detection branch 31.
The current detection feedback unit 32 is respectively connected to the N current detection branches 31, and is configured to: and detecting the current information of the current conducting one of the N current detecting branches 31, and feeding back the current information to the logic processing module 2.
The logic processing module 2 is connected to the current detection feedback unit 32, and is 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 earphone insertion occurs at a corresponding contact of the earphone 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 can have no current or very small current; when the wireless earphone is inserted, the current detecting branch 31 can flow a larger current, specifically, the wireless earphone is inserted, and after the contact of the wireless earphone charging contacts with the contact corresponding to the wireless earphone box, the generated larger current can be detected, so that the wireless earphone insertion is determined to occur at the corresponding contact of the earphone power supply end 4.
Therefore, since the current between the power supply end and the earphone power supply end is usually different when the wireless earphone is inserted and not inserted, the above embodiment can 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 contacts are connected, and compared with the mode of adopting the Hall sensor and the 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 earphone is inserted into the corresponding contact of the earphone power supply terminal 4, the logic processing module 2 may feed back the determination result to the controller of the earphone box.
The Logic processing module 2 may communicate with the controller of the earphone box through the I2C module, and further, the Logic processing module 2 may be specifically a Logic and I2C module. The I2C, I2C, may also be characterized as IIC or I 2 C, which may be understood as an International Universal integrated circuit communication digital interface. I2C is specifically 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-low level timing of the clock pin and the data pin.
Taking fig. 1 as an example, N may be 1, and taking fig. 2 and 3 as examples, N may be an integer greater than or equal to 2, and if N is greater than or equal to 2, then: the current detecting branches 31 are connected in parallel. In addition, the circuit according to the present embodiment may charge one earphone, or may charge two earphones, and then: the number of the earphone power supply end 4 and the current detection module 3 can be one or two, and a plurality of cases are not excluded.
If the method is applied to charging two earphones, in some related technologies, two earphone power supply terminals can be connected together and voltage information can be detected to determine whether to insert an earphone, however, for an event taken out by putting in a second earphone or any earphone, the method is difficult to track effectively, and therefore, the method needs to be determined by constantly polling through a logic processing module, further, the method cannot detect the occurrence of the event timely and quickly, and power consumption and resource occupation can be increased, and meanwhile, in the method, when the earphone is not powered, the polling signal of the earphone box cannot be responded, which results in longer time required for detection.
Compared with the prior art, the current detection module can be configured for different earphone power supply ends, so that time, power consumption and resource waste caused by polling are avoided, and detection efficiency is improved.
In one embodiment, N is an integer greater than or equal to 2, and in the case where the N current detecting branches 31 are connected in parallel, the logic processing module 2 is connected to the N current detecting branches 31 respectively, and specifically may be connected to a position for controlling on-off of the current detecting branches.
The logic processing module 2 is further configured to: and if the current information is greater than the first threshold, controlling the other second current detecting branch of the N current detecting branches 31 to be on, and the first current detecting branch to be off.
The first current detecting branch is the current detecting branch with the largest impedance in the N current detecting branches, and furthermore, the impedance of the second current detecting branch and the impedance of the current detecting branches of other non-first current detecting branches are smaller than that of the first current detecting branch.
Furthermore, since the impedance of the first current detection branch is the largest, it can be convenient to detect small or even very small currents, wherein by configuring the appropriate impedance, very small currents when no wireless earphone is inserted can also be detected. Meanwhile, during actual charging, the impedance of the current detection branch is smaller than that of the first current detection branch, so that the wireless earphone can be conveniently charged with smaller impedance and power consumption. It can be seen that the above embodiments can satisfy different impedance requirements between charging and non-charging.
In the implementation process, the impedance of different current detection branches is different, and can be alternatively conducted, and the current detection branches are enabled to be: 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 earphone is in the low power consumption mode or the standby mode, the current detection branch (for example, the first current detection branch) with the highest impedance is controlled to be conducted.
According to the embodiment, the current situation from the earphone box to the earphone is detected by adopting the mode that the plurality of current detection resistors which can be controlled to be turned off or turned on the power supply channel are combined in parallel, so that the requirement that the impedance of the power supply channel is small enough (such as the current detection branch with the minimum conductive impedance) when the earphone box charges the earphone with normal large current can be met, the detection of the ultra-small current (such as the current detection branch with the maximum conductive impedance) output by the earphone box to the earphone in the standby mode or the low power consumption mode after the earphone is fully charged can be met, and meanwhile, the current change from the small current to almost no current can be accurately judged when the current detection branch with the maximum conductive impedance is turned off.
In one embodiment, the logic processing module 2 is further configured to:
When any one of the N current detecting branches 31 other than the first current detecting branch is turned on, if the current information is smaller than a second threshold value, the first current detecting branch is controlled to be turned on, and other current detecting branches of the N current detecting branches are all turned off;
after the first current detection branch is conducted, if the current information is kept smaller than the second threshold value, it is determined that wireless earphone extraction occurs at the corresponding contact of the earphone power supply end.
The second threshold can be understood as: if smaller than the second threshold, the current is close to 0. Furthermore, the above embodiments can ensure: when the impedance of the current detection branch is maximum and the impedance is smaller, the current is close to 0, so that the influence on a judgment result caused by the fact that the impedance is too small is avoided.
In one embodiment, after determining that the wireless earphone is taken out from the corresponding contact of the earphone power supply end, the logic processing module 2 may also feed back the determination result to the controller of the earphone box.
In the above embodiment, it is possible to further determine whether or not the removal of the wireless headset has occurred. The current change can reflect whether the contacts are connected, and the judgment result of the embodiment can accurately reflect whether the contacts are connected, so that compared with the mode of adopting a Hall sensor and an infrared sensor in the prior art, the accuracy of the embodiment is higher, and the cost and the required space are smaller.
Fig. 4 is a schematic diagram of a wireless headset charging circuit according to an embodiment of the invention.
Referring to fig. 4, the current detection feedback unit 32 includes a current sensing subunit 321 and a digital feedback subunit 322.
The current sensing subunit 321 is configured to sense a current of the current detection branch that is currently turned on, and generate a corresponding current voltage signal.
It can be seen that the current sensing subunit 321 is understood as a device capable of generating a voltage signal associated with the magnitude of a current in response to the current, wherein the generated voltage signal may also be amplified so that it may be further identified and used.
In a specific implementation process, the Current sensing subunit may employ a Current sense amplifier CSA, where the CSA may be specifically Current-SENSE AMPLIFIER. In other implementations, the current sensing subunit may also be implemented by using an operational amplifier in combination with a differential input resistor.
The digital feedback subunit 322 is configured to feed back a corresponding digital signal to the logic processing module according to the current voltage signal, so as to characterize the current information by using the digital signal. It can be seen that the signal received by the digital feedback subunit 322 is an analog signal, the signal fed back is a digital signal, and meanwhile, the analog signal is associated with the digital signal, and further, the digital feedback subunit 322 is any circuit subunit capable of sending out a corresponding digital signal according to the received analog signal.
In one implementation, the digital feedback subunit 322 may employ an analog-to-digital converter, i.e., an a/D converter, or ADC for short, and may be understood as an electronic component for converting an analog signal into a digital signal.
Fig. 5 is a schematic diagram showing a configuration of a wireless headset charging circuit according to an embodiment of the invention.
In another implementation, referring to fig. 5, the digital feedback subunit 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 to obtain a corresponding current level signal, and feed back the current level signal to the logic processing module 2; wherein, different comparators are correspondingly configured with different reference voltage signals.
The Comparator 3221 may be specifically a Comparator, which may also be abbreviated as CMP, and may be understood as a device for comparing an input current voltage signal with a reference voltage signal and outputting a level signal according to the comparison result. The comparison result of each comparator can be used for obtaining the comparison result of the current information and a corresponding current value, and then the value of the current information or the value range of the current information can be correspondingly determined.
It can be seen that the present current information is characterized by M present 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 the reference voltage signal may be connected to its non-inverting input terminal, or in another example, the comparator may be connected to the current sensing subunit 321 by its inverting input terminal, and 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 the implementation process, referring to fig. 5, the current detecting branch 31 includes a current detecting resistor 312 and a switch 311 connected in series, the current detecting feedback unit is connected in parallel to the N current detecting branches, and the logic processing module 2 is connected to the switch 311 and is configured to control on/off of the corresponding current detecting branch 31 by controlling on/off of the switch 311.
The current detection resistor 312 may be a single resistor or 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 in both directions, or may be a power switch that supports unidirectional turn-off in the direction of current flowing from the earphone box to the earphone.
In one embodiment, the logic processing module 2 is further configured to: and determining whether a short circuit occurs to the corresponding contact of the earphone power supply end 4 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 a short circuit occurs to the corresponding contact of the earphone power supply end 4 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 through interaction.
Whether the above short-circuited main body is determined as the controller or the logic processing module 2, the above processing is not deviated from the description of the present embodiment as long as the above processing is realized.
Specifically, the current information can be compared with the short-circuit current information when the predetermined contact is short-circuited, and whether the short circuit occurs can be further judged according to the comparison result.
It can be seen that the above embodiments can use the current detection on the power channel to determine the corrosion of the contacts of the earphone box and the short circuit condition caused by 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 is in 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 earphone power supply end is poor in contact or abnormal in contact impedance according to the change condition of the current information.
Whether the above impedance anomaly and poor contact subject is determined to be the controller or the logic processing module 2, the above processing is not deviated from the description of the present embodiment as long as it is realized. Meanwhile, the information sent to the controller by the logic processing module 2 may also include, for example, a current processing state of the logic processing module, where the processing state may include, for example, an on-off control state for each current detection branch.
For the poor contact, the judgment can be based on the state machine of the logic processing module 2 according to the change rule of the digital signal fed back by the current detection feedback unit 32 (such as 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 in accordance with the change rule, the occurrence of poor contact is determined.
For the abnormal contact impedance, a normal value of the contact impedance or a normal change rule thereof can be predetermined, and if the actual value and/or the actual change of the contact impedance determined according to the detected current does not accord with the predetermined normal value and/or the normal change rule, the abnormal contact impedance is determined to occur.
It can be seen that the above embodiments can use the detection of abnormal current change conditions on the power supply channel to determine poor contact between the earphone contacts and the earphone box contacts, abnormal contact impedance caused by corrosion or other conditions, and the like.
In the implementation process, the logic processing module can interact with the controller through the I2C, and further judge whether the contact is short-circuited or corroded to cause abnormal conditions such as abnormal contact impedance and the like through software interaction, polling and algorithms by combining signals fed back by the current detection module (for example, logic level output by the comparator).
In one embodiment, the logic processing module 2 is further configured to: and if the current information is larger than a third current threshold value, 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 can be understood as a preconfigured current threshold, which is further: if the current exceeds the threshold, it is understood that an overcurrent has occurred. It may be a single value or may be a plurality of values configured for different current branches.
It can be seen that the above embodiments can provide basis for intelligent overcurrent protection of the earphone box output to the earphone charging channel by using current detection on the power channel.
The overcurrent protection action may be any action for performing overcurrent protection on the earphone, for example, all current detection branches may be turned off.
Fig. 6 is a schematic view of a configuration of a earphone case and a wireless earphone according to an embodiment of the present invention.
Referring to fig. 6, two current detecting modules 3 and two earphone power supply ends 4 may be adopted, where one earphone power supply end 4 is correspondingly connected to the left wireless earphone 6, and the other earphone power supply end 4 is correspondingly connected to the right wireless earphone 6.
In the left wireless headset 6, the input impedance may be characterized by Rload1 and its power input by VINL; in the right wireless headset 5, the input impedance may be characterized by Rload2 and its power input by VINR.
In the earphone box 7, the wireless earphone charging circuit referred to above may be provided on the charging chip 8, and in other alternative embodiments, the circuit may not be provided on the same chip.
In the embodiment shown in fig. 6, a power supply terminal of an earphone may be represented by VOUTL, and the current detection module 3 corresponding to the power supply terminal VOUTL of the earphone is:
The number of the current detecting branches 31 may be three, wherein the current detecting resistor R1 and the switch S1 may form a first current detecting branch 31, the current detecting resistor R2 and the switch S2 may form a second current detecting branch 31, and the current detecting resistor R3 and the switch S3 may form a third current detecting branch 31; the current sensing subunit 321 may employ a current sense amplifier CSA1; the number of comparators 3221 may be three, namely, the comparators CMP1, CMP2 and CMP3, and the corresponding input reference voltage signals are the reference voltage signal Ref1, the reference voltage signal Ref2 and the reference voltage signal Ref3, respectively.
In the embodiment shown in fig. 6, VOUTR may be used to characterize another earphone power supply, and the earphone power supply VOUTR corresponds to the current detection module 3:
The number of the current detecting branches 31 may be three, wherein the current detecting resistor R4 and the switch S4 may form a first current detecting branch 31, the current detecting resistor R5 and the switch S5 may form a second current detecting branch 31, and the current detecting resistor R6 and the switch S6 may form a third current detecting branch 31; the current sensing subunit 321 may employ a current sense amplifier CSA2; the number of comparators 3221 may be three, namely, comparator CMP4, comparator CMP5 and comparator CMP6, and the corresponding input reference voltage signals are reference voltage signal Ref1, reference voltage signal Ref2 and reference voltage signal Ref3, respectively.
In a specific example, the default switch S1 may be turned on when no wireless earphone is inserted into the earphone box, and the default switch S4 may be turned on when no wireless earphone is inserted into the earphone box, from the power input VINL to the earphone supply terminal VOUTL, and from the power input VINR to the earphone supply terminal VOUTR.
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 (the input impedance to ground with 1mΩ or other resistance value is specially configured at the charging input pins VINL and VINR of the wireless earphone when the earphone is designed), when the earphone is plugged in and the charging contact of the earphone is contacted 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 and converted into a voltage to be amplified again and then output to the comparator CMP1, the comparator CMP2 and the comparator CMP3 series, and meanwhile, 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 and converted into a voltage to be amplified again and then output to the comparator CMP4, the comparator CMP5 and the comparator CMP6 series.
Further, the logic processing module 2 may determine the magnitude of the current flowing through the current detection resistor R1 according to the logic levels output by the comparators CMP1, CMP2, and CMP3, and if the current is large enough (e.g. greater than the first threshold), the switch S2 is turned on, and then the switch S1 is turned off, or the switch S3 is turned on, and then the switch S1 is turned off. The current detecting resistor R1 may be understood as a first current detecting resistor referred to above, where the resistance of the current detecting resistor R1 may be greater than the resistance of the current detecting resistor R2, and the resistance of the current detecting resistor R2 may be greater than the resistance of the current detecting resistor R3.
The logic processing module 2 may also determine the magnitude of the current flowing through the current sensing resistor R4 according to the logic levels of the outputs of the comparator CMP4, the comparator CMP5, and the C comparator MP6, and if the current is large enough (e.g., greater 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 detecting resistor R4 may be understood as the first current detecting resistor referred to above, where the resistance of the current detecting resistor R4 may be greater than the resistance of the current detecting resistor R5, and the resistance of the current detecting resistor R5 may be greater than the resistance of the current detecting resistor R6.
Specific examples are: the impedance formed by the current detecting resistor R1 and the switch S1 and the impedance formed by the current detecting resistor R4 and the switch S4 may be 500 ohms; the impedance formed by the current detecting resistor R2 and the switch S2 and the impedance formed by the current detecting resistor R5 and the switch S5 may be 10 ohms; the impedance formed by the current detecting resistor R3 and the switch S3 and the impedance formed by the current detecting resistor R6 and the switch S6 may be 0.2 ohm; the voltage of reference voltage signal Ref1 may be 50 millivolts, the voltage of reference voltage signal Ref2 may be 350 millivolts, and the voltage of reference voltage signal Ref3 may be 2.5 volts.
When any one of the wireless headphones is taken out from the charging box, for example, the left wireless headphone 6 is taken out, the current on the channel from the corresponding power input end VINL to the headphone power supply end VOUTL becomes 0 (the magnitude is smaller than 1 uA), at this time, the logic processing module can be quickly switched to the on state of the default switch S1 according to the logic level conditions output by the comparator CMP1, the comparator CMP2 and the comparator CMP3, so that the resistance value of the current detection resistor is increased, so that the current detection amplifier CSA1 can ensure that the current detected by the channel is actually smaller than 1uA, and the left wireless headphone 6 is judged to be taken out. The judgment notifying system (for example, notifying controller) that the left wireless headset 6 is taken out can be given that the headset is taken out after the judgment, or the right wireless headset 5 is taken out and notifying system (for example, notifying controller) can be also judged based on the same principle.
The state machine of the logic processing module 2 can also judge whether the contact is in poor contact when the earphone is put in according to the change rule of the logic level output by each group of comparators, the logic processing module 2 can also interact with the controller unit of the charging box system through I 2 C, and the abnormal conditions such as abnormal contact impedance caused by short circuit or corrosion of the contact are further judged by combining the logic level output by the comparator groups and further software interaction, polling and algorithm.
In the implementation process, the internal signal pins of the switches S1, S2, S3, S4, S5, and S6 output by the logic processing module 2 are used to control on and off of the corresponding switches.
The VDD pin may be used to power a circuit according to the present embodiment, for example, to power the logic processing module 2, and the VIN pin may be specifically used to supply power through internal voltage reduction to the VDD pin. The VIN pin is also understood to be a pin connected to the power supply terminal referred to above.
Meanwhile, the EN pin, SDAL pin, SCL pin and INTB pin can be used for enabling or disabling the logic processing module 2 and I 2 C command operation by the controller of the earphone box 7, wherein GND is the system ground.
In other alternative embodiments, the EN pin may not be configured, but rather the I 2 C input may be used to both enable and disable.
In other alternative embodiments, the EN pin, the SDA pin, the SCL pin, and the INTB pin may 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 status of the two corresponding headphones, so that the pins of the charging chip 8 may be reduced to 6 pins, so as to further reduce the cost.
The embodiment also provides a wireless earphone box, which comprises the wireless earphone charging circuit related to the optional scheme.
In one embodiment, the system further comprises a controller, and the controller can be in communication connection with the logic processing module.
In summary, in the wireless earphone charging circuit and the wireless earphone box provided in the embodiment, since the current between the power supply end and the earphone power supply end is generally different when the wireless earphone is inserted and not inserted, the embodiment can accurately determine whether the wireless earphone is inserted based on the current information representing the current. In a further alternative, it may be further determined whether removal of the wireless headset has occurred. The current change can reflect whether the contacts are connected, and the judgment result of the embodiment can accurately reflect whether the contacts are connected, so that compared with the mode of adopting a Hall sensor and an infrared sensor in the prior art, the accuracy of the embodiment is higher, and the cost and the required space are smaller.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.
Claims (9)
1. A wireless headset charging circuit, comprising: the power supply end is used for connecting an earphone power supply end of any wireless earphone, the current detection module and the logic processing module; the current detection module comprises N current detection branches connected between the power 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 units are respectively connected with the N current detection branches and are used for:
Detecting current information of a current conduction path of the N current detection branches, and feeding back the current information to the logic processing module;
the logic processing module is connected with the current detection feedback unit and is used for:
when a first current detection branch of the N current detection branches is conducted, if the current information is larger than a first threshold value, determining that wireless earphone insertion occurs at a corresponding contact of the earphone power supply end;
n is an integer greater than or equal to 2; the N current detecting branches are mutually connected in parallel;
The logic processing module is respectively connected with the N current detection branches and is also used for: if the current information is larger than the first threshold value, controlling the other second current detecting branch in the N current detecting branches to be conducted, and disconnecting the first current detecting branch; the first current detecting branch is the current detecting branch with the largest impedance in the N current detecting branches.
2. The circuit of claim 1, wherein the logic processing module is further to:
When any one of the N current detecting branches other than the first current detecting branch is conducted, if the current information is smaller than a second threshold value, the first current detecting branch is controlled to be conducted, and other current detecting branches in the N current detecting branches are disconnected;
after the first current detection branch is conducted, if the current information is kept smaller than the second threshold value, it is determined that wireless earphone extraction occurs at the corresponding contact of the earphone power supply end.
3. The circuit of claim 1, wherein N is an integer greater than or equal to 2, the impedance of different current sensing branches being different and capable of being alternatively turned on and such 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 earphone is in a low power consumption mode or a standby mode, the current detection branch with the largest impedance is controlled to be conducted.
4. A circuit according to any one of claims 1 to 3, wherein the current detecting branches comprise current detecting resistors and switches which are connected in series, the current detecting feedback units are connected in parallel with the N current detecting branches, and the logic processing module is connected with the switches and used for controlling the on-off of the corresponding current detecting branches through the on-off control of the switches.
5. The circuit of claim 4, wherein the current sensing feedback unit comprises 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 conducted currently and generating a corresponding current voltage signal;
And the digital feedback subunit is used for feeding back corresponding digital signals to the logic processing module according to the current voltage signals so as to characterize the current information by utilizing the digital signals.
6. The circuit of claim 5, wherein the digital feedback subunit comprises M comparators; wherein M is an integer greater than or equal to 1;
The comparator is used for comparing the current voltage signal with a pre-configured 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 are correspondingly configured with different reference voltage signals;
the current information is characterized by M current level signals corresponding to the M comparators.
7. A circuit according to any one of claims 1 to 3, wherein the logic processing module is further configured to: determining whether a short circuit occurs at a corresponding contact of the earphone power supply end according to the current information, and: determining whether the corresponding contact of the earphone power supply end is poor in contact or abnormal in contact impedance according to the change condition of the current information; or:
The logic processing module is further configured to send the current information to a controller, so that the controller can: determining whether a short circuit occurs at a corresponding contact of the earphone power supply end according to the current information, and: and determining whether the corresponding contact of the earphone power supply end is poor in contact or abnormal in contact impedance according to the change condition of the current information.
8. A circuit according to any one of claims 1 to 3, wherein the logic processing module is further to: when the current information is larger than a third current threshold value, executing preset overcurrent protection action; or:
the logic processing module 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.
9. A wireless earphone pod comprising the wireless earphone charging circuit of any one of claims 1-8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910951063.8A CN110572738B (en) | 2019-10-08 | 2019-10-08 | Wireless earphone charging circuit and wireless earphone box |
PCT/CN2020/115080 WO2021068712A1 (en) | 2019-10-08 | 2020-09-14 | Wireless earphone charging circuit and wireless earphone box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910951063.8A CN110572738B (en) | 2019-10-08 | 2019-10-08 | Wireless earphone charging circuit and wireless earphone box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110572738A CN110572738A (en) | 2019-12-13 |
CN110572738B true CN110572738B (en) | 2024-08-09 |
Family
ID=68784175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910951063.8A Active CN110572738B (en) | 2019-10-08 | 2019-10-08 | Wireless earphone charging circuit and wireless earphone box |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110572738B (en) |
WO (1) | WO2021068712A1 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572738B (en) * | 2019-10-08 | 2024-08-09 | 上海爻火微电子有限公司 | Wireless earphone charging circuit and wireless earphone box |
CN111007321A (en) * | 2019-12-16 | 2020-04-14 | 上海爻火微电子有限公司 | Processing circuit of power output end, electronic equipment and earth impedance detection method |
CN114157947A (en) * | 2020-09-07 | 2022-03-08 | 华为技术有限公司 | Wireless earphone and abnormality detection method |
CN114501285B (en) * | 2020-11-13 | 2023-05-16 | 华为技术有限公司 | Plug detection circuit and plug detection method |
CN113286215B (en) * | 2021-02-07 | 2024-06-04 | 珠海市杰理科技股份有限公司 | Wireless earphone, control method thereof and earphone system |
CN113179108B (en) * | 2021-04-09 | 2023-01-03 | Oppo广东移动通信有限公司 | Signal transmission method and device, electronic equipment and readable storage medium |
CN113923555B (en) * | 2021-10-13 | 2024-02-06 | 维沃移动通信有限公司 | Charging control circuit and charging control method for earphone |
CN114362509B (en) * | 2022-01-21 | 2024-05-14 | 珠海慧联科技有限公司 | Dynamic voltage switching device, TWS chip and TWS equipment |
CN114336900B (en) * | 2022-03-08 | 2022-07-22 | 深圳市思远半导体有限公司 | Earphone recognition and charging circuit and method for wireless earphone charging bin |
CN117330999A (en) * | 2022-06-30 | 2024-01-02 | 深圳英集芯科技股份有限公司 | Circuit for detecting equipment plug and related electronic equipment |
CN118614079A (en) * | 2022-09-27 | 2024-09-06 | 深圳市韶音科技有限公司 | Detection method, electronic equipment and readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109756808A (en) * | 2018-12-14 | 2019-05-14 | 珠海市杰理科技股份有限公司 | Wireless portable electronic equipment, charging unit, system and method |
CN110266082A (en) * | 2019-07-15 | 2019-09-20 | 上海爻火微电子有限公司 | Detection method, charging interface detection circuit structure and the electronic equipment of channel impedance |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10817252B2 (en) * | 2018-03-10 | 2020-10-27 | Staton Techiya, Llc | Earphone software and hardware |
CN108494058B (en) * | 2018-05-02 | 2021-03-30 | 歌尔股份有限公司 | Charging box circuit of wireless earphone, wireless earphone and earphone charging communication device |
CN108879847B (en) * | 2018-07-06 | 2021-11-09 | 歌尔股份有限公司 | Wireless earphone charging system and wireless earphone charging method |
CN208656444U (en) * | 2018-07-12 | 2019-03-26 | 歌尔科技有限公司 | Wireless headset charging box with mobile phone charging function |
CN209419249U (en) * | 2018-12-14 | 2019-09-20 | 珠海市杰理科技股份有限公司 | The wireless headset and charging unit and the circuit of the two, charging system and circuit of recognizable connection relationship |
CN110572738B (en) * | 2019-10-08 | 2024-08-09 | 上海爻火微电子有限公司 | Wireless earphone charging circuit and wireless earphone box |
CN210327940U (en) * | 2019-10-08 | 2020-04-14 | 上海爻火微电子有限公司 | Wireless earphone charging circuit and earphone box |
-
2019
- 2019-10-08 CN CN201910951063.8A patent/CN110572738B/en active Active
-
2020
- 2020-09-14 WO PCT/CN2020/115080 patent/WO2021068712A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109756808A (en) * | 2018-12-14 | 2019-05-14 | 珠海市杰理科技股份有限公司 | Wireless portable electronic equipment, charging unit, system and method |
CN110266082A (en) * | 2019-07-15 | 2019-09-20 | 上海爻火微电子有限公司 | Detection method, charging interface detection circuit structure and the electronic equipment of channel impedance |
Also Published As
Publication number | Publication date |
---|---|
CN110572738A (en) | 2019-12-13 |
WO2021068712A1 (en) | 2021-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110572738B (en) | Wireless earphone charging circuit and wireless earphone box | |
CN210327940U (en) | Wireless earphone charging circuit and earphone box | |
US9668076B2 (en) | Microphone headset failure detecting and reporting | |
CN101102119B (en) | A charging detection circuit of appliance device and charging detection method | |
EP2806662B1 (en) | Apparatus for detecting the type of an audio interface | |
US8749221B2 (en) | Input-output circuit | |
EP2863652B1 (en) | Audio interface self-adaptation device | |
US9223727B2 (en) | Input-output circuit | |
TW201334412A (en) | Determining circuit | |
US20140132213A1 (en) | Battery management system and electric vehicle | |
JP2012205366A (en) | Input/output circuit | |
WO2015191287A1 (en) | Systems and methods for cable resistance compensation | |
CN201075704Y (en) | Detection circuit of electrical equipment and mobile phone having the circuit | |
CN104066028A (en) | Communication method based on headset jack and terminal device | |
CN114039400A (en) | Electronic equipment | |
JP6533123B2 (en) | Charging system | |
EP3070961B1 (en) | Circuit for detecting button-pressing action of earphone, terminal, and earphone | |
CN107706977B (en) | Charging current detection method and charging device | |
CN213213127U (en) | Charging device, power utilization device, charging-side circuit, power utilization-side circuit, and component | |
JP2013223269A (en) | Chargeable mobile device | |
CN109581093B (en) | Detection circuit and related detection method | |
JP2017203727A (en) | Short circuit detection circuit | |
CN117917838A (en) | Electronic device and operation method of electronic device | |
EP4358354A1 (en) | Electronic device and an operating method of the electronic device | |
CN113874810A (en) | Power supply unit with connector protection circuit |
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 |