CN104467109B - Method for supplying power to electronic equipment and electronic equipment - Google Patents
Method for supplying power to electronic equipment and electronic equipment Download PDFInfo
- Publication number
- CN104467109B CN104467109B CN201410827516.3A CN201410827516A CN104467109B CN 104467109 B CN104467109 B CN 104467109B CN 201410827516 A CN201410827516 A CN 201410827516A CN 104467109 B CN104467109 B CN 104467109B
- Authority
- CN
- China
- Prior art keywords
- charging
- electronic device
- power supply
- circuits
- voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 238000007600 charging Methods 0.000 claims abstract description 477
- 230000004044 response Effects 0.000 claims description 21
- 230000008569 process Effects 0.000 claims description 13
- 230000005540 biological transmission Effects 0.000 claims description 12
- 230000006870 function Effects 0.000 description 9
- 238000001514 detection method Methods 0.000 description 7
- 230000001960 triggered effect Effects 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000010280 constant potential charging Methods 0.000 description 3
- 238000010277 constant-current charging Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000010348 incorporation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0029—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
本发明适用于充电领域,提供了一种用于为电子设备供电的方法和电子设备。所述电子设备包括用于连接供电设备的充电接口,所述充电接口包括电源引脚和数据引脚,所述电源引脚用于接收所述供电设备发送的充电电信号,所述数据引脚用于接收所述供电设备发送的数据信号;所述供电方法包括:确定所述数据引脚的电压;在所述数据引脚的电压大于或等于第一电压阈值时,断开经过所述数据引脚的数据传输的电连接。避免因数据引脚上过高的电压烧毁电子设备中与该数据引脚具有电性连接关系的其它电路。
The invention is applicable to the field of charging, and provides a method for supplying power to electronic equipment and the electronic equipment. The electronic device includes a charging interface for connecting to a power supply device, the charging interface includes a power pin and a data pin, the power pin is used to receive a charging electrical signal sent by the power supply device, and the data pin For receiving the data signal sent by the power supply device; the power supply method includes: determining the voltage of the data pin; when the voltage of the data pin is greater than or equal to a first voltage threshold, disconnecting the data signal passing through the data Pins are electrical connections for data transfer. Avoid burning other circuits in the electronic device that are electrically connected to the data pin due to an over-high voltage on the data pin.
Description
技术领域technical field
本发明属于充电领域,尤其涉及一种用于为电子设备供电的方法和电子设备。。The invention belongs to the field of charging, and in particular relates to a method for supplying power to electronic equipment and the electronic equipment. .
背景技术Background technique
电子设备,是指由集成电路、晶体管、电子管等电子元器件组成的设备;对于部分电子设备,还可对其编程以实现各种功能。目前,电子设备在各行各业得到广泛的开发并应用,包括:电子计算机、由已编程序的控制器控制的机器人、数控和程控系统等;具体在生活中,包括智能手机等移动终端、还包括智能家电。Electronic equipment refers to equipment composed of electronic components such as integrated circuits, transistors, and electronic tubes; for some electronic equipment, it can also be programmed to achieve various functions. At present, electronic equipment has been widely developed and applied in various industries, including: electronic computers, robots controlled by programmed controllers, numerical control and program-controlled systems, etc.; Including smart home appliances.
随着时代的进步,互联网和移动通信网提供了海量的功能应用。用户不但可以使用电子设备进行传统应用,例如:使用智能手机接听或拨打电话;同时,用户还可以使用电子设备进行网页浏览、图片传输,游戏等。伴随着电子设备的使用频率增加,电子设备需要经常充电。With the progress of the times, the Internet and mobile communication networks provide a large number of functional applications. Users can not only use electronic devices for traditional applications, such as: use smart phones to answer or make calls; at the same time, users can also use electronic devices for web browsing, picture transmission, games, etc. As the frequency of use of electronic devices increases, the electronic devices need to be charged frequently.
因此,普遍将数据引脚与电源引脚都设计到了电子设备的充电接口中,不但可以通过该充电接口中的电源引脚对该电子设备供电和/或对该电子设备中的电芯充电,还可以通过该充电接口中的数据引脚与供电设备进行数据交互。但是,如果数据引脚的电压过高,会损坏电子设备中位于充电接口后级的电路。Therefore, both the data pin and the power pin are generally designed into the charging interface of the electronic device, not only the power pin in the charging interface can be used to supply power to the electronic device and/or charge the battery in the electronic device, It is also possible to perform data interaction with the power supply device through the data pin in the charging interface. However, if the voltage of the data pin is too high, it will damage the circuit in the subsequent stage of the charging interface in the electronic device.
发明内容Contents of the invention
本发明的目的在于提供一种用于为电子设备供电的方法和电子设备,以解决现有技术因充电接口中的数据引脚上的电压过高,而损坏位于该充电接口后级的电路的问题。The object of the present invention is to provide a method for supplying power to electronic equipment and electronic equipment, so as to solve the problem in the prior art that the circuit located at the rear stage of the charging interface is damaged due to the excessive voltage on the data pin in the charging interface. question.
第一方面,本发明提供一种供电方法,所述电子设备包括用于连接供电设备的充电接口,所述充电接口包括电源引脚和数据引脚,所述电源引脚用于接收所述供电设备发送的充电电信号,所述数据引脚用于接收所述供电设备发送的数据信号,所述供电方法包括:In a first aspect, the present invention provides a power supply method, the electronic device includes a charging interface for connecting to a power supply device, the charging interface includes a power pin and a data pin, and the power pin is used to receive the power supply The charging electrical signal sent by the device, the data pin is used to receive the data signal sent by the power supply device, and the power supply method includes:
确定所述数据引脚的电压;determining the voltage of the data pin;
在所述数据引脚的电压大于或等于第一电压阈值时,断开经过所述数据引脚的数据传输的电连接。When the voltage of the data pin is greater than or equal to a first voltage threshold, the electrical connection of data transmission through the data pin is disconnected.
结合第一方面,在第一方面的第一种可能的实现方式中,所述确定所述数据引脚的电压,包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the determining the voltage of the data pin includes:
在确定所述供电设备的供电接口与所述充电接口的电连接由断开转换为连接时,确定所述数据引脚的电压;determining the voltage of the data pin when it is determined that the electrical connection between the power supply interface of the power supply device and the charging interface is switched from disconnection to connection;
在确定所述供电设备的供电接口与所述充电接口的电连接由连接转换为断开时,确定所述数据引脚的电压。The voltage of the data pin is determined when it is determined that the electrical connection between the power supply interface of the power supply device and the charging interface is switched from being connected to being disconnected.
结合第一方面或者第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述第一电压阈值由所述电源引脚的输入电压确定。With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the first voltage threshold is determined by an input voltage of the power supply pin.
结合第一方面或者第一方面的第一种可能的实现方式或者第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述方法还包括:In combination with the first aspect or the first possible implementation of the first aspect or the second possible implementation of the first aspect, in a third possible implementation of the first aspect, the method further includes:
向所述供电设备发送指定充电电压的充电指令;sending a charging instruction specifying a charging voltage to the power supply device;
接收所述供电设备根据所述充电指令发送的充电响应;receiving a charging response sent by the power supply device according to the charging instruction;
根据所述充电响应,导通K个充电电路对电芯充电的充电回路,其中,所述K个充电电路属于所述电子设备的全部或部分充电电路。According to the charging response, turn on the charging circuit for charging the battery cells by K charging circuits, wherein the K charging circuits belong to all or part of the charging circuits of the electronic device.
结合第一方面或者第一方面的第一种实施方式或者第一方面的第二种可能的实现方式或者第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述导通K个充电电路对电芯充电的充电回路之前,所述方法还包括:In combination with the first aspect or the first implementation of the first aspect or the second possible implementation of the first aspect or the third possible implementation of the first aspect, the fourth possible implementation of the first aspect In the method, before the charging circuit for charging the battery cells by turning on the K charging circuits, the method further includes:
确定所述电子设备当前所处的充电阶段;determining the current charging phase of the electronic device;
根据当前所处的充电阶段,确定对所述电芯进行充电的充电电路的数量K。According to the current charging stage, the number K of charging circuits for charging the battery cells is determined.
结合第一方面的第二种可能的实现方式或者第一方面的第三种可能的实现方式或者第一方面的第四种可能的实现方式,在第一方面的第五种可能的实现方式中,所述方法还包括:In combination with the second possible implementation of the first aspect or the third possible implementation of the first aspect or the fourth possible implementation of the first aspect, in the fifth possible implementation of the first aspect , the method also includes:
确定对所述电芯进行充电的充电电路的数量M;determining the number M of charging circuits for charging the batteries;
导通M个充电电路对电芯充电的充电回路,其中,所述M个充电电路属于所述电子设备的全部或部分充电电路,其中,所述K不同于所述M。Turning on the charging circuit for charging the battery cells with M charging circuits, wherein the M charging circuits belong to all or part of the charging circuits of the electronic device, and wherein the K is different from the M.
结合第一方面或者第一方面的第一种实施方式或者第一方面的第二种可能的实现方式或者第一方面的第三种可能的实现方式或者第一方面的第四种可能的实现方式或者第一方面的第五种可能的实现方式,在第一方面的第六种可能的实现方式中,所述确定对所述电芯进行充电的充电电路的数量M,包括:In combination with the first aspect or the first implementation mode of the first aspect or the second possible implementation mode of the first aspect or the third possible implementation mode of the first aspect or the fourth possible implementation mode of the first aspect Or in the fifth possible implementation of the first aspect, in the sixth possible implementation of the first aspect, the determining the number M of charging circuits for charging the batteries includes:
根据以下参数中的至少一种,确定对所述电芯进行充电的充电电路的数量M:Determine the number M of charging circuits for charging the batteries according to at least one of the following parameters:
其中,所述参数包括:用户输入的分散充电指令、电子设备中一个或多个电子器件所处环境的环境温度和应用程序运行状态。Wherein, the parameters include: a decentralized charging command input by a user, an ambient temperature of an environment where one or more electronic devices in the electronic device are located, and an application program running state.
结合第一方面或者第一方面的第一种实施方式或者第一方面的第二种可能的实现方式或者第一方面的第三种可能的实现方式或者第一方面的第四种可能的实现方式或者第一方面的第五种可能的实现方式或者第一方面的第六种可能的实现方式,在第一方面的第七种可能的实现方式中,所述方法还包括:In combination with the first aspect or the first implementation mode of the first aspect or the second possible implementation mode of the first aspect or the third possible implementation mode of the first aspect or the fourth possible implementation mode of the first aspect Or the fifth possible implementation of the first aspect or the sixth possible implementation of the first aspect, in the seventh possible implementation of the first aspect, the method further includes:
在满足以下条件中的至少一种时,断开所有充电电路对所述电芯充电的充电回路:When at least one of the following conditions is met, all charging circuits for charging the batteries are disconnected:
其中,所述条件包括:接收到用户输入的断开指令、电子设备的电芯的温度大于或等于温度阈值、所述电芯的正极输入电压大于或等于第二电压阈值和所述电芯电量大于或等于电量阈值。Wherein, the conditions include: a disconnection command input by the user is received, the temperature of the battery core of the electronic device is greater than or equal to the temperature threshold, the positive input voltage of the battery core is greater than or equal to the second voltage threshold and the battery capacity greater than or equal to the power threshold.
第二方面,本发明提供一种电子设备,所述电子设备包括控制模块和用于连接供电设备的充电接口,所述控制模块与所述充电接口电连接,所述充电接口包括电源引脚和数据引脚,所述电源引脚用于接收所述供电设备发送的充电电信号,所述数据引脚用于接收所述供电设备发送的数据信号;In a second aspect, the present invention provides an electronic device, the electronic device includes a control module and a charging interface for connecting to a power supply device, the control module is electrically connected to the charging interface, and the charging interface includes a power pin and a charging interface. A data pin, the power supply pin is used to receive the charging electrical signal sent by the power supply device, and the data pin is used to receive the data signal sent by the power supply device;
所述控制模块用于:确定所述数据引脚的电压,在所述数据引脚的电压大于或等于第一电压阈值时,断开经过所述数据引脚的数据传输的电连接。The control module is used for: determining the voltage of the data pin, and disconnecting the electrical connection of the data transmission through the data pin when the voltage of the data pin is greater than or equal to a first voltage threshold.
结合第二方面,在第二方面的第一种可能的实现方式中,所述控制模块具体用于:在确定所述供电设备的供电接口与所述充电接口的电连接由断开转换为连接时,确定所述数据引脚的电压;With reference to the second aspect, in a first possible implementation manner of the second aspect, the control module is specifically configured to: when determining that the electrical connection between the power supply interface of the power supply device and the charging interface changes from disconnection to connection , determine the voltage of the data pin;
所述控制模块具体用于:在确定所述供电设备的供电接口与所述充电接口的电连接由连接转换为断开时,确定所述数据引脚的电压。The control module is specifically configured to: determine the voltage of the data pin when it is determined that the electrical connection between the power supply interface of the power supply device and the charging interface is switched from being connected to being disconnected.
结合第二方面或者第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述第一电压阈值由所述电源引脚的输入电压确定。With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the first voltage threshold is determined by an input voltage of the power supply pin.
结合第二方面或者第二方面的第一种可能的实现方式或者第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述电子设备还包括N个并联的充电电路和电芯,所述控制模块分别与N个所述充电电路电连接;With reference to the second aspect or the first possible implementation of the second aspect or the second possible implementation of the second aspect, in a third possible implementation of the second aspect, the electronic device further includes N charging circuits and batteries connected in parallel, the control modules are electrically connected to the N charging circuits respectively;
所述控制模块还用于:向所述供电设备发送指定充电电压的充电指令,接收所述供电设备根据所述充电指令发送的充电响应,根据所述充电响应导通K个充电电路对电芯充电的充电回路,其中,所述K小于或等于所述N。The control module is further configured to: send a charging command specifying a charging voltage to the power supply device, receive a charging response sent by the power supply device according to the charging command, and conduct K charging circuits to charge the battery cells according to the charging response. A charging circuit for charging, wherein the K is less than or equal to the N.
结合第二方面或者第二方面的第一种实施方式或者第二方面的第二种可能的实现方式或者第二方面的第三种可能的实现方式,在第二方面的第四种可能的实现方式中,所述控制模块还用于:确定所述电子设备当前所处的充电阶段,根据当前所处的充电阶段,确定对所述电芯进行充电的充电电路的数量K。In combination with the second aspect or the first implementation manner of the second aspect or the second possible implementation manner of the second aspect or the third possible implementation manner of the second aspect, the fourth possible implementation manner of the second aspect In the manner, the control module is further configured to: determine the current charging stage of the electronic device, and determine the number K of charging circuits for charging the battery cells according to the current charging stage.
结合第二方面的第二种可能的实现方式或者第二方面的第三种可能的实现方式或者第二方面的第四种可能的实现方式,在第二方面的第五种可能的实现方式中,所述控制模块还用于:确定对所述电芯进行充电的充电电路的数量M;In combination with the second possible implementation of the second aspect or the third possible implementation of the second aspect or the fourth possible implementation of the second aspect, in the fifth possible implementation of the second aspect , the control module is also used to: determine the number M of charging circuits for charging the batteries;
导通M个充电电路对电芯充电的充电回路,其中,所述M个充电电路属于所述电子设备的全部或部分充电电路,其中,所述K不同于所述M,所述K小于或等于所述N。Conducting a charging circuit for charging the battery cells by turning on M charging circuits, wherein the M charging circuits belong to all or part of the charging circuits of the electronic device, wherein the K is different from the M, and the K is less than or equal to the N.
结合第二方面或者第二方面的第一种实施方式或者第二方面的第二种可能的实现方式或者第二方面的第三种可能的实现方式或者第二方面的第四种可能的实现方式或者第二方面的第五种可能的实现方式,在第二方面的第六种可能的实现方式中,所述控制模块还用于:根据以下参数中的至少一种,确定对所述电芯进行充电的充电电路的数量M:In combination with the second aspect or the first implementation manner of the second aspect or the second possible implementation manner of the second aspect or the third possible implementation manner of the second aspect or the fourth possible implementation manner of the second aspect Or in the fifth possible implementation of the second aspect, in the sixth possible implementation of the second aspect, the control module is further configured to: determine, according to at least one of the following parameters, The number M of charging circuits performing charging:
其中,所述参数包括:用户输入的分散充电指令、电子设备中一个或多个电子器件所处环境的环境温度和应用程序运行状态。Wherein, the parameters include: a decentralized charging command input by a user, an ambient temperature of an environment where one or more electronic devices in the electronic device are located, and an application program running state.
结合第二方面或者第二方面的第一种实施方式或者第二方面的第二种可能的实现方式或者第二方面的第三种可能的实现方式或者第二方面的第四种可能的实现方式或者第二方面的第五种可能的实现方式或者第二方面的第六种可能的实现方式,在第二方面的第七种可能的实现方式中,所述电子设备还包括开关模块,所述开关模块连接在所述充电接口与所述充电电路之间;In combination with the second aspect or the first implementation manner of the second aspect or the second possible implementation manner of the second aspect or the third possible implementation manner of the second aspect or the fourth possible implementation manner of the second aspect Or the fifth possible implementation of the second aspect or the sixth possible implementation of the second aspect, in the seventh possible implementation of the second aspect, the electronic device further includes a switch module, the The switch module is connected between the charging interface and the charging circuit;
所述控制模块与所述开关模块电连接,所述控制模块还用于:依次经过所述充电接口、所述开关模块和所述充电电路对所述电芯充电的过程中,在满足以下条件中的至少一种时,控制所述开关模块断开所有充电电路对所述电芯充电的充电回路:The control module is electrically connected to the switch module, and the control module is also used to: during the process of charging the battery cell through the charging interface, the switch module and the charging circuit in sequence, when the following conditions are met When at least one of the above is used, the switch module is controlled to disconnect all charging circuits for charging the batteries:
其中,所述条件包括:接收到用户输入的断开指令、电子设备的电芯的温度大于或等于温度阈值、所述电芯的正极输入电压大于或等于第二电压阈值和所述电芯电量大于或等于电量阈值。Wherein, the conditions include: a disconnection command input by the user is received, the temperature of the battery core of the electronic device is greater than or equal to the temperature threshold, the positive input voltage of the battery core is greater than or equal to the second voltage threshold and the battery capacity greater than or equal to the power threshold.
本发明实施例提供的用于为电子设备供电的方法和电子设备,通过确定电子设备的充电接口的数据引脚的电压,在数据引脚的电压大于或等于电压阈值时,断开经过该数据引脚的数据传输的电连接,可以避免因数据引脚上过高的电压烧毁电子设备中与该数据引脚具有电性连接关系的其它电路。In the method and electronic device for power supply provided by the embodiments of the present invention, by determining the voltage of the data pin of the charging interface of the electronic device, when the voltage of the data pin is greater than or equal to the voltage threshold, the data passing through the data pin is disconnected. The electrical connection of the data transmission of the pin can prevent other circuits in the electronic device that are electrically connected to the data pin from being burned due to an excessively high voltage on the data pin.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following descriptions are only of the present invention. For some embodiments, those skilled in the art can also obtain other drawings according to these drawings without paying creative efforts.
图1是本发明实施例提供的供电方法的工作流程图;Fig. 1 is a working flowchart of the power supply method provided by the embodiment of the present invention;
图2是本发明实施例提供的供电方法的一种工作流程图;Fig. 2 is a kind of working flowchart of the power supply method provided by the embodiment of the present invention;
图3是本发明实施例提供的供电方法的一种优化工作流程图;Fig. 3 is an optimized workflow diagram of the power supply method provided by the embodiment of the present invention;
图4是本发明实施例提供的电子设备的组成结构图;FIG. 4 is a structural diagram of an electronic device provided by an embodiment of the present invention;
图5是本发明实施例提供的电子设备的一种优化组成结构;FIG. 5 is an optimized composition structure of an electronic device provided by an embodiment of the present invention;
图6是本发明实施例提供的电子设备的又一种优化组成结构。FIG. 6 is another optimized composition structure of the electronic device provided by the embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.
本发明实施例提供的电子设备,该电子设备包括充电接口、开关模块、充电电路和电芯等。电芯用于为电子设备供电。充电接口、开关模块、充电电路和电芯依次电连接。An electronic device provided by an embodiment of the present invention includes a charging interface, a switch module, a charging circuit, a battery cell, and the like. Batteries are used to power electronic devices. The charging interface, the switch module, the charging circuit and the battery core are electrically connected in sequence.
值得说明的是,该电子设备包括的充电电路为N个,所述N为大于1的正整数;N个充电电路并联在开关模块与电芯之间。作为本发明实施例一可选实施方式,所述充电电路是由电子器件构成的电路。作为本发明实施例一可选实施方式,所述充电电路是充电芯片。It is worth noting that the electronic device includes N charging circuits, where N is a positive integer greater than 1; the N charging circuits are connected in parallel between the switch module and the battery cell. As an optional implementation manner of the embodiment of the present invention, the charging circuit is a circuit composed of electronic devices. As an optional implementation manner of the embodiment of the present invention, the charging circuit is a charging chip.
值得说明的是,该电子设备还具有控制模块;作为一种实施方式,所述控制模块采用电子设备已有的控制器实现;作为又一种实施方式,在电子设备中添设所述控制模块,即该控制模块不同于电子设备已有的控制器;作为所述控制模块的具体实现方式,本发明实施例不做限定,可以采用处理器、单片机或可编程逻辑器件等具有数据处理功能的电路实现。It is worth noting that the electronic device also has a control module; as one embodiment, the control module is realized by using an existing controller of the electronic device; as yet another embodiment, the control module is added to the electronic device , that is, the control module is different from the existing controller of the electronic equipment; as the specific implementation of the control module, the embodiment of the present invention does not limit it, and a data processing function such as a processor, a single-chip microcomputer or a programmable logic device can be used. circuit implementation.
值得说明的是,控制模块与开关模块电连接,并由控制模块控制开关模块的导通或断开;控制模块不但可以控制其与充电接口的数据引脚的导通或断开,还可以控制充电接口的电源引脚与所有充电电路的导通或断开。例如,当控制模块接收到导通指令时,控制开关模块导通充电接口与充电电路的电连接;当控制模块接收到断开指令时,控制开关模块断开充电接口与充电电路的电连接。需说明的是,本发明实施例对开关模块采用哪些电子器件实现,及该电子器件之间的电路连接关系,均不做限定。举例说明,开关模块采用MOS管实现对电源引脚与充电电路之间电信号的导通或断开的控制;MOS管的栅极、源极和漏极分别接控制模块、充电接口的电源引脚和每个充电电路;控制模块通过控制向MOS管的栅极输出的电平信号控制是否导通充电接口与充电电路的电连接。举例说明,开关模块采用MOS管实现对电源引脚与控制模块之间数据传输的导通或断开的控制;MOS管的栅极、源极和漏极分别接控制模块的控制端、充电接口的数据引脚和控制模块的数据端;控制模块控制其控制端向MOS管的栅极输出的电平信号,以控制是否导通充电接口与控制模块的数据端的电连接。It is worth noting that the control module is electrically connected with the switch module, and the control module controls the conduction or disconnection of the switch module; the control module can not only control the conduction or disconnection of the data pin of the charging interface, but also control The power supply pin of the charging interface is connected or disconnected from all charging circuits. For example, when the control module receives the conduction instruction, the control switch module conducts the electrical connection between the charging interface and the charging circuit; when the control module receives the disconnection instruction, the control switch module disconnects the electrical connection between the charging interface and the charging circuit. It should be noted that, the embodiment of the present invention does not limit which electronic devices are used to implement the switch module, nor the circuit connection relationship between the electronic devices. For example, the switch module uses a MOS tube to control the on or off of the electrical signal between the power supply pin and the charging circuit; the gate, source and drain of the MOS tube are respectively connected to the control module and the power lead of the charging interface. Pin and each charging circuit; the control module controls whether to conduct the electrical connection between the charging interface and the charging circuit by controlling the level signal output to the gate of the MOS tube. For example, the switch module uses MOS transistors to control the on or off of data transmission between the power supply pin and the control module; the gate, source and drain of the MOS transistors are respectively connected to the control terminal of the control module and the charging interface The data pin of the control module and the data terminal of the control module; the control module controls the level signal output from the control terminal to the gate of the MOS tube, so as to control whether to conduct the electrical connection between the charging interface and the data terminal of the control module.
值得说明的是,控制模块还分别与每个充电电路电连接,控制模块可以控制是否经过某个充电电路对电芯充电。例如,控制模块接收到分散充电指令时,控制模块仅导通所述分散充电指令指定的多个充电电路,通过所述分散充电指令指定的多个充电电路导通开关模块与电芯的电连接,仅形成所述分散充电指令指定的多个充电电路对电芯充电的充电回路。It is worth noting that the control module is also electrically connected to each charging circuit, and the control module can control whether to charge the battery cell through a certain charging circuit. For example, when the control module receives a distributed charging instruction, the control module only turns on the plurality of charging circuits specified by the distributed charging instruction, and conducts the electrical connection between the switch module and the battery cell through the multiple charging circuits specified by the distributed charging instruction. , only forming a charging circuit for charging the batteries by multiple charging circuits designated by the distributed charging instruction.
对于电子设备中的充电接口,当供电设备的供电接口与电子设备的充电接口电连接之后,供电设备的供电接口中的数据引脚与电子设备中的数据引脚电连接,供电设备的供电接口中的电源引脚与电子设备中的电源引脚电连接;供电设备可通过供电接口中的数据引脚与电子设备中的数据引脚进行数据传输;通过该数据引脚可传输的数据不限于与充电相关的数据,还可以传输音视频文件、文档文件等等数据。另外,供电设备可通过供电接口中的电源引脚向电子设备中的电源引脚输出电信号,以该电信号对电子设备供电,至少包括为驱动电子设备工作的供电,还可以包括对电子设备中的电芯充电。For the charging interface in the electronic equipment, after the power supply interface of the power supply equipment is electrically connected to the charging interface of the electronic equipment, the data pins in the power supply interface of the power supply equipment are electrically connected to the data pins in the electronic equipment, and the power supply interface of the power supply equipment The power supply pin in the power supply interface is electrically connected to the power supply pin in the electronic device; the power supply device can transmit data through the data pin in the power supply interface and the data pin in the electronic device; the data that can be transmitted through the data pin is not limited to Data related to charging can also transmit data such as audio and video files, document files, etc. In addition, the power supply device can output electrical signals to the power pins in the electronic equipment through the power supply pins in the power supply interface, and use the electrical signals to supply power to the electronic equipment, at least including power supply for driving the electronic equipment, and can also include power supply to the electronic equipment The battery in the battery is charged.
本发明实施例所述的供电设备,可以是充电适配器,也可以是其它电子设备。但需说明的是,当电子设备与供电设备连接时,是由供电设备向电子设备的充电接口输出电信号,以该电信号对电子设备的电芯充电。The power supply device described in the embodiment of the present invention may be a charging adapter or other electronic devices. However, it should be noted that when the electronic device is connected to the power supply device, the power supply device outputs an electrical signal to the charging interface of the electronic device, and the battery cell of the electronic device is charged with the electrical signal.
需说明的是,所述数据引脚可以是一个或多个;类似地,所述电源引脚也可以是一个或多个。例如:充电接口为USB接口,包括两个数据引脚(数据引脚D+和数据引脚D-)和一个电源引脚。It should be noted that there may be one or more data pins; similarly, there may be one or more power pins. For example: the charging interface is a USB interface, including two data pins (data pin D+ and data pin D-) and a power pin.
因是通过电子设备中充电接口的数据引脚向电子设备中其它电路或控制模块传输数据的,通常,该电路或控制模块能够接收的用于承载该数据的电信号必须在第一电压阈值内,超过该第一电压阈值的电信号,会烧坏该电路和/或控制模块中的电子器件。鉴于此,本发明实施例从源头(充电接口中的数据引脚)判断承载该数据的电信号是否在第一电压阈值内,如果不是,及时断开该数据引脚与该电路和控制模块的电性连接。Because the data is transmitted to other circuits or control modules in the electronic device through the data pin of the charging interface in the electronic device, usually, the electrical signal that the circuit or control module can receive to carry the data must be within the first voltage threshold , the electrical signal exceeding the first voltage threshold will burn out the circuit and/or electronic devices in the control module. In view of this, the embodiment of the present invention judges from the source (the data pin in the charging interface) whether the electrical signal carrying the data is within the first voltage threshold, and if not, disconnect the data pin from the circuit and the control module in time. electrical connection.
图1示出的本发明实施例该供电方法的工作流程,为了便于描述,仅示出了与本发明实施例相关的部分。FIG. 1 shows the working process of the power supply method of the embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown.
在本实施方式中,参见上述,所述电子设备包括用于连接供电设备的充电接口,所述充电接口包括电源引脚和数据引脚,所述电源引脚用于接收所述供电设备发送的充电电信号,所述数据引脚用于接收所述供电设备发送的数据信号。电子设备以从该电源引脚接收的该充电电信号对电芯充电。电子设备的控制模块从该数据信号中解析出与供电设备交互的数据。In this embodiment, referring to the above, the electronic device includes a charging interface for connecting to a power supply device, the charging interface includes a power pin and a data pin, and the power pin is used to receive the The charging electrical signal, the data pin is used to receive the data signal sent by the power supply device. The electronic device charges the battery cell with the charging electrical signal received from the power supply pin. The control module of the electronic device analyzes the data for interacting with the power supply device from the data signal.
参见图1,本发明实施例提供的供电方法包括A1和A2。Referring to Fig. 1, the power supply method provided by the embodiment of the present invention includes A1 and A2.
A1,确定所述数据引脚的电压。A1, to determine the voltage of the data pin.
具体地,控制模块与充电接口的数据引脚电连接的;从该数据引脚接收由供电设备发送的载有数据的电信号,控制模块可以首先检测到载有数据的电信号,即检测到该电信号的电压,根据该电压解析出数据。当控制模块检测到该电信号的电压时,首先比较该电信号的电压是否超出第一电压阈值,只有在该电信号的电压属于该第一电压阈值内时,才正常从该电信号中解析出数据;如果该电信号的电压不属于该第一电压阈值内,不但放弃从该电信号中解析出数据,还执行A2。Specifically, the control module is electrically connected to the data pin of the charging interface; receiving the data-carrying electrical signal sent by the power supply device from the data pin, the control module can first detect the data-carrying electrical signal, that is, detect The voltage of the electrical signal is used to analyze the data. When the control module detects the voltage of the electrical signal, it first compares whether the voltage of the electrical signal exceeds the first voltage threshold, and only when the voltage of the electrical signal falls within the first voltage threshold, it can normally analyze the electrical signal If the voltage of the electrical signal does not belong to the first voltage threshold, not only give up analyzing the data from the electrical signal, but also execute A2.
作为A1的一可选实施方式,控制模块中具有模数变换器(Analog-to-DigitalConverter,ADC),通过该ADC对从充电接口中数据引脚接收到的电信号进行采样;根据该采样结果判断该电信号的电压,将该电信号的电压与第一电压阈值进行遍历比较,如果比较结果为该电信号的电压未超出第一电压阈值,正常从该采样结果中解析出数据。如果比较结果为该电信号的电压超出第一电压阈值,执行A2。As an optional implementation of A1, there is an analog-to-digital converter (Analog-to-Digital Converter, ADC) in the control module, and the electrical signal received from the data pin in the charging interface is sampled through the ADC; according to the sampling result Determine the voltage of the electrical signal, and compare the voltage of the electrical signal with the first voltage threshold. If the comparison result shows that the voltage of the electrical signal does not exceed the first voltage threshold, normally analyze the data from the sampling result. If the comparison result is that the voltage of the electrical signal exceeds the first voltage threshold, perform A2.
作为A1的又一可选实施方式,因开关模块连接在充电接口的数据引脚与控制模块之间,由开关模块检测载有数据的电信号的电压,并将检测到的电压与第一电压阈值进行遍历比较;如果比较结果为该电信号的电压未超出第一电压阈值,向控制模块输出载有数据的电信号;如果比较结果为该电信号的电压超出第一电压阈值,执行A2。As another optional implementation of A1, since the switch module is connected between the data pin of the charging interface and the control module, the switch module detects the voltage of the electrical signal carrying the data, and compares the detected voltage with the first voltage Thresholds are traversed and compared; if the comparison result is that the voltage of the electrical signal does not exceed the first voltage threshold, an electrical signal carrying data is output to the control module; if the comparison result is that the voltage of the electrical signal exceeds the first voltage threshold, perform A2.
A2,在所述数据引脚的电压大于或等于第一电压阈值时,断开经过所述数据引脚的数据传输的电连接。A2. When the voltage of the data pin is greater than or equal to a first voltage threshold, disconnect the electrical connection of the data transmission through the data pin.
具体在执行A2时,直接断开充电接口中的数据引脚与电子设备中其它电路的电连接,但本发明实施例对如何断开充电接口中的数据引脚与电子设备中其它电路的电连接的具体实现方式,在此不做限定;例如,断开该数据引脚与控制模块的电连接。Specifically, when executing A2, the electrical connection between the data pin in the charging interface and other circuits in the electronic device is directly disconnected, but the embodiment of the present invention does not provide any guidance on how to disconnect the electrical connection between the data pin in the charging interface and other circuits in the electronic device. The specific realization of the connection is not limited here; for example, the electrical connection between the data pin and the control module is disconnected.
作为本发明实施例一可选实施方式,所述如果检测到的电压大于或等于第一电压阈值,断开经过所述数据引脚的数据传输的电连接这一步骤具体包括:电子设备中的控制模块比较出检测到的电压大于或等于第一电压阈值时,控制开关模块断开所述充电接口的数据引脚与所述控制模块的电连接。As an optional implementation manner of the embodiment of the present invention, if the detected voltage is greater than or equal to the first voltage threshold, the step of disconnecting the electrical connection of the data transmission through the data pin specifically includes: When the control module compares that the detected voltage is greater than or equal to the first voltage threshold, the control switch module disconnects the electrical connection between the data pin of the charging interface and the control module.
具体与A1中的一种实施方式对应地,如果由控制模块比较出该电信号的电压超出第一电压阈值,则控制模块控制开关模块断开所述充电接口中的数据引脚与控制模块的电连接。Specifically corresponding to an implementation in A1, if the control module compares the voltage of the electrical signal beyond the first voltage threshold, the control module controls the switch module to disconnect the data pin in the charging interface from the control module. electrical connection.
具体与A1中的又一种实施方式对应地,如果由开关模块比较出该电信号的电压超出第一电压阈值,则在开关模块比较出该电信号的电压超出第一电压阈值时,由开关模块立即断开所述充电接口中的数据引脚与控制模块的电连接。Specifically corresponding to yet another implementation in A1, if the voltage of the electrical signal exceeds the first voltage threshold compared by the switch module, when the voltage of the electrical signal exceeds the first voltage threshold compared by the switch module, the switch The module immediately disconnects the electrical connection between the data pin in the charging interface and the control module.
图2示出的本发明实施例该供电方法的一种优化工作流程,为了便于描述,仅示出了与本发明实施例相关的部分。FIG. 2 shows an optimized workflow of the power supply method according to the embodiment of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown.
作为本发明实施例一可选实施方式,参见图2,所述确定所述数据引脚的电压,包括:A11和A12。As an optional implementation manner of the embodiment of the present invention, referring to FIG. 2 , the determination of the voltage of the data pin includes: A11 and A12.
A11,在确定所述供电设备的供电接口与所述充电接口的电连接由断开转换为连接时,确定所述数据引脚的电压。A11. Determine the voltage of the data pin when it is determined that the electrical connection between the power supply interface of the power supply device and the charging interface changes from being disconnected to being connected.
具体地,因在建立供电设备的供电接口与电子设备的所述充电接口的电连接的瞬间,会产生瞬间的浪涌电压;该浪涌电压可能超出第一电压阈值。因此,本实施方式为保护电子设备中充电接口后级的电路或控制模块,检测该浪涌电压;如果检测到的电压大于或等于第一电压阈值,执行A2。Specifically, at the moment when the electrical connection between the power supply interface of the power supply device and the charging interface of the electronic equipment is established, an instantaneous surge voltage will be generated; the surge voltage may exceed the first voltage threshold. Therefore, this embodiment is to protect the circuit or control module of the subsequent stage of the charging interface in the electronic device, and detect the surge voltage; if the detected voltage is greater than or equal to the first voltage threshold, execute A2.
例如,如果是通过插接方式建立供电设备的供电接口与电子设备的所述充电接口的电连接的,则在插接瞬间,充电接口的数据引脚上会产生浪涌电压。For example, if the electrical connection between the power supply interface of the power supply device and the charging interface of the electronic device is established by plugging, a surge voltage will be generated on the data pin of the charging interface at the moment of plugging.
A12,在确定所述供电设备的供电接口与所述充电接口的电连接由连接转换为断开时,确定所述数据引脚的电压。A12. Determine the voltage of the data pin when it is determined that the electrical connection between the power supply interface of the power supply device and the charging interface changes from being connected to being disconnected.
具体地,因在断开供电设备的供电接口与电子设备的所述充电接口的电连接的瞬间,会产生瞬间的浪涌电压;该浪涌电压可能超出第一电压阈值。因此,本实施方式为保护电子设备中充电接口后级的电路或控制模块,检测该浪涌电压;如果检测到的电压大于或等于第一电压阈值,执行A2。Specifically, at the moment when the electrical connection between the power supply interface of the power supply device and the charging interface of the electronic device is disconnected, an instantaneous surge voltage will be generated; the surge voltage may exceed the first voltage threshold. Therefore, this embodiment is to protect the circuit or control module of the subsequent stage of the charging interface in the electronic device, and detect the surge voltage; if the detected voltage is greater than or equal to the first voltage threshold, execute A2.
例如,如果是通过插拔方式断开供电设备的供电接口与电子设备的所述充电接口的电连接的,则在拔掉瞬间,充电接口的数据引脚上会产生浪涌电压。For example, if the electrical connection between the power supply interface of the power supply device and the charging interface of the electronic device is disconnected by plugging and unplugging, a surge voltage will be generated on the data pin of the charging interface at the moment of unplugging.
作为本发明实施例一可选实施方式,所述第一电压阈值由所述电源引脚的输入电压确定。As an optional implementation manner of the embodiment of the present invention, the first voltage threshold is determined by an input voltage of the power supply pin.
在本实施方式中,对于从电源引脚接入的电信号,都需要进行降压之后才为控制模块供电的,如果该电源引脚直接与控制模块的数据端电连接,会直接烧毁控制模块的内部电路。为此,本实施方式根据从所述电源引脚的输入电压,确定一个相对较小的电压作为所述第一电压阈值,或者可以将所述电源引脚的输入电压作为所述第一电压阈值。In this embodiment, for the electrical signals connected from the power supply pins, the control module needs to be stepped down before being powered. If the power supply pins are directly connected to the data terminal of the control module, the control module will be burned directly. the internal circuit. For this reason, this embodiment determines a relatively small voltage as the first voltage threshold according to the input voltage from the power supply pin, or may use the input voltage of the power supply pin as the first voltage threshold .
作为本实施方式一实施案例,所述检测充电接口中数据引脚的电压这一步骤,具体包括:检测所述充电接口中数据引脚与电源引脚是否短路连接。As an implementation example of this embodiment, the step of detecting the voltage of the data pin in the charging interface specifically includes: detecting whether the data pin and the power pin in the charging interface are short-circuited.
具体地,至少以5伏特的电压对电子设备供电(包括对电子设备中的电芯充电);尤其是,在供电设备支持快速充电的情况下,供电设备向电子设备输出的电信号的电压大于5伏特。因供电设备向电子设备中充电接口的电源引脚输出的电信号至少具有5伏特电压。如果充电接口中的数据引脚与电源引脚短路连接,数据引脚的电压被拉升到5伏特或以上,极易烧毁与数据引脚电连接的后级电路(包括控制模块)。Specifically, supplying power to the electronic device (including charging the batteries in the electronic device) at least at a voltage of 5 volts; especially, if the power supply device supports fast charging, the voltage of the electrical signal output by the power supply device to the electronic device is greater than 5 volts. Because the electrical signal output by the power supply device to the power pin of the charging interface in the electronic device has a voltage of at least 5 volts. If the data pin in the charging interface is short-circuited with the power pin, the voltage of the data pin will be pulled up to 5 volts or above, which will easily burn the subsequent circuit (including the control module) electrically connected to the data pin.
因此,本实施方式实时对充电接口中数据引脚与电源引脚进行是否短路连接的检测,一旦检测到充电接口中数据引脚与电源引脚的短路连接,立即执行A2,断开所述数据引脚与后级电路的电性连接。Therefore, this embodiment detects whether the data pin and the power pin in the charging interface are short-circuited in real time. Once the short-circuit connection between the data pin and the power pin in the charging interface is detected, A2 is immediately executed to disconnect the data The electrical connection between the pin and the subsequent circuit.
图3示出的本发明实施例该供电方法的一种工作流程,为了便于描述,仅示出了与本发明实施例相关的部分。FIG. 3 shows a working flow of the power supply method according to the embodiment of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown.
作为本发明实施例一可选实施方式,参见图3,所述方法还包括A3、A4和A5。As an optional implementation manner of the embodiment of the present invention, referring to FIG. 3 , the method further includes A3, A4, and A5.
A3,向所述供电设备发送指定充电电压的充电指令。A3, sending a charging instruction specifying a charging voltage to the power supply device.
本实施方式所述的供电设备,可以是充电适配器,也可以是其它电子设备。但需说明的是,当电子设备与供电设备连接时,是由供电设备向电子设备的充电接口输出充电电信号,以该电信号对电子设备的电芯充电。The power supply device described in this embodiment may be a charging adapter or other electronic devices. However, it should be noted that when the electronic device is connected to the power supply device, the power supply device outputs a charging electrical signal to the charging interface of the electronic device, and the battery cell of the electronic device is charged with the electrical signal.
另外,供电设备具有控制器,当供电设备与电子设备连接后,该控制器可与电子设备的控制模块通信。电子设备的控制模块可向充电适配器的控制器发送充电调整信号(例如所述充电指令),供电设备的控制器根据接收到的充电调整信号调整:供电设备输出的电压和/或电流和/或功率。In addition, the power supply device has a controller, and after the power supply device is connected to the electronic device, the controller can communicate with the control module of the electronic device. The control module of the electronic device can send a charging adjustment signal (such as the charging instruction) to the controller of the charging adapter, and the controller of the power supply device adjusts according to the received charging adjustment signal: the voltage and/or current and/or output of the power supply device power.
作为一可选实施方式,电子设备的控制模块向充电适配器的控制器发送该充电指令,充电适配器向电子设备输出具有所述充电指令指定的电压的电信号;优选的,所述充电指令指定的电压大于或等于5V,例如5V、9V或12V。As an optional implementation, the control module of the electronic device sends the charging command to the controller of the charging adapter, and the charging adapter outputs an electrical signal having a voltage specified by the charging command to the electronic device; preferably, the charging command specified The voltage is greater than or equal to 5V, such as 5V, 9V, or 12V.
例如,充电适配器接收到电子设备发送的充电指令时,如果该充电指令指定9V,则充电适配器的控制器判断是否支持9V的电压输出,如果判定为支持,在该控制器的控制下向电子设备的充电接口输出9V的电信号。默认情况下,或者该充电指令指定的电压不为5V、9V或12V时,充电适配器向电子设备的充电接口输出5V的电信号。For example, when the charging adapter receives the charging instruction sent by the electronic device, if the charging instruction specifies 9V, then the controller of the charging adapter judges whether to support the voltage output of 9V, and if it is judged to be supported, the electronic device will be charged under the control of the controller. The charging interface outputs a 9V electrical signal. By default, or when the voltage specified by the charging instruction is not 5V, 9V or 12V, the charging adapter outputs a 5V electrical signal to the charging interface of the electronic device.
A4,接收所述供电设备根据所述充电指令发送的充电响应。A4. Receive a charging response sent by the power supply device according to the charging instruction.
在本实施方式中,所述供电设备接收到该充电指令,并判定支持快充时,向电子设备的控制模块反馈所述充电指令对应的充电响应。作为本实施方式一实施案例,所述供电设备接收到该充电指令,并判定为不支持快充时,不向电子设备的控制模块做反馈者向电子设备反馈不支持指令。In this embodiment, when the power supply device receives the charging command and determines that fast charging is supported, it feeds back a charging response corresponding to the charging command to the control module of the electronic device. As an implementation example of this embodiment, when the power supply device receives the charging instruction and determines that fast charging is not supported, the person who does not give feedback to the control module of the electronic device feeds back the non-supporting instruction to the electronic device.
A5,根据所述充电响应,导通K个充电电路对所述电芯充电的充电回路。其中,所述K个充电电路属于所述电子设备的全部或部分充电电路,即所述K小于或等于所述N。A5. According to the charging response, turn on the charging circuit for charging the battery cells by K charging circuits. Wherein, the K charging circuits belong to all or part of the charging circuits of the electronic device, that is, the K is less than or equal to the N.
进而,所述控制模块接收到所述供电设备反馈的与所述充电指令对应的充电响应,生成指定K个充电电路的分散充电指令。控制模块根据该分散充电指令选择K个充电电路,导通该K个充电电路对所述电芯充电的充电回路,经过并联的该K个充电电路对所述电芯充电。Further, the control module receives a charging response corresponding to the charging instruction fed back by the power supply device, and generates a distributed charging instruction specifying K charging circuits. The control module selects K charging circuits according to the distributed charging command, turns on the charging circuit for charging the battery cells by the K charging circuits, and charges the battery cells through the K charging circuits connected in parallel.
作为本发明实施例一可选实施方式,对A5做一种具体优化,所述导通K个充电电路对电芯充电的充电回路之前,所述方法还包括:As an optional implementation mode of the embodiment of the present invention, a specific optimization is performed on A5. Before the charging circuit for charging the battery cells by turning on the K charging circuits, the method further includes:
确定所述电子设备当前所处的充电阶段;determining the current charging phase of the electronic device;
根据当前所处的充电阶段,确定对所述电芯进行充电的充电电路的数量K。According to the current charging stage, the number K of charging circuits for charging the battery cells is determined.
如上述,充电阶段包括预充阶段、恒流充电阶段和恒压充电阶段。因不同充电阶段,电芯所能承受的充电电流不同,本实施方式在不同充电阶段调整充电电路的数据K。As mentioned above, the charging phase includes a pre-charging phase, a constant current charging phase and a constant voltage charging phase. Due to different charging stages, the charging current that the battery cell can withstand is different, and in this embodiment, the data K of the charging circuit is adjusted at different charging stages.
举例说明,在预充阶段,一个充电电路足以提供所述电芯在预充阶段所需的充电电流,控制模块确定M为数值“1”;控制模块仅导通一个充电电路,通过该个充电电路形成对电芯充电的充电回路;For example, in the pre-charging stage, one charging circuit is sufficient to provide the charging current required by the battery cell in the pre-charging stage, and the control module determines that M is a value of "1"; the control module only conducts one charging circuit, and through this charging The circuit forms a charging circuit for charging the battery cell;
在恒流充电阶段,两个充电电路足以提供所述电芯在在恒流充电阶段所需的充电电流,控制模块确定M为数值“2”,即控制模块导通两个充电电路,通过两个充电电路分别形成对电芯充电的充电回路,两个充电电路并联式地同时对电芯充电;In the constant current charging stage, the two charging circuits are sufficient to provide the charging current required by the battery cell in the constant current charging stage, and the control module determines that M is a value of "2", that is, the control module turns on the two charging circuits, and through the two Two charging circuits respectively form a charging circuit for charging the battery core, and the two charging circuits charge the battery core simultaneously in parallel;
在恒压充电阶段,一个充电电路足以提供所述电芯在恒压充电阶段所需的充电电流,控制模块确定M为数值“1”,即控制模块仅导通一个充电电路,通过该个充电电路形成对电芯充电的充电回路。In the constant voltage charging stage, one charging circuit is enough to provide the charging current required by the battery cell in the constant voltage charging stage, and the control module determines that M is a value of "1", that is, the control module only conducts one charging circuit, through which the charging The circuit forms a charging loop for charging the battery cells.
作为对图3所述的方法的一种具体实施方式,所述方法还包括:As a specific implementation of the method described in Figure 3, the method also includes:
确定对所述电芯进行充电的充电电路的数量M;determining the number M of charging circuits for charging the batteries;
导通M个充电电路对电芯充电的充电回路,其中,所述M个充电电路属于所述电子设备的全部或部分充电电路,其中,所述K不同于所述M。Turning on the charging circuit for charging the battery cells with M charging circuits, wherein the M charging circuits belong to all or part of the charging circuits of the electronic device, and wherein the K is different from the M.
具体地,A3向所述供电设备发送指定充电电压的充电指令之后,如果该供电设备不支持输出该充电指令指定的充电电压,则该供电设备不会对电子设备反馈充电响应;相应地,电子设备中的控制模块在预设时间段内未接收到该充电响应,并确定数据M。继而,控制模块从N个充电电路中选择M个充电电路,导通选出的M个充电电路同时对该电芯充电。Specifically, after A3 sends a charging command specifying a charging voltage to the power supply device, if the power supply device does not support outputting the charging voltage specified by the charging command, the power supply device will not feed back a charging response to the electronic device; correspondingly, the electronic The control module in the device does not receive the charging response within a preset time period, and determines the data M. Then, the control module selects M charging circuits from the N charging circuits, and turns on the selected M charging circuits to charge the cell at the same time.
作为本实施方式的一具体案例,所述M不同于所述K;这样,控制模块在未接收到与该充电指令对应的充电响应时,不支持以K个充电电路同时对电芯充电。As a specific example of this embodiment, the M is different from the K; in this way, when the control module does not receive a charging response corresponding to the charging command, it does not support charging the battery cell at the same time with K charging circuits.
例如,该充电指令指定的充电电压为高压,如果供电设备支持输出该高压,则电子设备需并联的充电电路的个数至少为K个,所述K大于所述M。即需并联的K个充电电路同时对电芯充电,由K个充电电路分担充电电流;充电电路的个数少于K个将无法承担充电电流,容易损坏充电电路。For example, the charging voltage specified by the charging instruction is a high voltage, and if the power supply device supports outputting the high voltage, the number of charging circuits that need to be connected in parallel to the electronic device is at least K, and the K is greater than the M. That is, K charging circuits that need to be connected in parallel charge the battery cells at the same time, and the charging current is shared by K charging circuits; if the number of charging circuits is less than K, it will not be able to bear the charging current, and the charging circuit will be easily damaged.
再例如,该充电指令指定的充电电压为低压,如果供电设备支持输出该低压,则电子设备需并联的充电电路的个数至多为K个,所述K小于或等于所述M。即需并联的K个充电电路同时对电芯充电,由K个充电电路分担充电电流;充电电路的个数达到K个已能承担充电电流,所以需要更多的充电电路,多的充电电路工作会带来功率损耗。For another example, the charging voltage specified by the charging command is a low voltage. If the power supply device supports outputting the low voltage, the number of charging circuits that need to be connected in parallel to the electronic device is at most K, and the K is less than or equal to the M. That is, K charging circuits that need to be connected in parallel charge the battery cells at the same time, and the charging current is shared by K charging circuits; the number of charging circuits reaches K and can bear the charging current, so more charging circuits are needed, and more charging circuits work will cause power loss.
作为本实施方式的一具体案例,所述M等于所述K;即不管所述供电设备是否支持输出所述充电指令指定的充电电压,控制模块均控制K个充电电路导通,同时由并联的K个充电电路对电芯充电。As a specific example of this embodiment, the M is equal to the K; that is, regardless of whether the power supply device supports the output of the charging voltage specified by the charging command, the control module controls the K charging circuits to be turned on, and at the same time, the parallel connection K charging circuits charge the batteries.
作为本发明实施例一可选实施方式,所述确定对所述电芯进行充电的充电电路的数量M,包括:As an optional implementation manner of the embodiment of the present invention, the determination of the number M of charging circuits for charging the battery cells includes:
根据以下参数中的至少一种,确定对所述电芯进行充电的充电电路的数量M:Determine the number M of charging circuits for charging the batteries according to at least one of the following parameters:
其中,所述参数包括:用户输入的分散充电指令、电子设备中一个或多个电子器件所处环境的环境温度和应用程序运行状态。Wherein, the parameters include: a decentralized charging command input by a user, an ambient temperature of an environment where one or more electronic devices in the electronic device are located, and an application program running state.
具体地,以低于M个的充电电路对所述电芯充电的过程中,如果所述控制模块接收到分散充电指令,导通M的充电电路对所述电芯充电的充电回路;其中,所述M由所述分散充电指令指定,所述M均为正整数,所述M大于所述M。Specifically, in the process of charging the batteries with less than M charging circuits, if the control module receives a distributed charging instruction, turn on the charging circuit for charging the batteries with M charging circuits; wherein, The M is specified by the distributed charging instruction, the M is a positive integer, and the M is greater than the M.
其中,所述分散充电指令由参数触发,所述参数包括:用户输入的充电指令、电子设备中一个或多个电子器件所处环境的环境温度和应用程序的运行状态。Wherein, the distributed charging instruction is triggered by a parameter, and the parameter includes: a charging instruction input by a user, an ambient temperature of an environment where one or more electronic devices in the electronic device are located, and an operating state of an application program.
作为由所述参数触发所述分散充电指令的一种实现方式,具体为:人为操控电子设备并触发的该分散充电指令。在此对如何触发该散充电指令的具体实现方式不做限定,例如电子设备提供按键或菜单,用户触控该按键时触发该分散充电指令,用户通过该菜单选择性地触发该分散充电指令。As an implementation manner of triggering the distributed charging instruction by the parameter, specifically, the distributed charging instruction is triggered by manipulating the electronic device. The specific implementation of how to trigger the distributed charging command is not limited here. For example, the electronic device provides a button or a menu. When the user touches the button, the distributed charging instruction is triggered, and the user selectively triggers the distributed charging instruction through the menu.
值得说明的是,所述参数还包括:电子设备中一个或多个电子器件所处环境的环境温度高于温度阈值;其中,针对不同电子器件的不同工作温度范围确定,将该工作温度范围的最高温度确定为该温度阈值。It is worth noting that the parameters also include: the ambient temperature of the environment where one or more electronic devices in the electronic equipment is located is higher than the temperature threshold; wherein, for different operating temperature ranges of different electronic devices, the operating temperature range The highest temperature is determined as the temperature threshold.
举例说明,在电子设备中筛选出需在温度较低的工作环境下工作的一个或多个电子器件;在筛选出的电子器件附近添设温度检测模块,通过该温度检测模块实时检测筛选出的电子器件所处环境的温度(即环境温度)。本实施方式对所述温度检测模块的具体实现方式不做限定,例如对温度检测模块所包含的具体电路不做限定;例如,温度检测模块可采用温度传感器实现;再例如,温度检测模块可采用热敏电阻实现。对于筛选出的某个电子器件,如果检测到该电子器件所处的环境温度高于与该电子器件对应的温度阈值(即发生所述参数),触发所述分散充电指令。For example, one or more electronic devices that need to work in a lower temperature working environment are screened out in electronic equipment; a temperature detection module is added near the screened electronic devices, and the screened out electronic devices are detected in real time by the temperature detection module. The temperature of the environment in which the electronic device is located (i.e. ambient temperature). This embodiment does not limit the specific implementation of the temperature detection module, for example, it does not limit the specific circuit included in the temperature detection module; for example, the temperature detection module can be realized by using a temperature sensor; Thermistor implementation. For a selected electronic device, if it is detected that the ambient temperature of the electronic device is higher than the temperature threshold corresponding to the electronic device (that is, the parameter occurs), the distributed charging instruction is triggered.
优选地,所述参数包括:充电电路中一个或多个电子器件所处环境的环境温度高于温度阈值;其中,针对不同电子器件的不同工作温度范围确定,将该工作温度范围的最高温度确定为该温度阈值。Preferably, the parameters include: the ambient temperature of the environment where one or more electronic devices in the charging circuit is located is higher than the temperature threshold; wherein, for different operating temperature ranges of different electronic devices, the highest temperature in the operating temperature range is determined is the temperature threshold.
举例说明,温度检测模块实时检测每个充电电路所处环境的环境温度,并将检测到的温度输出至控制模块。针对某个充电电路,如果控制模块判定温度检测模块检测到的、该充电电路所处环境的环境温度大于对应的温度阈值,触发所述分散充电指令,由该分散充电指令;并由所述分散充电指令指定充电电路,所述分散充电指令指定的充电电路的个数为M。其中,所述分散充电指令指定的充电电路不包括:所处环境温度高于温度阈值的该个充电电路。For example, the temperature detection module detects the ambient temperature of each charging circuit in real time, and outputs the detected temperature to the control module. For a certain charging circuit, if the control module determines that the ambient temperature detected by the temperature detection module and the environment where the charging circuit is located is greater than the corresponding temperature threshold, the distributed charging instruction is triggered, and the distributed charging instruction is used; The charging command specifies charging circuits, and the number of charging circuits specified by the distributed charging command is M. Wherein, the charging circuit specified by the distributed charging instruction does not include: the charging circuit whose ambient temperature is higher than the temperature threshold.
所述参数还包括:导致电子设备加速运行而引起电子设备散发大量热量的特设事件,例如应用程序的运行状态;所述特设事件至少包括:1,操控电子设备高速执行应用程序而导致电子设备散发大量热量,执行应用程序这一事件为所述特设事件;例如操控电子设备玩游戏,执行游戏程序的这一事件;2,操控电子设备中的电路进行数据采集等需电路持续工作而导致电子设备散发大量热量,控制电子设备中电路持续工作这一事件为所述特设事件。The parameters also include: an ad hoc event that causes the electronic device to run faster and cause the electronic device to emit a large amount of heat, such as the running status of the application program; the ad hoc event includes at least: 1. Manipulating the electronic device to execute the application program at a high speed causes the electronic The event that the device emits a large amount of heat and executes the application program is the ad hoc event; for example, the event of manipulating the electronic device to play games and executing the game program; The event that causes the electronic equipment to emit a large amount of heat and controls the circuit in the electronic equipment to continue to work is the ad hoc event.
在以少于M个的充电电路对所述电芯充电的过程中,接收到由所述参数触发的分散充电指令之后,以并联的M个充电电路对所述电芯充电。相对于以少于M个的充电电路对所述电芯充电,以M个充电电路对所述电芯充电具有以下优点:因M个充电电路是并联地向电芯输入电流,所以分摊到每个充电电路的电流相对降低,从而每个充电电路在充电时因电能损耗所散发的热量也相对减少,从而相对降低了该电阻所处环境的环境温度。In the process of charging the battery cells with less than M charging circuits, after receiving the distributed charging instruction triggered by the parameters, the battery cells are charged with M charging circuits connected in parallel. Compared with charging the battery core with less than M charging circuits, charging the battery core with M charging circuits has the following advantages: because the M charging circuits input current to the battery core in parallel, it is apportioned to each The current of each charging circuit is relatively reduced, so that the heat dissipated by each charging circuit due to power loss during charging is also relatively reduced, thereby relatively reducing the ambient temperature of the environment where the resistor is located.
作为本发明实施例一可选实施方式,所述方法还包括:As an optional implementation manner of the embodiment of the present invention, the method further includes:
在满足以下条件中的至少一种时,断开所有充电电路对所述电芯充电的充电回路:When at least one of the following conditions is met, all charging circuits for charging the batteries are disconnected:
其中,所述条件包括:接收到用户输入的断开指令、电子设备的电芯的温度大于或等于温度阈值、所述电芯的正极输入电压大于或等于第二电压阈值和所述电芯电量大于或等于电量阈值。Wherein, the conditions include: a disconnection command input by the user is received, the temperature of the battery core of the electronic device is greater than or equal to the temperature threshold, the positive input voltage of the battery core is greater than or equal to the second voltage threshold and the battery capacity greater than or equal to the power threshold.
在本实施方式中,控制模块检测到所述条件时,触发所述断开指令。所述控制模块在接收到断开指令时,控制所述开关模块断开所述充电接口的电源引脚与所有充电电路的电连接,以断开所有充电电路对所述电芯充电的充电回路。In this embodiment, when the control module detects the condition, it triggers the disconnection instruction. When the control module receives the disconnection instruction, it controls the switch module to disconnect the electrical connection between the power supply pin of the charging interface and all the charging circuits, so as to disconnect the charging circuit for charging the batteries by all the charging circuits .
值得说明的是,所述条件至少包括以下三种:It is worth noting that the conditions include at least the following three:
第一种,人为触发电子设备生成该断开指令。但,对于人为如何触发电子设备生成该断开指令的方式,在此不做限定,例如:通过电子设备上预先设置的按键触发该断开指令。The first method is to artificially trigger the electronic device to generate the disconnection instruction. However, there is no limitation on how to artificially trigger the electronic device to generate the disconnection instruction, for example: triggering the disconnection instruction through a preset button on the electronic device.
第二种,控制模块检测到异常充电情况时生成该断开指令,其中,触发控制模块生成该断开指令的异常充电情况,需预先设定;可设定的异常充电情况包括但不限于:The second type is that the control module generates the disconnection command when it detects an abnormal charging situation, wherein the abnormal charging situation that triggers the control module to generate the disconnection command needs to be set in advance; the abnormal charging situation that can be set includes but is not limited to:
1,在对电芯充电的过程中检测到电芯的温度,检测到的温度已达到或超过,温度阈值(即正常充电所需的温度);1. During the process of charging the battery, the temperature of the battery is detected, and the detected temperature has reached or exceeded the temperature threshold (that is, the temperature required for normal charging);
2,在对电芯充电的过程中,检测到向电芯的正极输入的电压已超过正常充电所能承受的电压(即第二电压阈值)。2. In the process of charging the battery cell, it is detected that the voltage input to the positive electrode of the battery cell has exceeded the voltage that can be tolerated by normal charging (ie, the second voltage threshold).
第三种,控制模块检测到电芯的电量已充满时生成该断开指令。其中,在充电过程中,会实时检测电芯的电压,控制模块根据检测到的电压判断是否已充满(即判断所述电芯电量是否大于或等于电量阈值),如果判定为电芯已充满电,生成该断开指令。In the third type, the control module generates the disconnection command when it detects that the battery is fully charged. Among them, during the charging process, the voltage of the battery cell will be detected in real time, and the control module will judge whether it is fully charged according to the detected voltage (that is, judge whether the power of the battery cell is greater than or equal to the power threshold), and if it is determined that the battery cell is fully charged , to generate the disconnect command.
在本实施方式中,一旦控制模块接收到断开指令,控制开关模块断开充电接口的电源引脚与所有充电电路的电连接,断开所有充电电路对所述电芯充电的充电回路,停止对电芯充电。In this embodiment, once the control module receives the disconnection command, the control switch module disconnects the electrical connection between the power supply pin of the charging interface and all the charging circuits, disconnects all the charging circuits that charge the battery cells, and stops Charge the battery.
应理解,在本发明实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that in the embodiment of the present invention, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, rather than the implementation process of the embodiment of the present invention. constitute any limitation.
需要说明的是,本发明实施例提供的供电方法适用于本发明实施例提供的电子设备。It should be noted that the power supply method provided in the embodiment of the present invention is applicable to the electronic device provided in the embodiment of the present invention.
图4示出了本发明实施例提供的电子设备的组成结构,为了便于描述,仅示出了与本发明实施例相关的部分。FIG. 4 shows the composition structure of the electronic device provided by the embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown.
本实施例提供的电子设备,如图4所示,所述电子设备包括控制模块1和用于连接供电设备的充电接口2,所述控制模块1与所述充电接口2电连接,所述充电接口2包括电源引脚22和数据引脚21,所述电源引脚22用于接收所述供电设备发送的充电电信号,所述数据引脚21用于接收所述供电设备发送的数据信号;The electronic equipment provided in this embodiment, as shown in FIG. The interface 2 includes a power pin 22 and a data pin 21, the power pin 22 is used to receive the charging electrical signal sent by the power supply device, and the data pin 21 is used to receive the data signal sent by the power supply device;
所述控制模块1用于:确定所述数据引脚21的电压,在所述数据引脚21的电压大于或等于第一电压阈值时,断开经过所述数据引脚21的数据传输的电连接。The control module 1 is configured to: determine the voltage of the data pin 21, and when the voltage of the data pin 21 is greater than or equal to a first voltage threshold, disconnect the power supply for data transmission through the data pin 21. connect.
作为本发明实施例一可选实施方式,所述控制模块1具体用于:在确定所述供电设备的供电接口与所述充电接口2的电连接由断开转换为连接时,确定所述数据引脚21的电压;As an optional implementation manner of the embodiment of the present invention, the control module 1 is specifically configured to: determine the data voltage at pin 21;
所述控制模块1具体用于:在确定所述供电设备的供电接口与所述充电接口2的电连接由连接转换为断开时,确定所述数据引脚21的电压。The control module 1 is specifically configured to: determine the voltage of the data pin 21 when it is determined that the electrical connection between the power supply interface of the power supply device and the charging interface 2 changes from being connected to being disconnected.
作为本发明实施例一可选实施方式,所述第一电压阈值由所述电源引脚22的输入电压确定。As an optional implementation manner of the embodiment of the present invention, the first voltage threshold is determined by the input voltage of the power supply pin 22 .
图5示出了本发明实施例提供的电子设备的一种优化组成结构,为了便于描述,仅示出了与本发明实施例相关的部分。FIG. 5 shows an optimized composition structure of an electronic device provided by an embodiment of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown.
作为本发明实施例一可选实施方式,如图5所示,所述电子设备还包括N个并联的充电电路3和电芯,所述控制模块1分别与N个所述充电电路3电连接;As an optional implementation of the embodiment of the present invention, as shown in FIG. 5 , the electronic device further includes N charging circuits 3 and batteries connected in parallel, and the control module 1 is electrically connected to the N charging circuits 3 respectively. ;
所述控制模块1还用于:向所述供电设备发送指定充电电压的充电指令,接收所述供电设备根据所述充电指令发送的充电响应,根据所述充电响应导通K个充电电路3对电芯充电的充电回路,其中,所述K小于或等于所述N。The control module 1 is further configured to: send a charging command specifying a charging voltage to the power supply device, receive a charging response sent by the power supply device according to the charging command, and conduct K 3 pairs of charging circuits according to the charging response. A charging circuit for battery charging, wherein the K is less than or equal to the N.
作为本发明实施例一可选实施方式,所述控制模块1还用于:确定所述电子设备当前所处的充电阶段,根据当前所处的充电阶段,确定对所述电芯进行充电的充电电路3的数量K。As an optional implementation manner of the embodiment of the present invention, the control module 1 is further configured to: determine the current charging stage of the electronic device, and determine the charging method for charging the battery cell according to the current charging stage. The number K of circuits 3 .
作为本发明实施例一可选实施方式,所述控制模块1还用于:确定对所述电芯进行充电的充电电路3的数量M;As an optional implementation manner of the embodiment of the present invention, the control module 1 is further configured to: determine the number M of charging circuits 3 for charging the battery cells;
导通M个充电电路3对电芯充电的充电回路,其中,所述M个充电电路3属于所述电子设备的全部或部分充电电路3,其中,所述K不同于所述M,所述K小于或等于所述N。Turn on the charging circuit for charging the battery cells with M charging circuits 3, wherein the M charging circuits 3 belong to all or part of the charging circuits 3 of the electronic device, wherein the K is different from the M, and the K is less than or equal to said N.
作为本发明实施例一可选实施方式,所述控制模块1还用于:根据以下参数中的至少一种,确定对所述电芯进行充电的充电电路3的数量M:As an optional implementation of the embodiment of the present invention, the control module 1 is further configured to: determine the number M of charging circuits 3 for charging the battery cells according to at least one of the following parameters:
其中,所述参数包括:用户输入的分散充电指令、电子设备中一个或多个电子器件所处环境的环境温度和应用程序运行状态。Wherein, the parameters include: a decentralized charging command input by a user, an ambient temperature of an environment where one or more electronic devices in the electronic device are located, and an application program running state.
图6示出了本发明实施例提供的电子设备的又一种优化组成结构,为了便于描述,仅示出了与本发明实施例相关的部分。FIG. 6 shows another optimized composition structure of the electronic device provided by the embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown.
作为本发明实施例一可选实施方式,如图6所示,所述电子设备还包括开关模块4,所述开关模块4连接在所述充电接口2与所述充电电路3之间;As an optional implementation manner of the embodiment of the present invention, as shown in FIG. 6 , the electronic device further includes a switch module 4, and the switch module 4 is connected between the charging interface 2 and the charging circuit 3;
所述控制模块1与所述开关模块4电连接,所述控制模块1还用于:依次经过所述充电接口2、所述开关模块4和所述充电电路3对所述电芯充电的过程中,在满足以下条件中的至少一种时,控制所述开关模块4断开所有充电电路3对所述电芯充电的充电回路:The control module 1 is electrically connected to the switch module 4, and the control module 1 is also used for: charging the battery cell through the charging interface 2, the switch module 4 and the charging circuit 3 in sequence Among them, when at least one of the following conditions is met, the switch module 4 is controlled to disconnect all charging circuits 3 charging the battery cells:
其中,所述条件包括:接收到用户输入的断开指令、电子设备的电芯的温度大于或等于温度阈值、所述电芯的正极输入电压大于或等于第二电压阈值和所述电芯电量大于或等于电量阈值。Wherein, the conditions include: a disconnection command input by the user is received, the temperature of the battery core of the electronic device is greater than or equal to the temperature threshold, the positive input voltage of the battery core is greater than or equal to the second voltage threshold and the battery capacity greater than or equal to the power threshold.
应理解,图4至图6中的电子设备可以对应于图1至图3所示的用于为电子设备充电的方法中的电子设备,可以实现方法中的电子设备的相应功能,为了简洁,在此不再赘述。It should be understood that the electronic devices in FIGS. 4 to 6 may correspond to the electronic devices in the method for charging an electronic device shown in FIGS. 1 to 3 , and may implement corresponding functions of the electronic devices in the method. For brevity, I won't repeat them here.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的模块及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the modules and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的电子设备和各模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the electronic device and each module described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的电子设备和方法,可以通过其它的方式实现。例如,以上所描述的电子设备的实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed electronic device and method can be implemented in other ways. For example, the embodiments of the electronic equipment described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or may be distributed to multiple network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .
以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下做出若干等同替代或明显变型,而且性能或用途相同,都应当视为属于本发明由所提交的权利要求书确定的专利保护范围。The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be assumed that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field to which the present invention belongs, several equivalent substitutions or obvious modifications are made without departing from the concept of the present invention, and the performance or use is the same, all should be regarded as belonging to the present invention by the submitted claims The scope of patent protection determined by the book.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410827516.3A CN104467109B (en) | 2014-12-24 | 2014-12-24 | Method for supplying power to electronic equipment and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410827516.3A CN104467109B (en) | 2014-12-24 | 2014-12-24 | Method for supplying power to electronic equipment and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104467109A CN104467109A (en) | 2015-03-25 |
CN104467109B true CN104467109B (en) | 2017-02-01 |
Family
ID=52912686
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410827516.3A Active CN104467109B (en) | 2014-12-24 | 2014-12-24 | Method for supplying power to electronic equipment and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104467109B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106058975B (en) * | 2016-06-15 | 2019-01-29 | 维沃移动通信有限公司 | A kind of protection circuit, method and mobile terminal |
CN106199731A (en) * | 2016-08-18 | 2016-12-07 | 乐视控股(北京)有限公司 | A kind of detection method, device and charger |
CN107069844B (en) * | 2017-01-13 | 2019-07-16 | Oppo广东移动通信有限公司 | Charging method, device and terminal |
CN106786969A (en) * | 2017-01-20 | 2017-05-31 | 维沃移动通信有限公司 | A kind of charge protection method and device |
CN106787032A (en) * | 2017-03-31 | 2017-05-31 | 维沃移动通信有限公司 | A kind of control method of charging port, device and charger |
CN110401485B (en) * | 2017-04-06 | 2021-12-14 | 青岛海信宽带多媒体技术有限公司 | Optical module |
CN111418128A (en) * | 2017-10-31 | 2020-07-14 | 深圳市柔宇科技有限公司 | Electronic device and charging cable verification method |
CN108710428B (en) * | 2018-05-15 | 2020-09-01 | 甄十信息科技(上海)有限公司 | Method and device for interface power supply |
CN110875614A (en) * | 2018-09-04 | 2020-03-10 | 中兴通讯股份有限公司 | Protection method of charging interface and charging device |
CN111193529B (en) * | 2018-11-15 | 2022-04-12 | 常州市派腾电子技术服务有限公司 | Data transmission method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2774234A4 (en) * | 2011-10-31 | 2015-10-07 | Bosch Automotive Service Solutions Llc | Vehicle communication component and process having active overvoltage protection |
CN103106167B (en) * | 2013-01-22 | 2015-12-02 | 矽力杰半导体技术(杭州)有限公司 | A kind of USB device and control method thereof |
CN103779907B (en) * | 2014-01-28 | 2016-11-23 | 广东欧珀移动通信有限公司 | Terminal and battery charging control device thereof and method |
-
2014
- 2014-12-24 CN CN201410827516.3A patent/CN104467109B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104467109A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104467109B (en) | Method for supplying power to electronic equipment and electronic equipment | |
CN104578277B (en) | Method and electronic device for charging electronic device | |
JP7428835B2 (en) | Charging circuit and charging cable | |
CN104300630B (en) | Battery charge controller and method | |
JP5388484B2 (en) | Apparatus and method for detecting power supply | |
CN106165236B (en) | The processing method of terminal, power supply adaptor and charging exception | |
WO2018072209A1 (en) | Charging method and electronic device | |
CN105762883B (en) | Method and electronic device for charging an electronic device | |
CN103618356B (en) | A charging system and charging method for a mobile terminal | |
CN112152276B (en) | Abnormality detection method and apparatus, and storage medium | |
CN104485712B (en) | Charging method and electronic equipment | |
CN105449757B (en) | Prevent the method and device that adapter or portable power source disconnect in charging process | |
US20150357836A1 (en) | Fast charging terminal | |
WO2015113461A1 (en) | Power adapter and terminal | |
TWI559125B (en) | Power bank apparatus and power control method thereof | |
JP2018529301A (en) | Power adapter, terminal device, charging system, and charging method | |
CN106486715A (en) | Charging method, charging controller and charging system | |
CN104578275B (en) | Charging method and electronic equipment | |
CN106655389A (en) | Charging protection method, device and circuit | |
CN105743180B (en) | Method and electronic device for charging an electronic device | |
CN105762884A (en) | Method for charging electronic equipment, and electronic equipment | |
WO2016141554A1 (en) | Self-loop detection method and apparatus for charging device | |
JP7111803B2 (en) | Charging method, terminal and computer storage medium | |
CN106899061B (en) | Mobile terminal, charging device and charging method | |
JP6916629B2 (en) | Electronics and control methods |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |