Movatterモバイル変換


[0]ホーム

URL:


CN114520524B - 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
CN114520524B
CN114520524BCN202011303468.XACN202011303468ACN114520524BCN 114520524 BCN114520524 BCN 114520524BCN 202011303468 ACN202011303468 ACN 202011303468ACN 114520524 BCN114520524 BCN 114520524B
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.)
Active
Application number
CN202011303468.XA
Other languages
Chinese (zh)
Other versions
CN114520524A (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

Classifications

Landscapes

Abstract

Translated fromChinese

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

The present disclosure relates to the field of charging technology, and specifically 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, a charging controller, a protocol module integrated in the charging controller and a protection module. 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 so that the adapter can adjust the output signal according to the attribute information, and feed 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 protocol module, and is used to respond to the closing control signal and transmit the output signal to the battery.

Description

Power supply device, power supply method, and power supply system
Technical Field
The present application relates to the field of charging technologies, and in particular, to a power supply device, a power supply method, and a power supply system.
Background
With the widespread use of portable electronic devices such as notebook computers and cellular phones, it is important to use a technique of conveniently and rapidly charging a battery, which is called a power system, for the portable electronic devices.
The power supply device in the prior art needs an independent MCU (Microcontroller Unit, micro control unit) processor, has higher cost and larger occupied area.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The application aims to provide a power supply device and a power supply method, thereby overcoming the defects that the power supply device in the prior art needs an independent MCU processor, and has higher cost, higher cost and larger occupied area.
According to a first aspect of the present disclosure, there is provided a power supply apparatus based on a device to be charged, the device to be charged being connected with an external adapter, the power supply apparatus comprising:
A processor that receives attribute information of the battery;
a charge controller connected to the processor, the adapter, and the battery;
the protocol module is integrated in the charge controller, connected with the processor and the adapter, and used for transmitting the attribute information to the adapter according to a preset protocol so that the adapter can adjust an output signal according to the attribute information and feed back a transmission completion signal of the attribute information to the processor so that the processor controls the charge controller to generate a closed control signal according to the transmission completion signal;
According to a second aspect of the present application, there is provided a power supply method comprising:
Receiving, by a processor, attribute information of a battery;
Transmitting the attribute information to an adapter according to a preset protocol through integrating a protocol module, so that the adapter can adjust an output signal according to the attribute information, and feeding back a transmission completion signal of the attribute information to a processor, so that the processor controls a charging controller to generate a closed control signal according to the transmission completion signal;
and transmitting the output signal to the battery through a protection module in response to the closing control signal.
According to a third aspect of the present application, there is provided a power supply system including a device to be charged and an adapter connected to each other, wherein the device to be charged includes a processor, a charge controller, and a protection module;
Wherein,
The processor receives attribute information of the battery;
The charging controller is connected with the processor, the adapter and the battery;
The protocol module is integrated in the charge controller, connected with the processor and the adapter, and used for transmitting the attribute information to the adapter according to a preset protocol so that the adapter can adjust an output signal according to the attribute information and feed back a transmission completion signal of the attribute information to the processor so that the processor controls the charge controller to generate a closed control signal according to the transmission completion signal;
The protection module is connected with the adapter, the battery and the charging controller and is used for responding to the closing control signal and transmitting the output signal to the battery. .
The power supply device, the power supply method and the power supply system provided by the embodiment of the application are characterized in that the processor receives the attribute information of the battery and transmits the attribute information to the adapter through the protocol module integrated with the charging controller, the adapter adjusts the output signal of the adapter according to the attribute information 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 closed control signal according to the transmission completion signal, and the protection module is connected with the adapter, the battery and the charging controller and is used for responding to the closed control signal and transmitting the output signal to the battery. Compared with the prior art, the method has the advantages that an independent MCU is not needed to complete data processing, only a protocol module is integrated on one side of the charging point controller to complete communication, the data processing process is executed by a processor in the equipment to be charged, the complexity of the power supply device is simplified, 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 restrictive of the application as claimed.
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. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort. In the drawings:
Fig. 1 shows a schematic diagram of a power supply apparatus in the related art;
Fig. 2 schematically illustrates a schematic view of a power supply apparatus in an exemplary embodiment of the present application;
FIG. 3 schematically illustrates a schematic diagram of a power supply apparatus for refining a processor in an exemplary embodiment of the application;
FIG. 4 is a schematic diagram of an overall power supply device according to an exemplary embodiment of the present application;
FIG. 5 schematically illustrates 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;
FIG. 6 schematically illustrates a schematic view of a power supply apparatus in which an adapter is refined in an exemplary embodiment of the application;
FIG. 7 schematically illustrates a specific structural view of an adapter in an exemplary embodiment of the present application;
FIG. 8 schematically illustrates a flowchart of a power supply method in an exemplary embodiment of the application;
FIG. 9 schematically illustrates a flow chart of transmitting the attribute information to the adapter according to a preset protocol in an exemplary embodiment of the application;
Fig. 10 schematically shows a flow chart of the protection module of the present application in response to a shutdown control signal.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein, but rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the exemplary 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 a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not 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.
In the related art, referring to fig. 1, the related art power supply apparatus detects the state of the battery 160 through the independent MCU130 and the data acquisition module 150 and communicates with the processor 140, that is, detects the attribute information of the battery 160, communicates with the adapter 110 according to the state of the battery 160, adjusts the output voltage and output current of the adapter 110, controls the charge pump 121 to start the switching transistor so that the transistor is turned on, and charges the battery 160, which is simultaneously performed by the independent MCU130 and the processor 140 in the device to be charged when detecting the attribute information of the battery 160. Meanwhile, a charge controller 120 is configured, the charge controller is connected with a processor 140 through a PMIC (Power MANAGEMENT INTEGRATED Circuit) 170, the adapter 110 is connected with the processor through a universal asynchronous receiving and transmitting transmission line, a USB switch is used to control switching of the line, and a charge type judging module 124 is arranged in the charge controller 120 to determine whether a signal flow direction of an output signal of the adapter 110 needs to be started.
The power supply device in the related art adopts the independent MCU processor 140, which has high cost, needs separate firmware maintenance, and has high cost and large occupied area.
In view of the above-mentioned drawbacks, the present application first provides a power supply apparatus capable of solving one or more of the above-mentioned problems to some extent, referring to fig. 2, the power supply apparatus is based on a device to be charged, which is connected to an external adapter 110, and the power supply apparatus may include a processor 140, a charge controller 120, a protocol module 122 integrated with the charge controller 120, and a protection module 180. The processor 140 receives attribute information of the battery 160, the charge controller 120 is connected to the processor 140, the adapter 110 and the battery 160, the protocol module 122 is integrated with the charge controller 120 and connected to the processor 140 and the adapter 110, and is used for transmitting the attribute information to the adapter 110 according to a preset protocol so that the adapter 110 can adjust an output signal according to the attribute information and feed back a transmission completion signal of the attribute information to the processor 140, so that the processor 140 controls the charge controller 120 to generate a closing control signal according to the transmission completion signal, and the protection module 180 is connected to the adapter 110, the battery 160 and the protocol module 122, and is used for responding to the closing control signal and transmitting the output signal to the battery 160.
Compared with the prior art, the data processing is completed without adopting an independent MCU, and only the communication is completed by integrating the protocol module 122 on one side of the charging point controller 112, and the data processing process is executed by the processor 140 in the equipment to be charged, so that the complexity of the power supply device is simplified, the cost is reduced, and the occupied area of the power supply device is reduced.
In an example embodiment of the application, referring to fig. 3, the processor 140 is integrated into a device to be charged, which may be a portable electronic device such as a notebook computer, a mobile phone, a Personal Digital Assistant (PDA), etc. The processor 140 may include an analog-to-digital conversion module 142 and a protocol processing module 141, where the analog-to-digital conversion module 142 is configured to perform analog-to-digital conversion on the received attribute information, and the protocol processing module 141 is configured to receive a communication signal of the protocol module 122 and transmit the attribute information to the adapter 110 according to a preset protocol.
In an example embodiment of the present disclosure, the power supply apparatus may further include a data acquisition module, and the data acquisition module 150 is integrated with the device to be charged, and is configured to acquire attribute information of the battery 160 and transmit the attribute information to the processor 140. The attribute information may include information such as voltage, current, temperature, etc. of the battery 160, the data acquisition module 150 may include an electricity meter, and may further include detection devices such as a temperature sensor, a voltmeter, an ammeter, etc., which are not specifically limited in this example embodiment, and as the number of attribute information to be detected changes, a detection device corresponding to the information in the attribute information may be provided in the data acquisition module 150, for example, when the remaining electric quantity of the battery 160 needs to be detected, a coulombmeter may be added to detect.
In the present exemplary embodiment, the data acquisition module 150 may be connected to the processor 140 through an I2C bus for transmitting the attribute information to the processor 140.
In this example real-time manner, the data acquisition module 150 may acquire the attribute information of the primary battery 160 at every preset time, where the preset time may be 5 ms, 10 ms, etc., or may be customized according to the user requirement, which is not specifically limited in this example embodiment.
In this exemplary embodiment, the processor 140 receives the attribute information collected by the data collection module 150 and performs analog-to-digital conversion on the attribute information by using the analog-to-digital conversion module 142, and the processor 140 may store the attribute information for a preset number of times, where the preset number may 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 may also be 10 times, 15 times, etc., or may be customized according to the user requirement, which is not specifically limited in this exemplary embodiment.
In an exemplary embodiment of the present application, the protocol module 122 is connected to the processor 140 and the adapter 110, and is configured to transmit an attribute signal to the adapter 110 according to a preset protocol, so that the adapter 110 can adjust an output signal according to the attribute information, and simultaneously feed back a transmission completion signal of the attribute information to the processor 140, so that the processor 140 controls the charge controller 120 to generate a closed control signal according to the transmission completion signal, where the protocol module 122 may be implemented by a digital circuit state machine.
In the present exemplary embodiment, the battery 160 is a storage battery 160, which may be recharged using the charging voltage provided by the adapter 110, and the battery 160 may be further formed of at least one battery 160 unit having a specific electronic voltage and capable of outputting a voltage. The battery 160 supplies data information about the battery 160, which may be included in the above-described attribute information, and the data information may include a full charge bit of the battery 160, a full charge capacity of the battery 160, and the like.
In the present exemplary embodiment, referring to fig. 4, the protocol module 122 may be connected to the processor 140 through a data transmission line 420 and an interrupt line 410, and the protocol module 122 may be connected to the adapter 110 through a universal serial bus. Wherein the data transmission line 420 may be an I2C bus, SPI bus (SERIAL PERIPHERAL INTERFACE ), or SPMI bus, not specifically limited in this example embodiment
Specifically, referring to fig. 5, step S510 may be performed first, where the processor 140 sends a handshake signal, when the protocol module 122 receives the handshake signal sent by the processor 140, that is, indicates that the charging interface is already connected to the device to be charged, at this time, step S520 may be performed, where the protocol module 122 may be adjusted to be in an IDLE state (IDLE state) to prepare for DATA transmission, and at the same time, send the handshake signal to the adapter 110, where the adapter 110 receives the handshake signal, and then sends a protocol sending instruction, after the protocol module 122 receives the protocol sending instruction, step S530 may be performed, where the protocol module 122 jumps to a DATA receiving state (recv_data state), and then the adapter 110 sends protocol content, where the protocol content may be DATA that needs to be received, that is, where the DATA that needs to be received includes one or more of the attribute information, and may also be a number of bits that needs to be received, for example, receiving 8 bits of DATA, 9 bits of DATA, and at this time, the protocol module receives the attribute information that includes a received DATA counting function.
After the protocol module 122 receives the protocol contents, step S550 may be performed, the protocol module 122 jumps to a WAIT DATA transmission state (wait_tx_data state) and transmits a DATA acquisition instruction to the processor 140, and the processor 140 transmits attribute information to the protocol module 122 according to the DATA acquisition instruction after receiving the DATA acquisition instruction, where the attribute information includes all attribute information required in the protocol contents, such as a battery 160 current, a battery 160 temperature, etc. After the protocol module 122 receives the attribute information, step S360 may be performed, and the protocol module 122 jumps to a DATA transmission state (send_data state), then transmits the attribute information to the adapter 110, and then jumps to an IDLE state (IDLE state).
In this exemplary embodiment, when the protocol module 122 does not receive the attribute information sent by the processor 140, or when the received attribute information is incomplete, that is, when the data is received in error, step S540 may be performed, and the protocol module 122 is skipped to the off state (DISABLE state), where, when the received attribute information is incomplete, the data to be acquired in the protocol content may include, for example, the voltage, the current, and the temperature of the battery 160, but the received attribute information includes only the voltage and the current of the battery 160, and no temperature information, and 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 attribute information received by the protocol module 122 is not 8-bit data, for example, 6-bit data, 7-bit data, etc., then step S540 may be executed to jump the protocol module 122 to the off state (DISABLE state).
In the present exemplary embodiment, when the protocol module 122 transmits attribute information to the adapter 110, it is detected whether or not a transmission completion signal, i.e., an electric signal is the same level signal for a certain time, for example, a low level signal for 50 milliseconds, a high level signal for 40 milliseconds, or the like, occurs when the attribute information is transmitted. The certain time may be 50 ms, 40 ms, 60 ms, etc., or may be customized according to the user requirement, and the same level signal may be a high level signal or a low level signal, which is not specifically limited in this exemplary embodiment.
When the transmission completion signal is detected to be present, indicating that the data transmission is normal and the data transmission is completed, step S560 may be performed to skip the protocol module 122 to an IDLE state (IDLE state) and wait for the reception of the next round of data. If the transmission completion signal is not received after the data transmission is completed, that is, if the protocol module 122 is still transmitting data after transmitting the data of the corresponding bit number, and it is determined that the transmission attribute information is abnormal, step S540 may be executed to jump the protocol module 122 to the off state (DISABLE state).
In this example embodiment, the protocol module 122 may receive the shutdown signal sent by the processor 140, and directly jump the protocol module 122 to the shutdown state (DISABLE state). When the protocol module 122 is in the off state (DISABLE state), the protocol module 122 may be jumped to the IDLE state (IDLE state) in response to the enable signal sent by the processor 140.
In this exemplary embodiment, if there is no abnormality in the transmission process of the attribute information, that is, the adapter 110 receives the complete attribute information, the protocol module 122 sends an attribute information transmission completion signal to the processor 140, and the processor 140 controls the charge controller 120 to generate a closing control signal, and if the protocol module 122 is in a closed state (DISABLE state), the protocol module 122 generates a transmission failure signal of the attribute information, and the processor 140 generates a shutdown control signal according to the transmission failure signal, and stops charging to prevent the battery 160 from being damaged due to the excessive output voltage of the adapter 110.
In this exemplary embodiment, referring to fig. 4, the charging controller 120 is also integrated inside the device to be charged, where the device to be charged is connected to the adapter 110 through a USB interface, and includes a first USB switch 190 at a USB interface position, where the first USB switch 190 is a branching switch element, and divides a circuit into two paths, and one path is directly connected to the processor 140 through a universal asynchronous receiving/transmitting line 430 (Universal Asynchronous Receiver/Transmitter) for transmitting serial data, for example, downloading a file to the device to be charged, or uploading the file from the device to be charged.
In the present exemplary embodiment, the second path of the first USB switch 190 is connected to the second USB switch 123 disposed inside the charging controller 120, and the second USB switch 123 may be a shunt switch, which is connected to the protocol module 122 and the charging type determining module 124, respectively, and when the charging type determining module 124 determines that the USB interface is connected to the adapter 110, the second USB switch 123 is connected to the protocol module 122, so as to complete the communication between the adapter 110 and the processor 140.
In this example embodiment, the charge controller 120 may be configured to convert an output signal of the adapter 110 into a preset input signal and transmit the battery 160 when the adapter 110 is not matched with the processor 140, that is, when the processor 140 cannot transmit the attribute information to the adapter 110 through the protocol module 122, where the preset input signal may be an electrical signal of 5V or 2A, or may be set according to a difference between the adapter 110 and the battery 160, for example, the preset input signal is set to 5V or 1.5A, which is not specifically limited in this example embodiment.
The charging controller 120 can ensure that the battery 160 can be continuously charged when the processor 140 cannot transmit the attribute information to the adapter 110, and ensure the charging safety.
In this exemplary embodiment, referring to fig. 4, the charging controller 120 may further include a driving signal enabling module configured to receive an instruction of the processor 140 and generate a closing control signal or an opening control signal, where the driving signal generating module may be a charge pump 121, and is configured to control the charge pump 121 to generate the closing and control signals when the processor 140 receives a transmission completion signal of the attribute information, so that the protection module 180 is turned on, and further, the output signal may be transmitted to the battery 160 through the protection module 180. Or for controlling the charge pump 121 to generate the off control signal so that the protection module 180 cannot pass the current to protect the battery 160 when the processor 140 receives the attribute information transmission failure signal.
In the present exemplary embodiment, referring to fig. 4, the protection module 180 may include at least one switching transistor, for example, two, three, etc., which is not particularly limited in the present exemplary embodiment, wherein the switching transistors each have a control terminal, a first terminal, and a second terminal. Specifically, the control terminal of the switching transistor may be a gate, the first terminal may be a source, and the second terminal may be a drain, or the control terminal of the switching transistor may be a gate, the first terminal may be a drain, and the second terminal may be a source. In addition, the switching transistor may be an enhancement type transistor or a depletion type transistor, which is not particularly limited in the present exemplary embodiment.
In the present exemplary embodiment, 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, the first terminal of the first switching transistor is connected to the adapter 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 the battery 160. The switching element may be responsive to a close control signal to control the switching element to turn on and turn off when a turn-off control signal is received.
In the present exemplary embodiment, referring to fig. 6, the adapter 110 is supplied with commercial AC (alternating current) power, converts the commercial AC power into DC (direct current) power of a predetermined voltage level, and supplies the DC power to the battery 160.
The adapter 110 according to one embodiment of the present application may include an AC/DC converter 111 and an adapter controller 112.
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 into a DC power Va of a specific level corresponding to a plurality of voltage levels according to a signal provided by the controller 112 and output the DC power. The DC power output from the AC/DC converter 111 is output to the battery 160.
The controller 112 determines output signals, i.e., output voltage and output current, of the AC/DC converter 111 according to the electronic voltage and attribute information obtained from the protocol module 122.
Referring to fig. 7, the adapter 110 includes a controller 112 and an AC/DC converter 111. Wherein the controller 112 is configured to receive the attribute information of the battery 160 and determine the output signal controller 112. For example, by means of a separate micro control unit (Micro Control Unit, MCU).
The AC/DC converter 111 is connected to the controller 112 for adjusting the output voltage of the adapter 110 according to the control of the controller 112.
In addition, as shown in fig. 7, the adapter 110 may further include a rectifying circuit R1 and a voltage conversion module S1. The rectifier circuit R1 is configured to convert an AC voltage received from AC into a dc voltage, such as a pulsating dc voltage.
In addition, in order to obtain a stable dc voltage (e.g., a constant dc voltage), the adapter 110 may further include a filter circuit F1 connected to the output terminal of the rectifying circuit R1 for filtering the dc voltage output by the rectifying circuit R1.
The present application is not limited to the specific circuit configuration of the rectifier circuit R1, and the rectifier circuit R1 may be, for example, a rectifier bridge that is generally used, or may be another circuit that can realize the function of converting an ac voltage into a dc voltage.
In summary, in the present exemplary embodiment, the data processing is performed by the processor 140 in the device to be charged without using an independent MCU, and only by integrating a protocol module 122 on the side of the less-charging-point controller 112 to complete the communication, thereby simplifying the complexity of the power supply device, reducing the cost and reducing the occupied area of the power supply device.
Further, the present application also provides a power supply method, referring to fig. 8, the power supply method includes the following steps:
step S810, receiving attribute information of a battery through a processor;
Step S820, transmitting the attribute information to an adapter through a protocol module according to a preset protocol so that the adapter can adjust an output signal according to the attribute information, and feeding back a transmission completion signal of the attribute information to a processor so that the processor controls a charging controller to generate a closed control signal according to the transmission completion signal;
in step S830, the protection module responds to the closing control signal to transmit the output signal to the battery.
The specific details of each step in the above method are already described in the device part embodiment, and the details not disclosed can be referred to the embodiment of the device part, so that they will not be described in detail.
In an exemplary embodiment of the present application, referring to fig. 9, transmitting the attribute information to the adaptor according to a preset protocol may include steps S910 to S950, which are specifically as follows:
step S910, receiving a handshake signal sent by a processor, and adjusting a protocol module to an idle state;
Step S920, receiving a protocol sending instruction sent by the adapter, and adjusting the protocol module to be in a data receiving state;
Step S930, when receiving the protocol content sent by the adapter, adjusting the protocol module to a waiting data sending state and sending a data acquisition instruction like the processor
Step S940, receiving attribute information sent by the processor according to the data acquisition instruction, and adjusting the protocol module to be in a data sending state;
Step S950, sending the attribute information to the adapter, and adjusting the protocol module to an idle state.
Specifically, the processor 140 sends a handshake signal, when the protocol module 122 receives the handshake signal sent by the processor 140, that is, indicates that the charging interface is connected to the device to be charged, at this time, the protocol module 122 may be adjusted to be in an IDLE state (IDLE state) to prepare for DATA transmission, and meanwhile, the handshake signal is sent to the adapter 110, the adapter 110 receives the handshake signal, and then sends a protocol sending instruction, after the protocol module 122 receives the protocol sending instruction, the protocol module 122 jumps to a DATA receiving state (recv_data state), and then the adapter 110 sends protocol content, where the protocol content may be DATA to be received, that is, the DATA to be received includes one or more of the attribute information, and the number of bits to be received in the protocol content may also be, for example, receive 8 bits of DATA, 9 bits of DATA, and at this time, the protocol module 122 is capable of counting DATA to be received.
After the protocol module 122 receives the protocol contents, the protocol module 122 jumps to a WAIT DATA transmission state (wait_tx_data state) and transmits a DATA acquisition instruction to the processor 140, and the processor 140 transmits attribute information to the protocol module 122 according to the DATA acquisition instruction after receiving the DATA acquisition instruction, wherein the attribute information includes all attribute information required in the protocol contents, such as a battery 160 current, a battery 160 temperature, and the like. After the protocol module 122 receives the attribute information, the protocol module 122 jumps to a DATA transmission state (send_data state), then transmits the attribute information to the adapter 110, and then jumps to an IDLE state (IDLE state).
In this example embodiment, as shown in fig. 10, the above method further includes steps S1010 to S1020, specifically, if the adapter 110 does not receive the attribute information, a transmission failure signal of the attribute information is fed back to the processor 140, so that the processor 140 controls the charge controller 120 to generate the turn-off control signal according to the transmission completion signal, specifically, may include various cases that, when the protocol module 122 does not receive the attribute information sent by the processor 140, or the received attribute information is incomplete, that is, when the received attribute information is not complete, i.e., when the data is received in error, the protocol module 122 is jumped to a closed state (DISABLE state), where, for example, when the received attribute information is not complete, the data to be acquired in the protocol content includes the voltage, the current, and the temperature of the battery 160, but the received attribute information includes only the voltage and the current of the battery 160, and no temperature information, at this time, it is determined that the received attribute information is not complete. For another example, the data to be received in the protocol content is 8-bit data, but the attribute information received by the protocol module 122 is not 8-bit data, for example, 6-bit data, 7-bit data, etc., and the protocol module 122 is jumped to the off state (DISABLE state).
In the present exemplary embodiment, when the protocol module 122 transmits attribute information to the adapter 110, it is detected whether or not a transmission completion signal, i.e., an electric signal is the same level signal for a certain time, for example, a low level signal for 50 milliseconds, a high level signal for 40 milliseconds, or the like, occurs when the attribute information is transmitted. The certain time may be 50 ms, 40 ms, 60 ms, etc., or may be customized according to the user requirement, and the same level signal may be a high level signal or a low level signal, which is not specifically limited in this exemplary embodiment.
Upon detecting that the transmission completion signal occurs, indicating that the data transmission is normal and the data transmission is completed, the protocol module 122 is transitioned to an IDLE state (IDLE state) and waits for the reception of the next round of data. If the transmission completion signal is not received after the data transmission is completed, that is, if the protocol module 122 is still transmitting data after transmitting the data of the corresponding bit number, it is determined that the transmission attribute information is abnormal at this time, and the protocol module 122 is jumped to the off state (DISABLE state).
In this example embodiment, the protocol module 122 may receive the shutdown signal sent by the processor 140, and directly jump the protocol module 122 to the shutdown state (DISABLE state). When the protocol module 122 is in the off state (DISABLE state), the protocol module 122 may be jumped to the IDLE state (IDLE state) in response to the enable signal sent by the processor 140.
In this exemplary embodiment, the protocol module 122 sends an attribute information transmission completion signal to the processor 140, and the processor 140 controls the charging controller 120 to generate a closing control signal, if the protocol module 122 is in a closed state (DISABLE state), the protocol module 122 generates a transmission failure signal of the attribute information, and the processor 140 generates the closing control signal according to the transmission failure signal, so as to stop charging to prevent the battery 160 from being damaged due to the excessively high output voltage of the adapter 110.
The protection module 180 may respond to the shutdown control signal, so that the protection module 180 stops working and opens circuit, so that the output signal of the adapter 110 cannot be transmitted to the battery 160, to ensure the safety of the battery 160.
The present disclosure also provides a power supply system, in which the power supply device is connected to the external adapter 110 based on a device to be charged, and the power supply device may include a processor 140, a charge controller 120, a protocol module 122 integrated with the charge controller 120, and a protection module 180. The processor 140 receives attribute information of the battery 160, the charge controller 120 is connected to the processor 140, the adapter 110 and the battery 160, the protocol module 122 is integrated with the charge controller 120 and connected to the processor 140 and the adapter 110, and is used for transmitting the attribute information to the adapter 110 according to a preset protocol so that the adapter 110 can adjust an output signal according to the attribute information and feed back a transmission completion signal of the attribute information to the processor 140, so that the processor 140 controls the charge controller 120 to generate a closing control signal according to the transmission completion signal, and the protection module 180 is connected to the adapter 110, the battery 160 and the protocol module 122, and is used for responding to the closing control signal and transmitting the output signal to the battery 160.
Specific details of the processor 140, the adapter 110, the charge controller 120, the protocol module 122, and the protection module 180 in the above system are described in detail in the embodiment of the device portion, and details not disclosed may refer to the embodiment of the device portion, so that they will not be described in detail.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It should be understood that the invention is not limited in its application to the details of construction and the arrangement of components set forth in the specification. The invention is capable of other embodiments and of being practiced and carried out in various ways. The foregoing variations and modifications are intended to fall within the scope of the present invention. It should be understood that the invention as applied and defined in this specification extends to all alternative combinations of two or more of the individual features mentioned or evident from 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 those skilled in the art to make and use 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
CN114520524A CN114520524A (en)2022-05-20
CN114520524Btrue 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)

Families Citing this family (1)

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

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111201689A (en)*2017-12-112020-05-26深圳市柔宇科技有限公司Electronic equipment and charging control method

Family Cites Families (5)

* 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
CN106253427B (en)*2014-01-282018-05-29广东欧珀移动通信有限公司Terminal and its battery charging control device and method
CN104020422A (en)*2014-06-242014-09-03上海大学UPS (Uninterrupted Power Supply) storage battery detection device
MY181704A (en)*2016-02-052021-01-04Guangdong Oppo Mobile Telecommunications Corp LtdCharge method, adapter and mobile terminal
CN113852152B (en)*2018-12-062024-02-13Oppo广东移动通信有限公司 Charging control method, device, computer storage medium and mobile device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111201689A (en)*2017-12-112020-05-26深圳市柔宇科技有限公司Electronic equipment and charging control method

Also Published As

Publication numberPublication date
CN114520524A (en)2022-05-20

Similar Documents

PublicationPublication DateTitle
CN104756350B (en)High voltage dedicated charging port
CN104756352B (en) High voltage dedicated charging port
US6191498B1 (en)Power-supplying device for generating different voltage outputs
JP5388484B2 (en) Apparatus and method for detecting power supply
US8248035B2 (en)Voltage converting apparatus
EP3086433A1 (en)Charging method, alternating current adaptor, charging management device and terminal
US20130190059A1 (en)Adapters, terminal devices, usb connection devices and charging stations
CN108347089B (en) Power transfer controller, power transfer system and power transfer method
US8324866B2 (en)Charging system, processor and feeder
US20080174277A1 (en)Charging apparatus
US20120198250A1 (en)Portable terminal equipment, a power supply system, and a power supply method and a power supply program for portable terminal equipment
CN106911157B (en)Quick charging line, quick charging system and quick charging method
US20150349561A1 (en)Charging an electrical device via a data interface
TWI559125B (en)Power bank apparatus and power control method thereof
CN105634143B (en)Wireless power supply and receiving device and operation method thereof
EP3518371B1 (en)Wireless charging device, system and method on the basis of back cover-type mobile power supply
CN114520524B (en) Power supply device, power supply method and power supply system
CN102231769A (en)Method for turning on mobile phone with over-discharged cell and mobile phone
US20170063105A1 (en)Charging method, charging controller and charging system
CN114256897A (en) Power supply device, power supply method, and power supply system
CN105226754A (en)Battery charge/discharge control circuit and control method thereof
CN109861038B (en)USB connection port capable of automatically switching connection mode and control method thereof
CN113113948B (en) Power supply device, power supply method and power supply system
JP2001202163A (en)Portable electronics
US20060209578A1 (en)Power circuit

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