CN114172218B - Electronic equipment, charging device, control method and communication system - Google Patents
Electronic equipment, charging device, control method and communication system Download PDFInfo
- Publication number
- CN114172218B CN114172218B CN202010949144.7A CN202010949144A CN114172218B CN 114172218 B CN114172218 B CN 114172218B CN 202010949144 A CN202010949144 A CN 202010949144A CN 114172218 B CN114172218 B CN 114172218B
- Authority
- CN
- China
- Prior art keywords
- charging
- battery
- voltage
- path
- impedance
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 115
- 238000000034 method Methods 0.000 title claims abstract description 89
- 239000000446 fuel Substances 0.000 claims abstract description 21
- 230000001276 controlling effect Effects 0.000 claims description 23
- 238000001514 detection method Methods 0.000 claims description 10
- 230000001105 regulatory effect Effects 0.000 claims description 10
- 230000005611 electricity Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 3
- 238000003860 storage Methods 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 description 74
- 230000000694 effects Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 14
- 101100484930 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) VPS41 gene Proteins 0.000 description 10
- 230000002159 abnormal effect Effects 0.000 description 6
- 230000002238 attenuated effect Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 5
- 230000007797 corrosion Effects 0.000 description 5
- 238000005260 corrosion Methods 0.000 description 5
- 239000000126 substance Substances 0.000 description 5
- 238000004140 cleaning Methods 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 239000011324 bead Substances 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003647 oxidation Effects 0.000 description 1
- 238000007254 oxidation reaction Methods 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0029—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
- H02J7/0036—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R27/00—Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
- G01R27/02—Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
- G01R27/08—Measuring resistance by measuring both voltage and current
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/18—Status alarms
- G08B21/24—Reminder alarms, e.g. anti-loss alarms
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0029—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
The embodiment of the application provides electronic equipment, a charging device, a control method and a communication system, and relates to the technical field of charging. The first charging circuit in the electronic device is used for converting a first input voltage output by the charging path into a first battery voltage of the first battery and providing a charging current for the first battery. The fuel gauge is used for collecting charging current. The earphone micro-control unit is used for obtaining the path impedance R of the charging path. The first MCU is also used for controlling the charging current Ichg to meet Ichg > I1 when R is less than or equal to R1. When R1 is less than R2 and less than or equal to R2, the charging current Ichg is controlled to meet Ichg & gtI 1, and a warning instruction is output. When R2 is more than R and less than or equal to R3, the first charging circuit is controlled to meet Ichg and less than or equal to I1, and a warning instruction is output.
Description
Technical Field
The present disclosure relates to the field of charging technologies, and in particular, to an electronic device, a charging device, a control method, and a communication system.
Background
The real wireless surround sound (true wireless stere) earphone can communicate with the mobile device (such as a mobile phone) in a wireless mode, so that the user experience is improved. The TW headset may include a charging box and a pair of wireless headsets. The wireless earphone is placed in the charging box, and a terminal (pogo pin) on the wireless earphone is contacted with the terminal in the charging box, so that a battery in the charging box charges the wireless earphone through the terminal.
The wireless earphone and the charging box are provided with an impedance on a charging passage, and the impedance mainly comprises a terminal of the wireless earphone, a magnetic bead, a terminal of the charging box and the impedance on the circuit boards of the wireless earphone and the charging box. However, when the user uses the TW earphone, the impedance of the charging box and the wireless earphone increases due to foreign matters, oxidation corrosion, and other factors, and the impedance value is difficult to estimate. In this case, when the impedance on the charging path increases, a large voltage drop and heat loss are generated on the charging path. This can result in the wireless headset receiving a voltage that is too small to implement the charging process. And, heat loss on the charging path may cause severe heating of the charging cartridge and the wireless headset housing.
Disclosure of Invention
The embodiment of the application provides electronic equipment, a charging device, a control method and a communication system, which are used for detecting impedance on a charging path of the electronic equipment and the charging device and reminding a user of cleaning foreign matters.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in one aspect of the embodiments of the present application, an electronic device is provided. The electronic device and the charging device form a charging path. The electronic device includes a first battery, a first charging circuit, an electricity meter, and a micro-controller unit (MCU). The first charging circuit is used for converting a first input voltage Vbus output by the charging path into a first battery voltage Vbat of the first battery and providing a charging current Ichg for the first battery. The fuel gauge is electrically connected between the first battery and the first charging circuit and is used for collecting charging current Ichg and transmitting the charging current Ichg provided by the first charging circuit to the first battery. The earphone micro control unit MCU is electrically connected with the first charging circuit and the fuel gauge and is used for collecting a first input voltage Vbus and obtaining a path impedance R of a charging path according to the first input voltage Vbus and a charging current Ichg. In addition, the first MCU is further configured to compare the path impedance R with the first impedance threshold R1, the second impedance threshold R2, and the third impedance threshold R3, so as to detect the path impedance R, and adjust the charging current Ichg according to the detection result. The first MCU adjusts the charging current Ichg according to the detection result, and is specifically used for: when R is less than or equal to R1, or the charging current Ichg and the first current threshold I1 are controlled to meet the following conditions: ichg > I1. When R1 is less than R and less than or equal to R2, the charging current Ichg is controlled to meet the following conditions: ichg > I1, and outputs an alarm instruction for indicating the existence of foreign matters in the charging path. Or when R2 is less than R and less than or equal to R3, the first charging circuit is controlled to meet the following conditions: ichg is less than or equal to I1, and outputs a warning instruction which is used for indicating that foreign matters exist in the charging passage.
In summary, the electronic device provided in the embodiment of the present application may obtain the magnitude of the path impedance R of the charging path, and compare the path impedance R with the first impedance threshold R1, the second impedance threshold R2, and the third impedance threshold R3 in sequence, so as to determine the impedance range in which the path impedance R is located. In addition, the electronic device may control the magnitude of the charging current Ichg according to an impedance range in which the path impedance R is located. Thus, when the path impedance R is smaller, for example, R is less than or equal to R1, the charging current Ichg can be controlled to perform normal low-current slow charging or high-current fast charging on the first battery in the charging earphone. When the path impedance R is slightly increased, for example, R1 is less than R and less than or equal to R2, the charging current Ichg can be controlled to normally charge the first battery in the charging earphone, and an alarm instruction is sent. When the path impedance R is larger, for example R2 is less than R3, the charging current Ichg is reduced, so that Ichg is less than 1I, the heat loss on the charging path is prevented from being too large, and an alarm instruction is sent. Therefore, the phenomenon that the charging device and the electronic equipment are damaged due to larger heat loss can be avoided, and a user is reminded to timely clean foreign matters existing in the charging passage.
Optionally, the first impedance threshold R1 is an initial path impedance of the charging path, i.e. a path impedance when no foreign matter or chemical corrosion is present in the charging path. When R is less than or equal to R1, the electronic equipment can be normally charged. The second impedance threshold R2 provides the maximum output voltage vbb_max for the charging device, and the charging current Ichg is the maximum charging current Imax of the first battery, and the first battery voltage Vbat is the maximum battery voltage vbat_max of the first battery. When R is more than or equal to R2, the voltage drop of the charging path is increased, so that the first input voltage Vbus provided to the input end of the first charging circuit of the electronic equipment is too small after the maximum output voltage Vbb_max provided by the charging device passes through the charging path, and the requirement of the headroom voltage of the first charging circuit can not be met, and the charging capability of the first charging circuit is reduced. The third impedance threshold R3 provides the maximum output voltage vbb_max for the charging device, the charging current Ichg is the maximum charging current Imax of the first battery, and the path impedance of the charging path is lower when the first input voltage Vbus is lower than the minimum operating voltage Vmin of the first charging circuit. When R is larger than or equal to R3, the voltage drop of the charging path is larger, so that the first input voltage Vbus is lower than the minimum working voltage Vmin of the first charging circuit, and the first charging circuit cannot work.
Optionally, the first MCU is further specifically configured to: when R > R3 is judged, the charging current Ichg is controlled to satisfy the following conditions: ichg=i2, and outputs the warning instruction, where the warning instruction is used to indicate that a foreign object exists in the charging path. Wherein the second current threshold I2 and the first current threshold satisfy: i2 < I1. Thus, when R.gtoreq.R3, the charging impedance on the charging path may be increased drastically, so that the charging current Ichg may be further reduced in order to avoid a drastic increase in heat loss of the charging path.
Optionally, when R is less than or equal to R2, the first MCU is further configured to calculate a preset output voltage vbb_pre of the charging device, where the preset output voltage vbb_pre and a maximum output voltage vbb_max of the charging device satisfy: vbb_pre < vbb_max. In addition, the first MCU is also used for outputting a first voltage regulating instruction. The first voltage regulation command is used for instructing the charging device to provide a preset output voltage vbb_pre. In this way, when the preset output voltage vbb_pre provided by the charging device is smaller than the maximum output voltage vbb_max of the charging device, the voltage difference between the input end and the output end of the first charging circuit can be effectively reduced, the loss of the first charging circuit is reduced, and the charging efficiency is improved.
Optionally, the first MCU is further configured to calculate the preset output voltage vbb_pre of the charging device, and specifically configured to calculate the preset output voltage vbb_pre of the charging device according to the path voltage drop Vch of the charging path, the minimum operating voltage Vmin of the first charging circuit, the first battery voltage Vbat, and the headroom voltage Δv0 and the conduction voltage drop v_fet of the first charging circuit. The preset output voltage vbb_pre and the minimum operating voltage Vmin of the first charging circuit satisfy: vbb_pre > Vmin+Vch. And, the preset output voltage vbb_pre and the first battery voltage Vbat, the headroom voltage Δv0 of the first charging circuit and the conduction voltage drop v_fet satisfy: vbb_pre > vbat+Δv0+v_fet+vch; wherein, the headroom voltage Δv0, the first battery voltage Vbat, and the first supply voltage Vsys1 of the first MCU satisfy: deltaV0= |Vsys1-Vbat|. Therefore, when the voltage conversion circuit outputs the preset output voltage Vbb, the voltage difference between the input end and the output end of the first charging circuit can be effectively reduced while the first charging circuit can work normally, the loss of the first charging circuit is reduced, and the charging efficiency is improved.
Optionally, the first MCU is specifically configured to calculate a path voltage drop Vch of the charging path according to the path impedance R and the charging current Ichg acquired by the fuel gauge. Where vch=r×ichg. When the computing power of the first MCU is strong, the first MCU103 may calculate the path voltage drop Vch of the charging path according to the path impedance R obtained by the above method and the charging current Ichg measured in real time from the fuel gauge.
Optionally, the first MCU is specifically configured to calculate the path voltage drop Vch of the charging path according to the path impedance R and the maximum charging current Imax of the first battery. Where vch=r×imax. When the computing power of the first MCU is weak, the first MCU does not need to calculate the path voltage drop Vch of the charging path in real time, but calculates an estimated value of the path voltage drop as the path voltage drop Vch. For example, the first MCU may calculate an estimated value of the path voltage drop as the path voltage drop Vch according to the path impedance R obtained by the above method and the maximum charging current Imax of the first battery.
Optionally, when R > R2, the first MCU is further configured to output a second voltage regulation command, where the second voltage regulation command is configured to instruct the charging device to provide the maximum output voltage vbb_max. In this way, it is ensured that when the path impedance R of the charging path is large (R2 < r+.r3), the maximum output voltage vbb_max output by the voltage conversion circuit is reduced to the first input voltage Vbus after passing the path voltage drop Vch of the charging path, and the first input voltage Vbus may be larger than the minimum operating voltage Vmin of the first charging circuit.
Optionally, before the first MCU performs the step of detecting the path impedance R, the first MCU is further configured to receive and respond to a connection request from the charging device. The first MCU is specifically used for: the first charging circuit is controlled to be in a non-working state, and the first input voltage Vbus is collected and used as an initial voltage. The first charging circuit is controlled to be in an operating state, a first charging current Ichg1 is provided for the first battery, and a first input voltage Vbus is acquired. And obtaining the path impedance R, R= [ delta ] V1/Ichg1 of the charging path according to the first charging current Ichg1 acquired by the fuel gauge and the voltage difference [ delta ] V1 between the first input voltage Vbus acquired twice. Thus, the first MCU collects the first input voltage Vbus twice, and the charging current Ichg collected by the fuel gauge can calculate the path impedance R of the charging path.
Optionally, the fuel gauge is further configured to collect the temperature of the first battery and the first battery voltage Vbat. Before the first MCU performs the step of detecting the path impedance R, the first MCU is further configured to determine, according to the temperature of the first battery and the first battery voltage Vbat, whether the first battery meets a requirement of charging with a maximum charging current Imax of the first battery, and compare the path impedance R with a second impedance threshold R2. When the first battery meets the requirement of charging by using the maximum charging current Imax of the first battery and R is less than or equal to R2, the first MCU controls the first charging circuit to provide the second charging current Ichg2 for the first battery according to the maximum charging current Imax, and is specifically used for collecting the first input voltage Vbus again. The path impedance R of the charging path is calculated from the second charging current Ichg2 acquired by the fuel gauge and the voltage difference Δv2 between the initial voltage and the first input voltage Vbus acquired again. The value of the path impedance is updated as: r= Δv2/Ichg2. As a result, the second charging current Ichg2 approaches the maximum charging current Imax, and the value of the second charging current Ichg2 is large, so that the accuracy of the value of the path impedance R calculated from the second charging current Ichg2 is high. In this case, the value of the path impedance R calculated using the voltage difference Δv2 between the initial voltage V1 and the first input voltage Vbus acquired again, and the above-described second charging current Ichg2 is more accurate. Therefore, the accuracy of detection of the path impedance R can be improved, and the first battery can be ensured to be charged normally by 3C under the condition that the first battery is charged by 3C. Further, when the first battery does not meet the requirement of charging with the maximum charging current Imax of the first battery, the first MCU is configured to perform the step of detecting the path impedance R. When the electronic device does not need to be charged with a large current, the first acquired path impedance can be detected without refreshing the path impedance R.
Optionally, before the first MCU performs the step of detecting the path impedance R, the first MCU is further configured to compare the charging current Ichg with the first current threshold I1. When Ichg is judged to be less than I1, the first MCU is specifically used for controlling the first charging circuit to provide charging current Ichg for the first battery. At this time, the heat loss generated in the charging path is too small to be negligible, so that the path impedance does not need to be detected. When Ichg is more than or equal to I1, heat loss generated on the charging path is larger, and the first MCU is used for executing the step of detecting path impedance R.
Optionally, the first current threshold I1 is a current value when the first battery is charged with a 1C charging rate. Thus, when the path impedance R satisfies R > R2, the charging current Ichg is controlled so that Ichg < I1. Since I1 is a current value when the first battery is charged with 1C charging magnification. The charging current Ichg is thus smaller, so that in case the first charging circuit of the electronic device is insufficient in charging capability, heat loss in the charging path can be reduced.
Optionally, the second current threshold I2 is a current value when the first battery is charged with a 0.1C charging rate. Thus, when the path impedance R satisfies R > R3, the charging current Ichg is controlled so that Ichg < I2. Since I2 is a current value when the first battery is charged with 0.1C charging rate. Therefore, the charging current Ichg is very small, so that when the path impedance of the charging path increases sharply, heat loss in the charging path can be reduced, and the sharp increase in heat loss is avoided.
Optionally, the electronic device further includes: a first resistor and a second resistor connected in series. One end of the first resistor, which is far away from the second resistor, is electrically connected with the first charging circuit, and one end of the first resistor, which is close to the second resistor, is electrically connected with the first MCU. One end of the second resistor far away from the first resistor is grounded. Therefore, by setting the resistance values of the first resistor and the second resistor, the voltage collected by the first MCU can meet the working requirement of the first MCU under the voltage division effect of the first resistor.
Optionally, the electronic device is a wireless earphone. The electronic device further includes a first ground terminal, a first multiplexing terminal, and a first switch. The first ground terminal is used for grounding. The first multiplexing terminal is used for receiving a communication signal when the electronic device is in a communication mode, and receiving a first input voltage Vbus when the electronic device is in a charging mode. The first change-over switch is electrically connected with the first multiplexing terminal, the first charging circuit and the first MCU, and is used for electrically connecting the first multiplexing terminal with the first MCU when the electronic equipment is in a communication mode and electrically connecting the first multiplexing terminal with the first charging circuit when the electronic equipment is in a charging mode. In this way, the first multiplexing terminal can be used both for transmitting the voltage for charging and for transmitting the communication information between the charging device and the electronic device.
Optionally, the electronic device is a wireless earphone. The electronic device further includes a first ground terminal, a first communication terminal, and a first charging terminal. The first ground terminal is used for grounding. The first communication terminal is electrically connected with the first MCU and is used for transmitting communication signals with the first MCU. The first charging terminal is electrically connected with the first charging circuit for transmitting the first input voltage Vbus to the first charging circuit. In this case, the voltage for charging and the communication information may be transmitted through different terminals, respectively.
Other embodiments of the present application provide a control method of an electronic device, including: first, a first input voltage Vbus of the electronic device, a charging current Ichg, and a path impedance R of a charging path formed between the charging apparatus and the electronic device are acquired according to the first input voltage Vbus and the charging current Ichg. Comparing the path impedance R with a first impedance threshold R1, and controlling the charging current Ichg to meet the first current threshold I1 when R is less than or equal to R1: ichg > I1. Or, comparing the path impedance R with a second impedance threshold R2, and controlling the charging current Ichg to satisfy the condition that R1 is less than or equal to R2: ichg > I1, and outputs an alarm instruction for indicating the existence of foreign matters in the charging path. Or, comparing the path impedance R with a third impedance threshold R3, and controlling the charging current to meet the condition that R2 is less than or equal to R3: ichg is less than or equal to I1, and outputs a warning instruction which is used for indicating that foreign matters exist in the charging passage. The control method of the electronic device has the same technical effects as those of the electronic device provided in the foregoing embodiment, and will not be described herein again.
Optionally, the first impedance threshold R1 is an initial path impedance of the charging path. The second impedance threshold R2 provides the maximum output voltage vbb_max for the charging device, the charging current Ichg is the maximum charging current Imax of the first battery, and the maximum path impedance of the charging path when the maximum battery voltage vbat_max is applied to the first battery. The third impedance threshold R3 provides the maximum output voltage vbb_max for the charging device, the charging current Ichg is the maximum charging current Imax of the first battery, and the path impedance of the charging path is lower when the first input voltage Vbus is lower than the minimum operating voltage Vmin of the first charging circuit. The technical effects of the first impedance threshold R1, the second impedance threshold R2, and the third impedance threshold R3 are the same as those described above, and are not repeated here.
Optionally, the method further comprises comparing the path impedance R with a third impedance threshold R3, and when R > R3, controlling the charging current Ichg to satisfy: ichg=i2, and outputting an alarm instruction, wherein the alarm instruction is used for indicating that foreign matters exist in the charging path; wherein the second current threshold I2 and the first current threshold satisfy: i2 < I1. The technical effects of comparing the path impedance R with the third impedance threshold R3 are the same as those described above, and will not be repeated here.
Optionally, the electronic device includes a first charging circuit, and when R is less than or equal to R2, the method further includes: first, a preset output voltage vbb_pre of the charging device may be calculated, and the preset output voltage vbb_pre and a maximum output voltage vbb_max of the charging device may satisfy: vbb_pre < vbb_max. Then, a first voltage regulation command is output, wherein the first voltage regulation command is used for instructing the charging device to provide a preset output voltage Vbb_pre. The technical effects of adjusting the preset output voltage vbb_pre provided to the charging device are the same as those described above, and will not be repeated here.
Optionally, the method for calculating the preset output voltage vbb_pre of the charging device includes: the preset output voltage vbb_pre of the charging device is calculated according to the path voltage drop Vch of the charging path, the minimum operating voltage Vmin of the first charging circuit, the first battery voltage Vbat, the headroom voltage Δv0 of the first charging circuit, and the turn-on voltage drop v_fet. The preset output voltage vbb_pre and the minimum operating voltage Vmin of the first charging circuit satisfy: vbb_pre > Vmin+Vch. And, the preset output voltage vbb_pre and the first battery voltage Vbat, and the headroom voltage Δv0 and the conduction voltage drop v_fet of the first charging circuit satisfy: vbb_pre > vbat+Δv0+v_fet+vch; wherein, the headroom voltage Δv0, the first battery voltage Vbat, and the first supply voltage Vsys1 of the first MCU satisfy: deltaV0= |Vsys1-Vbat|. The technical effects of adjusting the output voltage Vbb provided by the charging device are the same as those described above, and will not be repeated here.
Optionally, the method further includes calculating a path voltage drop Vch of the charging path according to the path impedance R and the charging current Ichg. Where vch=r×ichg. The technical effects of the way Vch are the same as those described above, and will not be repeated here.
Optionally, the electronic device further includes a first battery, and the method further includes calculating a path voltage drop Vch of the charging path according to the path impedance R and a maximum charging current Imax of the first battery. Where vch=r×imax. The technical effects of the way Vch are the same as those described above, and will not be repeated here.
Optionally, when R > R2, the method further includes outputting a second voltage regulation command, where the second voltage regulation command is used to instruct the charging device to provide the maximum output voltage vbb_max. The technical effects of instructing the charging device to provide the maximum output voltage vbb_max are the same as those described above, and will not be repeated here.
Optionally, the electronic device further includes a first charging circuit, and before comparing the path impedance R with the first impedance threshold R1, the method further includes: and receiving, responding to the connection request from the charging device and sending a charging request. Calculating a path impedance R of a charging path formed between the charging device and the electronic apparatus includes: the first charging circuit is controlled to be in a non-working state, and the first input voltage Vbus is collected and used as an initial voltage. The first charging circuit is controlled to be in an operating state, outputs a first charging current Ichg1, and collects a first input voltage Vbus. Based on the first charging current Ichg1 and the voltage difference Δv1 between the two acquired first input voltages Vbus, a path impedance R, r= Δv1/Ichg1 of the charging path is obtained. The technical effects of the first MCU in calculating the path impedance R are the same as those described above, and will not be repeated here.
Optionally, the electronic device further comprises a first battery electrically connected to the first charging circuit. The method further comprises acquiring a temperature of the first battery and a first battery voltage Vbat before comparing the path impedance R with the first impedance threshold R1. Then, according to the temperature of the first battery and the first battery voltage Vbat, it is determined whether the first battery satisfies the requirement of charging with the maximum charging current Imax of the first battery, and the path impedance R is compared with the second impedance threshold R2. When the first battery meets the requirement of charging by using the maximum charging current Imax of the first battery and R is less than or equal to R2, controlling a first charging circuit to provide a second charging current Ichg2 for the first battery according to the maximum charging current Imax, and collecting the first input voltage Vbus again to update the first input voltage Vbus; calculating the path impedance R of the charging path according to the second charging current Ichg2 and the voltage difference DeltaV 2 between the initial voltage and the first input voltage Vbus acquired again; the value of the path impedance is updated as: r= Δv2/Ichg2. The technical effects of the first MCU refresh path impedance R are the same as those described above, and will not be repeated here. Further, when the first battery does not meet the requirement of charging with the maximum charging current Imax of the first battery, a step of comparing the path impedance R with the first impedance threshold R1 is performed.
Optionally, the electronic device further includes a first battery electrically connected to the first charging circuit, and before comparing the path impedance R with the first impedance threshold R1, the method further includes comparing the charging current Ichg with the first current threshold I1, and when Ichg < I1, controlling the first charging circuit to provide the charging current Ichg to the first battery. When Ichg is greater than or equal to I1, a comparison step of the path impedance R with a first impedance threshold R1 is performed. The technical effects of controlling the charging current Ichg are the same as those described above, and will not be described again here.
Optionally, the first current threshold I1 is a current value when the first battery is charged with a 1C charging rate. The technical effects of the first current threshold I1 are the same as those described above, and will not be repeated here.
Optionally, the second current threshold I2 is a current value when the first battery is charged with a 0.1C charging rate. The technical effects of the second current threshold I2 are the same as those described above, and will not be repeated here.
In another aspect of the embodiments of the present application, a charging device is provided, including a second battery, a battery case MCU, a second charging circuit, and at least one voltage conversion circuit. The second MCU is used for receiving the first voltage regulating instruction and generating a voltage control signal according to the first voltage regulating instruction. The second charging circuit is electrically connected with the second battery and the second MCU, and is used for supplying power to the second MCU and converting the second input voltage provided by the adapter into the second battery voltage of the second battery under the control of the second MCU. Each voltage conversion circuit is electrically connected with the second charging circuit and the second MCU and is used for converting the second battery voltage into an output voltage Vbb under the action of a voltage control signal, and the output voltage Vbb is used for being provided to the electronic equipment. In this way, the output voltage Vbb output by the voltage conversion circuit is regulated, so that the value of the output voltage Vbb output by the voltage conversion circuit can ensure that the first charging circuit can work normally, and the output voltage Vbb is smaller than the maximum output voltage vbb_max of the charging device while the effective charging capability is provided, thereby effectively reducing the voltage difference between the input end and the output end of the first charging circuit, reducing the loss of the first charging circuit and improving the charging efficiency.
Optionally, the charging device is a charging box for accommodating a wireless earphone. The at least one voltage conversion circuit comprises a left channel voltage conversion circuit and a right channel voltage conversion circuit; the charging device further comprises at least one second grounding terminal, a left-channel second communication terminal, a right-channel second communication terminal, a left-channel second charging terminal and a right-channel second charging terminal. The second grounding terminal is used for grounding. The left channel second communication terminal is electrically connected with the second MCU and is used for transmitting left channel communication signals with the second MCU. The right channel second communication terminal is electrically connected with the second MCU and is used for transmitting a right channel communication signal with the second MCU. The left channel second charging terminal is electrically connected to the left channel voltage conversion circuit for providing the output voltage Vbb to the left channel electronics. The right channel second charging terminal is electrically connected to the right channel voltage conversion circuit for providing the output voltage Vbb to the right channel electronics. In this case, the voltage for charging and the communication information may be transmitted through different terminals, respectively.
Optionally, the charging device comprises a buzzer. The second MCU is electrically connected with the buzzer, and is also used for receiving an alarm instruction from the electronic equipment and controlling the buzzer to sound according to the alarm instruction. Therefore, the buzzer sounds, so that a user can be reminded of timely cleaning foreign matters in the charging path.
Optionally, the charging device comprises a light emitting device. The second MCU is electrically connected with the light-emitting device, and is also used for receiving an alarm instruction from the electronic equipment and controlling the light-emitting device to emit light according to the alarm instruction. Therefore, the light-emitting device emits light, so that a user can be reminded of timely cleaning foreign matters in the charging path.
In another aspect of the embodiments of the present application, a method for controlling a charging device is provided. The charging device includes a second battery. The control method comprises the following steps: first, a second input voltage provided by the adapter is converted into a second battery voltage of the second battery. And receiving the first voltage regulating instruction and generating a voltage control signal according to the first voltage regulating instruction. The second battery voltage is converted into an output voltage Vbb under the influence of the voltage control signal, the output voltage Vbb being for provision to an electronic device. The control method of the charging device has the same technical effects as the charging device provided in the foregoing embodiment, and will not be described herein.
Optionally, before receiving the first voltage regulation command and generating the voltage control signal according to the first voltage regulation command, the method further includes: the in-place status of the electronic device is detected. And sending a connection request and receiving a response signal of the connection request. The charging request is received, and the maximum output voltage vbb_max is output. The technical effects of outputting the maximum output voltage vbb_max are the same as those described above, and will not be repeated here.
In another aspect of the embodiments of the present application, a communication system is provided, including any one of the electronic devices described above, and any one of the charging devices described above. The electronic equipment is positioned in the charging device and is electrically connected with the charging device. The communication system has the same technical effects as those of the electronic device and the charging device provided in the foregoing embodiment, and will not be described herein.
Optionally, the communication system further comprises a display terminal. The display terminal is in wireless connection with the electronic equipment and is used for receiving the warning instruction from the electronic equipment and displaying the warning popup window image according to the warning instruction. The display terminal can remind a user of timely cleaning foreign matters in the charging path by displaying the warning popup window image.
Drawings
Fig. 1A is a schematic structural diagram of a communication system according to an embodiment of the present application;
fig. 1B is a schematic structural diagram of another communication system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of another communication system according to an embodiment of the present application;
fig. 3A is a schematic structural diagram of another communication system according to an embodiment of the present application;
fig. 3B is a schematic structural diagram of another communication system according to an embodiment of the present application;
Fig. 4A is a schematic structural diagram of another communication system according to an embodiment of the present application;
fig. 4B is a schematic structural diagram of an electronic device having a voltage dividing resistor in a communication system according to an embodiment of the present application;
fig. 4C is a schematic diagram of another structure of the electronic device with a voltage dividing resistor in the communication system according to the embodiment of the present application;
fig. 5 is a schematic structural diagram of an electrical connection between a charging device and an electronic device through a charging path according to an embodiment of the present application;
fig. 6 is a flowchart of a control method of a communication system according to an embodiment of the present application;
fig. 7 is a flowchart of a control method of a charging device according to an embodiment of the present application;
fig. 8 is a flowchart of another control method of a charging device according to an embodiment of the present application;
fig. 9 is a schematic diagram of a display terminal according to an embodiment of the present application;
fig. 10 is another schematic diagram of a display terminal according to an embodiment of the present disclosure;
fig. 11 is another schematic diagram of a display terminal according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of another communication system according to an embodiment of the present application;
Fig. 13 is a schematic diagram of another structure in which a charging device and an electronic device provided in an embodiment of the present application are electrically connected through a charging path;
fig. 14 is a flowchart of another control method of the communication system according to the embodiment of the present application.
Reference numerals:
01-a communication system; 10-an electronic device; 10 a-left wireless headset; 10 b-right wireless headset; a 100-charging path; 20-a charging device; 101-a first battery; 102-a first charging circuit; 103-a first MCU; 104-a first change-over switch; 105-electricity meter; 201-a second battery; 202-a second charging circuit; 203-a second MCU; 204-a voltage side conversion circuit; 205-a second change-over switch; 30-an adapter; 11-a first ground terminal; 12-a first multiplexing terminal; 21-a second ground terminal; 22-a second multiplexing terminal; 13-a first communication terminal; 14-a first charging terminal; 23-a second communication terminal; 24-a second charging terminal; 106, a voltage dividing module; 50-a buzzer; 51-a light emitting device; 60-displaying a terminal; 113-a processor.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments.
Hereinafter, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", etc. may explicitly or implicitly include one or more such feature.
In the present application, unless explicitly specified and limited otherwise, the term "coupled" is to be construed broadly, and for example, "coupled" may be either fixedly coupled, detachably coupled, or integrally formed; can be directly connected or indirectly connected through an intermediate medium. Furthermore, the term "electrically connected" may be a direct electrical connection or an indirect electrical connection via an intermediary.
The embodiment of the present application provides a communication system 01, where the communication system 01 may include an electronic device 10 and a charging device 20 as shown in fig. 1A. The electronic device includes devices with wireless charging functions, such as a wireless earphone, a mobile phone (mobile phone), a tablet computer (pad), an intelligent wearable product (e.g., a smart watch, a smart bracelet), a Virtual Reality (VR) terminal device, an augmented reality (augmented reality AR) terminal device, and the like. The embodiment of the application does not particularly limit the specific form of the electronic device. For example, when the electronic device 10 is a wireless headset, the charging apparatus 20 may charge a case for the headset. Alternatively, when the electronic device 10 is a smart watch, the charging apparatus 20 may be a watch charging box or a watch charging cradle. For convenience of explanation, the electronic device 10 is taken as a wireless earphone, and the charging device 20 is taken as a charging box.
In this case, a bin (not shown in the drawing) for accommodating the electronic device 10 (e.g., wireless headset) is provided in the charging apparatus 20, and the electronic device 10 may be embedded in the bin to be electrically connected with the charging apparatus 20, so that the charging apparatus 20 may charge the electronic device 10.
In some embodiments of the present application, the electronic device 10 may include a first battery 101, a first charging circuit (charger) 102, and a first MCU103. The first charging circuit 102 is electrically connected to the first battery 101 and the first MCU103. The input terminal a2 of the first charging circuit 102 may receive a first input voltage Vbus, and the first charging circuit 102 may be capable of powering the first MCU103, converting the first input voltage Vbus into a first battery voltage Vbat of the first battery 101 and providing a charging current Ichg to the first battery 101 under the control of the first MCU103, thereby charging the first battery 101.
In order to enable the first charging circuit 102 of the electronic device 10 to receive the first input voltage Vbus, as shown in fig. 1B, the charging apparatus 20 electrically connected to the electronic device 10 may include a second battery 201, a second charging circuit 202, a second MCU203, and at least one voltage conversion circuit 204.
In the charging device 20, the second charging circuit 202 may be electrically connected to the second battery 201, the adapter 30, and the second MCU 203. The adapter 30 is used to provide charging power. The adapter 30 can convert 220V ac power into dc power Vd according to the charging power requirement, and transmit the dc power Vd to the second charging circuit 202 of the charging device 20. The second charging circuit 202 may include a buck (buck) circuit for powering the second MCU 203. In addition, the second charging circuit 202 may also convert the direct current Vd supplied from the adapter 30 into the second battery voltage Vb of the second battery 201 under the control of the second MCU203 to charge the second battery 201.
Further, the voltage conversion circuit 204 in the above-described charging device 20 is electrically connected to the second charging circuit 202 and the second MCU 203. The voltage conversion circuit 204 may be configured to convert the second battery voltage Vb into the output voltage Vbb under the action of the second MCU 203. Wherein the output voltage Vbb from the voltage conversion circuit 204 is used for being provided to the electronic device 10 for charging the electronic device 10.
In some embodiments of the present application, in order to achieve the electrical connection between the charging device 20 and the electronic device 10, when the electronic device 10 is a wireless earphone, as shown in fig. 1A, the electronic device 10 may include a first ground terminal 11, a first multiplexing terminal 12, and a first switch 104. When the charging device 20 is a charging box for charging a wireless headset, the charging device 20 may include a second ground terminal 21, a second multiplexing terminal 22, and a second switch 205. For example, the first ground terminal 11, the first multiplexing terminal 12, the second ground terminal 21, and the second multiplexing terminal 22 may be pogo pins.
Wherein the first ground terminal 11 and the second ground terminal 21 are used for grounding. The first switch 104 is electrically connected to the first multiplexing terminal 12, the first charging circuit 102, and the first MCU 103. The second changeover switch 205 is electrically connected to the second multiplexing terminal 22 and the voltage conversion circuit 204 via the second MCU 203. The first switch 104 is configured to electrically connect the first multiplexing terminal 12 with the first MCU103 when the electronic device 10 is in the communication mode. The second switch 205 is used to electrically connect the second multiplexing terminal 22 with the second MCU203 when the charging device 20 is in the communication mode.
In this case, when the second multiplexing terminal 22 and the first multiplexing terminal 12 are in contact, transmission of a communication signal between the second MCU203 and the first MCU103 may be achieved through the second multiplexing terminal 22 and the first multiplexing terminal 12. For example, the second multiplexing terminal 22 transmits a communication signal to the first multiplexing terminal 12 when the charging device 20 is in the communication mode, and the first multiplexing terminal 12 is configured to receive the communication signal transmitted by the second multiplexing terminal 22 when the electronic device 10 is in the communication mode. Conversely, the first multiplexing terminal 12 is configured to send a communication signal to the second multiplexing terminal 22 when the electronic device 10 is in the communication mode, and the second multiplexing terminal 22 receives the communication signal sent by the second multiplexing terminal 22 when the charging device 20 is in the communication mode.
In addition, when the second multiplexing terminal 22 is in contact with the first multiplexing terminal 12 and both the charging device 20 and the electronic apparatus 10 are in the charging mode, the charging device 20 and the electronic apparatus 10 may form a charging path 100 as shown in fig. 1A during charging, a start end a1 of the charging path 100 is an output end of the voltage conversion circuit 204 in the charging device 20, and an end of the charging path 100 is an input end a2 of the first charging circuit 102 in the electronic apparatus 10. The charge path 100 has a path impedance R. The path impedance R may include the impedance at the first ground terminal 11, the first multiplexing terminal 12, the second ground terminal 21, the second multiplexing terminal 22, the impedance at a magnetic bead (not shown in the figure) electrically connected to the above terminals, and the impedance at the charging device 20 and a circuit board in the electronic apparatus 10.
The output voltage Vbb provided at the output terminal of the voltage conversion circuit 204 in the charging device 20 passes through the charging path 100 and is attenuated to the first input voltage Vbus by the attenuation action of the path impedance R. The first input voltage Vbus is received at the input of the first charging circuit 102 via the charging path 100. When the charging path 100 has the charging current Ichg, the path voltage drop Vch of the charging path 100, the path impedance R, and the charging current Ichg of the first battery 101 in the electronic device 10 satisfy: vch=ichg×r. Thus, vbb-vch=vbus.
Based on this, as shown in fig. 1A, when the electronic device 10 is in the charging mode, the first changeover switch 104 is used to electrically connect the first multiplexing terminal 12 with the first charging circuit 102. The second switch 205 is configured to electrically connect the second multiplexing terminal 22 to the voltage conversion circuit 204 when the charging device 20 is in the charging mode.
In this case, the output voltage Vbb provided at the output terminal of the voltage conversion circuit 204 may be attenuated to the first input voltage Vbus by the second multiplexing terminal 22 and the first multiplexing terminal 12, and provided to the input terminal of the first charging circuit 102. So that the first charging circuit 102 can be caused to convert the above-described first input voltage Vbus into the first battery voltage Vbat to charge the first battery 101.
The first switch 104 and the second switch 205 may be double pole double throw switches, or single pole double throw switches. In addition, fig. 1A is a description taking an example in which the charging device 20 is electrically connected to one electronic device 10, and when the communication system 01 has two electronic devices, namely, the left wireless earphone 10a and the right wireless earphone 10B shown in fig. 1B, the structure of any one of the left wireless earphone 10a and the right wireless earphone 10B is the same as that of the electronic device 10 shown in fig. 1A, and the description thereof will be omitted.
In other embodiments of the present application, in order to enable the voltage signal and the communication signal between the electronic device 10 and the charging device 20 to be transmitted through the first multiplexing terminal 12 and the second multiplexing terminal 22, as shown in fig. 2, a carrier communication module 206 electrically connected to the second MCU203 and the voltage conversion circuit 204 is disposed in the charging device 20. The carrier communication module 206 may be configured by carrier technology such that a voltage signal (represented by a square wave in fig. 2) and a communication signal (represented by a dashed line superimposed with the square wave in fig. 2) may be simultaneously transmitted to the first multiplexing terminal 12 in the electronic device 10 via the second multiplexing terminal 22. Based on this, when the communication system includes two electronic devices (for example, the left wireless earphone 10a and the right wireless earphone 10b described above), the structure of any one of the electronic devices and the connection manner with the charging device 20 are the same, and will not be described again here.
In the above description taking the transmission of the voltage signal and the communication signal between the electronic device 10 and the charging device 20 through the first multiplexing terminal 12 and the second multiplexing terminal 22 as an example, in other embodiments of the present application, as shown in fig. 3A, when the electronic device 10 is a wireless earphone, the electronic device 10 further includes the first grounding terminal 11, the first communication terminal 13, and the first charging terminal 14. When the charging device 20 is a charging cartridge, the charging device 20 may include a second ground terminal 21, a second communication terminal 23, and a second charging terminal 24. As mentioned above, the plurality of terminals may be pogo pins.
In this case, the first communication terminal 13 is electrically connected to the first MCU103, and the second communication terminal 23 is electrically connected to the second MCU 203. When the first communication terminal 13 and the second communication terminal 23 are in contact, and the charging device 20 and the electronic apparatus 10 are both in the charging mode, transmission of communication signals between the second MCU203 and the first MCU103 can be achieved through the first communication terminal 13 and the second communication terminal 23.
The first charging terminal 14 is electrically connected to the first charging circuit 102, and the second charging terminal 24 is electrically connected to the voltage conversion circuit 204. When the first charging terminal 14 and the second charging terminal 24 are in contact, and the charging device 20 and the electronic apparatus 10 are both in the charging mode, the output voltage Vbb provided at the output end of the voltage conversion circuit 204 may be attenuated to the first input voltage Vbus after passing through the first charging terminal 14 and the second charging terminal 24, and is provided to the input end of the first charging circuit 102.
Fig. 3A is an illustration of an example in which the charging device 20 is electrically connected to one electronic apparatus 10. In other embodiments of the present application, when the communication system 01 has two electronic devices, i.e., the left wireless earphone 10a and the right wireless earphone 10B shown in fig. 3B, the structure of any one of the left wireless earphone 10a and the right wireless earphone 10B is the same as the structure of the electronic device 10 shown in fig. 3A. Further, the charging device 20 may include two voltage conversion circuits, namely, a left channel voltage conversion circuit 204a and a right channel voltage conversion circuit 204b.
In this case, the charging device 20 may further include a left channel second communication terminal 23a, a left channel second charging terminal 24a, a right channel second communication terminal 23b, and a right channel second charging terminal 24b. The left channel second communication terminal 23a is configured to contact the first communication terminal 13 of the left wireless earphone 10a, so that a left channel communication signal can be transmitted between the second MCU203 and the first MCU103 of the left wireless earphone 10a through the left channel second communication terminal 23a and the first communication terminal 13 of the left wireless earphone 10 a. In addition, the left channel second charging terminal 24a is configured to contact the first charging terminal 14 of the left wireless earphone 10a, so that the output voltage Vbb provided by the output end of the left voltage conversion circuit 204a can be attenuated to the first input voltage Vbus after passing through the left channel second charging terminal 24a and the first charging terminal 14, and is provided to the input end of the first charging circuit 102.
Similarly, the right channel second communication terminal 23b is configured to contact the first communication terminal 13 of the right wireless earphone 10b, so that a right channel communication signal can be transmitted between the second MCU203 and the first MCU103 of the right wireless earphone 10b through the right channel second communication terminal 23b and the first communication terminal 13 of the right wireless earphone 10 b. In addition, the right-channel second charging terminal 24b is configured to contact the first charging terminal 14 of the right wireless earphone 10b, so that the output voltage Vbb provided by the output end of the right voltage conversion circuit 204b may be attenuated to the first input voltage Vbus after passing through the right-channel second charging terminal 24b and the first charging terminal 14, and is provided to the input end of the first charging circuit 102.
The above description is given of the connection method between the charging device 20 and the electronic apparatus 10, and it is understood that the output voltage Vbb provided at the output terminal of the voltage conversion circuit 204 in the charging device 20 passes through the charging path 100 (as shown in fig. 3B) and is attenuated to the first input voltage Vbus by the attenuation of the path impedance R of the charging path 100. When foreign matters or chemical corrosion exist on the charging terminals, the communication terminals, or the multiplexing terminals of the charging device 20 and the electronic apparatus 10, the path impedance R of the charging path 100 is increased, so that the voltage drop Vch of the charging path 100 is large and a large heat loss is generated. When the voltage drop Vch of the charging path 100 is large, the first input voltage Vbus received by the first charging circuit 102 is too small, so that the first charging circuit 102 cannot work normally, and the electronic device 10 cannot realize charging. In addition, when the heat loss on the charging path 100 is too large, the charging device 20 and the electronic apparatus 10 may generate heat seriously, reducing the service life.
In order to solve the above-mentioned problem, the communication system 01 provided in the present application can detect the path impedance R of the charging path 100, so as to remind the user to clean up the sundries on the charging path 100, reduce the path impedance R, control the magnitude of the charging current Ichg input to the first battery 101 in the electronic device 10, and reduce the heat loss on the charging path 100. The specific configuration and control procedure of the electronic device 10 and the charging device 20 in the communication system 01 having the above-described functions are exemplified below.
Example one
In this example, as shown in fig. 4A, two electronic devices, a left wireless earphone 10a and a right wireless earphone 10b, are provided in the communication system 01. The charging device 20 is provided with two voltage conversion circuits, namely a left voltage conversion circuit 204a and a right voltage terminal conversion circuit 204b. The electrical connection manner of the left voltage converting circuit 204a and the right voltage converting circuit 204b with the left wireless earphone 10a and the right wireless earphone 10b is the same as that described above, and the detailed description is omitted herein.
Either one of the left wireless earphone 10a and the right wireless earphone 10b may further include an electricity meter 105. The fuel gauge 105 is electrically connected between the first battery 101 and the first charging circuit 102 such that the first charging circuit 102 may be indirectly electrically connected to the first battery 101 through the fuel gauge 105. The fuel gauge 105 is configured to collect battery state parameters of the first battery 101, which may include a temperature of the first battery 101, a first battery voltage Vbat provided by the first charging circuit 102 to the first battery 101, and a charging current Ichg.
In some embodiments of the present application, because of the small size of the wireless earphone, the space for the cloth is difficult to accommodate the battery with the battery protection board, so the first battery 101 may have only a battery core portion, and a protection integrated circuit (integrated circuit, IC) electrically connected to the first battery 101 is provided. The protection IC has the function of the battery protection board described above, but may have a small size with respect to the battery protection board.
In addition, the first MCU103 may be electrically connected to the input terminal a2 of the first charging circuit 102. In this case, the first MCU103 may collect the first input voltage Vbus of the input terminal a2 of the first charging circuit 102. In some embodiments of the present application, where an analog-to-digital converter (ADC) converter is provided within the first MCU103, the ADC port of the first MCU103 may be electrically connected to the input a2 of the first charging circuit 102. Thus, the ADC may collect the first input voltage Vbus and convert it into a digital signal.
In other embodiments of the present application, in order to enable the voltage input to the ADC to be within the operating voltage range of the ADC, to avoid that the voltage input to the ADC is too large, resulting in damage to the ADC, as shown in fig. 4B, at least one of the left wireless earphone 10a and the right wireless earphone 10B may further include a voltage division module 106. The voltage divider module 106 may include a first resistor R1 and a second resistor R2 in series. One end of the first resistor R1, which is far away from the second resistor R2, may be electrically connected to the input end a2 of the first charging circuit 102, and one end of the first resistor R1, which is near to the second resistor R2, may be electrically connected to the first MCU 103. The end of the second resistor R2 far from the first resistor R1 is grounded. Therefore, by setting the resistance values of the first resistor R1 and the second resistor R2, the voltage acquired by the ADC can meet the working requirement of the ADC under the voltage division effect of the first resistor R1.
The above description is given taking the integration of the ADC into the first MCU103 as an example, and in other embodiments of the present application, the first MCU103 may include the processor 113 shown in fig. 4C and the ADC separately provided from the processor 113.
In addition, in the embodiment of the present application, the first charging circuit 102 may be a low dropout linear regulator (low dropout regulator, LDO). In this case, as shown in fig. 4A, the first charging circuit 102 may include a transistor FET1 and a transistor FET2. When an electronic device, such as the left wireless earphone 10a, is located in the charging device 20, both the transistor FET1 and the transistor FET2 are turned on, so that the charging device 20 may provide the first battery 101 with the first battery voltage Vbat while providing the first supply voltage Vsys1 to the first MCU103 through the first charging circuit 102. Further, when the electronic device is used, the transistor FET1 may be turned off and the transistor FET2 may be turned on, and the first battery 101 may supply the first supply voltage Vsys1 to the first MCU103 through the first charging circuit 102.
With any of the above-described configurations of the first MCU103, the first MCU103 may also be electrically connected to the fuel gauge 105 as shown in fig. 4C. In this case, the first MCU103 may be configured to obtain the path impedance R of the above-described charging path 100 from the acquired first input voltage Vbus and the charging current Ichg obtained by the fuel gauge 105. The first MCU103 may be further configured to detect a range in which the obtained value of the path impedance R is located, and adjust the magnitude of the charging current Ichg and the output voltage Vbb output from the left voltage conversion circuit 204a and the right voltage conversion circuit 204b in the charging device 20 according to the detection result.
The control process of the communication system 01, which may include S101 to S116 shown in fig. 6, will be described in detail below with reference to an example in which one electronic device 10 shown in fig. 5 is electrically connected to the charging device 20.
S101, the first battery voltage Vbat and the temperature of the first battery 101 are obtained, and the charging current Ichg required by the first battery 101 is obtained through table lookup.
Specifically, as can be seen from the above, the meter 105 can collect the temperature of the first battery 101 and the first battery voltage Vbat provided to the first battery 101 by the first charging circuit 102. The meter 105 may be electrically connected to the first MCU103 through an I2C (inter-integrated circuit ) bus, so that the first MCU103 may obtain the above-mentioned first battery voltage Vbat and the temperature of the first battery 101 as battery status parameters through the I2C bus.
In the first MCU103, a table corresponding to the battery state parameter and the charging current Ichg of the first battery 101 is stored, and the first MCU103 may search the charging current Ichg corresponding to the battery state parameter from the table according to the battery state parameter, and transmit the searched charging current Ichg to the first charging circuit 102 through the I2C bus, so as to control the first charging circuit 102 to provide the charging current Ichg for the first battery 101 in a process of implementing voltage conversion.
S102, comparing the charging current Ichg with a first current threshold I1.
Specifically, the first MCU103 may compare the charging current Ichg obtained after the execution of S101 with the first current threshold I1. In some embodiments of the present application, the first current threshold I1 is a current value when the first battery 101 is charged with a 1C charging rate. For example, when the battery capacity of the first battery 101 is 60mAh, the current value when the first battery 101 is charged at a 1C charging rate is 60mA, and at this time, i1=1c=60 mA.
The foregoing is illustrative of the first current threshold I1, and the magnitude of the first current threshold I1 is not limited in the present application, and in the process of setting the magnitude of the first current threshold I1, as long as the heat loss generated in the charging path 100 is too small when Ichg < I1, it can be ignored. Alternatively, when Ichg < I1, the measurement accuracy of the path resistance R of the charging path 100 may not meet the accuracy requirement.
In the process of executing S102, when Ichg < I1, S103 is executed, and when Ichg is not less than I1, S104 is executed.
S103, the first charging circuit 102 is controlled to supply the charging current Ichg to the first battery 101.
Specifically, when Ichg < I1, the heat loss generated by the charging current Ichg on the charging path 100 is too small and the measurement accuracy of the path impedance R is reduced, so that the measurement process of the path impedance R is not significant. Accordingly, by performing S103, the first MCU103 can control the first charging circuit 102 to supply the first battery 101 with the same magnitude of charging current as the value of the charging current Ichg obtained by the lookup table in S101.
S104, the control voltage conversion circuit 204 outputs the maximum output voltage vbb_max.
Before performing S104, the charging device MCU203 may detect the in-place status of the electronic apparatus 10 (e.g., wireless headset) in fig. 5. For example, the charging device MCU203 may detect whether the pogo pin of the electronic device 10 and the pogo pin of the charging device 20 are in contact, and if so, indicate that the in-place status of the electronic device 10 (e.g., wireless headset) is located in the charging device 20. If the pogo pin of the electronic device 10 and the pogo pin of the charging device 20 are detected as open circuit states, it indicates that the in-place state of the electronic device 10 is not located in the charging device 20.
When the charging device MCU203 detects that the electronic device 10 is in place, it may communicate with the first MCU103 of the electronic device via an asynchronous transceiver (universal asynchronous receiver/transmitter, UART). For example, the charging device MCU203 may send a connection request (alternatively referred to as handshake signals) to the first MCU 103. After receiving the connection request and responding to the connection request, the first MCU103 sends a response signal to the second MCU 203.
When the charging device MCU203 does not receive the response signal, the output may be turned off for a period of time, that is, the output end of the charging device MCU203 does not have a signal output, so as to save system power consumption. When the charging device MCU203 receives the above-mentioned response signal, communication between the charging device 20 and the electronic apparatus 10 may be started, i.e. handshake is successful.
The first MCU103 may determine whether the first battery 101 needs to be charged according to the detection result of the electricity meter 105, and when the first battery 101 needs to be charged, send a charging request to the charging device MCU203, the charging device MCU203 receives the charging request, and perform S104 described above.
In order that the first MCU103 can detect the first input voltage Vbus at the receiving end a2 of the first charging circuit 102 when the charging device 20 outputs the output voltage Vbb (for example, the maximum output voltage vbb_max), the voltage conversion circuit 204 in the charging device 20 may periodically output the output voltage Vbb.
Further, in the embodiment of the present application, as shown in fig. 5, the second charging circuit 202 may include a step-down circuit and one transistor bat. When the transistor bat turns on, the step-down circuit may convert the direct current Vd supplied from the adapter 30 (as shown in fig. 1B) into the second battery voltage Vb of the second battery 201 to charge the second battery 201, and output the second system voltage Vsys2 to the second MCU to supply power to the second MCU.
Alternatively, after the adapter 30 (shown in fig. 1B) is disconnected from the step-down circuit, the second battery 201 may provide the second system voltage Vsys2 to the second MCU through the turned-on transistor bat. In addition, an electricity meter may be connected to the input end of the second battery 201, for collecting the battery status of the second battery 201, and transmitting the collection result to the second MCU203 through the I2C bus. The second battery 201 in the charging device 20 is relatively large in size, so the second battery 201 may include a battery cell and a battery protection plate (not shown) electrically connected to the battery cell.
In this example, the charging device MCU203 may control the voltage conversion circuit 204 shown in fig. 5 to output the output voltage Vbb having different voltage values according to the voltage regulation instruction transmitted by the first MCU 103. Based on this, in some embodiments of the present application, the voltage conversion circuit may be a boost (boost) circuit. At this time, the charging device MCU203 may control the output voltage Vbb output by the voltage conversion circuit to gradually increase according to the voltage regulation command sent by the first MCU 103. Alternatively, in other embodiments of the present application, the voltage conversion circuit may be a buck-boost (buck-boost) circuit. At this time, the charging device MCU203 may control the output voltage Vbb output by the voltage conversion circuit to be increased or decreased as needed according to the voltage regulation command transmitted by the first MCU 103. For convenience of explanation below, the voltage conversion circuit 204 in this example may be a buck-boost circuit (step-up/down circuit) as shown in fig. 5, and the maximum output voltage vbb_max output by the voltage conversion circuit 204 may be 5V, for example.
After S104 is performed, the following S105 to S110 are performed so that the first MCU103 may calculate the path impedance R, detect the path impedance R, and control the charging current Ichg output by the first charging circuit 102 according to the detection result.
S105, the first charging circuit 102 is controlled to be in a non-working state, and the first input voltage Vbus is collected as an initial voltage V1.
As can be seen from the above, the voltage conversion circuit 204 of the charging device 20 may output the maximum output voltage vbb_max (vbb_max=5v) after S104 is performed. At this time, at the time of executing S105, the first MCU103 controls the first charging circuit 102 to be in a non-operating state, for example, when the first charging circuit 102 includes the transistor FET1 and the transistor FET2, the first MCU103 may control both the transistor FET1 and the transistor FET2 to be in an off state. In this case, the first charging circuit 102 does not output the charging current Ichg to the first battery 101, and thus does not charge the first battery 101. Since there is no current in the charging path 100, the first MCU103 detects a large first input voltage Vbus from the input terminal of the first charging circuit 102, that is, the initial voltage V1 may be approximately equal to the maximum output voltage vbb_max.
S106, controlling the first charging circuit 102 to be in an operating state, providing the first battery 101 with the first charging current Ichg1, and collecting the first input voltage Vbus.
In performing S106, since the first MCU103 controls the first charging circuit 102 to be in an operating state, for example, when the first charging circuit 102 includes the transistor FET1 and the transistor FET2, the first MCU103 may control both the transistor FET1 and the transistor FET2 to be in an on state. The first charging circuit 102 may thus convert the first input voltage Vbus into the first battery voltage Vbat of the first battery 101 and provide the first charging current Ichg1 to the first battery 101, thereby charging the first battery 101.
At this time, since the charging path 100 has the first charging current Ichg1, and the charging path 100 itself has the path resistance R, the first input voltage Vbus acquired at the input terminal a2 of the first charging circuit 102 by the first MCU103 is the maximum output voltage vbb_max output from the charging device 20, and the voltage obtained by the voltage drop Vch (vch=ichg×r) of the charging path 100. For the convenience of calculation, after S106 is performed, the voltage value of the first input voltage Vbus collected by the first MCU103 may be denoted as V2.
S107, according to the first charging current Ichg1 acquired by the electricity meter 105 and the voltage difference Δv1 between the two acquired first input voltages Vbus, the path impedance R of the charging path is obtained, and r= Δv1/Ichg1.
The voltage difference Δv1 between the first input voltage Vbus acquired twice in S107 is the voltage difference Δv1 between the initial voltage V1 obtained when S105 is executed and the voltage V2 obtained when S106 is executed, i.e., Δv1=v1-V2. At this time, the current value of the first charging current Ichg1 acquired by the first MCU103 may be denoted as I1, and thus, r= Δv1/I1.
It should be noted that, in the embodiment of the present application, the voltage difference between the two voltages is an absolute value obtained by subtracting the two voltages, that is, the voltage difference is a positive number.
When the first battery 101 in the electronic device 10 supports the maximum charging current fast charging, for example, 3C charging is adopted, that is, the first battery 101 is charged with 3C charging rate, the following S108 may be executed to determine whether the requirement of 3C charging is satisfied, the following S109 may be executed to refresh the path impedance R of the charging path 100, so as to reduce the detection error of the impedance path R, and avoid that high current charging cannot be realized due to the error, or generate larger heat loss.
S108, according to the temperature of the first battery 101 and the first battery voltage Vbat, it is determined whether the first battery 101 meets the requirement of charging with the maximum charging current Imax of the first battery 101, and the path impedance R is compared with the second impedance threshold R2.
For example, when the battery capacity of the first battery 101 is 60mAh, the first battery 101 is charged with the maximum charging current Imax, for example, when 3C is charged, the maximum charging current Imax is a current value of 3×60mA when the first battery 101 is charged with the 3C charging rate, and imax=3c=3×60 ma=0.18A.
As described above, the fuel gauge 105 can collect battery state data of the first battery 101, such as the temperature of the first battery 101 and the first battery voltage Vbat. The first MCU103 can thus determine whether the first battery 101 is capable of maximum charging current Imax charging (e.g., 3C charging) based on the acquisition result of the electricity meter 105. For example, when the first battery 101 is capable of 3C charging, the temperature of the first battery 101 needs to be between 10 ℃ and 40 ℃, and the first battery voltage Vbat needs to be between 3V and 4.3V. When the first battery voltage Vbat is greater than or equal to 4.3V, the first battery voltage Vbat is close to a full charge state, and at this time, in order to avoid process damage to the first battery 101, charging may be performed in a manner of low current slow charging in which the charging current Ichg is less than 1C.
It is also necessary to determine whether or not the first battery 101 can be charged with the maximum charging current Imax, and to compare the path impedance R with the second impedance threshold R2. For example, in the embodiment of the present application, the second impedance threshold R2 may provide the maximum output voltage vbb_max (e.g., 5V) to the charging device 20, while ensuring that the charging current Ichg that the first charging circuit 102 can provide to the first battery 101 is the maximum charging current Imax (e.g., 0.18A) of the first battery 101, and ensuring that the maximum path impedance of the charging path 100 when the first battery voltage Vbat that the first charging circuit 102 can apply to the first battery 101 is the maximum battery voltage vbat_max (e.g., vbat_max=4.3V).
For example, r2= (vbb_max-Vbat)/imax= (5V-4.3V)/0.18a=3.8Ω.
It should be noted that, in some embodiments of the present disclosure, when the second impedance threshold R2 is set, factors such as a headroom voltage Δv0 across the transistor FET2, an on-resistance (Rdson) of the transistor FET1 in the first charging circuit 102, a calculation margin, and the like may also be considered. In this case, the obtained second impedance threshold R2 may be smaller than an impedance threshold obtained when only the maximum output voltage vbb_max, the maximum battery voltage vbat_max, and the maximum charging current Imax are taken into consideration.
For example, the first charging circuit 102 sets the headroom voltage Δv0 across the transistor FET2 to 0.2V in order to ensure full charging capability. The on-resistance of the transistor FET1 in the first charging circuit 102 is selected to be 0.3Ω, and the on-voltage drop v_fet of the first charging circuit 102 are: v_fet=0.3Ω×imax. The impedance calculation margin is selected to be 0.05V.
In this case, the calculation process of the second impedance threshold R2 may be:
R2=(Vbb_max-Vbat-△V0-(0.3Ω×Imax)-0.05V)/Imax
=(5V-4.3V-0.2V-(0.3Ω×0.18A)-0.05V)/0.18A
=2.2Ω
considering that the path impedance R obtained in the process of S108 may be smaller than the actual value of the path impedance R, the second impedance threshold R2 may be 95% of 2.2Ω calculated as described above, that is, r2=2.2Ω×95% =2Ω.
In this case, in the process of executing S108, when r+.r2, and the first battery 101 satisfies the condition of 3C charging, for example, the temperature of the first battery 101 is in the temperature range of 3C charging (between 10 ℃ and 40 ℃), the first battery voltage Vbat satisfies the voltage range of 3C charging (between 3V and 4.3V), the following S109 is executed, and the path impedance R of the charging path 100 is refreshed.
Or, when the first battery 101 does not meet the 3C charging condition, the steps S110 to S116 are executed to compare the path impedance R obtained in S107 with the first impedance threshold R1, the second impedance threshold R2 and the third impedance threshold R3, so as to achieve the purpose of detecting the path impedance R, regardless of the comparison result of the path impedance R and the second impedance threshold R2.
S109, according to the maximum charging current Imax, the first charging circuit 102 is controlled to provide the second charging current Ichg2 to the first battery 101, and the first input voltage Vbus is collected again. The path impedance R of the charging path is calculated from the second charging current Ichg2 acquired by the electricity meter 105 and the voltage difference Δv2 between the initial voltage V1 and the first input voltage Vbus acquired again. The value of the path impedance is updated as: r= Δv2/Ichg2.
The voltage magnitude of the first input voltage Vbus collected again in S109 may be denoted as V3, and at this time, the voltage difference Δv2=v1-V3 between the initial voltage V1 and the first input voltage Vbus collected again. At this time, the current value of the second charging current Ichg2 acquired by the first MCU103 is denoted as I2, r= Δv2/I2.
After executing S109, S110 to S116 may be executed to compare the path impedance R updated in S109 with the first impedance threshold R1, the second impedance threshold R2, and the third impedance threshold R3, so as to achieve the purpose of detecting the path impedance R. As is clear from the above, when r+.r2, and the first battery 101 satisfies the condition of 3C charging in the process of executing S108, the first MCU103 can be caused to control the first charging circuit 102 to supply the second charging current Ichg2 to the first battery 101 according to the maximum charging current Imax by executing S109. At this time, the second charging current Ichg2 is close to the maximum charging current Imax, and therefore, the value of the second charging current Ichg2 is larger than the first charging current Ichg1 supplied to the first battery 101 by the first charging circuit 102 in S106, so that the accuracy of the value of the path impedance R calculated from the second charging current Ichg2 is higher. In this case, in the process of executing S109, the value of the path impedance R calculated using the voltage difference Δv2 between the initial voltage V1 and the first input voltage Vbus acquired again, and the above-described second charging current Ichg2, is more accurate. Thus, in executing S110 to S116, the accuracy of the detection of the path impedance R can be improved to ensure that the first battery 101 can normally perform 3C charging in the case of satisfying 3C charging.
S110, comparing the path impedance R with a first impedance threshold R1.
Specifically, the path impedance obtained in S107 or S109 is compared with the first impedance threshold R1. Wherein the first impedance threshold R1 is smaller than the second impedance threshold R2. In this case, when R.ltoreq.R1, S111 is performed, and when R > R1, S112 is performed.
It should be noted that, in some embodiments of the present application, the first impedance threshold R1 may be an initial path impedance when no abnormality exists in the charging path 100, i.e., no foreign matter exists on the charging path 100 and no chemical corrosion is received, for example, a path impedance when the communication system 01 leaves the factory. The initial path impedance may be preset as needed, and the first impedance threshold R1 may be 1.2Ω, as an example. In this case, since there may be a difference between the preset initial path impedance and the actual initial path impedance, there may be a case where R < R1.
S111, the output voltage Vbb output from the voltage conversion circuit 204 is adjusted, and the first battery 101 is charged.
Specifically, the first MCU103 may calculate the preset output voltage vbb_pre of the charging device 20, so that the preset output voltage vbb_pre and the maximum output voltage vbb_max of the charging device satisfy: vbb_pre < vbb_max. Then, the first MCU103 may further output a first voltage regulation command, where the first voltage regulation command is used to instruct the charging device 20 to provide the preset output voltage vbb_pre.
For example, the first MCU103 calculating the preset output voltage vbb_pre of the charging device 20 may include: the preset output voltage vbb_pre of the voltage conversion circuit 204 in the charging device 20 is calculated according to the path voltage drop Vch of the charging path 100, the minimum operating voltage Vmin of the first charging circuit 102, the first battery voltage Vbat, the headroom voltage Δv0 of the first charging circuit 102, and the on-voltage drop v_fet.
As can be seen from the above, the headroom voltage Δv0 of the first charging circuit 102 is the voltage across the transistor FET2 in the first charging circuit 102. Therefore, when the first charging circuit 102 has the full charging capability, the headroom voltage Δv0 of the first charging circuit 102, the first battery voltage Vbat, and the first supply voltage Vsys1 of the first MCU103 may satisfy: deltaV0= |Vsys1-Vbat|. At this time, the transistor FET1 in the first charging circuit 102 operates in a conduction mode instead of the linear voltage stabilizing mode, and the transistor FET1 in the conduction mode has a conduction voltage drop v_fet at both ends, and the conduction voltage drop v_fet is a product of the charging current Ichg in the charging path 100 and the conduction resistance of the transistor FET 1.
In this case, after S111 is performed, the magnitude of the output voltage Vbb output by the voltage conversion circuit 204 of the charging device 20 may be equal to the preset output voltage vbb_pre, and the preset output voltage vbb_pre needs to satisfy the following two conditions on the basis that vbb_pre < vbb_max is satisfied: (1) the preset output voltage Vbb and the minimum operating voltage Vmin of the first charging circuit 102 may satisfy: vbb_pre > Vmin+Vch. (2) The preset output voltage vbb_pre and the first battery voltage Vbat, the headroom voltage Δv0 of the first charging circuit 102 and the conduction voltage drop v_fet satisfy: vbb_pre > vbat+Δv0+v_fet+vch.
In this way, the magnitude of the preset output voltage vbb_pre output by the voltage conversion circuit 204 can ensure that the first charging circuit 102 can work normally, and can have an effective charging capability, and meanwhile, the preset output voltage vbb_pre is smaller than the maximum output voltage vbb_max of the charging device 20, so that the voltage difference between the input end and the output end of the first charging circuit 102 can be effectively reduced, the loss of the first charging circuit 102 is reduced, and the charging efficiency is improved.
It should be noted that, in some embodiments of the present application, when the computing power of the first MCU103 is high, the first MCU103 may calculate the path voltage drop Vch of the charging path 100 according to the path impedance R obtained in S107 or S109 and the charging current Ichg measured in real time from the fuel gauge 105. Where vch=r×ichg.
Alternatively, in other embodiments of the present application, when the computing power of the first MCU103 is weak, the first MCU103 does not need to calculate the path voltage drop Vch of the charging path 100 in real time, but calculates an estimated value of the path voltage drop as the path voltage drop Vch. For example, the first MCU103 may calculate an estimated value of the path voltage drop as the path voltage drop Vch based on the path impedance R obtained in S107 or S109 and the maximum charging current Imax (for example, imax=3c) of the first battery 101. At this time, vch=r×imax.
For convenience of explanation, the capacity of the first battery 101 is 55mAh, and the maximum charging current Imax (e.g., 3C) of the first battery 101 is: imax=3c=3×55ma=0.165A. The voltage drop Vch of the charging path 100 is exemplified by vch=r×imax=1Ω×0.165 a=0.165V. Further, by way of example, the maximum output voltage vbb_max is 5V, the first battery voltage Vbat is 4.1V, the minimum operating voltage Vmin is 4.05V, and the headroom voltage Δv0 is 0.2V. The on-resistance of the transistor FET1 in the first charging circuit 102 is 0.3Ω, and the on-voltage drop v_fet thereof is v_fet=0.3Ω×0.165 a= 0.0495V.
Based on this, after S111 is executed, the preset output voltage vbb_pre output by the voltage conversion circuit 204 of the charging device 20 needs to satisfy the following three conditions simultaneously: (1) vbb_pre > vmin+vch, i.e., vbb_pre > 4.05v+0.165V, vbb_pre > 4.215V. (2) Vbb_pre > vbat+Δv0+v_fet+vch, i.e., vbb_pre > 4.1v+0.2v+0.0495v+0.165V, vbb_pre > 4.5145V. (3) Vbb_pre < vbb_max, vbb_pre < 5V. Based on this, when the preset output voltage vbb_pre output by the voltage conversion circuit 204 needs to satisfy the above three conditions, the vbb_pre= 4.5145V.
In this case, after the first MCU103 calculates the preset output voltage vbb_pre of the voltage conversion circuit 204, the first voltage regulation command may be output to the second MCU 203. At this time, after receiving the first voltage regulation command, the second MCU203 may generate a voltage control signal according to the first voltage regulation command and send the voltage control signal to the second charging circuit 202, so that the second charging circuit 202 may convert the second battery voltage Vb into the preset output voltage vbb_pre (vbb_pre= 4.5145V) of the first MCU103 under the action of the voltage control signal, and transmit the preset output voltage vbb_pre to the electronic device 10 through the charging path 100. Next, the first MCU103 in the electronic device 10 controls the first charging circuit 102 to output the charging current Ichg to charge the first battery 101. The charging current Ichg satisfies the first current threshold I1: ichg > I1, e.g., ichg=3c.
It should be noted that, when r+.r2 is equal to or less than R2 during the execution of S108 and the first battery 101 satisfies the condition of 3C charging, the first MCU103 controls the first charging circuit 102 to output the charging current Ichg during the execution of S111 so as to approach the maximum charging current Imax of the first battery 101, so as to achieve the above 3C charging (i.e., fast charging). Alternatively, when the first battery 101 does not satisfy the condition of 3C charging in the process of performing S108, the first MCU103 may control the first charging circuit 102 to output the charging current Ichg to be smaller than the above-described maximum charging current Imax in the process of performing S111, so as to achieve slow charging.
S112, comparing the path impedance R with a second impedance threshold R2.
The first MCU103 executes S112 described above. When R1 < R.ltoreq.R2, S113 is performed, and when R > R2, S114 is performed.
When it is determined that R < R2 is executed in S108, steps S114 to S116 may not be executed.
S113, the output voltage Vbb output from the voltage conversion circuit 204 is adjusted to charge the first battery 101, and a warning command is output.
Specifically, when the first MCU103 determines that the path impedance R obtained in S107 or S109 satisfies R1 < r+.r2, the first MCU103 calculates the output voltage Vbb output by the voltage conversion circuit 204, and sends the first voltage adjustment instruction to the second MCU203, so as to achieve the process of adjusting the preset output voltage vbb_pre output by the voltage conversion circuit 204, which is described above and will not be repeated herein. The calculation process of the second impedance threshold R2 is the same as that described above, and will not be repeated here. The first MCU103 in the electronic device 10 controls the first charging circuit 102 to output the charging current Ichg to charge the first battery 101. The charging current Ichg satisfies the first current threshold I1: ichg > I1, e.g., ichg=3c.
Similarly, when r+.r2 is equal to or less than R2 during execution of S108 and the first battery 101 satisfies the condition of 3C charging, the first MCU103 controls the first charging circuit 102 to output the charging current Ichg during execution of S113 so that the maximum charging current Imax of the first battery 101 may be approximated to achieve the above 3C charging (i.e., fast charging). Alternatively, when the first battery 101 does not satisfy the condition of 3C charging in the process of performing S108, the first MCU103 may control the first charging circuit 102 to output the charging current Ichg to be smaller than the above-described maximum charging current Imax in the process of performing S113, so as to achieve slow charging.
In addition, in the process of executing S113, the first MCU103 may also issue an alarm instruction, where the alarm instruction is used to alert the user that the path impedance R of the charging path 100 is abnormal, for example, a foreign object exists on the pogo pin of the electronic device 10 or the pogo pin of the charging device 20, or the foreign object or a substance formed by chemical corrosion needs to be removed in time.
In some embodiments of the present application, the charging device 20 may include a buzzer 50 as shown in fig. 7, and the buzzer 50 may be electrically connected with the second MCU203 shown in fig. 5. In this way, the second MCU203 can receive the warning command sent by the first MCU103, and control the buzzer 50 to sound according to the warning command, so as to alert the user that the path impedance R of the charging path 100 is abnormal.
Alternatively, in other embodiments of the present application, the charging device 20 may include a light emitting device 51, such as a light emitting diode (light emitting diode, LED), as shown in fig. 8. The light emitting device 51 may be electrically connected to the second MCU203 shown in fig. 5. Thus, the second MCU203 can receive the above-mentioned warning command sent by the first MCU103, and control the light emitting device 51 to emit light according to the warning command.
Still alternatively, in other embodiments of the present application, the communication system 01 may further include a display terminal. The display terminal may include a mobile phone (mobile phone), a tablet computer (pad), a smart wearable product (e.g., a smart watch, a smart bracelet), etc. capable of displaying devices. The specific form of the electronic device is not particularly limited in the embodiment of the present application, and the display terminal 60 is described below by taking a mobile phone as shown in fig. 9 (a) as an example for convenience of description.
The display terminal 60 may be wirelessly connected to the electronic device 10 through bluetooth (bluetooth), wireless-broadband (WiFi), and near field communication (near field communication, NFC) technologies. The display terminal 60 may be configured to receive an alert command from the electronic device 10, and display an alert pop-up window image 601 as shown in fig. 9 (a) according to the alert command. The warning pop-up window image 601 may display text information, such as "earphone charging limited", for reminding the user of the abnormality of the path impedance R of the charging path 100. When the user clicks on the warning pop-up window image 601, specific information about the limited charging of the headset, such as information prompting the user to clear pogo pins of the electronic device 10 and pogo pins of the charging device 20, may be displayed as shown in (b) of fig. 9.
Alternatively, in other embodiments of the present application, when the display terminal 60 receives the alert command, a voice alert may be sent according to the alert command.
S114, comparing the path impedance R with a third impedance threshold R3.
Wherein R3 is greater than R2. For example, in some embodiments of the present application, the third impedance threshold R3 may provide the charging device 20 shown in fig. 5 with the maximum output voltage vbb_max (e.g., vbb_max=5v), the charging current Ichg is the maximum charging current Imax (imax=0.18a) of the first battery 101, and the first input voltage Vbus is lower than the path impedance R of the charging path 100 when the minimum operating voltage Vmin (e.g., vmin=4.05v) of the first charging circuit 102.
In this case, when the first MCU103 detects that the path impedance R of the charging path 100 increases to the third impedance threshold R3, the path voltage drop Vch of the charging path 100 is too large, so that the output voltage Vbb (for example, vbb=5v) output by the voltage conversion circuit 204 of the charging device 20 is reduced to the first input voltage Vbus after passing through the charging path 100 in the 3C charging process, and the first input voltage Vbus is reduced to the minimum operating voltage Vmin of the first charging circuit 102, so that the first charging circuit 102 cannot operate normally.
For example, taking the battery capacity of the first battery 101 as 60mAh as an example, when the first MCU103 performs 3C charging, the maximum charging current Imax is imax=3c=3×60deg.A=0.18A. Vmin=4.05v, vbb_max=5v. At this time, r3= (vbb_max-Vmin)/0.18a= (5V-4.05V)/0.18a=5.2Ω. Considering that the path impedance R obtained in the process of S108 may be smaller than the actual value of the path impedance R, the third impedance threshold R3 may be 95% of 5.2Ω calculated as described above, that is, r3=5.2Ω×95% =5Ω.
After S114 is performed, when R2 < R.ltoreq.R3, S115 is performed, and when R > R3, S116 is performed.
S115, the adjustment voltage conversion circuit 204 outputs the maximum output voltage vbb_max, and controls the charging current to satisfy: ichg is less than or equal to I1, and outputs a warning instruction.
Specifically, when the first MCU103 determines that the path impedance R obtained in S107 or S109 satisfies R2 < r+.r3, the first MCU103 sends the second voltage adjustment command to the second MCU203, and at this time, after receiving the second voltage adjustment command, the second MCU203 may generate a voltage control signal according to the second voltage adjustment command and send the voltage control signal to the second charging circuit 202, so that the second charging circuit 202 may convert the second battery voltage Vb into the maximum output voltage vbb_max (for example, vbb_max=5v) that the voltage conversion circuit 204 can output under the action of the voltage control signal. In this way, it is ensured that when the path impedance R of the charging path 100 is large (R2 < r+.r3), the maximum output voltage vbb_max output by the voltage conversion circuit 204 is reduced to the first input voltage Vbus after the path voltage drop Vch of the charging path 100, and the first input voltage Vbus may be larger than the minimum operation voltage Vmin of the first charging circuit 102.
In addition, the first MCU103 may also control the first charging circuit 102 to output the charging current Ichg. The charging current Ichg satisfies the first current threshold I1: ichg.ltoreq.i1, for example i1=1c. Thus, since the loss in the charging path 100 is proportional to the square of the charging current Ichg and the path impedance R, when the path impedance R of the charging path 100 is large (R2 < r+.r3), the loss in the charging path 100 can be reduced by reducing the charging current Ichg.
On this basis, in the process of executing S115, the first MCU103 may further issue an alarm instruction for reminding the user that the path impedance R of the charging path 100 is abnormal. The process of reminding the user by the charging device 20 and the display terminal 60 is the same as that described above, and will not be repeated here.
S116, the adjustment voltage conversion circuit 204 outputs the maximum output voltage vbb_max, and controls the charging current to satisfy: ichg=i2, and outputs an alert instruction.
Specifically, when R > R3, the process of adjusting the voltage conversion circuit 204 to output the maximum output voltage vbb_max is the same as S115, and will not be described here again. In addition, the first MCU103 may also control the first charging circuit 102 to output the charging current Ichg. The charging current Ichg is equal to the second current threshold I2. Wherein the second current threshold I2 and the first current threshold satisfy: i2 < I1, i1=1c. For example, the second current threshold I2 may be a current value when the first battery is charged with a 0.1C charging rate. Taking the battery capacity of the first battery 101 as 60mAh as an example, 1c=60 mA, and 0.1c=6 mA. In this way, since the charging current Ichg on the charging path 100 is very small, the loss generated on the charging path 100 is also very small, and damage to the electronic device 10 and the charging apparatus 20 due to the heat loss is avoided when the path impedance R is very large (for example, R > R3).
On this basis, in the process of executing S116, the first MCU103 may further issue an alarm instruction, where the alarm instruction is used to alert the user that the path impedance R of the charging path 100 is abnormal. The process of reminding the user by the charging device 20 and the display terminal 60 is the same as that described above, and will not be repeated here.
It is noted that, in S113, S115 and S116, the first MCU103 can issue the warning command, but the path impedance R in S113 satisfies R1 < R2 and the path impedance R in S115 satisfies R2 < R3 and the path impedance R in S116 satisfies R > R3. Therefore, when S116 is performed, the path impedance R is larger than the value of the path impedance R when S113 and S115 are performed. Therefore, if the user still does not clean the foreign matter in the charging path 100 in time while S116 is performed, the electronic device 10 cannot achieve normal and effective charging because the charging current Ichg is reduced to 0.1C.
Based on this, in some embodiments of the present application, in S113, S115, and S116, the first MCU103 may issue different alert instructions. For example, the first MCU103 in S113 issues a first warning command, the first MCU103 in S115 issues a second warning command, the first MCU103 in S116 issues a third warning command, and the device receiving the warning command is exemplified as the display terminal 60.
In this case, when the display terminal 60 receives the first warning instruction, the display terminal 60 may display a warning pop-up window image 601 as shown in (a) of fig. 9 according to the first warning instruction, prompting "headset charge limited". When the user clicks on the warning pop-up window image 601, specific information that the earphone is limited in charging may be displayed as shown in (b) of fig. 9. At this time, the display terminal 60 has a low degree of urgency of the prompt message.
When the display terminal 60 receives the second warning command, the display terminal 60 may display a warning pop-up window image 601 as shown in (a) of fig. 10 according to the second warning command, prompting "headset charging abnormality". When the user clicks on the warning pop-up window image 601, specific information about abnormal charging of the earphone may be displayed as shown in fig. 10 (b). At this time, the degree of urgency of the prompt message at the display end of the display terminal 60 increases.
When the display terminal 60 receives the third warning command, the display terminal 60 may display a warning pop-up window image 601 as shown in (a) of fig. 11 according to the third warning command, prompting "earphone charging failure". When the user clicks on the warning pop-up window image 601, specific information about abnormal charging of the earphone may be displayed as shown in (b) of fig. 11. At this time, the display terminal 60 has the highest emergency degree of the prompt information at the display end.
In summary, the electronic device 10 provided in the embodiment of the present application may obtain the magnitude of the path impedance R of the charging path 100, and compare the path impedance R with the first impedance threshold R1, the second impedance threshold R2 and the third impedance threshold R3 in sequence to determine the impedance range in which the path impedance R is located. Further, the electronic apparatus 10 may control the magnitude of the charging current Ichg according to the impedance range in which the path impedance R is located. In this way, when the path impedance R is small, for example, R < R1, the charging current Ichg can be controlled to perform normal low-current slow charging or high-current fast charging on the first battery 101 in the charging earphone 10. When the path impedance R is slightly increased, for example, R1 is less than R and less than or equal to R2, the charging current Ichg can be controlled to normally charge the first battery 101 in the charging earphone 10, and an alarm instruction is sent to remind the user to clean the foreign matters existing in the charging path in time. When the path impedance R is larger, for example R2 < R.ltoreq.R3, the charging current Ichg is reduced so that Ichg < 1I, the heat loss on the charging path 100 is avoided being too large, and an alarm instruction is sent. In addition, when the path resistance R increases sharply, for example, R > R3, the heat loss on the charging path 100 increases sharply, so that the charging current Ichg is reduced to I2, and the warning command is sent, and the electronic device 10 cannot be charged normally at this time, but the heat loss on the charging path 100 is small, so that the occurrence of damage to the charging device 20 and the electronic device 10 due to the large heat loss can be avoided.
Example two
In this example, as shown in fig. 12, two electronic devices, namely, a left wireless earphone 10a and a right wireless earphone 10b, are provided in the communication system 01. The charging device 20 is provided with a voltage conversion circuit 204 and a second changeover switch 205 electrically connected to the voltage conversion circuit 204. The second changeover switch 205 is electrically connected to the first multiplexing terminal 12 of the left wireless earphone 10a through the second multiplexing terminal 22a, and is electrically connected to the first multiplexing terminal 12 of the right wireless earphone 10b through the second multiplexing terminal 22 b.
As can be seen from the above, the second switch 205 may be a double pole double throw switch, and the second switch 205 may implement time division multiplexing of the communication signal of the left wireless earphone 10a, the charging signal of the left wireless earphone 10a, the communication signal of the right wireless earphone 10b, and the charging signal of the right wireless earphone 10b. For example, when the second MCU203 and the left wireless headset 10a are in a communication state, the second switch 205 is configured to be electrically connected to the second MCU203 through the UART1, and the first switch 104 in the left wireless headset 10a is electrically connected to the first MCU 103. At this time, transmission of communication signals is performed between the second MCU203 and the first MCU103 of the left wireless headset 10 a. When the second MCU203 and the left wireless earphone 10a are in a charged state, the second switch 205 is electrically connected to the voltage conversion circuit 204, and the first switch 104 in the left wireless earphone 10a is electrically connected to the first charging circuit 102. At this time, the second MCU203 charges the left wireless headset 10 a.
Similarly, when the second MCU203 and the right wireless headset 10b are in a communication state, the second switch 205 is configured to be electrically connected to the second MCU203 through the UART2, and the first switch 104 in the right wireless headset 10b is electrically connected to the first MCU 103. At this time, transmission of communication signals is performed between the second MCU203 and the first MCU103 of the right wireless headset 10 b. When the second MCU203 and the right wireless earphone 10b are in a charged state, the second switch 205 is electrically connected to the voltage conversion circuit 204, and the first switch 104 in the right wireless earphone 10b is electrically connected to the first charging circuit 102. At this time, the second MCU203 charges the right wireless headset 10 b.
Alternatively, the second switch 205 may implement time-division multiplexing of the communication signal of the left wireless earphone 10a and the communication signal of the right wireless earphone 10b, and the time-division multiplexing process may be the same as that of the charging signal of the left wireless earphone 10a and the charging signal of the right wireless earphone 10b, which are not described herein.
Further, in the embodiment of the present application, as shown in fig. 13, the voltage conversion circuit 204 in the charging device 20 may be a boost circuit (step-up circuit) as shown in fig. 13. The output voltage Vbb of the boost circuit is a fixed voltage value, for example 5V. In this case, the control process of the communication system 01 includes S201 to S216 as shown in fig. 14. S201 to S210 are the same as S101 to S110 in example one (shown in fig. 6), and S210, S212 and S214 are the same as S110, S112 and S114 in example one (shown in fig. 6), respectively, and are not described here again.
The difference from example one is that, since the output voltage Vbb output by the voltage conversion circuit 204 of the charging device 20 in this example is a fixed voltage value, when the determination result of S210 is r+.r1, S211 is executed. In the process of S211, the output voltage Vbb output from the voltage conversion circuit 204 is not required to be adjusted. The first MCU103 controls the first charging circuit 102 to output the charging current Ichg so as to satisfy: ichg > I1, for example, i1=1c, thereby normally charging the first battery 101.
When the judgment result of executing S212 is that R1 < R.ltoreq.R2, S213 is executed. In the process of S213, the output voltage Vbb output from the voltage conversion circuit 204 is not required to be adjusted. The first MCU103 controls the first charging circuit 102 to output the charging current Ichg so as to satisfy: ichg > I1, for example, i1=1c, thereby normally charging the first battery 101. In addition, the first MCU103 may also issue an alert command.
When the judgment result of executing S214 is R2 < R.ltoreq.R3, S215 is executed. In the process of S215, the output voltage Vbb output from the voltage conversion circuit 204 is not required to be adjusted. The first MCU103 controls the first charging circuit 102 to output the charging current Ichg so as to satisfy: ichg is less than or equal to I1, for example, i1=1c, thereby achieving the purpose of reducing heat loss of the charging path 100 by reducing the charging current Ichg. In addition, the first MCU103 may also issue an alert command.
When the judgment result of executing S214 is R > R3, S216 is executed. In the process of S216, the output voltage Vbb output from the voltage conversion circuit 204 is not required to be adjusted. The first MCU103 controls the first charging circuit 102 to output the charging current Ichg so as to satisfy: ichg=i2, for example, i2=0.1c, thereby reducing heat loss of the charging path 100. In addition, the first MCU103 may also issue an alert command. It should be noted that, in the communication system 01 provided in this example, the process of reminding the user of the warning command through the charging device 20 and the display terminal 60 is the same as described above, and the details are not repeated here.
As can be seen from the above description, in the present example, during the charging process of the electronic device 10, since the output voltage Vbb output by the voltage conversion circuit 204 of the charging device 20 is a fixed voltage value, the adjustment of the output voltage Vbb output by the voltage conversion circuit 204 is not required, so that the control process of the electronic device 10 can be simplified, the requirement on the computing capability of the first MCU103 in the electronic device 10 can be reduced, and the purpose of reducing the production cost of the product can be achieved.
In addition, the embodiment of the application also provides a computer readable storage medium. The computer readable storage medium may include computer instructions that, when executed on the communication system 01 described above, cause the communication system 01 to perform any one of the control methods of the electronic device 10 described above, or any one of the control methods of the charging apparatus 20 described above.
Furthermore, the embodiment of the application also provides a computer program product. The computer program product may comprise computer instructions which, when run on the communication system 01 described above, cause the communication system 01 to perform any one of the control methods of the electronic device 10 described above, or any one of the control methods of the charging apparatus 20 described above.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (31)
1. An electronic device, characterized by forming a charging path with a charging device, comprising:
a first battery;
a first charging circuit for converting a first input voltage Vbus output from the charging path into a first battery voltage Vbat of the first battery and supplying a charging current Ichg to the first battery;
the electricity meter is electrically connected between the first battery and the first charging circuit and is used for collecting the charging current Ichg and transmitting the charging current Ichg to the first battery;
The first micro control unit MCU is electrically connected with the first charging circuit and the fuel gauge and is used for collecting the first input voltage Vbus and obtaining the path impedance R of the charging path according to the first input voltage Vbus and the charging current Ichg; the first MCU is further used for comparing the path impedance R with a first impedance threshold R1, a second impedance threshold R2 and a third impedance threshold R3 so as to detect the path impedance R and adjust the charging current Ichg according to a detection result;
the first MCU adjusts the charging current Ichg according to the detection result, and is specifically configured to: when R is less than or equal to R1, the charging current Ichg and the first current threshold I1 are controlled to meet the following conditions: ichg > I1; or when R1 is less than R and less than or equal to R2, controlling the charging current Ichg to meet the following conditions: ichg is more than I1, and outputs an alarm instruction; or when R2 is less than R and less than or equal to R3, the first charging circuit is controlled to meet the following conditions: ichg is less than or equal to I1, and outputs a warning instruction;
the first impedance threshold R1 is an initial path impedance of the charging path;
the second impedance threshold R2 provides the maximum output voltage vbb_max for the charging device, the charging current Ichg is the maximum charging current Imax of the first battery, and the first battery voltage Vbat is the maximum battery voltage vbat_max of the first battery, the maximum path impedance of the charging path;
The third impedance threshold R3 provides the maximum output voltage vbb_max for the charging device, the charging current Ichg is the maximum charging current Imax of the first battery, and the first input voltage Vbus is lower than the minimum operating voltage Vmin of the first charging circuit, the path impedance of the charging path is the same.
2. The electronic device of claim 1, wherein the first MCU is further specifically configured to:
when R > R3 is judged, the charging current Ichg is controlled to meet the following conditions: ichg=i2, and outputs an alarm instruction; wherein a second current threshold I2 and the first current threshold satisfy: i2 < I1.
3. The electronic device according to claim 1 or 2, characterized in that,
when R is less than or equal to R2, the first MCU is also used for calculating a preset output voltage Vbb_pre of the charging device, and the preset output voltage Vbb_pre and the maximum output voltage Vbb_max of the charging device meet the following conditions: vbb_pre < vbb_max;
the first MCU is further configured to output a first voltage regulation command, where the first voltage regulation command is configured to instruct the charging device to provide the preset output voltage Vbb_pre.
4. The electronic device of claim 3, wherein the electronic device comprises a plurality of electronic devices,
The first MCU calculates a preset output voltage vbb_pre of the charging device, and is specifically configured to calculate the preset output voltage vbb_pre of the charging device according to a path voltage drop Vch of the charging path, a minimum operating voltage Vmin of the first charging circuit, the first battery voltage Vbat, a headroom voltage Δv0 of the first charging circuit, and a conduction voltage drop v_fet;
the preset output voltage vbb_pre and the minimum operating voltage Vmin of the first charging circuit satisfy: vbb_pre > Vmin+Vch;
and, the preset output voltage vbb_pre and the first battery voltage Vbat, and the headroom voltage Δv0 of the first charging circuit and the conduction voltage drop v_fet satisfy: vbb_pre > vbat+Δv0+v_fet+vch; wherein the headroom voltage Δv0, the first battery voltage Vbat, and the first supply voltage Vsys1 of the first MCU satisfy: deltaV0= |Vsys1-Vbat|.
5. The electronic device of claim 4, wherein the first MCU is specifically configured to calculate a path voltage drop Vch of the charging path according to the path impedance R and a charging current Ichg acquired by the fuel gauge;
where vch=r×ichg.
6. The electronic device according to claim 4, wherein the first MCU is configured to calculate a path voltage drop Vch of the charging path according to the path impedance R and a maximum charging current Imax of the first battery;
Where vch=r×imax.
7. The electronic device of claim 4, wherein the electronic device comprises a memory device,
when R > R2, the first MCU is also used for outputting a second voltage regulating instruction, and the second voltage regulating instruction is used for indicating the charging device to provide the maximum output voltage Vbb_max.
8. The electronic device of claim 1, wherein the electronic device comprises a memory device,
before the first MCU performs the step of detecting the path impedance R, the first MCU is further configured to receive and respond to a connection request from the charging device;
the first MCU is specifically configured to:
controlling the first charging circuit to be in a non-working state, and collecting the first input voltage Vbus as an initial voltage;
controlling the first charging circuit to be in a working state, providing a first charging current Ichg1 for the first battery, and collecting the first input voltage Vbus;
and obtaining the path impedance R, R= [ delta ] V1/Ichg1 of the charging path according to the first charging current Ichg1 acquired by the fuel gauge and the voltage difference [ delta ] V1 between the first input voltage Vbus acquired twice successively.
9. The electronic device of claim 8, wherein the electronic device comprises a memory device,
the fuel gauge is further configured to collect a temperature of the first battery and the first battery voltage Vbat;
Before the first MCU performs the step of detecting the path impedance R, the first MCU is further configured to determine, according to the temperature of the first battery and the first battery voltage Vbat, whether the first battery meets a requirement of charging with a maximum charging current Imax of the first battery, and compare the path impedance R with the second impedance threshold R2;
when the first battery meets the requirement of charging by using the maximum charging current Imax of the first battery and R is less than or equal to R2, the first MCU is specifically configured to control the first charging circuit to provide the second charging current Ichg2 to the first battery according to the maximum charging current Imax and acquire the first input voltage Vbus again; calculating a path impedance R of the charging path according to a second charging current Ichg2 acquired by the fuel gauge and a voltage difference DeltaV 2 between the initial voltage and the first input voltage Vbus acquired again; the value of the path impedance is updated as follows: r= Δv2/Ichg2;
when the first battery does not meet the requirement of charging with the maximum charging current Imax of the first battery, the first MCU is configured to perform the step of detecting the path impedance R.
10. The electronic device of claim 1, wherein the electronic device comprises a memory device,
before the first MCU performs the step of detecting the path impedance R, the first MCU is further configured to compare the charging current Ichg with the first current threshold I1;
when Ichg is less than I1, the first MCU is specifically configured to control the first charging circuit to provide charging current Ichg to the first battery;
when Ichg is not less than I1, the first MCU is used for executing the step of detecting the path impedance R.
11. The electronic device according to claim 1 or 10, wherein the first current threshold I1 is a current value when the first battery is charged with a 1C charging rate.
12. The electronic device of claim 2, wherein the second current threshold I2 is a current value when the first battery is charged with a 0.1C charging rate.
13. The electronic device of claim 1, wherein the electronic device further comprises: a first resistor and a second resistor connected in series;
one end of the first resistor, which is far away from the second resistor, is electrically connected with the first charging circuit, and one end of the first resistor, which is close to the second resistor, is electrically connected with the first MCU;
One end of the second resistor far away from the first resistor is grounded.
14. The electronic device of claim 1, wherein the electronic device is a wireless headset, the electronic device further comprising:
a first ground terminal for grounding;
a first multiplexing terminal for receiving a communication signal when the electronic device is in a communication mode, and receiving the first input voltage Vbus when the electronic device is in a charging mode;
the first change-over switch is electrically connected with the first multiplexing terminal, the first charging circuit and the first MCU, and is used for electrically connecting the first multiplexing terminal with the first MCU when the electronic equipment is in a communication mode and electrically connecting the first multiplexing terminal with the first charging circuit when the electronic equipment is in a charging mode.
15. The electronic device of claim 1, wherein the electronic device is a wireless headset, the electronic device further comprising:
a first ground terminal for grounding;
the first communication terminal is electrically connected with the first MCU and is used for transmitting communication signals with the first MCU;
and the first charging terminal is electrically connected with the first charging circuit and is used for transmitting the first input voltage Vbus to the first charging circuit.
16. A control method of an electronic apparatus, characterized by comprising:
collecting a first input voltage Vbus and a charging current Ichg of the electronic equipment, and obtaining a path impedance R of a charging path formed between a charging device and the electronic equipment according to the first input voltage Vbus and the charging current Ichg;
comparing the path impedance R with a first impedance threshold R1, and controlling the charging current Ichg to meet the first current threshold I1 when R is less than or equal to R1: ichg > I1;
or,
comparing the path impedance R with a second impedance threshold R2, and controlling the charging current Ichg to meet the condition that R1 is less than or equal to R2: ichg is more than I1, and outputs an alarm instruction;
or,
comparing the path impedance R with a third impedance threshold R3, and controlling the charging current to meet the condition that R2 is smaller than R and smaller than or equal to R3: ichg is less than or equal to I1, and outputs a warning instruction;
the electronic device comprises a first battery and a first charging circuit electrically connected with the first battery;
the first impedance threshold R1 is an initial path impedance of the charging path;
the second impedance threshold R2 provides the maximum output voltage vbb_max for the charging device, the charging current Ichg is the maximum charging current Imax of the first battery, and the maximum path impedance of the charging path when the maximum battery voltage vbat_max is applied to the first battery;
The third impedance threshold R3 provides the maximum output voltage vbb_max for the charging device, the charging current Ichg is the maximum charging current Imax of the first battery, and the first input voltage Vbus is lower than the minimum operating voltage Vmin of the first charging circuit, the path impedance of the charging path is the same.
17. The control method according to claim 16, characterized in that the method further comprises:
comparing the path impedance R with the third impedance threshold R3, and controlling the charging current Ichg to meet the condition that R > R3: ichg=i2, and outputs an alarm instruction; wherein a second current threshold I2 and the first current threshold satisfy: i2 < I1.
18. The control method according to claim 16 or 17, characterized in that the electronic device includes a first charging circuit, and when r+.r2, the method further includes:
calculating a preset output voltage vbb_pre of the charging device, wherein the preset output voltage vbb_pre and a maximum output voltage vbb_max of the charging device meet the following conditions: vbb_pre < vbb_max;
and outputting a first voltage regulating instruction, wherein the first voltage regulating instruction is used for instructing the charging device to provide the preset output voltage Vbb_pre.
19. The control method according to claim 18, wherein the calculating the preset output voltage vbb_pre of the charging device includes:
calculating a preset output voltage vbb_pre of the charging device according to a path voltage drop Vch of the charging path, a minimum working voltage Vmin of the first charging circuit, the first battery voltage Vbat, a headroom voltage Δv0 of the first charging circuit, and a conduction voltage drop v_fet;
the preset output voltage vbb_pre and the minimum operating voltage Vmin of the first charging circuit satisfy: vbb > Vmin+Vch;
and, the preset output voltage vbb_pre and the first battery voltage Vbat, and the headroom voltage Δv0 and the conduction voltage drop v_fet of the first charging circuit satisfy: vbb_pre > vbat+Δv0+v_fet+vch; wherein the headroom voltage Δv0, the first battery voltage Vbat, and the first supply voltage Vsys1 of the first MCU satisfy: deltaV0= |Vsys1-Vbat|.
20. The control method according to claim 19, characterized in that the method further comprises:
calculating a path voltage drop Vch of the charging path according to the path impedance R and the charging current Ichg;
where vch=r×ichg.
21. The control method of claim 19, wherein the electronic device further comprises a first battery, the method further comprising:
calculating a path voltage drop Vch of the charging path according to the path impedance R and the maximum charging current Imax of the first battery; where vch=r×imax.
22. The control method according to claim 19, wherein when R > R2, the method further comprises outputting a second voltage regulation command for instructing the charging device to provide the maximum output voltage vbb_max.
23. The control method of claim 16, wherein the electronic device further comprises a first charging circuit, the method further comprising, prior to comparing the path impedance R to a first impedance threshold R1: receiving and responding to a connection request from the charging device, and sending a charging request;
the obtaining the path impedance R of the charging path formed between the charging device and the electronic apparatus includes:
controlling the first charging circuit to be in a non-working state, and collecting the first input voltage Vbus as an initial voltage;
controlling the first charging circuit to be in a working state, outputting a first charging current Ichg1, and collecting the first input voltage Vbus;
And obtaining the path impedance R of the charging path according to the first charging current Ichg1 and the voltage difference DeltaV 1 between the two acquired first input voltages Vbus, wherein R= [ delta ] V1/Ichg1.
24. The control method of claim 23, wherein the electronic device further comprises a first battery electrically connected to the first charging circuit;
before the comparing the path impedance R with the first impedance threshold R1, the method further includes:
collecting the temperature of the first battery and the first battery voltage Vbat;
judging whether the first battery meets the requirement of charging by adopting the maximum charging current Imax of the first battery according to the temperature of the first battery and the first battery voltage Vbat, and comparing the path impedance R with the second impedance threshold R2;
when the first battery meets the requirement of charging by adopting the maximum charging current Imax of the first battery and R is less than or equal to R2, controlling the first charging circuit to provide a second charging current Ichg2 for the first battery according to the maximum charging current Imax, and collecting the first input voltage Vbus again; calculating a path impedance R of the charging path according to the second charging current Ichg2 and a voltage difference DeltaV 2 between the initial voltage and the first input voltage Vbus acquired again; the value of the path impedance is updated as follows: r= Δv2/Ichg2;
When the first battery does not meet the requirement of charging with the maximum charging current Imax of the first battery, the step of comparing the path impedance R with a first impedance threshold R1 is performed.
25. The control method of claim 16, wherein the electronic device further comprises a first battery electrically connected to the first charging circuit, and wherein prior to the comparing the path impedance R to the first impedance threshold R1, the method further comprises: comparing the charging current Ichg with the first current threshold I1, and controlling the first charging circuit to provide the charging current Ichg for the first battery when Ichg is smaller than I1;
and when Ichg is more than or equal to I1, executing the step of comparing the path impedance R with a first impedance threshold R1.
26. The control method according to claim 16 or 25, characterized in that the first current threshold I1 is a current value when the first battery is charged with 1C charging magnification.
27. The control method according to claim 17, wherein the second current threshold I2 is a current value when the first battery is charged with a 0.1C charging rate.
28. A communication system comprising charging means and an electronic device as claimed in any one of claims 1-15; the electronic equipment is positioned in the charging device and is electrically connected with the charging device.
29. The communication system of claim 28, further comprising a display terminal; the display terminal is in wireless connection with the electronic equipment and is used for receiving an alarm instruction from the electronic equipment and displaying an alarm popup window image according to the alarm instruction.
30. A computer readable storage medium comprising computer instructions which, when run on a communication system, cause the communication system to perform the control method of any of claims 16-27.
31. A computer program product comprising computer instructions which, when run on a communication system, cause the communication system to perform the control method of any of claims 16-27.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010949144.7A CN114172218B (en) | 2020-09-10 | 2020-09-10 | Electronic equipment, charging device, control method and communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010949144.7A CN114172218B (en) | 2020-09-10 | 2020-09-10 | Electronic equipment, charging device, control method and communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114172218A CN114172218A (en) | 2022-03-11 |
CN114172218B true CN114172218B (en) | 2024-04-12 |
Family
ID=80475842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010949144.7A Active CN114172218B (en) | 2020-09-10 | 2020-09-10 | Electronic equipment, charging device, control method and communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114172218B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023174164A1 (en) * | 2022-03-15 | 2023-09-21 | 华为技术有限公司 | Charging apparatus, electronic device, communication method, and charging system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105703423A (en) * | 2016-01-22 | 2016-06-22 | 珠海市魅族科技有限公司 | Charging control method, charging equipment, and charging system |
CN110572736A (en) * | 2019-09-20 | 2019-12-13 | 歌尔科技有限公司 | Wireless earphone, charging box and wireless earphone charging system |
-
2020
- 2020-09-10 CN CN202010949144.7A patent/CN114172218B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105703423A (en) * | 2016-01-22 | 2016-06-22 | 珠海市魅族科技有限公司 | Charging control method, charging equipment, and charging system |
CN110572736A (en) * | 2019-09-20 | 2019-12-13 | 歌尔科技有限公司 | Wireless earphone, charging box and wireless earphone charging system |
Also Published As
Publication number | Publication date |
---|---|
CN114172218A (en) | 2022-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110572736B (en) | Wireless earphone, charging box and wireless earphone charging system | |
CN102640076B (en) | Power converter with reduced power consumption when toggling between sleep and normal modes during device charging | |
EP3252911B1 (en) | Wearable mobile power supply and power supply control method thereof | |
CN110098652B (en) | Mobile phone, mobile phone main body device and mobile phone endurance device | |
CN110492554B (en) | Adjustment control circuit, bluetooth headset, charging box and charging system | |
CN104967201A (en) | Fast-charging method, mobile terminal and power adapter capable of being charged directly | |
CN104967200A (en) | Quick-charging method and mobile terminal | |
CN104967199A (en) | Fast-charging method and mobile terminal | |
CN113131544A (en) | Charging control method and device, electronic device and computer storage medium | |
CN117368785A (en) | Electricity meter and electronic device for multiple battery | |
US20240250538A1 (en) | Multi-battery power supply, charging/discharging method, and electronic device | |
CN111293742B (en) | Communication device and method with charging reminder | |
US20060209578A1 (en) | Power circuit | |
CN113013934A (en) | Electronic equipment, electronic device and charging method | |
CN114172218B (en) | Electronic equipment, charging device, control method and communication system | |
JP7175672B2 (en) | Electronic device and power control method | |
CN112366797B (en) | TWS charging control system and method | |
KR20210101712A (en) | Power receiving device and method for controlling a charging current | |
CN107996027B (en) | Earphone control device and wired earphone | |
KR20190065767A (en) | Electronic device for a voltage controlling operating method thereof | |
CN117526471A (en) | Wireless charging circuit applied to wearable device and wearable device | |
CN109309399B (en) | Mobile power supply and discharging method thereof | |
CN117397141A (en) | Charging device for wearable device and wearable device assembly | |
CN108521873B (en) | Earphone control device and wired earphone | |
CN213990241U (en) | Charging equipment of wireless earphone and wireless earphone assembly |
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 |