A charging case and circuitry thereof, and a wireless earphone assembly
By integrating the switch-type charging circuit and the voltage regulation circuit and sharing the inductor, the problems of slow charging speed and high heat generation of traditional wireless earphone charging boxes are solved, and a wireless earphone charging box with fast charging, low heat generation and communication functions is realized.
Patent Information
- Application Number
- CN202110997863.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-27
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2041-08-27
AI Technical Summary
The linear charging circuit in a traditional wireless earphone charging box has a slow charging speed and generates a lot of heat. Replacing it with a switching charging circuit requires additional inductors, which increases cost and space.
A switching charging circuit and a voltage regulation circuit are integrated into a charging and power supply unit, sharing an inductor to achieve fast charging speed and low heat generation. When needed, voltage representation data information is output to enable communication between the charging box and the wireless headset.
It achieves fast charging, low heat generation, reduced cost and space occupancy, and supports communication between the charging box and wireless headphones.
Smart Images

Figure CN115720306B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of earphones, in particular to a charging box and a circuit thereof, and a wireless earphone assembly. BACKGROUND
[0002] Compared with wired earphones, wireless earphones have the advantage of convenient carrying, and thus are more and more welcomed by people. The wireless earphones can be true wireless stereo (TWS) earphones. In a conventional design, the charging management unit in the charging box is generally a linear charging circuit, which has the disadvantage of slow charging speed and large heat generation. An improved way is to replace it with a switching charging circuit, but the switching charging circuit needs an additional inductor, which increases the cost and occupies a large space. SUMMARY
[0003] The present application aims to overcome the above technical problems, and provides a charging box and a circuit thereof, and a wireless earphone assembly, which can realize the advantages of a switching charging circuit, i.e. fast charging speed, small heat generation, no need for additional inductors, reduced cost, saved space, and facilitation of miniaturization; in addition, the output voltage can represent data information when needed, so that the charging box can communicate with the wireless earphone.
[0004] To achieve the above-mentioned purpose, the present application provides a charging box circuit in one aspect, which comprises a charging box battery and a charging and power supply unit, the charging and power supply unit comprising a controller, an inductor, a plurality of switching devices, a voltage input end, a battery end, at least one voltage output end, one end of the charging box battery being coupled to a first ground end, and the other end being coupled to the battery end of the charging and power supply unit; the controller being configured to control the conduction and disconnection of the plurality of switching devices, so as to multiplex the inductor in time when charging the charging box battery and outputting voltage by the charging box battery through the at least one voltage output end; when charging, a charging voltage is generated based on the voltage input from the voltage input end and the inductor, and the charging voltage is output to the charging box battery through the battery end, realizing switching charging; when outputting voltage, an output voltage is generated based on the voltage output by the charging box battery and the inductor, and the output voltage is output to the wireless earphone through the at least one voltage output end, wherein the output voltage can provide a charging voltage for the wireless earphone battery, realizing switching power supply; and / or when the charging box needs to communicate with the wireless earphone, the output voltage can represent data information.
[0005] Optionally, the power supply unit further comprises a highest voltage selection unit, a first input terminal of the highest voltage selection unit is coupled with the voltage input terminal, a second input terminal of the highest voltage selection unit is coupled with the battery terminal, a third input terminal of the highest voltage selection unit is coupled with the at least one voltage output terminal, and an output terminal of the highest voltage selection unit is connected with the controller, the highest voltage selection unit is configured to output the highest voltage among the voltage input terminal, the battery terminal and the at least one voltage output terminal to the controller through the output terminal of the highest voltage selection unit to supply power to the controller.
[0006] Optionally, the highest voltage selection unit comprises a first sub-switch, a second sub-switch, a first comparator and a first inverter, one end of the first sub-switch is coupled with the voltage input terminal, and the other end is coupled with a first output terminal, one end of the second sub-switch is coupled with the battery terminal, and the other end is coupled with the first output terminal, a first input terminal of the first comparator is coupled with the voltage input terminal, a second input terminal of the first comparator is coupled with the battery terminal, an output terminal of the first comparator is coupled with a control terminal of the second sub-switch, and is coupled with a control terminal of the first sub-switch through the first inverter; the highest voltage selection unit further comprises a third sub-switch, a fourth sub-switch, a second comparator and a second inverter, one end of the third sub-switch is coupled with the first output terminal, and the other end is coupled with a second output terminal, the second output terminal is coupled with an output terminal of the highest voltage selection unit, one end of the fourth sub-switch is coupled with the voltage output terminal, and the other end is coupled with the second output terminal, a first input terminal of the second comparator is coupled with the first output terminal, a second input terminal of the second comparator is coupled with the voltage output terminal, an output terminal of the second comparator is coupled with a control terminal of the fourth sub-switch, and is coupled with a control terminal of the third sub-switch through the second inverter; and / or, the charging case circuit further comprises a control unit, the control unit obtains the charging required voltage of the wireless earphone through the at least one voltage output terminal, and feeds back a target voltage to the power supply unit according to the charging required voltage, the target voltage is a function of the charging required voltage, the power supply unit adjusts the output voltage to the target voltage, and outputs the target voltage to the wireless earphone through the at least one voltage output terminal.
[0007] Optionally, the data information is binary data represented by 1 and 0, wherein: the output voltage comprises a high voltage level and a low voltage level, the high voltage level represents logic 1, and the low voltage level represents logic 0; or the output voltage represents logic 1 for a first time duration, and represents logic 0 for a second time duration; or the output voltage comprises a high voltage level and a low voltage level, a period of alternately changing of the high voltage level and the low voltage level is greater than a set time duration representing one of logic 1 and 0, and the period of alternately changing of the high voltage level and the low voltage level is less than the set time duration representing the other of logic 1 and 0.
[0008] Optionally, the controller is configured to control the on and off of the plurality of switching devices such that: in the step-down charging mode, the first connection end of the inductor is alternately coupled to the voltage input end and the first ground end, and the second connection end of the inductor is continuously coupled to the battery end; or in the step-up charging mode, the first connection end of the inductor is continuously coupled to the voltage input end, and the second connection end of the inductor is alternately coupled to the battery end and the first ground end; or in the step-down power supply mode, the first connection end of the inductor is continuously coupled to the voltage output end, and the second connection end of the inductor is alternately coupled to the battery end and the first ground end; or in the step-up power supply mode, the first connection end of the inductor is alternately coupled to the voltage output end and the first ground end, and the second connection end of the inductor is continuously coupled to the battery end; and in the step-down-step-up power supply mode, the first connection end of the inductor is alternately coupled to the first ground end and the battery end, and the second connection end of the inductor is alternately coupled to the voltage output end and the first ground end.
[0009] Optionally, the first connection end of the inductor is coupled to a first node N1, and the second connection end of the inductor is coupled to a second node N2, and the plurality of switching devices comprises: a first switch coupled between the voltage input end and the first node N1; a second switch coupled between the first node N1 and the first ground end; a third switch coupled between the voltage output end and the first node N1; a fifth switch coupled between the battery end and the second node N2; and a sixth switch coupled between the first ground end and the second node N2.
[0010] Optionally, during the step of charging, the first switch and the second switch are controlled to be alternatively turned on, the fifth switch is continuously turned on, and the sixth switch and the third switch are continuously turned off; or, during the step of boosting, the fifth switch and the sixth switch are controlled to be alternatively turned on, the first switch is continuously turned on, and the second switch and the third switch are continuously turned off; or, during the step of step-down power supply, the fifth switch and the sixth switch are controlled to be alternatively turned on, the third switch is continuously turned on, and the second switch and the first switch are continuously turned off; or, during the step of step-up power supply, the third switch and the second switch are controlled to be alternatively turned on, the fifth switch is continuously turned on, and the sixth switch and the first switch are continuously turned off; and during the step of step-up / step-down power supply, the second switch and the fifth switch are turned on and the third switch and the sixth switch are turned on alternatively.
[0011] Optionally, the controller is further configured to determine whether the charging and power supply unit can work in the charging state according to the magnitude relationship between the voltage inputted by the voltage input terminal and a set value; when the charging and power supply unit can work in the charging state, the controller is further configured to determine whether the charging and power supply unit performs step-down charging or step-up charging according to the magnitude relationship between the voltage inputted by the voltage input terminal and the voltage of the battery of the charging case; and / or, the controller is further configured to determine whether the charging and power supply unit can work in the output voltage state according to the magnitude relationship between the voltage outputted by the battery of the charging case and the effective output voltage of the battery of the charging case; when the charging and power supply unit can work in the output voltage state and needs to perform power supply, the controller is further configured to determine whether the charging and power supply unit performs step-down power supply or step-up power supply according to the magnitude relationship between the voltage outputted by the battery of the charging case and the required working voltage outputted by the voltage output terminal.
[0012] Optionally, the charging and supplying unit has at least one of a step-down charging mode, a step-up charging mode, a step-down supplying mode, a step-up supplying mode, a step-down charging-step-down supplying mode, a step-up charging-step-up supplying mode, a step-down charging-step-up supplying mode and a step-up charging-step-down supplying mode; when the voltage inputted by the voltage input end is greater than the set value, the controller determines that the charging and supplying unit can work in a charging state, wherein: when the voltage inputted by the voltage input end is less than the voltage of the battery of the charging box, the controller controls the on and off of the plurality of switching devices to make the charging and supplying unit work in the step-up charging mode, and the charging and supplying unit forms a step-up switching charging circuit; when the voltage inputted by the voltage input end is greater than the voltage of the battery of the charging box, the controller controls the on and off of the plurality of switching devices to make the charging and supplying unit work in the step-down charging mode, and the charging and supplying unit forms a step-down switching charging circuit; when the voltage outputted by the battery of the charging box is greater than the effective output voltage of the battery of the charging box, the controller determines that the charging and supplying unit can work in an output voltage state, wherein: when the voltage outputted by the battery of the charging box is less than the required working voltage outputted by the voltage output end, the controller controls the on and off of the plurality of switching devices to make the charging and supplying unit work in the step-up supplying mode, and the charging and supplying unit forms a step-up switching supplying circuit; when the voltage outputted by the battery of the charging box is greater than the required working voltage outputted by the voltage output end, the controller controls the on and off of the plurality of switching devices to make the charging and supplying unit work in the step-down supplying mode, and the charging and supplying unit forms a step-down switching supplying circuit; when the charging and supplying unit can work in the charging state and the output voltage state, the charging and supplying unit includes at least one of the following cases: when the voltage inputted by the voltage input end is less than the voltage of the battery of the charging box and the voltage outputted by the battery of the charging box is less than the required working voltage outputted by the voltage output end, the controller controls the on and off of the plurality of switching devices to make the charging and supplying unit work in the step-up charging-step-up supplying mode, and the charging and supplying unit alternately forms the step-up switching charging circuit and the step-up switching supplying circuit; when the voltage inputted by the voltage input end is less than the voltage of the battery of the charging box and the voltage outputted by the battery of the charging box is greater than the required working voltage outputted by the voltage output end, the controller controls the on and off of the plurality of switching devices to make the charging and supplying unit work in the step-up charging-step-down supplying mode, and the charging and supplying unit alternately forms the step-up switching charging circuit and the step-down switching supplying circuit.When the voltage inputted by the voltage input terminal is greater than the voltage of the battery of the charging case and the voltage outputted by the battery of the charging case is less than the required working voltage outputted by the voltage output terminal, the controller controls the on and off of the plurality of switching devices to make the charging and power supply unit work in the buck charging-boost power supply mode, and the charging and power supply unit alternately forms the buck type switching charging circuit and the boost type switching power supply circuit; when the voltage inputted by the voltage input terminal is greater than the voltage of the battery of the charging case and the voltage outputted by the battery of the charging case is greater than the required working voltage outputted by the voltage output terminal, the controller controls the on and off of the plurality of switching devices to make the charging and power supply unit work in the buck charging-buck power supply mode, and the charging and power supply unit alternately forms the buck type switching charging circuit and the buck type switching power supply circuit.
[0013] Optionally, the controller is further configured to sample the charging current and control the duty cycle of the on and off of the plurality of switching devices according to the sampled charging current to achieve constant current charging control; the controller is further configured to sample the charging voltage and control the duty cycle of the on and off of the plurality of switching devices according to the sampled charging voltage to achieve constant voltage charging control; the controller is further configured to sample the power supply voltage and control the duty cycle of the on and off of the plurality of switching devices according to the sampled power supply voltage to achieve control of the power supply voltage; and / or, the at least one voltage output terminal comprises a first voltage output terminal and a second voltage output terminal; when power supply, the controller controls the charging and power supply unit to generate a power supply voltage based on the voltage outputted by the battery of the charging case and the inductor, and alternately output through the first voltage output terminal and the second voltage output terminal; a first output capacitor is arranged in series between the first voltage output terminal and the ground; a second output capacitor is arranged in series between the second voltage output terminal and the ground.
[0014] The second aspect of the present application provides a charging case, which comprises the charging case circuit of the first aspect.
[0015] The third aspect of the present application provides a wireless earphone assembly, which comprises: a wireless earphone having a voltage connection terminal and a second ground terminal, and comprising an earphone battery and a communication unit; the charging case provided in the second aspect, when charging, the first ground terminal of the charging case is coupled with the second ground terminal, and the voltage output terminal of the charging case is coupled with the voltage connection terminal, so that the voltage connection terminal can receive the output voltage outputted by the voltage output terminal, wherein: the output voltage can charge the earphone battery and / or the communication unit can obtain data information according to the output voltage.
[0016] In the above scheme, the charging management circuit in the charging box circuit is replaced by a linear charging circuit with a switching type charging circuit, and the switching type charging circuit is integrated with the voltage adjustment circuit as a charging power supply unit, so that the switching type charging management circuit and the voltage adjustment circuit share an inductor. This can realize the advantages of the switching type charging circuit when charging the battery of the charging box, i.e. fast charging speed, less heat, and no need for additional inductors, reducing cost, saving space, and facilitating miniaturization. In addition, when needed, the output voltage can represent data information, so that the charging box can communicate with the wireless earphone.
[0017] Other features and advantages of the present application will be described in detail in the following specific embodiments. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0019] Figure 1 It is a structural schematic diagram of a charging circuit of a wireless earphone assembly;
[0020] Figure 2 It is a structural schematic diagram of a charging box circuit provided by the embodiment of the present application;
[0021] Figure 3 It is a circuit structure schematic diagram of the charging power supply unit in Figure 2
[0022] Figure 4 It is an exemplary circuit structure diagram of the highest voltage selection unit in Figure 3
[0023] Figure 5 It is an exemplary circuit structure diagram of the controller in Figure 3
[0024] Figure 6 It is an exemplary waveform diagram of the current in the inductor when the charging power supply unit is in the step-down charging state;
[0025] Figure 7 It is an exemplary waveform diagram of the current in the inductor when the charging power supply unit is in the output voltage state;
[0026] Figure 8 It is an exemplary waveform diagram of the current in the inductor when the charging power supply unit is in the dual mode;
[0027] Figure 9 A schematic diagram of the structure of the charging circuit of the wireless headset assembly provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0029] Figure 1 The figure is a schematic diagram of a charging circuit of a wireless earphone assembly. The wireless earphone assembly may include a charging box and a wireless earphone. Figure 1 As shown, the charging circuit consists of two parts, namely the first part of the circuit located in the charging box (as shown in FIG. Figure 1 ) and the second circuit located in the wireless headset (as shown in the left dotted box in Figure 1 (as shown in the dotted box on the right of the figure). The first part of the circuit may include the charging box battery BAT2, a linear charging circuit, and a boost circuit. The second part of the circuit may include the earphone battery BAT1 and a charging management circuit, and may also include a setting circuit, an analog-to-digital converter ACD, and a radio frequency circuit RF1. The linear charging circuit in the charging box realizes the function of charging the charging box battery BAT2. The function of the boost circuit is to increase the voltage output by the charging box battery BAT2 to 5V and then provide it to the wireless earphones, that is, the voltage of VCHG is 5V. The charging management circuit in the wireless earphones charges the earphone battery VBAT1 with a 5V voltage. The setting circuit can set the charging voltage of the charging management circuit, the analog-to-digital converter ACD can measure the voltage of the earphone battery BAT1, and the radio frequency circuit RF1 can communicate with terminal devices such as mobile phones.
[0030] In the above solution, the linear charging circuit in the charging box has problems such as slow charging speed and high heat generation during charging. One improvement is to replace it with a switching charging circuit, but a switching charging circuit requires an additional inductor, which increases the cost significantly and takes up a lot of space.
[0031] In view of this, the embodiments of the present application provide a charging box, its circuit, and a wireless headset assembly that can achieve the advantages of a switch-type charging circuit during charging, namely, fast charging speed, low heat generation, and no need for additional inductance, which reduces costs, saves space, and facilitates miniaturization. Furthermore, when necessary, the output voltage of the charging box circuit to the wireless headset can represent data information, allowing the charging box to communicate with the wireless headset. In addition, it should be noted that the charging box circuit can also be applied to other charging devices, such as power banks.
[0032] Figure 2 A structure diagram of a charging case circuit is provided for the embodiments of the present application. As shown in Figure 2 The charging case circuit includes a charging case battery BAT2 and a power supply unit 21. The power supply unit 21 can include a voltage input terminal VIN, a battery terminal, and at least one voltage output terminal such as VO1 and / or VO2. One end of the charging case battery BAT2 is coupled to a first ground terminal, and the other end is coupled to the battery terminal of the power supply unit 21.
[0033] In addition, the charging case circuit can also include a control unit MCU. When supplying power, the control unit MCU can adjust the output voltage of the power supply unit 21 according to the voltage of at least one voltage output terminal such as VO1 and / or VO2, so that the output voltage of the power supply unit 21 can be relatively small compared to the voltage required for wireless earphone charging, which helps to reduce loss and improve charging efficiency.
[0034] Figure 3 A structure diagram of a circuit of a power supply unit in Figure 2 is provided. As shown in Figure 3 The power supply unit 21 can also include a controller 211, an inductor L1, and a plurality of switching devices such as S1-S6, wherein the inductor L1 is used to carry energy. The controller 211 is used to control the conduction and disconnection of the plurality of switching devices to multiplex the inductor L1 in time when charging the charging case battery BAT2 and outputting voltage from at least one voltage output terminal by the charging case battery BAT2.
[0035] When charging, a charging voltage is generated based on the voltage input by the voltage input terminal VIN and the inductor L1, and the charging voltage is output to the charging case battery BAT2 through the battery terminal, realizing switch charging.
[0036] When outputting voltage, an output voltage is generated based on the voltage output by the charging case battery BAT2 and the inductor L1, and the output voltage is output to the wireless earphone through at least one voltage output terminal. The output voltage can provide a charging voltage for the wireless earphone battery, realizing switch power supply, that is, at this time, it is in a power supply state. When the charging case needs to communicate with the wireless earphone, the output voltage can represent data information, realizing the communication function.
[0037] That is, the output voltage output by the charging case circuit through the voltage output terminal can be used only to power the wireless earphone, realizing only switch power supply; or the output voltage output by the charging case circuit through the voltage output terminal can be used only to represent data information, realizing communication between the charging case and the wireless earphone, at this time, it can not be used to charge the wireless earphone, and only the communication function is realized; or the output voltage output by the charging case circuit through the voltage output terminal is not only used to power the wireless earphone, but also can be used to represent data information, realizing communication between the charging case and the wireless earphone, that is, realizing the communication function while realizing switch power supply.
[0038] The data information can include information such as the charge level of the battery of the charging case, the switch state of the charging case cover, etc. In an example, the data information can be binary data represented by 1 and 0, and the output voltage can include a high voltage level and a low voltage level, where the high voltage level represents logic 1 and the low voltage level represents logic 0. Alternatively, the output voltage lasting a first time duration can represent logic 1, and the output voltage lasting a second time duration can represent logic 0. Alternatively, the output voltage can include a high voltage level and a low voltage level, where the period of alternation of the high voltage level and the low voltage level is greater than a set time duration to represent one of logic 1 and 0, and the period of alternation of the high voltage level and the low voltage level is less than the set time duration to represent the other of logic 1 and 0.
[0039] In the above scheme, the charging management circuit in the charging case circuit is replaced by a switching charging circuit, and the switching charging circuit and the voltage adjustment circuit are integrated into the charging and power supply unit 21, so that the switching charging management circuit and the voltage adjustment circuit share the inductor L1. In this way, the advantages of the switching charging circuit in charging the battery BAT2 of the charging case can be achieved, i.e. fast charging speed, less heat generation, and no need to additionally increase the inductor L1, which reduces the cost, saves space, and is beneficial to miniaturization.
[0040] In addition, when necessary, the output voltage can represent data information, so that the charging case can communicate with the wireless earphone. Moreover, the communication function can be performed simultaneously with the switching power supply, or separately. The functions of the charging and power supply unit 21 in switching charging and / or switching power supply are described in detail below.
[0041] Specifically, the controller 211 can be configured to determine whether the charging and power supply unit 21 can work in a charging state according to the size relationship between the voltage input by the voltage input terminal VIN and the set value. When the charging and power supply unit 21 can work in the charging state, the controller 211 is further configured to determine whether the charging and power supply unit 21 performs step-down charging or step-up charging according to the size relationship between the voltage input by the voltage input terminal VIN and the voltage of the battery BAT2 of the charging case.
[0042] Further, the controller 211 can be further configured to sample the charging current and control the duty cycle of the on and off of the plurality of switching devices according to the sampled charging current, to achieve constant current charging control. The controller 211 is further configured to sample the charging voltage and control the duty cycle of the on and off of the plurality of switching devices according to the sampled charging voltage, to achieve constant voltage charging control. For example, the controller 211 can sample Figure 3The charging current is obtained by combining the voltage on both sides of the switch S5 and the resistance of the switch S5, and the charging voltage is the voltage on the side of the switch S5 connected to the battery end. That is, when only the charging box battery BAT2 is charged and no power is provided to the wireless earphone through the voltage output end, there is no output voltage at the voltage output end such as VO1 and / or VO2. When the charging box battery BAT2 is controlled to be charged at a constant voltage, a feedback voltage can be obtained from the charging box battery BAT2 to achieve constant voltage control through a negative feedback loop. For example, the negative feedback loop compares the voltage VBAT2 of the charging box battery BAT2 with a set value such as 4.2V. If the voltage of the charging box battery BAT2 is higher than 4.2V, the duty cycle of the switch is reduced. If the voltage VBAT2 of the charging box battery BAT2 is lower than 4.2V, the duty cycle of the switch is increased until they are equal and balanced.
[0043] In addition, the controller 211 can be used to determine whether the charging and power supply unit 21 can work in the output voltage state according to the size relationship between the voltage output by the charging box battery BAT2 and the effective output voltage of the charging box battery BAT2. When the charging and power supply unit 21 can work in the output voltage state and needs to supply power, the controller 211 is further used to determine whether the charging and power supply unit 21 supplies power in a step-down mode or a step-up mode according to the size relationship between the output voltage output by the charging box battery BAT2 and the required working voltage output by the voltage output end. Further, the controller 211 is further used to sample the output voltage at the voltage output end such as VO1 or VO2, and control the output voltage by controlling the duty cycle of the on and off of the plurality of switch devices according to the sampled output voltage.
[0044] When the charging and power supply unit 21 includes one voltage output end such as VO1, the controller 211 can be used to control the on and off of the plurality of switch devices, so that: during step-down charging, the first connection end of the inductor L1 is alternately coupled to the voltage input end VIN and the first ground end, and the second connection end of the inductor L1 is continuously coupled to the battery end; during step-up charging, the first connection end of the inductor L1 is continuously coupled to the voltage input end VIN, and the second connection end of the inductor L1 is alternately coupled to the battery end and the first ground end; during step-down power supply, the first connection end of the inductor L1 is continuously coupled to the voltage output end, and the second connection end of the inductor L1 is alternately coupled to the battery end and the first ground end; during step-up power supply, the first connection end of the inductor L1 is alternately coupled to the voltage output end and the first ground end, and the second connection end of the inductor L1 is continuously coupled to the battery end; and during step-down-step-up power supply, the first connection end of the inductor is coupled to the first ground end and the second connection end of the inductor is coupled to the battery end, and the first connection end of the inductor is alternately coupled to the voltage output end and the first ground end and the second connection end of the inductor is alternately coupled to the battery end and the first ground end.
[0045] In Figure 3In some embodiments, the first connection end of the inductor L1 is coupled to the first node N1, the second connection end of the inductor L1 is coupled to the second node N2, and the plurality of switching devices includes a first switch S1, a second switch S2, a third switch S3, a fifth switch S5, and a sixth switch S6. The first switch S1 is coupled between the voltage input terminal VIN and the first node N1, the second switch S2 is coupled between the first node N1 and the first ground terminal, the third switch S3 is coupled between the voltage output terminal and the first node N1, the fifth switch S5 is coupled between the battery terminal and the second node N2, and the sixth switch S6 is coupled between the first ground terminal and the second node N2.
[0046] In this way, during the step-down charging, the first switch S1 and the second switch S2 are controlled to be alternatively turned on, the fifth switch S5 is continuously turned on, and the sixth switch S6 and the third switch S3 are continuously turned off. During the step-up charging, the fifth switch S5 and the sixth switch S6 are controlled to be alternatively turned on, the first switch S1 is continuously turned on, and the second switch S2 and the third switch S3 are continuously turned off. During the step-down power supply, the fifth switch S5 and the sixth switch S6 are controlled to be alternatively turned on, the third switch S3 is continuously turned on, and the second switch S2 and the first switch S1 are continuously turned off. During the step-up power supply, the third switch S3 and the second switch S2 are controlled to be alternatively turned on, the fifth switch S5 is continuously turned on, and the sixth switch S6 and the first switch S1 are continuously turned off. During the step-down-step-up power supply, the second switch S2 and the fifth switch S5 are turned on alternately with the third switch S3 and the sixth switch S6.
[0047] It should be noted that when the charging and power supply unit 21 includes one voltage output terminal, such as VO2, the third switch S3 described above can be replaced by a fourth switch S4. In an example, the at least one voltage output terminal can include a first voltage output terminal VO1 and a second voltage output terminal VO2. During the power supply, the controller 211 controls the charging and power supply unit 21 to generate a power supply voltage based on the voltage output by the charging case battery BAT2 and the inductor L1, and alternately output through the first voltage output terminal VO1 and the second voltage output terminal VO2. The first voltage output terminal VO1 and the ground are connected in series with a first output capacitor C1; the second voltage output terminal VO2 and the ground are connected in series with a second output capacitor C2. The first output capacitor C1 can stabilize the output voltage of the first voltage output terminal VO1, and the second output capacitor C2 can stabilize the output voltage of the second voltage output terminal VO2. The charging and power supply unit 21 can not only charge the charging case battery BAT2 with VIN as the input, but also generate an output voltage with the charging case battery BAT2 as the input and output through the first voltage output terminal VO1 and the second voltage output terminal, and cooperate with the first output capacitor C1 and the second capacitor C2 to generate an output voltage while charging the battery BAT2.
[0048] That is, the charging and power supply unit 21 can have at least one of a step-down charging mode, a step-up charging mode, a step-down power supply mode, a step-up power supply mode, a step-down charging-step-down power supply mode, a step-up charging-step-up power supply mode, a step-down charging-step-up power supply mode, and a step-up charging-step-down power supply mode.
[0049] When the voltage inputted by the voltage input terminal VIN is greater than a set value, the controller 211 determines that the charging and power supply unit 21 can work in a charging state, wherein: when the voltage inputted by the voltage input terminal VIN is less than the voltage of the battery BAT2 of the charging box, the controller 211 controls the on and off of the plurality of switching devices to make the charging and power supply unit 21 work in a step-up charging mode, and the charging and power supply unit 21 forms a step-up switching charging circuit; when the voltage inputted by the voltage input terminal VIN is greater than the voltage of the battery BAT2 of the charging box, the controller 211 controls the on and off of the plurality of switching devices to make the charging and power supply unit 21 work in a step-down charging mode, and the charging and power supply unit 21 forms a step-down switching charging circuit.
[0050] When the output voltage outputted by the battery BAT2 of the charging box is greater than the effective output voltage of the battery BAT2 of the charging box, the controller 211 determines that the charging and power supply unit 21 can work in an output voltage state, wherein: when the voltage outputted by the battery BAT2 of the charging box is less than the required working voltage outputted by the voltage output terminal, the controller 211 controls the on and off of the plurality of switching devices to make the charging and power supply unit 21 work in a step-up power supply mode, and the charging and power supply unit 21 forms a step-up switching power supply circuit; when the voltage outputted by the battery BAT2 of the charging box is greater than the required working voltage outputted by the voltage output terminal, the controller 211 controls the on and off of the plurality of switching devices to make the charging and power supply unit 21 work in a step-down power supply mode, and the charging and power supply unit 21 forms a step-down switching power supply circuit.
[0051] When the charging and power supply unit 21 can work in the charging state and the output voltage state, the charging and power supply unit 21 includes at least one of the following cases:
[0052] 1), when the voltage inputted by the voltage input terminal VIN is less than the voltage of the battery BAT2 of the charging box and the voltage outputted by the battery BAT2 of the charging box is less than the required working voltage outputted by the voltage output terminal, the controller 211 controls the on and off of the plurality of switching devices to make the charging and power supply unit 21 work in a step-up charging-step-up power supply mode, and the charging and power supply unit 21 alternately forms a step-up switching charging circuit and a step-up switching power supply circuit.
[0053] 2) When the voltage inputted by the voltage input terminal VIN is less than the voltage of the battery BAT2 and the voltage outputted by the battery BAT2 is greater than the required working voltage outputted by the voltage output terminal, the controller 211 controls the on and off of the plurality of switching devices, so that the charging and power supply unit 21 works in the step-up charging-step-down power supply mode, and the charging and power supply unit 21 alternately forms the step-up switching charging circuit and the step-down switching power supply circuit.
[0054] 3) When the voltage inputted by the voltage input terminal VIN is greater than the voltage of the battery BAT2 and the voltage outputted by the battery BAT2 is less than the required working voltage outputted by the voltage output terminal, the controller 211 controls the on and off of the plurality of switching devices, so that the charging and power supply unit 21 works in the step-down charging-step-up power supply mode, and the charging and power supply unit 21 alternately forms the step-down switching charging circuit and the step-up switching power supply circuit.
[0055] 4) When the voltage inputted by the voltage input terminal VIN is greater than the voltage of the battery BAT2 and the voltage outputted by the battery BAT2 is greater than the required working voltage outputted by the voltage output terminal, the controller 211 controls the on and off of the plurality of switching devices, so that the charging and power supply unit 21 works in the step-down charging-step-down power supply mode, and the charging and power supply unit 21 alternately forms the step-down switching charging circuit and the step-down switching power supply circuit.
[0056] It should be noted that the charging and power supply unit 21 can also have other working modes, for example, when power supply is performed, a step-down-step-up power supply mode can also be adopted according to the requirement.
[0057] In addition, as shown in Figure 3 In order to realize the power supply to the controller 211 and ensure that the plurality of switching devices such as S1-S6 can be completely turned off (when it is required to be turned off) to prevent leakage, the charging and power supply unit 21 further comprises a highest voltage selection unit VMax, a first input terminal of the highest voltage selection unit VMax is coupled with the voltage input terminal VIN, a second input terminal of the highest voltage selection unit VMax is coupled with the battery terminal, a third input terminal of the highest voltage selection unit VMax is coupled with at least one voltage output terminal such as VO1 and / or VO2, an output terminal of the highest voltage selection unit VMax is connected with the controller 211, and the highest voltage selection unit VMax is used to output the highest voltage among the voltage input terminal VIN, the battery terminal and the at least one voltage output terminal through the output terminal of the highest voltage selection unit VMax to the controller 211 to supply power to the controller 211.
[0058] Figure 4 For Figure 3 an exemplary circuit structure diagram of the highest voltage selection unit in the charging and power supply unit. As shown in Figure 4As shown, when the charging power supply unit 21 only includes the first voltage output terminal VO1, the highest voltage selection unit VMax includes a first sub-switch S10, a second sub-switch S20, a first comparator Com10 and a first inverter INV1, one end of the first sub-switch S10 is coupled with the voltage input terminal VIN, the other end is coupled with the first output terminal (the output voltage is Vm), one end of the second sub-switch S20 is coupled with the battery terminal (the voltage is VBAT2), the other end is coupled with the first output terminal, the first input terminal of the first comparator Com10 is coupled with the voltage input terminal VIN, the second input terminal of the first comparator Com10 is coupled with the battery terminal, the output terminal of the first comparator Com10 is coupled with the control terminal of the second sub-switch S20, and is coupled with the control terminal of the first sub-switch S10 through the first inverter INV1. The highest voltage selection unit VMax further includes a third sub-switch S30, a fourth sub-switch S40, a second comparator Com20 and a second inverter INV2, one end of the third sub-switch S30 is coupled with the first output terminal, the other end is coupled with the second output terminal, the second output terminal is coupled with the output terminal of the highest voltage selection unit VMax (the output voltage is VX), one end of the fourth sub-switch S40 is coupled with the first voltage output terminal VO1, the other end is coupled with the second output terminal, the first input terminal of the second comparator Com20 is coupled with the first output terminal, the second input terminal of the second comparator Com20 is coupled with the first voltage output terminal VO1, the output terminal of the second comparator Com20 is coupled with the control terminal of the fourth sub-switch S40, and is coupled with the control terminal of the third sub-switch S30 through the second inverter INV2.
[0059] That is, when the charging power supply unit 21 only includes the first voltage output terminal VO1, the highest voltage selection unit VMax can include the switches S10-S40, the inverters INV1 and INV2, the comparator Com10 and the comparator Com20. The comparator Com10 compares the VIN voltage and the VBAT2 voltage, when the VIN voltage is greater than the VBAT2 voltage, the comparator Com10 outputs a low level, the switch S20 is turned off, and the output is inverted to a high level through the inverter INV1, to control the switch S10 to be turned on, at this time, the Vm voltage is equal to the VIN voltage; when the VIN voltage is less than the VBAT2 voltage, the comparator INV1 outputs a high level, to control the switch S20 to be turned on, the output is inverted to a low level through the inverter INV1, to control the switch S10 to be turned off, at this time, the Vm voltage is equal to the VBAT2 voltage, so Vm is the higher voltage of VIN and VBAT2.
[0060] Next, the comparator Com20 compares the Vm voltage with the voltage of the first voltage output terminal VO1. When the Vm voltage is greater than the voltage of the first voltage output terminal VO1, the comparator Com20 outputs a low level, the switch S40 is turned off, and after being inverted by the inverter INV2, the output is a high level, and the control switch S30 is turned on. At this time, the VX voltage is equal to the Vm voltage; when the Vm voltage is less than the voltage of the first voltage output terminal VO1, the comparator Com20 outputs a high level, the control switch S40 is turned on, and after being inverted by the inverter INV2, the output is a low level, and the control switch S30 is turned off. At this time, the VX voltage is equal to the voltage of the first voltage output terminal VO1, so VX is the higher of Vm and VO1.
[0061] When the charging and supply unit 21 further includes a second voltage output terminal VO2, the maximum voltage selection unit VMax may further include switches S50 and S60, an inverter INV3, and a comparator Com30. Vn is the highest of the first voltage output terminals VO1, VIN, and VBAT2, and Vn is the voltage output by the second output terminal.
[0062] The comparator Com30 compares the Vn voltage with the voltage at the second voltage output terminal VO2. When the Vn voltage is greater than the voltage at the second voltage output terminal VO2, the comparator Com30 outputs a low level, the switch S60 is disconnected, and after being inverted by the inverter INV3, the output is a high level, and the control switch S50 is turned on. At this time, the VX voltage is equal to the Vn voltage; when the Vn voltage is less than the voltage at the second voltage output terminal VO2, the comparator Com30 outputs a high level, the control switch S60 is turned on, and after being inverted by the inverter INV3, the output is a low level, and the control switch S50 is disconnected. At this time, the VX voltage is equal to the voltage at the second voltage output terminal VO2, so VX is the higher of Vn and VO2.
[0063] Figure 5 for Figure 3 An exemplary circuit structure diagram of the controller in FIG. Figure 5 As shown, the controller 211 includes comparators Com1 and Com2, and a mode control module ModeC. Mode control module ModeC can output control signals such as one or more of GS1, GS2, GS3, GS4, GS5, and GS6 to achieve switch charging and / or output voltage output. GS1 can be used to control the on / off state of switch S1, GS2 can be used to control the on / off state of switch S2, GS3 can be used to control the on / off state of switch S3, GS4 can be used to control the on / off state of switch S4, GS5 can be used to control the on / off state of switch S5, and GS6 can be used to control the on / off state of switch S6.
[0064] BAT2 can be charged when the VIN connection adapter. Specifically, can be detected by the voltage at the VIN is greater than the set value VR1, for example, 4.5V to determine. For example, using a comparator Com1 VIN voltage and 4.5V to achieve, if the VIN voltage is greater than 4.5V, indicating that the adapter is inserted.
[0065] When the VBAT2 voltage is greater than the effective output voltage VR2, such as 3.2V battery, for example, using a comparator Com2 VBAT2 voltage and 3.2V, then determine the battery VBAT2 sufficient power, can be through the first voltage output VO1 and / or the second voltage output VO2 output voltage to the wireless headset charging.
[0066] When the VIN is greater than VR1, and VBAT2 is less than VR2, C1 can be high, C2 can be low, mode control module ModeC work in the step-down charging mode; when the VIN is less than VR1, and VBAT2 is greater than VR2, C1 can be low, C2 can be high, mode control module ModeC work in the output voltage mode; when the VIN is greater than VR1, and VBAT2 is greater than VR2, C1 can be high, C2 can be high, mode control module ModeC can work in the step-down charging and output voltage mode; when the VIN is less than VR1, and VBAT2 is less than VR2, C1 can be low, C2 can be low, mode control module ModeC can stop working, output GS1, GS2, GS3 are low, control Figure 3 all switches are open.
[0067] The following with the charging unit 21 includes a first voltage output VO1 and the second voltage output VO2 as an example of the inductor current waveform is introduced. Among them, the inductor current from the first node N1 to the second node N2 is defined as positive. VR1 is 4.5V, VR2 is 3.2V.
[0068] The first case
[0069] As Figure 5 shown, if the VIN voltage is greater than 4.5V, and VBAT2 voltage is less than 3.2V, mode control module ModeC only control work in the step-down charging state, the implementation of the VIN as input, charging box battery BAT2 charging, because the VIN voltage is higher than the BAT2 voltage, so it is step-down charging mode. At this time, mode control module ModeC control switch S1 and S2 alternately (control S3 is always open), the realization of step-down type charging control, and can collect the charging box battery voltage VBAT2 and current, the realization of constant voltage or constant current charging control.
[0070] Figure 6An exemplary waveform diagram of the current in the inductor when the charge supply unit is in the step-down charging state. As shown, the dashed line represents a zero current reference line, and the inductor current is always greater than or equal to zero. Figure 6
[0071] In combination Figure 3 It can be seen that:
[0072] In the T1 period, the controller 211 controls the switches S1 and S5 to be conductive (the other switches are all open), and the current flows from the VIN to the VBAT2 through the S1 and L1, S5, and the inductor current rises at a slope of (VIN-VBAT2) / L (the energy is stored in the inductor during this period), where VIN is the voltage value of the VIN node, VBAT2 is the voltage value of the VBAT2 node (i.e., the voltage value of the battery BAT2), and L is the inductance value of the inductor L1.
[0073] In the T2 period, the controller 211 controls the switches S2 and S5 to be conductive (at this time, the other switches are all open), and the current flows from the ground to the VBAT2 through the S2 and L1, S5, and the inductor current falls at a slope of (-VBAT2) / L (the energy is released from the inductor during this period), where VBAT2 is the voltage value of the VBAT2 node (i.e., the voltage value of the battery BAT2), and L is the inductance value of the inductor L1.
[0074] The second case
[0075] If the VIN voltage is less than 4.5V and the VBAT2 voltage is greater than 3.2V, the controller 211 only controls to work in the output voltage state. That is, the VBAT2 is taken as the input, and the wireless earphone is supplied with power through the VO1 and VO2 nodes, and the built-in charging management circuit in the earphone takes the VO1 and VO2 as the power supply to charge the battery in the earphone. At this time, the controller 211 controls the switches S5 and S6 to be conductive alternately, the switches S3 and S4 to be conductive alternately, and the switch S1 to be open all the time, to realize the output voltage supply control, to collect the output voltage according to the VO1 and VO2 feedback, and to control the VO1 output constant voltage through the negative feedback loop. The specific value of the output constant voltage can be set by the control unit MCU. The control unit MCU obtains the voltage required for charging the wireless earphone through at least one voltage output terminal, and feeds back the target voltage to the charge supply unit according to the voltage required for charging, the target voltage being a function of the voltage required for charging. The charge supply unit adjusts the output voltage to the target voltage, and outputs the voltage to the wireless earphone through the at least one voltage output terminal.
[0076] In one example, the control unit MCU obtains the voltage information of the battery in the first earphone through the first voltage output terminal VO1 and the first earphone, and obtains the voltage information of the battery in the second earphone through the second voltage output terminal VO2 and the second earphone. The control unit MCU adds a certain margin voltage to the voltage of the first earphone battery to obtain a first target voltage, and then sets VO1 to output the first target voltage. The control unit MCU adds a certain margin voltage to the voltage of the second earphone battery to obtain a second target voltage, and then sets VO2 to output the second target voltage.
[0077] Figure 7 An example of a waveform diagram of the current in the inductor when the power supply unit is in the output voltage state. As shown in Figure 7 , the dashed line represents the zero current reference line, and the inductor current is always less than or equal to zero.
[0078] In combination Figure 3 It can be seen that:
[0079] In the T1 period, the controller 211 controls the switches S5 and S3 to be conductive (at this time, the other switches are all open), and the current flows from VBAT2 to VO1 through S5, L1 and S3. The inductor current L1 decreases at a slope of (VO1-VBAT2) / L (during this period, the inductor energy is stored, and the absolute value of the inductor current increases, so the inductor energy increases), wherein VBAT2 is the voltage value of the node VBAT2 (i.e. the voltage value of the battery BAT2), and L is the inductance value of the inductor L1.
[0080] In the T2 period, the controller 211 controls the switches S6 and S3 to be conductive (at this time, the other switches are all open), and the current flows from the ground node to VO1 through S6, L1 and S3. The inductor current L1 increases at a slope of VO1 / L (during this period, the inductor energy is released, and the absolute value of the inductor current decreases, so the inductor energy decreases), wherein VO1 is the voltage value of the node VO1, and L is the inductance value of the inductor L1.
[0081] In the T3 period, the controller 211 controls the switches S5 and S4 to be conductive (at this time, the other switches are all open), and the current flows from VBAT2 to VO2 through S5, L1 and S4. The inductor current L1 decreases at a slope of (VO2-VBAT2) / L (during this period, the inductor energy is stored, and the absolute value of the inductor current increases, so the inductor energy increases), wherein VBAT2 is the voltage value of the node VBAT2 (i.e. the voltage value of the battery BAT2), and L is the inductance value of the inductor L1.
[0082] During period T4, the controller 211 controls switches S6 and S4 to turn on (all other switches are off at this time). Current flows from the ground node through S6, L1, and S4 to VO2. The current in inductor L1 increases at a slope of VO2 / L (energy is released to the inductor during this period, the absolute value of the inductor current decreases, and therefore the energy stored in the inductor decreases). VO2 is the voltage value of the VO2 node, and L is the inductance value of the inductor L1.
[0083] In this way, a buck power supply mode can be implemented during the T1-T4 period. Furthermore, in the buck-boost power supply mode, the T1 and T3 periods within the T1-T4 period can be modified as follows: During the T1 period, the controller 211 controls switches S5 and S2 to conduct (at this time, all other switches are open), causing current to flow from VBAT2 through S5, L1, and S2 to ground, and the current in inductor L1 to decrease at a slope of -VBAT2 / L (during this period, energy is stored in the inductor, and the absolute value of the inductor current increases, thereby increasing the stored energy in the inductor); During the T3 period, the controller 211 controls switches S5 and S2 to conduct (at this time, all other switches are open), causing current to flow from VBAT2 through S5, L1, and S2 to ground, and the current in inductor L1 to decrease at a slope of -VBAT2 / L (during this period, energy is stored in the inductor, and the absolute value of the inductor current increases, thereby increasing the stored energy in the inductor).
[0084] It should be noted that in Figure 7 In the embodiment, the inductor current valley value during the period T1 to T2 may not be equal to the inductor current valley value during the period T3 to T4, which may be determined according to actual design.
[0085] The third case
[0086] If the VIN voltage is greater than 4.5V and the VBAT2 voltage is greater than 3.2V, the controller 211 controls the operation in dual mode: simultaneously implementing buck charging control and output voltage mode, wherein the buck charging control uses VIN as input to charge the battery BAT2; the output voltage converter uses VBAT2 as input to supply power to the first wireless headset and the second wireless headset through the VO1 and VO2 nodes.
[0087] Figure 8 This is an exemplary waveform diagram of the current in the inductor when the charging and power supply unit is in dual mode. Wherein, "dual mode" refers to the buck charging mode and the buck-boost power supply mode. Figure 8 As shown in the figure, the inductor current is sometimes positive and sometimes negative. The dotted line is the zero current reference line, the part above this line is positive, and the part below this line is negative. Figure 3 It can be seen that:
[0088] In the T1 period, the controller 211 controls the switches S1 and S5 to be turned on (at this time, other switches are all turned off), and the current flows from the VIN to the VBAT2 through the S1, the L1 and the S5, and the inductor current rises with the slope of (VIN-VBAT2) / L (in this period, the inductor stores energy), wherein VIN is the voltage value of the VIN node, VBAT2 is the voltage value of the VBAT2 node (i.e. the voltage value of the battery BAT2), and L is the inductance value of the inductor L1;
[0089] In the T2 period, the controller 211 controls the switches S2 and S5 to be turned on (at this time, other switches are all turned off), and the current flows from the ground to the VBAT2 through the S2, the L1 and the S5, and the inductor current falls with the slope of (-VBAT2) / L (in this period, the inductor releases energy), wherein VBAT2 is the voltage value of the VBAT2 node (i.e. the voltage value of the battery BAT2), and L is the inductance value of the inductor L1;
[0090] In the T3 period, the controller 211 continues to control the switches S5 and S2 to be turned on (at this time, other switches are all turned off), and the current flows from the VBAT2 to the ground through the S5, the L1 and the S2, and the inductor current falls with the slope of -VBAT2 / L (in this period, the inductor stores energy, and the absolute value of the inductor current increases, so the inductor stores more energy), wherein VBAT2 is the voltage value of the VBAT2 node (i.e. the voltage value of the battery BAT2), and L is the inductance value of the inductor L1;
[0091] In the T4 period, the controller 211 controls the switches S6 and S3 to be turned on (at this time, other switches are all turned off), and the current flows from the VBAT2 to the VO1 through the S6, the L1 and the S3, and the inductor current rises with the slope of (VO1-VBAT2) / L (in this period, the inductor releases energy, and the absolute value of the inductor current decreases, so the inductor stores less energy), wherein VO1 is the voltage value of the VO1 node, VBAT2 is the voltage value of the VBAT2 node (i.e. the voltage value of the battery BAT2), and L is the inductance value of the inductor L1;
[0092] In the T5 period, the controller 211 continues to control the switches S5 and S2 to be turned on (at this time, other switches are all turned off), and the current flows from the VBAT2 to the ground through the S5, the L1 and the S2, and the inductor current falls with the slope of -VBAT2 / L (in this period, the inductor stores energy, and the absolute value of the inductor current increases, so the inductor stores more energy), wherein VBAT2 is the voltage value of the VBAT2 node (i.e. the voltage value of the battery BAT2), and L is the inductance value of the inductor L1;
[0093] In the T6 period, the controller 211 controls the switches S6 and S4 to be turned on (at this time, other switches are turned off), and the current flows from the VBAT2 to the VO2 through the S6, the L1 and the S4, and the inductance L1 current rises with the slope of (VO2-VBAT2) / L (in this period, the energy is released to the inductance, the absolute value of the inductance current decreases, and thus the inductance energy storage decreases), wherein VO2 is the voltage value of the VO1 node, VBAT2 is the voltage value of the VBAT2 node (i.e. the voltage value of the battery BAT2), and L is the inductance value of the inductance L1.
[0094] In addition, the application further provides a charging box, which comprises the charging box circuit.
[0095] Figure 9 The application provides a charging circuit of a wireless earphone assembly. The wireless earphone assembly comprises at least one wireless earphone and the charging box. Figure 9 As shown in the figure, the wireless earphone assembly can comprise two wireless earphones, i.e. a first wireless earphone and a second wireless earphone. The first wireless earphone has a voltage connection end VCHG1 and a second ground end, and comprises an earphone battery BATA and a first communication unit (not shown in the figure). The second wireless earphone has a voltage connection end VCHG2 and a second ground end, and comprises an earphone battery BATB and a second communication unit (not shown in the figure). During charging, the first ground end of the charging box is coupled with the second ground end, and the voltage output end of the charging box is coupled with the voltage connection end, such as VO1 coupled with VCHG1 and VO2 coupled with VCHG2, so that the voltage connection end can receive the output voltage output by the voltage output end, wherein the output voltage can charge the earphone battery and / or the communication unit can obtain data information according to the output voltage.
[0096] In addition, the wireless earphone can further comprise other functional units according to needs. Figure 9 In the figure, the first wireless earphone further comprises a charger A, a setting unit SetA, an analog-to-digital converter ADCA and a radio frequency unit RFA. The second wireless earphone further comprises a charger B, a setting unit SetB, an analog-to-digital converter ADCB and a radio frequency unit RFB.
[0097] Those skilled in the art should further appreciate that the elements and algorithms described in each example above are implemented in the form of electronic hardware, computer software, or a combination of both. The disclosure has been presented above in the general context of algorithm steps and functional elements that implement the described processing. The algorithm steps and functional elements set forth in the description above are generally performed in the order in which they are described. Unless otherwise specified, the steps and functional elements can be performed in any order. The various steps and functional elements can also be combined or divided into separate software programs or routines. The various steps and functional elements can be implemented in either hardware or software or a combination of both. The disclosure is not limited to any particular programming language or programming techniques. The disclosure is not limited to any particular hardware or software configuration.
[0098] The above detailed description has been presented for the purposes of clarity and understanding. It is not intended to be exhaustive or to limit the application to the precise form described. Many modifications and variations are possible in the light of the above teachings. It is intended that the scope of the application be limited not with this detailed description, but rather by the claims appended hereto.
Claims
1. A charging case circuit, characterized by, The charging box battery and the charging and supplying unit, the charging and supplying unit comprising a controller, an inductor, a plurality of switching devices, a voltage input end, a battery end, at least one voltage output end, one end of the charging box battery being coupled to a first ground end, and the other end being coupled to the battery end of the charging and supplying unit; The controller is used to control the conduction and disconnection of the plurality of switching devices to time-multiplex the inductor when charging the charging box battery and outputting voltage by the charging box battery through the at least one voltage output end; The first connection end of the inductor is coupled to a first node (N1), the second connection end of the inductor is coupled to a second node (N2), the plurality of switching devices comprises: a first switch coupled between the voltage input end and the first node (N1); a second switch coupled between the first node (N1) and the first ground end; a third switch coupled between the voltage output end and the first node (N1); a fifth switch coupled between the battery end and the second node (N2); a sixth switch coupled between the first ground end and the second node (N2); when step-down charging, the first switch and the second switch are controlled to be alternately conducted, the fifth switch is continuously conducted, and the sixth switch and the third switch are continuously disconnected; or, when step-up charging, the fifth switch and the sixth switch are controlled to be alternately conducted, the first switch is continuously conducted, and the second switch and the third switch are continuously disconnected; or, When step-down supplying, the fifth switch and the sixth switch are controlled to be alternately conducted, the third switch is continuously conducted, and the second switch and the first switch are continuously disconnected; or, when step-up supplying, the third switch and the second switch are controlled to be alternately conducted, the fifth switch is continuously conducted, and the sixth switch and the first switch are continuously disconnected; when step-down-step-up supplying, the second switch and the fifth switch are conducted alternately with the third switch and the sixth switch being conducted; When charging, a charging voltage is generated based on the voltage inputted by the voltage input end and the inductor, and is outputted to the charging box battery through the battery end, to realize switch charging; when outputting voltage, an output voltage is generated based on the voltage outputted by the charging box battery and the inductor, and is outputted to the wireless earphone through the at least one voltage output end, to realize switch supplying; and / or, when the charging box needs to communicate with the wireless earphone, the output voltage can represent data information.
2. The charging case circuit of claim 1, wherein, The power supply unit further comprises a highest voltage selection unit, a first input end of the highest voltage selection unit is coupled with the voltage input end, a second input end of the highest voltage selection unit is coupled with the battery end, a third input end of the highest voltage selection unit is coupled with the at least one voltage output end, an output end of the highest voltage selection unit is connected with the controller, and the highest voltage selection unit is configured to output the highest voltage among the voltage input end, the battery end and the at least one voltage output end to the controller through the output end of the highest voltage selection unit to supply power to the controller.
3. The charging case circuit of claim 2, wherein, The highest voltage selection unit comprises a first sub-switch, a second sub-switch, a first comparator and a first inverter, one end of the first sub-switch is coupled with the voltage input end, the other end is coupled with a first output end, one end of the second sub-switch is coupled with the battery end, the other end is coupled with the first output end, a first input end of the first comparator is coupled with the voltage input end, a second input end of the first comparator is coupled with the battery end, an output end of the first comparator is coupled with a control end of the second sub-switch and is coupled with a control end of the first sub-switch through the first inverter; The highest voltage selection unit further comprises a third sub-switch, a fourth sub-switch, a second comparator and a second inverter, one end of the third sub-switch is coupled with the first output end, the other end is coupled with a second output end, the second output end is coupled with an output end of the highest voltage selection unit, one end of the fourth sub-switch is coupled with the voltage output end, the other end is coupled with the second output end, a first input end of the second comparator is coupled with the first output end, a second input end of the second comparator is coupled with the voltage output end, an output end of the second comparator is coupled with a control end of the fourth sub-switch and is coupled with a control end of the third sub-switch through the second inverter; and / or, The charging box circuit further comprises a control unit, the control unit obtains a charging required voltage of the wireless earphone through the at least one voltage output end, and feeds back a target voltage to the power supply unit according to the charging required voltage, the target voltage is a function of the charging required voltage, the power supply unit adjusts the output voltage to the target voltage and outputs the target voltage to the wireless earphone through the at least one voltage output end.
4. The charging case circuit of claim 1, wherein, The data information is binary data represented by 1 and 0, wherein: The output voltage comprises a high level voltage and a low level voltage, the high level voltage represents logic 1, and the low level voltage represents logic 0; or, The output voltage represents logic 1 for a first duration, and represents logic 0 for a second duration; or, The output voltage comprises a high level voltage and a low level voltage, a period of alternating change of the high level voltage and the low level voltage is greater than a set duration to represent one of logic 1 and 0, and the period of alternating change of the high level voltage and the low level voltage is less than the set duration to represent the other of logic 1 and 0.
5. The charging case circuit of claim 1, wherein, The controller is configured to control the on and off of the plurality of switching devices such that: In the step of charging with a step-down, the first connection end of the inductor is alternately coupled to the voltage input end and the first ground end, and the second connection end of the inductor is continuously coupled to the battery end; Or, In the step of charging with a step-up, the first connection end of the inductor is continuously coupled to the voltage input end, and the second connection end of the inductor is alternately coupled to the battery end and the first ground end; or, In the step of supplying power with a step-down, the first connection end of the inductor is continuously coupled to the voltage output end, and the second connection end of the inductor is alternately coupled to the battery end and the first ground end; Or, In the step of supplying power with a step-up, the first connection end of the inductor is alternately coupled to the voltage output end and the first ground end, and the second connection end of the inductor is continuously coupled to the battery end; In the step of supplying power with a step-down and a step-up, the first connection end of the inductor is alternately coupled to the first ground end and the battery end, and the second connection end of the inductor is alternately coupled to the voltage output end and the first ground end.
6. The charging case circuit of claim 1, wherein: The controller is further configured to determine whether the charging and power supply unit can work in a charging state according to the size relationship between the voltage input by the voltage input end and a set value, and when the charging and power supply unit can work in the charging state, the controller is further configured to determine whether the charging and power supply unit performs step-down charging or step-up charging according to the size relationship between the voltage input by the voltage input end and the voltage of the charging case battery; and / or The controller is further configured to determine whether the charging and power supply unit can work in an output voltage state according to the size relationship between the voltage output by the charging case battery and the effective output voltage of the charging case battery, and when the charging and power supply unit can work in the output voltage state and needs to perform power supply, the controller is further configured to determine whether the charging and power supply unit performs step-down power supply or step-up power supply according to the size relationship between the voltage output by the charging case battery and the required working voltage output by the voltage output end.
7. The charging case circuit of claim 6, wherein, The charging and power supply unit has at least one of a step-down charging mode, a step-up charging mode, a step-down power supply mode, a step-up power supply mode, a step-down charging-step-down power supply mode, a step-up charging-step-up power supply mode, a step-down charging-step-up power supply mode, and a step-up charging-step-down power supply mode; When the voltage input by the voltage input end is greater than the set value, the controller determines that the charging and power supply unit can work in the charging state, wherein: when the voltage input by the voltage input end is less than the voltage of the charging case battery, the controller controls the on and off of the plurality of switching devices to make the charging and power supply unit work in the step-up charging mode, and the charging and power supply unit forms a step-up switching charging circuit; when the voltage input by the voltage input end is greater than the voltage of the charging case battery, the controller controls the on and off of the plurality of switching devices to make the charging and power supply unit work in the step-down charging mode, and the charging and power supply unit forms a step-down switching charging circuit; When the voltage output by the charging case battery is greater than the effective output voltage of the charging case battery, the controller determines that the charging and power supply unit can work in an output voltage state, wherein: when the voltage output by the charging case battery is less than the required working voltage output by the voltage output end, the controller controls the conduction and disconnection of the plurality of switching devices to make the charging and power supply unit work in the boost power supply mode, and the charging and power supply unit forms a boost type switching power supply circuit; when the voltage output by the charging case battery is greater than the required working voltage output by the voltage output end, the controller controls the conduction and disconnection of the plurality of switching devices to make the charging and power supply unit work in the buck power supply mode, and the charging and power supply unit forms a buck type switching power supply circuit; When the charging and power supply unit can work in the charging state and the output voltage state, the charging and power supply unit includes at least one of the following cases: When the voltage input by the voltage input end is less than the voltage of the charging case battery and the voltage output by the charging case battery is less than the required working voltage output by the voltage output end, the controller controls the conduction and disconnection of the plurality of switching devices to make the charging and power supply unit work in the boost charging-boost power supply mode, and the charging and power supply unit alternately forms the boost type switching charging circuit and the boost type switching power supply circuit; When the voltage input by the voltage input end is less than the voltage of the charging case battery and the voltage output by the charging case battery is greater than the required working voltage output by the voltage output end, the controller controls the conduction and disconnection of the plurality of switching devices to make the charging and power supply unit work in the boost charging-buck power supply mode, and the charging and power supply unit alternately forms the boost type switching charging circuit and the buck type switching power supply circuit; When the voltage input by the voltage input end is greater than the voltage of the charging case battery and the voltage output by the charging case battery is less than the required working voltage output by the voltage output end, the controller controls the conduction and disconnection of the plurality of switching devices to make the charging and power supply unit work in the buck charging-boost power supply mode, and the charging and power supply unit alternately forms the buck type switching charging circuit and the boost type switching power supply circuit; When the voltage input by the voltage input end is greater than the voltage of the charging case battery and the voltage output by the charging case battery is greater than the required working voltage output by the voltage output end, the controller controls the conduction and disconnection of the plurality of switching devices to make the charging and power supply unit work in the buck charging-buck power supply mode, and the charging and power supply unit alternately forms the buck type switching charging circuit and the buck type switching power supply circuit.
8. The charging case circuit of any one of claims 1-7, wherein, The controller is further configured to sample the charging current and control the duty cycle of the on and off of the plurality of switching devices according to the sampled charging current to achieve constant current charging control; the controller is further configured to sample the charging voltage and control the duty cycle of the on and off of the plurality of switching devices according to the sampled charging voltage to achieve constant voltage charging control; the controller is further configured to sample the supply voltage and control the supply voltage by controlling the duty cycle of the on and off of the plurality of switching devices according to the sampled supply voltage; and / or, The at least one voltage output includes a first voltage output and a second voltage output; when supplying power, the controller controls the charging and power supply unit to generate a supply voltage based on the voltage output by the battery of the charging case and the inductor, and alternately output through the first voltage output and the second voltage output; a first output capacitor is arranged in series between the first voltage output and the ground; a second output capacitor is arranged in series between the second voltage output and the ground.
9. A charging case characterized by, The charging case circuit according to any one of claims 1-8.
10. A wireless earphone assembly, comprising: Including: The wireless earphone has a voltage connection end and a second ground end, and includes an earphone battery and a communication unit; The charging case of claim 9, wherein, when charging, the first ground terminal of the charging case is coupled with the second ground terminal, and the voltage output terminal of the charging case is coupled with the voltage connection terminal, such that the voltage connection terminal is capable of receiving an output voltage outputted by the voltage output terminal, wherein: The output voltage can charge the earphone battery and / or the communication unit can obtain data information according to the output voltage.
Citation Information
Patent Citations
Mobile power supply
CN102957191A
Charge-discharge management circuit and portable equipment
CN105871031A