WO2020238340A1 - 充电装置及充电方法 - Google Patents

充电装置及充电方法 Download PDF

Info

Publication number
WO2020238340A1
WO2020238340A1 PCT/CN2020/079491 CN2020079491W WO2020238340A1 WO 2020238340 A1 WO2020238340 A1 WO 2020238340A1 CN 2020079491 W CN2020079491 W CN 2020079491W WO 2020238340 A1 WO2020238340 A1 WO 2020238340A1
Authority
WO
WIPO (PCT)
Prior art keywords
level
preset
charging
comparator
charged
Prior art date
Application number
PCT/CN2020/079491
Other languages
English (en)
French (fr)
Inventor
卢少锋
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Priority to EP20812805.8A priority Critical patent/EP3979455A4/en
Publication of WO2020238340A1 publication Critical patent/WO2020238340A1/zh
Priority to US17/537,411 priority patent/US20220085616A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00304Overcurrent protection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/30Charge provided using DC bus or data bus of a computer
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/40Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries adapted for charging from various sources, e.g. AC, DC or multivoltage

Definitions

  • the embodiments of the present disclosure relate to the field of terminal technology, and in particular, to a charging device and a charging method.
  • the terminal device before charging, the terminal device first performs power detection on the charging device according to the charging protocol 1.2 (battery charge specification 1.2, BC1.2) to obtain the power that the charging device can output; then, the terminal device requests the charging device to use a suitable terminal
  • the charging power of the device charges the terminal device.
  • a terminal device that supports high-power charging can be connected to a dedicated charger to request the charging device to use a larger power to charge, and a computer USB interface can request the charging device to use a smaller power to charge.
  • some terminal devices do not perform power detection before charging, for example, some terminal devices do not support BC1.2. Because these terminal devices do not perform power detection on the charging device, the charging device may charge a terminal device that only supports low-power charging with a higher power, which overloads the charging circuit of the terminal device, causing damage to the charging circuit of the terminal device or excessive temperature. And cause a safety accident. Therefore, the current charging method is less safe.
  • the embodiments of the present disclosure provide a charging device and a charging method to solve the problem that the terminal device does not perform power detection, which causes the terminal device to have low charging safety.
  • an embodiment of the present disclosure provides a charging device that includes: a first comparison module, a second comparison module, a control module connected to the first comparison module and the second comparison module, and a control module connected to the control module Charging module; a first comparison module, used to compare the first data voltage value with the target preset value when it is detected that the charging device is connected to the device to be charged, and output the first level set according to the comparison result; the second comparison module, When it is detected that the charging device is connected to the device to be charged, compare the second data voltage value with the above-mentioned target preset value, and output the second level set according to the comparison result; the control module is used to compare the first level set and the The second level set controls the charging module to charge the device to be charged with the target power.
  • embodiments of the present disclosure also provide a charging method, which is applied to a charging device, and the method includes: acquiring a first level set and a second power level when it is detected that the charging device is connected to the device to be charged.
  • the first level set is used to indicate the comparison result of the first data voltage value and the target preset value
  • the second level set is used to indicate the comparison result of the second data voltage value and the target preset value; according to the first The first level set and the second level set are used to charge the device to be charged with the target power.
  • the charging device when the charging device detects that the charging device is connected to the device to be charged, it can obtain the first level set and the second level set corresponding to the device to be charged according to the first comparison module and the second comparison module, and then The target power is determined according to the level in the first level set and the level in the second level set, and the target power meets the tolerable charging power of the device to be charged. Therefore, when the device to be charged does not perform power detection, the charging module can be controlled according to the first comparison module and the second comparison module to charge the device to be charged with the target power determined by the charging device, so as to avoid using too high power for the device to be charged. The device is charged. Therefore, the charging device provided by the embodiment of the present disclosure can improve the safety of charging.
  • FIG. 1 is a schematic diagram of a charging device provided by an embodiment of the disclosure
  • FIG 2 is the second schematic diagram of the charging device provided by the embodiment of the disclosure.
  • FIG 3 is the third schematic diagram of the charging device provided by the embodiment of the disclosure.
  • FIG. 4 is a schematic diagram of a charging system provided by an embodiment of the disclosure.
  • FIG. 5 is a schematic flowchart of a charging method provided by an embodiment of the disclosure.
  • the BC1.2 protocol specifies a standard downstream port (SDP), a charging downstream port (DCP), and a dedicated charging port (CDP).
  • SDP standard downstream port
  • DCP charging downstream port
  • CDP dedicated charging port
  • the SDP interface adopts the specification definition of USB 2.0 & USB 3.0. If it is the SDP interface of USB2.0, the charging current is 500mA; if it is the SDP interface of USB3.0, the charging current is 900mA.
  • the CDP interface supports both charging and data transmission, and the maximum charging current can reach 1A.
  • the DCP interface supports charging currents above 1.5A.
  • the DCP interface is used to charge the positive data pin D+ and the negative data pin D- to short-circuit, and data cannot be transmitted.
  • A/B can mean A or B
  • the "and/or” in this article is only an association relationship describing associated objects, which means that there may be three A relationship, for example, A and/or B, can mean that: A alone exists, A and B exist at the same time, and B exists alone.
  • Multiple means two or more than two.
  • first and second in the specification and claims of the present disclosure are used to distinguish different objects, rather than to describe a specific order of objects.
  • first comparison module and the second comparison module are used to distinguish different comparison modules, rather than to describe the specific order of the comparison modules.
  • the charging device in the embodiment of the present disclosure may be a charging plug, a mobile charging power supply, a computer host with a USB interface, a mobile phone with a charging function, etc., which are not specifically limited in the embodiment of the present disclosure.
  • the device to be charged in the embodiment of the present disclosure may be any electronic device that needs to be charged, such as a mobile terminal, a mobile power supply, an electronic toy, etc., which is not specifically limited in the embodiment of the present disclosure.
  • the device to be charged in the embodiment of the present disclosure may be a terminal device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present disclosure.
  • An embodiment of the present disclosure provides a charging device, which includes: a first comparison module, a second comparison module, a control module connected to the first comparison module and the second comparison module, and a charging module connected to the control module;
  • the comparison module is used to compare the first data voltage value with the target preset value when it is detected that the charging device is connected to the device to be charged, and output the first level set according to the comparison result;
  • the second comparison module is used to When the charging device is connected to the device to be charged, it compares the second data voltage value with the target preset value, and outputs the second level set according to the comparison result;
  • the control module is used for according to the first level set and the second level set, The charging module is controlled to charge the device to be charged with the target power.
  • the charging device detects that the charging device is connected to the device to be charged, it can obtain the first level set and the second level set corresponding to the device to be charged according to the first comparison module and the second comparison module, and then according to the first level
  • the levels in the set and the levels in the second set of levels determine the target power, and the target power meets the tolerable charging power of the device to be charged. Therefore, when the device to be charged does not perform power detection, the charging module can be controlled according to the first comparison module and the second comparison module to charge the device to be charged with the target power determined by the charging device, so as to avoid using too high power for the device to be charged.
  • the device is charged. Therefore, the charging device provided by the embodiment of the present disclosure can improve the safety of charging.
  • the charging device 100 includes: a first comparison module 101, a second comparison module 102, and a device connected to the first comparison module 101 and the second comparison module 102.
  • the control module 103, and the charging module 104 connected to the control module 103.
  • the first comparison module 101 is configured to compare the first data voltage value with a target preset value when it is detected that the charging device 100 is connected to the device to be charged, and output a first level set according to the comparison result.
  • the number of first data voltages to be compared with the target preset value is the same as the number of levels in the first level set. That is, the first comparison module compares the M data voltage values with the target preset value, and the first comparison module outputs M comparison results, where M is a positive integer.
  • the target preset value may be a preset reference voltage (reference voltage) value or a reference current value.
  • the data voltage value may be a voltage or a voltage value converted from current, power, etc., which is not specifically limited in the embodiment of the present disclosure.
  • the second comparison module 102 is configured to compare the second data voltage value with the target preset value when it is detected that the charging device 100 is connected to the device to be charged, and output the first level set according to the comparison result.
  • the number of levels in the second level set is the same as the number of second data voltage values. That is, the second comparison module compares the N data voltage values with the target preset value, and the second comparison module outputs N comparison results, where N is a positive integer.
  • the number of data voltage values compared by the first comparison module and the second comparison module may be the same or different, which is not specifically limited in the embodiment of the present disclosure.
  • the control module 103 is configured to control the charging module 104 to charge the device to be charged with the target power according to the first level set and the second level set.
  • the first comparison module and the second comparison module obtain the level sets for different devices to be charged, which may be different or the same. This is not specifically limited.
  • the charging device when the charging device detects that the charging device is connected to the device to be charged, it can obtain the first level set and the second level set corresponding to the device to be charged according to the first comparison module and the second comparison module, and then according to the first The level in the level set and the level in the second level set determine the target power, and the target power meets the tolerable charging power of the device to be charged. Therefore, when the device to be charged does not perform power detection, the charging module can be controlled according to the first comparison module and the second comparison module to charge the device to be charged with the target power determined by the charging device, so as to avoid using too high power for the device to be charged. The device is charged. Therefore, the charging device provided by the embodiment of the present disclosure can improve the safety of charging.
  • the first data voltage value is the voltage value of the first data pin
  • the second data voltage value is the voltage value of the second data pin
  • the first data pin and the second data pin are the voltage values of the charging device.
  • Data pin That is, the first comparison module compares the voltage value on the first data pin of the charging device with the target preset value; the second comparison module compares the voltage value on the second data pin of the charging device with the target preset value. value.
  • the first comparison module in the charging device can be used to compare the target preset value of the voltage value on the first data pin of the charging device, and the second The comparison module determines the target power according to the voltage value on the second data pin of the charging device and the target preset value, and according to the output combination of the first level and the level in the second level set.
  • the first data pin is a positive data pin
  • the second data pin is a negative data pin. That is, the first comparison module compares the voltage value on the positive data pin of the charging device with the target preset value; the second comparison module compares the voltage value on the negative data pin of the charging device with the target The size of the preset value.
  • the charging device when the charging device detects that the charging device is connected to the device to be charged, it can use the first comparison module in the charging device to compare the voltage value on the forward data pin with the target preset value, and use the second comparison module to compare The voltage value on the negative data pin and the target preset value, and then the charging device determines the target power according to the output first level set and second level set.
  • the first data pin is a negative data pin
  • the second data pin is a positive data pin. That is, the first comparison module compares the voltage value on the negative data pin of the charging device with the target preset value; the second comparison module compares the voltage value on the positive data pin of the charging device and The size of the target preset value.
  • the charging device when the charging device detects that the charging device is connected to the device to be charged, it can use the first comparison module in the charging device to compare the voltage value on the negative data pin with the target preset value, and use the second comparison module to compare The voltage value on the forward data pin and the target preset value, and then the charging device determines the target power according to the output first level set and second level set.
  • the positive data pin is called the D+ pin
  • the negative data pin is called the D- pin
  • the device to be charged can also include the D+ pin and the D- pin to connect the charging device and the device to be charged.
  • the line can also include D+ pins and D- pins.
  • the target power includes a first power and a second power, and the first power is greater than or equal to the second power.
  • the first power can be the charging power with a larger charging current or a larger charging voltage provided by the charging device
  • the second power can be the smallest charging power that the charging device can provide, for example, the charging corresponding to the smallest charging current is used. power.
  • the control module 103 is specifically configured to control the charging module 104 to charge the device to be charged with the first power when the first level set and the second level set meet the first condition.
  • the first condition is: the level in the first level set corresponds to the level in the first preset level set, and the level in the second level set corresponds to the level in the second preset level set.
  • the corresponding levels are equal.
  • the first level set includes an output level
  • the first preset level set includes a preset level
  • the first level set includes K output levels
  • the preset level set includes K preset levels respectively corresponding to the K output levels.
  • A1 corresponds to B1
  • A2 corresponds to B2
  • A3 corresponds to B3.
  • the levels in the first level set are correspondingly equal to the levels in the first preset set, which means that the K output levels respectively correspond to the K preset levels in a one-to-one correspondence.
  • the first condition can be understood as: A1 and B1 are equal, A2 and B2 are equal, and A3 and B3 are equal.
  • the device to be charged performs power detection on the charging device, the first level set and the second level set meet the first condition.
  • the charging device may directly use a larger first power to charge the device to be charged, or may charge the device to be charged according to the first power requested by the device to be charged after power detection is completed.
  • the control module 103 is specifically configured to control the charging module 104 to use the second power to charge the device to be charged when the first level set and the second level set do not meet the first condition.
  • the charging current corresponding to the first power is 1 ampere
  • the charging current corresponding to the second power is 300 milliamperes. If the first condition is not met, a charging current of 300 mA can be used for charging.
  • the charging device when the device to be charged is connected to the charging device, the charging device is not tested for power, or the device to be charged does not support power detection of the charging device, or the connection line connecting the charging device to the charging device is unqualified (for example, no first data Voltage value and no second data voltage value), the first level set and the second level set do not meet the first condition.
  • the charging device of the embodiment of the present disclosure if the charging device can determine to use a smaller second power to charge the device to be charged according to the first voltage set and the second voltage set, it is avoided that the high-power charging device uses high power as the only power. Using low-power charging equipment to be charged, so that the charging process is safer.
  • the first comparison module 101 includes a first comparator 101a and a second comparator 101b
  • the second comparison module 102 includes a third comparator 102a and a fourth comparator 102b
  • the first comparator 101a, the second comparator 101b, the third comparator 102a, and the fourth comparator 102b are all connected to the control module 103.
  • the target preset value includes a first preset value and a second preset value
  • the first level set includes a first level and a second level
  • the second level set includes a third level and a fourth level.
  • the first comparator 101a is used to compare the first data voltage with a first preset value, and output the first level according to the comparison result.
  • the second comparator 101b is used to compare the first data voltage with a second preset value, and output the second level according to the comparison result.
  • the third comparator 102a is used to compare the second data voltage with the first preset value, and output a third level according to the comparison result.
  • the fourth comparator 102b is used to compare the second data voltage with a second preset value, and output a fourth level according to the comparison result.
  • the first preset level set includes a first preset level and a second preset level.
  • the first preset level is a high level
  • the second preset level is a low level.
  • the first preset level is a low level
  • the second preset level is a high level.
  • the second preset level set includes a third preset level and a fourth preset level.
  • the third preset level is a high level
  • the fourth preset level is a low level.
  • the third preset level is a low level
  • the fourth preset level is a high level.
  • the first condition may be: the first level is equal to the first preset level, the second level is equal to the second preset level, the third level is equal to the third preset level, and the fourth level is equal to The level is equal to the fourth preset level.
  • Table 1 is an exemplary corresponding relationship between the level in the first level set and the level in the second level set and the target preset value when the first condition is met according to the embodiments of the present disclosure. form.
  • the first preset level is high
  • the second preset level is low
  • the third preset level is high
  • the fourth preset level is high.
  • the level is low.
  • the first condition is: the first level is high level, the second level is low level, the third level is high level, and the fourth level is high level. At least one of the first level, the second level, the third level, and the fourth level is different from the corresponding preset level, and the first condition is not satisfied.
  • the voltage on different data pins can be compared with the target preset value according to the first comparator, the second comparator, the third comparator and the fourth comparator in the charging device, and each of them can be determined according to the comparison result.
  • the output level of the comparator and then determine whether the first condition is satisfied according to the output level of each comparator.
  • the device to be charged is charged with a larger first power.
  • the device to be charged is charged with a smaller second power.
  • the first comparator, the second comparator, the third comparator, and the fourth comparator are all positive voltage comparators, and the first preset value is 0.5V, and the second preset value is 0.7V. Examples are explained.
  • the comparator 101a is a first comparator
  • the comparator 101b is a second comparator
  • the comparator 102a is a third comparator
  • the comparator 102b is a fourth comparator.
  • a positive voltage comparator if a positive voltage comparator is used, if the positive terminal voltage is greater than the negative terminal voltage, the output of the comparator is high, and if the positive terminal voltage is lower than the negative terminal voltage, the output of the comparator is Low level.
  • the first condition is: the output of the first comparator is low, the output of the second comparator is high, the output of the third comparator is low, and the output of the fourth comparator is high.
  • the above description is made with only four comparators with the same comparators.
  • the four comparators may be all the same comparators, may be partially the same comparators, or may be Comparators that are completely different are not specifically limited in the embodiment of the present disclosure.
  • the comparator may be a positive voltage comparator or a negative voltage comparator.
  • the type of the comparator can be a single limit comparator, a hysteresis comparator, and a double limit comparator.
  • the single-limit comparator is illustrated in Figure 3.
  • the comparison module adopted by the charging device is a dual-limit comparator
  • the first comparison module and the second comparison module are respectively a dual-limit comparator.
  • the first comparison module is a first double limit comparator
  • the second comparison module is a second double limit comparator.
  • the first dual-limit comparator compares the first data voltage with the first preset value and the second preset value
  • the second dual-limit comparator compares the second data voltage with the first preset value and the second preset value.
  • one input terminal of the first dual limit comparator inputs the first data voltage, one input terminal inputs the first preset value, one input terminal inputs the second preset value, and the output terminal outputs the comparison result.
  • One input terminal of the second double limit comparator inputs the second data voltage, one input terminal inputs the first preset value, one input terminal inputs the second preset value, and the output terminal outputs the comparison result.
  • the first dual-limit comparator if the first data voltage is between the first preset value and the second preset value, the first dual-limit comparator outputs a low level, and if the first data voltage is not between the first preset value and the second preset value Between the second preset values, the first dual-limit comparator outputs a high level. That is, the first condition is: the output of the first double limit comparator is low level, and the output level of the second double limit comparator is low level.
  • comparators used by the first comparison module and the second comparison module may be the same or different, which is not specifically limited in the embodiment of the present disclosure.
  • the D+ pin of the charging device is connected to the D+ pin of the device to be charged, and the D- lead of the charging device The pin is connected to the D- pin of the device to be charged, so that the D+ pin and D- pin of the charging device are short-circuited, and the average of the D+ pin and D- pin of the charging device is between 0.5V and 0.7V . If the device to be charged does not perform power detection, at least one of the D+ pin and D- pin of the charging device is not between 0.5V and 0.7V. For example, if the device to be charged does not perform power detection on the charging device.
  • the first preset value is 0.5V and the second preset value is 0.7V, if the voltage of the D+ pin and the D- pin is 0.6V, in combination with the charging device 100 of FIG. 3, it can be determined:
  • the negative terminal voltage U D- of the comparator 102a 0.6V
  • the positive terminal voltage U R3 0.5V
  • the V out3 output according to the comparison result is low level.
  • the first condition is: the output of the comparator 101a is low, the output of the comparator 101b is high, the output of the comparator 102a is low, and the output of the comparator 102b is high. level. If the output of any one of the comparator 101a, the comparator 101b, the comparator 102a, and the comparator 102b is different from the above, the first condition is not met.
  • the first condition is: the output of the comparator 101a is high, the output of the comparator 101b is low, the output of the comparator 102a is high, and the output of the comparator 102b is low. level. If the output of any one of the comparator 101a, the comparator 101b, the comparator 102a, and the comparator 102b is different from the above, the first condition is not met.
  • the charging device detects that there is no voltage at the negative terminal of the comparator, it can be considered that the input of the negative terminal of the comparator is 0.
  • the charging line is a poor quality charging line, there may be no Data pin. At this time, the charging device can be charged with lower power or stop output.
  • the charging system used in the charging method of the embodiment of the present disclosure is given below.
  • 4 is a charging system provided by an embodiment of the present disclosure.
  • the charging system includes a charging device 100 and a device to be charged 400 or a device to be charged 401 connected to the charging device 100.
  • the Vbus pin, D- pin, D+ pin, and Gnd pin of the charging device 100 are respectively connected to the Vbus pin, D- pin, D+ pin of the device to be charged 400
  • the pin is connected to the Gnd pin, the D- pin and D+ pin of the charging device are short-circuited, and the D- pin and D+ pin of the charging device are connected to the pull-down resistor R used for communication.
  • the Vbus pin and Gnd pin of the charging device 100 are respectively connected to the Vbus pin and Gnd pin of the device to be charged 401, wherein the D- pin of the charging device is floating , D+ pin is left floating.
  • FIG. 5 is a schematic flowchart of a charging method provided by an embodiment of the disclosure. As shown in FIG. 5, the charging method includes S501 and S502:
  • the first level set is used to indicate the comparison result between the first data voltage value and the target preset value
  • the second level set is used to indicate the comparison result between the second data voltage value and the target preset value
  • first level set the second level set
  • first data voltage value the second data voltage value
  • target preset value can all refer to the description in the foregoing embodiment, which will not be repeated here.
  • the charging device uses the target power to charge the device to be charged according to the first level set and the second level set.
  • the different devices to be charged obtained by the charging device obtain a level set, which may be different or the same, which is not specifically limited in the embodiment of the present disclosure.
  • the charging device when the charging device detects that the charging device is connected to the device to be charged, it can obtain the first level set and the second level set, and then according to the level in the first level set and the level in the second level set. Determine the target power level, which is consistent with the tolerable charging power of the device to be charged. Therefore, in the case that the device to be charged does not perform power detection, the device to be charged can be charged according to the target power determined by the charging device to avoid using too high power to charge the device to be charged. Therefore, the charging device provided by the embodiment of the present disclosure , Can improve the safety of charging.
  • the target power includes a first power and a second power, and the first power is greater than or equal to the second power.
  • S502 may be specifically executed by S502a or S502b.
  • the first condition is: the level in the first level set corresponds to the level in the first preset level set and the level in the second level set is equal to the level in the preset level set. Ping corresponds to equal.
  • the charging device when the charging device detects that the charging device is connected to the device to be charged, if the first level set and the second level set meet the first condition, the charging device can directly use the larger first power as the device to be charged For charging, the device to be charged can also be charged according to the first power requested by the device to be charged after the power detection is completed. If the first level set and the second level set do not meet the first condition, the charging device of the embodiment of the present disclosure can be used, and according to the first voltage set and the second voltage set, it is determined that a smaller second power is used for charging.
  • the charging of the equipment avoids that the high-power charging device uses high-power to charge the equipment to be charged that can only be charged with low-power, thereby making the charging process safer.
  • the first preset level set includes a first preset level and a second preset level; wherein the first preset level is a high level and the second preset level is a low level, or , The first preset level is a low level, and the second preset level is a high level.
  • the combination of the second preset level includes a third preset level and a fourth preset level; wherein the third preset level is a low level and the fourth preset level is a high level.
  • the first condition may be: the first level is equal to the first preset level, the second level is equal to the second preset level, the third level is equal to the third preset level, and the fourth level is equal to The level is equal to the fourth preset level.
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present disclosure.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

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

Abstract

本公开实施例提供一种充电装置及充电方法,该充电装置包括:第一比较模块、第二比较模块、与第一比较模块和第二比较模块连接的控制模块,以及与控制模块连接的充电模块;第一比较模块,用于在检测到充电装置与待充电设备连接时,比较第一数据电压值和目标预设值,并根据比较结果输出第一电平集合;第二比较模块,用于在检测到充电装置与待充电设备连接时,比较第二数据电压值和该目标预设值,并根据比较结果输出第二电平集合;控制模块,用于根据第一电平集合和第二电平集合,控制充电模块以目标功率为待充电设备充电。

Description

充电装置及充电方法
相关申请的交叉引用
本申请主张在2019年05月29日在中国提交的中国专利申请号201910458455.0的优先权,其全部内容通过引用包含于此。
技术领域
本公开实施例涉及终端技术领域,尤其涉及一种充电装置及充电方法。
背景技术
通常,在充电前,终端设备首先根据充电协议1.2(battery charge specification 1.2,BC1.2)对充电装置进行功率检测,以获取充电装置可以输出的功率;然后,终端设备请求充电装置使用适合该终端设备的充电功率为该终端设备充电。比如,支持大功率充电的终端设备连接专用充电器可以请求充电装置使用较大的功率充电,接连电脑USB接口可以请求充电装置使用较小的功率充电。
然而,一些终端设备在充电前不进行功率检测,比如一些终端设备不支持BC1.2。由于这些终端设备不对充电装置进行功率检测,充电装置可能会以较大功率为仅支持小功率充电的终端设备充电,使得终端设备的充电电路过载,造成终端设备的充电电路损坏或者造成温度过高而引发安全事故。因此,目前的充电方式安全性较低。
发明内容
本公开实施例提供一种充电装置及充电方法,以解决终端设备未进行功率检测,导致终端设备充电安全性较低的问题。
为了解决上述技术问题,本公开实施例是这样实现的:
第一方面,本公开实施例提供一种充电装置,该充电装置包括:第一比较模块、第二比较模块、与第一比较模块和第二比较模块连接的控制模块,以及与控制模块连接的充电模块;第一比较模块,用于在检测到充电装置与待充电设备连接时,比较第一数据电压值和目标预设值,并根据比较结果输出第一电平集合;第二比较模块,用于在检测到充电装置与待充电设备连接时,比较第二数据电压值和上述目标预设值,并根据比较结果输出第二电平集合;控制模块,用于根据第一电平集合和第二电平集合,控制充电模块以目标功率为待充电设备充电。
第二方面,本公开实施例还提供了一种充电方法,该充电方法应用于充电装置,该方法包括:在检测到充电装置与待充电设备连接时,获取第一电平集合和第二电平集合,第一电平集合用于指示第一数据电压值和目标预设值的比较结果,第二电平集合用于指示第二数据电压值和上述目标预设值的比较结果;根据第一电平集合和第二电平集合,以目标功率为待充电设备充电。
在本公开实施例中,充电装置检测到充电装置与待充电设备连接时,可以根据第一比较模块和第二比较模块获取待充电设备对应的第一电平集合和第二电平集合,然 后根据第一电平集合中的电平和第二电平集合中的电平确定目标功率,该目标功率符合待充电设备的可以承受的充电功率。因此,在待充电设备没有进行功率检测的情况下,可以根据第一比较模块和第二比较模块控制充电模块以充电装置确定的目标功率为待充电设备充电,避免采用过高的功率为待充电设备充电,因此,本公开实施例提供的充电装置,可以提高充电的安全性。
附图说明
图1为本公开实施例提供的充电装置示意图之一;
图2为本公开实施例提供的充电装置示意图之二;
图3为本公开实施例提供的充电装置示意图之三;
图4为本公开实施例提供的一种充电系统示意图;
图5为本公开实施例提供的一种充电方法的流程示意图。
具体实施方式
首先对本公开实施例中涉及的一些术语/名词进行解释说明。
1、BC1.2协议
BC1.2协议中规定了标准下行接口(standard downstream port,SDP)、充电下行接口(charging downstream port,DCP)和专用充电接口(dedicated charging port,CDP)。其中,SDP接口采用USB 2.0&USB 3.0的规格定义,若为USB2.0的SDP接口,则充电电流为500mA;若为USB3.0的SDP接口,则充电电流为900mA。CDP接口既支持充电,也支持数据传输,最大充电电流可达1A。DCP接口支持1.5A以上的充电电流,采用DCP接口充电正向数据引脚D+和负向数据引脚D-短接,不能传数据。
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“多个”是指两个或多于两个。
本公开的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一比较模块和第二比较模块等是用于区别不同的比较模块,而不是用于描述比较模块的特定顺序。
需要说明的是,本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更可选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
需要说明的,本公开实施例中的充电装置可以为充电插头、移动充电电源、带有USB接口的电脑主机、具有充电功能的手机等,本公开实施例对此不作具体限定。
本公开实施例中的待充电设备可以为任一种需要充电的电子设备,例如移动终端、移 动电源、电子玩具等,本公开实施例对此不作具体限定。
本公开实施例中的待充电设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本公开实施例不作具体限定。
本公开实施例提供一种充电装置,充电装置包括:第一比较模块、第二比较模块、与第一比较模块和第二比较模块连接的控制模块,以及与控制模块连接的充电模块;第一比较模块,用于在检测到充电装置与待充电设备连接时,比较第一数据电压值和目标预设值,并根据比较结果输出第一电平集合;第二比较模块,用于在检测到充电装置与待充电设备连接时,比较第二数据电压值和目标预设值,并根据比较结果输出第二电平集合;控制模块,用于根据第一电平集合和第二电平集合,控制充电模块以目标功率为待充电设备充电。由于,充电装置检测到充电装置与待充电设备连接时,可以根据第一比较模块和第二比较模块获取待充电设备对应的第一电平集合和第二电平集合,然后根据第一电平集合中的电平和第二电平集合中的电平确定目标功率,该目标功率符合待充电设备的可以承受的充电功率。因此,在待充电设备没有进行功率检测的情况下,可以根据第一比较模块和第二比较模块控制充电模块以充电装置确定的目标功率为待充电设备充电,避免采用过高的功率为待充电设备充电,因此,本公开实施例提供的充电装置,可以提高充电的安全性。
如图1所示,为本公开实施例提供一种充电装置示意图,该充电装置100包括:第一比较模块101、第二比较模块102、与第一比较模块101和第二比较模块102连接的控制模块103,以及与控制模块103连接的充电模块104。
第一比较模块101,用于在检测到充电装置100与待充电设备连接时,比较第一数据电压值和目标预设值,并根据比较结果输出第一电平集合。
需要说明的是,需要和目标预设值比较的第一数据电压的数量与第一电平集合中的电平的数量相同。也就是说,第一比较模块将M个数据电压值和目标预设值比较,第一比较模块输出M个比较结果,M为正整数。
可选地,目标预设值可以为预设的参考电压(reference voltage)值或参考电流值。
需要说明的是,数据电压值可以为电压,也可以为由电流、功率等转换而成的电压值,本公开实施例对此不作具体限定。
第二比较模块102,用于在检测到充电装置100与待充电设备连接时,比较第二数据电压值和目标预设值,并根据比较结果输出第一电平集合。
同样的,第二电平集合中的电平的数量与第二数据电压值的数量相同。也就是说,第二比较模块将N个数据电压值和目标预设值比较,则第二比较模块输出N个比较结果,N为正整数。
需要说明的是,第一比较模块和第二比较模块比较的数据电压值的数量可以相同、也可以不同,本公开实施例对此不作具体限定。
控制模块103,用于根据第一电平集合和第二电平集合,控制充电模块104以目标功率为待充电设备充电。
可以理解的是,充电装置与不同的待充电设备连接时,第一比较模块和第二比较模块针对不同的待充电设备得到电平集合,可以各不相同,也可以相同,本公开实施例对此不作具体限定。
基于该方案,充电装置检测到充电装置与待充电设备连接时,可以根据第一比较模块和第二比较模块获取待充电设备对应的第一电平集合和第二电平集合,然后根据第一电平集合中的电平和第二电平集合中的电平确定目标功率,该目标功率符合待充电设备的可以承受的充电功率。因此,在待充电设备没有进行功率检测的情况下,可以根据第一比较模块和第二比较模块控制充电模块以充电装置确定的目标功率为待充电设备充电,避免采用过高的功率为待充电设备充电,因此,本公开实施例提供的充电装置,可以提高充电的安全性。
可选地,第一数据电压值为第一数据引脚的电压值,第二数据电压值为第二数据引脚的电压值,第一数据引脚和第二数据引脚为充电装置中的数据引脚。即,第一比较模块比较的是充电装置中第一数据引脚上的电压值和目标预设值;第二比较模块比较的是充电装置中第二数据引脚上的电压值和目标预设值。
也就是说,充电装置在检测到充电装置与待充电设备连接时,可以采用充电装置中的第一比较模块比较充电装置的第一数据引脚上的电压值的目标预设值,采用第二比较模块根据充电装置的第二数据引脚上的电压值和目标预设值,根据输出的第一电平结合和第二电平集合中的电平确定目标功率。
可选地,第一数据引脚为正向数据引脚,第二数据引脚为负向数据引脚。即,第一比较模块比较的是充电装置中正向数据引脚上的电压值和目标预设值的大小;第二比较模块比较的是充电装置中的负向数据引脚上的电压值和目标预设值的大小。
也就是说,充电装置在检测到充电装置与待充电设备连接时,可以采用充电装置中的第一比较模块比较正向数据引脚上的电压值和目标预设值,采用第二比较模块比较负向数据引脚上的电压值和目标预设值,然后充电装置根据输出的第一电平集合和第二电平集合,确定目标功率。
可选地,第一数据引脚为负向数据引脚,第二数据引脚为正向数据引脚。即,第一比较模块比较的是充电装置中负向数据引脚上的电压值和目标预设值的大小;第二比较模块比较的是充电装置中的正向数据引脚上的电压值和目标预设值的大小。
也就是说,充电装置在检测到充电装置与待充电设备连接时,可以采用充电装置中的第一比较模块比较负向数据引脚上的电压值和目标预设值,采用第二比较模块比较正向数据引脚上的电压值和目标预设值,然后充电装置根据输出的第一电平集合和第二电平集合,确定目标功率。
通常,正向数据引脚称为D+引脚,负向数据引脚称为D-引脚,待充电设备中也可以包括D+引脚和D-引脚,连接充电装置和待充电设备的连接线也可以包括D+引脚和D-引脚。
可选地,目标功率包括第一功率和第二功率,第一功率大于或等于第二功率。
其中,第一功率可以为充电装置提供的充电电流较大或充电电压较大的充电功率,第二功率可以为充电装置可以提供的最小的充电功率,比如采用的是最小的充电电流对应的充电功率。
控制模块103,具体用于在第一电平集合和第二电平集合满足第一条件的情况下,控制充电模块104以第一功率为待充电设备充电。
其中,第一条件为:第一电平集合中的电平与第一预设电平集合中的电平对应相等、 且第二电平集合中的电平与第二预设电平集合中的电平对应相等。
可以理解的是,第一电平集合中包括一个输出电平,第一预设电平集合中包括一个预设电平。第一电平集合中包括K个输出电平,预设电平集合中包括与该K个输出电平分别对应的K个预设电平。比如A1对应B1,A2对应B2,A3对应B3。第一电平集合中的电平与第一预设集合中的电平对应相等指的是K个输出电平分别于K个预设电平一一对应。第一条件可以理解为:A1和B1相等、A2和B2相等、A3和B3相等。
需要说明的是,若待充电设备对充电装置进行功率检测,则第一电平集合和第二电平集合满足第一条件。充电装置可以直接采用较大的第一功率为待充电设备充电,也可以根据待充电设备在功率检测完毕后请求的第一功率为待充电设备充电。
控制模块103,具体用于在第一电平集合和第二电平集合不满足第一条件的情况下,控制充电模块104以第二功率为待充电设备充电。
示例性的,假设第一功率对应的充电电流为1安,第二功率对应的充电电流为300毫安。则不满足第一条件的情况下可以采用300毫安的充电电流进行充电。
可以理解,待充电设备与充电装置连接时未对充电装置进行功率检测,或者待充电设备不支持对充电装置进行功率检测,或者连接充电装置和待充电的连接线不合格(例如无第一数据电压值、无第二数据电压值),则第一电平集合和第二电平集合不满足第一条件。采用本公开实施例的充电装置,若充电装置可以根据第一电压集合和第二电压集合确定采用较小的第二功率为待充电设备充电,避免了大功率的充电装置以大功率为仅能采用小功率充电的待充电设备充电,从而使得充电过程更加安全。
可选地,结合图1,如图2所示,第一比较模块101包括第一比较器101a和第二比较器101b,第二比较模块102包括第三比较器102a和第四比较器102b,第一比较器101a、第二比较器101b、第三比较器102a和第四比较器102b均与控制模块103连接。
目标预设值包括第一预设值和第二预设值,第一电平集合包括第一电平和第二电平,第二电平集合包括第三电平和第四电平。
第一比较器101a,用于比较第一数据电压和第一预设值,并根据比较结果输出第一电平。
第二比较器101b,用于比较第一数据电压和第二预设值,并根据比较结果输出第二电平。
第三比较器102a,用于比较第二数据电压和第一预设值,并根据比较结果输出第三电平。
第四比较器102b,用于比较第二数据电压和第二预设值,并根据比较结果输出第四电平。
可选地,第一预设电平集合包括第一预设电平和第二预设电平。
其中,第一预设电平为高电平、第二预设电平为低电平。或者,第一预设电平为低电平、第二预设电平为高电平。
第二预设电平集合包括第三预设电平和第四预设电平。
其中,第三预设电平为高电平、第四预设电平为低电平。或者,第三预设电平为低电平、第四预设电平为高电平。
进而,第一条件可以为:第一电平与第一预设电平相等、第二电平与第二预设电平相 等、第三电平与第三预设电平相等、第四电平与第四预设电平相等。
示例性的,表1为本公开实施例提供的在满足第一条件时,第一电平集合中的电平、第二电平集合中的电平分别与目标预设值对应关系的示例性表格。
表1
Figure PCTCN2020079491-appb-000001
示例性的,结合表1可以看出,若第一预设电平为高电平、第二预设电平为低电平、第三预设电平为高电平、第四预设电平为低电平。则第一条件为:第一电平为高电平、第二电平为低电平、第三电平为高电平、第四电平为高电平。第一电平、第二电平、第三电平和第四电平中的至少一个与对应的预设电平不同,则不满足第一条件。
通过该方案,可以根据充电装置中的第一比较器、第二比较器、第三比较器和第四比较器,比较不同数据引脚上的电压和目标预设值,根据比较结果确定每个比较器的输出电平,然后根据每个比较器的输出电平确定是否满足第一条件,在满足第一条件的情况下,以较大的第一功率为待充电设备充电,在不满足第一条件的情况下,以较小的第二功率为待充电设备充电。
示例性的,以第一比较器、第二比较器、第三比较器和第四比较器均为正向电压比较器以第一预设值为0.5V,第二预设值为0.7V为例进行说明。
可选地,结合图2,如图3所示,比较器101a为第一比较器,比较器101b为第二比较器,比较器102a为第三比较器,比较器102b为第四比较器。
比较器101a的反向端与充电装置的D+引脚连接,比较器101a的正向端电压为第一预设值U R1=0.5V。
比较器101b的反向端与充电装置的D+引脚连接,比较器101b的正向端电压为第二预设值U R2=0.7V。
比较器102a的反向端与充电装置的D-引脚连接,比较器102a的正向端电压为第一预设值U R3=0.5V。
比较器102b的反向端与充电装置的D-引脚连接,比较器102b的正向端电压为第二预设值U R4=0.7V。
通常,若使用正向电压比较器,若正向端电压比负向端电压大,则比较器的输出为高电平,若正向端电压比负向端电压小,则比较器的输出为低电平。
即,第一条件为:第一比较器输出为低电平、第二比较器输出为高电平、第三比较器输出为低电平以及第四比较器输出为高电平。
需要说明的是,上述仅以四个比较器均相同的比较器进行说明,在本公开实施例中,四个比较器可以为全部相同的比较器、可以为部分相同的比较器,也可以为全不相同的比较器,本公开实施例对此不作具体限定。
可选地,比较器可以为正向电压比较器或负向电压比较器。
具体的,比较器的类型可以为单限比较器、迟滞比较器、双限比较器。其中,图3中以单限比较器进行说明。
需要说明的是,若充电装置采用的比较模块为双限比较器,则第一比较模块和第二比较模块分别为一个双限比较器。
例如,第一比较模块为第一双限比较器,第二比较模块为第二双限比较器。以第一双限比较器比较第一数据电压与第一预设值和第二预设值,第二双限比较器比较第二数据电压与第一预设值和第二预设值。
其中,第一双限比较器的一个输入端输入第一数据电压,一个输入端输入第一预设值,一个输入端输入第二预设值,输出端输出比较结果。第二双限比较器的一个输入端输入第二数据电压,一个输入端输入第一预设值,一个输入端输入第二预设值,输出端输出比较结果。
需要说明的是,若第一数据电压在第一预设值和第二预设值之间,则第一双限比较器输出低电平,若第一数据电压在不在第一预设值和第二预设值之间,则第一双限比较器输出高电平。即第一条件为:第一双限比较器的输出为低电平,且第二双限比较器的输出电平为低电平。
需要说明的是,第一比较模块和第二比较模块采用的比较器的类型可以相同,也可以不相同,本公开实施例对此不作具体限定。
通常,在充电装置和待充电设备连接时,若待充电设备根据BC1.2协议对充电装置进行功率检测,充电装置的D+引脚和待充电设备的D+引脚连接,充电装置的D-引脚和待充电设备的D-引脚连接,使得充电设备的D+引脚和D-引脚短接,且充电装置的D+引脚和D-引脚的电平均在0.5V到0.7V之间。若待充电设备没有进行功率检测,则充电装置的D+引脚和D-引脚的电平至少一个不在0.5V到0.7V之间,比如,若待充电设备不对充电装置进行功率检测。
示例1:
假设第一预设值为0.5V,第二预设值为0.7V,若D+引脚和D-引脚的电压为0.6V,结合图3的充电装置100,可以确定:
比较器101a的负向端电压U D+=0.6V,正向端电压U R1=0.5V,根据比较结果输出的V out1为低电平。
比较器101b的负向端电压U D+=0.6V,正向端电压U R2=0.7V,根据比较结果输出的V out2为高电平。
比较器102a的负向端电压U D-=0.6V,正向端电压U R3=0.5V,根据比较结果输出的V out3为低电平。
比较器102b的负向端电压U D-=0.6V,正向端电压U R4=0.7V,根据比较结果输出的V out4为高电平。
即,在该示例中,第一条件为:比较器101a的输出为低电平、比较器101b的输出为高电平、比较器102a的输出为低电平、比较器102b的输出为高电平。若比较器101a、比较器101b、比较器102a和比较器102b中任意一个比较器的输出与上述的不同,则为不符合第一条件。
需要说明的,在该示例中,若U D+和U D-均为0.5V,则规定比较器的输出为低电平, 若U D+和U D-均为0.7V,则规定比较器的输出为高电平。
示例2:
假设第一预设值为0.7V,第二预设值为0.5V,若D+和D-的电压为0.6V,结合图3的充电装置100,可以确定:
比较器101a的负向端电压U D+=0.6V,正向端电压U R1=0.7V,根据比较结果输出的V out1为高电平。
比较器101b的负向端电压U D+=0.6V,正向端电压U R2=0.5V,根据比较结果输出的V out2为低电平。
比较器102a的负向端电压U D-=0.6V,正向端电压U R3=0.7V,根据比较结果输出的V out3为高电平。
比较器102b的负向端电压U D-=0.6V,正向端电压U R4=0.5V,根据比较结果输出的V out4为低电平。
即,在该示例中,第一条件为:比较器101a的输出为高电平、比较器101b的输出为低电平、比较器102a的输出为高电平、比较器102b的输出为低电平。若比较器101a、比较器101b、比较器102a和比较器102b中任意一个比较器的输出与上述的不同,则为不符合第一条件。
需要说明的是,本公开实施例中提供的充电装置若检测到比较器负向端无电压,可以认为比较器的负向端的输入为0,当充电线为质量较差的充电线,可能没有数据引脚,此时充电装置可以采用较小的功率充电,或者停止输出。
为了便于理解本公开的充电方法,下面给出本公开实施例的充电方法使用的充电系统。图4为本公开实施例提供的一种充电系统,该充电系统包括充电装置100、与充电装置100连接的待充电设备400或待充电设备401。其中,如图4中的(a)所示,充电装置100的Vbus引脚、D-引脚、D+引脚和Gnd引脚分别与待充电设备400的Vbus引脚、D-引脚、D+引脚和Gnd引脚连接,充电装置的D-引脚、D+引脚短接,充电装置的D-引脚、D+引脚连接之间连接通信使用的下拉电阻R。其中,如图4中的(b)所示,充电装置100的Vbus引脚和Gnd引脚分别与待充电设备401的Vbus引脚和Gnd引脚连接,其中,充电装置的D-引脚悬空、D+引脚悬空。
下面结合图4中的充电系统对本公开实施例的充电方法进行说明,该充电方法应用于上述的任一种充电装置。
图5为本公开实施例提供的一种充电方法的流程示意图,如图5所示,该充电方法包括S501和S502:
S501、充电装置在检测到充电装置与待充电设备连接时,获取第一电平集合和第二电平集合。
其中,第一电平集合用于指示第一数据电压值和目标预设值的比较结果,第二电平集合用于指示第二数据电压值和目标预设值的比较结果。
需要说明的是,第一电平集合、第二电平集合、第一数据电压值、第二数据电压值、目标预设值的描述均可以参考上述实施例中的描述,在此不再赘述。
S502、充电装置根据第一电平集合和第二电平集合,以目标功率为待充电设备充电。
充电装置与不同的待充电设备连接时,充电装置获取的不同的待充电设备得到电平集 合,可以各不相同,也可以相同,本公开实施例对此不作具体限定。
基于该方案,充电装置检测到充电装置与待充电设备连接时,可以获取第一电平集合和第二电平集合,然后根据第一电平集合中的电平和第二电平集合中的电平确定目标功率,该目标功率符合待充电设备的可以承受的充电功率。因此,在待充电设备没有进行功率检测的情况下,可以根据充电装置确定的目标功率为待充电设备充电,避免采用过高的功率为待充电设备充电,因此,本公开实施例提供的充电装置,可以提高充电的安全性。
可选地,目标功率包括第一功率和第二功率,第一功率大于或等于第二功率。
进而,上述S502具体可以通过S502a或S502b执行。
S502a、在第一电平集合和第二电平集合满足第一条件的情况下,充电装置以第一功率为待充电设备充电。
S502b、在第一电平集合和第二电平集合不满足第一条件的情况下,充电装置以第二功率为待充电设备充电。
其中,第一条件为:第一电平集合中的电平与第一预设电平集合中的电平对应相等、且第二电平集合中的电平与预设电平集合中的电平对应相等。
基于该方案,充电装置在检测到充电装置与待充电设备连接时,若第一电平集合和第二电平集合满足第一条件,充电装置可以直接采用较大的第一功率为待充电设备充电,也可以根据待充电设备在功率检测完毕后请求的第一功率为待充电设备充电。若第一电平集合和第二电平集合不满足第一条件,则可以采用本公开实施例的充电装置,根据第一电压集合和第二电压集合确定采用较小的第二功率为待充电设备充电,避免了大功率的充电装置以大功率为仅能采用小功率充电的待充电设备充电,从而使得充电过程更加安全。
可选地,第一预设电平集合包括第一预设电平和第二预设电平;其中,第一预设电平为高电平、第二预设电平为低电平,或者,第一预设电平为低电平、第二预设电平为高电平。
可选地,第二预设电平结合包括第三预设电平和第四预设电平;其中,第三预设电平为低电平、第四预设电平为高电平。
进而,第一条件可以为:第一电平与第一预设电平相等、第二电平与第二预设电平相等、第三电平与第三预设电平相等、第四电平与第四预设电平相等。
需要说明的是,针对第一条件可以参考上述实施例中的描述,在此不再赘述。
可以理解的是,采用不同的预设电平,使得满足的第一条件的电平值组合可以更加多样。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如 ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (9)

  1. 一种充电装置,所述充电装置包括:第一比较模块、第二比较模块、与所述第一比较模块和所述第二比较模块连接的控制模块,以及与所述控制模块连接的充电模块;
    所述第一比较模块,用于在检测到所述充电装置与待充电设备连接时,比较第一数据电压值和目标预设值,并根据比较结果输出第一电平集合;
    所述第二比较模块,用于在检测到所述充电装置与所述待充电设备连接时,比较第二数据电压值和所述目标预设值,并根据比较结果输出第二电平集合;
    所述控制模块,用于根据所述第一电平集合和所述第二电平集合,控制所述充电模块以目标功率为所述待充电设备充电。
  2. 根据权利要求1所述的充电装置,其中,所述目标功率包括第一功率和第二功率,所述第一功率大于或等于所述第二功率;
    所述控制模块,具体用于在所述第一电平集合和所述第二电平集合满足第一条件的情况下,控制所述充电模块以所述第一功率为所述待充电设备充电;或者,在所述第一电平集合和所述第二电平集合不满足所述第一条件的情况下,控制所述充电模块以所述第二功率为所述待充电设备充电;
    其中,所述第一条件为:所述第一电平集合中的电平与第一预设电平集合中的电平对应相等、且所述第二电平集合中的电平与第二预设电平集合中的电平对应相等。
  3. 根据权利要求1或2所述的充电装置,其中,所述第一比较模块包括第一比较器和第二比较器,所述第二比较模块包括第三比较器和第四比较器,所述第一比较器、所述第二比较器、所述第三比较器和所述第四比较器均与所述控制模块连接;所述目标预设值包括第一预设值和第二预设值,所述第一电平集合包括第一电平和第二电平,所述第二电平集合包括第三电平和第四电平;其中,
    所述第一比较器,用于比较所述第一数据电压和所述第一预设值,并根据比较结果输出所述第一电平;
    所述第二比较器,用于比较所述第一数据电压和所述第二预设值,并根据比较结果输出所述第二电平;
    所述第三比较器,用于比较所述第二数据电压和所述第一预设值,并根据比较结果输出所述第三电平;
    所述第四比较器,用于比较所述第二数据电压和所述第二预设值,并根据比较结果输出所述第四电平。
  4. 根据权利要求1或2所述的充电装置,其中,所述第一数据电压值为第一数据引脚的电压值,所述第二数据电压值为第二数据引脚的电压值,所述第一数据引脚和所述第二数据引脚为所述充电装置中的数据引脚。
  5. 根据权利要求4所述的充电装置,其中,所述第一数据引脚为正向数据引脚,所述第二数据引脚为负向数据引脚;或者,所述第一数据引脚为负向数据引脚,所述第二数据引脚为正向数据引脚。
  6. 根据权利要求2所述的充电装置,其中,
    所述第一预设电平集合包括第一预设电平和第二预设电平;其中,所述第一预设电平为高电平、所述第二预设电平为低电平,或者,所述第一预设电平为低电平、所述第二预 设电平为高电平;
    所述第二预设电平集合包括第三预设电平和第四预设电平;其中,所述第三预设电平为高电平、所述第四预设电平为低电平,或者,所述第三预设电平为低电平、所述第四预设电平为高电平。
  7. 一种充电方法,应用于如权利要求1至6中任一项所述的充电装置,所述方法包括:
    在检测到所述充电装置与待充电设备连接时,获取第一电平集合和第二电平集合,所述第一电平集合用于指示第一数据电压值和目标预设值的比较结果,所述第二电平集合用于指示第二数据电压值和所述目标预设值的比较结果;
    根据所述第一电平集合和所述第二电平集合,以目标功率为所述待充电设备充电。
  8. 根据权利要求7所述的方法,其中,所述目标功率包括第一功率和第二功率,所述第一功率大于或等于所述第二功率;
    所述根据所述第一电平集合和所述第二电平集合,以目标功率为所述待充电设备充电,包括:
    在所述第一电平集合和所述第二电平集合满足第一条件的情况下,以所述第一功率为所述待充电设备充电;或者,
    在所述第一电平集合和所述第二电平集合不满足所述第一条件的情况下,以所述第二功率为所述待充电设备充电;
    其中,所述第一条件为:所述第一电平集合中的电平与第一预设电平集合中的电平对应相等、且所述第二电平集合中的电平与第二预设电平集合中的电平对应相等。
  9. 根据权利要求8所述的方法,其中,
    所述第一预设电平集合包括第一预设电平和第二预设电平;其中,所述第一预设电平为高电平、所述第二预设电平为低电平,或者,所述第一预设电平为低电平、所述第二预设电平为高电平;
    所述第二预设电平集合包括第三预设电平和第四预设电平;其中,所述第三预设电平为高电平、所述第四预设电平为低电平,或者,所述第三预设电平为低电平、所述第四预设电平为高电平。
