Movatterモバイル変換


[0]ホーム

URL:


CN113113948B - 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
CN113113948B
CN113113948BCN202110390626.8ACN202110390626ACN113113948BCN 113113948 BCN113113948 BCN 113113948BCN 202110390626 ACN202110390626 ACN 202110390626ACN 113113948 BCN113113948 BCN 113113948B
Authority
CN
China
Prior art keywords
adapter
signal
event
attribute information
digital signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110390626.8A
Other languages
Chinese (zh)
Other versions
CN113113948A (en
Inventor
李志杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110390626.8ApriorityCriticalpatent/CN113113948B/en
Publication of CN113113948ApublicationCriticalpatent/CN113113948A/en
Application grantedgrantedCritical
Publication of CN113113948BpublicationCriticalpatent/CN113113948B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本公开涉及充电技术领域,具体涉及一种电源提供装置、电源提供方法以及电源提供系统,电源提供装置的数字信号处理器接收电池属性信息;充电控制器连接数字信号处理器、适配器和电池;协议物理层连接数字信号处理器和适配器,根据预设协议将属性信息传输至适配器使得适配器调整输出信号,向数字信号处理器反馈属性信息传输完成信号,控制充电控制器生成闭合控制信号;保护模块连接适配器、电池和协议物理层,响应闭合控制信号将输出信号传输至电池或响应关断控制信号关断;事件生成模块在接收到传输完成信号时,按照预定顺序生成预设定的监控事件;事件监测模块用于接收监控事件并生成调整信号,以使得适配器生成调整输出信号或生成关断控制信号。

The present disclosure relates to the field of charging technology, and in particular to a power supply device, a power supply method and a power supply system, wherein a digital signal processor of the power supply device receives battery attribute information; a charging controller is connected to the digital signal processor, an adapter and a battery; a protocol physical layer is connected to the digital signal processor and the adapter, and transmits the attribute information to the adapter according to a preset protocol so that the adapter adjusts an output signal, feeds back a signal for completing the transmission of the attribute information to the digital signal processor, and controls the charging controller to generate a closing control signal; a protection module is connected to the adapter, the battery and the protocol physical layer, and transmits the output signal to the battery in response to the closing control signal or shuts down in response to the shut-off control signal; an event generation module generates a preset monitoring event in a predetermined order when receiving the transmission completion signal; and an event monitoring module is used to receive the monitoring event and generate an adjustment signal so that the adapter generates an adjusted output signal or generates a shut-off control signal.

Description

Power supply device, power supply method, and power supply system
Technical Field
The disclosure relates to the technical field of charging, and in particular relates to a power supply device, a power supply method and a power supply system.
Background
With the widespread use of portable electronic devices such as notebook computers and cellular phones, it is important to use a technique of conveniently and rapidly charging a battery, which is called a power system, for the portable electronic devices.
The power supply device in the prior art needs an independent MCU (Microcontroller Unit, micro control unit) processor, has higher cost and larger occupied area.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The disclosure aims to provide a power supply device and a power supply method, and further overcome the problems that in the prior art, the power supply device needs an independent MCU processor, and has higher cost, higher cost and larger occupied area.
According to a first aspect of the present disclosure, there is provided a power supply apparatus based on a device to be charged, the power supply apparatus comprising:
A digital signal processor receiving attribute information of the battery;
A charge controller connected to the processor, the adapter, and the battery;
A protocol physical layer, connected to the digital signal processor and the adapter, for transmitting the attribute information to the adapter according to a preset protocol so that the adapter can determine an output signal according to the attribute information; the protocol physical layer feeds back a transmission completion signal of the attribute information to a processor, so that the digital signal processor controls the charging controller to generate a closed control signal according to the transmission completion signal;
a protection module, connected to the adapter, the battery and the protocol physical layer, for transmitting the output signal to the battery in response to the closing control signal or shutting down in response to a shutting down control signal;
The event generation module is integrated with the digital signal processor and is used for generating preset monitoring events according to a preset sequence when receiving a transmission completion signal;
The event monitoring module is integrated with the digital signal processor and is used for receiving the monitoring event and generating an adjusting signal according to the parameter information of the monitoring event so that the adapter can adjust the output signal according to the adjusting signal, or
And the event monitoring module controls the charging controller to generate a turn-off control signal according to the parameter information of the monitoring event.
According to a second aspect of the present disclosure, there is provided a power supply method including:
receiving attribute information of the battery through the digital signal processor;
transmitting the attribute information to an adapter according to a preset protocol through a protocol physical layer integrated with 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 by the protocol physical layer so that the digital signal processor controls the charging controller to generate a closed control signal according to the transmission completion signal;
Transmitting the output signal to the battery through the protection module in response to the closing control signal, or switching off the battery through the protection module in response to the switching-off control signal;
generating a preset monitoring event according to a preset sequence when receiving a transmission completion signal through an event generating module integrated with the digital signal processor;
Receiving the monitoring event through an event monitoring module integrated with the digital signal processor, and generating an adjusting signal according to the parameter information of the monitoring event so that the adapter can adjust the output signal according to the adjusting signal, or
And controlling the charging controller to generate a turn-off control signal according to the parameter information of the monitoring event.
According to a third aspect of the present disclosure, there is provided 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 as described in any one of the above.
The power supply device, the power supply method and the power supply system provided by one embodiment of the disclosure are characterized in that a digital signal processor receives attribute information of a battery and transmits the attribute information to an adapter through a protocol physical layer integrated with a charging controller, the adapter adjusts an output signal of the adapter according to the attribute information and feeds back a transmission completion signal of the attribute information to the 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, and a protection module is connected to the adapter, the battery and the charging controller and is used for responding to the closing control signal and transmitting the output signal to the battery or responding to a shutdown control signal to shutdown. The method comprises the steps of receiving a transmission completion signal through an event generation module integrated with a digital signal processor, generating preset monitoring events according to a preset sequence when the transmission completion signal is received, receiving the monitoring events through an event monitoring module integrated with the digital signal processor, generating an adjusting signal according to parameter information of the monitoring events, enabling an adapter to adjust an output signal according to the adjusting signal, or controlling a charging controller to generate a turn-off control signal according to the parameter information of the monitoring events. Compared with the prior art, on one hand, the data processing is finished without adopting an independent MCU, and only a protocol physical layer is integrated on one side of the charging point controller to finish 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 output signal of the adapter is adjusted or the direct charging is closed according to the event information to be set, so that the charging safety of the charging equipment with the charging device and the charging process 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 disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort. In the drawings:
Fig. 1 shows a schematic diagram of a power supply apparatus in the related art;
fig. 2 schematically illustrates a schematic diagram of a power supply apparatus in an exemplary embodiment of the present disclosure;
FIG. 3 schematically illustrates a schematic diagram of a power supply apparatus for refining a digital signal processor in an exemplary embodiment of the present disclosure;
fig. 4 schematically illustrates an overall detailed schematic view of a power supply device according to an exemplary embodiment of the present disclosure;
FIG. 5 schematically illustrates a data flow diagram for transmitting the attribute information to the adapter according to a preset protocol in an exemplary embodiment of the present disclosure;
FIG. 6 schematically illustrates a flow chart of an open fast fill software monitor in an exemplary embodiment of the present disclosure;
FIG. 7 schematically illustrates a flow chart of software monitoring in an exemplary embodiment of the present disclosure;
FIG. 8 schematically illustrates a schematic diagram of a power supply apparatus in which an adapter is refined in an exemplary embodiment of the present disclosure;
FIG. 9 schematically illustrates a specific structural schematic of an adapter in an exemplary embodiment of the present disclosure;
FIG. 10 schematically illustrates a flowchart of a power supply method in an exemplary embodiment of the present disclosure;
Fig. 11 schematically illustrates a flowchart of 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. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein, but rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
In the related art, as the charging technology of the mobile phone industry is continuously developed, a lot of fast charging technologies such as PD, QC, VOOC/SUPERVOOC are developed, and referring to 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, and charges the battery 160, and is simultaneously completed in the independent MCU130 and the core processor 200 in the device to be charged when detecting the attribute information of the battery 160. Meanwhile, a charge controller 120 is configured, the charge controller is connected 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 receiving and transmitting transmission line, a USB switch is used to control switching of the line, and a charge type judging module 124 is provided in the charge controller 120 to determine whether a signal flow direction of an output signal of the adapter 110 needs to be started.
The power supply device in the related art adopts an independent MCU processor, so that the cost is high, the maintenance of separate firmware is required, the cost is high, and the occupied area is large.
In view of the above-mentioned drawbacks, the present disclosure first provides a power supply apparatus capable of solving one or more of the above-mentioned problems to some extent, referring to fig. 2, the power supply apparatus is based on a device to be charged, which is connected to an external adapter 110, and may include a digital signal processor 140, a charge controller 120, a protocol physical layer 122 integrated with the charge controller 120, an event generation module 143 integrated with the digital signal processor by a protection module 180, and an event monitoring module 144. 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 with the charge controller 120 and connected to the digital signal processor 140 and the adapter 110, and is used for transmitting the attribute information to the adapter 110 according to a preset protocol so that the adapter 110 can adjust an output signal according to the attribute information and feeds 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 closing control signal according to the transmission completion signal, the protection module 180 is connected to the adapter 110, the battery 160 and the protocol physical layer 122, and is used for transmitting the output signal to the battery 160 in response to the closing control signal or is turned off in response to the turning-off control signal, the event generation module 143 is integrated with the digital signal processor 140, and is used for generating preset monitoring events according to a preset sequence when the transmission completion signal is received, the event monitoring module 144 is integrated with the digital signal processor 140, and is used for receiving the monitoring events, generating an adjustment signal according to parameter information of the monitoring events, so that the adapter can adjust the output signal according to the adjustment signal, or the charging control signal is generated by the adapter, the control signal is controlled by the controller according to the parameter information of the monitoring events.
Compared with the prior art, on one hand, the data processing is finished without adopting an independent MCU, and only a protocol physical layer is integrated on one side of the charging point controller to finish 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 output signal of the adapter is adjusted or the direct charging is closed according to the event information to be set, so that the charging safety of the charging equipment with the charging device and the charging process can be ensured.
In one example embodiment of the present disclosure, referring to fig. 3, the digital signal processor 140 is integrated in a device to be charged, which may be a portable electronic device such as a notebook computer, a cellular phone, a Personal Digital Assistant (PDA), etc. The digital signal processor 140 may include an analog-to-digital conversion module 142 and a protocol processing module 141, where the analog-to-digital conversion module 142 is configured to perform analog-to-digital conversion on the received attribute information, and the protocol processing module 141 is configured to receive a communication signal of the protocol physical layer 122 and transmit the attribute information to the adapter 110 according to a preset protocol.
In an example embodiment of the present disclosure, the power supply apparatus may further include a core processor 200, connected to the digital signal processor 140, for controlling display content 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 and establishes communication with the adapter 110 to start direct charging, the digital signal processor 140 sends a start direct charging 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 start direct charging 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 apparatus may further include a data acquisition module 150, and the data acquisition module 150 is integrated with the device to be charged, and is configured to acquire attribute information of the battery 160 and transmit the attribute information to the digital signal processor 140. The attribute information may include information such as voltage, current, temperature, etc. of the battery 160, the data acquisition module 150 may include an electricity meter, and may further include detection devices such as a temperature sensor, a voltmeter, an ammeter, etc., which are not specifically limited in this example embodiment, and as the number of attribute information to be detected changes, a detection device corresponding to the information in the attribute information may be provided in the data acquisition module 150, for example, when the remaining electric quantity of the battery 160 needs to be detected, a coulombmeter may be added to detect.
In the present exemplary embodiment, the data acquisition module 150 may be connected to the digital signal processor 140 through an I2C bus for transmitting the attribute information to the digital signal processor 140.
In this example real-time manner, the data acquisition module 150 may acquire the attribute information of the primary battery 160 at every preset time, where the preset time may be 5 ms, 10 ms, etc., or may be customized according to the user requirement, which is not specifically limited in this example embodiment.
In this exemplary embodiment, after the digital signal processor 140 receives the attribute information collected by the data collection module 150, the attribute information is subjected to analog-to-digital conversion 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, that is, when the attribute information is collected for the sixth time, the attribute information collected for the first time is released, and the preset number may also be 10, 15, etc., or may be customized according to the 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 is configured to transmit an attribute signal to the adapter 110 according to a preset protocol, so that the adapter 110 can adjust an output signal according to the attribute information, and simultaneously feed back a transmission completion signal of the attribute information to the digital signal processor 140, so that the digital signal processor 140 controls the charge controller 120 to generate a closed 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 storage battery 160, which may be recharged using the charging voltage provided by the adapter 110, and the battery 160 may be further formed of at least one battery 160 unit having a specific electronic voltage and capable of outputting a voltage. The battery 160 supplies data information about the battery 160, which may be included in the above-described attribute information, and the data information may include a full charge bit of the battery 160, a full charge capacity of the battery 160, and the like.
In the present exemplary embodiment, referring to fig. 4, the protocol physical layer 122 may be connected to the digital signal processor 140 through a data transmission line 420 and an interrupt line 410, and the protocol physical layer 122 may be connected to the adapter 110 through a universal serial bus. Wherein the data transmission line 420 may be an I2C bus, an SPI bus (SERIAL PERIPHERAL INTERFACE ) or a SPMI bus, and is not particularly limited in this example embodiment.
In the present exemplary embodiment, a handshake signal sent by the digital signal processor 140 is received, the protocol physical layer 122 is adjusted to an idle state, a protocol transmission instruction sent by the adapter is received, the protocol physical layer 122 is adjusted to a data receiving state, when the protocol content sent by the adapter is received, the protocol physical layer 122 is adjusted to a waiting data transmitting state, and a data acquisition instruction is sent like the digital signal processor 140, attribute information sent by the digital signal processor 140 according to the data acquisition instruction is received, the protocol physical layer 122 is adjusted to a data transmitting state, the attribute information is sent to the adapter, and the protocol physical layer 122 is adjusted to the idle state.
Specifically, referring to fig. 5, step S510 may be performed first, where 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, indicates that the charging interface is already connected to the device to be charged, step S520 may be performed, the protocol physical layer 122 may be jumped to an IDLE state (IDLE state) to prepare for DATA transmission, meanwhile, the handshake signal is sent to the adapter 110, the adapter 110 receives the handshake signal, and then sends a protocol sending instruction, after the protocol physical layer 122 receives the protocol sending instruction, step S530 may be performed, the protocol physical layer 122 may be jumped 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, DATA that needs to be received includes one or more of the attribute information, and may also be a number of bits that needs to be received, for example, receive 8 bits of DATA, 9 bits of DATA, and the protocol physical layer may include a received attribute information counting function at the time when receiving attribute information.
After the protocol physical layer 122 receives the protocol contents, step S550 may be performed, the protocol physical layer 122 jumps to a WAIT DATA transmission state (wait_tx_data state) and transmits a DATA acquisition instruction to the digital signal processor 140, and the digital signal processor 140 transmits attribute information to the protocol physical layer 122 according to the DATA acquisition instruction after receiving the DATA acquisition instruction, where the attribute information includes all attribute information required in the protocol contents, such as a battery 160 current, a battery 160 temperature, etc. After the protocol physical layer 122 receives the attribute information, step S560 may be performed, and 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, 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 the data is received in error, step S540 may be performed, and the protocol physical layer 122 is skipped to the off state (DISABLE state), where when the received attribute information is incomplete, for example, the data required to be acquired in the protocol content may include the voltage, the current, and the temperature of the battery 160, but the received attribute information includes only the voltage and the current of the battery 160, and no temperature information, and it is determined that the received attribute information is incomplete. For another example, the data to be received in the protocol content is 8-bit data, but the attribute information received by the protocol physical layer 122 is not enough 8-bit data, for example, 6-bit data, 7-bit data, etc., then step S540 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 attribute information to the adaptor 110, it is detected whether or not a transmission completion signal, i.e., an electric signal is the same level signal for a certain time, for example, a low level signal for 50 ms, a high level signal for 40 ms, or the like, occurs when the attribute information is transmitted. The certain time may be 50 ms, 40 ms, 60 ms, etc., or may be customized according to the user requirement, and the same level signal may be a high level signal or a low level signal, which is not specifically limited in this exemplary embodiment.
When the transmission completion signal is detected to indicate that the data transmission is normal and the data transmission is completed, step S520 may be performed to tune the protocol physical layer 122 to an IDLE state (IDLE state) and wait for the reception of the next round of data. If the transmission completion signal is not received after the data transmission is completed, that is, if the protocol physical layer 122 is still transmitting data after transmitting the data of the corresponding bit number, and it is determined that the transmission attribute information is abnormal at this time, step S540 may be executed to jump the protocol physical layer 122 to the off state (DISABLE state).
In this example embodiment, the protocol physical layer 122 may receive the shutdown signal sent by the digital signal processor 140, and directly jump the protocol physical layer 122 to the shutdown state (DISABLE state). The protocol physical layer 122 may be jumped to an IDLE state (IDLE state) in response to an enable signal transmitted from the digital signal processor 140 while the protocol physical layer 122 is in a shutdown state (DISABLE state).
In this exemplary embodiment, if there is no abnormality in the transmission process of the attribute information, that is, the adapter 110 receives the complete attribute information, the protocol 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 closing control signal, and if the protocol physical layer 122 is in a shutdown 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 shutdown control signal according to the transmission failure signal, and stops charging to prevent the battery 160 from being damaged due to the excessive output voltage of the adapter 110.
In an example embodiment of the present disclosure, the event generating module is integrated with the above-mentioned digital signal processor, and is configured to generate a predetermined monitoring event in a predetermined order when receiving a data transmission completion signal.
In this exemplary embodiment, a plurality of monitoring events may be first predetermined, where the monitoring events may include an interaction event between the digital signal processor and the core processor, a reaming battery voltage event, a monitoring battery temperature event, a monitoring charging time event, a monitoring communication data event, etc., and may be customized according to a user's requirement, which is not specifically limited in this exemplary embodiment.
In this example embodiment, the time length of each monitoring event may be determined and arranged in a predetermined order to form an event stream, so that the event monitoring module monitors the events according to the event stream.
Specifically, the present invention relates to a method for manufacturing a semiconductor device. Referring to fig. 6, step S610 may be performed first, a fast charge adapter may be inserted, i.e. a power supply device is connected to the adapter, after the power supply device is connected to the adapter, step S620 and step S630 may be performed, the adapter verifies that the adapter is successful, and a fast charge start adapter type code, specifically, BC1.2 protocol (Battery CHARGING V1.2.2), is performed to identify the adapter type, such as DCP, then a protocol physical layer is enabled, then the adapter is communicated with the adapter by using d+d-, after the verification is successful, the fast charge start and adapter type code (identification of the adapter) may be sent to the core processor through the GLINK bus, and since an external charge controller is used, and logic control of the external charge controller is put to the digital signal processor, before the adapter' S output voltage and Battery voltage are asked, step S640 and step S650 may be performed, the adapter recognizes a code before a differential pressure is asked, and sends a suk to the adapter through the GLINK bus, specifically, and a signal is sent to the core processor through the GLINK bus to monitor and the core processor after the differential pressure is stopped, and the digital signal processor is sent to the core processor after the differential pressure is further, step 670 is completed, and the digital signal processor is sent to the digital signal processor is completed.
In this exemplary embodiment, the event monitoring module is integrated with the digital signal processor, and is configured to receive the monitoring event and generate an adjustment signal according to parameter information of the monitoring event, so that the adaptor can adjust the output signal according to the adjustment signal.
Specifically, a processing function can be set for each monitoring event, and when the monitoring event is received, the processing function corresponding to the monitoring event is called to generate adjustment information according to the parameter information of the monitoring event.
In this example embodiment, the power supply device further includes a power consumption adjustment module, and the user detects a connection state of the power supply device and the adapter and adjusts a power consumption mode of the digital signal processor according to the connection state.
Specifically, referring to fig. 7, when the system of the digital signal processor is initialized, step S710 and step S720 are executed first, specifically, a detection thread is created, a timer for each monitoring event of the loop monitoring is initialized in the thread, and step S730, step S740, step S741, and step S742 are executed simultaneously, specifically, a power consumption adjustment module is initialized for the fast charging object, when the fast charging communication hardware interrupt triggers, the wake-up system needs time, and the processing time left for the fast charging interrupt is only 5ms, when the plug-in adapter BC1.2 protocol identifies that the type of the adapter is DCP, that is, when the connection state of the power supply device and the adapter is connected, the HPM (high power consumption mode) is started, and when the adapter is pulled out, that is, when the connection state of the power supply device and the adapter is disconnected, the power consumption mode of the power supply device is adjusted to LPM (low power consumption mode), so as to increase the duration of the device to be charged.
In this exemplary embodiment, step S750, step S760 and step S761 may also be performed, specifically, the event monitoring module waits for the arrival of a monitoring event in real time, starts each monitoring timer, and when the monitoring event triggers, invokes a processing function corresponding to the monitoring event to generate an adjustment signal, or generates a turn-off control signal. Specifically, the software monitoring start event, the execution function corresponding to the event starts a software monitoring timer for monitoring the interaction event, the battery voltage event, the battery temperature event, the battery current event, the U-port and BTB temperature event, and the charging time between the digital signal processor and the core processor, where the sequence of the monitoring events may be customized according to the user requirement, and in this exemplary embodiment, the method is not specifically limited. In this example embodiment, the monitoring event may further include monitoring a temperature of a housing of the device to be charged, monitoring an ambient temperature, and the like, and is not particularly limited in this example embodiment. Step S770, step S780, step S790 and step S791 are then performed. The method comprises the following steps:
The monitoring event may include an interaction event between the digital signal processor and the core processor, where the event is to monitor the interaction between the digital signal processor and the core processor, and the main function is to receive a value of the smart scene charging current sent by the core processor through the GLINK, that is, a request current value of the core processor, compare the value with an allowable maximum charging current value current_max and a battery temperature determining temperature charging current value current_batt_temp, and select a minimum value as an adjustment signal to send to the adapter to adjust the target charging current output by the adapter.
The monitoring event includes monitoring a battery voltage event including a step voltage setting a step charge current, and the battery voltage having reached a certain step setting the maximum charge current allowed by the step. The monitoring of the battery voltage EVENT may further include determining whether to be FULL according to the battery voltage, if so, the digital signal processor is required to process the fast_notify_full FAST charge attribute, specifically, FAST charging is stopped to monitor FAST charging, then the protocol physical layer is restarted, the directly charged mos tube is closed, a pull-out interrupt is generated, in order to avoid that the FAST charging identifier displayed on the display screen flashes due to the disconnection of the line, a timer vooc_discon_event_time with a first predetermined period needs to be additionally set, the timer works to clear fastchg _start, and fastchg _to_normal (normal FAST charging state) or fastchg _to_wave (temperature influencing state) is set to true, so that the core processor continuously maintains the display of the FAST charging representation. The first predetermined time may be 350ms, or may be customized according to a user requirement, which is not specifically limited in this exemplary embodiment.
When the user pulls out the adapter, the interrupt sets fastchg _to_normal and fastchg _to_arm and fstchg _to_dummy (unmatched adapter state) to false, to avoid that the user actually pulls out the adapter within 350ms, a timer at the vooc_discon_event_time is started for a second predetermined TIME to detect if the adapter output voltage is higher than 2V, if lower than 2V, it is determined that the user actually pulls out the adapter, this TIME the fastchg _to_normal and fastchg _to_arm and fastchg _to_dummy need to be set to false, i.e. the fast-fill mode is turned off, and the core processor is informed to stop the presentation of the fast-fill mode. The second predetermined time may be 2 seconds, or may be customized according to the user requirement, which is not specifically limited in this exemplary embodiment.
The monitoring event includes monitoring a battery current event, where the event includes processing a current abnormal state, such as that the battery is not powered (the battery current is positive), where a FAST charge attribute fast_notify_absend needs to be processed, specifically, the battery current is too large, where a FAST charge attribute fast_notify_bad_connected needs to be processed, and finally, the FAST charge current is not within a set allowable error, where a mountain adapter attribute fast_notify_ ADAPTER _ COPYCAT needs to be processed, and whether the battery is full is judged according to the battery current, and when the battery current is small to a certain extent, the battery is considered to be full. Processing FAST fill attributes fast_notify_absent, fast_notify_bad_connected, fast_notify_ ADAPTER _ COPYCAT first reports FAST fill failure reasons to the core processor and restarts the protocol physical layer. The clear fast charge states fastchg _to_normal and fastchg _to_norm and fastchg _to_dummy and fastchg _start are set to false, the protocol physical layer is reset and the 200ms software communication watchdog is stopped, and finally the event monitoring module is stopped.
The monitoring event comprises monitoring a battery temperature event, wherein the monitoring event comprises the steps of dynamically adjusting target charging current according to the battery temperature, setting different target charging currents in different temperature sections and adjusting the charging current according to the rising or falling trend of the battery temperature, and when the normal temperature interval falls to the 5-12 interval, only the maximum charging current with the maximum current_max attribute of which is allowed by the 5-12 interval is required to be set, and the charging current does not need to be disconnected firstly and then re-enter the 5-12 interval logic like an AP. It may also be determined whether the battery temperature is OVER-temperature, if so, the signal processor needs to be familiar with processing the FAST-charge attribute fast_notify_batt_temp_over, specifically, FAST-charge is stopped, the protocol physical layer is restarted, the directly-charged mos tube is closed, a pull-out interrupt is generated, in order to avoid the FAST-charge flag displayed on the display screen from flashing due to the line disconnection, a timer vooc_discon_event_time with a first predetermined period needs to be set additionally, the timer works to clear fastchg _start, and fastchg _to_normal (normal FAST-charge state) or fastchg _to_norm (temperature influence condition) is set to true, so that the core processor continuously maintains the display of the FAST-charge representation. The first predetermined time may be 350ms, or may be customized according to a user requirement, which is not specifically limited in this exemplary embodiment.
When the user pulls out the adapter, the interrupt sets fastchg _to_normal and fastchg _to_arm and fstchg _to_dummy (unmatched adapter state) to false, to avoid that the user actually pulls out the adapter within 350ms, a timer at the vooc_discon_event_time is started for a second predetermined TIME to detect if the adapter output voltage is higher than 2V, if lower than 2V, it is determined that the user actually pulls out the adapter, this TIME the fastchg _to_normal and fastchg _to_arm and fastchg _to_dummy need to be set to false, i.e. the fast-fill mode is turned off, and the core processor is informed to stop the presentation of the fast-fill mode. The second predetermined time may be 2 seconds, or may be customized according to the user requirement, which is not specifically limited in this exemplary embodiment.
The monitoring EVENTs comprise monitoring USB port temperature and BTB temperature EVENTs, wherein when the temperature exceeds a set software threshold, a familiar signal processor is required to process FAST-charge attribute FAST_NOTIFY_BTB_TEMP_OVER FAST-charge to stop FAST-charge monitoring, then a protocol physical layer is restarted, a directly-charged mos tube is closed, a unplug interrupt is generated, a FAST-charge mark displayed on a display screen is prevented from flashing due to disconnection of a line, a timer VOOC_DISCON_EVENT_TIME with a first preset period is required to be additionally set, the timer works to clear fastchg _start, and fastchg _to_normal (normal FAST-charge state) or fastchg _to_norm (temperature influence state) is set to true, so that a core processor continuously keeps displaying FAST-charge representation. The first predetermined time may be 350ms, or may be customized according to a user requirement, which is not specifically limited in this exemplary embodiment.
When the user pulls out the adapter, the interrupt sets fastchg _to_normal and fastchg _to_arm and fstchg _to_dummy (unmatched adapter state) to false, to avoid that the user actually pulls out the adapter within 350ms, a timer at the vooc_discon_event_time is started for a second predetermined TIME to detect if the adapter output voltage is higher than 2V, if lower than 2V, it is determined that the user actually pulls out the adapter, this TIME the fastchg _to_normal and fastchg _to_arm and fastchg _to_dummy need to be set to false, i.e. the fast-fill mode is turned off, and the core processor is informed to stop the presentation of the fast-fill mode. The second predetermined time may be 2 seconds, or may be customized according to the user requirement, which is not specifically limited in this exemplary embodiment.
The monitoring event comprises a monitoring charging time event, wherein the monitoring charging time event is related to the safety of the monitoring charging time, the time is segmented, the maximum FAST charging current is regulated when the battery voltage exceeds a certain threshold value within a certain period of time, the maximum charging time allowed by the FAST charging is set, and the FAST charging attribute FAST_NOTIFY_FULL is set beyond the maximum charging time. The fast charge stops the fast charge monitoring, then the protocol physical layer is restarted, the mos tube of the direct charge is closed, and a unplug interrupt is generated, in order to avoid that the fast charge mark displayed on the display screen flashes due to the disconnection of the line, a timer VOOC_DISCON_event_TIME with a period of 350ms needs to be additionally set, the timer works to clear fastchg _start, and fastchg _to_normal (normal fast charge state) or fastchg _to_norm (temperature influence condition) is set to true, so that the core processor continuously keeps displaying the fast charge representation.
In order to avoid that the user actually pulls out the adapter within 350ms, the interrupt sets fastchg _to_normal and fastchg _to_arm and fstchg _to_dummy to false, the new timer is started for detecting if the adapter output voltage is higher than 2V in vooc_discon_event_time, if lower than 2V, it is determined that the user actually pulls out the adapter, this TIME fastchg _to_normal and fastchg _to_arm and fastchg _to_dummy need to be set to false, i.e. the fast-fill mode is turned off, and the core processor is informed to stop the presentation of the fast-fill mode.
The monitoring event includes an event for monitoring a FAST-fill communication error, where the event is used for monitoring a FAST-fill frame header communication error, when a data frame header received by a protocol physical layer does not conform to a FAST-fill protocol, a digital signal processor is required to process a FAST-fill attribute fast_notify_err_ COMMU, specifically, processing of the frame header error, stop FAST-fill monitoring, and stop a watchdog in 200ms software communication, and whether a resume FAST-full condition needs to be set, where the first condition is that a connected svooc adapter and a mos pipe frame header is not opened or that the connected adapter is compatible VOOC and does not operate in a power_bank mode, and the frame header error resets the protocol physical layer and does not generate a pull-out interrupt, so that a TIME of opening vooc_ FASTCHG _check_time,5s is required to re-determine whether to perform FAST-fill. Other cases will cause a disconnect (i.e., the adapter output signal goes to 0) upon resetting the protocol physical layer, and then restart the fast charge.
In this exemplary embodiment, the specific step of step S780 is as follows, in the interrupt handler (process event function) of each timer, it is determined whether each state is normally counted, and in order to save the global static memory area without using the global variable, the temporary variables in all functions are reinitialized when fastchg _notify_status=fast_notify_present in the process function. And secondly, whether quick charge software monitoring is to be stopped or not can be set to be recorded by fastchg _monitor_stop, when an event is processed, the quick charge is judged to be stopped, but the monitoring event triggered simultaneously is not processed, so that fastchg _monitor_stop is needed to terminate the processing of the subsequent event, and then when fastchg _monitor_stop=wire, the quick charge software monitoring is stopped.
In this exemplary embodiment, referring to fig. 4, the charging controller 120 is also integrated inside the device to be charged, where the device to be charged is connected to the adapter 110 through a USB interface, and includes a first USB switch 190 at a USB interface position, where the first USB switch 190 is a branching switch element, and divides a circuit into two paths, and one path is directly connected to the digital signal processor 140 through a universal asynchronous receiving/transmitting line 430 (Universal Asynchronous Receiver/Transmitter) for transmitting serial data, for example, downloading a file to the device to be charged, or uploading the file from the device to be charged.
In the present exemplary embodiment, the second path of the first USB switch 190 is connected to the second USB switch 123 disposed inside the charging controller 120, and the second USB switch 123 may be a shunt switch, which is connected to the protocol physical layer 122 and the charging type determining module 124, respectively, and when the charging type determining module 124 determines that the USB interface is connected to the adapter 110, the second USB switch 123 is connected to the protocol physical layer 122, so as to complete the communication between the adapter 110 and the digital signal processor 140.
In the present exemplary embodiment, the charge controller 120 may be configured to convert an output signal of the adapter 110 into a preset input signal and transmit the battery 160 when the adapter 110 is not adapted to the digital signal processor 140, that is, when the digital signal processor 140 cannot transmit the attribute information to the adapter 110 through the protocol physical layer 122, wherein the preset input signal may be an electrical signal of 5V or 2A, or may be set according to the adapter 110 and the battery 160, for example, the preset input signal is set to 5V or 1.5A, which is not particularly limited in the present exemplary embodiment.
The charging controller 120 can ensure that the battery 160 can be continuously charged when the digital signal processor 140 cannot transmit the attribute information to the adapter 110, and ensure the charging safety.
In this exemplary embodiment, referring to fig. 4, the charging controller 120 may further include a driving signal generating module, configured to receive an instruction of the digital signal processor 140 and generate a closing control signal or an opening control signal, where the driving signal generating module may be a charge pump 121, configured to control the charge pump 121 to generate the closing and control signals when the digital signal processor 140 receives a transmission completion signal of the attribute information, so that the protection module 180 is turned on, and further, the output signal can be transmitted to the battery 160 through the protection module 180. Or for controlling the charge pump 121 to generate the off control signal so that the protection module 180 cannot pass the current to protect the battery 160 when the digital signal processor 140 receives the attribute information transmission failure signal.
In the present exemplary embodiment, referring to fig. 4, the protection module 180 may include at least one switching transistor, for example, two, three, etc., which is not particularly limited in the present exemplary embodiment, wherein the switching transistors each have a control terminal, a first terminal, and a second terminal. Specifically, the control terminal of the switching transistor may be a gate, the first terminal may be a source, and the second terminal may be a drain, or the control terminal of the switching transistor may be a gate, the first terminal may be a drain, and the second terminal may be a source. In addition, the switching transistor may be an enhancement type transistor or a depletion type transistor, which is not particularly limited in the present exemplary embodiment.
In the present exemplary embodiment, when the number of switching transistors is two, the control terminals of the two switching transistors are both connected to the driving signal generating module, the first terminal of the first switching transistor is connected to the adapter 110, the second terminal is connected to the first terminal of the second switching transistor, and the second terminal of the second switching transistor is connected to the battery 160. The switching element may be responsive to a close control signal to control the switching element to turn on and turn off when a turn-off control signal is received.
In the present exemplary embodiment, referring to fig. 8, the adapter 110 is supplied with commercial AC (alternating current) power, converts the commercial AC power into DC (direct current) power of a predetermined voltage level, and supplies the DC power to the battery 160.
The adapter 110 according to one embodiment of the present 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 adapter controller 112 and output the DC power. The DC power output from the AC/DC converter 111 is output to the battery 160.
The adapter controller 112 determines output signals, i.e., output voltage and output current, of the AC/DC converter 111 based on the electronic voltage obtained from the protocol physical layer 122 and the attribute information.
Referring to fig. 9, the adapter 110 includes an adapter controller 112 and an AC/DC converter 111. Wherein the adapter controller 112 is configured to receive the attribute information determination output signal of the battery 160. For example, by means of a separate micro control unit (Micro Control Unit, MCU).
The AC/DC converter 111 is connected to the adapter controller 112, and adjusts the output voltage of the adapter 110 according to the control of the adapter controller 112.
Further, as shown in fig. 9, the adapter 9 may further include a rectifying circuit R1 and a voltage conversion module S1. The rectifier circuit R1 is configured to convert an AC voltage received from AC into a dc voltage, such as a pulsating dc voltage.
In addition, in order to obtain a stable dc voltage (e.g., a constant dc voltage), the adapter 110 may further include a filter circuit F1 connected to the output terminal of the rectifying circuit R1 for filtering the dc voltage output by the rectifying circuit R1.
The present disclosure is not limited to the specific circuit configuration of the rectifier circuit R1, and the rectifier circuit R1 may be, for example, a rectifier bridge that is generally used, or may be other circuits that can realize the function of converting an ac voltage into a dc voltage.
In summary, in the present exemplary embodiment, the data processing is performed by the digital signal processor 140 in the device to be charged without using an independent MCU, and only by integrating a protocol physical layer 122 on one side of the adapter controller 112 to complete the communication, thereby simplifying the complexity of the power supply device, reducing the cost, and reducing the occupied area of the power supply device.
Further, the present disclosure also provides a power supply method, referring to fig. 10, the power supply method includes the steps of:
step S1010, receiving attribute information of a battery through a digital signal processor;
Step S1020, transmitting the attribute information to an adapter according to a preset protocol through a protocol physical layer integrated with 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 by the protocol physical layer, so that the digital signal processor controls the charging controller to generate a closed control signal according to the transmission completion signal;
Step S1030, transmitting the output signal to the battery through the protection module in response to the closing control signal, or switching off the battery through the protection module in response to the switching-off control signal;
Step S1040, generating, by an event generating module integrated with the digital signal processor, a preset monitoring event according to a predetermined sequence when receiving a transmission completion signal;
step S1050, receiving the monitoring event by an event monitoring module integrated with the digital signal processor, and generating an adjustment signal according to the parameter information of the monitoring event, so that the adapter can adjust the output signal according to the adjustment signal, or controlling the charge controller to generate a turn-off control signal according to the parameter information of the monitoring event.
The specific details of each step in the above method are already described in the device part embodiment, and the details not disclosed can be referred to the embodiment of the device part, so that they will not be described in detail.
In an example embodiment of the present disclosure, referring to fig. 11, transmitting the attribute information to the adaptor according to a preset protocol may include steps S1110 to S1150, which are specifically as follows:
Step S1110, receiving a handshake signal sent by a digital signal processor, and adjusting a protocol physical layer to an idle state;
Step S1120, receiving a protocol sending instruction sent by the adapter, and adjusting the protocol physical layer to be in a data receiving state;
step S1130, when receiving the protocol content sent by the adapter, adjusting the protocol physical layer to a state waiting for data transmission, and sending a data acquisition instruction like the digital signal processor;
Step S1140, receiving attribute information sent by the digital signal processor according to the data acquisition instruction, and adjusting the protocol physical layer to a data transmission state;
step S1150, the attribute information is sent to the adapter, and the protocol physical layer is adjusted to be in an idle state.
Specifically, 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, the protocol physical layer 122 may be adjusted to an IDLE state (IDLE state) to prepare DATA transmission, and meanwhile, the handshake signal is sent to the adapter 110, the adapter 110 receives the handshake signal, and then sends a protocol sending instruction, after the protocol physical layer 122 receives the protocol sending instruction, 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 to be received, that is, DATA to be received includes one or more of the above attribute information, and the number of bits to be received in the protocol content may also be bits to be received, for example, receive 8 bits of DATA, 9 bits of DATA, and at this time, the protocol physical layer 122 includes a received DATA counting function in receiving the attribute information.
After the protocol physical layer 122 receives the protocol contents, the protocol physical layer 122 jumps to a WAIT DATA transmission state (wait_tx_data state) and transmits a DATA acquisition instruction to the digital signal processor 140, and the digital signal processor 140 transmits attribute information to the protocol physical layer 122 according to the DATA acquisition instruction after receiving the DATA acquisition instruction, wherein the attribute information includes all attribute information required in the protocol contents, such as a battery 160 current, a battery 160 temperature, and the like. After the protocol 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 example 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 various cases that 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 the data reception is erroneous, the protocol physical layer 122 is jumped to a shutdown state (DISABLE state), where the received attribute information is incomplete, for example, the data required to be acquired in the protocol content includes the voltage, the current, and the temperature of the battery 160, but the received attribute information includes only the voltage and the current of the battery 160, and no temperature information, at this time, it is determined that the received attribute information is incomplete. For another example, the data to be received in the protocol content is 8-bit data, but the attribute information received by the protocol physical layer 122 is not 8-bit data, for example, 6-bit data, 7-bit data, etc., and the protocol physical layer 122 is jumped to the off state (DISABLE state).
In the present exemplary embodiment, when the protocol physical layer 122 transmits attribute information to the adaptor 110, it is detected whether or not a transmission completion signal, i.e., an electric signal is the same level signal for a certain time, for example, a low level signal for 50 ms, a high level signal for 40 ms, or the like, occurs when the attribute information is transmitted. The certain time may be 50 ms, 40 ms, 60 ms, etc., or may be customized according to the user requirement, and the same level signal may be a high level signal or a low level signal, which is not specifically limited in this exemplary embodiment.
Upon detecting that the transmission completion signal occurs, indicating that data transmission is normal and data transmission is completed, the protocol physical layer 122 is hopped to an IDLE state (IDLE state) to wait for reception of the next round of data. If the transmission completion signal is not received after the data transmission is completed, that is, if the protocol physical layer 122 is still transmitting data after transmitting data of a corresponding bit number, it is determined that the transmission attribute information is abnormal at this time, and the protocol physical layer 122 is shifted to the off state (DISABLE state).
In this example embodiment, the protocol physical layer 122 may receive the shutdown signal sent by the digital signal processor 140, and directly jump the protocol physical layer 122 to the shutdown state (DISABLE state). The protocol physical layer 122 may be jumped to an IDLE state (IDLE state) in response to an enable signal transmitted from the digital signal processor 140 while the protocol physical layer 122 is in a shutdown state (DISABLE state).
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 above-mentioned protocol physical layer 122 has a shutdown 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 shutdown control signal according to the transmission failure signal, and stops charging to prevent the battery 160 from being damaged due to the excessive output voltage of the adapter 110.
The protection module 180 may respond to the shutdown control signal, so that the protection module 180 stops working and opens circuit, so that the output signal of the adapter 110 cannot be transmitted to the battery 160, to ensure the safety of the battery 160.
The present disclosure further provides a power supply system, in which the power supply device is connected to the external adapter 110 based on a device to be charged, and specific details of the digital signal processor 140, the adapter 110, the charge controller 120, the protocol physical layer 122, the event generating module 143, the event monitoring module 144, and the protection module 180 in the above system are described in detail in the embodiment of the device portion, and details not disclosed may be referred to in the embodiment of the device portion, so that they will not be 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 adaptations, uses, or adaptations of the disclosure following the general 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 should be understood that the invention is not limited in its application to the details of construction and the arrangement of components set forth in the specification. The invention is capable of other embodiments and of being practiced and carried out in various ways. The foregoing variations and modifications are intended to fall within the scope of the present invention. It should be understood that the invention 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 various alternative aspects of the present invention. The embodiments described in this specification illustrate the best mode known for carrying out the invention and will enable those skilled in the art to make and use the invention.

Claims (15)

Translated fromChinese
1.一种电源提供装置,其特征在于,包括:1. A power supply device, comprising:数字信号处理器,接收电池的属性信息;A digital signal processor receives the property information of the battery;充电控制器,连接于所述处理器、适配器以及所述电池;A charging controller connected to the processor, the adapter and the battery;协议物理层,连接于所述数字信号处理器和所述适配器,用于根据预设协议将所述属性信息传输至所述适配器以使得所述适配器能够根据所述属性信息确定输出信号;并由所述协议物理层向所述数字信号处理器反馈所述属性信息的传输完成信号,以使得所述数字信号处理器根据所述传输完成信号控制所述充电控制器生成闭合控制信号;A protocol physical layer, connected to the digital signal processor and the adapter, for transmitting the attribute information to the adapter according to a preset protocol so that the adapter can determine an output signal according to the attribute information; and the protocol physical layer feeds back a transmission completion signal of the attribute information to the 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;保护模块,连接于所述适配器、所述电池以及所述协议物理层,用于响应所述闭合控制信号,将所述输出信号传输至所述电池,或响应关断控制信号关断;A protection module, connected to the adapter, the battery and the protocol physical layer, for transmitting the output signal to the battery in response to the closing control signal, or shutting down in response to the shut-down control signal;事件生成模块,集成于所述数字信号处理器,用于在接收到传输完成信号时,按照预定顺序生成预设定的监控事件;An event generation module, integrated in the digital signal processor, for generating a preset monitoring event in a predetermined order upon receiving a transmission completion signal;事件监测模块,集成于所述数字信号处理器,用于接收所述监控事件,并根据所述监控事件的参数信息生成调整信号,以使得所述适配器能够根据所述调整信号调整所述输出信号;或an event monitoring module, integrated in the digital signal processor, for receiving the monitoring event and generating an adjustment signal according to parameter information of the monitoring event, so that the adapter can adjust the output signal according to the adjustment signal; or所述事件监测模块根据所述监控事件的参数信息控制所述充电控制器生成关断控制信号。The event monitoring module controls the charging controller to generate a shutdown control signal according to the parameter information of the monitoring event.2.根据权利要求1所述的装置,其特征在于,所述根据所述监控事件的参数信息生成调整信号,以使得所述适配器能够根据所述调整信号调整所述输出信号,包括:2. The device according to claim 1, wherein the step of generating an adjustment signal according to the parameter information of the monitoring event so that the adapter can adjust the output signal according to the adjustment signal comprises:确定各所述监控事件的时间长度;Determining the duration of each of the monitoring events;根据所述预定顺序和时间长度,确定所述监控事件对应的属性信息;Determining attribute information corresponding to the monitoring event according to the predetermined order and time length;调用所述监控事件对应的处理函数,根据所述监控事件的参数信息生成调整信号,以使得所述适配器能够根据所述调整信号调整所述输出信号。The processing function corresponding to the monitoring event is called, and an adjustment signal is generated according to the parameter information of the monitoring event, so that the adapter can adjust the output signal according to the adjustment signal.3.根据权利要求1所述的装置,其特征在于,所述电源提供装置还包括:3. The device according to claim 1, characterized in that the power supply device further comprises:功耗调整模块,用于检测所述电源提供装置与所述适配器的连接状态,并根据所述连接状态调整所述数字信号处理器的功耗模式。The power consumption adjustment module is used to detect the connection status between the power supply device and the adapter, and adjust the power consumption mode of the digital signal processor according to the connection status.4.根据权利要求1所述的装置,其特征在于,所述输出信号包括目标充电电流;所述事件包括数字信号处理器与核心处理器之间的交互事件;所述根据所述监控事件的参数信息生成调整信号,以使得所述适配器能够根据所述调整信号调整所述输出信号,包括:4. The device according to claim 1, wherein the output signal comprises a target charging current; the event comprises an interaction event between a digital signal processor and a core processor; and the step of generating an adjustment signal according to parameter information of the monitoring event so that the adapter can adjust the output signal according to the adjustment signal comprises:接收所述核心处理器发送的请求电流值;receiving a requested current value sent by the core processor;确定预设定的最大充电电流值和根据电池温度确定的温度充电电流值;Determine a preset maximum charging current value and a temperature charging current value determined according to the battery temperature;根据所述最大充电电流值、最大充电电流值和温度充电电流值中的生成电流调节信号,以使得所述适配器能够根据电流调节信号调整所述目标充电电流。A current regulation signal is generated according to the maximum charging current value, the maximum charging current value and the temperature charging current value, so that the adapter can adjust the target charging current according to the current regulation signal.5.根据权利要求1所述的装置,其特征在于,所述输出信号包括目标充电电流;所述事件包括温度监控事件;所述根据所述监控事件的参数信息生成调整信号,以使得所述适配器能够根据所述调整信号调整所述输出信号,包括:5. The device according to claim 1, wherein the output signal comprises a target charging current; the event comprises a temperature monitoring event; and the step of generating an adjustment signal according to parameter information of the monitoring event so that the adapter can adjust the output signal according to the adjustment signal comprises:实时检测所述电池的温度状态,并根据所述温度状态确定电流调节信号,以使得所述适配器能够根据电流调节信号调整所述目标充电电流。The temperature state of the battery is detected in real time, and a current regulation signal is determined according to the temperature state, so that the adapter can adjust the target charging current according to the current regulation signal.6.根据权利要求1所述的装置,其特征在于,所述监控事件包括监控通讯数据事件,所述监控事件的参数信息生成关断控制信号;6. The device according to claim 1, wherein the monitoring event comprises monitoring a communication data event, and parameter information of the monitoring event generates a shutdown control signal;在检测到通讯数据不满足预设条件时,控制所述充电控制器生成关断控制信号。When it is detected that the communication data does not meet the preset condition, the charging controller is controlled to generate a shutdown control signal.7.根据权利要求1所述的装置,其特征在于,所述根据预设协议将所述属性信息传输至所述适配器,包括:7. The device according to claim 1, wherein 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 an idle state;接收适配器发送的协议发送指令,将所述协议物理层调整为数据接收状态;receiving a protocol sending instruction sent by the adapter, and adjusting the protocol physical layer to a data receiving state;在接收到所述适配器发送的协议内容时,将所述协议物理层调整为等待数据发送状态,并向所述数字信号处理器发送数据获取指令;When receiving the protocol content sent by the adapter, adjusting the protocol physical layer to a state of waiting for data transmission, and sending a data acquisition instruction to the digital signal processor;接收所述数字信号处理器根据所述数据获取指令发送的属性信息,并将所述协议物理层调整为数据发送状态;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;将所述属性信息发送至所述适配器,并将所述协议物理层调整为空闲状态。The attribute information is sent to the adapter, and the protocol physical layer is adjusted to an idle state.8.根据权利要求1所述的装置,其特征在于,所述充电控制器还包括:8. The device according to claim 1, characterized in that the charging controller further comprises:电荷泵,用于生成闭合控制信号以及关断控制信号;A charge pump, for generating a closing control signal and a closing control signal;所述保护模块包括至少一个开关晶体管,用于响应所述闭合控制信号,将所述输出信号传输至所述电池,或用于响应所述关断控制信号关断。The protection module includes at least one switching transistor, which is used to transmit the output signal to the battery in response to the closing control signal, or to shut down in response to the shut-down control signal.9.根据权利要求1所述的装置,其特征在于,在所述适配器与所述数字信号处理器不适配时,通过所述充电控制器将所述适配器的输出信号调整为预设输入信号传输至所述电池。9. The device according to claim 1, characterized in that when the adapter is not compatible with the digital signal processor, the output signal of the adapter is adjusted to a preset input signal by the charging controller and transmitted to the battery.10.根据权利要求1所述的装置,其特征在于,所述电源提供装置还包括:10. The device according to claim 1, characterized in that the power supply device further comprises:数据采集模块,连接于所述数字信号处理器,用于采集所述属性信息并传输至所述数字信号处理器。The data acquisition module is connected to the digital signal processor and is used for acquiring the attribute information and transmitting it to the digital signal processor.11.根据权利要求1所述的装置,其特征在于,所述数字信号处理器还包括:11. The device according to claim 1, wherein the digital signal processor further comprises:模数转换模块,用于对所述属性信息进行模数转换;An analog-to-digital conversion module, used for performing analog-to-digital conversion on the attribute information;协议处理模块,用于接收所述协议物理层的通讯信号,根据所述预设协议将所述属性信息传输至所述适配器。The protocol processing module is used to receive the communication signal of the physical layer of the protocol and transmit the attribute information to the adapter according to the preset protocol.12.根据权利要求1所述的装置,其特征在于,所述协议物理层包括数字电路状态机。12. The device according to claim 1, characterized in that the protocol physical layer includes a digital circuit state machine.13.根据权利要求1所述的装置,其特征在于,所述属性信息包括握手信号、所述电池的电压、电流和温度。13. The device according to claim 1, wherein the attribute information includes a handshake signal, a voltage, a current and a temperature of the battery.14.一种电源提供方法,其特征在于,包括:14. A power supply method, comprising:通过数字信号处理器接收电池的属性信息;receiving attribute information of the battery via a digital signal processor;通过集成于充电控制器的协议物理层根据预设协议将所述属性信息传输至适配器以使得所述适配器能够根据所述属性信息调整输出信号,并由所述协议物理层向数字信号处理器反馈所述属性信息的传输完成信号,以使得所述数字信号处理器根据所述传输完成信号控制充电控制器生成闭合控制信号;The attribute information is transmitted to the adapter according to a preset protocol through a protocol physical layer integrated in the charging controller so that the adapter can adjust the output signal according to the attribute information, and the protocol physical layer feeds 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;通过保护模块响应所述闭合控制信号,将所述输出信号传输至所述电池;或通过保护模块响应关断控制信号关断;The protection module responds to the closing control signal to transmit the output signal to the battery; or the protection module responds to the closing control signal to shut down;通过集成于所述数字信号处理器的事件生成模块在接收到传输完成信号时,按照预定顺序生成预设定的监控事件;When receiving the transmission completion signal, the event generation module integrated in the digital signal processor generates a preset monitoring event in a predetermined order;通过集成于所述数字信号处理器的事件监测模块接收所述监控事件,并根据所述监控事件的参数信息生成调整信号,以使得所述适配器能够根据所述调整信号调整所述输出信号;或Receiving the monitoring event through an event monitoring module integrated in the digital signal processor, and generating an adjustment signal according to parameter information of the monitoring event, so that the adapter can adjust the output signal according to the adjustment signal; or根据所述监控事件的参数信息控制所述充电控制器生成关断控制信号。The charging controller is controlled to generate a shutdown control signal according to the parameter information of the monitoring event.15.一种电源提供系统,其特征在于,包括相互连接的待充电设备和适配器,其中,所述待充电设备包括权利要求1至13任一项所述的电源提供装置。15. 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 device according to any one of claims 1 to 13.
CN202110390626.8A2021-04-122021-04-12 Power supply device, power supply method and power supply systemActiveCN113113948B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110390626.8ACN113113948B (en)2021-04-122021-04-12 Power supply device, power supply method and power supply system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110390626.8ACN113113948B (en)2021-04-122021-04-12 Power supply device, power supply method and power supply system

Publications (2)

Publication NumberPublication Date
CN113113948A CN113113948A (en)2021-07-13
CN113113948Btrue CN113113948B (en)2025-01-03

Family

ID=76715960

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110390626.8AActiveCN113113948B (en)2021-04-122021-04-12 Power supply device, power supply method and power supply system

Country Status (1)

CountryLink
CN (1)CN113113948B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115102267A (en)*2022-06-102022-09-23上海传英信息技术有限公司Charging chip, charging method, charging system, intelligent terminal and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101604858A (en)*2008-06-122009-12-16凹凸电子(武汉)有限公司Power-supply management system, battery case and method for managing power supply
CN111201689A (en)*2017-12-112020-05-26深圳市柔宇科技有限公司Electronic equipment and charging control method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20010098017A (en)*2000-04-272001-11-08송문섭Device for charging battery in cellular phone
CN106329688B (en)*2014-01-282019-09-27Oppo广东移动通信有限公司 Electronic equipment and its power adapter
MY181704A (en)*2016-02-052021-01-04Guangdong Oppo Mobile Telecommunications Corp LtdCharge method, adapter and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101604858A (en)*2008-06-122009-12-16凹凸电子(武汉)有限公司Power-supply management system, battery case and method for managing power supply
CN111201689A (en)*2017-12-112020-05-26深圳市柔宇科技有限公司Electronic equipment and charging control method

Also Published As

Publication numberPublication date
CN113113948A (en)2021-07-13

Similar Documents

PublicationPublication DateTitle
EP2402864B1 (en)Portable charging apparatus, charging method thereof, and charging system
US20160336779A1 (en)Charging Method, Alternating Current Adaptor, Charging Management Device and Terminal
US20070222301A1 (en)Methods and apparatus for charging a battery in a peripheral device
EP2177969B1 (en)Image display apparatus having function of charging external device and charging method thereof
US11322993B2 (en)Device and method for providing user interface according to wireless power-sharing
US20090100258A1 (en)Mobile terminal aware of external device and control method for the same
KR102315042B1 (en) reverse charging device
JP2009011153A (en)Device and method for detecting power supply
US8324866B2 (en)Charging system, processor and feeder
WO2020249099A1 (en)Battery pack
TWI559125B (en)Power bank apparatus and power control method thereof
CN113113948B (en) Power supply device, power supply method and power supply system
CN113013934A (en)Electronic equipment, electronic device and charging method
US20140032952A1 (en)Electronic apparatus and drive control method thereof
US12026114B2 (en)Port controller and electronic device
CN109861038B (en)USB connection port capable of automatically switching connection mode and control method thereof
CN114520524B (en) Power supply device, power supply method and power supply system
CN114256897A (en) Power supply device, power supply method, and power supply system
CN117762232A (en)Power supply chip, power supply circuit, electronic device, and power supply control method
CN113036859B (en)Power supply device, power supply method, and power supply system
EP2988391B1 (en)Mobile power supply terminal and power supply method therefor
CN107612104A (en)Control method and device when USB flash disk charger baby charges
CN113036862A (en)Power supply device, power supply method, and power supply system
WO2022023817A1 (en)Multifunctional mobile power device
CN112152301B (en) Portable Power

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp