Power supply providing apparatus, power supply providing method, and power supply providing system

By integrating digital signal processing and protocol modules into the processor, the data processing of the power supply device is simplified, solving the problems of high cost and large footprint of existing MCU processors, and achieving cost reduction and simplification of complexity.

CN114520523BActive Publication Date: 2026-02-06GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011303303.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-19
Publication Date
2026-02-06
Estimated Expiration
2040-11-19

AI Technical Summary

Technical Problem

Existing power supply devices require a separate MCU processor, which is costly and occupies a large area.

Method used

The processor integrates a digital signal processing module and a protocol module, which are connected to the adapter via a power management integrated circuit. The protocol module transmits battery parameter information according to a preset protocol, and the adapter's output signal is transmitted to the battery through a protection circuit, simplifying the data processing process.

Benefits of technology

It reduces the cost and footprint of power supply devices, simplifies the complexity of power supply devices, and improves the safety and efficiency of the charging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114520523B_ABST
    Figure CN114520523B_ABST
Patent Text Reader

Abstract

The application relates to the field of charging technology, in particular to a power supply device, a power supply method and a power supply system. The power supply device can comprise a processor, a power management integrated circuit and a protection circuit. The processor comprises a digital signal processing module and a protocol module; the power management integrated circuit is connected to the processor, an adapter and a battery; the protection circuit is connected to the adapter, the battery and the power management integrated circuit. The digital signal processing module is used for receiving parameter information of the battery; the protocol module is connected to the adapter through a GPIO interface and the power management integrated circuit, 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 feeds 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 closed control signal according to the transmission completion signal. The scheme has small occupied area and low cost.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of charging, in particular to a power supply device, a power supply method and a power supply system. BACKGROUND

[0002] With the wide use of portable electronic devices such as notebook computers, mobile phones and the like, the portable electronic devices adopt a battery as a power system, and how to conveniently and quickly charge the battery becomes more important.

[0003] The power supply device in the prior art needs an independent MCU (Microcontroller Unit) processor, which has a high cost and occupies a large area.

[0004] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present application, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY

[0005] The purpose of the present application is to provide a power supply device and a power supply method, thereby at least partially overcoming the problem in the prior art that the power supply device needs an independent MCU processor, which has a high cost and occupies a large area.

[0006] According to a first aspect of the present application, a power supply device is provided, which is based on a device to be charged, and the device to be charged is connected with an external adapter; the power supply device comprises:

[0007] a processor comprising a digital signal processing module and a protocol module;

[0008] a power management integrated circuit connected to the processor, the adapter and a battery;

[0009] 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 closed control signal;

[0010] The digital signal processing module is configured to receive parameter information of the battery.

[0011] The protocol module is connected to the adapter through a GPIO interface and the power management integrated circuit, and is configured to transmit 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 closed control signal according to the transmission completion signal.

[0012] According to a second aspect of the present application, a power supply method is provided, comprising:

[0013] receiving parameter information of a battery by a digital signal processing module in a processor;

[0014] transmitting the parameter information to an adapter according to a preset protocol by a protocol module integrated in the processor to enable the adapter to adjust an output signal according to the parameter information, and feeding back a transmission completion signal of the parameter information to the processor to enable the processor to control a power management integrated circuit to generate a closing control signal according to the transmission completion signal;

[0015] transmitting the output signal of the adapter to the battery by a protection circuit in response to the closing control signal.

[0016] According to a third aspect of the present application, a power supply system is provided, comprising a device to be charged and an adapter connected to each other, wherein the device to be charged comprises a processor, a protocol module and a protection circuit;

[0017] wherein,

[0018] the processor comprises a digital signal processing module and a protocol module;

[0019] the power management integrated circuit is connected to the processor, the adapter and a battery;

[0020] the protection circuit is connected to the adapter, the battery and the power management integrated circuit, and is configured to transmit the output signal of the adapter to the battery in response to a closing control signal;

[0021] wherein, the digital signal processing module is configured to receive parameter information of a battery;

[0022] the protocol module is connected to the adapter through a power management integrated circuit via a GPIO interface, and is configured to transmit the parameter information to the adapter according to a preset protocol to enable the adapter to adjust an output signal according to the parameter information, and feed back a transmission completion signal of the parameter information to the processor to enable the processor to control the power management integrated circuit to generate a closing control signal according to the transmission completion signal.

[0023] The power supply providing device, the power supply providing method and the power supply providing system provided by an embodiment of the present application receive attribute information of a battery by a processor and transmit the attribute information to an adapter by a 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 a power management integrated circuit to generate a closed control signal according to the transmission completion signal, and a protection circuit is connected to the adapter, the battery and the power management integrated circuit, for transmitting the output signal to the battery in response to the closed control signal. Compared with the prior art, a separate MCU is not needed to complete data processing, only a protocol module needs to be integrated on the processor side to complete communication, and the data processing process is executed by the processor in the device to be charged, so that the complexity of the power supply providing device is simplified, the cost is reduced, and the occupied area of the power supply providing device is reduced.

[0024] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory and are not restrictive of the application. BRIEF DESCRIPTION OF DRAWINGS

[0025] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and serve to explain the principles of the application. It is readily apparent to one skilled in the art that the following figures are merely some embodiments of the present application, and other figures can be obtained from these figures without creative labor. In the drawings:

[0026] Figure 1 A schematic diagram of a power supply providing device in the related art is shown;

[0027] Figure 2 A schematic diagram of a power supply providing device in an exemplary embodiment of the present application is shown;

[0028] Figure 3 A schematic diagram of a power supply providing device in an exemplary embodiment of the present application is shown;

[0029] Figure 4 A schematic diagram of a power supply providing device in an exemplary embodiment of the present application is shown;

[0030] Figure 5 A data flow diagram for transmitting the attribute information to the adapter according to a preset protocol in an exemplary embodiment of the present application is shown;

[0031] Figure 6 A schematic diagram of a power supply providing device in an exemplary embodiment of the present application is shown;

[0032] Figure 7 Fig. 1 schematically shows a specific structural diagram of an adapter in the exemplary embodiments of the present application;

[0033] Figure 8 Fig. 2 schematically shows a flow chart of a power supply method in the exemplary embodiments of the present application;

[0034] Figure 9 Fig. 3 schematically shows a flow chart of transmitting the attribute information to the adapter according to a preset protocol in the exemplary embodiments of the present application;

[0035] Figure 10 Fig. 4 schematically shows a flow chart of the protection circuit responding to the off control signal. DETAILED DESCRIPTION

[0036] Example implementations are now described with reference to the drawings; however, these implementations are merely examples of implementations and are not intended to limit example implementations in any way. In fact, example implementations described herein can be used in any number of ways, and should not be limited to implementations set forth herein; rather, implementations can be practiced in any number of objects.

[0037] Furthermore, the drawings are merely schematic and are not intended to portray limitations of the present application. Like numbers used throughout the figures refer to like or similar elements. Additionally, a reference to the alternative as "one implementation" can refer to a specific one of alternatives as common for that implementation or can include more than one alternative of a given implementation.

[0038] In the related art, with reference to Figure 1As shown, the power supply device in the related art detects the state of the battery 160 through the independent MCU 130 and the data acquisition module 150 and communicates with the processor 140, that is, detects the attribute information of the battery 160, communicates with the adapter 110 according to the state of the battery 160, adjusts the output voltage and output current of the adapter 110, controls the switch transistor of the charge pump 121 to start, so that the transistor is turned on, and charges the battery 160. When detecting the attribute information of the battery 160, it is completed by the independent MCU 130 and the processor 140 in the device to be charged at the same time. The power management integrated circuit 120 is configured at the same time, the power management integrated circuit is connected with the processor 140 through the PMIC (Power Management Integrated Circuit, power management integrated circuit) 170, the adapter 110 is connected with the processor through the universal asynchronous receiving and transmitting transmission line, the USB switch is used to control the switching of the line, and the charging type judgment module 124 is arranged 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.

[0039] The power supply device in the related art adopts an independent MCU processor 140, which has high cost, needs separate firmware maintenance, high cost, and large occupied area.

[0040] Based on the above shortcomings, the present application first provides a power supply device which can solve one or more of the above problems to a certain extent, with reference to Figure 2 As shown, the power supply device is based on the device to be charged, and the device to be charged is connected with the external adapter 110; the power supply device can include a processor 140, a power management integrated circuit 120 and a protection circuit 180. It includes a digital signal processing module 141 and a protocol module 142; the power management integrated circuit 120 is connected with the processor 140, the adapter 110 and the battery 160; the protection circuit 180 is connected with the adapter 110, the battery 160 and the power management integrated circuit 120, and is used to transmit the output signal of the adapter 110 to the battery 160 in response to the closing control signal; wherein the digital signal processing module 141 is used to receive the parameter information of the battery; the protocol module 142 is connected with the adapter 440 through the power management integrated circuit 120 through the GPIO interface, and is used to transmit the parameter information to the adapter 110 according to the preset protocol, so that the adapter 110 can adjust the output signal according to the parameter information, and feed back the 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 the closing control signal according to the transmission completion signal.

[0041] Compared with the prior art, the independent MCU is not needed to complete the data processing, only a protocol module is needed to be integrated on the processor side to complete the communication, the data processing process is executed by the processor in the device to be charged, the complexity of the power supply device is simplified, the cost is reduced, and the occupied area of the power supply device is reduced.

[0042] In an example embodiment of the present application, referring to Figure 3 The processor 140 is integrated in the device to be charged, which can be a notebook computer, a mobile phone, a personal digital assistant (PDA), or the like. The processor 140 can include a data processing module and a protocol module 142. The data processing module can 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. The protocol processing module 1412 is configured to receive a communication signal from the protocol module 142 and transmit the attribute information to the adapter 110 according to a preset protocol.

[0043] In the example embodiment, the power supply device can further include a data acquisition module 150 integrated in the device to be charged, which is configured to acquire attribute information of the battery 160 and transmit the attribute information to the processor 140. The attribute information can include voltage, current, temperature, and the like of the battery 160. The data acquisition module 150 can include a coulomb counter, a temperature sensor, a voltmeter, an ammeter, and the like. In the example embodiment, the detection devices corresponding to the attribute information in the data acquisition module 150 can be set according to the number of attribute information to be detected. For example, when the remaining capacity of the battery 160 needs to be detected, a coulomb counter can be added.

[0044] In the example embodiment, the data acquisition module 150 can be connected to the processor 140 through an I2C bus, so as to transmit the attribute information to the processor 140.

[0045] In the example embodiment, the data acquisition module 150 can acquire the attribute information of the battery 160 every preset time. The preset time can be 5 milliseconds, 10 milliseconds, or the like, or can be customized according to user demand. In the example embodiment, the preset time is not limited.

[0046] In the example embodiment, the processor 140 receives the attribute information collected by the data collection module 150, and then performs analog-digital conversion on the attribute information by using the analog-digital conversion module 1411. The processor 140 can save a preset number of attribute information. The preset number can be 5, i.e., when the sixth attribute information is collected, the first attribute information is released. The preset number can also be 10, 15, etc., or can be customized according to user demand. In the example embodiment, no specific limitation is made.

[0047] 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. The protocol module 142 is 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 power management integrated circuit 120 to generate a closed control signal according to the transmission completion signal. The protocol module 142 can be implemented by a digital circuit state machine.

[0048] In the example 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. The protocol module 142 can be a protocol chip integrated in the processor 140, which is connected to a data processing module in the processor 140 via an interrupt line and a data transmission line.

[0049] In the example embodiment, the battery 160 is a storage battery 160, which can be recharged by using the charging voltage provided by the adapter 110. The battery 160 can also be formed by at least one battery 160 unit having a specific electronic voltage and capable of outputting a voltage. The battery 160 supplies data information about the battery 160. The data information can be included in the attribute information. The data information can include a full charge bit of the battery 160, a full charge capacity of the battery 160, etc.

[0050] In the example embodiment, as shown in Figure 4 , the protocol module 142 can be connected to the processor 140 via a data transmission line and an interrupt line. The protocol module 142 can be connected to the adapter 110 via a universal serial bus. The data transmission line can be an I2C bus, an SPI bus (Serial Peripheral Interface), or an SPMI bus. In the example embodiment, no specific limitation is made.

[0051] Specifically, as shown in Figure 5As shown, first, step S510 can be performed, the digital signal processing module 141 sends a handshake signal, when the handshake signal sent by the digital signal processing module 141 is received by the protocol module 142, it indicates that the charging interface has been connected to the device to be charged, at this time, step S520 can be performed, the protocol module 142 can be adjusted to an idle state (IDLE state) to prepare for data transmission, and at the same time, a 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 can be performed, the protocol module 142 jumps to a data receiving state (RECV_DATA state), and then the adapter 110 sends a protocol content, wherein the protocol content can be data to be received, that is, the data to be received includes one or more of the above attribute information, and the protocol content can also be the number of bits of the data to be received, for example, 8-bit data, 9-bit data, etc., at this time, the protocol module 142 includes the data receiving counting function when receiving the attribute information.

[0052] After the protocol module 142 receives the protocol content, step S550 can be performed, the protocol module 142 jumps to a waiting data sending state (WAIT_TX_DATA state) and sends a data acquisition instruction to the digital signal processing module 141; after the digital signal processing module 141 receives the data acquisition instruction, the attribute information is sent to the protocol module 142 according to the data acquisition instruction, at this time, the attribute information includes all the attribute information required in the protocol content, for example, the current of the battery 160, the temperature of the battery 160, etc. After the protocol module 142 receives the attribute information, step S360 can be performed, the protocol module 142 jumps to a data sending state (SEND_DATA state) and then sends the attribute information to the adapter 110, and then jumps to an idle state (IDLE state).

[0053] In the present example 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 the data receiving is incorrect, step S540 can be performed to jump the protocol module 142 to a disable state (DISABLE state), for example, when the received attribute information is incomplete, the data to be received in the protocol content includes the voltage, current and temperature of the battery 160, but the received attribute information only includes the voltage and current of the battery 160 without temperature information, at this time, it is determined that the received attribute information is incomplete. For another example, the data to be received in the protocol content is 8-bit data, but the above attribute information received by the protocol module 142 is less than 8-bit data, for example, 6-bit data, 7-bit data, etc., step S540 can be performed to jump the protocol module 142 to the disable state (DISABLE state).

[0054] In the present example embodiment, when the protocol module 142 sends the attribute information to the adapter 110, when the attribute information is sent, it is detected whether a sending completion signal appears, i.e. the electrical signal is the same level signal within a certain time, for example, a low level signal within 50 milliseconds, a high level signal within 40 milliseconds, etc. The certain time can be 50 milliseconds, 40 milliseconds, 60 milliseconds, etc., and can also be customized according to user needs. The same level signal can be a high level signal or a low level signal, which is not specifically limited in the present example embodiment.

[0055] When it is detected that the sending completion signal appears, it indicates that the data sending is normal and the data sending is completed, and then step S560 can be executed to jump the protocol module 142 to the idle state (IDLE state) to wait for the reception of the next round of data. If the sending completion signal is not received after the data sending is completed, i.e. the protocol module 142 is still sending data after sending the corresponding number of bits of data, it is determined that the sending of the attribute information is abnormal, and then step S540 can be executed to jump the protocol module 142 to the disable state (DISABLE state).

[0056] In the present example embodiment, the protocol module 142 can receive the disable signal sent by the digital signal processing module 141 to directly jump the protocol module 142 to the disable state (DISABLE state). When the protocol module 142 is in the disable state (DISABLE state), the protocol module 142 can be jumped to the idle state (IDLE state) in response to the enable signal sent by the digital signal processing module 141.

[0057] In the present example embodiment, if the transmission process of the attribute information described above is not abnormal, i.e. 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 closing control signal. If the protocol module 142 is in the disable state (DISABLE state), the protocol module 142 generates a transmission failure signal of the attribute information, and the digital signal processing module 141 generates an off control signal according to the transmission failure signal to stop charging to prevent the adapter 110 from outputting a voltage that is too high to damage the battery 160.

[0058] In the present example embodiment, with reference to Figure 4As shown, the power management integrated circuit 120 is also integrated in the device to be charged, and the device to be charged is connected with the adapter 110 through the USB interface, and includes a first USB switch 190 at the position of the USB interface. The first USB switch 190 is a shunt switch element, and divides the circuit into two paths. One path is directly connected with the processor 140 through a universal asynchronous receiver / transmitter (UART) 430, and is used for transmission of serial data, such as downloading files to the device to be charged, or uploading files from the device to be charged.

[0059] In the example embodiment, the second path of the first USB switch 190 is connected with a second USB switch 123 arranged in the power management integrated circuit 120. The second USB switch 123 is also a shunt switch, and is respectively connected with the protocol module 142 and the charging type judgment module 124. When the charging type judgment module 124 determines that the USB interface is connected with the adapter 110, the second USB switch 123 is connected to the voltage level converter 122, and is connected with 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 voltage level converter module is connected with the GPIO1 interface and the GPIO2 interface to complete the connection with the protocol module 142.

[0060] In the example embodiment, the power management integrated circuit 120 can be used to convert the output signal of the adapter 110 into a preset input signal and transmit the battery 160 when the adapter 110 and the processor 140 are not matched, i.e., the processor 140 cannot transmit attribute information to the adapter 110 through the protocol module 142. The preset input signal can be a 5V, 2A electrical signal, or can be set according to the different adapter 110 and battery 160, such as setting the preset input signal to 5V, 1.5A, which is not limited in the example embodiment. At the same time, the system can be powered.

[0061] Specifically, the power management integrated circuit can further include a power supply circuit, which includes a first switch transistor T1, a second switch transistor T2, a third switch transistor T3, a fourth switch transistor T4, an inductor L, and a first drive module, a second drive module, a third drive module, and a fourth drive module for driving the first switch transistor T1, the second switch transistor T2, the third switch transistor T3, and the fourth switch transistor T4, respectively. The first switch transistor T1, the second switch transistor T2, the third switch transistor T3, and the fourth switch transistor T4 each include a control terminal. The first terminal and the second terminal can be a gate, a drain, and a source, respectively. The control terminal is connected to the first drive module, the second drive module, the third drive module, and the fourth drive module, respectively. 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 T2, the second terminal of the second switch transistor is connected to the first terminal of the third switch transistor T3, the second terminal of the third switch transistor T3 is grounded, the first terminal of the inductor L is connected to the first terminal of the third switch transistor T3, the second terminal of the inductor L is connected to the system to be powered, the first terminal of the fourth switch transistor T4 is connected to the second terminal of the inductor L, and the second terminal of the fourth switch transistor T4 is connected to the battery 160.

