[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN119030067A - Charging method, charging device, electronic device and readable storage medium - Google Patents

Charging method, charging device, electronic device and readable storage medium Download PDF

Info

Publication number
CN119030067A
CN119030067A CN202410681987.1A CN202410681987A CN119030067A CN 119030067 A CN119030067 A CN 119030067A CN 202410681987 A CN202410681987 A CN 202410681987A CN 119030067 A CN119030067 A CN 119030067A
Authority
CN
China
Prior art keywords
chip
switching frequency
charging
current
input current
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.)
Pending
Application number
CN202410681987.1A
Other languages
Chinese (zh)
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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202410681987.1A priority Critical patent/CN119030067A/en
Publication of CN119030067A publication Critical patent/CN119030067A/en
Pending legal-status Critical Current

Links

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/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
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • 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/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0045Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction concerning the insertion or the connection of the batteries
    • 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/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • 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
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
    • 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
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)

Abstract

本申请公开了一种充电方法、充电装置、电子设备及可读存储介质,充电方法,应用于包括第一快充芯片和电池的电子设备,所述方法包括:确定第一快充芯片的输入电流;确定第一快充芯片的开关电路的开关频率与输入电流是否匹配;在开关频率与输入电流不匹配时,将开关频率的值修改为与输入电流匹配的值;控制开关电路以与输入电流匹配的开关频率对电池充电。本申请在进行充电时,不同电流区间开关电路的开关频率不同,相对于现有技术中开关频率固定不变的技术方案来说,本申请提供的技术方案有利于根据不同电流区间中充电效率最高的开关频率不同的特性提高充电效率。

The present application discloses a charging method, a charging device, an electronic device, and a readable storage medium. The charging method is applied to an electronic device including a first fast charging chip and a battery, and the method includes: determining the input current of the first fast charging chip; determining whether the switching frequency of the switching circuit of the first fast charging chip matches the input current; when the switching frequency does not match the input current, modifying the value of the switching frequency to a value that matches the input current; and controlling the switching circuit to charge the battery at a switching frequency that matches the input current. When charging, the switching frequency of the switching circuit in different current intervals is different. Compared with the technical solution in the prior art where the switching frequency is fixed, the technical solution provided by the present application is conducive to improving the charging efficiency according to the different characteristics of the switching frequency with the highest charging efficiency in different current intervals.

Description

充电方法、充电装置、电子设备及可读存储介质Charging method, charging device, electronic device and readable storage medium

本申请是基于申请号为202310612690.5,申请日为2023年5月26日,发明名称为“充电方法、充电装置、电子设备及可读存储介质”的分案申请。原申请的全部内容通过引用结合在本申请中。This application is based on a divisional application with application number 202310612690.5, application date May 26, 2023, and invention name “Charging method, charging device, electronic device and readable storage medium”. The entire contents of the original application are incorporated into this application by reference.

技术领域Technical Field

本申请涉及电池充电技术领域,特别涉及一种充电方法、充电装置、电子设备及可读存储介质。The present application relates to the technical field of battery charging, and in particular to a charging method, a charging device, an electronic device and a readable storage medium.

背景技术Background Art

随着手机、平板等电子设备的普及,电子设备上的应用也越来越多,电量消耗越来越快,快速充电的需求越来越广泛。With the popularization of electronic devices such as mobile phones and tablets, more and more applications are being used on electronic devices, power consumption is getting faster and faster, and the demand for fast charging is becoming more and more widespread.

相关技术中,电子设备的充电效率较低,如何提高充电效率是亟待解决的技术方案。In the related art, the charging efficiency of electronic devices is low, and how to improve the charging efficiency is a technical solution that needs to be solved urgently.

发明内容Summary of the invention

本申请提供了一种充电方法、充电装置、电子设备及可读存储介质,有利于提高充电效率。The present application provides a charging method, a charging device, an electronic device and a readable storage medium, which are conducive to improving charging efficiency.

第一方面,本申请提供了一种充电方法,应用于包括第一快充芯片和电池的电子设备,所述方法包括:In a first aspect, the present application provides a charging method, which is applied to an electronic device including a first fast charging chip and a battery, and the method includes:

确定所述第一快充芯片的输入电流;其中,快充芯片是能够对电子设备里的电池进行快速充电的芯片;Determine the input current of the first fast charging chip; wherein the fast charging chip is a chip that can quickly charge the battery in the electronic device;

确定所述第一快充芯片的开关电路的开关频率与所述输入电流是否匹配;Determine whether the switching frequency of the switching circuit of the first fast charging chip matches the input current;

在所述第一快充芯片的开关电路的开关频率与所述输入电流不匹配时,将所述开关频率的值修改为与所述输入电流匹配的值;When the switching frequency of the switching circuit of the first fast charging chip does not match the input current, modifying the value of the switching frequency to a value matching the input current;

控制所述开关电路以与所述输入电流匹配的开关频率对所述电池充电。The switching circuit is controlled to charge the battery at a switching frequency matching the input current.

本申请在进行充电时,不同电流区间开关电路的开关频率不同,相对于现有技术中开关频率固定不变的技术方案来说,本申请提供的技术方案有利于根据不同电流区间中充电效率最高的开关频率不同的特性提高充电效率。When charging, the switching frequencies of the switching circuits in different current intervals are different. Compared with the technical solutions in the prior art in which the switching frequencies are fixed, the technical solutions provided by the present application are conducive to improving the charging efficiency according to the different characteristics of the switching frequencies with the highest charging efficiency in different current intervals.

作为本申请的一个示例,在所述第一快充芯片的开关电路的开关频率与所述输入电流匹配时,不改变所述开关频率的值;As an example of the present application, when the switching frequency of the switching circuit of the first fast charging chip matches the input current, the value of the switching frequency is not changed;

作为本申请的一个示例,所述确定所述第一快充芯片的开关电路的开关频率与所述输入电流是否匹配,包括:As an example of the present application, determining whether the switching frequency of the switching circuit of the first fast charging chip matches the input current includes:

确定所述输入电流是否位于所述开关频率匹配的电流区间内;若是,则确定所述快充芯片的开关电路的开关频率与所述输入电流匹配;若否,则确定所述快充芯片的开关电路的开关频率与所述输入电流不匹配;任意电流区间内充电效率最高的频率是与所述任意电流区间匹配的开关频率。Determine whether the input current is within the current range that matches the switching frequency; if so, determine that the switching frequency of the switching circuit of the fast charging chip matches the input current; if not, determine that the switching frequency of the switching circuit of the fast charging chip does not match the input current; the frequency with the highest charging efficiency in any current range is the switching frequency that matches the arbitrary current range.

作为本申请的一个示例,在所述确定第一快充芯片的输入电流之前,所述方法还包括:As an example of the present application, before determining the input current of the first fast charging chip, the method further includes:

在所述第一快充芯片进入快充模式时,设置所述开关电路的开关频率为默认开关频率;所述默认开关频率是与包括最小电流值的电流区间匹配的开关频率。When the first fast charging chip enters the fast charging mode, the switching frequency of the switching circuit is set to a default switching frequency; the default switching frequency is a switching frequency that matches the current interval including the minimum current value.

在一些实施例中,可以通过检测模块检测是否进入快充模式,比如若检测到充电接口被匹配的有线或者无线充电模块连接,则确定快充芯片进入快充模式。可以理解的也可以采用其他方式确定是否进入快充模式,这里不做限定。In some embodiments, the detection module can detect whether the fast charging mode is entered. For example, if the charging interface is detected to be connected to a matching wired or wireless charging module, the fast charging chip is determined to enter the fast charging mode. It is understandable that other methods can also be used to determine whether to enter the fast charging mode, which is not limited here.

作为本申请的一个示例,所述电子设备还包括第二快充芯片,所述方法还包括:As an example of the present application, the electronic device further includes a second fast charging chip, and the method further includes:

在所述第一快充芯片的输入电流大于预设的电流阈值时;When the input current of the first fast charging chip is greater than a preset current threshold;

启动第二快充芯片,并将所述第二快充芯片的开关电路的开关频率设置为与所述第二快充芯片的输入电流匹配的值;Starting the second fast charging chip, and setting the switching frequency of the switching circuit of the second fast charging chip to a value matching the input current of the second fast charging chip;

在所述第一快充芯片的输入电流小于所述预设的电流阈值时,关闭所述第二快充芯片。When the input current of the first fast charging chip is less than the preset current threshold, the second fast charging chip is turned off.

作为本申请的一个示例,所述确定所述第一快充芯片的输入电流,包括:As an example of the present application, determining the input current of the first fast charging chip includes:

通过电流采样电路确定所述第一快充芯片的输入电流。The input current of the first fast charging chip is determined by a current sampling circuit.

作为本申请的一个示例,所述电子设备包括与所述第一快充芯片输入端相连的采样电阻,所述第一快充芯片包括:放大器、比较器、寄存器和切换电路;所述确定所述第一快充芯片的开关电路的开关频率与所述输入电流是否匹配,包括:As an example of the present application, the electronic device includes a sampling resistor connected to the input end of the first fast charging chip, and the first fast charging chip includes: an amplifier, a comparator, a register, and a switching circuit; the determining whether the switching frequency of the switching circuit of the first fast charging chip matches the input current includes:

获取采样电阻两端的采样电压;Obtain the sampling voltage across the sampling resistor;

通过所述放大器对所述采样电压进行放大处理,将放大后的采样电压与所述比较器预设的电压值进行比较;amplifying the sampled voltage by the amplifier, and comparing the amplified sampled voltage with a voltage value preset by the comparator;

根据所述比较的结果触发所述切换电路将所述第一快充芯片的开关频率切换为所述寄存器中保存的与所述输入电流匹配的开关频率。According to the comparison result, the switching circuit is triggered to switch the switching frequency of the first fast charging chip to the switching frequency stored in the register that matches the input current.

第二方面,本申请提供了一种充电装置,应用于包括第一快充芯片和电池的电子设备,所述充电装置包括:In a second aspect, the present application provides a charging device, which is applied to an electronic device including a first fast charging chip and a battery, and the charging device includes:

第一确定单元,用于确定所述第一快充芯片的输入电流;A first determining unit, used to determine the input current of the first fast charging chip;

第二确定单元,用于确定所述第一快充芯片的开关电路的开关频率与所述输入电流是否匹配;A second determination unit, used to determine whether the switching frequency of the switching circuit of the first fast charging chip matches the input current;

处理单元,用于在所述第一快充芯片的开关电路的开关频率与所述输入电流不匹配时,将所述开关频率的值修改为与所述输入电流匹配的值;a processing unit, configured to modify the value of the switching frequency to a value matching the input current when the switching frequency of the switching circuit of the first fast charging chip does not match the input current;

充电单元,用于控制所述开关电路以与所述输入电流匹配的开关频率对所述电池充电。A charging unit is used to control the switch circuit to charge the battery at a switching frequency matching the input current.

作为本申请的一个示例,所述处理单元,还用于在所述第一快充芯片的开关电路的开关频率与所述输入电流匹配时,不改变所述开关频率的值。As an example of the present application, the processing unit is also used to not change the value of the switching frequency when the switching frequency of the switching circuit of the first fast charging chip matches the input current.

作为本申请的一个示例,所述第二确定单元具体用于,确定所述输入电流是否位于所述开关频率匹配的电流区间内;若是,则确定所述快充芯片的开关电路的开关频率与所述输入电流匹配;若否,则确定所述快充芯片的开关电路的开关频率与所述输入电流不匹配;任意电流区间内充电效率最高的频率是与所述任意电流区间匹配的开关频率。As an example of the present application, the second determination unit is specifically used to determine whether the input current is within the current range matching the switching frequency; if so, it is determined that the switching frequency of the switching circuit of the fast charging chip matches the input current; if not, it is determined that the switching frequency of the switching circuit of the fast charging chip does not match the input current; the frequency with the highest charging efficiency in any current range is the switching frequency matching the arbitrary current range.

作为本申请的一个示例,所述处理单元还用于,在所述第一快充芯片进入快充模式时,设置所述开关电路的开关频率为默认开关频率;所述默认开关频率是与包括最小电流值的电流区间匹配的开关频率。As an example of the present application, the processing unit is also used to set the switching frequency of the switching circuit to a default switching frequency when the first fast charging chip enters the fast charging mode; the default switching frequency is a switching frequency that matches the current interval including the minimum current value.

作为本申请的一个示例,还包括第二快充芯片;As an example of the present application, a second fast charging chip is also included;

所述处理单元还用于,在所述第一快充芯片的输入电流大于预设的电流阈值时;触发启动第二快充芯片,并将所述第二快充芯片的开关电路的开关频率设置为与所述第二快充芯片的输入电流匹配的值;The processing unit is also used to, when the input current of the first fast charging chip is greater than a preset current threshold, trigger the start of the second fast charging chip and set the switching frequency of the switching circuit of the second fast charging chip to a value matching the input current of the second fast charging chip;

在所述第一快充芯片的输入电流小于所述预设的电流阈值时,关闭所述第二快充芯片。When the input current of the first fast charging chip is less than the preset current threshold, the second fast charging chip is turned off.

作为本申请的一个示例,所述第一确定单元,用于通过电流采样电路确定所述第一快充芯片的输入电流。As an example of the present application, the first determination unit is used to determine the input current of the first fast charging chip through a current sampling circuit.

作为本申请的一个示例,所述电子设备包括与所述第一快充芯片输入端相连的采样电阻,所述第一快充芯片包括所述第二确定单元和所述处理单元。As an example of the present application, the electronic device includes a sampling resistor connected to the input end of the first fast charging chip, and the first fast charging chip includes the second determination unit and the processing unit.

作为本申请的一个示例,所述电子设备包括与所述第一快充芯片输入端相连的采样电阻,所述第二确定单元和所述处理单元位于所述第一快充芯片的外部。As an example of the present application, the electronic device includes a sampling resistor connected to the input end of the first fast charging chip, and the second determination unit and the processing unit are located outside the first fast charging chip.

第三方面,本申请提供了一种电子设备包括:存储器和一个或多个处理器,所述存储器与所述处理器耦合;其中,所述存储器中存储有计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述处理器执行时,使得所述电子设备执行如第一方面或者第一方面任一可能实现方式所述的充电方法。In a third aspect, the present application provides an electronic device comprising: a memory and one or more processors, wherein the memory is coupled to the processor; wherein computer program code is stored in the memory, and the computer program code comprises computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the charging method as described in the first aspect or any possible implementation of the first aspect.

第四方面,本申请提供了一种计算机可读存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如第一方面或者第一方面任一可能实现方式所述的充电方法。In a fourth aspect, the present application provides a computer-readable storage medium comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the charging method as described in the first aspect or any possible implementation of the first aspect.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本申请一实施例中充电方法的流程示意图;FIG1 is a schematic flow chart of a charging method in an embodiment of the present application;

图2A是本申请一实施例中输入电流-充电效率特性示意图;FIG2A is a schematic diagram of input current-charging efficiency characteristics in one embodiment of the present application;

图2B是本申请一实施例中充电方法的流程示意图;FIG2B is a schematic diagram of a charging method according to an embodiment of the present application;

图2C是本申请一实施例中电子设备的结构示意图;FIG2C is a schematic diagram of the structure of an electronic device in an embodiment of the present application;

图3A是本申请一实施例中电子设备的结构示意图;FIG3A is a schematic diagram of the structure of an electronic device in an embodiment of the present application;

图3B是图3A中比较器与开关之间的逻辑示意图;FIG3B is a logic diagram between the comparator and the switch in FIG3A ;

图4A是本申请一实施例中电子设备的结构示意图;FIG4A is a schematic diagram of the structure of an electronic device in an embodiment of the present application;

图4B是本申请一实施例中充电方法的流程示意图;FIG4B is a schematic diagram of a charging method in an embodiment of the present application;

图5是本申请一实施例中电子设备的结构示意图;FIG5 is a schematic diagram of the structure of an electronic device in an embodiment of the present application;

图6A是本申请一实施例中电子设备的结构示意图;FIG6A is a schematic diagram of the structure of an electronic device in an embodiment of the present application;

图6B是本申请一实施例中充电方法的流程示意图;FIG6B is a schematic diagram of a charging method according to an embodiment of the present application;

图7是本申请实施例提供的一种电子设备的结构示意图;FIG7 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

图8是本申请实施例提供的一种电子设备的软件系统的框图。FIG8 is a block diagram of a software system of an electronic device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请的实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

应当理解的是,本申请提及的“多个”是指两个或两个以上。在本申请的描述中,除非另有说明,“/”表示或的意思,比如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,比如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,为了便于清楚描述本申请的技术方案,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。It should be understood that the "multiple" mentioned in this application refers to two or more. In the description of this application, unless otherwise specified, "/" means or, for example, A/B can mean A or B; "and/or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solution of this application, the words "first" and "second" are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not limit them to be different.

在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

快充功能在手机、智能手表、可穿戴设备等电子设备中应用越来越广泛,为了描述方便,在后续实施例中电子设备以手机为例进行描述,可以理解的,实施例中的技术方案不限于用于手机,也可以用于其他具有快速充电功能的电子设备。The fast charging function is increasingly used in electronic devices such as mobile phones, smart watches, and wearable devices. For the convenience of description, in the subsequent embodiments, the electronic devices are described using mobile phones as an example. It can be understood that the technical solutions in the embodiments are not limited to mobile phones, but can also be used for other electronic devices with fast charging functions.

现有技术中,手机在快充时,快充芯片的开关电路的开关频率是固定不变的,充电效率较低。In the prior art, when a mobile phone is fast charged, the switching frequency of the switching circuit of the fast charging chip is fixed and the charging efficiency is low.

如图2A所示,为一个快充芯片的开关电路在不同开关频率时对应的输入电流-充电效率特性曲线示意图。其中,曲线a1对应快充芯片的开关电路的开关频率是600KHz,曲线a2对应的快充芯片的开关电路的开关频率是950KHz,曲线a3对应的快充芯片的开关电路的开关频率是1.2MHz。图2A横坐标对应的参数是快充芯片的输入电流,纵坐标对应参数是充电效率。由图2A可知,三条曲线有一个交点,对应电流为2.3A,在交点左侧,曲线a1对应的充电效率最高,在交点右侧,曲线a3对应的充电效率最高。为了便于理解,本申请后续实施例在进行举例时以该快充芯片的参数为例进行描述。As shown in Figure 2A, it is a schematic diagram of the input current-charging efficiency characteristic curve corresponding to the switching circuit of a fast charging chip at different switching frequencies. Among them, the switching frequency of the switching circuit of the fast charging chip corresponding to curve a1 is 600KHz, the switching frequency of the switching circuit of the fast charging chip corresponding to curve a2 is 950KHz, and the switching frequency of the switching circuit of the fast charging chip corresponding to curve a3 is 1.2MHz. The parameter corresponding to the horizontal axis of Figure 2A is the input current of the fast charging chip, and the parameter corresponding to the vertical axis is the charging efficiency. It can be seen from Figure 2A that the three curves have an intersection, and the corresponding current is 2.3A. On the left side of the intersection, the charging efficiency corresponding to curve a1 is the highest, and on the right side of the intersection, the charging efficiency corresponding to curve a3 is the highest. For ease of understanding, the subsequent embodiments of this application are described by taking the parameters of the fast charging chip as an example when giving examples.

现有技术中,快充芯片在快充过程中,通常采用固定的开关频率,比如a2对应的开关频率,由图2A可知,在交点区分的两个电流区间内,a2对应的充电效率都不是最高的。本申请根据不同电流区间充电效率最高时对应的开关频率不同的特点,根据快充芯片的输入电流-充电效率特性曲线的交点可以得到多个电流区间,每个电流区间匹配的开关频率是该电流区间充电效率最高的特性曲线对应的开关频率。采用这种充电方式,有利于提高电子设备充电的充电效率。可以理解的,在一些实施例中,交点可能不止一个,比如可能有两个交点,在有两个交点时,对应有3个电流区间。类似的,当有三个交点时,对应有4个电流区间。当有多个交点时,采用的方法类似,根据交点确定电流区间,每个电流区间匹配的开关频率是该电流区间充电效率最高的特性曲线对应的开关频率。In the prior art, the fast charging chip usually uses a fixed switching frequency during the fast charging process, such as the switching frequency corresponding to a2. As shown in Figure 2A, in the two current intervals distinguished by the intersection, the charging efficiency corresponding to a2 is not the highest. According to the characteristics of different switching frequencies corresponding to the highest charging efficiency in different current intervals, the present application can obtain multiple current intervals according to the intersection of the input current-charging efficiency characteristic curve of the fast charging chip, and the switching frequency matched by each current interval is the switching frequency corresponding to the characteristic curve with the highest charging efficiency in the current interval. This charging method is conducive to improving the charging efficiency of electronic devices. It can be understood that in some embodiments, there may be more than one intersection, such as two intersections. When there are two intersections, there are 3 current intervals. Similarly, when there are three intersections, there are 4 current intervals. When there are multiple intersections, the method used is similar. The current interval is determined according to the intersection, and the switching frequency matched by each current interval is the switching frequency corresponding to the characteristic curve with the highest charging efficiency in the current interval.

图1是本申请一实施例中充电方法的流程示意图,如图1所示,该实施例中充电方法应用于包括第一快充芯片和电池的电子设备,充电方法包括:步骤101至步骤104。其中,FIG1 is a flow chart of a charging method in an embodiment of the present application. As shown in FIG1 , the charging method in this embodiment is applied to an electronic device including a first fast charging chip and a battery. The charging method includes: steps 101 to 104.

101.确定第一快充电芯片的输入电流。101. Determine the input current of the first fast charging chip.

第一快充芯片的输入电流可以利用电流采样电路确定,比如利用采样电阻确定,如图2C中利用电流采样电阻1两端的电压和电流采样电阻1的阻值可以得到快充芯片的输入电流。The input current of the first fast charging chip can be determined by using a current sampling circuit, such as a sampling resistor. As shown in FIG2C , the input current of the fast charging chip can be obtained by using the voltage across the current sampling resistor 1 and the resistance value of the current sampling resistor 1.

可以理解的,由于参数之间有固定的变换关系,有的实施例中确定输入电流,有的实施例中采样确定电阻两端的电压的方式进行后续的操作,是等效的。It can be understood that, since there is a fixed transformation relationship between the parameters, it is equivalent to determine the input current in some embodiments and perform subsequent operations by sampling and determining the voltage across the resistor in some embodiments.

102.确定第一快充芯片的开关电路的开关频率与输入电流是否匹配。102. Determine whether the switching frequency of the switching circuit of the first fast charging chip matches the input current.

需要说明的是,在确定第一快充芯片的输入电流之前,还包括:在第一快充芯片进入快充模式时,设置开关电路的开关频率为默认开关频率;默认开关频率是与包括最小电流值的电流区间匹配的开关频率。如图2A所示,默认开关频率是曲线a1对应的开关频率。It should be noted that before determining the input current of the first fast charging chip, it also includes: when the first fast charging chip enters the fast charging mode, setting the switching frequency of the switching circuit to a default switching frequency; the default switching frequency is a switching frequency that matches the current interval including the minimum current value. As shown in FIG2A , the default switching frequency is the switching frequency corresponding to curve a1.

在一些可能的实施方式中,确定第一快充芯片的开关电路的开关频率与输入电流是否匹配,包括:确定输入电流是否位于开关频率匹配的电流区间内;若是,则确定快充芯片的开关电路的开关频率与输入电流匹配;若否,则确定快充芯片的开关电路的开关频率与输入电流不匹配;任意电流区间内充电效率最高的频率是与任意电流区间匹配的开关频率。In some possible implementations, determining whether the switching frequency of the switching circuit of the first fast charging chip matches the input current includes: determining whether the input current is within a current interval in which the switching frequency matches; if so, determining that the switching frequency of the switching circuit of the fast charging chip matches the input current; if not, determining that the switching frequency of the switching circuit of the fast charging chip does not match the input current; the frequency with the highest charging efficiency in any current interval is the switching frequency that matches any current interval.

103.若第一快充芯片的开关电路的开关频率与输入电流不匹配,则将开关频率的值修改为与输入电流匹配的值。103. If the switching frequency of the switching circuit of the first fast charging chip does not match the input current, the value of the switching frequency is modified to a value that matches the input current.

104.控制开关电路以与输入电流匹配的开关频率对电池充电。104. Control the switch circuit to charge the battery at a switching frequency that matches the input current.

采用该实施方式进行充电时,不同电流区间开关电路的开关频率不同,相对于现有技术中开关频率固定不变的技术方案来说,本申请提供的技术方案有利于根据不同电流区间中充电效率最高的开关频率不同的特性提高充电效率。When charging is performed using this implementation, the switching frequencies of the switching circuits in different current ranges are different. Compared with the technical solution in the prior art in which the switching frequency is fixed, the technical solution provided by the present application is conducive to improving the charging efficiency according to the different characteristics of the switching frequencies with the highest charging efficiency in different current ranges.

在一些可能的实施方式中,还包括,若第一快充芯片的开关电路的开关频率与输入电流匹配,则不改变开关频率的值。In some possible implementations, if the switching frequency of the switching circuit of the first fast charging chip matches the input current, the value of the switching frequency does not change.

在一些可能的实施方式中,在第一快充芯片的输入电流大于预设的电流阈值时;可以启动第二快充芯片,第二快充芯片的开关电路的开关频率设置为与第二快充芯片的输入电流匹配的值;在第一快充芯片与第二快充芯片一样时,可以将第二快充芯片的开关电路的开关频率设置为与第一快充芯片的开关电路的开关频率一致;在第一快充芯片的输入电流小于预设的电流阈值时,关闭所述第二快充芯片。In some possible implementations, when the input current of the first fast charging chip is greater than a preset current threshold, the second fast charging chip can be started, and the switching frequency of the switching circuit of the second fast charging chip is set to a value that matches the input current of the second fast charging chip; when the first fast charging chip is the same as the second fast charging chip, the switching frequency of the switching circuit of the second fast charging chip can be set to be consistent with the switching frequency of the switching circuit of the first fast charging chip; when the input current of the first fast charging chip is less than a preset current threshold, the second fast charging chip is turned off.

在一个实施例中,如图2A至图2C所示,其中,图2A是快充芯片的输入电流-充电效率特性曲线,曲线a1对应快充芯片的开关电路的开关频率是600KHz,曲线a2对应的快充芯片的开关电路的开关频率是950KHz,曲线a3对应的快充芯片的开关电路的开关频率是1.2MHz。In one embodiment, as shown in Figures 2A to 2C, Figure 2A is the input current-charging efficiency characteristic curve of the fast charging chip, curve a1 corresponds to the switching frequency of the switching circuit of the fast charging chip is 600KHz, curve a2 corresponds to the switching frequency of the switching circuit of the fast charging chip is 950KHz, and curve a3 corresponds to the switching frequency of the switching circuit of the fast charging chip is 1.2MHz.

根据图2A中的曲线可知,三条特性曲线的交点对应的电流为2.3A,电流2.3A将电流分为两个区间,一个是电流值小于2.3A的区间,一个是大于2.3A的区间,与小于2.3A的电流区间匹配的开关频率为曲线a1对应的开关频率600KHz,与大于2.3A的电流区间匹配的开关频率为曲线a3对应的开关频率1.2MHz。According to the curve in FIG2A , the current corresponding to the intersection of the three characteristic curves is 2.3A. The current 2.3A divides the current into two intervals, one is an interval with a current value less than 2.3A, and the other is an interval with a current value greater than 2.3A. The switching frequency that matches the current interval less than 2.3A is the switching frequency 600KHz corresponding to curve a1, and the switching frequency that matches the current interval greater than 2.3A is the switching frequency 1.2MHz corresponding to curve a3.

如图2B所示,在进行充电时,具体包括步骤201至步骤204,其中,As shown in FIG. 2B , when charging is performed, steps 201 to 204 are specifically included, wherein:

201.进入快充状态。201. Enter fast charging state.

在一些实施例中,可以通过检测模块检测是否进入快充模式,比如若检测到充电接口被匹配的有线或者无线充电模块连接,则确定快充芯片进入快充模式。可以理解的也可以采用其他方式确定是否进入快充模式,这里不做限定。In some embodiments, the detection module can detect whether the fast charging mode is entered. For example, if the charging interface is detected to be connected to a matching wired or wireless charging module, the fast charging chip is determined to enter the fast charging mode. It is understandable that other methods can also be used to determine whether to enter the fast charging mode, which is not limited here.

202.设置开关频率为600KHz。202. Set the switching frequency to 600KHz.

203.判断快充芯片的输入电流是否大于2.3A。203. Determine whether the input current of the fast charging chip is greater than 2.3A.

若快充芯片的输入电流大于2.3A,则设置开关频率为1.2MHz。若快充芯片的输入电流不大于2.3A,则不改变开关频率,开关频率为600KHz。If the input current of the fast charging chip is greater than 2.3A, the switching frequency is set to 1.2MHz. If the input current of the fast charging chip is not greater than 2.3A, the switching frequency is unchanged and is 600KHz.

204.设置开关频率为1.2MHz。204. Set the switching frequency to 1.2MHz.

在一个实施例中,电子设备包括与快充芯片输入端相连的采样电阻,快充芯片包括:放大器、比较器、寄存器和切换电路;确定快充芯片的开关电路的开关频率与输入电流是否匹配,可以采用如下方法,获取采样电阻两端的采样电压;通过放大器对采样电压进行放大处理,将放大处理后的采样电压与所述比较器预设的电压值进行比较;参考电阻是比较器与预设电流对应的支路中接口和地之间的电阻的电阻值;根据比较的结果触发切换电路将第一快充芯片的开关频率切换为寄存器中保存的与输入电流匹配的开关频率。In one embodiment, an electronic device includes a sampling resistor connected to an input end of a fast charging chip, and the fast charging chip includes: an amplifier, a comparator, a register, and a switching circuit; to determine whether the switching frequency of the switching circuit of the fast charging chip matches the input current, the following method can be used to obtain a sampling voltage across the sampling resistor; the sampling voltage is amplified by the amplifier, and the amplified sampling voltage is compared with a voltage value preset by the comparator; the reference resistor is the resistance value of the resistor between the interface and the ground in a branch corresponding to the comparator and the preset current; according to the comparison result, the switching circuit is triggered to switch the switching frequency of the first fast charging chip to the switching frequency stored in the register that matches the input current.

采样电压经放大器放大后输入比较器的一个输入端;采样电压经放大器放大后得到的电压与比较器预设的电压值进行比较;根据比较的结果触发切换电路将第一快充芯片的开关频率切换为寄存器中保存的与输入电流匹配的开关频率。举例来说,可以采用图2C所示结构的电子设备实现。具体地,可以将电流采样电阻两端的电压作为放大器的输入,放大器的输出与比较器的一个输入端相连,比较器的另外一端是预设电流等效参考电压(可以通过上拉电阻和电源实现),当放大后的电流采样电阻电压大于预设电流等效参考电压时比较器输出高信号,控制选择开关选择频率1寄存器中预设的频率,并送给时钟电路和驱动电路控制开关电路。当放大后的电流采样电阻电压小于预设电流等效参考电压时比较器输出低信号,控制选择开关选择频率2寄存器中预设的频率,并送给时钟电路和驱动电路控制开关电路。需要说明的是,在该实施例中,与开关电路相连的电容在现有技术中通常包括两组,每组包括3个电容,为了节省空间,本申请实施例中可以减少一部分电容,比如每组电容中分别去掉一个电容或者两个电容,比如保留电容C1和C4,精简掉电容C2、C3、C5、C6,都是可行的,这样有利于实现电子设备的小型化。The sampling voltage is amplified by the amplifier and input to an input terminal of the comparator; the voltage obtained after the sampling voltage is amplified by the amplifier is compared with the voltage value preset by the comparator; according to the comparison result, the switching circuit is triggered to switch the switching frequency of the first fast charging chip to the switching frequency stored in the register and matching the input current. For example, it can be implemented using an electronic device with the structure shown in Figure 2C. Specifically, the voltage across the current sampling resistor can be used as the input of the amplifier, the output of the amplifier is connected to an input terminal of the comparator, and the other end of the comparator is a preset current equivalent reference voltage (which can be achieved by a pull-up resistor and a power supply). When the amplified current sampling resistor voltage is greater than the preset current equivalent reference voltage, the comparator outputs a high signal, controls the selection switch to select the preset frequency in the frequency 1 register, and sends it to the clock circuit and the drive circuit to control the switch circuit. When the amplified current sampling resistor voltage is less than the preset current equivalent reference voltage, the comparator outputs a low signal, controls the selection switch to select the preset frequency in the frequency 2 register, and sends it to the clock circuit and the drive circuit to control the switch circuit. It should be noted that in this embodiment, the capacitors connected to the switching circuit generally include two groups in the prior art, each group includes three capacitors. In order to save space, a part of the capacitors can be reduced in the embodiment of the present application, such as removing one or two capacitors from each group of capacitors. For example, retaining capacitors C1 and C4 and streamlining capacitors C2, C3, C5, and C6 are all feasible, which is conducive to the miniaturization of electronic equipment.

在另一实施例中,如图3A和图3B所示,在该实施例中,与图2C所示实施例的区别在于,快充芯片的开关电路的输入电流-充电效率特性曲线有两个交点,对应将电流分为3个区间,相应地,有3个开关频率值分别与各电流区间匹配,三个开关频率可以分别为默认频率、频率1寄存器中保存的频率和频率2寄存器中保存的频率。为了实现开关频率的切换,图3A中节点A、节点B、节点A_、节点B_之间可以设置图3B所示逻辑结构。对应的逻辑关系如表1所示。In another embodiment, as shown in FIG. 3A and FIG. 3B, in this embodiment, the difference from the embodiment shown in FIG. 2C is that the input current-charging efficiency characteristic curve of the switching circuit of the fast charging chip has two intersections, correspondingly dividing the current into three intervals, and correspondingly, there are three switching frequency values that match each current interval, and the three switching frequencies can be the default frequency, the frequency stored in the frequency 1 register, and the frequency stored in the frequency 2 register. In order to achieve the switching of the switching frequency, the logical structure shown in FIG. 3B can be set between nodes A, B, A_, and B_ in FIG. 3A. The corresponding logical relationship is shown in Table 1.

表1Table 1

AA BB A-A- B-B- 11 11 11 00 频率1寄存器Frequency 1 Register 11 00 11 00 频率1寄存器Frequency 1 Register 00 11 00 11 频率2寄存器Frequency 2 Register 00 00 00 00 默认频率Default frequency

在另一实施例中,如图4A所示,与前面实施例的差异包括,电流采样电阻两端的电压输入模数转换器(analog digital converter,ADC),ADC输出等效电流对应的数字信号,该数字信号与比较器的一个输入端相连,比较器的另外一个输入端连接有频率1电流上限寄存器和频率1电流下限寄存器,通过比较器比较控制切换开关。在该实施例中包括两个比较器,另一个比较器的一个输入端与ADC的输出相连,另一个输入端连接有频率2电流上限寄存器和频率2电流下限寄存器。In another embodiment, as shown in FIG4A , the difference from the previous embodiment includes that the voltage across the current sampling resistor is input to an analog digital converter (ADC), and the ADC outputs a digital signal corresponding to the equivalent current, which is connected to one input end of a comparator, and the other input end of the comparator is connected to a frequency 1 current upper limit register and a frequency 1 current lower limit register, and the switching switch is controlled by comparison of the comparator. In this embodiment, two comparators are included, one input end of another comparator is connected to the output of the ADC, and the other input end is connected to a frequency 2 current upper limit register and a frequency 2 current lower limit register.

该实施例,快充芯片的开关电路的输入电流-充电效率特性曲线有两个交点,对应将电流分为3个区间,相应地,有3个开关频率分别与各电流区间匹配,三个开关频率可以分别为频率1寄存器中保存的频率、频率2寄存器中保存的频率和默认频率(第三频率)。根据比较器的比较结果,控制选择开关选择频率1寄存器中预设的频率、频率2寄存器中保存的预设频率、或者默认频率中的一个,并送给时钟电路和驱动电路控制开关电路。In this embodiment, the input current-charging efficiency characteristic curve of the switch circuit of the fast charging chip has two intersections, corresponding to dividing the current into three intervals. Accordingly, there are three switching frequencies that match each current interval, and the three switching frequencies can be the frequency stored in the frequency 1 register, the frequency stored in the frequency 2 register, and the default frequency (third frequency). According to the comparison result of the comparator, the control selection switch selects one of the preset frequencies in the frequency 1 register, the preset frequencies stored in the frequency 2 register, or the default frequencies, and sends it to the clock circuit and the drive circuit to control the switch circuit.

举例来说,默认频率可以为600KHz,充电时的流程如图4B所示,包括步骤401至步骤406。其中,For example, the default frequency may be 600KHz, and the charging process is shown in FIG4B , including steps 401 to 406.

401.进入快充状态。401. Enter fast charging state.

402.设置开关频率为默认频率,比如设置开关频率为600KHz。402. Set the switching frequency to the default frequency, for example, set the switching frequency to 600KHz.

403.判断电流是否大于电流A小于电流B。403. Determine whether the current is greater than current A and less than current B.

若是,则执行步骤404,若否,则执行步骤405。If yes, execute step 404, if no, execute step 405.

404.设置开关频率为频率1。然后,执行步骤403。404. Set the switching frequency to frequency 1. Then, execute step 403.

405.判断电流是否大于电流B。405. Determine whether the current is greater than current B.

若是,则执行步骤406;若否则执行步骤402。If yes, execute step 406; if no, execute step 402.

406.设置开关频率为频率2。然后执行步骤403。406. Set the switching frequency to frequency 2. Then execute step 403.

需要说明的是,确定开关电路的开关频率的电路可以设置在快充芯片内部,也可以设置在快充芯片外部,可以采用数字电路也可以采用模拟电路。It should be noted that the circuit for determining the switching frequency of the switching circuit can be set inside the fast charging chip or outside the fast charging chip, and can use a digital circuit or an analog circuit.

如图2C、图3A和图4A所示的实施例中,确定开关电路的开关频率的电路设置在快充芯片内部。In the embodiments shown in FIG. 2C , FIG. 3A and FIG. 4A , a circuit for determining the switching frequency of the switching circuit is disposed inside the fast charging chip.

如图5所示,该图所示的实施例中,控制开关电路的开关频率的电路设置在快充芯片的外部,电子设备包括:快充芯片、ADC芯片和系统级芯片(system on a chip,SOC)芯片,ADC芯片和SOC芯片位于快充芯片的外部。采样电阻2的端电压与AC芯片的输入端相连,ADC芯片处理后得到与输入电流等效的数字信号,根据ADC的输出和SOC芯片中保存的电流和开关频率的对应关系,确定开关电路的开关频率,SOC芯片将确定的开关芯片传给快充芯片,控制开关电路的开关频率。As shown in FIG5 , in the embodiment shown in the figure, the circuit for controlling the switching frequency of the switch circuit is arranged outside the fast charging chip, and the electronic device includes: a fast charging chip, an ADC chip and a system on a chip (SOC) chip, and the ADC chip and the SOC chip are located outside the fast charging chip. The terminal voltage of the sampling resistor 2 is connected to the input end of the AC chip, and the ADC chip obtains a digital signal equivalent to the input current after processing. The switching frequency of the switch circuit is determined according to the output of the ADC and the corresponding relationship between the current and the switching frequency stored in the SOC chip. The SOC chip transmits the determined switch chip to the fast charging chip to control the switching frequency of the switch circuit.

如图6A和图6B所示,在一些可能的实施例中,采样电阻的端电压接入ADC芯片,可以理解的在一些实施例中也可以将采样电阻的端电压接入放大器的输入端,放大器和比较电器结合使用,ADC电路和包括放大器和比较器的电路可以是快充芯片外面的结构,也可以位于快充芯片内。As shown in Figures 6A and 6B, in some possible embodiments, the terminal voltage of the sampling resistor is connected to the ADC chip. It can be understood that in some embodiments, the terminal voltage of the sampling resistor can also be connected to the input terminal of the amplifier. The amplifier and the comparator are used in combination. The ADC circuit and the circuit including the amplifier and the comparator can be structures outside the fast charging chip or located inside the fast charging chip.

可以将采样电阻的端电压接入放大器进行放大,然后接入比较器或者ADC,获取到当前的电流值或者电流区间。然后根据快充芯片的输入电流-充电效率特性表确定与电流匹配的开关频率,然后将确定的开关频率下发给快充芯片。The terminal voltage of the sampling resistor can be connected to an amplifier for amplification, and then connected to a comparator or ADC to obtain the current current value or current range. Then, the switching frequency that matches the current is determined according to the input current-charging efficiency characteristic table of the fast charging chip, and then the determined switching frequency is sent to the fast charging chip.

在一些实施例中,电子设备中可以包括多个快充芯片,如果大于某个电流后多个快充芯片的工作效率更高,则需要配置多个快充芯片工作中每个快充芯片的开关频率,多个快充芯片根据各自的电流-充电效率特性进行开关频率设置,当低于某个电流后单颗快充芯片工作效率高,则设置单颗快充芯片工作,单颗快充芯片根据各自的电流-充电效率特性进行频率配置。举例来说,若电子设备中包括两个快充芯片:第一快充芯片和第二快充芯片。在充电时,可以包括步骤601至步骤607。其中,In some embodiments, an electronic device may include multiple fast charging chips. If the working efficiency of multiple fast charging chips is higher when the current is greater than a certain current, it is necessary to configure the switching frequency of each fast charging chip in the operation of the multiple fast charging chips, and the switching frequency of the multiple fast charging chips is set according to their respective current-charging efficiency characteristics. When the working efficiency of a single fast charging chip is high below a certain current, a single fast charging chip is set to work, and the frequency of the single fast charging chip is configured according to its respective current-charging efficiency characteristics. For example, if the electronic device includes two fast charging chips: a first fast charging chip and a second fast charging chip. When charging, steps 601 to 607 may be included. Among them,

601.进入快充状态。601. Enter fast charging state.

602.设置第一快充芯片的开关频率为600KHz。602. Set the switching frequency of the first fast charging chip to 600KHz.

603.判断第一快充芯片的输入电流是否大于2.3A。603. Determine whether the input current of the first fast charging chip is greater than 2.3A.

若第一快充芯片的输入电流大于2.3A,则执行步骤604;若第一快充芯片的输入电流不大于2.3A,则执行步骤602。If the input current of the first fast charging chip is greater than 2.3A, execute step 604; if the input current of the first fast charging chip is not greater than 2.3A, execute step 602.

604.设置第一快充芯片的开关频率为1.2MHz。604. Set the switching frequency of the first fast charging chip to 1.2 MHz.

605.判断第一快充芯片的输入电流是否大于4.6A。605. Determine whether the input current of the first fast charging chip is greater than 4.6A.

若是,则执行步骤607;若否,则执行步骤606。If yes, execute step 607; if no, execute step 606.

606.关闭第二快充芯片。606. Turn off the second fast charging chip.

607.启动第二快充芯片并设置开关频率为1.2MHz。607. Start the second fast charging chip and set the switching frequency to 1.2 MHz.

该实施例在电流大于阈值时可以控制多个快充芯片启动运行,有利于提高充电效率。This embodiment can control multiple fast charging chips to start running when the current is greater than a threshold, which is beneficial to improving charging efficiency.

本申请实施例还提供了一种充电装置,应用于包括第一快充芯片和电池的电子设备,充电装置包括:第一确定单元,用于确定第一快充芯片的输入电流;第二确定单元,用于确定第一快充芯片的开关电路的开关频率与输入电流是否匹配;处理单元,用于在第一快充芯片的开关电路的开关频率与输入电流匹配时,不改变开关频率的值;在第一快充芯片的开关电路的开关频率与输入电流不匹配时,将开关频率的值修改为与输入电流匹配的值;充电单元,用于控制开关电路以与输入电流匹配的开关频率对电池充电。An embodiment of the present application also provides a charging device, which is applied to an electronic device including a first fast charging chip and a battery, and the charging device includes: a first determination unit, used to determine the input current of the first fast charging chip; a second determination unit, used to determine whether the switching frequency of the switching circuit of the first fast charging chip matches the input current; a processing unit, used to not change the value of the switching frequency when the switching frequency of the switching circuit of the first fast charging chip matches the input current; when the switching frequency of the switching circuit of the first fast charging chip does not match the input current, modify the value of the switching frequency to a value that matches the input current; a charging unit, used to control the switching circuit to charge the battery at a switching frequency that matches the input current.

在一些可能的实施方式中,第二确定单元具体用于,确定输入电流是否位于开关频率匹配的电流区间内;若是,则确定快充芯片的开关电路的开关频率与输入电流匹配;若否,则确定快充芯片的开关电路的开关频率与输入电流不匹配;任意电流区间内充电效率最高的频率是与任意电流区间匹配的开关频率。In some possible implementations, the second determination unit is specifically used to determine whether the input current is within the current range where the switching frequency matches; if so, it is determined that the switching frequency of the switching circuit of the fast charging chip matches the input current; if not, it is determined that the switching frequency of the switching circuit of the fast charging chip does not match the input current; the frequency with the highest charging efficiency in any current range is the switching frequency that matches any current range.

在一些可能的实施方式中,所述处理单元还用于,在所述第一快充芯片进入快充模式时,设置所述开关电路的开关频率为默认开关频率;所述默认开关频率是与包括最小电流值的电流区间匹配的开关频率。In some possible implementations, the processing unit is also used to set the switching frequency of the switching circuit to a default switching frequency when the first fast charging chip enters a fast charging mode; the default switching frequency is a switching frequency that matches a current interval that includes a minimum current value.

在一些可能的实施方式中,还包括第二快充芯片,处理单元还用于,在第一快充芯片的输入电流大于预设的电流阈值时;触发启动第二快充芯片,并将第二快充芯片的开关电路的开关频率设置为与第二快充芯片的输入电流匹配的值;在第一快充芯片的输入电流小于预设的电流阈值时,关闭第二快充芯片。In some possible embodiments, a second fast charging chip is further included, and the processing unit is further used to trigger the start of the second fast charging chip and set the switching frequency of the switching circuit of the second fast charging chip to a value matching the input current of the second fast charging chip when the input current of the first fast charging chip is greater than a preset current threshold; and turn off the second fast charging chip when the input current of the first fast charging chip is less than a preset current threshold.

在一些可能的实施方式中,第一确定单元,用于通过电流采样电路确定第一快充芯片的输入电流。In some possible implementations, the first determination unit is used to determine the input current of the first fast charging chip through a current sampling circuit.

在一些可能的实施方式中,电子设备包括与第一快充芯片输入端相连的采样电阻,第一快充芯片包括第二确定单元和所述处理单元。In some possible implementations, the electronic device includes a sampling resistor connected to an input terminal of a first fast charging chip, and the first fast charging chip includes a second determination unit and the processing unit.

在一些可能的实施方式中,电子设备包括与第一快充芯片输入端相连的采样电阻,第二确定单元和处理单元位于第一快充芯片的外部。In some possible implementations, the electronic device includes a sampling resistor connected to an input end of a first fast charging chip, and the second determination unit and the processing unit are located outside the first fast charging chip.

各模块的可能实现方式可以参见前各实施例的描述,这里不再赘述。The possible implementation methods of each module can be found in the description of the previous embodiments, which will not be repeated here.

接下来,对本申请实施例涉及的电子设备予以说明。Next, the electronic device involved in the embodiment of the present application is described.

图7是本申请实施例提供的一种电子设备700的结构示意图,其具体可以是手机、智能手表、便携式可穿戴设备等设备。参见图7,电子设备700可以包括处理器710,外部存储器接口720,内部存储器721,通用串行总线(universal serial bus,USB)接口730,充电管理模块740,电源管理模块741,电池742,天线1,天线2,移动通信模块750,无线通信模块760,音频模块770,扬声器770A,受话器770B,麦克风770C,耳机接口770D,传感器模块780,按键790,马达791,指示器792,摄像头793,屏幕794,以及用户标识模块(subscriberidentification module,SIM)卡接口795等。其中,传感器模块780可以包括压力传感器780A,陀螺仪传感器780B,气压传感器780C,磁传感器780D,加速度传感器780E,距离传感器780F,接近光传感器780G,指纹传感器780H,温度传感器780J,触摸传感器780K,环境光传感器780L,骨传导传感器780M等。FIG7 is a schematic diagram of the structure of an electronic device 700 provided in an embodiment of the present application, which may be a mobile phone, a smart watch, a portable wearable device, etc. Referring to FIG7 , the electronic device 700 may include a processor 710, an external memory interface 720, an internal memory 721, a universal serial bus (USB) interface 730, a charging management module 740, a power management module 741, a battery 742, an antenna 1, an antenna 2, a mobile communication module 750, a wireless communication module 760, an audio module 770, a speaker 770A, a receiver 770B, a microphone 770C, an earphone interface 770D, a sensor module 780, a button 790, a motor 791, an indicator 792, a camera 793, a screen 794, and a subscriber identification module (SIM) card interface 795, etc. Among them, the sensor module 780 may include a pressure sensor 780A, a gyroscope sensor 780B, an air pressure sensor 780C, a magnetic sensor 780D, an acceleration sensor 780E, a distance sensor 780F, a proximity light sensor 780G, a fingerprint sensor 780H, a temperature sensor 780J, a touch sensor 780K, an ambient light sensor 780L, a bone conduction sensor 780M, etc.

处理器710可以包括一个或多个处理单元,比如:处理器710可以包括应用处理器AP、音频数字信号处理器ADSP、调制解调处理器图形处理器(graphics processing unit,GPU)、图像信号处理器(image signal processor,ISP)、控制器、存储器、视频编解码器、数字信号处理器(digital signal processor,DSP)、基带处理器、和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 710 may include one or more processing units, for example, the processor 710 may include an application processor AP, an audio digital signal processor ADSP, a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

其中,控制器可以是电子设备700的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the electronic device 700. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

处理器710中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器710中的存储器为高速缓冲存储器。该存储器可以保存处理器710刚用过或循环使用的指令或数据。如果处理器710需要再次使用该指令或数据,可从该存储器中直接调用。避免了重复存取,减少了处理器710的等待时间,因而提高了系统的效率。The processor 710 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 710 is a cache memory. The memory may store instructions or data that the processor 710 has just used or cyclically used. If the processor 710 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 710, and thus improves the efficiency of the system.

电子设备700通过GPU,屏幕794,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接屏幕794和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器710可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 700 implements the display function through a GPU, a screen 794, and an application processor. The GPU is a microprocessor for image processing, which connects the screen 794 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 710 may include one or more GPUs, which execute program instructions to generate or change display information.

屏幕794用于显示图像,视频等。屏幕794包括显示面板。显示面板可以采用液晶屏幕(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)、有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organiclight emitting diode,AMOLED)、柔性发光二极管(flex light-emitting diode,FLED)、Miniled、MicroLed、Micro-OLED、量子点发光二极管(quantum dot light emittingdiodes,QLED)等。在一些实施例中,电子设备700可以包括1个或N个屏幕794,N为大于1的整数。The screen 794 is used to display images, videos, etc. The screen 794 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-OLED, a quantum dot light emitting diode (QLED), etc. In some embodiments, the electronic device 700 may include 1 or N screens 794, where N is an integer greater than 1.

电子设备700可以通过ISP,摄像头793,视频编解码器,GPU,屏幕794以及应用处理器等实现拍摄功能。The electronic device 700 can realize the shooting function through ISP, camera 793, video codec, GPU, screen 794 and application processor.

ISP用于处理摄像头793反馈的数据。比如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头793中。ISP is used to process the data fed back by camera 793. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 793.

摄像头793用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备700可以包括1个或N个摄像头793,N为大于1的整数。The camera 793 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 700 may include 1 or N cameras 793, where N is an integer greater than 1.

外部存储器接口720可以用于连接外部存储卡,比如Micro SD卡,实现扩展电子设备700的存储能力。外部存储卡通过外部存储器接口720与处理器710通信,实现数据存储功能。比如将音乐,视频等文件保存在外部存储卡中。The external memory interface 720 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 700. The external memory card communicates with the processor 710 through the external memory interface 720 to implement a data storage function, such as storing music, video and other files in the external memory card.

内部存储器721可以用于存储计算机可执行程序代码,计算机可执行程序代码包括指令。处理器710通过运行存储在内部存储器721的指令,来执行电子设备700的各种功能应用以及数据处理。内部存储器721可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备700在使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器721可以包括高速随机存取存储器,还可以包括非易失性存储器,比如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。The internal memory 721 can be used to store computer executable program codes, which include instructions. The processor 710 executes various functional applications and data processing of the electronic device 700 by running the instructions stored in the internal memory 721. The internal memory 721 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data (such as audio data, a phone book, etc.) created by the electronic device 700 during use, etc. In addition, the internal memory 721 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

加速度传感器780E可检测电子设备700在各个方向上(一般为三轴)加速度的大小。当电子设备700静止时可检测出重力的大小及方向。加速度传感器780E还可以用于识别电子设备700的姿态,应用于横竖屏切换,计步器等应用。当然,加速度传感器780E也可以结合陀螺仪传感器780B,来识别电子设备700的姿态,应用于横竖屏切换。The acceleration sensor 780E can detect the magnitude of the acceleration of the electronic device 700 in all directions (generally three axes). When the electronic device 700 is stationary, the magnitude and direction of gravity can be detected. The acceleration sensor 780E can also be used to identify the posture of the electronic device 700, and is applied to applications such as horizontal and vertical screen switching and pedometers. Of course, the acceleration sensor 780E can also be combined with the gyroscope sensor 780B to identify the posture of the electronic device 700, and is applied to horizontal and vertical screen switching.

陀螺仪传感器780B可以用于确定电子设备700的运动姿态。在一些实施例中,可以通过陀螺仪传感器780B确定电子设备700围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器780B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器780B检测电子设备700抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备700的抖动,实现防抖。陀螺仪传感器780B还可以用于横竖屏切换,导航,体感游戏场景。The gyroscope sensor 780B can be used to determine the motion posture of the electronic device 700. In some embodiments, the angular velocity of the electronic device 700 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 780B. The gyroscope sensor 780B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 780B detects the angle of the electronic device 700 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 700 through reverse movement to achieve anti-shake. The gyroscope sensor 780B can also be used for horizontal and vertical screen switching, navigation, and somatosensory game scenes.

可以理解的是,本申请实施例示意的结构并不构成对电子设备700的具体限定。在本申请另一些实施例中,电子设备700可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 700. In other embodiments of the present application, the electronic device 700 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

本申请实施例提供的电子设备可以是用户设备(user equipment,UE),例如移动终端(如手机)、平板电脑、手持计算机、智能手表、个人数字助理(personal digitalassistant,PAD)等设备。The electronic device provided in the embodiments of the present application may be a user equipment (UE), such as a mobile terminal (such as a mobile phone), a tablet computer, a handheld computer, a smart watch, a personal digital assistant (PAD), and the like.

另外,在上述部件之上,运行有操作系统。例如谷歌公司所开发的Android开源操作系统等。In addition, an operating system runs on the above components, such as the Android open source operating system developed by Google.

电子设备700的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。为了更清楚的说明本申请实施例提供的屏幕旋转时的显示优化方法,本申请实施例以分层架构的安卓(Android)系统为例,对电子设备700的软件系统进行示例性说明。The software system of the electronic device 700 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In order to more clearly illustrate the display optimization method when the screen is rotated provided in the embodiment of the present application, the embodiment of the present application takes the Android system of the layered architecture as an example to exemplarily illustrate the software system of the electronic device 700.

图8是本申请实施例提供的一种电子设备700的软件系统的框图。参见图8,电子设备可以包括硬件层和软件层,其中,分层架构的Android系统可以包括应用层,应用框架层,系统库层和内核层。在一些可选的实施例中,电子设备的系统还可以包括上述技术架构未提及的层级,如安卓运行时(Android Runtime)。FIG8 is a block diagram of a software system of an electronic device 700 provided in an embodiment of the present application. Referring to FIG8 , the electronic device may include a hardware layer and a software layer, wherein the layered architecture Android system may include an application layer, an application framework layer, a system library layer, and a kernel layer. In some optional embodiments, the system of the electronic device may also include layers not mentioned in the above technical architecture, such as Android Runtime.

应用程序层可以包括一系列应用程序包,如导航应用,音乐应用和视频应用等。如图8所示,应用程序包可以包括充电、视频、聊天等应用,以及系统用户界面(system userinter face,System UI)。The application layer may include a series of application packages, such as navigation applications, music applications, and video applications, etc. As shown in FIG8 , the application package may include applications such as charging, video, and chat, as well as a system user interface (System UI).

充电应用用于对充电过程进行管理,视频、聊天、语音等应用用于为用户提供对应的服务。例如,用户使用视频应用观看视频,使用聊天应用和其他用户聊天,使用音乐应用收听音乐,使用语音助手响应用户的语音指令等。The charging application is used to manage the charging process, and the video, chat, voice and other applications are used to provide corresponding services to users. For example, users use video applications to watch videos, chat with other users using chat applications, listen to music using music applications, and respond to users' voice commands using voice assistants.

SystemUI用于管理电子设备的人机交互界面(user interface,UI),在本申请实施例中,SystemUI用于管理图像合成后在屏幕中显示出来。SystemUI is used to manage the human-computer interaction interface (user interface, UI) of the electronic device. In the embodiment of the present application, SystemUI is used to manage the image synthesis and display it on the screen.

应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming in terface,API)和编程框架。应用程序框架层包括一些预先定义的函数。如图8所示,应用程序框架层可以包括窗口管理服务模块(window manageservice,WMS),显示旋转模块(又称DisplayRotation),应用管理服务模块(activitymanage service,AMS)和输入管理模块(又称Input)等。The application framework layer provides application programming interface (API) and programming framework for the application programs in the application layer. The application framework layer includes some predefined functions. As shown in FIG8 , the application framework layer may include a window management service module (window manage service, WMS), a display rotation module (also called DisplayRotation), an application management service module (activity management service, AMS) and an input management module (also called Input).

WMS用于管理窗口程序。窗口管理器可以获取屏幕大小,判断是否有状态栏,对屏幕中的图像进行抠图截取屏幕等。本申请实施例中,WMS可以创建并管理应用对应的窗口。WMS is used to manage window programs. The window manager can obtain the screen size, determine whether there is a status bar, cut out the image on the screen, capture the screen, etc. In the embodiment of the present application, WMS can create and manage the window corresponding to the application.

显示旋转模块用于控制屏幕进行旋转,通过旋转使得屏幕呈现出竖屏或者横屏的布局。比如在确定需要进行屏幕旋转时,通知Surfaceflinger进行应用界面的横竖屏切换。The display rotation module is used to control the screen rotation so that the screen presents a vertical or horizontal layout. For example, when it is determined that the screen needs to be rotated, Surfaceflinger is notified to switch the horizontal and vertical screens of the application interface.

AMS用于根据用户的操作启动特定的应用。例如,当图像完成合成操作后,触发图像在屏幕中主键显示出来,在图像显示出来后,触发对确定需要被执行抠图操作的图像执行抠图操作,并创建视频应用对应的应用堆栈,使视频应用能够正常运行。AMS is used to start a specific application based on the user's operation. For example, when the image is synthesized, the image is triggered to be displayed on the main key of the screen. After the image is displayed, the image that needs to be cut out is triggered to perform a cutout operation, and the application stack corresponding to the video application is created so that the video application can run normally.

系统库层可以包括多个功能模块,比如:传感器模块(又称sensor)和SurfaceFlinger。The system library layer can include multiple functional modules, such as sensor module (also known as sensor) and SurfaceFlinger.

传感器模块用于获取传感器采集的数据,比如采集屏幕下的环境光。采集电子设备的重力方向信息。或者,传感器模块也可以根据环境光调节屏幕的亮度,以及根据电子设备的重力方向信息,确定电子设备的横竖屏状态信息,横竖屏状态信息用于指示电子设备处于横屏状态还是竖屏状态。The sensor module is used to obtain data collected by the sensor, such as collecting ambient light under the screen. Collecting the gravity direction information of the electronic device. Alternatively, the sensor module can also adjust the brightness of the screen according to the ambient light, and determine the horizontal or vertical screen state information of the electronic device according to the gravity direction information of the electronic device. The horizontal or vertical screen state information is used to indicate whether the electronic device is in the horizontal screen state or the vertical screen state.

Surfaceflinger是一种系统服务,用于图层的创建、控制和管理等功能。Surfaceflinger is a system service used for layer creation, control, and management.

另外,系统库层还可以包括:表面管理器(surface manager),媒体库(MediaLibraries),三维图形处理库(比如:OpenGL ES),2D图形引擎(比如:SGL)等。表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,比如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。2D图形引擎是2D绘图的绘图引擎。In addition, the system library layer can also include: surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc. The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc. The 2D graphics engine is a drawing engine for 2D drawing.

内核层是硬件和软件之间的层。在本申请实施例中,内核层至少包含触控驱动模块和显示驱动模块。The kernel layer is a layer between hardware and software. In the embodiment of the present application, the kernel layer at least includes a touch driver module and a display driver module.

显示驱动模块用于根据应用框架层的模块和应用层的应用程序所提供的图像数据,在屏幕中显示合成的图像。例如,视频应用将视频的一帧图像数据传递给显示驱动模块,显示驱动模块根据该图像数据在触摸屏上显示视频中的一帧图像。SystemUI将图像数据传递给显示驱动模块,显示驱动模块将合成后的图像在屏幕中显示出来。The display driver module is used to display the synthesized image on the screen according to the image data provided by the modules of the application framework layer and the application program of the application layer. For example, the video application passes the image data of a frame of the video to the display driver module, and the display driver module displays the image of a frame in the video on the touch screen according to the image data. SystemUI passes the image data to the display driver module, and the display driver module displays the synthesized image on the screen.

触控驱动模块用于监测触摸屏各区域的电容值。当用户在触摸屏上点击或滑动时,被点击或滑动的区域的电容值会发生变化,触控驱动模块能够监测到触摸屏上各区域电容值的变化,并向输入管理模块发送电容值变化消息,电容值变化消息中携带有触摸屏各个区域的电容值(或电容采样值)的变化幅度以及发生变化的时间等信息。The touch driver module is used to monitor the capacitance value of each area of the touch screen. When the user clicks or slides on the touch screen, the capacitance value of the clicked or slid area will change. The touch driver module can monitor the change of the capacitance value of each area on the touch screen and send a capacitance value change message to the input management module. The capacitance value change message carries information such as the change amplitude of the capacitance value (or capacitance sampling value) of each area of the touch screen and the time of change.

输入管理模块根据上报的电容值变化消息可以确定触控操作,然后将识别到的触控操作发送给其他模块。这里的触控操作可以包括点击操作,拖拽操作,以及特定的手势操作(如上滑手势操作,横滑手势操作等)。The input management module can determine the touch operation based on the reported capacitance value change message, and then send the identified touch operation to other modules. The touch operation here can include click operation, drag operation, and specific gesture operation (such as swipe gesture operation, horizontal swipe gesture operation, etc.).

硬件层包括屏幕和环境光传感器等,环境光传感器用于检测屏幕下面的环境光信息等。在环境光传感器具有处理功能时,可以获取抠图操作对应的图像信息,根据抠图操作得到的图像的图像信息和检测得到的屏幕下的环境信息确定真实的环境光信息。以及根据真实的环境光信息生成对屏幕亮度进行调节的调节信号。The hardware layer includes the screen and the ambient light sensor, etc. The ambient light sensor is used to detect the ambient light information under the screen. When the ambient light sensor has a processing function, it can obtain the image information corresponding to the cutout operation, and determine the real ambient light information based on the image information of the image obtained by the cutout operation and the environmental information under the screen obtained by the detection. And generate an adjustment signal for adjusting the screen brightness based on the real ambient light information.

上述技术架构列举了电子设备中本申请可能涉及的模块和器件。在实际应用中,电子设备可以包括上述技术架构的全部或部分模块和器件,以及其他上述技术架构未提及的模块和器件,当然,也可以只包括上述技术架构的模块和器件,本实施例对此不做限定。The above technical architecture lists the modules and devices that may be involved in this application in the electronic device. In practical applications, the electronic device may include all or part of the modules and devices of the above technical architecture, as well as other modules and devices not mentioned in the above technical architecture. Of course, it may also include only the modules and devices of the above technical architecture, which is not limited in this embodiment.

为了便于理解本申请实施例提供的充电方法,下面先结合图8所示的电子设备的技术架构,以电子设备为手机为例,说明本申请提供的充电方法的实现方式。In order to facilitate understanding of the charging method provided in the embodiment of the present application, the following first combines the technical architecture of the electronic device shown in Figure 8 and takes the electronic device as a mobile phone as an example to illustrate the implementation of the charging method provided in the present application.

在图7中的充电管理模块740包括快充芯片,在充电接口接入充电线时,触发启动快充模式。可以理解的,也可以通过无线方式,比如放在用于给电子设备进行充电的充电面板上触发启动快充模式。确定快充芯片的输入电流;确定快充芯片的开关电路的开关频率与输入电流是否匹配;在快充芯片的开关电路的开关频率与输入电流匹配时,不改变开关频率的值;在快充芯片的开关电路的开关频率与输入电流不匹配时,将开关频率的值修改为与输入电流匹配的值;控制开关电路以与输入电流匹配的开关频率对电池充电。确定快充芯片的开关电路的开关频率与输入电流是否匹配,包括:确定输入电流是否位于开关频率匹配的电流区间内;若是,则确定快充芯片的开关电路的开关频率与输入电流匹配;若否,则确定快充芯片的开关电路的开关频率与输入电流不匹配;任意电流区间内充电效率最高的频率是与任意电流区间匹配的开关频率。The charging management module 740 in FIG. 7 includes a fast charging chip, which triggers the fast charging mode when the charging interface is connected to the charging line. It is understandable that the fast charging mode can also be triggered wirelessly, such as by placing it on a charging panel used to charge electronic devices. Determine the input current of the fast charging chip; determine whether the switching frequency of the switching circuit of the fast charging chip matches the input current; when the switching frequency of the switching circuit of the fast charging chip matches the input current, do not change the value of the switching frequency; when the switching frequency of the switching circuit of the fast charging chip does not match the input current, modify the value of the switching frequency to a value that matches the input current; control the switching circuit to charge the battery at a switching frequency that matches the input current. Determine whether the switching frequency of the switching circuit of the fast charging chip matches the input current, including: determining whether the input current is within the current interval where the switching frequency matches; if so, determine that the switching frequency of the switching circuit of the fast charging chip matches the input current; if not, determine that the switching frequency of the switching circuit of the fast charging chip does not match the input current; the frequency with the highest charging efficiency in any current interval is the switching frequency that matches any current interval.

本申请在进行充电时,不同电流区间开关电路的开关频率不同,相对于现有技术中开关频率固定不变的技术方案来说,本申请提供的技术方案有利于根据不同电流区间中充电效率最高的开关频率不同的特性提高充电效率。When charging, the switching frequencies of the switching circuits in different current intervals are different. Compared with the technical solutions in the prior art in which the switching frequencies are fixed, the technical solutions provided by the present application are conducive to improving the charging efficiency according to the different characteristics of the switching frequencies with the highest charging efficiency in different current intervals.

本申请实施例还提供了一种电子设备,包括:存储器和一个或多个处理器,存储器与处理器耦合;其中,存储器中存储有计算机程序代码,计算机程序代码包括计算机指令,当计算机指令被处理器执行时,使得所子设备执行上述各个方法实施例中的步骤。An embodiment of the present application also provides an electronic device, comprising: a memory and one or more processors, wherein the memory is coupled to the processor; wherein computer program code is stored in the memory, and the computer program code comprises computer instructions, and when the computer instructions are executed by the processor, the sub-device executes the steps in the above-mentioned method embodiments.

本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,当计算机程序被处理器执行时能够实现上述各个方法实施例中的步骤。An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

本申请实施例提供了一种计算机程序产品,该计算机程序产品包括计算机程序,当计算机程序被处理器执行时能够实现上述各个方法实施例中的步骤。An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到拍照装置/电子设备的任何实体或装置、记录介质、计算机存储器、只读存储器(read-only memory,ROM)、随机存取存储器(random accessmemory,RAM)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。The present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to a camera/electronic device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

在本申请所提供的实施例中,应该理解到,所揭露的方法和电子设备,可以通过其它的方式实现。例如,以上所描述的装置/网络设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in the present application, it should be understood that the disclosed methods and electronic devices can be implemented in other ways. For example, the device/network device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and/or combinations thereof.

还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term “and/or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims (12)

1. The charging method is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a first quick-charging chip, a battery and a sampling resistor connected with the input end of the first quick-charging chip, and the first quick-charging chip comprises: an amplifier, a comparator, a register, and a switching circuit, the method comprising:
determining the input current of the first quick charge chip;
obtaining a plurality of current intervals of the first quick charging chip according to the intersection points of a plurality of input current-charging efficiency characteristic curves of the first quick charging chip, wherein the switching frequencies of the switching circuits of the first quick charging chip corresponding to the highest charging efficiency of each current interval in the plurality of current intervals are different;
acquiring sampling voltages at two ends of the sampling resistor;
Amplifying the sampling voltage through the amplifier to obtain an amplified sampling voltage;
Comparing the amplified sampling voltage with a voltage value preset by the comparator to obtain a comparison result; when the comparison result shows that the switching frequency of the switching circuit of the first quick charge chip is not matched with the input current, triggering the switching circuit to switch the switching frequency of the switching circuit of the first quick charge chip to the switching frequency matched with the input current of the first quick charge chip stored in the register according to the comparison result, wherein the switching frequency of the switching circuit of the first quick charge chip matched with the input current is the switching frequency of the switching circuit of the first quick charge chip corresponding to the highest charging efficiency in the current intervals in the multiple current intervals in which the input current is located;
and controlling a switching circuit of the first quick charge chip to charge the battery at a switching frequency matched with the input current of the first quick charge chip.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
When the comparison result is that the amplified sampling voltage is matched with a voltage value preset by the comparator, the comparison result indicates that the switching frequency of the switching circuit of the first quick charge chip is matched with the input current;
And when the comparison result is that the amplified sampling voltage is not matched with the preset voltage value of the comparator, the comparison result indicates that the switching frequency of the switching circuit of the first quick charge chip is not matched with the input current.
3. The method of claim 1, wherein prior to said determining the input current of the first fast charge chip, the method further comprises:
When the first quick charging chip enters a quick charging mode, setting the switching frequency of a switching circuit of the first quick charging chip as a default switching frequency; the default switching frequency is a switching frequency that matches a current interval including a minimum current value.
4. A method according to any one of claims 1 to 3, wherein the electronic device further comprises a second fast-charging chip, the method further comprising:
When the input current of the first quick charge chip is larger than a preset current threshold value, starting the second quick charge chip, and setting the switching frequency of a switching circuit of the second quick charge chip to be a value matched with the input current of the second quick charge chip;
And when the input current of the first quick charge chip is smaller than the preset current threshold, closing the second quick charge chip.
5. The method of any one of claims 1 to 4, wherein the determining the input current of the first fast charge chip comprises:
And determining the input current of the first quick charge chip through a current sampling circuit.
6. The utility model provides a charging device, its characterized in that is applied to electronic equipment, electronic equipment includes first quick charge chip, battery, and with the sampling resistance that first quick charge chip input links to each other, first quick charge chip includes: an amplifier, a comparator, a register and a switching circuit, the charging device comprising:
A first determining unit, configured to determine an input current of the first fast charging chip;
the second determining unit is used for obtaining a plurality of current intervals according to the intersection points of a plurality of input current-charging efficiency characteristic curves of the first quick charging chip, and the switching frequency of the switching circuit of the first quick charging chip corresponding to each current interval in the plurality of current intervals when the charging efficiency of the current interval is highest is different; acquiring sampling voltages at two ends of the sampling resistor; amplifying the sampling voltage through the amplifier to obtain an amplified sampling voltage, and comparing the amplified sampling voltage with a voltage value preset by the comparator to obtain a comparison result;
The processing unit is used for triggering the switching circuit to switch the switching frequency of the switching circuit of the first fast charging chip to the switching frequency which is stored in the register and is matched with the input current of the first fast charging chip when the comparison result shows that the switching frequency of the switching circuit of the first fast charging chip is not matched with the input current;
And the charging unit is used for controlling the switching circuit of the first quick charging chip to charge the battery at a switching frequency matched with the input current of the first quick charging chip.
7. The charging device according to claim 6, wherein,
When the comparison result is that the amplified sampling voltage is matched with a voltage value preset by the comparator, the comparison result indicates that the switching frequency of the switching circuit of the first quick charge chip is matched with the input current;
And when the comparison result is that the amplified sampling voltage is not matched with the preset voltage value of the comparator, the comparison result indicates that the switching frequency of the switching circuit of the first quick charge chip is not matched with the input current.
8. The charging device according to claim 6, wherein,
The processing unit is further configured to set a switching frequency of a switching circuit of the first fast-charging chip to a default switching frequency when the first fast-charging chip enters a fast-charging mode; the default switching frequency is a switching frequency that matches a current interval including a minimum current value.
9. The charging device according to any one of claims 6 to 8, further comprising a second fast charging chip,
The processing unit is further used for when the input current of the first quick charging chip is larger than a preset current threshold value; triggering and starting a second quick charging chip, and setting the switching frequency of a switching circuit of the second quick charging chip to be a value matched with the input current of the second quick charging chip;
And when the input current of the first quick charge chip is smaller than the preset current threshold, closing the second quick charge chip.
10. The charging device according to any one of claims 6 to 9, wherein,
The first determining unit is used for determining the input current of the first quick charging chip through the current sampling circuit.
11. An electronic device, comprising: the quick-charging chip comprises a first quick-charging chip, a battery, a sampling resistor connected with the input end of the first quick-charging chip and a charging device, wherein the first quick-charging chip comprises: an amplifier, a comparator, a register and a switching circuit, the charging device being adapted to perform the method of any one of claims 1-5.
12. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any of claims 1-5.
CN202410681987.1A 2023-05-26 2023-05-26 Charging method, charging device, electronic device and readable storage medium Pending CN119030067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410681987.1A CN119030067A (en) 2023-05-26 2023-05-26 Charging method, charging device, electronic device and readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202410681987.1A CN119030067A (en) 2023-05-26 2023-05-26 Charging method, charging device, electronic device and readable storage medium
CN202310612690.5A CN116826892B (en) 2023-05-26 2023-05-26 Charging method, charging device, electronic apparatus, and readable storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202310612690.5A Division CN116826892B (en) 2023-05-26 2023-05-26 Charging method, charging device, electronic apparatus, and readable storage medium

Publications (1)

Publication Number Publication Date
CN119030067A true CN119030067A (en) 2024-11-26

Family

ID=88119391

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202410681987.1A Pending CN119030067A (en) 2023-05-26 2023-05-26 Charging method, charging device, electronic device and readable storage medium
CN202310612690.5A Active CN116826892B (en) 2023-05-26 2023-05-26 Charging method, charging device, electronic apparatus, and readable storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202310612690.5A Active CN116826892B (en) 2023-05-26 2023-05-26 Charging method, charging device, electronic apparatus, and readable storage medium

Country Status (2)

Country Link
CN (2) CN119030067A (en)
WO (1) WO2024245158A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119030067A (en) * 2023-05-26 2024-11-26 荣耀终端有限公司 Charging method, charging device, electronic device and readable storage medium
CN117154900B (en) * 2023-10-30 2024-04-26 荣耀终端有限公司 Charging control method and electronic device
CN118611230B (en) * 2024-08-06 2025-01-14 比亚迪股份有限公司 Charging and discharging circuit, charging and discharging system and vehicle

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961131B (en) * 2016-01-11 2024-06-07 丰翼科技(深圳)有限公司 Intelligent charger adapted to intelligent battery
EP3249779B1 (en) * 2016-02-05 2020-09-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Adaptor and charge control method
CN108258348B (en) * 2018-02-13 2022-04-29 中兴通讯股份有限公司 Charging method, charging device, charging system, charging circuit, terminal and charging system
CN109802560A (en) * 2018-12-27 2019-05-24 南京矽力杰半导体技术有限公司 Switching capacitors and its control method
CN114070046B (en) * 2020-07-31 2024-04-09 华为技术有限公司 Voltage conversion circuit, control method thereof and electronic equipment
CN113098272B (en) * 2021-04-23 2022-01-25 陕西亚成微电子股份有限公司 Control method and circuit of switching power supply
US20220407337A1 (en) * 2021-06-22 2022-12-22 Intel Corporation Predictable battery power management apparatus and method
CN114498811B (en) * 2021-12-24 2022-12-20 荣耀终端有限公司 Charging management module, charging circuit, charging control method and electronic equipment
CN119030067A (en) * 2023-05-26 2024-11-26 荣耀终端有限公司 Charging method, charging device, electronic device and readable storage medium

Also Published As

Publication number Publication date
WO2024245158A1 (en) 2024-12-05
CN116826892A (en) 2023-09-29
CN116826892B (en) 2024-06-21

Similar Documents

Publication Publication Date Title
CN116826892B (en) Charging method, charging device, electronic apparatus, and readable storage medium
CN110462572B (en) Electronic device and control method thereof
WO2020187157A1 (en) Control method and electronic device
CN111782102B (en) Window display method and related device
CN110476138B (en) Low power driving method of display and electronic device for performing the same
US10484673B2 (en) Wearable device and method for providing augmented reality information
WO2021032097A1 (en) Air gesture interaction method and electronic device
WO2021027725A1 (en) Method for displaying page elements and electronic device
US20150192989A1 (en) Electronic device and method of controlling electronic device
CN110147805A (en) Image processing method, device, terminal and storage medium
WO2021098609A1 (en) Method and device for image detection, and electronic device
CN104869320A (en) Electronic device and control method of the same
US10347221B2 (en) Electronic device and method for controlling display thereof
CN110830645B (en) Operation method, electronic equipment and computer storage medium
KR20150132963A (en) Method and apparatus for processing an input using a display
WO2021057699A1 (en) Method for controlling electronic device with flexible screen, and electronic device
CN105320402A (en) Method of managing data and electronic device for processing the same
WO2021103919A1 (en) Composition recommendation method and electronic device
WO2023216957A1 (en) Target positioning method and system, and electronic device
CN115643485B (en) Photography methods and electronic equipment
KR102266869B1 (en) Electronic apparatus and dispalying method thereof
CN116225274A (en) Identification method and device for touch operation, electronic equipment and storage medium
CN112181915A (en) Method, device, terminal and storage medium for executing service
CN115686252B (en) Position information calculation method and electronic device in touch screen
WO2023116505A1 (en) Module processing method and apparatus for foreground and background separation system, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Applicant after: Honor Terminal Co.,Ltd.

Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong

Applicant before: Honor Device Co.,Ltd.

Country or region before: China