Movatterモバイル変換


[0]ホーム

URL:


CN112636399B - Charging method and device, terminal equipment and storage medium - Google Patents

Charging method and device, terminal equipment and storage medium
Download PDF

Info

Publication number
CN112636399B
CN112636399BCN201910903768.2ACN201910903768ACN112636399BCN 112636399 BCN112636399 BCN 112636399BCN 201910903768 ACN201910903768 ACN 201910903768ACN 112636399 BCN112636399 BCN 112636399B
Authority
CN
China
Prior art keywords
current
input
voltage
input current
charge pump
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910903768.2A
Other languages
Chinese (zh)
Other versions
CN112636399A (en
Inventor
马欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co LtdfiledCriticalBeijing Xiaomi Mobile Software Co Ltd
Priority to CN201910903768.2ApriorityCriticalpatent/CN112636399B/en
Publication of CN112636399ApublicationCriticalpatent/CN112636399A/en
Application grantedgrantedCritical
Publication of CN112636399BpublicationCriticalpatent/CN112636399B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The disclosure relates to a charging method and device, terminal equipment and a storage medium, and belongs to the field of charging. The method comprises the following steps: acquiring the current input voltage of a charge pump in the process of charging a battery by the charge pump; acquiring a corresponding relation between input voltage and input current of a charge pump, wherein the input voltage and the input current are in a negative correlation relation in the corresponding relation; determining an input current corresponding to the current input voltage based on the corresponding relation; and controlling the input current of the charge pump according to the determined input current. The output power of the charge pump can be prevented from exceeding the rated output power of the battery, and meanwhile, higher charging efficiency is obtained.

Description

Translated fromChinese
充电方法和装置、终端设备及存储介质Charging method and device, terminal equipment and storage medium

技术领域technical field

本公开涉及无线充电领域,尤其涉及一种充电方法和装置、终端设备及存储介质。The present disclosure relates to the field of wireless charging, and in particular to a charging method and device, a terminal device, and a storage medium.

背景技术Background technique

为了提高充电效率,目前,许多终端设备均采用电荷泵技术进行充电。在充电过程中,电荷泵的输入电压随着电池电压的增大而增大,而电荷泵的输入电流不变,在这种情况下,容易出现充电功率过大的问题。In order to improve charging efficiency, many terminal devices are currently charged using charge pump technology. During the charging process, the input voltage of the charge pump increases with the increase of the battery voltage, while the input current of the charge pump remains unchanged. In this case, the problem of excessive charging power is prone to occur.

发明内容Contents of the invention

本公开提供一种充电方法和装置、终端设备及存储介质,能够避免充电过程中出现充电功率过大的问题。The present disclosure provides a charging method and device, a terminal device and a storage medium, which can avoid the problem of excessive charging power during the charging process.

一方面,提供一种充电方法,所述充电方法包括:In one aspect, a charging method is provided, the charging method comprising:

在采用电荷泵对电池充电的过程中,获取所述电荷泵的当前输入电压;In the process of using the charge pump to charge the battery, obtain the current input voltage of the charge pump;

获取电荷泵的输入电压与输入电流的对应关系,在所述对应关系中,所述输入电压与所述输入电流为负相关关系;Obtaining a corresponding relationship between the input voltage and the input current of the charge pump, in the corresponding relationship, the input voltage and the input current are negatively correlated;

基于所述对应关系,确定所述当前输入电压对应的输入电流;Based on the correspondence, determine an input current corresponding to the current input voltage;

根据确定出的所述输入电流,控制所述电荷泵的输入电流。The input current of the charge pump is controlled according to the determined input current.

在一种可能的实施方式中,所述获取电荷泵的输入电压与输入电流的对应关系,包括:In a possible implementation manner, the obtaining the corresponding relationship between the input voltage and the input current of the charge pump includes:

确定充电器的类型;Determine the type of charger;

获取所述充电器的类型所对应的所述对应关系。The corresponding relationship corresponding to the type of the charger is acquired.

可选地,所述充电方法还包括:Optionally, the charging method also includes:

确定所述充电器的类型是否属于支持提供可变输出电压的充电器类型;determining whether the type of the charger belongs to a type of charger that supports providing a variable output voltage;

所述获取所述充电器的类型对应的所述对应关系,包括:The obtaining the corresponding relationship corresponding to the type of the charger includes:

若所述充电器的类型属于支持提供可变输出电压的充电器类型,则获取所述充电器的类型对应的所述对应关系。If the type of the charger belongs to a type of charger supporting variable output voltage, the corresponding relationship corresponding to the type of the charger is acquired.

在一种可能的实施方式中,所述对应关系包括多个电压范围以及每个所述电压范围对应的输入电流。In a possible implementation manner, the corresponding relationship includes a plurality of voltage ranges and an input current corresponding to each of the voltage ranges.

可选地,所述基于所述对应关系,确定所述当前输入电压对应的输入电流,包括:Optionally, the determining the input current corresponding to the current input voltage based on the correspondence includes:

确定所述当前输入电压所属的电压范围;determining the voltage range to which the current input voltage belongs;

将所述电压范围对应的输入电流,作为所述当前输入电压对应的输入电流。The input current corresponding to the voltage range is used as the input current corresponding to the current input voltage.

可选地,所述根据确定出的所述输入电流,控制所述电荷泵的输入电流,包括:Optionally, the controlling the input current of the charge pump according to the determined input current includes:

当确定出的所述输入电流与所述电荷泵的当前输入电流不一致时,向充电器发送电流调整请求,所述电流调整请求用于请求所述充电器将向所述电荷泵提供的输入电流调整为确定出的所述输入电流。When the determined input current is inconsistent with the current input current of the charge pump, sending a current adjustment request to the charger, where the current adjustment request is used to request the charger to provide an input current to the charge pump adjusted to determine the input current.

另一方面,提供一种充电装置,所述充电装置包括。In another aspect, a charging device is provided, and the charging device includes.

输入电压获取模块,用于在采用电荷泵对电池充电的过程中,获取所述电荷泵的当前输入电压;The input voltage acquisition module is used to acquire the current input voltage of the charge pump during the process of using the charge pump to charge the battery;

对应关系获取模块,用于获取电荷泵的输入电压与输入电流的对应关系,在所述对应关系中,所述输入电压与所述输入电流为负相关关系;A corresponding relationship acquiring module, configured to acquire a corresponding relationship between the input voltage and the input current of the charge pump, and in the corresponding relationship, the input voltage and the input current are negatively correlated;

输入电流确定模块,用于基于所述对应关系获取模块获取到的所述对应关系,确定所述当前输入电压对应的输入电流;An input current determination module, configured to determine the input current corresponding to the current input voltage based on the correspondence obtained by the correspondence acquisition module;

电流控制模块,用于根据确定出的所述输入电流,控制所述电荷泵的输入电流。A current control module, configured to control the input current of the charge pump according to the determined input current.

在一种可能的实施方式中,所述对应关系获取模块,包括:In a possible implementation manner, the correspondence obtaining module includes:

类型确定子模块,用于确定充电器的类型;A type determination sub-module is used to determine the type of the charger;

对应关系获取子模块,用于获取所述类型确定子模块确定出的所述充电器的类型所对应的所述对应关系。The corresponding relationship acquiring submodule is configured to acquire the corresponding relationship corresponding to the type of the charger determined by the type determining submodule.

可选地,所述充电装置还包括:Optionally, the charging device also includes:

类型判断模块,用于确定所述类型确定子模块确定出的所述充电器的类型是否属于支持提供可变输出电压的充电器类型;A type judgment module, configured to determine whether the type of the charger determined by the type determination sub-module belongs to a charger type that supports variable output voltage;

则所述对应关系获取子模块,用于若所述充电器的类型属于支持提供可变输出电压的充电器类型,则获取所述充电器的类型对应的所述对应关系。The corresponding relationship obtaining submodule is configured to obtain the corresponding relationship corresponding to the type of the charger if the type of the charger belongs to a type of charger that supports variable output voltage.

在一种可能的实施方式中,所述对应关系包括多个电压范围以及每个所述电压范围对应的输入电流。In a possible implementation manner, the corresponding relationship includes a plurality of voltage ranges and an input current corresponding to each of the voltage ranges.

可选地,所述输入电流确定模块,包括:Optionally, the input current determination module includes:

电压范围确定子模块,用于确定所述当前输入电压所属的电压范围;a voltage range determination submodule, configured to determine the voltage range to which the current input voltage belongs;

输入电流确定子模块,用于将所述电压范围对应的输入电流,作为所述当前输入电压对应的输入电流。The input current determination sub-module is configured to use the input current corresponding to the voltage range as the input current corresponding to the current input voltage.

可选地,所述电流控制模块,用于当确定出的所述输入电流与所述电荷泵的当前输入电流不一致时,向充电器发送电流调整请求,所述电流调整请求用于请求所述充电器将向所述电荷泵提供的输入电流调整为确定出的所述输入电流。Optionally, the current control module is configured to send a current adjustment request to the charger when the determined input current is inconsistent with the current input current of the charge pump, and the current adjustment request is used to request the The charger adjusts the input current provided to the charge pump to the determined input current.

另一方面,提供一种终端设备,所述终端设备包括:In another aspect, a terminal device is provided, and the terminal device includes:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为执行前述任一项所述的充电方法。Wherein, the processor is configured to execute the charging method described in any one of the foregoing.

另一方面,提供一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令被处理器执行时实现前述任一项所述的充电方法。In another aspect, a computer-readable storage medium is provided, on which computer instructions are stored, and when the computer instructions are executed by a processor, the charging method described in any one of the foregoing is implemented.

在本公开实施例中,在采用电荷泵对电池的充电过程中,获取所述电荷泵的当前输入电压;获取电荷泵的输入电压与输入电流的对应关系;并基于所述对应关系,确定所述当前输入电压对应的输入电流,由于在所述对应关系中,所述输入电压与所述输入电流为负相关关系,所以随着电荷泵的输入电压的增大,确定出的电荷泵的输入电流逐渐减小。在这种情况下,根据确定出的所述输入电流,控制所述电荷泵的输入电流,可以达到随着输入电压的增大而减小电荷泵的输入电流的目的。由于电荷泵的输出功率等于电荷泵的输入电压的二分之一乘以电荷泵的输入电流,所以本公开实施例中的电荷泵的输入电流的调整方式可以减缓电荷泵的输出功率的上升趋势,避免电荷泵的输出功率超过电池的额定充电功率。In the embodiment of the present disclosure, during the charging process of the battery by the charge pump, the current input voltage of the charge pump is obtained; the corresponding relationship between the input voltage and the input current of the charge pump is obtained; and based on the corresponding relationship, the determined The input current corresponding to the current input voltage, because in the corresponding relationship, the input voltage and the input current are in a negative correlation, so as the input voltage of the charge pump increases, the determined input of the charge pump The current gradually decreases. In this case, the input current of the charge pump is controlled according to the determined input current, so as to reduce the input current of the charge pump as the input voltage increases. Since the output power of the charge pump is equal to one-half of the input voltage of the charge pump multiplied by the input current of the charge pump, the adjustment method of the input current of the charge pump in the embodiments of the present disclosure can slow down the rising trend of the output power of the charge pump , to avoid the output power of the charge pump exceeding the rated charging power of the battery.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是本公开示出的充电系统的结构示意图;FIG. 1 is a schematic structural diagram of a charging system shown in the present disclosure;

图2是本公开示出的一种具有电荷泵的充电电路的结构示意图;2 is a schematic structural diagram of a charging circuit with a charge pump shown in the present disclosure;

图3是根据一示例性实施例示出的一种充电方法的流程示意图;Fig. 3 is a schematic flowchart of a charging method according to an exemplary embodiment;

图4是根据一示例性实施例示出的一种充电方法的流程示意图;Fig. 4 is a schematic flowchart of a charging method according to an exemplary embodiment;

图5是根据一示例性实施例示出的一种充电装置的结构框图;Fig. 5 is a structural block diagram of a charging device according to an exemplary embodiment;

图6是根据一示例性实施例示出的一种终端设备的框图。Fig. 6 is a block diagram of a terminal device according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

本公开实施例适用于利用充电泵对电池进行充电的终端设备。充电泵的基本原理是给电容充电,把电容从充电电路取下以隔离充进的电荷,然后连接到另一个电路上,传递刚才隔离的电荷。The embodiments of the present disclosure are applicable to a terminal device that uses a charge pump to charge a battery. The basic principle of the charge pump is to charge the capacitor, remove the capacitor from the charging circuit to isolate the charge, and then connect it to another circuit to transfer the charge just isolated.

在采用电荷泵对电池进行充电的过程中,电荷泵的输入电压通常满足以下要求:电荷泵的输入电压与被充电电池的电压成正比,例如电荷泵的输入电压是被充电电池的电压的2倍。这样,电池的电压因为充电的原因逐渐增大,电荷泵的输入电压也会随之增大。In the process of using the charge pump to charge the battery, the input voltage of the charge pump usually meets the following requirements: the input voltage of the charge pump is proportional to the voltage of the charged battery, for example, the input voltage of the charge pump is 2 times the voltage of the charged battery times. In this way, the voltage of the battery increases gradually due to charging, and the input voltage of the charge pump also increases accordingly.

电池的充电电流是由电池的化学性质来决定的。常见的充电电流一般是电池容量的倍数,例如,通常是1C~1.5C,即电池额定容量C的1倍或者1.5倍。电池的容量通常以安培·小时(简称A·h)为单位。The charging current of the battery is determined by the chemical properties of the battery. A common charging current is generally a multiple of the battery capacity, for example, usually 1C to 1.5C, that is, 1 or 1.5 times the rated capacity C of the battery. The capacity of a battery is usually measured in ampere-hours (Ah for short).

这个充电电流会在充电开始阶段设置作为电荷泵的最大输入电流。相关技术中,该充电电流在采用电荷泵进行充电的整个充电过程中,是固定不变的。假如采用的电池的充电电流为1.5C,当电荷泵输入电压较低的时候,可以采用1.5C的电流为电池充电。电池充电一段时间后,电池的电压增大,电荷泵的输入电压也随之增大,由于电荷泵的输出功率等于电荷泵的输入电压的二分之一乘以电荷泵的输入电流,若电荷泵的输入电流维持1.5C不变,则电荷泵的输出功率也会随着电荷泵的输入电压的增大而增大,从而可能出现电荷泵的输出功率超过电池额定功率的问题。而如果将电荷泵的输入电流设置得过小,将会导致在充电过程的前期阶段,充电功率过小,充电效率较低。This charging current is set as the maximum input current to the charge pump at the beginning of charging. In the related art, the charging current is constant during the whole charging process using the charge pump. If the charging current of the battery used is 1.5C, when the input voltage of the charge pump is low, the current of 1.5C can be used to charge the battery. After the battery is charged for a period of time, the voltage of the battery increases, and the input voltage of the charge pump increases accordingly. Since the output power of the charge pump is equal to half of the input voltage of the charge pump multiplied by the input current of the charge pump, if the charge If the input current of the pump remains unchanged at 1.5C, the output power of the charge pump will also increase with the increase of the input voltage of the charge pump, which may cause the problem that the output power of the charge pump exceeds the rated power of the battery. However, if the input current of the charge pump is set too small, the charging power will be too small and the charging efficiency will be low in the early stage of the charging process.

为此,本公开实施例提供了一种基于电荷泵的充电方法和装置,能够有效控制电荷泵的输出功率,避免充电过程中出现电荷泵的输出功率超过电池额定功率的问题。To this end, embodiments of the present disclosure provide a charging method and device based on a charge pump, which can effectively control the output power of the charge pump and avoid the problem that the output power of the charge pump exceeds the rated power of the battery during charging.

图1是本公开示出的充电系统的结构示意图。参见图1,该系统包括充电器10和终端设备20,充电器10与终端设备20耦合,以使得充电器10能够为终端设备20充电。这里,耦合包括物理连接和电耦合两种形式,物理连接即采用充电线实现有线连接,例如通过USB(Universal Serial Bus,通用串行总线)数据线连接充电器10和终端设备20,电耦合即利用充电器10中的发射线圈和终端设备20中的接收线圈相互耦合,以通过无线的方式实现电能的传输。FIG. 1 is a schematic structural diagram of a charging system shown in the present disclosure. Referring to FIG. 1 , the system includes a charger 10 and a terminal device 20 , and the charger 10 is coupled to the terminal device 20 so that the charger 10 can charge the terminal device 20 . Here, the coupling includes two forms of physical connection and electrical coupling. The physical connection is to use a charging line to realize a wired connection, such as connecting the charger 10 and the terminal device 20 through a USB (Universal Serial Bus, Universal Serial Bus) data line, and the electrical coupling is The transmitting coil in the charger 10 and the receiving coil in the terminal device 20 are coupled to each other, so as to realize the transmission of electric energy in a wireless manner.

可选地,充电器10是指可以连接电网的充电器,也可以称为电源适配器。充电器10也可以是移动电源等,只要能够满足提供可变输出电压的要求即可。终端设备20为便携式电子设备,包括但不限于手机、笔记本电脑、平板电脑、可穿戴设备、播放器、移动电源等等。Optionally, the charger 10 refers to a charger that can be connected to a power grid, and may also be called a power adapter. The charger 10 can also be a mobile power supply, as long as it can meet the requirement of providing a variable output voltage. The terminal device 20 is a portable electronic device, including but not limited to a mobile phone, a notebook computer, a tablet computer, a wearable device, a player, a mobile power supply, and the like.

图2是本公开示出的一种具有电荷泵的充电电路的结构示意图。如图2所示,在本公开实施例中,终端设备20的充电电路至少包括电荷泵21、与电荷泵21连接的电池22以及控制器23。电荷泵21通常包括电容和多个开关器件,该控制器23可以控制电荷泵21中的开关器件动作,从而控制电荷泵21为电池22充电。本公开实施例不限定电荷泵21的具体结构,只要在采用电荷泵21为电池22充电的过程中,电荷泵21的电压和电流满足以下关系即可:FIG. 2 is a schematic structural diagram of a charging circuit with a charge pump shown in the present disclosure. As shown in FIG. 2 , in the embodiment of the present disclosure, the charging circuit of the terminal device 20 at least includes a charge pump 21 , a battery 22 connected to the charge pump 21 , and a controller 23 . The charge pump 21 generally includes a capacitor and a plurality of switching devices. The controller 23 can control the switching devices in the charge pump 21 to operate, thereby controlling the charge pump 21 to charge the battery 22 . The embodiment of the present disclosure does not limit the specific structure of the charge pump 21, as long as the voltage and current of the charge pump 21 satisfy the following relationship during the process of using the charge pump 21 to charge the battery 22:

电荷泵21的输入电压是输出电压(即提供给电池的充电电压)的倍数,例如2倍,且电荷泵21的输出电压等于电池电压;电荷泵21的输入电流等于输出电流(即提供给电池的充电电流)。The input voltage of the charge pump 21 is a multiple of the output voltage (that is, the charging voltage provided to the battery), such as 2 times, and the output voltage of the charge pump 21 is equal to the battery voltage; the input current of the charge pump 21 is equal to the output current (provided to the battery). charging current).

若终端设备20采用有线充电,则充电电路还可以包括充电接口(例如USB接口),该充电接口用于与充电线连接,且该充电接口与电荷泵21的输入端电连接。若终端设备20采用无线充电,则充电电路还可以包括接收线圈、充电管理芯片,接收线圈的输出端与充电管理芯片电连接,充电管理芯片的输出端与电荷泵电连接。If the terminal device 20 adopts wired charging, the charging circuit may further include a charging interface (such as a USB interface), which is used to connect to a charging line, and the charging interface is electrically connected to the input end of the charge pump 21 . If the terminal device 20 adopts wireless charging, the charging circuit may further include a receiving coil and a charging management chip, the output end of the receiving coil is electrically connected to the charging management chip, and the output end of the charging management chip is electrically connected to the charge pump.

目前,电池的充电过程通常包括预充电阶段,恒流充电阶段和恒压充电阶段。本公开实施例可以适用于恒流充电阶段。At present, the charging process of the battery usually includes a pre-charging stage, a constant current charging stage and a constant voltage charging stage. Embodiments of the present disclosure may be applicable to the constant current charging phase.

图3是本公开实施例示出的一种充电方法的流程图。该方法适用于图1中的终端设备20,参见图3,该方法包括:Fig. 3 is a flow chart of a charging method shown in an embodiment of the present disclosure. The method is applicable to the terminal device 20 in FIG. 1, referring to FIG. 3, the method includes:

在步骤S31中,在采用电荷泵对电池充电的过程中,获取电荷泵的当前输入电压;In step S31, during the process of using the charge pump to charge the battery, the current input voltage of the charge pump is obtained;

在步骤S32中,获取电荷泵的输入电压与输入电流的对应关系,在该对应关系中,输入电压与输入电流为负相关关系;In step S32, the corresponding relationship between the input voltage and the input current of the charge pump is obtained, and in the corresponding relationship, the input voltage and the input current are negatively correlated;

在步骤S33中,基于该对应关系,确定当前输入电压对应的输入电流;In step S33, based on the corresponding relationship, the input current corresponding to the current input voltage is determined;

在步骤S34中,根据确定出的输入电流,控制电荷泵的输入电流。In step S34, the input current of the charge pump is controlled according to the determined input current.

在本公开实施例中,在采用电荷泵对电池的充电过程中,获取电荷泵的当前输入电压;获取电荷泵的输入电压与输入电流的对应关系;并基于该对应关系,确定当前输入电压对应的输入电流,由于在该对应关系中,输入电压与输入电流为负相关关系,所以随着电荷泵的输入电压的增大,确定出的电荷泵的输入电流逐渐减小。在这种情况下,根据确定出的输入电流,控制电荷泵的输入电流,可以达到随着输入电压的增大而减小电荷泵的输入电流的目的。由于电荷泵的输出功率等于电荷泵的输入电压的二分之一乘以电荷泵的输入电流,所以本公开实施例中的电荷泵的输入电流的调整方式可以减缓电荷泵的输出功率的上升趋势,避免电荷泵的输出功率超过电池的额定充电功率。In the embodiment of the present disclosure, in the process of charging the battery by using the charge pump, the current input voltage of the charge pump is obtained; the corresponding relationship between the input voltage and the input current of the charge pump is obtained; and based on the corresponding relationship, the current input voltage corresponding to The input current of the input current, because in this corresponding relationship, the input voltage and the input current are negatively correlated, so as the input voltage of the charge pump increases, the determined input current of the charge pump decreases gradually. In this case, controlling the input current of the charge pump according to the determined input current can achieve the purpose of reducing the input current of the charge pump as the input voltage increases. Since the output power of the charge pump is equal to one-half of the input voltage of the charge pump multiplied by the input current of the charge pump, the adjustment method of the input current of the charge pump in the embodiments of the present disclosure can slow down the rising trend of the output power of the charge pump , to avoid the output power of the charge pump exceeding the rated charging power of the battery.

图4是本公开实施例示出的一种充电方法的流程图。该方法适用于图1中的终端设备20,参见图4,该方法包括:Fig. 4 is a flowchart of a charging method shown in an embodiment of the present disclosure. This method is applicable to the terminal device 20 in Fig. 1, referring to Fig. 4, the method includes:

在步骤S41中,确定充电器类型。In step S41, the charger type is determined.

在本公开的一种实现方式中,充电器类型包括但不限于SDP(StandardDownstream Port,标准下行接口)充电器、CDP(ChargingDownstream Port,充电下行接口)充电器、DCP(Dedicated Charging Port,专用充电接口)充电器和PD(Power Delivery,功率传输)充电器、QC(Quick Charge,快速充电)2充电器、QC3充电器、QC4充电器等。其中,QC2、QC3、QC4为高通的私有协议。In an implementation of the present disclosure, the charger type includes but not limited to SDP (StandardDownstream Port, standard downstream interface) charger, CDP (ChargingDownstream Port, charging downstream interface) charger, DCP (Dedicated Charging Port, dedicated charging interface) ) chargers and PD (Power Delivery, power transmission) chargers, QC (Quick Charge, fast charging) 2 chargers, QC3 chargers, QC4 chargers, etc. Among them, QC2, QC3, and QC4 are Qualcomm's private protocols.

不同的充电器类型对应的电流、电压、功率等参数中的至少一种不同。例如,SDP对应的最大充电电流为500mA/USB2.0;900mA/USB3.0;CDP对应的最大充电电流为1500mA;DCP对应的最大充电电流为500mA~2000mA;由于这几种类型的充电器的输出电源是恒定的5V,所以最大充电电流与功率对应,最大充电电流的大小也可以反应出功率的大小。又例如,QC4充电器和PD充电器的功率为40w,QC3充电器的功率为18w。At least one of parameters such as current, voltage, and power corresponding to different charger types is different. For example, the maximum charging current corresponding to SDP is 500mA/USB2.0; 900mA/USB3.0; the maximum charging current corresponding to CDP is 1500mA; the maximum charging current corresponding to DCP is 500mA~2000mA; The output power is a constant 5V, so the maximum charging current corresponds to the power, and the maximum charging current can also reflect the power. For another example, the power of QC4 charger and PD charger is 40w, and the power of QC3 charger is 18w.

在该步骤S41中,若终端设备与充电器之间通过有线方式充电,例如通过USB数据线连接,则可以基于USB协议规定确定充电器类型。若终端设备与充电器之间通过无线方式充电,则可以在终端设备和充电器上分别配置无线通信模块,利用无线通信模块通信以获取充电器类型。In this step S41, if the terminal device and the charger are charged by a wired method, for example, connected by a USB data cable, the type of the charger may be determined based on the USB protocol. If wireless charging is used between the terminal device and the charger, wireless communication modules can be configured on the terminal device and the charger respectively, and the wireless communication module can be used to communicate to obtain the charger type.

在步骤S42中,判断确定出的充电器类型是否属于支持提供可变输出电压的充电器类型,若确定出的充电器类型属于支持提供可变输出电压的充电器类型,执行步骤S43;若确定出的充电器类型不属于支持提供可变输出电压的充电器类型,则退出当前流程。In step S42, it is judged whether the determined charger type belongs to the charger type that supports variable output voltage, if the determined charger type belongs to the charger type that supports variable output voltage, perform step S43; if determined If the selected charger type does not belong to the charger type that supports variable output voltage, exit the current process.

这里,可以预先存储支持提供可变输出电压的充电器类型的信息,例如标识,在预先存储的充电器类型中查找该确定出的充电器类型,若查找到该确定出的充电器类型,则表示该确定出的充电器类型属于支持提供可变输出电压的充电器类型;若没有查找到该确定出的充电器类型,则表示确定出的充电器类型不属于支持提供可变输出电压的充电器类型。Here, the information of the charger type that supports variable output voltage can be stored in advance, such as identification, and the determined charger type is searched in the pre-stored charger types. If the determined charger type is found, then Indicates that the determined charger type belongs to the charger type that supports variable output voltage; if the determined charger type is not found, it indicates that the determined charger type does not belong to the charger that supports variable output voltage device type.

示例性地,支持提供可变输出电压的充电器类型包括但不限于PD充电器、QC2充电器、QC3充电器、QC4充电器等。Exemplarily, the types of chargers that support variable output voltages include but are not limited to PD chargers, QC2 chargers, QC3 chargers, QC4 chargers, and the like.

本公开实施例中,可以优先判断充电器类型是否属于支持提供可变输出电压的充电器,若充电器类型不属于支持提供可变输出电压的充电器,则表示电荷泵的输入电压不可变,也不会存在由于电荷泵的输入电流增大而导致电荷泵的输出功率超过电池的额定充电功率的问题,所以无需执行本公开实施例中的方法。In the embodiment of the present disclosure, it can be prioritized to determine whether the charger type belongs to a charger that supports variable output voltage. If the charger type does not belong to a charger that supports variable output voltage, it means that the input voltage of the charge pump is not variable. There is also no problem that the output power of the charge pump exceeds the rated charging power of the battery due to the increase of the input current of the charge pump, so there is no need to implement the methods in the embodiments of the present disclosure.

需要说明的是,前述步骤S41~S42为可选步骤,在一次充电过程中,只需要执行一次即可。如果后续所有的充电器类型均能够提供可变输出电压,则该步骤S41~S42还可以直接省略。It should be noted that the foregoing steps S41 to S42 are optional steps, and only need to be performed once during a charging process. If all subsequent charger types can provide variable output voltages, steps S41 - S42 can also be omitted directly.

在步骤S43中,在采用电荷泵对电池充电的过程中,获取电荷泵当前的输入电压。In step S43, during the process of using the charge pump to charge the battery, the current input voltage of the charge pump is acquired.

示例性地,可以通过采样电路实时采集电荷泵的输入端的电压,即可得到电荷泵的当前输入电压。该采样电路可以包括模数转换器,该模数转换器的输入端与电荷泵的输入端连接,该模数转换器的输出端可以与终端设备的处理器连接,从而终端设备可以获取电荷泵的当前输入电压。Exemplarily, the current input voltage of the charge pump can be obtained by collecting the voltage at the input terminal of the charge pump in real time through the sampling circuit. The sampling circuit can include an analog-to-digital converter, the input of the analog-to-digital converter is connected to the input of the charge pump, and the output of the analog-to-digital converter can be connected to the processor of the terminal device, so that the terminal device can obtain the charge pump current input voltage.

该步骤S43可以周期性执行,例如每隔200ms~500ms执行一次。This step S43 may be performed periodically, for example, once every 200ms˜500ms.

在该步骤S44中,获取该充电器类型所对应的对应关系。In this step S44, the corresponding relationship corresponding to the charger type is obtained.

该对应关系为电荷泵的输入电压和输入电流的对应关系。这里,电荷泵的输入电压可以为充电器提供给电荷泵的电压。输入电流为充电器提供给电荷泵的电流。在该对应关系中,输入电压和输入电流为负相关关系,也即是,输入电压越大,输入电流越小。The corresponding relationship is the corresponding relationship between the input voltage and the input current of the charge pump. Here, the input voltage of the charge pump may be the voltage provided by the charger to the charge pump. The input current is the current supplied by the charger to the charge pump. In this corresponding relationship, the input voltage and the input current are negatively correlated, that is, the larger the input voltage is, the smaller the input current is.

示例性地,该对应关系可以包括多个电压范围,每个电压范围对应唯一一个输入电流。可选地,随着电压范围的变化,电流值可以等间隔减小,例如,每次减小0.2C或0.1C;也可以不等间隔减小,本公开对此不作限制。Exemplarily, the corresponding relationship may include multiple voltage ranges, and each voltage range corresponds to a unique input current. Optionally, as the voltage range changes, the current value may decrease at equal intervals, for example, decrease by 0.2C or 0.1C each time; it may also decrease at unequal intervals, which is not limited in the present disclosure.

由于电荷泵的输入电压通常为电池电压的2倍,而电池电压在恒流充电阶段的变化范围通常为3.9V~5.5V,则相应地,电荷泵的输入电压的变化范围为7.8V~11V。将输入电压的变化范围划分为多个区间,即前述电压范围,每个区间对应一个输入电流。示例性地,表一显示了一种电荷泵的输入电压和输入电流的对应关系,从表一可以看出,随着输入电压的增大,输入电流逐渐减小。Since the input voltage of the charge pump is usually twice the battery voltage, and the range of the battery voltage during the constant current charging stage is usually 3.9V to 5.5V, correspondingly, the range of the input voltage of the charge pump is 7.8V to 11V . The variation range of the input voltage is divided into multiple intervals, that is, the aforementioned voltage ranges, and each interval corresponds to an input current. Exemplarily, Table 1 shows a corresponding relationship between an input voltage and an input current of a charge pump, and it can be seen from Table 1 that as the input voltage increases, the input current decreases gradually.

表一电荷泵的输入电压和输入电流的对应关系Table 1 Correspondence between the input voltage and input current of the charge pump

序号serial number输入电压Input voltage输入电流Input Current117.8V~9V7.8V~9V1.5C1.5C229V~9.2V9V~9.2V1.2C1.2C339.2V~9.5V9.2V~9.5V1.0C1.0C449.5V以上Above 9.5V0.8C0.8C

需要说明的是,表一中各个区间的端点值可以属于相邻的区间中的任意一个,本公开对此不作限制。It should be noted that the endpoint values of each interval in Table 1 may belong to any one of the adjacent intervals, which is not limited in the present disclosure.

该对应关系可以通过试验获得,只要能够满足提高充电效率,且不超过电池的额定充电功率即可。该对应关系可以预先存储在移动终端中。The corresponding relationship can be obtained through experiments, as long as the charging efficiency can be improved and the rated charging power of the battery is not exceeded. The corresponding relationship may be pre-stored in the mobile terminal.

本公开实施例中,输入电压的不同的范围对应不同的输入电流,且随着充电过程的进行,输入电压的范围以增大的方式变化,而输入电流以减小的方式变化,且在输入电压在同一范围内变化时,输入电流不变,因此,在利用电荷泵充电的过程中,输入电流呈阶梯状递减。这样,可以保证在输入电压较低的情况下,采用较大的充电电流对电池进行充电,而输入电压逐渐升高后,输入电流降低,以防止超过电池的额定充电功率。In the embodiments of the present disclosure, different ranges of the input voltage correspond to different input currents, and as the charging process progresses, the range of the input voltage changes in an increasing manner, while the input current changes in a decreasing manner, and the input When the voltage changes within the same range, the input current does not change. Therefore, in the process of charging with the charge pump, the input current decreases stepwise. In this way, it can be ensured that when the input voltage is low, a larger charging current is used to charge the battery, and after the input voltage gradually increases, the input current decreases to prevent exceeding the rated charging power of the battery.

在一些实施例中,可能存在多个支持提供可变输出电压的充电器类型,不同的充电器类型可以对应不同的对应关系,例如,具有不同的电压区间的数量;又例如,或者电压区间的数量相同,但至少两个区间的端点值不同;再例如,电压区间划分方式相同,但是,同一电压区间对应的输入电流不同。In some embodiments, there may be multiple charger types that support variable output voltages, and different charger types may correspond to different correspondences, for example, having different numbers of voltage intervals; for another example, or the number of voltage intervals The numbers are the same, but the endpoint values of at least two intervals are different; for another example, the voltage intervals are divided in the same way, but the input current corresponding to the same voltage interval is different.

可替代地,也可以至少两个不同的充电器类型对应相同的对应关系。Alternatively, at least two different charger types may correspond to the same corresponding relationship.

在步骤S45中,基于该对应关系,确定当前输入电压所对应的输入电流。In step S45, based on the corresponding relationship, the input current corresponding to the current input voltage is determined.

该步骤S45可以包括:This step S45 may include:

第一步、基于该对应关系,确定当前输入电压所属的电压范围;The first step is to determine the voltage range to which the current input voltage belongs based on the corresponding relationship;

第二步、确定该电压范围对应的输入电流。The second step is to determine the input current corresponding to the voltage range.

在步骤S46中,根据确定出的输入电流,控制电荷泵的输入电流。In step S46, the input current of the charge pump is controlled according to the determined input current.

该步骤S46可以包括:This step S46 may include:

第一步、比较电荷泵的当前输入电流和该电压范围对应的输入电流;The first step is to compare the current input current of the charge pump with the input current corresponding to the voltage range;

第二步、若电荷泵的当前输入电流和该电压范围对应的输入电流不一致,则调整当前的输入电流。若电荷泵的当前输入电流和该电压范围对应的输入电流一致,则保持当前的输入电流。In the second step, if the current input current of the charge pump is inconsistent with the input current corresponding to the voltage range, adjust the current input current. If the current input current of the charge pump is consistent with the input current corresponding to the voltage range, the current input current is maintained.

示例性地,在该步骤S46中,调整当前的输入电流可以采用以下方式:当确定出的输入电流与电荷泵的当前输入电流不一致时,向充电器发送电流调整请求,该电流调整请求用于请求充电器将向电荷泵提供的输入电流调整为该确定出的输入电流。Exemplarily, in this step S46, the following manner may be adopted for adjusting the current input current: when the determined input current is inconsistent with the current input current of the charge pump, a current adjustment request is sent to the charger, and the current adjustment request is used for The charger is requested to adjust the input current provided to the charge pump to the determined input current.

相应地,保持当前的输入电流可以采用以下方式:当确定出的输入电流与电荷泵的当前输入电流一致时,不向充电器发送电流调整请求,则充电器不会调整向电荷泵提供的输入电流。Correspondingly, the following method can be used to maintain the current input current: when the determined input current is consistent with the current input current of the charge pump, no current adjustment request is sent to the charger, and the charger will not adjust the input provided to the charge pump current.

例如,在电荷泵刚开始工作的时候,输入电压为7.8V~9V,对应的输入电流为1.5C,在电池充电一段时间之后,电荷泵的输入电压变为临界值9V,假设9V属于第二个电压范围9V~9.2V,则确定出的电压范围对应的输入电流为1.2C,此时,当前输入电流为1.5C,与确定出的电压范围对应的输入电流不一致,则需要将输入电流调整至1.2C,即调整至该电压范围对应的输入电流。For example, when the charge pump starts to work, the input voltage is 7.8V ~ 9V, and the corresponding input current is 1.5C. After the battery is charged for a period of time, the input voltage of the charge pump becomes a critical value of 9V, assuming that 9V belongs to the second A voltage range of 9V to 9.2V, the input current corresponding to the determined voltage range is 1.2C. At this time, the current input current is 1.5C, which is inconsistent with the input current corresponding to the determined voltage range, and the input current needs to be adjusted. To 1.2C, that is, adjust to the input current corresponding to the voltage range.

继续检测电荷泵的输入电压,若检测到的电荷泵的输入电压为9.1V,仍然属于第二个电压范围9V~9.2V,则确定出的电压范围对应的输入电流为1.2C,此时,当前输入电流为1.2C,与确定出的电压范围对应的输入电流一致,则无需调整电荷泵的输入电流。Continue to detect the input voltage of the charge pump. If the detected input voltage of the charge pump is 9.1V, which still belongs to the second voltage range of 9V to 9.2V, the input current corresponding to the determined voltage range is 1.2C. At this time, The current input current is 1.2C, which is consistent with the input current corresponding to the determined voltage range, so there is no need to adjust the input current of the charge pump.

通过该方式,可以对电流进行分段控制,当充电电压在第一电压范围变化时,电荷泵的输入电流为确定出的输入电流值,若电池的电压随着充电过程的进行而变大时,充电电压上升到第二电压范围,则将电荷泵的输入电流减小到该第二区间对应的输入电流,由于电荷泵提供给电池的电流等于电荷泵的输入电流,而电荷泵提供给电池的电压为电荷泵的输入电压的二分之一,因此,通过这种方式,可以减小电荷泵的输出功率,避免电荷泵输出至电池的输出功率超过电池的额定充电功率。同时,在电荷泵提供给电池的电压较小时,可以采用较大的电流为电池充电,因此,可以获得较高的充电效率。In this way, the current can be controlled in sections. When the charging voltage changes in the first voltage range, the input current of the charge pump is the determined input current value. If the battery voltage increases with the charging process , the charging voltage rises to the second voltage range, then the input current of the charge pump is reduced to the input current corresponding to the second range, because the current provided by the charge pump to the battery is equal to the input current of the charge pump, and the charge pump provides the battery The voltage of the charge pump is half of the input voltage of the charge pump. Therefore, in this way, the output power of the charge pump can be reduced to prevent the output power of the charge pump from exceeding the rated charging power of the battery. At the same time, when the voltage provided by the charge pump to the battery is relatively small, a relatively large current can be used to charge the battery, and thus a relatively high charging efficiency can be obtained.

可选地,若终端设备采用有线方式充电,则可以通过充电线,例如USB数据线发送该电流调整请求;若终端设备采用无线方式充电,则可以在终端设备和充电器上分别配置无线通信模块,利用无线通信模块通信以发送该电流调整请求。Optionally, if the terminal device is charged in a wired manner, the current adjustment request can be sent through a charging cable, such as a USB data cable; if the terminal device is charged in a wireless manner, a wireless communication module can be configured on the terminal device and the charger respectively , using the wireless communication module to communicate to send the current adjustment request.

示例性地,无线通信模块可以为蓝牙通信模块或者近场通信(Near FieldCommunication,NFC)模块等。Exemplarily, the wireless communication module may be a Bluetooth communication module or a near field communication (Near Field Communication, NFC) module or the like.

在一些实施例中,该电流调整请求可以携带确定出的输入电流。在另一些实施例中,该电流调整请求可以不携带确定出的输入电流,充电器中存储有前述对应关系,可以根据充电器的当前输出电压和该对应关系,确定出目标输入电流,并按照该目标输入电流向电荷泵提供输入电流,即将向电荷泵提供的输入电流调整为该目标输入电流。In some embodiments, the current adjustment request may carry the determined input current. In other embodiments, the current adjustment request may not carry the determined input current, the charger stores the aforementioned corresponding relationship, and the target input current may be determined according to the current output voltage of the charger and the corresponding relationship, and according to The target input current provides an input current to the charge pump, that is, the input current provided to the charge pump is adjusted to the target input current.

在本公开实施例中,在采用电荷泵对电池的充电过程中,获取电荷泵的当前输入电压;获取电荷泵的输入电压与输入电流的对应关系;并基于该对应关系,确定当前输入电压对应的输入电流,由于在该对应关系中,输入电压与输入电流为负相关关系,所以随着电荷泵的输入电压的增大,确定出的电荷泵的输入电流逐渐减小。在这种情况下,根据确定出的所述输入电流,控制电荷泵的输入电流,可以达到随着输入电压的增大而减小电荷泵的输入电流的目的。由于电荷泵的输出功率等于电荷泵的输入电压的二分之一乘以电荷泵的输入电流,所以本公开实施例中的电荷泵的输入电流的调整方式可以减缓电荷泵的输出功率的上升趋势,避免电荷泵的输出功率超过电池的额定充电功率。In the embodiment of the present disclosure, in the process of charging the battery by using the charge pump, the current input voltage of the charge pump is obtained; the corresponding relationship between the input voltage and the input current of the charge pump is obtained; and based on the corresponding relationship, the current input voltage corresponding to The input current of the input current, because in this corresponding relationship, the input voltage and the input current are negatively correlated, so as the input voltage of the charge pump increases, the determined input current of the charge pump decreases gradually. In this case, the input current of the charge pump is controlled according to the determined input current, so as to reduce the input current of the charge pump as the input voltage increases. Since the output power of the charge pump is equal to one-half of the input voltage of the charge pump multiplied by the input current of the charge pump, the adjustment method of the input current of the charge pump in the embodiments of the present disclosure can slow down the rising trend of the output power of the charge pump , to avoid the output power of the charge pump exceeding the rated charging power of the battery.

图5是本公开实施例示出的一种充电装置的结构框图。如图5所示,所述充电装置500包括输入电压获取模块501、对应关系获取模块502、输入电流确定模块503和电流控制模块504。Fig. 5 is a structural block diagram of a charging device according to an embodiment of the present disclosure. As shown in FIG. 5 , the charging device 500 includes an input voltage acquisition module 501 , a correspondence relationship acquisition module 502 , an input current determination module 503 and a current control module 504 .

其中,输入电压获取模块501用于在采用电荷泵对电池充电的过程中,获取所述电荷泵的当前输入电压。对应关系获取模块502用于获取电荷泵的输入电压与输入电流的对应关系,在所述对应关系中,所述输入电压与所述输入电流为负相关关系。输入电流确定模块503用于基于所述对应关系获取模块502获取到的所述对应关系,确定所述当前输入电压对应的输入电流。电流控制模块504用于根据确定出的所述输入电流,控制所述电荷泵的输入电流。Wherein, the input voltage obtaining module 501 is used for obtaining the current input voltage of the charge pump during the process of using the charge pump to charge the battery. The corresponding relationship obtaining module 502 is used to obtain the corresponding relationship between the input voltage and the input current of the charge pump, and in the corresponding relationship, the input voltage and the input current are negatively correlated. The input current determination module 503 is configured to determine the input current corresponding to the current input voltage based on the correspondence obtained by the correspondence acquisition module 502 . The current control module 504 is used for controlling the input current of the charge pump according to the determined input current.

在一种可能的实施方式中,对应关系获取模块502,包括:In a possible implementation manner, the corresponding relationship obtaining module 502 includes:

类型确定子模块5021,用于确定充电器的类型;A type determination sub-module 5021, configured to determine the type of the charger;

对应关系获取子模块5022,用于获取类型确定子模块5021确定出的充电器的类型所对应的所述对应关系。The corresponding relationship obtaining sub-module 5022 is configured to obtain the corresponding relationship corresponding to the charger type determined by the type determining sub-module 5021 .

可选地,所述充电装置还包括:Optionally, the charging device also includes:

类型判断模块505,用于确定类型确定子模块5021确定出的充电器的类型是否属于支持提供可变输出电压的充电器类型;A type judging module 505, configured to determine whether the type of the charger determined by the type determining sub-module 5021 belongs to a charger type that supports variable output voltage;

则所述对应关系获取子模块5022,用于若充电器的类型属于支持提供可变输出电压的充电器类型,则获取充电器的类型对应的对应关系。Then the corresponding relationship acquiring sub-module 5022 is configured to acquire the corresponding relationship corresponding to the charger type if the type of the charger belongs to the charger type supporting variable output voltage.

在一种可能的实施方式中,该对应关系包括多个电压范围以及每个电压范围对应的输入电流。In a possible implementation manner, the corresponding relationship includes multiple voltage ranges and an input current corresponding to each voltage range.

可选地,输入电流确定模块503,包括:Optionally, the input current determination module 503 includes:

电压范围确定子模块5031,用于确定当前输入电压所属的电压范围;The voltage range determination sub-module 5031 is used to determine the voltage range to which the current input voltage belongs;

输入电流确定子模块5032,用于将电压范围对应的输入电流,作为当前输入电压对应的输入电流。The input current determination sub-module 5032 is configured to use the input current corresponding to the voltage range as the input current corresponding to the current input voltage.

可选地,所述电流控制模块504,用于当确定出的输入电流与电荷泵的当前输入电流不一致时,向充电器发送电流调整请求,该电流调整请求用于请求所述充电器将向电荷泵提供的输入电流调整为确定出的输入电流。Optionally, the current control module 504 is configured to send a current adjustment request to the charger when the determined input current is inconsistent with the current input current of the charge pump, and the current adjustment request is used to request the charger to send The input current provided by the charge pump is adjusted to the determined input current.

在本公开实施例中,在采用电荷泵对电池的充电过程中,获取电荷泵的当前输入电压;获取电荷泵的输入电压与输入电流的对应关系;并基于该对应关系,确定当前输入电压对应的输入电流,由于在该对应关系中,输入电压与输入电流为负相关关系,所以随着电荷泵的输入电压的增大,确定出的电荷泵的输入电流逐渐减小。在这种情况下,根据确定出的所述输入电流,控制电荷泵的输入电流,可以达到随着输入电压的增大而减小电荷泵的输入电流的目的。由于电荷泵的输出功率等于电荷泵的输入电压的二分之一乘以电荷泵的输入电流,所以本公开实施例中的电荷泵的输入电流的调整方式可以减缓电荷泵的输出功率的上升趋势,避免电荷泵的输出功率超过电池的额定充电功率。In the embodiment of the present disclosure, in the process of charging the battery by using the charge pump, the current input voltage of the charge pump is obtained; the corresponding relationship between the input voltage and the input current of the charge pump is obtained; and based on the corresponding relationship, the current input voltage corresponding to The input current of the input current, because in this corresponding relationship, the input voltage and the input current are negatively correlated, so as the input voltage of the charge pump increases, the determined input current of the charge pump decreases gradually. In this case, the input current of the charge pump is controlled according to the determined input current, so as to reduce the input current of the charge pump as the input voltage increases. Since the output power of the charge pump is equal to one-half of the input voltage of the charge pump multiplied by the input current of the charge pump, the adjustment method of the input current of the charge pump in the embodiments of the present disclosure can slow down the rising trend of the output power of the charge pump , to avoid the output power of the charge pump exceeding the rated charging power of the battery.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

图6是根据一示例性实施例示出的一种终端设备600的框图。参照图6,终端设备600可以包括以下一个或多个组件:处理组件602,存储器604,电力组件606,多媒体组件608,音频组件610,输入/输出(I/O)的接口612,传感器组件614,以及通信组件616。Fig. 6 is a block diagram showing a terminal device 600 according to an exemplary embodiment. 6, terminal device 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614 , and the communication component 616.

处理组件602通常控制终端设备600的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件602可以包括一个或多个处理器620来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件602可以包括一个或多个模块,便于处理组件602和其他组件之间的交互。例如,处理组件602可以包括多媒体模块,以方便多媒体组件608和处理组件602之间的交互。The processing component 602 generally controls the overall operations of the terminal device 600, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 602 may include one or more modules that facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602 .

存储器604被配置为存储各种类型的数据以支持在终端设备600的操作。这些数据的示例包括用于在终端设备600上操作的任何软件程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器604可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 604 is configured to store various types of data to support operations at the terminal device 600 . Examples of such data include instructions for any software program or method operating on the terminal device 600, contact data, phonebook data, messages, pictures, videos and the like. The memory 604 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电力组件606为终端设备600的各种组件提供电力。电力组件606可以包括电源管理系统,一个或多个电源,及其他与为终端设备600生成、管理和分配电力相关联的组件。The power component 606 provides power to various components of the terminal device 600 . Power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for end device 600 .

多媒体组件608包括在终端设备600和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。当该终端设备600为移动终端时,该多媒体组件包括至少一个摄像头;当该终端设备600为终端设备时,该多媒体组件不包括摄像头。The multimedia component 608 includes a screen providing an output interface between the terminal device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or a swipe action, but also detect duration and pressure associated with the touch or swipe operation. When the terminal device 600 is a mobile terminal, the multimedia component includes at least one camera; when the terminal device 600 is a terminal device, the multimedia component does not include a camera.

音频组件610被配置为输出和/或输入音频信号。在一些实施例中,音频组件610包括一个扬声器,用于输出音频信号。The audio component 610 is configured to output and/or input audio signals. In some embodiments, the audio component 610 includes a speaker for outputting audio signals.

I/O接口612为处理组件602和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 612 provides an interface between the processing component 602 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件614包括一个或多个传感器,用于为终端设备600提供各个方面的状态评估。例如,当智能设备为智能空调时,该传感器组件614可以包括湿度传感器、温度传感器等。The sensor component 614 includes one or more sensors for providing status assessments of various aspects of the terminal device 600 . For example, when the smart device is a smart air conditioner, the sensor component 614 may include a humidity sensor, a temperature sensor, and the like.

通信组件616被配置为便于终端设备600和其他设备之间无线方式的通信。在本公开实施例中,通信组件616可以接入基于通信标准的无线网络,如2G、3G、4G或5G,或它们的组合,从而实现物理下行控制信令检测。在一个示例性实施例中,通信组件616经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。可选地,通信组件616还包括NFC模组。The communication component 616 is configured to facilitate wireless communication between the terminal device 600 and other devices. In this embodiment of the present disclosure, the communication component 616 can access a wireless network based on a communication standard, such as 2G, 3G, 4G or 5G, or a combination thereof, so as to realize physical downlink control signaling detection. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. Optionally, the communication component 616 also includes an NFC module.

在示例性实施例中,终端设备600可以被一个或多个软件专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述充电方法。In an exemplary embodiment, terminal device 600 may be implemented by one or more software application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the charging method described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器604,上述指令可由终端设备600的处理器620执行上述充电方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 604 including instructions, the instructions can be used by the processor 620 of the terminal device 600 to execute the above charging method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

Translated fromChinese
1.一种充电方法,其特征在于,所述充电方法包括:1. A charging method, characterized in that, the charging method comprises:在采用电荷泵对电池充电的过程中,获取所述电荷泵的当前输入电压;In the process of using the charge pump to charge the battery, obtain the current input voltage of the charge pump;获取电荷泵的输入电压与输入电流的对应关系,在所述对应关系中,所述输入电压与所述输入电流为负相关关系,所述对应关系包括多个电压范围,每个所述电压范围对应一个所述输入电流,随着所述电压范围的增大,所述输入电流等间隔减小,每次减小0.2C或0.1C;Obtain the corresponding relationship between the input voltage and the input current of the charge pump. In the corresponding relationship, the input voltage and the input current are negatively correlated. The corresponding relationship includes a plurality of voltage ranges, and each of the voltage ranges Corresponding to one input current, as the voltage range increases, the input current decreases at equal intervals, 0.2C or 0.1C each time;基于所述对应关系,确定所述当前输入电压对应的输入电流;Based on the correspondence, determine an input current corresponding to the current input voltage;当确定出的所述输入电流与所述电荷泵的当前输入电流不一致时,向充电器发送电流调整请求,所述电流调整请求用于请求所述充电器将向所述电荷泵提供的输入电流调整为确定出的所述输入电流。When the determined input current is inconsistent with the current input current of the charge pump, sending a current adjustment request to the charger, where the current adjustment request is used to request the charger to provide an input current to the charge pump adjusted to determine the input current.2.根据权利要求1所述的充电方法,其特征在于,所述获取电荷泵的输入电压与输入电流的对应关系,包括:2. The charging method according to claim 1, wherein said acquiring the corresponding relationship between the input voltage and the input current of the charge pump comprises:确定充电器的类型;Determine the type of charger;获取所述充电器的类型所对应的所述对应关系。The corresponding relationship corresponding to the type of the charger is acquired.3.根据权利要求2所述的充电方法,其特征在于,所述充电方法还包括:3. The charging method according to claim 2, further comprising:确定所述充电器的类型是否属于支持提供可变输出电压的充电器类型;determining whether the type of the charger belongs to a type of charger that supports providing a variable output voltage;所述获取所述充电器的类型对应的所述对应关系,包括:The obtaining the corresponding relationship corresponding to the type of the charger includes:若所述充电器的类型属于支持提供可变输出电压的充电器类型,则获取所述充电器的类型对应的所述对应关系。If the type of the charger belongs to a type of charger supporting variable output voltage, the corresponding relationship corresponding to the type of the charger is acquired.4.根据权利要求1至3任一项所述的充电方法,其特征在于,所述对应关系包括多个电压范围以及每个所述电压范围对应的输入电流。4. The charging method according to any one of claims 1 to 3, wherein the correspondence includes a plurality of voltage ranges and an input current corresponding to each of the voltage ranges.5.根据权利要求4所述的充电方法,其特征在于,所述基于所述对应关系,确定所述当前输入电压对应的输入电流,包括:5. The charging method according to claim 4, wherein the determining the input current corresponding to the current input voltage based on the corresponding relationship comprises:确定所述当前输入电压所属的电压范围;determining the voltage range to which the current input voltage belongs;将所述电压范围对应的输入电流,作为所述当前输入电压对应的输入电流。The input current corresponding to the voltage range is used as the input current corresponding to the current input voltage.6.一种充电装置,其特征在于,所述充电装置包括:6. A charging device, characterized in that the charging device comprises:输入电压获取模块,用于在采用电荷泵对电池充电的过程中,获取所述电荷泵的当前输入电压;The input voltage acquisition module is used to acquire the current input voltage of the charge pump during the process of using the charge pump to charge the battery;对应关系获取模块,用于获取电荷泵的输入电压与输入电流的对应关系,在所述对应关系中,所述输入电压与所述输入电流为负相关关系,所述对应关系包括多个电压范围,每个所述电压范围对应一个所述输入电流,随着所述电压范围的增大,所述输入电流等间隔减小,每次减小0.2C或0.1C;A corresponding relationship acquiring module, configured to acquire a corresponding relationship between the input voltage and the input current of the charge pump, in the corresponding relationship, the input voltage and the input current are negatively correlated, and the corresponding relationship includes a plurality of voltage ranges , each of the voltage ranges corresponds to one of the input currents, and as the voltage range increases, the input current decreases at equal intervals, by 0.2C or 0.1C each time;输入电流确定模块,用于基于所述对应关系获取模块获取到的所述对应关系,确定所述当前输入电压对应的输入电流;An input current determination module, configured to determine the input current corresponding to the current input voltage based on the correspondence obtained by the correspondence acquisition module;电流控制模块,用于当确定出的所述输入电流与所述电荷泵的当前输入电流不一致时,向充电器发送电流调整请求,所述电流调整请求用于请求所述充电器将向所述电荷泵提供的输入电流调整为确定出的所述输入电流。A current control module, configured to send a current adjustment request to the charger when the determined input current is inconsistent with the current input current of the charge pump, and the current adjustment request is used to request the charger to send The input current provided by the charge pump is adjusted to the determined input current.7.根据权利要求6所述的充电装置,其特征在于,所述对应关系获取模块,包括:7. The charging device according to claim 6, characterized in that, the corresponding relationship acquiring module comprises:类型确定子模块,用于确定充电器的类型;A type determination sub-module is used to determine the type of the charger;对应关系获取子模块,用于获取所述类型确定子模块确定出的所述充电器的类型所对应的所述对应关系。The corresponding relationship acquiring submodule is configured to acquire the corresponding relationship corresponding to the type of the charger determined by the type determining submodule.8.根据权利要求7所述的充电装置,其特征在于,所述充电装置还包括:8. The charging device according to claim 7, further comprising:类型判断模块,用于确定所述类型确定子模块确定出的所述充电器的类型是否属于支持提供可变输出电压的充电器类型;A type judgment module, configured to determine whether the type of the charger determined by the type determination sub-module belongs to a charger type that supports variable output voltage;则所述对应关系获取子模块,用于若所述充电器的类型属于支持提供可变输出电压的充电器类型,则获取所述充电器的类型对应的所述对应关系。The corresponding relationship obtaining submodule is configured to obtain the corresponding relationship corresponding to the type of the charger if the type of the charger belongs to a type of charger that supports variable output voltage.9.根据权利要求6至8任一项所述的充电装置,其特征在于,所述对应关系包括多个电压范围以及每个所述电压范围对应的输入电流。9 . The charging device according to any one of claims 6 to 8 , wherein the correspondence includes a plurality of voltage ranges and an input current corresponding to each of the voltage ranges.10.根据权利要求9所述的充电装置,其特征在于,所述输入电流确定模块,包括:10. The charging device according to claim 9, wherein the input current determination module comprises:电压范围确定子模块,用于确定所述当前输入电压所属的电压范围;a voltage range determination submodule, configured to determine the voltage range to which the current input voltage belongs;输入电流确定子模块,用于将所述电压范围对应的输入电流,作为所述当前输入电压对应的输入电流。The input current determination sub-module is configured to use the input current corresponding to the voltage range as the input current corresponding to the current input voltage.11.一种终端设备,其特征在于,所述终端设备包括:11. A terminal device, characterized in that the terminal device comprises:处理器;processor;用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;其中,所述处理器被配置为执行权利要求1至5任一项所述的充电方法。Wherein, the processor is configured to execute the charging method according to any one of claims 1 to 5.12.一种计算机可读存储介质,其上存储有计算机指令,其特征在于,所述计算机指令被处理器执行时实现权利要求1至5任一项所述的充电方法。12. A computer-readable storage medium, on which computer instructions are stored, wherein, when the computer instructions are executed by a processor, the charging method according to any one of claims 1 to 5 is implemented.
CN201910903768.2A2019-09-242019-09-24Charging method and device, terminal equipment and storage mediumActiveCN112636399B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910903768.2ACN112636399B (en)2019-09-242019-09-24Charging method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910903768.2ACN112636399B (en)2019-09-242019-09-24Charging method and device, terminal equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN112636399A CN112636399A (en)2021-04-09
CN112636399Btrue CN112636399B (en)2023-08-04