[0062] The first switch transistor T1 can prevent current from flowing backward and protect the circuit. The second switch transistor T2 and the third switch transistor T3 are turned on at the same time, and the inductor L is switched at a high frequency to control the current flowing into the system to be powered.

[0063] The power management integrated circuit 120 can ensure that the processor 140 can continue to charge the battery 160 when the attribute information cannot be transmitted to the adapter 110, and ensure the safety of the charging.

[0064] In the example embodiment, referring to FIG. 1, Figure 4 The power management integrated circuit 120 can further include a drive signal generation module for receiving an instruction from the processor 140 and generating a closing control signal or a closing control signal. The drive signal generation module can be a charge pump 121. When the processor 140 receives a transmission completion signal of the attribute information, the charge pump 121 generates a closing control signal to turn on the protection circuit 180, so that the output signal can be transmitted to the battery 160 through the protection circuit 180. Alternatively, when the processor 140 receives a transmission failure signal of the attribute information, the processor 140 controls the charge pump 121 to generate a closing control signal to prevent the protection circuit 180 from passing current to protect the battery 160.

[0065] In the example embodiment, referring to FIG. 1, Figure 4As shown, the protection circuit 180 can include at least one switching transistor, for example, two, three, etc., which are not specifically limited in the present example embodiment, wherein each switching transistor has a control terminal, a first terminal, and a second terminal. Specifically, the control terminal of the switching transistor can be a gate, the first terminal can be a source, and the second terminal can be a drain; or the control terminal of the switching transistor can be a gate, the first terminal can be a drain, and the second terminal can be a source. In addition, the switching transistor can be an enhancement mode transistor or a depletion mode transistor, which is not specifically limited in the present example embodiment.

[0066] In the present example embodiment, the switching transistor is connected to the above-mentioned driving signal generation module. When the number of switching transistors is two, the control terminals of the two switching transistors are both connected to the driving signal generation 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 can be turned on in response to a closing control signal, and turned off when a closing control signal is received.

[0067] In the present example embodiment, with reference to Figure 6 As shown, the adapter 110 is provided with commercial AC power, converts the commercial AC power into DC power of a predetermined voltage level, and provides the DC power to the above-mentioned battery 160.

[0068] The adapter 110 according to one embodiment of the present application can include an AC / DC converter 111 and an adapter 110 controller 112.

[0069] The AC / DC converter 111 converts the input AC power into DC power, and outputs the DC power. The AC / DC converter 111 can selectively convert the input AC power into DC power of a specific level corresponding to a plurality of voltage levels Va 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.

[0070] The controller 112 determines the output signal of the AC / DC converter 111, i.e., the output voltage and the output current, according to the electronic voltage and the attribute information obtained from the protocol module 142.

[0071] With reference to Figure 7 , the adapter 110 includes a controller 112 and an AC / DC converter 111. The controller 112 is configured to receive the attribute information of the battery 160 to determine the output signal. For example, the controller 112 can be implemented by a separate micro control unit (MCU).

[0072] The AC / DC converter 111 is connected to the controller 112, and is configured to adjust the output voltage of the adapter 110 according to the control of the controller 112.

[0073] In addition, as shown in Figure 7 The adapter 110 can further include a rectifier circuit R1 and a voltage conversion module S1. The rectifier circuit R1 is configured to convert the AC voltage received from the AC into a DC voltage, which can be a pulsating DC voltage.

[0074] In addition, in order to obtain a stable DC voltage (e.g., a constant DC voltage), the adapter 110 can further include a filter circuit F1 connected to the output end of the rectifier circuit R1, and configured to filter the DC voltage output by the rectifier circuit R1.

[0075] It should be noted that the present application does not limit the specific circuit structure of the rectifier circuit R1. The rectifier circuit R1 can be a commonly used rectifier bridge, or can be other circuits that can achieve the function of converting AC voltage into DC voltage.

[0076] In summary, in the present exemplary embodiment, a separate MCU is not required to complete the data processing. Instead, a protocol module 142 is integrated on the side of the power supply controller to complete the communication, and the data processing process is performed by the processor 140 in the device to be charged. This simplifies the complexity of the power supply device, reduces the cost, and reduces the occupied area of the power supply device.

[0077] Further, the present application also provides a power supply method. As shown in Figure 8 The power supply method includes the following steps:

[0078] In step S810, the parameter information of the battery is received by the digital signal processing module in the processor.

[0079] In step S820, the parameter information is transmitted to the adapter by the protocol module integrated in the processor according to a preset protocol, so that the adapter can adjust the output signal according to the parameter information, and feeds 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 closed control signal according to the transmission completion signal.

[0080] In step S830, the output signal of the adapter is transmitted to the battery by the protection circuit in response to the closed control signal.

[0081] The specific details of each step in the above method have been described in detail in the device part of the embodiment. The undisclosed details can be referred to the embodiment content of the device part, and thus will not be described again.

[0082] In an example embodiment of the present application, referring to Figure 9 The transmitting the attribute information to the adapter 110 according to the preset protocol can include steps S910-S950, as follows:

[0083] In step S910, a handshake signal sent by the digital signal processing module is received, and the protocol module is adjusted to an idle state.

[0084] In step S920, a protocol sending instruction sent by the adapter is received, and the protocol module is adjusted to a data receiving state.

[0085] In step S930, upon receiving the protocol content sent by the adapter, the protocol module is adjusted to a data sending state, and a data obtaining instruction is sent to the digital signal processing module.

[0086] In step S940, parameter information sent by the digital signal processing module according to the data obtaining instruction is received, and the protocol module is adjusted to a data sending state.

[0087] In step S950, the parameter information is sent to the adapter, and the protocol module 142 is adjusted to an idle state.

[0088] Specifically, the digital signal processing module 141 sends a handshake signal, and upon receiving the handshake signal sent by the digital signal processing module 141, the protocol module 142 indicates that the charging interface has been connected to the device to be charged. At this time, the protocol module 142 can be adjusted to an idle state (IDLE state) to prepare for data transmission, and the handshake signal is sent to the adapter 110. Upon receiving the handshake signal, the adapter 110 sends a protocol sending instruction. Upon receiving 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. The protocol content can be data to be received, i.e., the data to be received includes one or more of the attribute information described above. The protocol content can also indicate the number of bits of the data to be received, e.g., 8 bits of data or 9 bits of data. At this time, the protocol module 142 includes a data receiving counting function when receiving the attribute information.

[0089] After receiving the protocol content, protocol module 142 transitions to a waiting-for-data-transmission state (WAIT_TX_DATA state) and sends a data acquisition command to digital signal processing module 141. Upon receiving the data acquisition command, digital signal processing module 141 sends attribute information to protocol module 142 according to the command. This attribute information includes all the attribute information required in the protocol content, such as battery 160 current and battery 160 temperature. After receiving the attribute information, protocol module 142 transitions to a data transmission state (SEND_DATA state), then sends the attribute information to adapter 110, and then transitions to an idle state (IDLE state).

[0090] In this example implementation, refer to Figure 10 As shown, the above method further includes steps S1010 to S1020, specifically as follows: if the adapter 110 does not receive the attribute information, it sends 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. Specifically, it can include the following situations: 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 the data reception is incorrect, the protocol module 142 is switched to the off state (DISABLE state). When the received attribute information is incomplete, for example, the data to be obtained in the protocol content includes the voltage, current and temperature of the battery 160, but the received attribute information only includes the voltage and current of the battery 160 and does not include temperature information. At this time, it is determined that the received attribute information is incomplete. For example, the protocol content requires 8 bits of data to be received, but the attribute information received by the protocol module 142 is less than 8 bits, such as 6 bits or 7 bits, so the protocol module 142 will switch to the DISABLE state.

[0091] In this example implementation, when the protocol module 142 sends attribute information to the adapter 110, it checks whether a transmission completion signal has appeared, i.e., the electrical signal is at the same level for a certain period of time, for example, a low level signal for 50 milliseconds and a high level signal for 40 milliseconds. The certain period of time can be 50 milliseconds, 40 milliseconds, 60 milliseconds, etc., and can also be customized according to user needs. The same level signal can be a high level signal or a low level signal; no specific limitation is made in this example implementation.

[0092] When the sending completion signal is detected, it indicates that the data sending is normal and the data sending is completed, and the protocol module 142 is switched to the idle state (IDLE state) to wait for the next round of data receiving. If the sending completion signal is not received after the data sending is completed, i.e., the protocol module 142 is still sending data after sending the corresponding number of bits of data, it is determined that the sending attribute information is abnormal, and the protocol module 142 is switched to the disable state (DISABLE state).

[0093] In the example embodiment, the protocol module 142 can receive the disable signal sent by the digital signal processing module 141 and directly switch the protocol module 142 to the disable state (DISABLE state). When the protocol module 142 is in the disable state (DISABLE state), the protocol module 142 can be switched to the idle state (IDLE state) in response to the enable signal sent by the digital signal processing module 141.

[0094] In the example embodiment, the protocol module 142 sends the 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 the close control signal. If the above-mentioned protocol module 142 is in the disable state (DISABLE state), the protocol module 142 generates a transmission failure signal of the attribute information, and the digital signal processing module 141 generates the shutdown control signal according to the transmission failure signal to stop charging to prevent the adapter 110 from outputting a voltage that is too high to damage the battery 160.

[0095] The protection circuit 180 can respond to the above-mentioned shutdown control signal to stop the operation of the above-mentioned protection circuit 180 and cause the protection circuit 180 to be open, so that the output signal of the adapter 110 cannot be transmitted to the battery 160, to ensure the safety of the battery 160.

[0096] The application also provides a power supply system, a power supply device is connected with an external adapter 110 based on a device to be charged; the power supply device can include a processor 140, a power management integrated circuit 120 and a protection circuit 180. Wherein, the processor 140 receives attribute information of a battery 160; the charging controller is connected with the processor 140, the adapter 110 and the battery 160; the protocol module 142 is integrated in the charging controller and connected with the processor 140 and the adapter 110, for transmitting the attribute information to the adapter 110 according to a preset protocol so that the adapter 110 can adjust an output signal according to the attribute information, and feeds 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 closed control signal according to the transmission completion signal; the protection circuit 180 is connected with the adapter 110, the battery 160 and the charging controller, for transmitting the output signal to the battery 160 in response to the closed control signal.

[0097] The specific details of the processor 140, the adapter 110, the power management integrated circuit 120 and the protection circuit 180 in the above system have been described in detail in the embodiment of the device part, and the undisclosed details can refer to the embodiment content of the device part, so it is not repeated here.

[0098] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the application be limited only by the scope of the claims, a properly construed, and any equivalents thereof. It is intended that the specification and examples be considered exemplary only, with the true scope and spirit of the application being indicated by the following claims.

[0099] It is to be understood that the application is not limited in its application to the details of construction and the arrangement of components set forth in the above description or illustrated in the above figures. The application is capable of other embodiments and of being practiced or being carried out in various ways. Other embodiments and modifications thereto will occur to those skilled in the art upon reading the preceding description and accompanying figures. The foregoing description details certain embodiments of the application. It will be apparent, however, to one skilled in the art that modifications and / or changes can be made thereto without departing from the scope or spirit of the application.

Claims

1. A power supply device, the power supply device being based on a device to be charged, the device to be charged being connected with an external adapter; the power supply device comprising: a processor comprising a digital signal processing module and a protocol module; a power management integrated circuit connected to the processor, the adapter and a 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; wherein the digital signal processing module is configured to receive parameter information of the battery; the protocol module is connected to the adapter through a GPIO interface via the power management integrated circuit, and is configured to transmit 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 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 the closing control signal according to the transmission completion signal, the parameter information comprising a handshake signal, and the protocol module is further configured to receive the handshake signal sent by the digital signal processing module, and adjust the protocol module to an idle state. The power management integrated circuit further comprises: a voltage level converter connected between the adapter and the protocol module, configured to convert a communication level signal of the adapter into a communication level signal adapted to the protocol module. The power supply device further comprises: a data acquisition module connected to the digital signal processing module, configured to acquire the parameter information and transmit the parameter information to the digital signal processing module. The digital signal processing module comprises: an analog-to-digital conversion module configured to perform analog-to-digital conversion on the parameter information; and a protocol processing module configured to receive a communication signal of the protocol module, and transmit the parameter information to the adapter according to the preset protocol. The protocol module is further configured to: receive a protocol sending instruction sent by the adapter, and adjust the protocol module to a data receiving state; when receiving protocol content sent by the adapter, adjust the protocol module to a data sending state, and send a data acquisition instruction to the digital signal processing module; receive parameter information sent by the digital signal processing module according to the data acquisition instruction, and adjust the protocol module to a data sending state; and send the parameter information to the adapter, and adjust the protocol module to an idle state. When the adapter does not receive the parameter information, the protocol module feeds back a transmission failure signal of the parameter information to the digital signal processing module, so that the digital signal processing module controls the power management integrated circuit to generate an off control signal according to the transmission completion signal; and the protection circuit is turned off in response to the off control signal.

2. The apparatus of claim 1, wherein, The power management integrated circuit further comprises: a charge pump configured to generate the closing control signal and the off control signal; and the protection circuit comprises at least one switching transistor configured to transmit the output signal of the adapter to the battery in response to the closing control signal, or configured to be turned off in response to the off control signal. ​ 3. The apparatus of claim 1, wherein, ​ ​ 4. The apparatus of claim 1, wherein, ​ ​ ​ 5. The apparatus of claim 1, wherein, ​ ​ ​ ​ ​ 6. The apparatus of claim 1, wherein, ​ ​ 7. The apparatus of claim 6, wherein, ​ ​ ​ 8. The apparatus of claim 1, wherein, The protocol module comprises a digital circuit state machine.

9. The apparatus of claim 1, wherein, The parameter information comprises handshake signals, voltage, current and temperature of the battery.

10. A power supply providing method characterized by comprising: The method comprises: receiving the parameter information of the battery by a digital signal processing module in the processor; transmitting the parameter information to the adapter according to a preset protocol by a protocol module integrated in the processor, so that the adapter can adjust the 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 the power management integrated circuit to generate a closing control signal according to the transmission completion signal; transmitting the output signal of the adapter to the battery by a protection circuit in response to the closing control signal; The parameter information comprises handshake signals, and the protocol module is further configured to receive the handshake signals sent by the digital signal processing module and adjust the protocol module to an idle state.

11. The method of claim 10, wherein, The method further comprises: collecting the parameter information by a data acquisition module and transmitting the parameter information to the processor.

12. The method of claim 10, wherein, The method further comprises: receiving a protocol transmission instruction sent by the adapter, and adjusting the protocol module to a data receiving state; when the protocol content sent by the adapter is received, adjusting the protocol module to a data sending state, and sending a data acquisition instruction to the digital signal processing module; receiving the 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; sending the parameter information to the adapter, and adjusting the protocol module to an idle state.

13. The method of claim 10, wherein, The method further comprises: if the adapter does not receive the parameter information, feeding back a transmission failure signal of the parameter information to the digital signal processing module, so that the digital signal processing module controls the power management integrated circuit to generate an off control signal according to the transmission completion signal; the protection circuit is turned off in response to the off control signal.

14. The method of claim 10, wherein, In response to the closing control signal, the output signal is converted into an input signal matched with the battery and transmitted to the battery, comprising: in response to the closing control signal, the output voltage in the output signal is converted into an input signal comprising an input voltage matched with the battery and transmitted to the battery.

15. A power supply providing system characterized by comprising: The system comprises a device to be charged and an adapter connected to each other, wherein the device to be charged comprises a processor, a power management integrated circuit and a protection circuit; The processor comprises a digital signal processing module and a protocol module; The power management integrated circuit is connected to the processor, the adapter and the battery; The protection circuit is connected to the adapter, the battery and the power management integrated circuit, and is configured to transmit the output signal of the adapter to the battery in response to a closing control signal; The digital signal processing module is configured to receive parameter information of the battery; ​ The protocol module is connected with the adapter through a GPIO interface and a power management integrated circuit, and is configured to transmit 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 feed 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; the parameter information includes a handshake signal, and the protocol module is further configured to receive the handshake signal sent by the digital signal processing module, and adjust the protocol module to an idle state.

16. The system of claim 15, wherein, The power management integrated circuit further comprises: a voltage level converter connected between the adapter and the protocol module, configured to convert a communication level signal of the adapter into a communication level signal adapted to the protocol module.

17. The system of claim 15, wherein, The power supply system further comprises: a data acquisition module connected to the digital signal processing module, configured to acquire the parameter information and transmit the parameter information to the digital signal processing module.

18. The system of claim 15, wherein, The digital signal processing module comprises: an analog-to-digital conversion module configured to perform analog-to-digital conversion on the parameter information; a protocol processing module configured to receive a communication signal of the protocol module, and transmit the parameter information to the adapter according to the preset protocol.

19. The system of claim 15, wherein, The protocol module is further configured to: receive a protocol sending instruction sent by the adapter, and adjust the protocol module to a data receiving state; when receiving protocol content sent by the adapter, adjust the protocol module to a data sending state, and send a data acquisition instruction to the digital signal processing module; receive parameter information sent by the digital signal processing module according to the data acquisition instruction, and adjust the protocol module to a data sending state; send the parameter information to the adapter, and adjust the protocol module to an idle state.

20. The system of claim 15, wherein, When the adapter does not receive the parameter information, the protocol module feeds back a transmission failure signal of the parameter information to the digital signal processing module, so that the digital signal processing module controls the power management integrated circuit to generate an off control signal according to the transmission completion signal; The protection circuit is turned off in response to the off control signal.

Citation Information

Patent Citations

  • Terminal and battery charging control device and method

    CN103779907A

  • Charging control method, electronic device, power adapter and charging control system

    WO2019113738A1