CN113036859A - 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
CN113036859A
CN113036859A CN202110275696.9A CN202110275696A CN113036859A CN 113036859 A CN113036859 A CN 113036859A CN 202110275696 A CN202110275696 A CN 202110275696A CN 113036859 A CN113036859 A CN 113036859A
Authority
CN
China
Prior art keywords
state
digital signal
attribute information
signal processor
adapter
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
CN202110275696.9A
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 CN202110275696.9A priority Critical patent/CN113036859A/en
Publication of CN113036859A publication Critical patent/CN113036859A/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/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits
    • 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/02Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries for charging batteries from ac mains by converters

Abstract

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, where a digital signal processor in the power supply device receives attribute information of a battery; the charging controller is connected with the processor, the adapter and the battery; the protocol physical layer is connected with the digital signal processor and the adapter and used for transmitting the attribute information to the adapter according to a preset protocol so that the adapter can adjust the output signal according to the attribute information and feed back a transmission completion signal of the attribute information to the processor so that the digital signal processor generates a closing control signal; the software control module is integrated in the digital signal processor, detects the working state of the digital signal processor in real time, and generates a turn-off control signal when the working state does not meet a first preset condition; the protection module is connected to the adapter, the battery and the protocol physical layer, responds to the closing control signal, and transmits the output signal to the battery or responds to the closing control signal to be closed.

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 disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to a power supply device and a power supply method, so as to overcome the problems of the prior art that the power supply device requires an independent MCU processor, which is high in cost, and large in occupied area.
According to a first aspect of the present disclosure, a power supply apparatus is provided, the power supply apparatus is based on a device to be charged, the device to be charged is connected with an external adapter; the power supply device includes:
a digital signal processor receiving attribute information of the battery;
a charge controller connected to the processor, the adapter, and the battery;
the protocol physical layer is connected with the digital signal processor and the adapter and used for transmitting the attribute information to the adapter according to a preset protocol so that the adapter can adjust an output signal according to the attribute information and feeding back a transmission completion signal of the attribute information to the processor so that the digital signal processor controls the charging controller to generate a closing control signal according to the transmission completion signal;
the software control module is integrated with the digital signal processor and used for detecting the working state of the digital signal processor in real time and controlling the charge controller to generate a turn-off control signal when the working state does not meet a first preset condition;
and the protection module is connected with the adapter, the battery and the protocol physical layer and used for responding to the closing control signal and transmitting the output signal to the battery, or the protection module responds to the closing control signal and is closed. (ii) a
According to a second aspect of the present disclosure, there is provided a power supply method including:
receiving, by a digital signal processor, attribute information of a battery;
transmitting the attribute information to an adapter according to a preset protocol through a protocol physical layer integrated in a charging controller so that the adapter can adjust an output signal according to the attribute information, and feeding back a transmission completion signal of the attribute information to a digital signal processor so that the digital signal processor controls the charging controller to generate a closing control signal according to the transmission completion signal;
detecting the working state of the digital signal processor in real time through a software control module integrated with the digital signal processor, and controlling the charge controller to generate a turn-off control signal when the working state does not meet a first preset condition;
transmitting, by a protection module, the output signal to the battery in response to the close control signal; or the protection module responds to the turn-off control signal to turn off.
According to a third aspect of the present disclosure, 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 the power supply apparatus of any one of the above.
The power supply device, the power supply method and the power supply system provided by an embodiment of the disclosure receive attribute information of a battery by a digital signal processor and transmit the attribute information to an adapter through a protocol physical layer integrated in a charge controller, the adapter adjusts an output signal of the adapter according to the attribute information and feeds back a transmission completion signal of the attribute information to the digital signal processor, so that the digital signal processor controls the charge controller to generate a close control signal according to the transmission completion signal, a software control module integrated in the digital signal processor detects a working state of the digital signal processor in real time, controls the charge controller to generate a close control signal when the working state does not satisfy a first preset condition, a protection module is connected to the adapter, the battery and the charge controller and is used for responding to the close control signal, transmitting an output signal to the battery or turning off in response to the turn-off control signal. Compared with the prior art, on one hand, the data processing is completed without adopting an independent MCU (microprogrammed control unit), only a protocol physical layer is integrated on one side of the charging point controller to complete the communication, and the data processing process is executed by a digital signal 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. On the other hand, the software control module is adopted to detect the working state of the digital signal processor in real time, and when the working state of the digital signal module does not meet the first preset condition, the charging controller is controlled to generate a turn-off control signal, so that the charging safety of the charging equipment can be ensured.
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 disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
fig. 1 is a schematic diagram showing a power supply apparatus in the related art;
FIG. 2 schematically illustrates a schematic diagram of a power supply apparatus in an exemplary embodiment of the disclosure;
FIG. 3 schematically illustrates a schematic diagram of a power supply apparatus after thinning a processor in an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating an overall refinement of a power supply apparatus according to an exemplary embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow chart of hardware generation of a shutdown control signal in an exemplary embodiment of the disclosure;
fig. 6 schematically illustrates a data flow diagram for transmitting the attribute information to the adapter according to a preset protocol in an exemplary embodiment of the present disclosure;
fig. 7 schematically shows a flowchart of determining whether a device to be charged is connected to an adapter in an exemplary embodiment of the present disclosure;
FIG. 8 schematically illustrates a flow chart for restarting a digital signal processor in an exemplary embodiment of the present disclosure;
FIG. 9 schematically illustrates a schematic diagram of a power supply apparatus after refining an adapter in an exemplary embodiment of the present disclosure;
FIG. 10 schematically illustrates a detailed structural diagram of an adapter in an exemplary embodiment of the present disclosure;
FIG. 11 schematically illustrates a flow chart of a method of providing power in an exemplary embodiment of the disclosure;
fig. 12 schematically shows a flowchart for transmitting the attribute information to the adapter according to a preset protocol in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In the related art, as the charging technology in the mobile phone industry is continuously developed, a large number of fast charging technologies such as PD, QC, VOOC/SUPERVOOC emerge, as shown in fig. 1, the power supply device 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 core processor 200, 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 when detecting the attribute information of the battery 160, the detection is simultaneously completed in the independent MCU130 and the core processor 200 in the device to be charged. Meanwhile, a charging controller 120 is configured, the charging controller is connected to the core processor 200 through a PMIC (Power Management Integrated Circuit) 170, the adapter 110 is connected to the core processor 200 through a universal asynchronous receiver/transmitter transmission line, a USB switch is used to control the switching of the lines, and a charging type determining module 124 is disposed in the charging controller 120 to determine whether the signal flow of the output signal of the adapter 110 needs to be started.
The power supply device in the related art adopts an independent MCU processor, so that the cost is high, the maintenance of independent firmware is needed, the cost is high, and the occupied area is large.
In view of the above disadvantages, the present disclosure first provides a power supply apparatus capable of solving one or more of the above problems to some extent, as shown in fig. 2, the power supply apparatus is based on a device to be charged, which is connected to an external adapter 110; the power supply device may include a digital signal processor 140, a charge controller 120, a protocol physical layer 122 integrated with the charge controller 120, a software control module 143 integrated with the digital signal processor 140, and a protection module 180. Wherein the digital signal processor 140 receives attribute information of the battery 160; the charge controller 120 is connected to the digital signal processor 140, the adapter 110, and the battery 160; the protocol physical layer 122 is integrated in the charge controller 120, connected to the dsp 140 and the adapter 110, and configured to transmit the attribute information to the adapter 110 according to a preset protocol so that the adapter 110 can adjust the output signal according to the attribute information, and feed back a transmission completion signal of the attribute information to the dsp 140 so that the dsp 140 controls the charge controller 120 to generate a close control signal according to the transmission completion signal; the software control module 143 is integrated with the digital signal processor 140, and is configured to detect a working state of the digital signal processor 140 in real time, and control the charge controller to generate a shutdown control signal when the working state does not satisfy a first preset condition; the protection module 180 is connected to the adapter 110, the battery 160, and the protocol phy 122, and is configured to transmit an output signal to the battery 160 in response to a close control signal, or to be turned off in response to a turn-off control signal.
Compared with the prior art, on one hand, the data processing is completed without adopting an independent MCU (microprogrammed control unit), only a protocol physical layer 122 is integrated on one side of the charging point controller to complete the communication, and the data processing process is executed by the digital signal processor 140 in the equipment to be charged, so that the complexity of the power supply device is simplified, the cost is reduced, and the occupied area of the power supply device is reduced. On the other hand, the software control module 143 is used for detecting the working state of the digital signal processor 140 in real time, and when the working state of the digital signal module does not meet the first preset condition, the charging controller is controlled to generate a turn-off control signal, so that the charging safety of the charging equipment can be ensured.
In an example embodiment of the present disclosure, referring to fig. 3, the dsp 140 is integrated into a device to be charged, which may be a portable electronic device such as a laptop computer, a mobile phone, and a Personal Digital Assistant (PDA). The digital signal processor 140 may include an analog-to-digital conversion module 142 and a protocol processing module 141, wherein the analog-to-digital conversion module 142 is configured to perform analog-to-digital conversion on the received attribute information, and the protocol processing module 141 is configured to receive a communication signal of the protocol physical layer 122 and transmit the attribute information to the adapter 110 according to a preset protocol.
In an exemplary embodiment of the disclosure, the power tube providing apparatus may further include a core processor 200, connected to the digital signal processor 140, for controlling display contents of the device to be charged according to information sent by the digital signal processor 140, for example, when the digital signal processor 140 is adapted to the adapter 110 and establishes communication, starting direct charging, the digital signal processor 140 sends a direct charging starting signal to the core processor 200, and the core processor 200 controls the plug charging device to display a direct charging identifier according to the direct charging starting signal. The core processor 200 may be connected to the dsp 140 via a GLINK bus.
In an example embodiment of the present disclosure, the power supply device may further include a data acquisition module 150, where the data acquisition module 150 is integrated with the device to be charged, and is configured to acquire the attribute information of the battery 160 and transmit the attribute information to the digital signal 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 digital signal processor 140 through an I2C bus, so as to transmit the attribute information to the digital signal processor 140.
In the real-time manner of this example, the data acquisition module 150 may acquire the attribute information of the battery 160 once every other preset time, where the preset time may be 5 milliseconds, 10 milliseconds, and the like, and may also be customized according to a user requirement, and is not specifically limited in this example embodiment.
In this exemplary embodiment, after receiving the attribute information acquired by the data acquisition module 150, the digital signal processor 140 performs analog-to-digital conversion on the attribute information by using the analog-to-digital conversion module 142, and the digital signal 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 disclosure, the protocol physical layer 122 is connected to the digital signal processor 140 and the adapter 110, and configured to transmit an attribute signal to the adapter 110 according to a preset protocol, so that the adapter 110 can adjust an output signal according to the attribute information, and simultaneously feed back a transmission completion signal of the attribute information to the digital signal processor 140, so that the digital signal processor 140 controls the charge controller 120 to generate a close control signal according to the transmission completion signal, where the protocol physical layer 122 may be implemented by a digital circuit state machine.
In the present exemplary embodiment, the battery 160 is a secondary battery 160, which can be recharged using the charging voltage provided by the adapter 110, and the battery 160 can also be formed by at least one battery 160 cell having a specific electronic voltage and capable of outputting a voltage. The battery 160 supplies data information about the battery 160, which may be included in the above-described attribute information, and the data information may include a full charge bit of the battery 160, a full charge capacity of the battery 160, and the like.
In the present exemplary embodiment, as shown in fig. 4, the protocol phy 122 may be connected to the digital signal processor 140 through a data transmission line 420 and an interrupt line 410; the protocol physical layer 122 may be connected to the adapter 110 via a universal serial bus. The data transmission line 420 may be an I2C bus, an SPI (Serial Peripheral Interface) bus, or an SPMI bus, which is not limited in this exemplary embodiment.
In the present exemplary embodiment, a handshake signal sent by the digital signal processor 140 is received, and the protocol physical layer 122 is adjusted to an idle state; receiving a protocol sending instruction sent by the adapter, and adjusting the protocol physical layer 122 to a data receiving state; when receiving the protocol content sent by the adapter, the protocol physical layer 122 is adjusted to a waiting data sending state, and sends a data acquisition instruction like the digital signal processor 140; receiving the attribute information sent by the digital signal processor 140 according to the data acquisition instruction, and adjusting the protocol physical layer 122 to a data sending state; the attribute information is sent to the adapter and the protocol physical layer 122 is adjusted to an idle state.
In an example embodiment of the present disclosure, when the protocol physical layer 122 is in a data receiving state and does not receive the attribute information sent by the digital signal processor 140 according to the data obtaining instruction within a second preset time, the protocol physical layer 122 feeds back a transmission failure signal of the attribute information to the digital signal processor 140, so that the digital signal processor 140 controls the charge controller to generate the shutdown control signal according to the transmission failure signal. The second preset time may be 100ms, or may be customized according to a user requirement, which is not specifically limited in this exemplary embodiment.
In an example embodiment of the present disclosure, when the protocol physical layer 122 is in a data receiving state and the attribute information sent by the digital signal processor 140 according to the data acquisition instruction does not satisfy the second preset condition within the third preset time, the protocol physical layer 122 feeds back a transmission failure signal of the attribute information to the digital signal processor 140, so that the digital signal processor 140 controls the charge controller to generate the shutdown control signal according to the transmission failure signal. For example, the integrity of a frame of data is monitored, the data of one frame is 18 bits and 1bit is 600us, and the time between two frames is greater than 25ms, then the monitoring of the integrity of one frame is the starting time from the first 1bit of the received frame, if 18 bits are not received within 25ms, the frame is considered to be not a complete frame, and at this time, the phy layer 122 feeds back a transmission failure signal of the attribute information to the dsp 140.
When the protocol physical layer 122 is in a data idle state and does not receive a protocol transmission instruction sent by the adapter within a fourth preset time, the protocol physical layer 122 feeds back a transmission failure signal of the attribute information to the digital signal processor 140, so that the digital signal processor 140 controls the charge controller to generate a shutdown control signal according to the transmission failure signal. The fourth preset time may be 200ms, 210ms, or the like, or may be customized according to a user requirement, which is not specifically limited in this example embodiment. For example, if the data sent from the adaptor is not received within 200ms from the beginning of the end of receiving the frame data, the adaptor is considered to be pulled out from the hardware, that is, the protocol transmission command sent by the adaptor is not received within the fourth preset time, and the protocol physical layer 122 feeds back a transmission failure signal of the attribute information to the digital signal processor 140.
In the present exemplary embodiment, when the protocol physical layer 122 is in the data receiving state and the attribute information sent by the dsp 140 according to the data obtaining instruction is not received within the second preset time may be taken as the first error, and when the protocol physical layer 122 is in the data receiving state and the attribute information sent by the dsp 140 according to the data obtaining instruction is not satisfied with the second preset condition within the third preset time may be taken as the second error; and when the protocol physical layer 122 is in a data idle state, and the protocol sending instruction sent by the adapter is not received within the fourth preset time is taken as a third error. Referring to fig. 5, after the step S510 is executed, that is, after the protection module is turned off in response to the off control signal, step S520 is executed to read the error status register, that is, the software will read the error status register to determine that the error occurs, and if any one of the first error, the second error and the third error is detected, the variable indicating the fast charge state needs to be cleared; and simultaneously executing step S530, resetting the protocol physical layer 122, stopping the communication between the protocol physical layer 122 and the adapter, and closing the watchdog software with overtime communication, specifically, resetting the protocol physical layer 122, stopping the communication between the protocol physical layer 122 and the adapter, and finally closing the watchdog software with overtime communication.
Specifically, referring to fig. 6, step S610 may be executed first, the digital signal processor 140 sends a handshake signal, when the protocol physical layer 122 receives the handshake signal sent by the digital signal processor 140, that is, it indicates that the charging interface is connected to the device to be charged, at this time, step S620 may be executed, the protocol physical layer 122 may jump 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 issues a protocol sending instruction, after the protocol physical layer 122 receives the protocol sending instruction, step S630 may be executed, the protocol physical layer 122 jumps to a DATA receiving state (RECV _ DATA state), and then the adapter 110 sends protocol content, where the protocol content may be DATA that needs to be received, that is, the DATA that needs to be received includes one or more of the above attribute information, the protocol content may also include a bit number of data to be received, for example, 8-bit data, 9-bit data, etc., and the protocol phy 122 includes a received data counting function in the received attribute information.
After the protocol physical layer 122 receives the protocol content, step S650 may be executed, where the protocol physical layer 122 jumps to a WAIT for DATA transmission state (WAIT _ TX _ DATA state) and transmits a DATA acquisition instruction to the digital signal processor 140; after receiving the data acquisition instruction, the dsp 140 sends the attribute information to the protocol phy 122 according to the data acquisition instruction, where the attribute information includes all attribute information required in the protocol content, such as the current of the battery 160, the temperature of the battery 160, and the like. After the protocol physical layer 122 receives the attribute information, step S660 may be performed, in which the protocol physical layer 122 jumps to a DATA transmission state (SEND _ DATA state), then transmits the attribute information to the adaptor 110, and then jumps to an IDLE state (IDLE state).
In the present exemplary embodiment, when the protocol phy 122 does not receive the attribute information sent by the dsp 140, or the received attribute information is incomplete, that is, the data reception is wrong, step S640 may be executed to jump the protocol phy 122 to the off state (DISABLE state), where when the received attribute information is incomplete, for example, the data required to be obtained in the protocol content may include the voltage, the current, and the temperature of the battery 160, but the received attribute information includes only the voltage and the current of the battery 160, and there is no temperature information, and it is determined that the received attribute information is incomplete. 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 physical layer 122 is not enough for 8-bit data, such as 6-bit data, 7-bit data, etc., step S640 may be executed to jump the protocol physical layer 122 to the off state (DISABLE state).
In the present exemplary embodiment, when the protocol physical layer 122 transmits the attribute information to the adapter 110, it is detected whether a transmission completion signal, that is, an electrical signal is the same level signal for a certain time, for example, a low level signal for 50 milliseconds, a high level signal for 40 milliseconds, or the like, has occurred when the attribute information is transmitted. The certain time may be 50 milliseconds, 40 milliseconds, 60 milliseconds, or the like, or may be customized according to user requirements, and the same level signal may be a high level signal or a low level signal, which is not specifically limited in this exemplary embodiment.
When the occurrence of the transmission completion signal is detected, indicating that the data transmission is normal and the data transmission is completed, step S620 may be executed to jump the protocol physical layer 122 to an IDLE state (IDLE state) and wait for the next round of data reception. If the transmission completion signal is not received after the data transmission is completed, that is, the protocol physical layer 122 is still transmitting data after the data with the corresponding bit number is transmitted, and it is determined that the transmission attribute information is abnormal at this time, step S640 may be executed to jump the protocol physical layer 122 to a shutdown state (DISABLE state).
In the present exemplary embodiment, the protocol phy 122 may receive a shutdown signal sent by the dsp 140, and directly jump the protocol phy 122 to a shutdown state (DISABLE state). When the protocol phy 122 is in the off state (IDLE state), the protocol phy 122 may jump to the IDLE state (IDLE state) in response to an enable signal sent by the digital signal processor 140.
In the present exemplary embodiment, if there is no abnormality in the transmission process of the attribute information, that is, the adapter 110 receives complete attribute information, the protocol physical layer 122 sends an attribute information transmission completion signal to the digital signal processor 140, and the digital signal processor 140 controls the charge controller 120 to generate a close control signal, and if the protocol physical layer 122 is in a close state (DISABLE state), the protocol physical layer 122 generates a transmission failure signal of the attribute information, and the digital signal processor 140 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 charging controller 120 is also integrated inside the device to be charged, the device to be charged is connected to the adapter 110 through a USB interface, and includes a first USB switch 190 at the USB interface, wherein the first USB switch 190 is a shunt switch element, and the line is divided into two paths, one of the two paths is directly connected to the digital signal processor 140 through a Universal Asynchronous Receiver/Transmitter (USB Asynchronous Receiver/Transmitter) 430, for transmitting serial data, for example, downloading a file to the device to be charged, or uploading a file from the device to be charged.
In the present exemplary embodiment, the second path of the first USB switch 190 is connected to the second USB switch 123 disposed inside the charging controller 120, the second USB switch 123 may also be a shunt switch, and is respectively connected to the protocol physical layer 122 and the charging type determining module 124, and when the charging type determining module 124 determines that the USB interface is connected to the adapter 110, the second USB switch 123 is connected to the protocol physical layer 122, so as to complete the communication between the adapter 110 and the dsp 140.
In the present exemplary embodiment, the charging controller 120 may be configured to convert the output signal of the adapter 110 into a preset input signal and transmit the battery 160 when the adapter 110 is not adapted to the dsp 140, that is, when the dsp 140 cannot transmit the attribute information to the adapter 110 through the protocol physical layer 122, where the preset input signal may be an electrical signal of 5V and 2A, and the preset input signal may also 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 specifically limited in the present exemplary embodiment.
The charging controller 120 can ensure that the digital signal 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 charge controller 120 may further include a driving signal generation module, configured to receive an instruction of the digital signal 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 digital signal processor 140 receives a transmission completion signal of the attribute information; the protection module 180 is turned on, and thus the output signal can be transmitted to the battery 160 through the protection module 180. Or when the digital signal processor 140 receives the attribute information transmission failure signal, the digital signal processor 140 controls the charge pump 121 to generate an off control signal, so that the protection module 180 cannot pass current to protect the battery 160.
In the present exemplary embodiment, the software control module 143 is integrated with the digital signal processor 140, and is configured to monitor the operating state of the digital signal processor 140 in real time, and generate a shutdown control signal when the digital signal processor 140 does not satisfy a first preset condition.
In this example embodiment, the operating state may include a start-up state and a shut-down state, in an example embodiment, when the operating state of the digital signal processor 140 is a shut-down state, the charge controller is controlled to generate a shut-down control signal, in another example embodiment, the operating state of the digital signal processor 140 is a shut-down state, and when the restart time exceeds a first preset time, the shut-down control signal is generated, where the first preset time may be 1 second, 1.1 second, or the like, or may be customized according to a user requirement, and is not specifically limited in this example embodiment. The danger caused by the voltage of the battery flowing backwards when the user performs data transmission after finishing charging can be prevented.
In an exemplary embodiment of the disclosure, referring to fig. 7, step S710 is first performed to detect an output signal of the adapter in real time when the operating state of the digital signal processor changes to the off state, and then step S720 is performed to determine that the adapter and the charging controller are in the connected state if the output signal is greater than or equal to a preset value. If the output signal is less than or equal to the preset value, step S730 is executed, and the output signal is fed back to the core processor 200 to clear all the direct charging states, where the preset value may be 2V, 3V, or the like, and may also be customized according to a user requirement, which is not specifically limited in this exemplary embodiment. If the value is larger than the preset value, it indicates that the adapter and the device to be charged are still in a connected state, and if the value is smaller than the preset value, it is determined that the user just disconnects the adapter and the device to be charged when the digital signal processor 140 charges air.
Specifically, referring to fig. 8, when the dsp 140 system starts to start initialization, the vooc _ err _ crash _ cb _ register is used to register the callback function of the shutdown state of the dsp 140, and once step S810 is executed, that is, when the operating state of the dsp 140 becomes the shutdown state, step S820 is executed to call the callback function to shut down the protection module.
In the present exemplary embodiment, after the dsp 140 is normally in the off state, the dsp is restarted within 1S, step S830 is executed, the dsp is restarted and step S840 is executed after the restart, the core processor is informed of the successful restart through the GLINK bus, specifically, the core processor 200 is informed of the successful restart through the GLINK bus, the restart clears all the global variables that were previously set, because the dsp 140 runs more than the core processor 200, the core processor 200 has not been initialized, the direct charging and identification of the OTG is not allowed, otherwise, the dsp 140 recognizes the fast charging and the OTG and the adapter identification and OTG identification of the core processor 200 are omitted, so step S850 may be executed, a work queue may need to be restarted and executed after the first preset time is delayed, wherein the first preset time may be 1 second, 1.1 second, etc. Or customized according to the user' S requirement, and finally step S860 can be executed to reset the dsp 140 to allow the core processor to re-enable the protocol phy 122 and enable the otg.
It should be noted that, when the dsp 140 is restarted, all registers are initialized to the default state, and if the dsp 140 is initialized fast enough, for example, the initialization is completed within one second, the section control signal may not be generated.
In the present exemplary embodiment, referring to fig. 4, the protection module 180 may include at least one switching transistor, for example, two, three, etc., which are not specifically limited in the present exemplary embodiment, wherein the switching transistors each have a control terminal, a first terminal, and a second terminal. Specifically, the control terminal of the switching transistor may be a gate, the first terminal may be a source, and the second terminal may be a drain; or the control terminal of the switching transistor may be a gate, the first terminal may be a drain, and the second terminal may be a source. In addition, the switching transistor may be an enhancement transistor or a depletion transistor, which is not particularly limited in the present exemplary embodiment.
In the present exemplary embodiment, the switch transistors are connected to the driving signal generating module, when the number of the switch transistors is two, the control terminals of the two switch transistors are both connected to the driving signal generating module, the first terminal of the first switch transistor is connected to the adapter 110, the second terminal of the first switch transistor is connected to the first terminal of the second switch transistor, and the second terminal of the second switch transistor is connected to the battery 160. The switching element may control the switching element to turn on in response to a closing control signal and turn off the switching element upon receiving a turn-off control signal.
In the present exemplary embodiment, as shown with reference to fig. 9, 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 one embodiment of the present disclosure may include an AC/DC converter 111 and an adapter controller 112.
The AC/DC converter 111 converts the input AC power into DC power and outputs the DC power. The AC/DC converter 111 may selectively convert the input AC power into a DC power Va of a specific level corresponding to a plurality of voltage levels according to a signal provided by the controller 112 and output the DC power. The DC power output from the AC/DC converter 111 is output to the battery 160.
The controller 112 determines the output signals, i.e., the output voltage and the output current, of the AC/DC converter 111 from the electronic voltage obtained from the protocol physical layer 122 and the attribute information.
Referring to fig. 10, 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. 10, the adapter 110 may further include a rectifying circuit R1 and a voltage conversion module S1. Among them, the rectifier circuit R1 is used to convert an alternating-current voltage received from an AC into a direct-current voltage, such as a pulsating direct-current voltage.
In addition, in order to obtain a stable dc voltage (e.g., a constant dc voltage), the adapter 110 may further include: the filter circuit F1 is connected to the output end of the rectifier circuit R1, and is configured to filter the dc voltage output by the rectifier circuit R1.
The present disclosure is not limited to the 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 realize 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 phy 122 is integrated on the side of the low charging point controller 112 to complete communication, and the data processing process is executed by the dsp 140 in the device to be charged, so that the complexity of the power supply apparatus is simplified, the cost is reduced, and the occupied area of the power supply apparatus is reduced. The software control module is adopted to detect the working state of the digital signal processor in real time, and when the working state of the digital signal module does not meet a first preset condition, the charging controller is controlled to generate a turn-off control signal, so that the charging safety of the charging equipment can be ensured.
Further, the present disclosure also provides a power supply method, and as shown in fig. 11, the power supply method includes the following steps:
step S1110, receiving attribute information of the battery through the digital signal processor;
step S1120, transmitting the attribute information to an adapter according to a preset protocol through a protocol physical layer integrated in a charging controller so that the adapter can adjust an output signal according to the attribute information, and feeding back a transmission completion signal of the attribute information to a digital signal processor so that the digital signal processor controls the charging controller to generate a closing control signal according to the transmission completion signal;
step S1130, detecting the working state of the digital signal processor in real time through a software control module integrated with the digital signal processor, and controlling the charge controller to generate a turn-off control signal when the working state does not meet a first preset condition;
step S1140, responding to the closing control signal through a protection module, and transmitting the output signal to the battery; or the protection module responds to the turn-off control signal to turn off.
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 disclosure, referring to fig. 12, transmitting the attribute information to the adaptor according to a preset protocol may include steps S1210 to S1250, which are specifically as follows:
step S1210, receiving handshake signals sent by the digital signal processor, and adjusting a protocol physical layer to an idle state;
step S1220, receiving a protocol transmission instruction transmitted by the adapter, and adjusting the protocol physical layer to a data reception state;
step S1230, when receiving the protocol content sent by the adaptor, adjusting the protocol physical layer to a waiting data sending state, and sending a data acquisition instruction like the digital signal processor 140
Step S1240, receiving the attribute information sent by the digital signal processor according to the data acquisition instruction, and adjusting the protocol physical layer to a data sending state;
step S1250, sending the attribute information to the adapter, and adjusting the protocol physical layer to an idle state.
Specifically, the dsp 140 sends a handshake signal, when the protocol phy 122 receives the handshake signal sent by the dsp 140, that is, when the charging interface is connected to the device to be charged, the protocol phy 122 may be adjusted to an IDLE state (IDLE state) to prepare for DATA transmission, and at the same time, the handshake signal is sent to the adaptor 110, the adaptor 110 receives the handshake signal and then sends a protocol sending instruction, after the protocol phy 122 receives the protocol sending instruction, the protocol phy 122 jumps to a DATA receiving state (RECV _ DATA state), and then the adaptor 110 sends protocol content, where the protocol content may be DATA to be received, that is, the DATA to be received includes one or more of the above attribute information, and the protocol content may also be the number of bits of the DATA to be received, for example, 8-bit DATA is received, 9 bits of data, etc., in which case the protocol phy 122 includes a received data count function in the received attribute information.
After the protocol phy 122 receives the protocol contents, the protocol phy 122 jumps to a WAIT for DATA transmission state (WAIT _ TX _ DATA state) and sends a DATA acquisition instruction to the digital signal processor 140; after receiving the data acquisition instruction, the dsp 140 sends the attribute information to the protocol phy 122 according to the data acquisition instruction, where the attribute information includes all attribute information required in the protocol content, such as the current of the battery 160, the temperature of the battery 160, and the like. After the protocol physical layer 122 receives the attribute information, the protocol physical layer 122 jumps to a DATA transmission state (SEND _ DATA state), then transmits the attribute information to the adapter 110, and then jumps to an IDLE state (IDLE state).
In this exemplary embodiment, if the adapter 110 does not receive the attribute information, a transmission failure signal of the attribute information is fed back to the digital signal processor 140, so that the digital signal processor 140 controls the charge controller 120 to generate a shutdown control signal according to the transmission completion signal, which may specifically include a plurality of cases, where when the protocol physical layer 122 does not receive the attribute information sent by the digital signal processor 140, or when the received attribute information is incomplete, that is, when data reception is in error, the protocol physical layer 122 jumps to a shutdown state (DISABLE state), where when the received attribute information is incomplete, for example, data to be acquired in the protocol content includes voltage, current, and temperature of the battery 160, but the received attribute information includes only voltage and current of the battery 160, and no temperature information, at this time, it is determined that the received attribute information is not complete. 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 physical layer 122 is not enough for 8-bit data, for example, 6-bit data, 7-bit data, and the protocol physical layer 122 jumps to the off state (DISABLE state).
In the present exemplary embodiment, when the protocol physical layer 122 transmits the attribute information to the adapter 110, it is detected whether a transmission completion signal, that is, an electrical signal is the same level signal for a certain time, for example, a low level signal for 50 milliseconds, a high level signal for 40 milliseconds, or the like, has occurred when the attribute information is transmitted. The certain time may be 50 milliseconds, 40 milliseconds, 60 milliseconds, or the like, or may be customized according to user requirements, and the same level signal may be a high level signal or a low level signal, which is not specifically limited in this exemplary embodiment.
When the sending completion signal is detected to be present, indicating that the data sending is normal and the data sending is completed, the protocol physical layer 122 is transferred to an IDLE state (IDLE state) to wait for the next round of data receiving. If the transmission completion signal is not received after the data transmission is completed, that is, after the data of the corresponding bit number is transmitted, the protocol physical layer 122 is still transmitting the data, and it is determined that the transmission attribute information is abnormal at this time, the protocol physical layer 122 is transitioned to a shutdown state (DISABLE state).
In the present exemplary embodiment, the protocol phy 122 may receive a shutdown signal sent by the dsp 140, and directly jump the protocol phy 122 to a shutdown state (DISABLE state). When the protocol phy 122 is in the off state (IDLE state), the protocol phy 122 may jump to the IDLE state (IDLE state) in response to an enable signal sent by the digital signal processor 140.
In the present exemplary embodiment, the protocol physical layer 122 sends an attribute information transmission completion signal to the digital signal processor 140, and the digital signal processor 140 controls the charging controller 120 to generate a closing control signal, if the protocol physical layer 122 is in a closed state (DISABLE state), the protocol physical layer 122 generates a transmission failure signal of the attribute information, and the digital signal processor 140 generates a closing control signal according to the transmission failure signal, and stops charging to prevent the battery 160 from being damaged by an excessively high output voltage of the adapter 110.
The protection module 180 may respond to the shutdown control signal to stop the operation of the protection module 180 and to generate an open circuit, so that the output signal of the adapter 110 cannot be transmitted to the battery 160, thereby ensuring the safety of the battery 160.
The present disclosure also provides a power supply system, wherein the power supply device is based on a device to be charged, and the device to be charged is connected with the external adapter 110; the details of the dsp 140, the adapter 110, the charging controller 120, the protocol physical layer 122, the software control module 143, and the protection module 180 in the above system are described in detail in the embodiment of the apparatus part, and details that are not disclosed may refer to the embodiment of the apparatus part, and thus are not described again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure 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 disclosed 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 (22)

1. A power supply apparatus, comprising:
a digital signal processor receiving attribute information of the battery;
a charge controller connected to the processor, adapter and the battery;
the protocol physical layer is connected with the digital signal processor and the adapter and used for transmitting the attribute information to the adapter according to a preset protocol so that the adapter can adjust an output signal according to the attribute information and feeding back a transmission completion signal of the attribute information to the processor so that the digital signal processor controls the charging controller to generate a closing control signal according to the transmission completion signal;
the software control module is integrated with the digital signal processor and used for detecting the working state of the digital signal processor in real time and controlling the charge controller to generate a turn-off control signal when the working state does not meet a first preset condition;
and the protection module is connected with the adapter, the battery and the protocol physical layer and used for responding to the closing control signal and transmitting the output signal to the battery, or the protection module responds to the closing control signal and is closed.
2. The apparatus of claim 1, wherein the operating state comprises an on state and an off state;
when the working state does not satisfy a first preset condition, controlling the charge controller to generate a turn-off control signal, including:
and when the working state of the digital signal processor is in a closed state, controlling the charge controller to generate a turn-off control signal.
3. The apparatus of claim 2, wherein the controlling the charge controller to generate a shutdown control signal when the off state occurs in the operating state of the digital signal processor comprises:
and when the working state of the digital signal processor is a closed state, the software control module calls a callback function and generates the turn-off control signal according to the callback function.
4. The apparatus of claim 1, wherein the operating state comprises an on state and an off state;
when the working state does not satisfy a first preset condition, controlling the charge controller to generate a turn-off control signal, including:
and generating a shutdown control signal when the working state of the digital signal processor is the shutdown state and the restart time exceeds a first preset time.
5. The device of claim 4, wherein when the operating state of the digital signal processor is an off state, an output signal of the adapter is detected in real time, and if the output signal is greater than or equal to a preset value, it is determined that the adapter and the charging controller are in a connected state.
6. The apparatus of claim 1, wherein the transmitting the attribute information to the adapter according to a preset protocol comprises:
receiving a handshake signal sent by the digital signal processor, and adjusting the protocol physical layer to be in an idle state;
receiving a protocol sending instruction sent by an adapter, and adjusting the protocol physical layer to a data receiving state;
when protocol content sent by the adapter is received, the protocol physical layer is adjusted to a state of waiting for data sending, and the digital signal processor sends a data acquisition instruction;
receiving attribute information sent by the digital signal processor according to the data acquisition instruction, and adjusting the protocol physical layer to a data sending state;
and sending the attribute information to the adapter, and adjusting the protocol physical layer to be in an idle state.
7. The apparatus according to claim 6, wherein when the protocol physical layer is in a data receiving state and does not receive the attribute information sent by the dsp according to the data obtaining instruction within a second preset time, the protocol physical layer feeds back a transmission failure signal of the attribute information to the dsp, so that the dsp controls the charge controller to generate the shutdown control signal according to the transmission failure signal.
8. The apparatus according to claim 6, wherein when the protocol physical layer is in a data receiving state and attribute information sent by the digital signal processor according to the data acquisition instruction is received within a third preset time and does not satisfy a second preset condition, the protocol physical layer feeds back a transmission failure signal of the attribute information to the digital signal processor, so that the digital signal processor controls the charge controller to generate a shutdown control signal according to the transmission failure signal.
9. The apparatus according to claim 6, wherein when the protocol physical layer is in a data idle state and a protocol transmission instruction sent by the adapter is not received within a fourth preset time, the protocol physical layer feeds back a transmission failure signal of the attribute information to the digital signal processor, so that the digital signal processor controls the charging controller to generate a shutdown control signal according to the transmission failure signal.
10. The apparatus of claim 1, wherein the charge controller further comprises:
a charge pump for generating a close control signal and a close control signal;
the protection module includes at least one switching transistor for transmitting the output signal to the battery in response to the close control signal or for turning off in response to the turn-off control signal.
11. The apparatus of claim 1, wherein the output signal of the adapter is adjusted to a preset input signal by the charge controller to be transmitted to the battery when the adapter is not compatible with the digital signal processor.
12. The apparatus of claim 1, wherein the power supply further comprises:
and the data acquisition module is connected with the digital signal processor and used for acquiring the attribute information and transmitting the attribute information to the digital signal processor.
13. The apparatus of claim 1, wherein the digital signal processor further comprises:
the analog-to-digital conversion module is used for performing analog-to-digital conversion on the attribute information;
and the protocol processing module is used for receiving the communication signal of the protocol physical layer and transmitting the attribute information to the adapter according to the preset protocol.
14. The apparatus of claim 1, wherein the protocol physical layer comprises a digital circuit state machine.
15. The apparatus of claim 1, wherein the attribute information comprises a handshaking signal, a voltage, a current, and a temperature of the battery.
16. A power supply method, comprising:
receiving, by a digital signal processor, attribute information of a battery;
transmitting the attribute information to an adapter according to a preset protocol through a protocol physical layer integrated in a charging controller so that the adapter can adjust an output signal according to the attribute information, and feeding back a transmission completion signal of the attribute information to a digital signal processor so that the digital signal processor controls the charging controller to generate a closing control signal according to the transmission completion signal;
detecting the working state of the digital signal processor in real time through a software control module integrated in the digital signal processor, and controlling the charge controller to generate a turn-off control signal when the working state does not meet a first preset condition;
transmitting, by a protection module, the output signal to the battery in response to the close control signal; or the protection module responds to the turn-off control signal to turn off.
17. The method of claim 16, wherein the operating state comprises an on state and an off state;
when the working state does not satisfy a first preset condition, controlling the charge controller to generate a turn-off control signal, including:
and when the working state of the digital signal processor is in a closed state, controlling the charge controller to generate a turn-off control signal.
18. The method of claim 17, wherein controlling the charge controller to generate a shutdown control signal when the operating state of the digital signal processor is in an off state comprises:
and when the working state of the digital signal processor is a closed state, the software control module calls a callback function and generates the turn-off control signal according to the callback function.
19. The method of claim 16, wherein the operating state comprises an on state and an off state;
when the working state does not satisfy a first preset condition, controlling the charge controller to generate a turn-off control signal, including:
and generating a shutdown control signal when the working state of the digital signal processor is the shutdown state and the restart time exceeds a first preset time.
20. The method of claim 19, further comprising:
and when the working state of the digital signal processor is a closed state, detecting an output signal of the adapter in real time, and if the output signal is greater than or equal to a preset value, judging that the adapter and the charging controller are in a connection state.
21. The method of claim 16, wherein the protocol physical layer feeds back a transmission failure signal of the attribute information to a digital signal processor when the adapter does not receive the attribute information, so that the digital signal processor controls the charging controller to generate a shutdown control signal according to the transmission failure signal.
22. A power supply system comprising a device to be charged and an adapter connected to each other, wherein the device to be charged comprises the power supply apparatus according to any one of claims 1 to 15.
CN202110275696.9A 2021-03-15 2021-03-15 Power supply device, power supply method, and power supply system Pending CN113036859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110275696.9A CN113036859A (en) 2021-03-15 2021-03-15 Power supply device, power supply method, and power supply system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110275696.9A CN113036859A (en) 2021-03-15 2021-03-15 Power supply device, power supply method, and power supply system