Family

ID=75283161

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910903768.2AActiveCN112636399B (en)2019-09-242019-09-24Charging method and device, terminal equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN112636399B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113224822B (en)*2021-05-262024-04-26北京小米移动软件有限公司 A charging control method, device and storage medium
CN114362512A (en)*2021-12-232022-04-15深圳市旅行家科技有限公司Quick charging method and system based on charge pump
CN114530835A (en)*2022-01-272022-05-24青岛海尔空调器有限总公司Current limiting protection method, device, electronic apparatus, medium, and program product

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103580463A (en)*2013-10-112014-02-12友达光电股份有限公司Converter device and control method thereof
CN104902609A (en)*2014-03-042015-09-09上海酷蓝电子科技有限公司Segmented linear constant current drive circuit constant power control circuit
CN105975420A (en)*2016-04-272016-09-28乐视控股(北京)有限公司Charging power adjustment method and apparatus used for electronic device and electronic device
CN106899032A (en)*2015-12-212017-06-27新唐科技股份有限公司Power optimization device and method for energy collection equipment
CN107482710A (en)*2017-07-312017-12-15北京小米移动软件有限公司 Wireless charging method and terminal
CN108233455A (en)*2017-07-312018-06-29珠海市魅族科技有限公司A kind of wireless charging circuit, method, system and electronic equipment
CN110192322A (en)*2017-04-072019-08-30Oppo广东移动通信有限公司 Device to be charged, wireless charging device, wireless charging method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103580463A (en)*2013-10-112014-02-12友达光电股份有限公司Converter device and control method thereof
CN104902609A (en)*2014-03-042015-09-09上海酷蓝电子科技有限公司Segmented linear constant current drive circuit constant power control circuit
CN106899032A (en)*2015-12-212017-06-27新唐科技股份有限公司Power optimization device and method for energy collection equipment
CN105975420A (en)*2016-04-272016-09-28乐视控股(北京)有限公司Charging power adjustment method and apparatus used for electronic device and electronic device
CN110192322A (en)*2017-04-072019-08-30Oppo广东移动通信有限公司 Device to be charged, wireless charging device, wireless charging method and system
CN107482710A (en)*2017-07-312017-12-15北京小米移动软件有限公司 Wireless charging method and terminal
CN108233455A (en)*2017-07-312018-06-29珠海市魅族科技有限公司A kind of wireless charging circuit, method, system and electronic equipment

Also Published As

Publication numberPublication date
CN112636399A (en)2021-04-09

Similar Documents

PublicationPublication DateTitle
WO2016101509A1 (en)Charging control method and device
CN112636399B (en)Charging method and device, terminal equipment and storage medium
US20140300321A1 (en)Method for controlling charging of electronic device, and electronic device and charging device supporting the same
US20140176046A1 (en)Apparatus and method for controlling a terminal having a multiple battery configuration
CN114865755B (en)Multi-battery power supply, charging and discharging method and electronic equipment
EP2615714A1 (en)Method and system for battery charging control of a terminal
CN114859258B (en)Electricity meter and electronic equipment applied to multiple batteries
CN114844182B (en) Charging circuit, charging method and electronic device
CN113725937B (en) A battery charging method and electronic device
CN104716750A (en)Low-energy-consumption wireless power supply method and relevant device and system
CN113824195B (en) Charging control method and device, terminal, and computer-readable storage medium
US9252618B2 (en)Terminals, terminal systems and charging/discharging methods thereof
WO2017128619A1 (en)Device, apparatus, and method supporting multi-battery quick-charging
WO2021031779A1 (en)Charging method, terminal, and computer readable storage medium
CN112398209B (en)Wireless charging device, system, control method, terminal device and storage medium
CN113241835B (en)Charging module, electronic equipment and charging control method
CN112311035B (en)Charge control method, charge control device, and readable storage medium
CN118700867A (en) An AC/DC charging pile, a charging method and a storage medium thereof
CN101854427A (en)Method for reminding operation start and mobile terminal
CN112186823B (en)Wireless charging method, circuit and system
CN113451669A (en)Charging method and device, electronic device and storage medium
CN113572210A (en) A charging method, device, equipment and storage medium
CN112838626A (en) Electronic device and charging method thereof, readable storage medium
CN216564606U (en) Chargers and Charging Equipment
CN112311022B (en)Wireless device charging control method, related device and system

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp