CN114520523A - 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
CN114520523A
CN114520523A CN202011303303.2A CN202011303303A CN114520523A CN 114520523 A CN114520523 A CN 114520523A CN 202011303303 A CN202011303303 A CN 202011303303A CN 114520523 A CN114520523 A CN 114520523A
Authority
CN
China
Prior art keywords
adapter
protocol
parameter information
module
processing module
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
CN202011303303.2A
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 CN202011303303.2A priority Critical patent/CN114520523A/en
Publication of CN114520523A publication Critical patent/CN114520523A/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

Abstract

The application relates to the technical field of charging, in particular to a power supply device, a power supply method and a power supply system. The processor comprises a digital signal processing module and a protocol module; the power management integrated circuit is connected with the processor, the adapter and the battery; the protection circuit is connected with the adapter, the battery and the power management integrated circuit, wherein the digital signal processing module is used for receiving parameter information of the battery; the protocol module is connected with the adapter through the power management integrated circuit through the GPIO interface and used for transmitting the parameter information to the adapter according to a preset protocol so that the adapter can adjust the output signal according to the parameter information and feed back a transmission completion signal of the parameter information to the processor so that the processor controls the power management integrated circuit to generate a closing control signal according to the transmission completion signal. The scheme has small occupied area and low cost.

Description

Power supply device, power supply method, and power supply system
Technical Field
The present disclosure 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 application and therefore may include information that does not constitute prior art known to a person 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 application, a power supply device is provided, the power supply device is based on a device to be charged, and the device to be charged is connected with an external adapter; the power supply device includes:
the processor comprises a digital signal processing module and a protocol module;
a power management integrated circuit coupled to the processor, the adapter, and the battery;
a protection circuit connected to the adapter, the battery and the power management integrated circuit for transmitting an output signal of the adapter to the battery in response to a closing control signal;
the digital signal processing module is used for receiving parameter information of the battery;
the protocol module is connected with the adapter through a power management integrated circuit through a GPIO interface and is used for transmitting the parameter information to the adapter according to a preset protocol so that the adapter can adjust an output signal according to the parameter information and feeding back a transmission completion signal of the parameter information to a processor so that the processor controls the power management integrated circuit 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 parameter information of a battery through a digital signal processing module in a processor;
transmitting the parameter information to an adapter through a protocol module integrated in a processor according to a preset protocol so that the adapter can adjust an output signal according to the parameter information, and feeding back a transmission completion signal of the parameter information to the processor so that the processor controls a power management integrated circuit to generate a closing control signal according to the transmission completion signal;
transmitting an output signal of the adapter to the battery in response to the close control signal through a protection circuit.
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 protocol module, and a protection circuit;
wherein the content of the first and second substances,
the processor comprises a digital signal processing module and a protocol module;
the power management integrated circuit is connected with the processor, the adapter and the battery;
the protection circuit is connected with the adapter, the battery and the power management integrated circuit and used for responding to a closing control signal and transmitting an output signal of the adapter to the battery;
the digital signal processing module is used for receiving parameter information of the battery;
the protocol module is connected with the adapter through a power management integrated circuit through a GPIO interface and is used for transmitting the parameter information to the adapter according to a preset protocol so that the adapter can adjust an output signal according to the parameter information and feeding back a transmission completion signal of the parameter information to a processor so that the processor controls the power management integrated circuit to generate a closing control signal according to the transmission completion signal.
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 processor, 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 power management integrated circuit to generate a closing control signal according to the transmission completion signal, and the protection circuit is connected to the adapter, the battery and the power management integrated circuit 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 processor to complete communication, and the data processing process is executed by the 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 application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. 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 is a schematic diagram showing a specific structure 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 is a flowchart schematically illustrating transmission of the attribute information to the adapter according to a preset protocol in the exemplary embodiment of the present application;
fig. 10 schematically shows a flow chart of the protection circuit 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 application 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. The Power Management Integrated Circuit 120 is also configured, the Power Management Integrated Circuit 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 receive/transmit 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 Power Management Integrated Circuit 120 to determine whether the signal flow direction of the output signal of the adapter 110 needs to be started.
The power supply device in the related art has the disadvantages of high cost, high cost and large occupied area due to the adoption of the independent MCU processor 140, and the need of separate firmware maintenance.
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 power management integrated circuit 120, and a protection circuit 180. Including a digital signal processing module 141 and a protocol module 142; power management integrated circuit 120 is coupled to processor 140, adapter 110, and battery 160; the protection circuit 180 is connected to the adapter 110, the battery 160 and the power management integrated circuit 120, and is configured to transmit an output signal of the adapter 110 to the battery 160 in response to the closing control signal; the digital signal processing module 141 is configured to receive parameter information of the battery; the protocol module 142 is connected to the adapter 440 through the power management integrated circuit 120 via a GPIO interface, and is configured to transmit the parameter information to the adapter 110 according to a preset protocol, so that the adapter 110 can adjust the output signal according to the parameter information, and feed back a transmission completion signal of the parameter information to the processor 140, so that the processor 140 controls the power management integrated circuit 120 to generate a close control signal according to the transmission completion signal.
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 processor to complete communication, and the data processing process is executed by the 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.
In an example embodiment of the present 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, and a Personal Digital Assistant (PDA). The processor 140 may include a data processing module and a protocol module 142, wherein the data processing module may include an analog-to-digital conversion module 1411 and a protocol processing module 1412, the analog-to-digital conversion module 1411 is configured to perform analog-to-digital conversion on the received attribute information, and the protocol processing module 1412 is configured to receive a communication signal of the protocol module 142 and transmit the attribute information to the adapter 110 according to a preset protocol.
In this exemplary embodiment, the power supply may further include a data acquisition module 150, where the data acquisition module 150 is integrated with the device to be charged, and is used 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 this example real-time manner, the data collecting module 150 may collect 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, which is not specifically limited in this example embodiment.
In this exemplary embodiment, after receiving the attribute information acquired by the data acquisition module 150, the processor 140 performs analog-to-digital conversion on the attribute information by using the analog-to-digital conversion module 1411, 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 142 is integrated in the processor 140 and connected to the adapter 110 through the power management integrated circuit 120, 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 power management integrated circuit 120 to generate a close control signal according to the transmission completion signal, where the protocol module 142 may be implemented by a digital circuit state machine.
In the present exemplary embodiment, the protocol module 142 is integrated in the processor 140 and connected to the adapter 110 through the power management integrated circuit 120 via a GPIO interface, and the protocol module 142 may be a protocol chip integrated in the processor 140 and connected to the data processing module in the data transmission line processor 140 via an interrupt line.
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, referring to fig. 4, the protocol module 142 may be connected to the processor 140 through a data transmission line and an interrupt line; the protocol module 142 may be connected to the adapter 110 via a universal serial bus. The data transmission line 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 digital signal processing module 141 sends a handshake signal, when the protocol module 142 receives the handshake signal sent by the digital signal processing module 141, 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 142 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 142 receives the protocol sending instruction, step S530 may be executed, the protocol module 142 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, the DATA that needs to be received includes one or more of the attribute information, the protocol content may also be a bit number of data to be received, for example, 8-bit data, 9-bit data, etc., and the protocol module 142 includes a received data counting function in receiving the attribute information.
After the protocol module 142 receives the protocol content, step S550 may be executed, where the protocol module 142 jumps to a WAIT for DATA transmission state (WAIT _ TX _ DATA state) and transmits a DATA acquisition instruction to the digital signal processing module 141; after receiving the data acquisition instruction, the digital signal processing module 141 sends the attribute information to the protocol module 142 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 142 receives the attribute information, step S360 may be performed, and the protocol module 142 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 142 does not receive the attribute information sent by the digital signal processing module 141, or the received attribute information is incomplete, that is, when data reception is wrong, step S540 may be executed to jump the protocol module 142 to an off state (DISABLE state), where when the received attribute information is incomplete, for example, data that needs to be acquired in the protocol content may include voltage, current, and temperature of the battery 160, but the received attribute information includes only the voltage and current of the battery 160, and there is no temperature information, and 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 142 is not enough for 8-bit data, for example, 6-bit data, 7-bit data, etc., step S540 may be executed to jump the protocol module 142 to the off state (DISABLE state).
In the present exemplary embodiment, when the protocol module 142 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, occurs 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 142 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 142 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 142 to the off state (DISABLE state).
In this exemplary embodiment, the protocol module 142 may receive the shutdown signal sent by the digital signal processing module 141, and directly jump the protocol module 142 to the shutdown state (DISABLE state). When the protocol module 142 is in the off state (IDLE state), the protocol module 142 may jump to the IDLE state (IDLE state) in response to an enable signal sent by the digital signal processing module 141.
In this 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 142 sends an attribute information transmission completion signal to the digital signal processing module 141, and the digital signal processing module 141 controls the power management integrated circuit 120 to generate a close control signal, and if the protocol module 142 is in an off state (DISABLE state), the protocol module 142 generates a transmission failure signal of the attribute information, and the digital signal processing module 141 generates a close 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 power management integrated circuit 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, where the first USB switch 190 is a shunt switch element, and the circuit is divided into two paths, where one path is directly connected to the processor 140 through a Universal Asynchronous receiving and transmitting transmission line 430(Universal Asynchronous receiving/Transmitter) 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 power management integrated circuit 120, the second USB switch 123 may also be a shunt switch, and is respectively connected to the protocol module 142 and the charging type determining module 124, 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 voltage level converter 122, and is connected to the protocol module 142 integrated in the processor 140 through the voltage level converter 122, so as to complete the communication between the adapter 110 and the processor 140. Specifically, the processor 140 includes a GPIO1 interface and a GPIO2 interface, and the level-voltage conversion module is connected to the GPIO1 interface and the GPIO2 interface to complete the connection with the protocol module 142.
In the present exemplary embodiment, the power management integrated circuit 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 142, 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. And meanwhile, the system can be powered.
Specifically, the power management integration may further include a power supply circuit including a first switching transistor T1, a second switching transistor T2, a third switching transistor T3, a fourth switching transistor T4, an inductance element L, and a first driving module, a second driving module, a third driving module, and a fourth driving module for driving the first switching transistor T1, the second switching transistor T2, the third switching transistor T3, and the fourth switching transistor T4, respectively. Wherein the first switching transistor T1, the second switching transistor T2, the third switching transistor T3, and the fourth switching transistor T4 each include a control terminal. The driving circuit comprises a first section and a second end, wherein the control end can be a grid electrode, the first end can be a drain electrode, and the second end can be a source electrode, and the control end is respectively connected with the first driving module, the second driving module, the third driving module and the fourth driving module. The first segment of the first switch transistor is connected to the adapter 110, the second end of the first switch transistor is connected to the first end of the second switch transistor T2, the second end of the second transistor is connected to the first point of the third transistor, the second end of the third switch transistor T3 is grounded, the first end of the inductive element L and the first end of the third switch transistor T3 are connected to the system to be powered, the first end of the fourth switch transistor T4 is connected to the second end of the inductive element L, and the second end of the fourth switch transistor T4 is connected to the battery 160.
The first switch transistor T1 can prevent current from flowing backward, the protection circuit, the second switch transistor T2 and the third switch transistor T3 are only turned on at the same time, and the control of the current flowing into the system to be powered is realized by the high-frequency switching and matching with the inductive element L.
The power management integrated circuit 120 can ensure that the processor 140 can not 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, referring to fig. 4, the power management integrated circuit 120 may further include a driving signal generation module, configured to receive an instruction of the processor 140 and generate a close control signal or a close control signal, where the driving signal generation module may be the charge pump 121, and configured to control the charge pump 121 to generate the close and control signal when the processor 140 receives the transmission completion signal of the attribute information; the protection circuit 180 is turned on, and the output signal can be transmitted to the battery 160 through the protection circuit 180. Or for controlling the charge pump 121 to generate an off control signal when the processor 140 receives the attribute information transmission failure signal, so that the protection circuit 180 cannot protect the battery 160 with an over current.
In the present exemplary embodiment, referring to fig. 4, the protection circuit 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, when the number of the 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 fifth switching transistor is connected to the adapter 110, the second terminal of the fifth switching transistor is connected to the first terminal of the second switching transistor T2, and the second terminal of the sixth switching 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 110 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 142.
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 is configured to adjust an output voltage of the adapter 110 according to 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 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, an independent MCU is not required to complete data processing, and only a protocol module 142 is integrated on one side of the low charging point controller 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 device is simplified, the cost is reduced, and the occupied area of the power supply device 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 parameter information of the battery through a digital signal processing module in the processor;
step S820, transmitting the parameter information to an adapter according to a preset protocol through a protocol module integrated in a processor so that the adapter can adjust an output signal according to the parameter information, and feeding back a transmission completion signal of the parameter information to the processor so that the processor controls a power management integrated circuit to generate a closing control signal according to the transmission completion signal;
step S830, transmitting an output signal of the adapter to the battery through a protection circuit 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 110 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 digital signal processing module, and adjusting the protocol module to an idle state;
step S920, receiving a protocol sending instruction sent by an 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 digital signal processing module;
step S940, receiving parameter information sent by the digital signal processing module according to the data acquisition instruction, and adjusting the protocol module to a data sending state;
step S950, sending the parameter information to the adapter, and adjusting the protocol module 142 to an idle state.
Specifically, the digital signal processing module 141 sends a handshake signal, when the protocol module 142 receives the handshake signal sent by the digital signal processing module 141, that is, it indicates that the charging interface is connected to the device to be charged, at this time, the protocol module 142 may be adjusted to an IDLE state (IDLE state) to prepare DATA transmission, meanwhile, the handshake signal is sent to the adapter 110, the adapter 110 receives the handshake signal and then sends a protocol sending instruction, and after the protocol module 142 receives the protocol sending instruction, the protocol module 142 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, the DATA that needs to be received includes one or more of the above attribute information, and the protocol content may also be a bit number that needs to receive DATA, for example, a bit number of 8 bits, and, 9 bits of data, etc., the protocol module 142 includes a received data counting function in the received attribute information.
After the protocol module 142 receives the protocol content, the protocol module 142 jumps to a WAIT DATA transmission state (WAIT _ TX _ DATA state) and transmits a DATA acquisition instruction to the digital signal processing module 141; after receiving the data acquisition instruction, the digital signal processing module 141 sends the attribute information to the protocol module 142 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 142 receives the attribute information, the protocol module 142 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 digital signal processing module 141, so that the digital signal processing module 141 controls the power management integrated circuit 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 142 does not receive the attribute information sent by the digital signal processing module 141, or when the received attribute information is incomplete, that is, when data reception is wrong, the protocol module 142 jumps to a shutdown state (DISABLE state), where when the received attribute information is incomplete, for example, data required to be obtained in the protocol content includes voltage, current, and temperature of the battery 160, however, 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. 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 142 is not enough for 8-bit data, for example, 6-bit data, 7-bit data, and the protocol module 142 jumps to the off state (DISABLE state).
In the present exemplary embodiment, when the protocol module 142 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, occurs 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 142 is turned to the 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 142 still transmits the data, and it is determined that the transmission attribute information is abnormal at this time, the protocol module 142 is skipped to the closed state (DISABLE state).
In this exemplary embodiment, the protocol module 142 may receive the shutdown signal sent by the digital signal processing module 141, and directly jump the protocol module 142 to the shutdown state (DISABLE state). When the protocol module 142 is in the off state (IDLE state), the protocol module 142 may jump to the IDLE state (IDLE state) in response to an enable signal sent by the digital signal processing module 141.
In the present exemplary embodiment, the protocol module 142 sends an attribute information transmission completion signal to the digital signal processing module 141, and the digital signal processing module 141 controls the power management integrated circuit 120 to generate a close control signal, if the protocol module 142 is in an off state (DISABLE state), the protocol module 142 generates a transmission failure signal of the attribute information, and the digital signal processing module 141 generates a shut-down control signal according to the transmission failure signal, and stops charging to prevent the battery 160 from being damaged by the excessive output voltage of the adapter 110.
The protection circuit 180 may respond to the shutdown control signal to stop the operation of the protection circuit 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 application further provides a power supply system, in which the power supply apparatus is based on a device to be charged, and the device to be charged is connected to the external adapter 110; the power supply device may include a processor 140, a power management integrated circuit 120, and a protection circuit 180. Wherein the processor 140 receives attribute information of the battery 160; the charge controller is connected to the processor 140, the adapter 110, and the battery 160; the protocol module 142 is integrated with the charging controller, 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 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 charging controller to generate a closing control signal according to the transmission completion signal; the protection circuit 180 is connected to the adapter 110, the battery 160 and the charge controller, and is configured to transmit the output signal to the battery 160 in response to the close control signal.
The details of the processor 140, the adapter 110, the power management integrated circuit 120, and the protection circuit 180 in the system are described in detail in the embodiment of the apparatus, and details that are not disclosed may be referred to in the embodiment of the apparatus, 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:
the processor comprises a digital signal processing module and a protocol module;
a power management integrated circuit coupled to the processor, the adapter, and the battery;
a protection circuit connected to the adapter, the battery and the power management integrated circuit for transmitting an output signal of the adapter to the battery in response to a closing control signal;
the digital signal processing module is used for receiving parameter information of the battery;
the protocol module is connected with the adapter through a power management integrated circuit through a GPIO interface and is used for transmitting the parameter information to the adapter according to a preset protocol so that the adapter can adjust an output signal according to the parameter information and feeding back a transmission completion signal of the parameter information to a processor, and therefore the processor controls the power management integrated circuit to generate a closing control signal according to the transmission completion signal.
2. The apparatus of claim 1, wherein the power management integrated circuit further comprises:
and the voltage level converter is connected between the adapter and the protocol module and is used for converting the communication level signal of the adapter into a communication level signal adaptive to the protocol module.
3. The apparatus of claim 1, wherein the power supply further comprises:
and the data acquisition module is connected with the digital signal processing module and used for acquiring the parameter information and transmitting the parameter information to the digital signal processing module.
4. The apparatus of claim 1, wherein the digital signal processing module comprises:
the analog-to-digital conversion module is used for performing analog-to-digital conversion on the parameter information;
and the protocol processing module is used for receiving the communication signal of the protocol module and transmitting the parameter information to the adapter according to the preset protocol.
5. The apparatus of claim 1, wherein the parameter information comprises a handshake signal, and wherein the protocol module is further configured to:
receiving a handshake signal sent by the digital signal processing module, 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 a data sending waiting state, and the digital signal processing module sends a data acquisition instruction;
receiving parameter information sent by the digital signal processing module according to the data acquisition instruction, and adjusting the protocol module to be in a data sending state;
and sending the parameter 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 parameter information to a digital signal processing module when the adapter does not receive the parameter information, so that the digital signal processing module controls the power management integrated circuit to generate a shutdown control signal according to the transmission completion signal;
the protection circuit is turned off in response to the turn-off control signal.
7. The apparatus of claim 6, wherein the power management integrated circuit further comprises:
the charge pump is used for generating a closing control signal and a closing control signal;
the protection circuit includes at least one switching transistor for transmitting an output signal of the adapter to the battery in response to a 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 parameter information comprises a handshaking signal, a voltage, a current, and a temperature of the battery.
10. A power supply method, comprising:
receiving parameter information of a battery through a digital signal processing module in a processor;
transmitting the parameter information to an adapter through a protocol module integrated in a processor according to a preset protocol so that the adapter can adjust an output signal according to the parameter information, and feeding back a transmission completion signal of the parameter information to the processor so that the processor controls a power management integrated circuit to generate a closing control signal according to the transmission completion signal;
transmitting an output signal of the adapter to the battery in response to the close control signal through a protection circuit.
11. The method of claim 10, further comprising:
and acquiring the parameter information through a data acquisition module and transmitting the parameter information to the processor.
12. The method of claim 10, wherein transmitting the parameter information to the adapter according to the predetermined protocol comprises:
receiving a handshake signal sent by the digital signal processing module, 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 a data sending waiting state, and the digital signal processing module sends a data acquisition instruction;
receiving parameter information sent by the digital signal processing module according to the data acquisition instruction, and adjusting the protocol module to be in a data sending state;
and sending the parameter 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 parameter information, feeding back a transmission failure signal of the parameter information to a digital signal processing module so that the digital signal processing module controls the power management integrated circuit to generate a turn-off control signal according to the transmission completion signal;
the protection circuit 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. A 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 power management integrated circuit and a protection circuit;
wherein the content of the first and second substances,
the processor comprises a digital signal processing module and a protocol module;
the power management integrated circuit is connected with the processor, the adapter and the battery;
the protection circuit is connected with the adapter, the battery and the power management integrated circuit and used for responding to a closing control signal and transmitting an output signal of the adapter to the battery;
the digital signal processing module is used for receiving parameter information of the battery;
the protocol module is connected with the adapter through a power management integrated circuit through a GPIO interface and is used for transmitting the parameter information to the adapter according to a preset protocol so that the adapter can adjust an output signal according to the parameter information and feeding back a transmission completion signal of the parameter information to a processor so that the processor controls the power management integrated circuit to generate a closing control signal according to the transmission completion signal.
16. The system of claim 15, wherein the power management integrated circuit further comprises:
and the voltage level converter is connected between the adapter and the protocol module and is used for converting the communication level signal of the adapter into a communication level signal adaptive to the protocol module.
17. The system of claim 15, wherein the power supply further comprises:
and the data acquisition module is connected with the digital signal processing module and used for acquiring the parameter information and transmitting the parameter information to the digital signal processing module.
18. The system of claim 15, wherein the digital signal processing module comprises:
the analog-to-digital conversion module is used for performing analog-to-digital conversion on the parameter information;
and the protocol processing module is used for receiving the communication signal of the protocol module and transmitting the parameter information to the adapter according to the preset protocol.
19. The system of claim 15, wherein the parameter information comprises a handshake signal, and wherein the protocol module is further configured to:
receiving a handshake signal sent by the digital signal processing module, 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 be in a data receiving state;
when protocol content sent by the adapter is received, the protocol module is adjusted to a data sending waiting state, and the digital signal processing module sends a data acquisition instruction;
receiving parameter information sent by the digital signal processing module according to the data acquisition instruction, and adjusting the protocol module to be in a data sending state;
and sending the parameter 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 parameter information to the digital signal processing module when the adapter does not receive the parameter information, so that the digital signal processing module controls the power management integrated circuit to generate a shutdown control signal according to the transmission completion signal;
the protection circuit is turned off in response to the turn-off control signal.
CN202011303303.2A 2020-11-19 2020-11-19 Power supply device, power supply method, and power supply system Pending CN114520523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011303303.2A CN114520523A (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
CN202011303303.2A CN114520523A (en) 2020-11-19 2020-11-19 Power supply device, power supply method, and power supply system

Publications (1)

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

Family

ID=81594550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011303303.2A Pending CN114520523A (en) 2020-11-19 2020-11-19 Power supply device, power supply method, and power supply system

Country Status (1)

Country Link
CN (1) CN114520523A (en)

Similar Documents

Publication Publication Date Title
US8160654B2 (en) Power reception control device, power reception device, and electronic instrument
US6888338B1 (en) Portable computer and docking station having charging circuits with remote power sensing capabilities
US9859740B2 (en) Adapter, portable electronic device and charge control method thereof
JP4777155B2 (en) Electronic equipment, contactless charger and contactless charging system
US6191498B1 (en) Power-supplying device for generating different voltage outputs
US9560217B2 (en) Adapters, terminal devices, USB connection devices and charging stations
US8716980B2 (en) Charge and discharge system of secondary battery and method of controlling charge and discharge of secondary battery
US8324866B2 (en) Charging system, processor and feeder
CN109193888B (en) Wireless charging power supply system with Type-c interface and charging method
CN108347089B (en) Electric energy transmission controller, electric energy transmission system and electric energy transmission method
CN104756350A (en) High voltage dedicated charging port
US20130049680A1 (en) Electronic device
CN101221463A (en) Battery module, computer system and power supply method thereof
CN109904913B (en) Charging equipment and quick charging circuit thereof
US20080012524A1 (en) Chargeable electronic devices and direct current voltage supply systems
CN114256897A (en) Power supply device, power supply method, and power supply system
CN105634143B (en) Wireless power and power receiving device and its operating method
CN111856330A (en) Power adapter circuit, power adapter chip and power adapter
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
CN102035250B (en) Semiconductor device, voltage comparison circuit, power management circuit and electronic instrument
CN114520523A (en) Power supply device, power supply method, and power supply system
KR20210135952A (en) Low heat wireless power receiving device

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