PCT/CN2020/079491 2019-05-29 2020-03-16 充电装置及充电方法 WO2020238340A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20812805.8A EP3979455A4 (en) 2019-05-29 2020-03-16 CHARGING DEVICE AND CHARGING METHOD
US17/537,411 US20220085616A1 (en) 2019-05-29 2021-11-29 Charging apparatus and charging method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910458455.0 2019-05-29
CN201910458455.0A CN110086230B (zh) 2019-05-29 2019-05-29 充电装置及充电方法

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/537,411 Continuation-In-Part US20220085616A1 (en) 2019-05-29 2021-11-29 Charging apparatus and charging method

Publications (1)

Publication Number Publication Date
WO2020238340A1 true WO2020238340A1 (zh) 2020-12-03

Family

ID=67422518

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/079491 WO2020238340A1 (zh) 2019-05-29 2020-03-16 充电装置及充电方法

Country Status (4)

Country Link
US (1) US20220085616A1 (zh)
EP (1) EP3979455A4 (zh)
CN (1) CN110086230B (zh)
WO (1) WO2020238340A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086230B (zh) * 2019-05-29 2021-01-08 维沃移动通信有限公司 充电装置及充电方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312014A (zh) * 2012-03-15 2013-09-18 纬创资通股份有限公司 无线充电系统及其无线充电系统控制的方法
US9871390B2 (en) * 2014-09-02 2018-01-16 Silergy Corp. Battery protection integrated circuit applied to battery charging/discharging system and method for determining resistances of voltage divider of battery protection integrated circuit
CN207218342U (zh) * 2017-08-09 2018-04-10 深圳市金田谷科技有限公司 双通道usb专用充电端口控制器
CN108988511A (zh) * 2018-07-06 2018-12-11 佛山市盈智轩科技有限公司 一种高效无线充电方法及无线充电装置
CN110086230A (zh) * 2019-05-29 2019-08-02 维沃移动通信有限公司 充电装置及充电方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2761851A2 (en) * 2011-09-29 2014-08-06 Delta Electronics (Thailand) Public Co., Ltd. Automatic protocol (ap) for usb charger system
CN103208850B (zh) * 2013-04-12 2016-01-13 惠州Tcl移动通信有限公司 可变充电电压的usb充电系统、充电器及智能终端
WO2016019498A1 (en) * 2014-08-05 2016-02-11 Texas Instruments Incorporated Methods, electronic devices, and charger apparatus for quick usb charging
KR102439078B1 (ko) * 2017-06-23 2022-09-01 삼성전자주식회사 전자 장치 및 그의 충전 제어 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312014A (zh) * 2012-03-15 2013-09-18 纬创资通股份有限公司 无线充电系统及其无线充电系统控制的方法
US9871390B2 (en) * 2014-09-02 2018-01-16 Silergy Corp. Battery protection integrated circuit applied to battery charging/discharging system and method for determining resistances of voltage divider of battery protection integrated circuit
CN207218342U (zh) * 2017-08-09 2018-04-10 深圳市金田谷科技有限公司 双通道usb专用充电端口控制器
CN108988511A (zh) * 2018-07-06 2018-12-11 佛山市盈智轩科技有限公司 一种高效无线充电方法及无线充电装置
CN110086230A (zh) * 2019-05-29 2019-08-02 维沃移动通信有限公司 充电装置及充电方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3979455A4 *

Also Published As

Publication number Publication date
CN110086230A (zh) 2019-08-02
EP3979455A4 (en) 2022-08-10
EP3979455A1 (en) 2022-04-06
US20220085616A1 (en) 2022-03-17
CN110086230B (zh) 2021-01-08

Similar Documents

Publication Publication Date Title
JP5388484B2 (ja) 電源を検出するための装置および方法
US20190312446A1 (en) Power Adapter and Mobile Terminal
WO2022001869A1 (zh) 充电电路与充电线缆
CN106291210B (zh) Usb接口检测器、检测方法、usb连接器及电子设备
US7631203B2 (en) Dedicated power supply apparatus, terminal, power supply system, and power supply method
US8692520B2 (en) Method and system for optimizing current limiting behavior of charger
US7271568B2 (en) Battery charger for portable devices and related methods
US10998737B2 (en) Intelligent switch system
CN108886261B (zh) 调节充电端口的连接和分离
US20150303724A1 (en) Universal serial bus adaptor and universal serial bus cable
WO2015113465A1 (zh) 终端、电源适配器和充电异常的处理方法
US20160372936A1 (en) Automatic scheme to detect Multi-Standard Charger Types
US20130002192A1 (en) Method and system for sampling multiple profiles in a charging port without host intervention
US9507398B2 (en) Communication over identification line
US8860378B2 (en) Method and system for attachment and removal indication for battery charging devices
US9018896B2 (en) Method and system for determining whether a portable device is charging
TWI645645B (zh) 快速充電方法、移動終端和轉接器
CN111614141B (zh) Usb连接器放电方法及电路、以及系统
WO2017197736A1 (zh) 一种充电方法、充电器及终端
WO2018018916A1 (zh) 充电系统、终端、电源适配器和充电线
WO2021217310A1 (zh) 充电控制电路、充电控制方法、设备及存储介质
WO2020238340A1 (zh) 充电装置及充电方法
WO2018094868A1 (zh) 一种充电链路的情况的实时监测的方法和设备
CN111813634A (zh) Usb设备接口的类型的识别装置和终端设备
WO2019084812A1 (zh) 适配器、充电线缆、电子设备以及充电系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20812805

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020812805

Country of ref document: EP

Effective date: 20220103