Publications (1)

Publication Number Publication Date
CN113036859A true CN113036859A (en) 2021-06-25

Family

ID=76469217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110275696.9A Pending CN113036859A (en) 2021-03-15 2021-03-15 Power supply device, power supply method, and power supply system

Country Status (1)

Country Link
CN (1) CN113036859A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1351775A (en) * 1999-05-20 2002-05-29 索尼计算机娱乐公司 Reception system, battery charging device, portable information terminal, and transmission and reception system
CN101604858A (en) * 2008-06-12 2009-12-16 凹凸电子(武汉)有限公司 Power-supply management system, battery case and method for managing power supply
CN107466433A (en) * 2016-02-05 2017-12-12 广东欧珀移动通信有限公司 For the charging system of terminal, charging method and power supply adaptor, charging device
CN111201689A (en) * 2017-12-11 2020-05-26 深圳市柔宇科技有限公司 Electronic equipment and charging control method
CN114520524A (en) * 2020-11-19 2022-05-20 Oppo广东移动通信有限公司 Power supply device, power supply method, and power supply system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1351775A (en) * 1999-05-20 2002-05-29 索尼计算机娱乐公司 Reception system, battery charging device, portable information terminal, and transmission and reception system
CN101604858A (en) * 2008-06-12 2009-12-16 凹凸电子(武汉)有限公司 Power-supply management system, battery case and method for managing power supply
CN107466433A (en) * 2016-02-05 2017-12-12 广东欧珀移动通信有限公司 For the charging system of terminal, charging method and power supply adaptor, charging device
CN111201689A (en) * 2017-12-11 2020-05-26 深圳市柔宇科技有限公司 Electronic equipment and charging control method
CN114520524A (en) * 2020-11-19 2022-05-20 Oppo广东移动通信有限公司 Power supply device, power supply method, and power supply system

Similar Documents

Publication Publication Date Title
US7863775B2 (en) Power management and control in electronic equipment
CN102640076B (en) Power converter with reduced power consumption when toggling between sleep and normal modes during device charging
US11258280B2 (en) Mobile terminal, peripheral device, and charging method thereof
US9560217B2 (en) Adapters, terminal devices, USB connection devices and charging stations
US20180254648A1 (en) Applying Alternate Modes of USB Type-C for Fast Charging Systems
CN101221463B (en) Battery module, computer system and power supply method thereof
US20110057605A1 (en) Power Supply System with Power Saving Function and Power Supply Method Thereof
US8324866B2 (en) Charging system, processor and feeder
JP6440986B2 (en) Power supply apparatus, controller thereof, control method, and electronic apparatus using the same
JP2009011153A (en) Device and method for detecting power supply
CN104756350A (en) High voltage dedicated charging port
US20170005495A1 (en) Method and apparatus for charging electronic device with usb connection
US11322993B2 (en) Device and method for providing user interface according to wireless power-sharing
US11641124B2 (en) Electronic device and charging method thereof
US20130049680A1 (en) Electronic device
US10467167B2 (en) Information processing device, extension unit, and information processing system
US7679321B2 (en) Power circuit
US20140032952A1 (en) Electronic apparatus and drive control method thereof
TWI591927B (en) Charging method, charging controller and charging system
CN114498831A (en) Electronic device and charging control method
CN114256897A (en) Power supply device, power supply method, and power supply system
US9570922B2 (en) Charging method and electronic device
CN114520524A (en) Power supply device, power supply method, and power supply system
CN113036859A (en) Power supply device, power supply method, and power supply system
CN105098854B (en) Charging method and electronic 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