Movatterモバイル変換


[0]ホーム

URL:


CN114520524A - Power supply device, power supply method, and power supply system - Google Patents

Power supply device, power supply method, and power supply system
Download PDF

Info

Publication number
CN114520524A
CN114520524ACN202011303468.XACN202011303468ACN114520524ACN 114520524 ACN114520524 ACN 114520524ACN 202011303468 ACN202011303468 ACN 202011303468ACN 114520524 ACN114520524 ACN 114520524A
Authority
CN
China
Prior art keywords
attribute information
processor
adapter
protocol
signal
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.)
Granted
Application number
CN202011303468.XA
Other languages
Chinese (zh)
Other versions
CN114520524B (en
Inventor
李雪
张俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011303468.XApriorityCriticalpatent/CN114520524B/en
Publication of CN114520524ApublicationCriticalpatent/CN114520524A/en
Application grantedgrantedCritical
Publication of CN114520524BpublicationCriticalpatent/CN114520524B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本公开涉及充电技术领域,具体涉及一种电源提供装置、电源提供方法和电源提供系统,电源提供装置基于待充电设备,待充电设备与外部适配器连接;电源提供装置可以包括处理器、充电控制器、集成于充电控制器的协议模块以及保护模块。其中处理器接收电池的属性信息;充电控制器连接于处理器、适配器以及电池;协议模块集成于充电控制器,且与处理器和适配器连接,用于根据预设协议将属性信息传输至适配器以使得适配器能够根据属性信息调整输出信号,并向处理器反馈属性信息的传输完成信号,以使得处理器根据传输完成信号控制充电控制器生成闭合控制信号;保护模块连接于适配器、电池以及协议模块,用于响应闭合控制信号,将输出信号传输至电池。

Figure 202011303468

The present disclosure relates to the technical field of charging, and in particular to a power supply device, a power supply method, and a power supply system. The power supply device is based on a device to be charged, and the device to be charged is connected to an external adapter; the power supply device may include a processor and a charging controller. , The protocol module and protection module integrated in the charging controller. The processor receives the attribute information of the battery; the charging controller is connected to the processor, the adapter and the battery; the protocol module is integrated in the charging controller and connected to the processor and the adapter, and is used to transmit the attribute information to the adapter according to a preset protocol for The adapter can adjust the output signal according to the attribute information, and feed back the transmission completion signal of the attribute information to the processor, so that the processor controls the charging controller to generate the closing control signal according to the transmission completion signal; the protection module is connected to the adapter, the battery and the protocol module, Used to transmit the output signal to the battery in response to the closing control signal.

Figure 202011303468

Description

Translated fromChinese
电源提供装置、电源提供方法以及电源提供系统Power supply device, power supply method, and power supply system

技术领域technical field

本申请涉及充电技术领域,具体而言,涉及一种电源提供装置、电源提供方法和电源提供系统。The present application relates to the technical field of charging, and in particular, to a power supply device, a power supply method, and a power supply system.

背景技术Background technique

随着例如笔记本电脑、手机等便携式电子设备被广泛使用,便携式电子设备采用电池称作为电力系统,如何方便快捷的给电池充电的技术就变得较为重要。With the widespread use of portable electronic devices such as notebook computers and mobile phones, the portable electronic devices use a battery called a power system, and the technology of how to conveniently and quickly charge the battery becomes more important.

现有技术中的电源提供装置需要独立的MCU(Microcontroller Unit,微控制单元)处理器,成本较高,且占用面积较大。The power supply device in the prior art requires an independent MCU (Microcontroller Unit, Micro Control Unit) processor, which is costly and occupies a large area.

需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above Background section is only for enhancement of understanding of the background of the present disclosure, and therefore may contain information that does not form the prior art that is already known to a person of ordinary skill in the art.

发明内容SUMMARY OF THE INVENTION

本申请的目的在于提供一种电源提供装置和电源提供方法,进而至少在一定程度上克服现有技术中电源提供装置需要独立的MCU处理器,成本较高,成本较高,且占用面积较大。The purpose of the present application is to provide a power supply device and a power supply method, thereby at least to a certain extent overcome the need for an independent MCU processor in the power supply device in the prior art, the cost is high, the cost is high, and the occupied area is large .

根据本公开的第一方面,提供一种电源提供装置,所述电源提供装置基于待充电设备,所述待充电设备与外部适配器连接;所述电源提供装置包括:According to a first aspect of the present disclosure, a power supply device is provided, the power supply device is based on a device to be charged, and the device to be charged is connected to an external adapter; the power supply device includes:

处理器,接收电池的属性信息;The processor receives the attribute information of the battery;

充电控制器,连接于所述处理器、所述适配器以及所述电池;a charging controller connected to the processor, the adapter and the battery;

协议模块,集成于所述充电控制器,且与所述处理器和所述适配器连接,用于根据预设协议将所述属性信息传输至所述适配器以使得所述适配器能够根据所述属性信息调整输出信号,并向处理器反馈所述属性信息的传输完成信号,以使得所述处理器根据所述传输完成信号控制所述充电控制器生成闭合控制信号;a protocol module, integrated in the charging controller and connected with the processor and the adapter, for transmitting the attribute information to the adapter according to a preset protocol so that the adapter can use the attribute information according to the attribute information adjusting the output signal, and feeding back a transmission completion signal of the attribute information to the processor, so that the processor controls the charging controller to generate a closing control signal according to the transmission completion signal;

根据本申请的第二方面,提供一种电源提供方法,包括:According to a second aspect of the present application, a power supply method is provided, comprising:

通过处理器接收电池的属性信息;Receive battery attribute information through the processor;

通过集成于协议模块根据预设协议将所述属性信息传输至适配器以使得所述适配器能够根据所述属性信息调整输出信号,并向处理器反馈所述属性信息的传输完成信号,以使得所述处理器根据所述传输完成信号控制充电控制器生成闭合控制信号;The attribute information is transmitted to the adapter according to the preset protocol by being integrated in the protocol module, so that the adapter can adjust the output signal according to the attribute information, and feeds back the transmission completion signal of the attribute information to the processor, so that the The processor controls the charging controller to generate a closing control signal according to the transmission completion signal;

通过保护模块响应所述闭合控制信号,将所述输出信号传输至所述电池。The output signal is transmitted to the battery by a protection module in response to the closing control signal.

根据本申请的第三方面,提供一种电源提供系统,包括相互连接的待充电设备和适配器,其中,所述待充电设备包括处理器、充电控制器和保护模块;According to a third aspect of the present application, a power supply system is provided, including a device to be charged and an adapter connected to each other, wherein the device to be charged includes a processor, a charging controller, and a protection module;

其中,in,

所述处理器,接收电池的属性信息;the processor, receiving attribute information of the battery;

所述充电控制器,连接于所述处理器、所述适配器以及所述电池;the charging controller, connected to the processor, the adapter and the battery;

所述协议模块,集成于所述充电控制器,且与所述处理器和所述适配器连接,用于根据预设协议将所述属性信息传输至所述适配器以使得所述适配器能够根据所述属性信息调整输出信号,并向处理器反馈所述属性信息的传输完成信号,以使得所述处理器根据所述传输完成信号控制所述充电控制器生成闭合控制信号;The protocol module is integrated in the charging controller and connected with the processor and the adapter, and is used for transmitting the attribute information to the adapter according to a preset protocol so that the adapter can The attribute information adjusts the output signal, and feeds back a transmission completion signal of the attribute information to the processor, so that the processor controls the charging controller to generate a closing control signal according to the transmission completion signal;

所述保护模块,连接于所述适配器、所述电池以及所述充电控制器,用于响应所述闭合控制信号,将所述输出信号传输至所述电池。。The protection module is connected to the adapter, the battery and the charging controller, and is used for transmitting the output signal to the battery in response to the closing control signal. .

本申请的一种实施例所提供的电源提供装置、电源提供方法和电源提供系统,由处理器接收电池的属性信息并通过集成于充电控制器的协议模块将属性信息传输至适配器,适配器根据属性信息调整适配器的输出信号,并向处理器反馈属性信息的传输完成信号,以使得处理器根据传输完成信号控制充电控制器生成闭合控制信号,保护模块,连接于适配器、电池以及充电控制器,用于响应闭合控制信号,将输出信号传输至电池。相较于现有技术,无需采用独立的MCU来完成数据的处理,只需要在充点控制器一侧集成一协议模块完成通讯即可,数据处理过程由待充电设备中的处理器执行,简化了电源提供装置的复杂度,降低了成本,减少了电源提供装置的占用面积。In the power supply device, power supply method, and power supply system provided by an embodiment of the present application, the processor receives attribute information of the battery and transmits the attribute information to the adapter through a protocol module integrated in the charging controller. The information adjusts the output signal of the adapter, and feeds back the transmission completion signal of the attribute information to the processor, so that the processor controls the charging controller to generate a closing control signal according to the transmission completion signal, and the protection module is connected to the adapter, the battery and the charging controller. The output signal is transmitted to the battery in response to the closing control signal. Compared with the existing technology, there is no need to use an independent MCU to complete the data processing. It only needs to integrate a protocol module on the charging point controller side to complete the communication. The data processing process is performed by the processor in the device to be charged, which simplifies The complexity of the power supply device is reduced, the cost is reduced, and the occupied area of the power supply device is reduced.

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

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort. In the attached image:

图1示出相关技术中电源提供装置的示意图;1 shows a schematic diagram of a power supply device in the related art;

图2示意性示出了本申请示例性实施例中一种电源提供装置的示意图;FIG. 2 schematically shows a schematic diagram of a power supply device in an exemplary embodiment of the present application;

图3示意性示出了本申请示例性实施例中对处理器进行细化后的电源提供装置的示意图;FIG. 3 schematically shows a schematic diagram of a power supply device after the processor is refined in an exemplary embodiment of the present application;

图4本申请示例性实施例中一种电源提供装置整体细化后的示意图;FIG. 4 is a schematic diagram of an overall refined power supply device in an exemplary embodiment of the present application;

图5示意性示出了本申请示例性实施例中根据预设协议将所述属性信息传输至所述适配器的数据流向图;FIG. 5 schematically shows a data flow diagram for transmitting the attribute information to the adapter according to a preset protocol in an exemplary embodiment of the present application;

图6示意性示出了本申请示例性实施例中对适配器进行细化后的电源提供装置的示意图;FIG. 6 schematically shows a schematic diagram of a power supply device after the adapter is refined in an exemplary embodiment of the present application;

图7示意性示出了本申请示例性实施例中适配器的具体结构示意图;FIG. 7 schematically shows a schematic diagram of a specific structure of an adapter in an exemplary embodiment of the present application;

图8示意性示出了本申请示例性实施例中一种电源提供方法的流程图;FIG. 8 schematically shows a flowchart of a power supply method in an exemplary embodiment of the present application;

图9示意性示出了本申请示例性实施例中根据预设协议将所述属性信息传输至所述适配器的流程图;FIG. 9 schematically shows a flowchart of transmitting the attribute information to the adapter according to a preset protocol in an exemplary embodiment of the present application;

图10示意性示出了本申请保护模块响应关断控制信号的流程图。FIG. 10 schematically shows a flow chart of the protection module of the present application responding to the shutdown control signal.

具体实施方式Detailed ways

现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted. Some of the block diagrams shown in the figures are functional entities that do not necessarily necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.

在相关技术中,参照图1所示,相关技术中的电源提供装置通过独立的MCU130以及数据采集模块150检测电池160的状态并与处理器140通讯,即检测电池160的属性信息,根据电池160状态与适配器110进行通讯,调整适配器110的输出电压和输出电流,控制电荷泵121启动开关晶体管,使得晶体管导通,来对电池160进行充电,在检测电池160的属性信息时,是由独立的MCU130以及待充设备中的处理器140中同时完成的。同时配置有充电控制器120,充电控制器通过PMIC(Power Management Integrated Circuit,电源管理集成电路)170与处理器140连接,适配器110通过通用异步收发传输线路连接于处理器,采用USB开关来控制线路的切换,在充电控制器120中设置有充电类型判断模块124来确定是否需要启动适配器110输出信号的信号流向。In the related art, as shown in FIG. 1 , the power supply device in the related art detects the state of thebattery 160 through theindependent MCU 130 and thedata acquisition module 150 and communicates with theprocessor 140 , that is, detects the attribute information of thebattery 160 , according to thebattery 160 The state communicates with theadapter 110, adjusts the output voltage and output current of theadapter 110, controls thecharge pump 121 to start the switching transistor, makes the transistor turn on, and charges thebattery 160. When detecting the attribute information of thebattery 160, it is determined by an independent The MCU 130 and theprocessor 140 in the device to be charged are completed at the same time. At the same time, acharging controller 120 is configured. The charging controller is connected to theprocessor 140 through a PMIC (Power Management Integrated Circuit) 170. Theadapter 110 is connected to the processor through a universal asynchronous transceiver transmission line, and a USB switch is used to control the circuit. Thecharging controller 120 is provided with a chargingtype judging module 124 to determine whether it is necessary to start the signal flow of the output signal of theadapter 110 .

相关技术中的电源提供装置采用独立的MCU处理器140成本较高,需要单独的固件维护,成本较高,且占用面积较大。The power supply device in the related art uses anindependent MCU processor 140 with high cost, requires separate firmware maintenance, has high cost, and occupies a large area.

基于上述缺点,本申请首先提供一种电源提供装置,能够在一定程度上解决上述一个或多个问题,参照图2所示,电源提供装置基于待充电设备,待充电设备与外部适配器110连接;电源提供装置可以包括处理器140、充电控制器120、集成于充电控制器120的协议模块122以及保护模块180。其中处理器140接收电池160的属性信息;充电控制器120连接于处理器140、适配器110以及电池160;协议模块122集成于充电控制器120,且与处理器140和适配器110连接,用于根据预设协议将属性信息传输至适配器110以使得适配器110能够根据属性信息调整输出信号,并向处理器140反馈属性信息的传输完成信号,以使得处理器140根据传输完成信号控制充电控制器120生成闭合控制信号;保护模块180连接于适配器110、电池160以及协议模块122,用于响应闭合控制信号,将输出信号传输至电池160。Based on the above shortcomings, the present application first provides a power supply device, which can solve one or more of the above problems to a certain extent. Referring to FIG. 2 , the power supply device is based on the device to be charged, and the device to be charged is connected to theexternal adapter 110; The power supply device may include aprocessor 140 , acharging controller 120 , aprotocol module 122 integrated in thecharging controller 120 , and aprotection module 180 . Theprocessor 140 receives attribute information of thebattery 160; thecharging controller 120 is connected to theprocessor 140, theadapter 110 and thebattery 160; theprotocol module 122 is integrated in thecharging controller 120 and is connected to theprocessor 140 and theadapter 110 for according The preset protocol transmits the attribute information to theadapter 110 so that theadapter 110 can adjust the output signal according to the attribute information, and feeds back the transmission completion signal of the attribute information to theprocessor 140, so that theprocessor 140 controls thecharging controller 120 to generate Closing control signal; theprotection module 180 is connected to theadapter 110 , thebattery 160 and theprotocol module 122 , and is used for transmitting the output signal to thebattery 160 in response to the closing control signal.

相较于现有技术,无需采用独立的MCU来完成数据的处理,只需要在充点控制器112一侧集成一协议模块122完成通讯即可,数据处理过程由待充电设备中的处理器140执行,简化了电源提供装置的复杂度,降低了成本,减少了电源提供装置的占用面积。Compared with the prior art, there is no need to use an independent MCU to complete the data processing, only aprotocol module 122 needs to be integrated on thecharging point controller 112 side to complete the communication, and the data processing process is performed by theprocessor 140 in the device to be charged. The implementation simplifies the complexity of the power supply device, reduces the cost, and reduces the occupied area of the power supply device.

在申请的一种示例实施方式中,参照图3所示,处理器140集成于待充电设备中,待充电设备可以是笔记本电脑、手机、个人数字助理(PDA)等便携式电子设备。处理器140可以包括模数转换模块142和协议处理模块141,其中模数转换模块142用于对接收到的属性信息进行模数转换,协议处理模块141用于接收协议模块122的通讯信号根据预设协议将属性信息传输至适配器110。In an exemplary embodiment of the application, as shown in FIG. 3 , theprocessor 140 is integrated into a device to be charged, which may be a portable electronic device such as a notebook computer, a mobile phone, and a personal digital assistant (PDA). Theprocessor 140 may include an analog-to-digital conversion module 142 and aprotocol processing module 141, wherein the analog-to-digital conversion module 142 is used to perform analog-to-digital conversion on the received attribute information, and theprotocol processing module 141 is used to receive the communication signal of theprotocol module 122 according to the preset. The protocol transmits the attribute information to theadapter 110 .

在本公开的一种示例实施方式中,上述电源提供装置还可以包括数据采集模块,上述数据采集模块150集成于上述待充电设备,用于采集电池160的属性信息并传输至处理器140。其中,属性信息可以包括电池160电压、电流、温度等信息,数据采集模块150可以包括电量计,还可以包括温度传感器、电压表、电流表等检测设备,在本示例实施方式中不做具体限定,随着需要检测的属性信息的数量的改变,可以数据采集模块150中设置与属性信息中的信息对应的检测设备,例如,需要检测电池160的剩余电量时,可以增加一个库仑计来检测。In an exemplary embodiment of the present disclosure, the above-mentioned power supply device may further include a data acquisition module. The above-mentioneddata acquisition module 150 is integrated into the above-mentioned device to be charged, and is used to collect attribute information of thebattery 160 and transmit it to theprocessor 140 . The attribute information may include information such as the voltage, current, and temperature of thebattery 160, and thedata acquisition module 150 may include a fuel gauge, and may also include detection devices such as a temperature sensor, a voltmeter, and an ammeter, which are not specifically limited in this exemplary embodiment. As the quantity of attribute information to be detected changes, a detection device corresponding to the information in the attribute information can be set in thedata acquisition module 150. For example, when the remaining power of thebattery 160 needs to be detected, a coulomb counter can be added for detection.

在本示例实施方式中,上述数据采集模块150可以通过I2C总线与上述处理器140连接,以用于将上述属性信息传输至处理器140。In this exemplary embodiment, thedata collection module 150 may be connected to theprocessor 140 through an I2C bus, so as to transmit the attribute information to theprocessor 140 .

在本示例实时方式中,数据采集模块150可以每隔一个预设时间便采集一次电池160的属性信息,上述预设时间可以为5毫秒、10毫秒等,也可以根据用户需求进行自定义,在本示例实施方式中不做具体限定。In the real-time mode of this example, thedata collection module 150 can collect the attribute information of thebattery 160 every preset time. There is no specific limitation in this exemplary implementation.

在本示例实施方式中,处理器140接收数据采集模块150采集的属性信息后利用上述模数转换模块142对属性信息进行模数转换,,且处理器140可以保存预设次数的属性信息,预设数量可以是5次,即第六次采集到属性信息时,释放第一次采集的属性信息,预设数量还可以是10次、15次等,也可以根据用户需求进行自定义,在本示例实施方式中不做具体限定。In this exemplary embodiment, theprocessor 140 uses the above-mentioned analog-to-digital conversion module 142 to perform analog-to-digital conversion on the attribute information after receiving the attribute information collected by thedata acquisition module 150, and theprocessor 140 can save the attribute information for a preset number of times beforehand. The set number can be 5 times, that is, when the attribute information is collected for the sixth time, the attribute information collected for the first time is released. The preset number can also be 10 times, 15 times, etc., and can also be customized according to user needs. No specific limitation is made in the example embodiment.

在本申请的一种示例实施方式中,协议模块122连接于上述处理器140和适配器110,用于根据预设协议将属性信号传输至适配器110,以使得所述适配器110能够根据所述属性信息调整输出信号,同时向处理器140反馈所述属性信息的传输完成信号,以使得所述处理器140根据所述传输完成信号控制充电控制器120生成闭合控制信号,其中,上述协议模块122可以通过数字电路状态机实现。In an exemplary implementation of the present application, theprotocol module 122 is connected to the above-mentionedprocessor 140 and theadapter 110, and is used for transmitting the attribute signal to theadapter 110 according to a preset protocol, so that theadapter 110 can perform the attribute information according to the attribute information. Adjust the output signal, and feed back the transmission completion signal of the attribute information to theprocessor 140 at the same time, so that theprocessor 140 controls the chargingcontroller 120 to generate a closing control signal according to the transmission completion signal, wherein the above-mentionedprotocol module 122 can pass Digital circuit state machine implementation.

在本示例实施方式中,电池160是蓄电池160,可以使用适配器110提供的充电电压对其进行再充电,电池160还可以由具有特定的电子电压的至少一个电池160单元形成,并能够输出电压。电池160供应关于电池160的数据信息,数据信息可以包含在上述属性信息中,数据信息可以包括电池160的完全充电比特,电池160的完全充电容量等。In this example embodiment, thebattery 160 is anaccumulator 160 that can be recharged using a charging voltage provided by theadapter 110, and can also be formed of at least onebattery 160 cell having a specific electrical voltage and capable of outputting a voltage. Thebattery 160 supplies data information about thebattery 160, the data information may be included in the above-mentioned attribute information, and the data information may include a full charge bit of thebattery 160, a full charge capacity of thebattery 160, and the like.

在本示例实施方式中,参照图4所示,协议模块122可以与上述处理器140通过数据传输线420以及中断线410连接;协议模块122可以与上述适配器110通过通用串行总线连接。其中数据传输线420可以是I2C总线、SPI总线(Serial Peripheral Interface,串行外设接口)或SPMI总线,在本示例实施方式中不做具体限定In this exemplary embodiment, referring to FIG. 4 , theprotocol module 122 can be connected to the above-mentionedprocessor 140 through adata transmission line 420 and an interruptline 410 ; theprotocol module 122 can be connected to the above-mentionedadapter 110 through a universal serial bus. Thedata transmission line 420 may be an I2C bus, an SPI bus (Serial Peripheral Interface, serial peripheral interface) or an SPMI bus, which is not specifically limited in this exemplary implementation.

具体而言,参照图5所示,可以首先执行步骤S510,处理器140发送握手信号,在协议模块122接收到处理器140发送来的握手信号时,即表示充电接口已经连接在待充电设备,此时,可以执行步骤S520,可以将协议模块122已调整为空闲状态(IDLE状态)准备数据传输,同时,将握手信号发送给适配器110,适配器110接收到握手信号,后发出协议发送指令,在协议模块122接收到协议发送指令后,可以执行步骤S530,协议模块122跳转至数据接收状态(RECV_DATA状态),然后适配器110发送协议内容,其中该协议内容可以是需要接收的数据,即需要接收的数据包括上述属性信息中的一种或多种,协议内容中还可以为需要接收数据的位数,例如,接收8位数据、9位数据等,此时协议模块在接收属性信息是包括接收数据计数功能。Specifically, referring to FIG. 5 , step S510 may be executed first, and theprocessor 140 sends a handshake signal. When theprotocol module 122 receives the handshake signal sent by theprocessor 140, it means that the charging interface has been connected to the device to be charged. At this time, step S520 can be performed, and theprotocol module 122 can be adjusted to an idle state (IDLE state) to prepare for data transmission, and at the same time, the handshake signal is sent to theadapter 110, and theadapter 110 receives the handshake signal, and then sends out a protocol sending instruction, at After theprotocol module 122 receives the protocol sending instruction, it can perform step S530, theprotocol module 122 jumps to the data receiving state (RECV_DATA state), and then theadapter 110 sends the protocol content, wherein the protocol content can be the data to be received, that is, the data needs to be received The data includes one or more of the above attribute information, and the content of the protocol can also be the number of bits that need to receive data, for example, to receive 8-bit data, 9-bit data, etc. At this time, when the protocol module receives attribute information, it includes receiving Data count function.

在协议模块122接收到协议内容之后,可以执行步骤S550,协议模块122跳转至等待数据发送状态(WAIT_TX_DATA状态),并向处理器140发送数据获取指令;处理器140在接收到数据获取指令之后,根据数据获取指令将属性信息发送至协议模块122,此时的属性信息中包括协议内容中所需的所有属性信息,例如,电池160电流,电池160温度等。在协议模块122接收到属性信息后,可以执行步骤S360,协议模块122跳转至数据发送状态(SEND_DATA状态),然后将属性信息发送至适配器110,然后跳转至空闲状态(IDLE状态)。After theprotocol module 122 receives the protocol content, step S550 can be executed, theprotocol module 122 jumps to the waiting data transmission state (WAIT_TX_DATA state), and sends a data acquisition instruction to theprocessor 140; after theprocessor 140 receives the data acquisition instruction , and the attribute information is sent to theprotocol module 122 according to the data acquisition instruction. At this time, the attribute information includes all attribute information required in the protocol content, for example, the current of thebattery 160, the temperature of thebattery 160, and the like. After theprotocol module 122 receives the attribute information, step S360 may be executed, theprotocol module 122 jumps to the data sending state (SEND_DATA state), then sends the attribute information to theadapter 110, and then jumps to the idle state (IDLE state).

在本示例实施方式中,在上述协议模块122没有接收到处理器140发送的属性信息,或者接收的属性信息不完整时,即数据接收出错时,可以执行步骤S540,将所述协议模块122跳转至关闭状态(DISABLE状态),其中接收的属性信息不完整时,可以例如,协议内容中需要获取的数据包括电池160的电压、电流以及温度,但是接收到的属性信息只包括电池160的电压以及电流,没有温度信息,此时判定接收到的属性信息不完整。再例如,协议内容中需要接收的数据为8位数据,但是,协议模块122接收到的上述属性信息不够8位数据,例如6位数据、7位数据等,则可以执行步骤S540,将协议模块122跳转至关闭状态(DISABLE状态)。In this exemplary embodiment, when the above-mentionedprotocol module 122 does not receive the attribute information sent by theprocessor 140, or the received attribute information is incomplete, that is, when an error occurs in data reception, step S540 may be executed to make theprotocol module 122 jump Turn to the OFF state (DISABLE state), where the received attribute information is incomplete, for example, the data to be acquired in the protocol content includes the voltage, current and temperature of thebattery 160, but the received attribute information only includes the voltage of thebattery 160 As well as current, there is no temperature information, and it is determined that the received attribute information is incomplete at this time. For another example, the data to be received in the protocol content is 8-bit data, but the above-mentioned attribute information received by theprotocol module 122 is not enough for 8-bit data, such as 6-bit data, 7-bit data, etc. 122 Jumps to the OFF state (DISABLE state).

在本示例实施方式中,在协议模块122向适配器110发送属性信息时,当属性信息发送时,检测是否出现发送完成信号,即电信号在一定时间内为相同的电平信号,例如,在50毫秒内为低电平信号、40毫秒内容为高电平信号等。其中一定时间可以是50毫秒、40毫秒、60毫秒等,也可以根据用户需求进行自定义,相同的电平信号可以是高电平信号,也可以是低电平信号,在本示例实施方式中不做具体限定。In this exemplary embodiment, when theprotocol module 122 sends the attribute information to theadapter 110, when the attribute information is sent, it is detected whether the sending completion signal occurs, that is, the electrical signal is the same level signal for a certain period of time, for example, at 50 A low-level signal within milliseconds, a high-level signal within 40 milliseconds, etc. The certain time can be 50 milliseconds, 40 milliseconds, 60 milliseconds, etc., and can also be customized according to user needs. The same level signal can be a high-level signal or a low-level signal. In this example implementation No specific limitation is made.

在检测到出现发送完成信号时,表示数据发送正常且数据发送完成,则可以执行步骤S560,将协议模块122调跳转至空闲状态(IDLE状态),等待下一轮数据的接收。若在数据发送结束后,未接收到发送完成信号,即在发送相应位数的数据后,协议模块122还在发送数据,此时判定为发送属性信息异常,则可以执行步骤S540,将协议模块122跳转至关闭状态(DISABLE状态)。When a transmission completion signal is detected, it means that data transmission is normal and data transmission is completed, then step S560 may be executed to switch theprotocol module 122 to an idle state (IDLE state), and wait for the next round of data reception. If the transmission completion signal is not received after the data transmission is completed, that is, theprotocol module 122 is still transmitting data after the data of the corresponding number of bits is transmitted, and it is determined that the transmission attribute information is abnormal at this time, step S540 may be executed, and theprotocol module 122 may be executed. 122 Jumps to the OFF state (DISABLE state).

在本示例实施方式中,协议模块122可以接收处理器140发送的关闭信号,直接将协议模块122跳转至关闭状态(DISABLE状态)。在协议模块122处于关闭状态(DISABLE状态)时,可以响应处理器140发送的使能信号,将协议模块122跳转至空闲状态(IDLE状态)。In this exemplary embodiment, theprotocol module 122 may receive the shutdown signal sent by theprocessor 140 and directly jump theprotocol module 122 to the shutdown state (DISABLE state). When theprotocol module 122 is in the off state (DISABLE state), theprotocol module 122 may jump to the idle state (IDLE state) in response to the enable signal sent by theprocessor 140 .

在本示例实施方式中,若上述属性信息的传输过程不存在异常,即适配器110接收到了完整的属性信息,则协议模块122向处理器140发送属性信息传输完成信号,并由处理器140控制充电控制器120生成闭合控制信号,若上述协议模块122出现关闭状态(DISABLE状态)时,协议模块122生成属性信息的传输失败信号,处理器140根据传输失败信号生成关断控制信号,停止充电以防止适配器110输出电压过高对电池160造成损坏。In this example embodiment, if there is no abnormality in the transmission process of the above attribute information, that is, theadapter 110 has received the complete attribute information, theprotocol module 122 sends an attribute information transmission completion signal to theprocessor 140, and theprocessor 140 controls the charging Thecontroller 120 generates a closing control signal. If the above-mentionedprotocol module 122 is in a closed state (DISABLE state), theprotocol module 122 generates a transmission failure signal of the attribute information, and theprocessor 140 generates a shutdown control signal according to the transmission failure signal, and stops charging to prevent. If the output voltage of theadapter 110 is too high, thebattery 160 may be damaged.

在本示例实施方式中,参照图4所示,充电控制器120也是集成于上述待充电设备内部,待充电设备与上述适配器110通过USB接口连接,且在USB接口位置包括第一USB开关190,其中过上述第一USB开关190为分路开关元件,将线路分为两路,其中一路通过通用异步收发传输线路430(Universal Asynchronous Receiver/Transmitter)直接连接于处理器140,用于串口数据的传输,例如,下载文件至待充电设备,或者将文件由待充电设备上传。In this exemplary embodiment, referring to FIG. 4 , the chargingcontroller 120 is also integrated inside the device to be charged, the device to be charged is connected to theadapter 110 through a USB interface, and includes afirst USB switch 190 at the position of the USB interface, The above-mentionedfirst USB switch 190 is a shunt switch element, dividing the circuit into two circuits, one of which is directly connected to theprocessor 140 through a Universal Asynchronous Receiver/Transmitter transmission line 430 for serial port data transmission , for example, download files to the device to be charged, or upload files from the device to be charged.

在本示例实施方式中,第一USB开关190的第二路连接于上述充电控制器120内部设置的第二USB开关123,第二USB开关123也可以是分路开关,分别连接于协议模块122以及上述充电类型判断模块124,在上述充电类型判断模块124判定USB接口连接的是适配器110时,将第二USB开关123连接至协议模块122,以完成适配器110与处理器140之间的通讯。In this exemplary embodiment, the second path of thefirst USB switch 190 is connected to thesecond USB switch 123 provided inside the chargingcontroller 120, and thesecond USB switch 123 may also be a shunt switch, which is respectively connected to theprotocol module 122 And the chargingtype judging module 124 , when the chargingtype judging module 124 determines that theadapter 110 is connected to the USB interface, thesecond USB switch 123 is connected to theprotocol module 122 to complete the communication between theadapter 110 and theprocessor 140 .

在本示例实施方式中,充电控制器120可以用于在适配器110与处理器140不适配时,即处理器140无法通过协议模块122将属性信息传输至适配器110时,将适配器110的输出信号转换为预设输入信号并传输电池160,其中上述预设输入信号可以是5V、2A的电信号,也可以根据适配器110和电池160的不同来设置上述预设输入信号,例如将上述预设输入信号设置为5V、1.5A,在本示例实施方式中不做具体限定。In this example embodiment, the chargingcontroller 120 can be used to transmit the output signal of theadapter 110 when theadapter 110 and theprocessor 140 are not compatible, that is, when theprocessor 140 cannot transmit the attribute information to theadapter 110 through theprotocol module 122 Convert it into a preset input signal and transmit it to thebattery 160, wherein the preset input signal can be an electrical signal of 5V and 2A, or the preset input signal can be set according to the difference between theadapter 110 and thebattery 160, for example, the preset input The signal is set to 5V and 1.5A, which is not specifically limited in this example implementation.

通过充电控制器120可以保证处理器140无法将属性信息传输至适配器110时,还能够继续对电池160进行充电,且保证了充电的安全性。The chargingcontroller 120 can ensure that when theprocessor 140 cannot transmit the attribute information to theadapter 110, thebattery 160 can continue to be charged, and the safety of charging is ensured.

在本示例实施方式中,参照图4所示,上述充电控制器120中还可以包括一驱动信号能够模块,用于接受处理器140的指令并生成闭合控制信号或者关断控制信号,其中,上述驱动信号生成模块可以是电荷泵121,用于在处理器140接收到属性信息的传输完成信号时,控制电荷泵121生成闭合及控制信号;使得保护模块180导通,进而使得输出信号能够经过保护模块180传输至电池160。或者用于在处理器140接收到属性信息传输失败信号时,处理器140控制电荷泵121生成关控制信号,使得保护模块180无法通过电流,对电池160进行保护。In the present exemplary embodiment, referring to FIG. 4 , the above-mentionedcharging controller 120 may further include a driving signal capable module, which is used to receive an instruction from theprocessor 140 and generate a closing control signal or a closing control signal, wherein the above-mentioned The drive signal generation module may be thecharge pump 121, which is used to control thecharge pump 121 to generate a closing and control signal when theprocessor 140 receives the transmission completion signal of the attribute information; theprotection module 180 is turned on, so that the output signal can be protectedModule 180 is transferred tobattery 160 . Alternatively, when theprocessor 140 receives the attribute information transmission failure signal, theprocessor 140 controls thecharge pump 121 to generate an off control signal, so that theprotection module 180 cannot pass current to protect thebattery 160 .

在本示例实施方式中,参照图4所示,保护模块180可以包括至少一个开关晶体管,例如两个,三个等,在本示例实施方式中不做具体限定,其中开关晶体管均具有控制端、第一端、第二端。具体的,开关晶体管的控制端可以为栅极、第一端可以为源极、第二端可以为漏极;或者开关晶体管的控制端可以栅极、第一端可以为漏极、第二端可以为源极。此外,开关晶体管可以为增强型晶体管或者耗尽型晶体管,本示例性实施例中对此不做特殊限定。In this exemplary embodiment, referring to FIG. 4 , theprotection module 180 may include at least one switching transistor, such as two, three, etc., which are not specifically limited in this exemplary embodiment, wherein the switching transistors all have control terminals, first end, second end. Specifically, the control terminal of the switching transistor may be the gate, the first terminal may be the source, and the second terminal may be the drain; or the control terminal of the switching transistor may be the gate, the first terminal may be the drain, and the second terminal can be the source. In addition, the switching transistor may be an enhancement type transistor or a depletion type transistor, which is not particularly limited in this exemplary embodiment.

在本示例实施方式中,开关晶体管连接于上述驱动信号生成模块,开关晶体管的数量为两个时,两个开关晶体管的控制端均连接于驱动信号生成模块,第一开关晶体管的第一端链接于适配器110,第二端连接于第二开关晶体管的第一端,第二开关晶体管的第二端连接于电池160。开关元件可以响应闭合控制信号,控制开关元件导通,在接收到关断控制信号时,关断开关元件。In this exemplary embodiment, the switching transistor is connected to the above-mentioned driving signal generating module. When the number of switching transistors is two, the control terminals of the two switching transistors are both connected to the driving signal generating module, and the first terminal of the first switching transistor is connected to the driving signal generating module. In theadapter 110 , the second terminal is connected to the first terminal of the second switching transistor, and the second terminal of the second switching transistor is connected to thebattery 160 . The switching element may control the switching element to be turned on in response to the closing control signal, and turn off the switching element when receiving the closing control signal.

在本示例实施方式中,参照图6所示,适配器110被提供商用AC(交流)功率,将商用AC功率转换为预定电压电平的DC(直流)功率,并向上述电池160提供DC功率。In this example embodiment, referring to FIG. 6 , theadapter 110 is supplied with commercial AC (alternating current) power, converts the commercial AC power into DC (direct current) power at a predetermined voltage level, and supplies the above-describedbattery 160 with the DC power.

按照本申请的一个实施例的适配器110可以包括AC/DC转换器111和适配器控制器112。Theadapter 110 according to an embodiment of the present application may include an AC/DC converter 111 and anadapter controller 112 .

AC/DC转换器111将所输入的AC功率转换为DC功率,并且输出该DC功率。AC/DC转换器111可以按照由控制器112提供的信号来选择性地将所输入的AC功率转换为对应于多个电压电平的一个特定电平的DC功率Va,并且输出该DC功率。从AC/DC转换器111输出的DC功率被输出到电池160。The AC/DC converter 111 converts the input AC power into DC power, and outputs the DC power. The AC/DC converter 111 may selectively convert the input AC power to a specific level of DC power Va corresponding to a plurality of voltage levels according to a signal provided by thecontroller 112 and output the DC power. The DC power output from the AC/DC converter 111 is output to thebattery 160 .

控制器112根据从协议模块122得到的电子电压以及属性信息确定AC/DC转换器111的输出信号,即输出电压和输出电流。Thecontroller 112 determines the output signal of the AC/DC converter 111 , ie, the output voltage and the output current, according to the electronic voltage and attribute information obtained from theprotocol module 122 .

参考图7,适配器110包括:控制器112和AC/DC转换器111。其中,控制器112用于接收电池160的属性信息确定输出信号控制器112。例如可以通过独立的微控制单元(MicroControl Unit,MCU)实现。Referring to FIG. 7 , theadapter 110 includes acontroller 112 and an AC/DC converter 111 . Thecontroller 112 is configured to receive the attribute information of thebattery 160 to determine the output signal to thecontroller 112 . For example, it can be realized by an independent Micro Control Unit (Micro Control Unit, MCU).

AC/DC转换器111与控制器112连接,用于根据控制器112的控制,调整适配器110的输出电压。The AC/DC converter 111 is connected to thecontroller 112 for adjusting the output voltage of theadapter 110 according to the control of thecontroller 112 .

此外,如图7所示,适配器110还可以包括整流电路R1和电压转换模块S1。其中,整流电路R1用于将从AC接收的交流电压转换为直流电压,该直流电压如为脉动直流电压。In addition, as shown in FIG. 7 , theadapter 110 may further include a rectifier circuit R1 and a voltage conversion module S1. The rectifier circuit R1 is used to convert the alternating current voltage received from the AC into a direct current voltage, such as a pulsating direct current voltage.

此外,为了获得稳定的直流电压(如恒定直流电压),适配器110还可以进一步包括:滤波电路F1,连接于整流电路R1的输出端,用于对整流电路R1输出的直流电压进行滤波。In addition, in order to obtain a stable DC voltage (such as a constant DC voltage), theadapter 110 may further include: a filter circuit F1, connected to the output end of the rectifier circuit R1, for filtering the DC voltage output by the rectifier circuit R1.

需要说明的是,本申请不限定整流电路R1的具体电路结构,整流电路R1例如可以为通常使用的整流桥,或者也可以为其他可实现上述将交流电压转换为直流电压功能的其他电路。It should be noted that the present application does not limit the specific circuit structure of the rectifier circuit R1, and the rectifier circuit R1 can be, for example, a commonly used rectifier bridge, or other circuits that can realize the above-mentioned function of converting an AC voltage to a DC voltage.

综上所述,本示例性实施方式中,无需采用独立的MCU来完成数据的处理,只需要在少充点控制器112一侧集成一协议模块122完成通讯即可,数据处理过程由待充电设备中的处理器140执行,简化了电源提供装置的复杂度,降低了成本,减少了电源提供装置的占用面积。To sum up, in this exemplary embodiment, it is not necessary to use an independent MCU to complete the data processing, and it is only necessary to integrate aprotocol module 122 on the side of the low-chargingpoint controller 112 to complete the communication, and the data processing process is performed by the to-be-charged controller 112. Executed by theprocessor 140 in the device, the complexity of the power supply device is simplified, the cost is reduced, and the occupied area of the power supply device is reduced.

进一步的,本申请还提供一种电源提供方法,参照图8所示,电源提供方法包括如下步骤:Further, the present application also provides a power supply method. Referring to FIG. 8 , the power supply method includes the following steps:

步骤S810,通过处理器接收电池的属性信息;Step S810, receiving attribute information of the battery through the processor;

步骤S820,通过协议模块根据预设协议将所述属性信息传输至适配器以使得所述适配器能够根据所述属性信息调整输出信号,并向处理器反馈所述属性信息的传输完成信号,以使得所述处理器根据所述传输完成信号控制充电控制器生成闭合控制信号;Step S820, transmit the attribute information to the adapter through the protocol module according to the preset protocol, so that the adapter can adjust the output signal according to the attribute information, and feed back the transmission completion signal of the attribute information to the processor, so that all The processor controls the charging controller to generate a closing control signal according to the transmission completion signal;

步骤S830,通过保护模块响应所述闭合控制信号,将所述输出信号传输至所述电池。Step S830, responding to the closing control signal through the protection module, and transmitting the output signal to the battery.

上述方法中各步骤的具体细节在装置部分实施方式中已经详细说明,未披露的细节内容可以参见装置部分的实施方式内容,因而不再赘述。The specific details of each step in the above method have been described in detail in the implementation of the device part, and for undisclosed details, please refer to the implementation content of the device part, and thus will not be repeated.

在本申请的一种示例实施方式中,参照图9所示,根据预设协议将所述属性信息传输至所述适配器可以包括步骤S910至步骤S950,具体如下:In an exemplary implementation of the present application, referring to FIG. 9 , transmitting the attribute information to the adapter according to a preset protocol may include steps S910 to S950, as follows:

步骤S910,接收处理器发出的握手信号,将协议模块调整为空闲状态;Step S910, receiving a handshake signal sent by the processor, and adjusting the protocol module to an idle state;

步骤S920,接收所述适配器发送的协议发送指令,将所述协议模块调整为数据接收状态;Step S920, receiving a protocol sending instruction sent by the adapter, and adjusting the protocol module to a data receiving state;

步骤S930,在接收到所述适配器发送的协议内容时,将所述协议模块调整为等待数据发送状态,并像所述处理器发送数据获取指令Step S930, when receiving the protocol content sent by the adapter, adjust the protocol module to a state of waiting for data transmission, and send a data acquisition instruction to the processor

步骤S940,接收所述处理器根据所述数据获取指令发送的属性信息,并将所述协议模块调整为数据发送状态;Step S940, receiving the attribute information sent by the processor according to the data acquisition instruction, and adjusting the protocol module to a data sending state;

步骤S950,将所述属性信息发送至所述适配器,并将所述协议模块调整为空闲状态。Step S950, sending the attribute information to the adapter, and adjusting the protocol module to an idle state.

具体而言,处理器140发送握手信号,在协议模块122接收到处理器140发送来的握手信号时,即表示充电接口已经连接在待充电设备,此时,可以将协议模块122已调整为空闲状态(IDLE状态)准备数据传输,同时,将握手信号发送给适配器110,适配器110接收到握手信号,后发出协议发送指令,在协议模块122接收到协议发送指令后,协议模块122跳转至数据接收状态(RECV_DATA状态),然后适配器110发送协议内容,其中该协议内容可以是需要接收的数据,即需要接收的数据包括上述属性信息中的一种或多种,协议内容中还可以为需要接收数据的位数,例如,接收8位数据、9位数据等,此时协议模块122在接收属性信息是包括接收数据计数功能。Specifically, theprocessor 140 sends a handshake signal. When theprotocol module 122 receives the handshake signal sent by theprocessor 140, it means that the charging interface has been connected to the device to be charged. At this time, theprotocol module 122 can be adjusted to be idle. The state (IDLE state) is ready for data transmission. At the same time, the handshake signal is sent to theadapter 110. Theadapter 110 receives the handshake signal, and then issues a protocol sending instruction. After theprotocol module 122 receives the protocol sending instruction, theprotocol module 122 jumps to the data In the receiving state (RECV_DATA state), theadapter 110 sends the protocol content, where the protocol content can be the data to be received, that is, the data to be received includes one or more of the above attribute information, and the protocol content can also be the data to be received. The number of bits of data, for example, receiving 8-bit data, 9-bit data, etc. At this time, theprotocol module 122 includes a received data counting function when receiving attribute information.

在协议模块122接收到协议内容之后,协议模块122跳转至等待数据发送状态(WAIT_TX_DATA状态),并向处理器140发送数据获取指令;处理器140在接收到数据获取指令之后,根据数据获取指令将属性信息发送至协议模块122,此时的属性信息中包括协议内容中所需的所有属性信息,例如,电池160电流,电池160温度等。在协议模块122接收到属性信息后,协议模块122跳转至数据发送状态(SEND_DATA状态),然后将属性信息发送至适配器110,然后跳转至空闲状态(IDLE状态)。After theprotocol module 122 receives the protocol content, theprotocol module 122 jumps to the waiting data transmission state (WAIT_TX_DATA state), and sends a data acquisition instruction to theprocessor 140; after theprocessor 140 receives the data acquisition instruction, the data acquisition instruction The attribute information is sent to theprotocol module 122, and the attribute information at this time includes all attribute information required in the content of the protocol, for example, the current of thebattery 160, the temperature of thebattery 160, and the like. After theprotocol module 122 receives the attribute information, theprotocol module 122 jumps to the data sending state (SEND_DATA state), then sends the attribute information to theadapter 110, and then jumps to the idle state (IDLE state).

在本示例实施方式中,参照图10所示,上述方法还包括步骤S1010至步骤S1020,具体如下,若所述适配器110未接收到所述属性信息,则向处理器140反馈所述属性信息的传输失败信号,以使得所述处理器140根据所述传输完成信号控制所述充电控制器120生成关断控制信号,具体可以包括下面的多种情况,在上述协议模块122没有接收到处理器140发送的属性信息,或者接收的属性信息不完整时,即数据接收出错时,将所述协议模块122跳转至关闭状态(DISABLE状态),其中接收的属性信息不完整时,可以例如,协议内容中需要获取的数据包括电池160的电压、电流以及温度,但是接收到的属性信息只包括电池160的电压以及电流,没有温度信息,此时判定接收到的属性信息不完整。再例如,协议内容中需要接收的数据为8位数据,但是,协议模块122接收到的上述属性信息不够8位数据,例如6位数据、7位数据等,将协议模块122跳转至关闭状态(DISABLE状态)。In this exemplary embodiment, referring to FIG. 10 , the above method further includes steps S1010 to S1020 . The details are as follows. If theadapter 110 does not receive the attribute information, it feeds back the attribute information to theprocessor 140 . Transmission failure signal, so that theprocessor 140 controls the chargingcontroller 120 to generate a shutdown control signal according to the transmission completion signal, which may specifically include the following situations, when the above-mentionedprotocol module 122 does not receive theprocessor 140 When the sent attribute information or the received attribute information is incomplete, that is, when an error occurs in data reception, theprotocol module 122 is jumped to a closed state (DISABLE state), and when the received attribute information is incomplete, for example, the protocol content can be The data to be acquired includes the voltage, current and temperature of thebattery 160, but the received attribute information only includes the voltage and current of thebattery 160, and no temperature information. At this time, it is determined that the received attribute information is incomplete. For another example, the data to be received in the protocol content is 8-bit data, but the above-mentioned attribute information received by theprotocol module 122 is not enough for 8-bit data, such as 6-bit data, 7-bit data, etc., and theprotocol module 122 is jumped to the closed state. (DISABLE state).

在本示例实施方式中,在协议模块122向适配器110发送属性信息时,当属性信息发送时,检测是否出现发送完成信号,即电信号在一定时间内为相同的电平信号,例如,在50毫秒内为低电平信号、40毫秒内容为高电平信号等。其中一定时间可以是50毫秒、40毫秒、60毫秒等,也可以根据用户需求进行自定义,相同的电平信号可以是高电平信号,也可以是低电平信号,在本示例实施方式中不做具体限定。In this exemplary embodiment, when theprotocol module 122 sends the attribute information to theadapter 110, when the attribute information is sent, it is detected whether the sending completion signal occurs, that is, the electrical signal is the same level signal for a certain period of time, for example, at 50 It is a low level signal within milliseconds, and the content of 40 milliseconds is a high level signal. The certain time can be 50 milliseconds, 40 milliseconds, 60 milliseconds, etc., and can also be customized according to user needs. The same level signal can be a high-level signal or a low-level signal. In this example implementation No specific limitation is made.

在检测到出现发送完成信号时,表示数据发送正常且数据发送完成,将协议模块122调跳转至空闲状态(IDLE状态),等待下一轮数据的接收。若在数据发送结束后,未接收到发送完成信号,即在发送相应位数的数据后,协议模块122还在发送数据,此时判定为发送属性信息异常,将协议模块122跳转至关闭状态(DISABLE状态)。When a transmission completion signal is detected, it means that the data transmission is normal and the data transmission is completed, and theprotocol module 122 is adjusted to jump to the idle state (IDLE state) to wait for the next round of data reception. If the transmission completion signal is not received after the data transmission is completed, that is, theprotocol module 122 is still sending data after sending the data of the corresponding number of bits, it is determined that the transmission attribute information is abnormal at this time, and theprotocol module 122 is jumped to the closed state. (DISABLE state).

在本示例实施方式中,协议模块122可以接收处理器140发送的关闭信号,直接将协议模块122跳转至关闭状态(DISABLE状态)。在协议模块122处于关闭状态(DISABLE状态)时,可以响应处理器140发送的使能信号,将协议模块122跳转至空闲状态(IDLE状态)。In this exemplary embodiment, theprotocol module 122 may receive the shutdown signal sent by theprocessor 140 and directly jump theprotocol module 122 to the shutdown state (DISABLE state). When theprotocol module 122 is in the off state (DISABLE state), theprotocol module 122 may jump to the idle state (IDLE state) in response to the enable signal sent by theprocessor 140 .

在本示例实施方式中,则协议模块122向处理器140发送属性信息传输完成信号,并由处理器140控制充电控制器120生成闭合控制信号,若上述协议模块122出现关闭状态(DISABLE状态)时,协议模块122生成属性信息的传输失败信号,处理器140根据传输失败信号生成关断控制信号,停止充电以防止适配器110输出电压过高对电池160造成损坏。In this exemplary embodiment, theprotocol module 122 sends an attribute information transmission completion signal to theprocessor 140, and theprocessor 140 controls the chargingcontroller 120 to generate a closing control signal. If theprotocol module 122 is in a closed state (DISABLE state) , theprotocol module 122 generates a transmission failure signal of the attribute information, theprocessor 140 generates a shutdown control signal according to the transmission failure signal, and stops charging to prevent thebattery 160 from being damaged due to excessive output voltage of theadapter 110 .

保护模块180可以响应上述关断控制信号,使得上述保护模块180停止工作并出现断路,使得适配器110的输出信号无法传输到电池160,以保证电池160的安全。Theprotection module 180 can respond to the shut-off control signal, so that theprotection module 180 stops working and has an open circuit, so that the output signal of theadapter 110 cannot be transmitted to thebattery 160 to ensure the safety of thebattery 160 .

本公开还提供一种电源提供系统,电源提供装置基于待充电设备,待充电设备与外部适配器110连接;电源提供装置可以包括处理器140、充电控制器120、集成于充电控制器120的协议模块122以及保护模块180。其中处理器140接收电池160的属性信息;充电控制器120连接于处理器140、适配器110以及电池160;协议模块122集成于充电控制器120,且与处理器140和适配器110连接,用于根据预设协议将属性信息传输至适配器110以使得适配器110能够根据属性信息调整输出信号,并向处理器140反馈属性信息的传输完成信号,以使得处理器140根据传输完成信号控制充电控制器120生成闭合控制信号;保护模块180连接于适配器110、电池160以及协议模块122,用于响应闭合控制信号,将输出信号传输至电池160。The present disclosure also provides a power supply system. The power supply device is based on the device to be charged, and the device to be charged is connected to theexternal adapter 110 ; the power supply device may include aprocessor 140 , a chargingcontroller 120 , and a protocol module integrated in the chargingcontroller 120 . 122 andprotection module 180. Theprocessor 140 receives attribute information of thebattery 160; the chargingcontroller 120 is connected to theprocessor 140, theadapter 110 and thebattery 160; theprotocol module 122 is integrated in the chargingcontroller 120 and is connected to theprocessor 140 and theadapter 110 for according The preset protocol transmits the attribute information to theadapter 110 so that theadapter 110 can adjust the output signal according to the attribute information, and feeds back the transmission completion signal of the attribute information to theprocessor 140, so that theprocessor 140 controls the chargingcontroller 120 to generate Closing control signal; theprotection module 180 is connected to theadapter 110 , thebattery 160 and theprotocol module 122 , and is used for transmitting the output signal to thebattery 160 in response to the closing control signal.

上述系统中的处理器140、适配器110、充电控制器120、协议模块122以及保护模块180的具体细节在装置部分的实施方式中已经详细说明,未披露的细节内容可以参见装置部分的实施方式内容,因而不再赘述。The specific details of theprocessor 140 , theadapter 110 , the chargingcontroller 120 , theprotocol module 122 and theprotection module 180 in the above system have been described in detail in the embodiment of the device part, and the undisclosed details can be referred to the content of the embodiment of the device part , so it is not repeated here.

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

应可理解的是,本发明不将其应用限制到本说明书提出的部件的详细结构和布置方式。本发明能够具有其他实施方式,并且能够以多种方式实现并且执行。前述变形形式和修改形式落在本发明的范围内。应可理解的是,本说明书申请和限定的本发明延伸到文中和/或附图中提到或明显的两个或两个以上单独特征的所有可替代组合。所有这些不同的组合构成本发明的多个可替代方面。本说明书所述的实施方式说明了已知用于实现本发明的最佳方式,并且将使本领域技术人员能够利用本发明。It should be understood that the present invention is not limited in its application to the detailed structure and arrangement of components set forth in this specification. The invention is capable of other embodiments, of being implemented and of being carried out in various ways. The aforementioned variations and modifications fall within the scope of the present invention. It will be understood that the invention claimed and defined in this specification extends to all alternative combinations of two or more of the individual features mentioned or evident in the text and/or drawings. All of these different combinations constitute various alternative aspects of the present invention. The embodiments described in this specification illustrate the best mode known for carrying out the invention, and will enable any person skilled in the art to utilize the invention.

Claims (20)

CN202011303468.XA2020-11-192020-11-19 Power supply device, power supply method and power supply systemActiveCN114520524B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011303468.XACN114520524B (en)2020-11-192020-11-19 Power supply device, power supply method and power supply system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011303468.XACN114520524B (en)2020-11-192020-11-19 Power supply device, power supply method and power supply system

Publications (2)

Publication NumberPublication Date
CN114520524Atrue CN114520524A (en)2022-05-20
CN114520524B CN114520524B (en)2025-05-13

Family

ID=81595074

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011303468.XAActiveCN114520524B (en)2020-11-192020-11-19 Power supply device, power supply method and power supply system

Country Status (1)

CountryLink
CN (1)CN114520524B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113036859A (en)*2021-03-152021-06-25Oppo广东移动通信有限公司Power supply device, power supply method, and power supply system

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
DE102010043582A1 (en)*2010-11-082012-05-10Hilti Aktiengesellschaft Mobile electrical device with charge level indicator and accumulator for this
CN104020422A (en)*2014-06-242014-09-03上海大学UPS (Uninterrupted Power Supply) storage battery detection device
US20160344227A1 (en)*2014-01-282016-11-24Guangdong Oppo Mobile Telecommunications Corp., Ltd.Terminal and battery charging control device and method therefor
CN107710550A (en)*2016-02-052018-02-16广东欧珀移动通信有限公司For the charging system of terminal, charging method and power supply adaptor
CN109687545A (en)*2018-12-062019-04-26Oppo广东移动通信有限公司Charging control method and device, computer storage medium and mobile power supply
CN111201689A (en)*2017-12-112020-05-26深圳市柔宇科技有限公司Electronic equipment and charging control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
DE102010043582A1 (en)*2010-11-082012-05-10Hilti Aktiengesellschaft Mobile electrical device with charge level indicator and accumulator for this
US20160344227A1 (en)*2014-01-282016-11-24Guangdong Oppo Mobile Telecommunications Corp., Ltd.Terminal and battery charging control device and method therefor
CN104020422A (en)*2014-06-242014-09-03上海大学UPS (Uninterrupted Power Supply) storage battery detection device
CN107710550A (en)*2016-02-052018-02-16广东欧珀移动通信有限公司For the charging system of terminal, charging method and power supply adaptor
CN111201689A (en)*2017-12-112020-05-26深圳市柔宇科技有限公司Electronic equipment and charging control method
CN109687545A (en)*2018-12-062019-04-26Oppo广东移动通信有限公司Charging control method and device, computer storage medium and mobile power supply

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113036859A (en)*2021-03-152021-06-25Oppo广东移动通信有限公司Power supply device, power supply method, and power supply system
CN113036859B (en)*2021-03-152024-07-16Oppo广东移动通信有限公司Power supply device, power supply method, and power supply system

Also Published As

Publication numberPublication date
CN114520524B (en)2025-05-13

Similar Documents

PublicationPublication DateTitle
US8788852B2 (en)System and method for providing power through a reverse local data transfer connection
EP3098931B1 (en)Charging circuit and terminal
WO2014075498A1 (en)Charging management method, device and system
US20160336779A1 (en)Charging Method, Alternating Current Adaptor, Charging Management Device and Terminal
JP6440986B2 (en) Power supply apparatus, controller thereof, control method, and electronic apparatus using the same
US20170005495A1 (en)Method and apparatus for charging electronic device with usb connection
US20120198250A1 (en)Portable terminal equipment, a power supply system, and a power supply method and a power supply program for portable terminal equipment
WO2017088138A1 (en)Charging device for mobile terminal
CN101415043A (en)Mobile terminal aware of externally connected device and control method for the same
CN108964182A (en)The adjusting method and device of reverse charging equipment, reverse charging electric current
US20180278082A1 (en)Electronic device and charging method thereof
CN109254210B (en)Electronic equipment port type detection method and device, detection circuit and electronic equipment
US20150349561A1 (en)Charging an electrical device via a data interface
EP3518371B1 (en)Wireless charging device, system and method on the basis of back cover-type mobile power supply
US20080012524A1 (en)Chargeable electronic devices and direct current voltage supply systems
CN215181883U (en) Switching power supply system and its power transmission protocol chip
CN106329618A (en)Charger USB charging control circuit and terminal USB charging control circuit
CN103855781B (en)Charger and electronic installation
CN103138321B (en)Charger of integration network interface converting device
US7654861B2 (en)Connector and method thereof
CN114256897A (en) Power supply device, power supply method, and power supply system
CN114520524A (en)Power supply device, power supply method, and power supply system
CN109522258A (en)USB interface, electronic equipment, USB interface-based programming system and its method
CN101286648A (en) Battery charging device, its control method, and battery charging control device
CN113113948B (en) Power supply device, power supply method and power supply system

Legal Events

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

[8]ページ先頭

©2009-2025 Movatter.jp