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
CN114520524A CN202011303468.XA CN202011303468A CN114520524A CN 114520524 A CN114520524 A CN 114520524A CN 202011303468 A CN202011303468 A CN 202011303468A CN 114520524 A CN114520524 A CN 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.)
Pending
Application number
CN202011303468.XA
Other languages
Chinese (zh)
Inventor
李雪
张俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011303468.XA priority Critical patent/CN114520524A/en
Publication of CN114520524A publication Critical patent/CN114520524A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present disclosure relates to the field of charging technologies, and in particular, to a power supply apparatus, a power supply method, and a power supply system, where the power supply apparatus 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 charge controller, a protocol module integrated with the 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 charging 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 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 for responding to the closing control signal and transmitting 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
As portable electronic devices such as notebook computers and mobile phones are widely used, the portable electronic devices adopt batteries as power systems, and how to conveniently and rapidly charge the batteries becomes important.
In the prior art, a power supply device needs an independent MCU (micro controller Unit) processor, which is high in cost and large in occupied area.
It is to 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 thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present application aims to provide a power supply device and a power supply method, so as to overcome the problem that the power supply device in the prior art needs an independent MCU processor, which is high in cost, and large in occupied area.
According to a first aspect of the present disclosure, a power supply apparatus is provided, the power supply apparatus is based on a device to be charged, the device to be charged is connected with an external adapter; the power supply device includes:
a processor receiving attribute information of the battery;
a charge controller connected to the processor, the adapter, and the battery;
the protocol module is integrated with the charging controller, is 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 adjust an output signal according to the attribute information 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, there is provided a power supply method including:
receiving, by a processor, attribute information of a battery;
transmitting the attribute information to an adapter according to a preset protocol through 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 closing control signal according to the transmission completion signal;
transmitting, by a protection module, the output signal to the battery in response to the close 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 content of the first and second substances,
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 with the charging 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 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;
the protection module is connected to the adapter, the battery and the charging controller, and is configured to respond to the closing control signal and transmit the output signal to the battery. .
According to the power supply device, the power supply method and the power supply system provided by the embodiment of the application, the processor receives attribute information of the battery and transmits the attribute information to the adapter through the protocol module integrated in the charging controller, the adapter adjusts an output signal of the adapter according to the attribute information 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, and the protection module is connected to the adapter, the battery and the charging controller and used for responding to the closing control signal and transmitting the output signal to the battery. Compared with the prior art, the data processing is completed without adopting an independent MCU (microprogrammed control unit), only a protocol module is integrated on one side of the charging point controller to complete communication, and the data processing process is executed by a processor 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.
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.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
fig. 1 is a schematic diagram showing a power supply apparatus in the related art;
FIG. 2 schematically illustrates a schematic diagram of a power supply apparatus in an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of a power supply apparatus after thinning a processor in an exemplary embodiment of the present application;
FIG. 4 is a schematic view of an overall detailed power supply apparatus 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 the exemplary embodiment of the present application;
FIG. 6 is a schematic diagram of a power supply apparatus in an exemplary embodiment of the present application after refining an adapter;
FIG. 7 schematically illustrates a detailed structural diagram of an adapter in an exemplary embodiment of the present application;
FIG. 8 schematically illustrates a flow chart of a method of providing power in an exemplary embodiment of the present application;
fig. 9 schematically illustrates a flowchart of transmitting the attribute information to the adapter according to a preset protocol in an exemplary embodiment of the present application;
fig. 10 schematically illustrates 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. Example embodiments may, however, be embodied in many different 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 repetitive description 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 the form of 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 power supply apparatus in the related art 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 the output current of the adapter 110, controls the charge pump 121 to start the switching transistor, so that the transistor is turned on to charge the battery 160, and is simultaneously completed 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 charging controller 120 is configured, the charging controller is connected to the processor 140 through a PMIC (Power Management Integrated Circuit) 170, the adapter 110 is connected to the processor through a universal asynchronous receiver/transmitter transmission line, a USB switch is used to control the switching of the lines, and a charging type determining module 124 is disposed in the charging controller 120 to determine whether the signal flow of the output signal of the adapter 110 needs to be started.
The power supply device in the related art has a high cost, needs separate firmware maintenance, and occupies a large area due to the independent MCU 140.
In view of the above disadvantages, the present application provides a power supply apparatus capable of solving one or more of the above problems to a certain extent, which is based on a device to be charged, and is connected to an external adapter 110, as shown in fig. 2; 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. Wherein 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 in the charging controller 120, connected to the processor 140 and the adapter 110, and configured to transmit the attribute information to the adapter 110 according to a preset protocol, so that the adapter 110 can adjust the 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 charging controller 120 to generate a closing control signal according to the transmission completion signal; the protection module 180 is coupled to the adapter 110, the battery 160, and the protocol module 122 for transmitting an output signal to the battery 160 in response to the close control signal.
Compared with the prior art, the data processing is completed without adopting an independent MCU (microprogrammed control unit), only a protocol module 122 is integrated on one side of the charging point controller 112 to complete the communication, 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 laptop, a mobile phone, and a Personal Digital Assistant (PDA). The processor 140 may include an analog-to-digital conversion module 142 and a protocol processing module 141, wherein 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 the 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 device 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 the 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, and temperature of the battery 160, the data acquisition module 150 may include a fuel gauge, and may further include a detection device such as a temperature sensor, a voltage meter, and an ammeter, which are not specifically limited in this exemplary embodiment, along with a change in the amount of the attribute information that needs to be detected, a detection device corresponding to information in the attribute information may be set in the data acquisition module 150, for example, when the remaining power of the battery 160 needs to be detected, one coulometer may be added to detect the remaining power.
In the present exemplary embodiment, the data acquisition module 150 may be connected to the processor 140 through an I2C bus, so as to transmit the attribute information to the processor 140.
In the real-time manner of this example, the data acquisition module 150 may acquire the attribute information of the battery 160 once every other preset time, where the preset time may be 5 milliseconds, 10 milliseconds, and the like, and may also be customized according to a user requirement, and is not specifically limited in this example embodiment.
In this exemplary embodiment, the processor 140 performs analog-to-digital conversion on the attribute information by using the analog-to-digital conversion module 142 after receiving the attribute information acquired by the data acquisition module 150, 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 acquired for the sixth time, the attribute information acquired for the first time is released, and the preset number may also be 10 times, 15 times, and the like, and may also be customized according to a user requirement, which is not specifically limited in this exemplary embodiment.
In an example embodiment of the present application, the protocol module 122 is connected to the processor 140 and the adapter 110, and 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 charging controller 120 to generate a closing 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 secondary battery 160, which can be recharged using the charging voltage provided by the adapter 110, and the battery 160 can also be formed by at least one battery 160 cell 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, as shown in fig. 4, the protocol module 122 may be connected to the processor 140 through a data transmission line 420 and an interrupt line 410; the protocol module 122 may be connected to the adapter 110 via a universal serial bus. The data transmission line 420 may be an I2C bus, an SPI (Serial Peripheral Interface) bus, or an SPMI bus, which is not specifically limited in this exemplary embodiment
Specifically, referring to fig. 5, step S510 may be executed first, the processor 140 sends a handshake signal, when the protocol module 122 receives the handshake signal sent by the processor 140, that is, it indicates that the charging interface is connected to the device to be charged, at this time, step S520 may be executed, the protocol module 122 may be adjusted to an IDLE state (IDLE state) to prepare DATA transmission, and at the same time, 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, step S530 may be executed, 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 above attribute information, and the number of bits of the DATA to be received may also be in the protocol content, for example, 8-bit data, 9-bit data, etc. are received, and the protocol module includes a received data counting function in receiving the attribute information.
After the protocol module 122 receives the protocol content, step S550 may be executed, in which the protocol module 122 jumps to a WAIT for DATA transmission state (WAIT _ TX _ DATA state) and transmits a DATA acquisition instruction to the processor 140; after receiving the data acquisition instruction, the processor 140 sends the attribute information to the protocol module 122 according to the data acquisition instruction, where the attribute information includes all attribute information required in the protocol content, such as the current of the battery 160, the temperature of the battery 160, and the like. After the protocol module 122 receives the attribute information, step S360 may be performed, in which 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 the present exemplary embodiment, 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 data reception is in error, step S540 may be executed to jump the protocol module 122 to the off state (DISABLE state), where when the received attribute information is incomplete, for example, the data that needs to be acquired in the protocol content may include 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 there is no temperature information, and it is determined that the received attribute information is incomplete at this time. For another example, the data that needs to be received in the protocol content is 8-bit data, but the attribute information received by the protocol module 122 is not enough for 8-bit data, such as 6-bit data, 7-bit data, etc., 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 the attribute information to the adapter 110, it is detected whether a transmission completion signal, that is, an electrical 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, has occurred when the attribute information is transmitted. The certain time may be 50 milliseconds, 40 milliseconds, 60 milliseconds, or the like, or may be customized according to user requirements, 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 occurrence of the transmission completion signal is detected, indicating that the data transmission is normal and the data transmission is completed, step S560 may be executed to transfer the protocol 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, the protocol module 122 is still transmitting data after the data with the corresponding bit number is transmitted, and it is determined that the transmission attribute information is abnormal at this time, 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 a shutdown signal sent by the processor 140, and directly jump the protocol module 122 to a shutdown state (DISABLE state). While the protocol module 122 is in the off state (IDLE state), the protocol module 122 may be transitioned to the IDLE state (IDLE state) in response to an enable signal sent by the processor 140.
In the present exemplary embodiment, if there is no abnormality in the transmission process of the attribute information, that is, the adapter 110 receives complete attribute information, 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, and if the protocol module 122 is in a closing state (disabled state), the protocol module 122 generates a transmission failure signal of the attribute information, and the processor 140 generates a closing control signal according to the transmission failure signal, and stops charging to prevent the battery 160 from being damaged by an excessively high output voltage of the adapter 110.
In the present exemplary embodiment, referring to fig. 4, the charging controller 120 is also integrated inside the device to be charged, the device to be charged is connected to the adapter 110 through a USB interface, and includes a first USB switch 190 at the USB interface, wherein the first USB switch 190 is a shunt switch element, and the line is divided into two paths, one of the two paths is directly connected to the processor 140 through a Universal Asynchronous Receiver/Transmitter (Universal Asynchronous Receiver/Transmitter) 430, for transmitting serial data, for example, downloading a file to the device to be charged, or uploading a 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, the second USB switch 123 may also be a shunt switch, and is respectively connected to the protocol module 122 and the charging type determining module 124, 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 the present exemplary embodiment, the charging controller 120 may be configured to convert the output signal of the adapter 110 into a preset input signal and transmit the battery 160 when the adapter 110 is not suitable for 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 and 2A, or may be set according to the difference between the adapter 110 and the battery 160, for example, the preset input signal is set to 5V and 1.5A, which is not limited in the present exemplary embodiment.
The charging controller 120 can ensure that the processor 140 cannot transmit the attribute information to the adapter 110, and can also continue to charge the battery 160, and ensure the charging safety.
In this exemplary embodiment, as shown in fig. 4, the charging controller 120 may further include a driving signal generating module, configured to receive an instruction of the processor 140 and generate a closing control signal or a closing control signal, where the driving signal generating module may be a charge pump 121, and configured to control the charge pump 121 to generate the closing and controlling signal when the processor 140 receives a transmission completion signal of the attribute information; the protection module 180 is turned on, and thus the output signal can be transmitted to the battery 160 through the protection module 180. Or when the processor 140 receives the attribute information transmission failure signal, the processor 140 controls the charge pump 121 to generate an off control signal, so that the protection module 180 cannot pass current to protect the battery 160.
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 are not specifically 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 transistor or a depletion transistor, which is not particularly limited in the present exemplary embodiment.
In the present exemplary embodiment, the switch transistors are connected to the driving signal generating module, when the number of the switch transistors is two, the control terminals of the two switch transistors are both connected to the driving signal generating module, the first terminal of the first switch transistor is connected to the adapter 110, the second terminal of the first switch transistor is connected to the first terminal of the second switch transistor, and the second terminal of the second switch transistor is connected to the battery 160. The switching element may control the switching element to turn on in response to a closing control signal and turn off the switching element upon receiving a turn-off control signal.
In the present exemplary embodiment, as shown with reference 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 described above.
An adapter 110 according to an 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 the output signals, i.e. the output voltage and the output current, of the AC/DC converter 111 from the electronic voltage and the attribute information obtained from the protocol module 122.
Referring to fig. 7, the adaptor 110 includes: a controller 112 and an AC/DC converter 111. Wherein, the controller 112 is used for receiving the attribute information of the battery 160 to determine the output signal controller 112. For example, it can be implemented by a separate microcontrol Unit (MCU).
The AC/DC converter 111 is connected to the controller 112, and adjusts 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. Among them, the rectifier circuit R1 is used to convert an alternating-current voltage received from an AC into a direct-current voltage, such as a pulsating direct-current voltage.
In addition, in order to obtain a stable dc voltage (e.g., a constant dc voltage), the adapter 110 may further include: the filter circuit F1 is connected to the output end of the rectifier circuit R1, and is configured to filter the dc voltage output by the rectifier circuit R1.
The present application is not limited to a specific circuit configuration of the rectifier circuit R1, and the rectifier circuit R1 may be, for example, a commonly used rectifier bridge or another circuit that can achieve the above-described function of converting an ac voltage into a dc voltage.
In summary, in the exemplary embodiment, it is not necessary to use an independent MCU to complete data processing, and only a protocol module 122 is integrated on one side of the low charging point controller 112 to complete communication, and the data processing process is executed by the processor 140 in the device to be charged, so that the complexity of the power supply apparatus is simplified, the cost is reduced, and the occupied area of the power supply apparatus is reduced.
Further, the present application also provides a power supply method, and as shown in fig. 8, the power supply method includes the following steps:
step S810, receiving attribute information of the 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 closing control signal according to the transmission completion signal;
step S830, transmitting the output signal to the battery through a protection module in response to the closing control signal.
The specific details of each step in the above method have been described in detail in the embodiment of the apparatus part, and the details that are not disclosed can be referred to the embodiment of the apparatus part, and thus are not described again.
In an example embodiment 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, which are specifically as follows:
step S910, receiving a handshake signal sent by the processor, and adjusting the protocol module to an idle state;
step S920, receiving a protocol sending instruction sent by the adapter, and adjusting the protocol module to 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 obtaining instruction like the processor
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;
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, and when the protocol module 122 receives the handshake signal sent by the processor 140, i.e., indicating that the charging interface has been connected to the device to be charged, at this point, the protocol module 122 may be adjusted to an IDLE state (IDLE state) in preparation for data transfer, meanwhile, the handshake signal is sent to the adapter 110, and the adapter 110 receives the handshake signal and then sends a protocol sending instruction, after the protocol module 122 receives the protocol send command, the protocol module 122 jumps to the DATA receive state (RECV _ DATA state), the adapter 110 then sends the protocol content, which may be the data that needs to be received, i.e. the data to be received includes one or more of the above attribute information, the number of bits of the data to be received may also be in the protocol content, for example, 8-bit data, 9-bit data, etc. are received, and the protocol module 122 includes a received data counting function in the received attribute information.
After the protocol module 122 receives the protocol content, the protocol module 122 jumps to a WAIT for DATA transmission state (WAIT _ TX _ DATA state) and transmits a DATA acquisition instruction to the processor 140; after receiving the data acquisition instruction, the processor 140 sends the attribute information to the protocol module 122 according to the data acquisition instruction, where the attribute information includes all attribute information required in the protocol content, such as the current of the battery 160, the temperature of the battery 160, 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 exemplary embodiment, referring to fig. 10, the method further includes steps S1010 to S1020, and specifically, if the adapter 110 does not receive the attribute information, feeding back a transmission failure signal of the attribute information to the processor 140 so that the processor 140 controls the charge controller 120 to generate a shutdown control signal according to the transmission completion signal, where the following situations may be specifically included, where 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 data reception is wrong, the protocol module 122 jumps to a shutdown state (DISABLE state), where when the received attribute information is incomplete, for example, data that needs to be obtained in the protocol content includes voltage, current, and temperature of the battery 160, but the received attribute information includes only voltage and current of the battery 160, if there is no temperature information, it is determined that the received attribute information is incomplete. For another example, the data that needs to be received in the protocol content is 8-bit data, but the attribute information received by the protocol module 122 is not enough 8-bit data, for example, 6-bit data, 7-bit data, and the protocol module 122 jumps to the off state (DISABLE state).
In the present exemplary embodiment, when the protocol module 122 transmits the attribute information to the adapter 110, it is detected whether a transmission completion signal, that is, an electrical 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, has occurred when the attribute information is transmitted. The certain time may be 50 milliseconds, 40 milliseconds, 60 milliseconds, or the like, or may be customized according to user requirements, 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 sending completion signal is detected to be present, indicating that the data sending is normal and the data sending is completed, the protocol module 122 is turned to an IDLE state (IDLE state) to wait for the next round of data receiving. If the transmission completion signal is not received after the data transmission is completed, that is, after the data of the corresponding bit number is transmitted, the protocol module 122 is still transmitting the data, and it is determined that the transmission attribute information is abnormal at this time, the protocol module 122 is transitioned to the closed state (DISABLE state).
In this example embodiment, the protocol module 122 may receive a shutdown signal sent by the processor 140, and directly jump the protocol module 122 to a shutdown state (DISABLE state). While the protocol module 122 is in the off state (IDLE state), the protocol module 122 may be transitioned to the IDLE state (IDLE state) in response to an enable signal sent by the processor 140.
In the present 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 closing state (DISABLE state), the protocol module 122 generates a transmission failure signal of the attribute information, and the processor 140 generates a closing control signal according to the transmission failure signal, and stops charging to prevent the battery 160 from being damaged by an excessively high output voltage of the adapter 110.
The protection module 180 may respond to the shutdown control signal to stop the operation of the protection module 180 and to generate an open circuit, so that the output signal of the adapter 110 cannot be transmitted to the battery 160, thereby ensuring the safety of the battery 160.
The present disclosure also provides a power supply system, wherein the power supply device is based on a device to be charged, and the device to be charged is connected with the external adapter 110; 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. Wherein 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 in the charging controller 120, connected to the processor 140 and the adapter 110, and configured to transmit the attribute information to the adapter 110 according to a preset protocol, so that the adapter 110 can adjust the 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 charging controller 120 to generate a closing control signal according to the transmission completion signal; the protection module 180 is coupled to the adapter 110, the battery 160, and the protocol module 122 for transmitting an output signal to the battery 160 in response to the close control signal.
The details of the processor 140, the adapter 110, the charging controller 120, the protocol module 122, and the protection module 180 in the above system are described in detail in the embodiment of the apparatus part, and details that are not disclosed may refer to the embodiment of the apparatus part, and thus are not described again.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention 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 invention 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 is to 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 description. The invention is capable of other embodiments and of being practiced and carried out in various ways. The foregoing variations and modifications fall within the scope of the present invention. It will be understood that the invention as claimed 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 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 utilize the invention.

Claims (20)

1. A power supply device is based on a device to be charged, and the device to be charged is connected with an external adapter; the power supply device includes:
a processor receiving attribute information of the battery;
a charge controller connected to the processor, the adapter, and the battery;
the protocol module is integrated with the charging 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 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;
and the protection module is connected with the adapter, the battery and the charging controller and used for responding to the closing control signal and transmitting the output signal to the battery.
2. The apparatus of claim 1, wherein the output signal of the adapter is adjusted by the charge controller to a preset input signal for transmission to the battery when the adapter is not compatible with the processor.
3. The apparatus of claim 1, wherein the power supply further comprises:
and the data acquisition module is connected to the processor and used for acquiring the attribute information and transmitting the attribute information to the processor.
4. The apparatus of claim 1, wherein the processor comprises:
the analog-to-digital conversion module is used for performing analog-to-digital conversion on the attribute information;
and the protocol processing module is used for receiving the communication signal of the protocol module and transmitting the attribute information to the adapter according to the preset protocol.
5. The apparatus of claim 1, wherein the attribute information comprises a handshake signal, and wherein the protocol module is further configured to:
receiving a handshake signal sent by the processor, and adjusting the protocol module to be in an idle state;
receiving a protocol sending instruction sent by an adapter, and adjusting the protocol module to a data receiving state;
when protocol content sent by the adapter is received, the protocol module is adjusted to be in a data sending waiting state, and a data acquisition instruction is sent like the processor;
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;
and sending the attribute information to the adapter, and adjusting the protocol module to be in an idle state.
6. The apparatus according to claim 1, wherein the protocol module feeds back a transmission failure signal of the attribute information to a processor when the adapter does not receive the attribute information, so that the processor controls the charging controller to generate a shutdown control signal according to the transmission completion signal;
the protection module is turned off in response to the turn-off control signal.
7. The apparatus of claim 6, wherein the charge controller further comprises:
a charge pump for generating a close control signal and a close control signal;
the protection module includes at least one switching transistor for transmitting the output signal to the battery in response to the close control signal or for turning off in response to the turn-off control signal.
8. The apparatus of claim 1, wherein the protocol entity comprises a digital circuit state machine.
9. The apparatus of claim 1, wherein the attribute information comprises a handshaking signal, a voltage, a current, and a temperature of the battery.
10. 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 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 closing control signal according to the transmission completion signal;
transmitting, by a protection module, the output signal to the battery in response to the close control signal.
11. The method of claim 10, further comprising:
and acquiring the attribute information through a data acquisition module and transmitting the attribute information to the processor.
12. The method of claim 10, wherein transmitting the attribute information to an adapter according to a predetermined protocol comprises:
receiving a handshake signal sent by the processor, and adjusting the protocol module to be in an idle state;
receiving a protocol sending instruction sent by an adapter, and adjusting the protocol module to a data receiving state;
when protocol content sent by the adapter is received, the protocol module is adjusted to be in a data sending waiting state, and a data acquisition instruction is sent like the processor;
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;
and sending the attribute information to the adapter, and adjusting the protocol module to be in an idle state.
13. The method of claim 10, further comprising:
if the adapter does not receive the attribute information, feeding back a transmission failure signal of the attribute information to a processor so that the processor controls the charging controller to generate a turn-off control signal according to the transmission completion signal;
the protection module is turned off in response to the turn-off control signal.
14. The method of claim 10, wherein converting the output signal to an input signal matched to the battery and transmitted to the battery in response to the close control signal comprises:
and responding to the conduction of a closing control signal, converting an output voltage in the output signal into an input signal comprising an input voltage matched with the battery and transmitting the input signal to the battery.
15. The power supply system is characterized by comprising a device to be charged and an adapter which are connected with each other, wherein the device to be charged comprises a processor, a charging controller and a protection module;
wherein, the first and the second end of the pipe are connected with each other,
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 with the charging 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 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;
the protection module is connected to the adapter, the battery and the charging controller, and is configured to respond to the closing control signal and transmit the output signal to the battery.
16. The system of claim 15, wherein the output signal eovayi of the adapter is transmitted to the battery by the charge controller as a preset input signal when the adapter is not compatible with the processor.
17. The system of claim 15, wherein the power supply further comprises:
and the data acquisition module is connected to the processor and used for acquiring the attribute information and transmitting the attribute information to the processor.
18. The system of claim 15, wherein the processor comprises:
the analog-to-digital conversion module is used for performing analog-to-digital conversion on the attribute information;
and the protocol processing module is used for receiving the communication signal of the protocol module and transmitting the attribute information to the adapter according to the preset protocol.
19. The system of claim 15, wherein the attribute information comprises a handshake signal, and wherein the protocol module is further configured to:
receiving a handshake signal sent by the processor, and adjusting the protocol module to be in an idle state;
receiving a protocol sending instruction sent by an adapter, and adjusting the protocol module to a data receiving state;
when protocol content sent by the adapter is received, the protocol module is adjusted to be in a data sending waiting state, and a data acquisition instruction is sent like the processor;
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;
and sending the attribute information to the adapter, and adjusting the protocol module to be in an idle state.
20. The system according to claim 15, wherein the protocol module feeds back a transmission failure signal of the attribute information to a processor when the adapter does not receive the attribute information, so that the processor controls the charging controller to generate a shutdown control signal according to the transmission completion signal;
the protection module is turned off in response to the turn-off control signal.
CN202011303468.XA 2020-11-19 2020-11-19 Power supply device, power supply method, and power supply system Pending CN114520524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011303468.XA CN114520524A (en) 2020-11-19 2020-11-19 Power supply device, power supply method, and power supply system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011303468.XA CN114520524A (en) 2020-11-19 2020-11-19 Power supply device, power supply method, and power supply system

Publications (1)

Publication Number Publication Date
CN114520524A true CN114520524A (en) 2022-05-20

Family

ID=81595074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011303468.XA Pending CN114520524A (en) 2020-11-19 2020-11-19 Power supply device, power supply method, and power supply system

Country Status (1)

Country Link
CN (1) CN114520524A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113036859A (en) * 2021-03-15 2021-06-25 Oppo广东移动通信有限公司 Power supply device, power supply method, and power supply system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113036859A (en) * 2021-03-15 2021-06-25 Oppo广东移动通信有限公司 Power supply device, power supply method, and power supply system

Similar Documents

Publication Publication Date Title
US9859740B2 (en) Adapter, portable electronic device and charge control method thereof
US6888338B1 (en) Portable computer and docking station having charging circuits with remote power sensing capabilities
CN101449447B (en) Method and apparatus for balancing energy between portable devices
US8745301B2 (en) High voltage dedicated charging port
US9560217B2 (en) Adapters, terminal devices, USB connection devices and charging stations
KR101592840B1 (en) High voltage dedicated charging port
EP3197008B1 (en) Charging device for mobile terminal
US20180254648A1 (en) Applying Alternate Modes of USB Type-C for Fast Charging Systems
US20160336779A1 (en) Charging Method, Alternating Current Adaptor, Charging Management Device and Terminal
US8324866B2 (en) Charging system, processor and feeder
JP2009011153A (en) Device and method for detecting power supply
JP2007336710A (en) Battery pack, electronic apparatus and non-contact charging system
US20130049680A1 (en) Electronic device
US20170005495A1 (en) Method and apparatus for charging electronic device with usb connection
US20180278082A1 (en) Electronic device and charging method thereof
US20150349561A1 (en) Charging an electrical device via a data interface
KR20140126491A (en) power supply circuit and method for controlling thereof
CN105634143B (en) Wireless power and power receiving device and its operating method
CN114256897A (en) Power supply device, power supply method, and power supply system
CN114498831A (en) Electronic device and charging control method
CN114520524A (en) Power supply device, power supply method, and power supply system
EP3518371B1 (en) Wireless charging device, system and method on the basis of back cover-type mobile power supply
CN105226754A (en) Battery charge/discharge control circuit and control method thereof
CN114520523A (en) Power supply device, power supply method, and power supply system
WO2011011536A2 (en) Power bridge circuit for bi-directional inductive signaling

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination