Power supply circuit and power supply equipment

By introducing a charging interface, protocol circuit, and control circuit into the power supply device, data communication and power adjustment with the charging device are achieved, solving the problem of the power supply device being unable to communicate with the charging device and improving user experience and device safety.

CN223348384UActive Publication Date: 2025-09-16SHENZHEN ROMOSS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422052701.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2025-09-16
Estimated Expiration
2034-08-23

AI Technical Summary

Technical Problem

Existing power supply equipment cannot communicate data with charging equipment, resulting in a reduced user experience, and the charging equipment may be damaged when the power reaches a certain threshold during fast charging.

Method used

A power supply circuit is designed, including a charging interface, a protocol circuit, and a control circuit. It is connected to the charging device through a data cable to achieve protocol matching and data packet transmission. Utilizing existing protocol matching and data extraction methods, it extracts target data and outputs control signals to perform corresponding tasks. It supports USB and PD protocols, displays charging device information, and adjusts charging power.

Benefits of technology

It realizes data communication between the power supply equipment and the charging equipment, improves the user experience, protects the safety of the charging equipment through power adjustment, and improves the practicality and convenience of the power supply equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223348384U_ABST
    Figure CN223348384U_ABST
Patent Text Reader

Abstract

The utility model relates to a power supply circuit and equipment. The power supply circuit comprises a charging interface, a protocol circuit and a control circuit, the charging interface is connected with charging equipment through a data line, the charging interface is used for receiving a data packet sent by the charging equipment, the protocol circuit is connected with the charging interface, and the protocol circuit is used for sending the data packet to the charging interface under the condition that protocol matching succeeds. And the control circuit is used for extracting target data in the data packet, is connected with the protocol circuit and is used for outputting a corresponding control signal under the condition of receiving the target data so as to enable the power supply equipment to execute a corresponding task. According to the power supply circuit and the equipment, data communication between the power supply circuit and the charging equipment can be realized, and the use experience of a user on the power supply circuit is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of mobile charging equipment, and in particular to a power supply circuit and power supply equipment. Background Art

[0002] With the advancement of technology, various mobile electronic devices have emerged in people's lives. The power storage function in mobile electronic devices has always been an indispensable function of mobile devices. Therefore, various power supply devices have emerged on the market to charge mobile electronic devices. However, the power supply devices currently on the market cannot communicate data with charging devices, which reduces the user experience of the power supply devices. Utility Model Content

[0003] Based on this, it is necessary to provide a power supply circuit that can communicate data with a charging device.

[0004] In a first aspect, the present application provides a power supply circuit, comprising:

[0005] A charging interface, connected to a charging device via a data cable, for receiving data packets sent by the charging device;

[0006] a protocol circuit connected to the charging interface and configured to extract target data from the data packet if the protocol matches successfully;

[0007] A control circuit is connected to the protocol circuit and is used to output a corresponding control signal when the target data is received, so that the power supply device performs a corresponding task.

[0008] In one embodiment, the communication protocols stored in the protocol circuit include one or more of the following: USB protocol and PD protocol.

[0009] In one embodiment, the target data includes basic information of the charging device, and the protocol circuit is further configured to extract the basic information when the communication protocol includes the USB protocol.

[0010] In one embodiment, the control signal includes a display control signal, and the power supply circuit further includes:

[0011] Display screen;

[0012] A display module is connected to the control circuit and is used to display the basic information on the display screen when receiving the display control signal.

[0013] In one embodiment, the target data further includes: a power value of the charging device, and the protocol circuit is further configured to extract and obtain the power value when the communication protocol includes the PD protocol.

[0014] In one embodiment, the control signal further includes: a power reduction signal and a maximum power signal, and the power supply circuit further includes:

[0015] The control circuit is further configured to output the power reduction signal when the power value is greater than a preset power threshold;

[0016] The control circuit is further configured to output the maximum power signal when the power value is less than the preset power threshold.

[0017] In one embodiment, the target data further includes: the power supply circuit further includes:

[0018] A power control circuit is connected to the control circuit and the charging interface, and is used to reduce the output charging power when the power reduction signal is received.

[0019] In one embodiment, the control signal further includes: the power control circuit is further configured to output the maximum charging power when receiving the maximum power signal.

[0020] In one embodiment, the charging interface includes at least one of a USB interface and a PD interface.

[0021] In a second aspect, the present application provides a power supply device, comprising:

[0022] The power supply circuit as described in the first aspect.

[0023] The above-mentioned power supply circuit establishes a communication connection with the charging device through the charging interface. After the first communication protocol stored in the protocol circuit is matched with the communication protocol of the charging device, the charging device transmits a data packet through the communication channel. The protocol circuit obtains the target data corresponding to the first communication protocol from the data packet and transmits the target data to the control circuit. After receiving the target data, the control circuit outputs a corresponding control signal, thereby enabling the power supply circuit to perform the corresponding task. This can realize data communication between the power supply circuit and the charging device, and improve the user experience of the power supply circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the conventional technology, the following briefly introduces the drawings required for use in the embodiments or the conventional technology descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 The module structure of the power supply circuit of one embodiment;

[0026] Figure 2 A module structure of a power supply circuit according to another embodiment;

[0027] Figure 3 A circuit diagram of a charging interface according to an embodiment;

[0028] Figure 4 is a circuit schematic diagram of a protocol circuit according to an embodiment;

[0029] Figure 5 is a circuit schematic diagram of a control circuit according to an embodiment;

[0030] Figure 6 is a circuit schematic diagram of a display module according to an embodiment;

[0031] Figure 7 A circuit diagram of a display screen according to an embodiment;

[0032] Figure 8 FIG. 4 is a circuit schematic diagram of a power control circuit according to an embodiment.

[0033] Description of reference numerals:

[0034] Power supply circuit 100, charging interface 101, protocol circuit 102, control circuit 103;

[0035] Display module 201, display screen 202;

[0036] Power supply control circuit 301. DETAILED DESCRIPTION

[0037] To facilitate understanding of the present application, the present application will be described more fully below with reference to the accompanying drawings. The accompanying drawings provide embodiments of the present application. However, the present application may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to make the disclosure of the present application more thorough and comprehensive.

[0038] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application pertains. The terms used herein in the specification of this application are for the purpose of describing specific embodiments only and are not intended to limit this application.

[0039] It will be understood that the terms "first," "second," etc., used herein may be used to describe various elements herein, but these elements are not limited by these terms. These terms are merely used to distinguish a first communication protocol from another communication protocol. For example, without departing from the scope of this application, a first communication protocol may be referred to as a second communication protocol, and similarly, a second communication protocol may be referred to as a first communication protocol. Both the first communication protocol and the second communication protocol are communication protocols, but they are not the same communication protocol.

[0040] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if there is transmission of electrical signals or data between the connected circuits, modules, units, etc.

[0041] It is understood that “at least one” refers to one or more, “a plurality” refers to two or more, and “at least a portion of an element” refers to a portion or all of an element.

[0042] As used herein, the singular forms "a," "an," and "the" may also include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include," "comprising," "having," and the like specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof. Furthermore, the term "and / or" as used in this specification includes any and all combinations of the relevant listed items.

[0043] Currently, the power supply circuits on the market are unable to communicate data with charging devices, which reduces the user experience of the power supply circuit. In addition, when the power supply circuit is fast charging the charging device, if the charging power is too large when the power of the charging device reaches a certain power threshold, it may cause damage to the charging device.

[0044] To this end, the utility model of the present application provides a power supply circuit and device capable of performing data communication with a charging device.

[0045] like Figure 1As shown, the power supply circuit 100 of one embodiment includes a charging interface 101, a protocol circuit 102, and a control circuit 103. The charging interface 101 is connected to the charging device and is connected to the charging device via a data line. The charging interface 101 is used to receive data packets sent by the charging device. The protocol circuit 102 is connected to the charging interface 101 and is used to extract the target data in the data packet when the protocol match is successful. The control circuit 103 is connected to the protocol circuit 102 and is used to output a corresponding control signal when receiving the target data to enable the power supply device to perform the corresponding task.

[0046] When the charging device is inserted into the charging interface 101, a communication connection is established with the charging device through the charging interface 101. The charging device transmits the stored communication protocol to the protocol circuit 102 through the corresponding communication channel. The protocol circuit 102 matches the stored communication protocol and the communication protocol stored in the charging device according to the built-in protocol matching method. When the two protocols match successfully, the charging device transmits the data packet to the protocol circuit 102 through the communication channel. When the protocol circuit 102 receives the data packet, the protocol circuit 102 extracts data from the data packet according to the built-in data extraction method to obtain the target data corresponding to the communication protocol from the data packet, and transmits the target data to the control circuit 103. After receiving the target data, the control circuit 103 generates a corresponding control signal and outputs the corresponding control signal to other components in the power supply circuit, so that the other components in the power supply circuit perform corresponding tasks when receiving the control signal. This can realize data communication between the power supply circuit and the charging device, and improve the user experience of the power supply circuit.

[0047] It should be noted that the protocol matching method and data extraction method built into the protocol circuit 102 are the protocol matching method and data extraction method stored in the protocol circuit 102 in the prior art. The protocol circuit 102 of the present application uses the existing protocol matching method to complete the protocol matching of the charging device, and the protocol circuit 102 of the present application uses the existing data extraction method to complete the data extraction of the data packet.

[0048] The protocol matching method built into protocol circuit 102 primarily relies on state diagram analysis and sequence diagram analysis. State diagram analysis describes and analyzes the behavior and operation of a communication protocol by defining and analyzing the various states and state transition conditions within the protocol. Sequence diagram analysis focuses on describing the timing relationships and message delivery order within the protocol. By drawing sequence diagrams, it clearly illustrates the information exchange and flow between the various participants in the protocol.

[0049] The data extraction method built into the protocol circuit 102 involves parsing the protocol data, which typically includes elements such as the address code, function code, data length, the data itself, and a checksum.

[0050] In one embodiment, Figure 3 As shown, the charging interface 101 includes a Type-C interface and an external circuit of the Type-C interface, which is used to connect to the charging device and obtain data from the charging device. In addition, the charging interface can be other interfaces, and the charging interface is not specifically limited in this application.

[0051] In one embodiment, Figure 4 As shown, the protocol circuit 102 includes a protocol chip and an external circuit of the protocol chip. The protocol chip stores an existing first communication protocol, an existing protocol matching method, and an existing data extraction method. The protocol chip may include any one of the following chip models: MP5316 chip, ETA6884 chip, SW6103S chip, SW6208 chip, IP5389 chip, SW6003 chip, SW6206 chip, IP5353 chip, IP5356 chip, IP5320 chip, SW6007 chip, SW6202 chip, SW6201 chip, SC8910 chip, SW6008 chip, WB8118 chip, SW6238 chip, SC8910A chip, IP5385 chip, IP5355 chip, SC8812 chip, SC8905 chip, etc. The protocol chip is not specifically limited in this application.

[0052] In one embodiment, Figure 5 As shown, the control circuit 103 includes an MCU chip and an external circuit of the MCU chip. The MCU chip stores the existing charging mode switching method. The MCU chip can include any of the following chip models: CSU3AF10 chip, CS32G020 chip, KS08F102GSD chip, CMS8S6990 chip, CMS8S6990 chip, ZX9025 chip, PFS122 chip, ZXW8025 chip, etc. The MCU chip is not specifically limited in this application.

[0053] It should be noted that, in one embodiment, the communication protocol stored in the protocol circuit 102 includes a first communication protocol, and the communication protocol stored in the charging device includes a second communication protocol. When the first communication protocol stored in the protocol circuit 102 successfully matches the second communication protocol stored in the charging device, the protocol circuit 102 extracts the target data from the data packet.

[0054] Optionally, the protocol circuit 102 calls a stored first communication protocol and matches the first communication protocol with a second communication protocol stored in the charging device using an existing protocol matching method. After the protocol matching is complete, if the first communication protocol and the second communication protocol are consistent, i.e., the first communication protocol and the second communication protocol are successfully matched, the protocol circuit 102 extracts data from the data packet using an existing data extraction method to extract the target data corresponding to the communication protocol type of the current second communication protocol in the data packet. If the first communication protocol and the second communication protocol are different, i.e., the first communication protocol and the second communication protocol fail to match, the protocol circuit 102 performs protocol matching on the first communication protocol of the current communication protocol type and the second communication protocol of the next different communication protocol type until a successful protocol match is achieved.

[0055] Optionally, when the first communication protocol is different from the second communication protocol, that is, when the first communication protocol fails to match the second communication protocol, the first communication protocol of the next different communication protocol type is matched with the second communication protocol of the current communication protocol type until the protocol match succeeds.

[0056] In the power supply circuit 100 of one embodiment, the communication protocols stored in the protocol circuit 102 include one or more of the following: USB protocol and PD protocol.

[0057] The USB protocol refers to the USB bus protocol, which is a serial interface standard. The USB protocol can be used to transmit data and control signals, and both the data and the control signals are transmitted in the form of data packets.

[0058] The PD protocol is a power transmission protocol based on the USB Type-C interface. It uses a bidirectional communication mechanism. The charging interface 101 configured with the PD protocol allows the charging device and the power supply circuit 100 to negotiate the supply voltage and current, enabling more flexible charging solutions. Furthermore, by using the Type-C interface, the PD protocol can achieve higher charging speeds and higher energy transfer efficiency.

[0059] Optionally, when the communication protocol type of the first communication protocol currently called by the protocol circuit 102 includes the USB protocol, and the communication protocol type of the second communication protocol currently transmitted by the charging device includes the USB protocol, the first communication protocol is consistent with the second communication protocol, that is, the first communication protocol and the second communication protocol are successfully matched, and the protocol circuit 102 extracts data from the data packet with the help of the existing data extraction method to extract the target data corresponding to the USB protocol in the data packet.

[0060] When the communication protocol type of the first communication protocol currently called by the protocol circuit 102 includes the USB protocol, and the communication protocol type of the second communication protocol currently transmitted by the charging device includes the PD protocol, the first communication protocol is different from the second communication protocol, that is, the first communication protocol fails to match the second communication protocol. The USB protocol currently called by the protocol circuit 102 is protocol matched with the next second communication protocol of a different communication protocol type until the protocol match is successful, or the first communication protocol of the next different communication protocol type is protocol matched with the PD protocol currently transmitted by the charging device until the protocol match is successful.

[0061] When the communication protocol type of the first communication protocol currently called by the protocol circuit 102 includes the PD protocol, and the communication protocol type of the second communication protocol currently transmitted by the charging device includes the PD protocol, the first communication protocol is consistent with the second communication protocol, that is, the first communication protocol and the second communication protocol are successfully matched. The protocol circuit 102 extracts data from the data packet with the help of the existing data extraction method to extract the target data corresponding to the PD protocol in the data packet.

[0062] When the communication protocol type of the first communication protocol currently called by the protocol circuit 102 includes the PD protocol, and the communication protocol type of the second communication protocol currently transmitted by the charging device includes the USB protocol, the first communication protocol is different from the second communication protocol, that is, the first communication protocol fails to match the second communication protocol. The PD protocol currently called by the protocol circuit 102 is protocol matched with the next second communication protocol of a different communication protocol type until the protocol match is successful, or the first communication protocol of the next different communication protocol type is protocol matched with the USB protocol currently transmitted by the charging device until the protocol match is successful.

[0063] like Figure 1 As shown, in a power supply circuit 100 of an embodiment, the target data includes: basic information of the charging device, and the protocol circuit 102 is further used to extract the basic information when the communication protocol includes the USB protocol.

[0064] Among them, the basic information of the charging device may include one or more of the brand information, parameter information or instructions for use of the charging device. The basic information of the charging device is not specifically limited in this application.

[0065] It should be noted that after the USB protocol stored in the power supply circuit 100 successfully matches the USB protocol stored in the charging device, the protocol circuit 102 receives the data packet transmitted by the charging device through the charging interface 101, and extracts data from the data packet with the help of existing data extraction methods to extract basic information of the charging device from the data packet.

[0066] Optionally, after the USB protocol stored in the power supply circuit 100 successfully matches the USB protocol stored in the charging device, the protocol circuit 102 extracts information such as brand information, parameter information or instructions for use of the charging device in the data packet using an existing data extraction method.

[0067] like Figure 2 As shown, the power supply circuit 100 of one embodiment, the control signal includes a display control signal, and the power supply circuit also includes: a display screen 202 and a display module 201, the display module 201 is connected to the control circuit 103, and the display module 201 is used to display basic information on the display screen 202 when receiving the display control signal.

[0068] In one embodiment, Figure 8 As shown, the display module 201 may include a display control chip and an external circuit of the display control chip, and the display control chip stores an existing data format conversion method.

[0069] In one embodiment, Figure 7 As shown, the display screen 202 may include a TFT liquid crystal display. TFT (Thin Film Transistor) is a thin film field effect transistor. Each liquid crystal pixel on the TFT liquid crystal display is driven by a thin film transistor integrated therein, which can display screen information at high speed, high brightness and high contrast.

[0070] It should be noted that when the control circuit 103 receives the basic information transmitted by the protocol circuit 102, the control circuit 103 outputs the display control signal and the basic information to the display module 201. When the display module 201 receives the display control signal and the basic information, it transmits the basic information to the display screen 202 and controls the display screen 202 to display the basic information. This can intuitively feed back the information of the charging device to the user, thereby improving the user experience and the practicality of the power supply equipment.

[0071] Optionally, when the control circuit 103 receives the basic information transmitted by the protocol circuit 102, the control circuit 103 generates a display control signal corresponding to the basic information and transmits the display control signal to the display module 201. When the display module 201 receives the display control signal, the display module 201 converts the data format of the basic information into a format suitable for display on the display screen 202 by calling an existing data format conversion method, and transmits the basic information in the converted format to the display screen 202, so that the display screen 202 displays the basic information.

[0072] The data format conversion method stored in the display module 201 generally involves converting data from one format to another to accommodate specific display requirements or compatibility with other systems. The converted data may include data in various formats, such as video, audio, documents, and images. The data format conversion method stored in the display module 201 includes one or more of the following: using specialized software tools to convert the basic information format; using hardware and software to convert the basic information format; using format conversion software to convert the basic information format; or implementing the basic information format conversion in an FPGA.

[0073] like Figure 1 As shown, the power supply circuit 100 of an embodiment includes: the target data also includes: the power value of the charging device, and the protocol circuit 102 is further used to extract the power value when the communication protocol includes the PD protocol.

[0074] Optionally, the power value of the charging device may include the current power value of the charging device. It should be noted that after the PD protocol stored in the protocol circuit 102 successfully matches the PD protocol stored in the charging device, the protocol circuit 102 receives the data packet transmitted by the charging device through the charging interface 101 and extracts data from the data packet using existing data extraction methods to extract the power value of the charging device from the data packet. This can obtain the power value of the charging device, thereby improving the practicality and convenience of the power supply device.

[0075] like Figure 2 As shown, in one embodiment of the power supply circuit 100, the control signal further includes a power reduction signal and a maximum power signal. The power supply circuit 100 further includes: a control circuit 103 further configured to output the power reduction signal when the power level is greater than a preset power threshold. The control circuit 103 is further configured to output the maximum power signal when the power level is less than the preset power threshold.

[0076] It should be noted that, upon receiving the power level transmitted by the protocol circuit 102, the control circuit 103 compares the power level with a preset power threshold. Specifically, the control circuit 103 compares the current power level of the charging device with the preset power threshold. If the current power level of the charging device is greater than the preset power threshold, the control circuit 103 generates and outputs a corresponding power reduction signal. If the current power level of the charging device is less than the preset power threshold, the control circuit 103 generates and outputs a corresponding maximum power signal. This allows the current power level of the charging device to be obtained, improving the practicality and convenience of the power supply device.

[0077] The control circuit 103 stores existing methods for switching charging modes, including trickle charging mode and constant current charging mode. The existing methods for switching charging modes include: First, the constant current charging phase marks the beginning of the charging process, during which the battery of the charging device receives a relatively high current for charging. After this phase, the charging process enters the constant voltage phase, during which the battery voltage remains constant but the current gradually decreases. When the battery is nearly fully charged, it enters the trickle charging phase, further reducing the charging current.

[0078] Optionally, upon receiving the power level transmitted by the protocol circuit 102, the control circuit 103 invokes a charging mode switching method to compare the current power level of the charging device with a preset power threshold through the charging mode switching method. If the current power level of the charging device is greater than the preset power threshold, the control circuit 103 generates a power reduction signal for switching to the trickle charging stage and outputs the power reduction signal. If the current power level of the charging device is less than the preset power threshold, the control circuit 103 generates a maximum power signal for switching to the constant current charging stage and outputs the maximum power signal.

[0079] Optionally, when the charging device is successfully connected to the charging interface of the power supply circuit 100, if the current charge level of the charging device is less than a preset charge threshold, the control circuit 103 generates a maximum power signal for switching to the constant current charging stage and outputs the maximum power signal. After the maximum power signal is output for the first time, the maximum power signal is no longer repeatedly generated and output until the current charge level of the charging device exceeds the preset charge threshold, at which point the control circuit 103 generates and outputs a corresponding power reduction signal. Furthermore, the control circuit 103 generates and outputs a power reduction signal for switching to the trickle charging stage. After the power reduction signal is output for the first time, the power reduction signal is no longer repeatedly generated and output until the current charge level of the charging device is less than the preset charge threshold.

[0080] like Figure 2 As shown, the power supply circuit 100 of one embodiment further includes: a power control circuit 301, the power control circuit 301 is connected to the control circuit 103 and the charging interface 101, and the power control circuit 301 is used to reduce the output charging power when a power reduction signal is received.

[0081] It should be noted that when the power control circuit 301 receives a power reduction signal, that is, the power supply circuit 100 enters the trickle charging stage, the power control circuit 301 reduces the charging power output to the charging interface 101.

[0082] In one embodiment, Figure 8As shown, the power control circuit 301 may include a power control chip and an external circuit of the power control chip, and the power control chip stores an existing active power adjustment strategy.

[0083] Among them, the trickle charging stage means that the battery of the charging device intentionally reduces the power at the end of charging, that is, reduces the output current. The purpose is to make up for the slight power loss of the battery and ensure that the battery remains fully charged for a long time, avoiding large current in the slow stage of fast charging, which in turn causes damage to the battery of the charging device and safety risks.

[0084] In addition, the power control circuit 301 may include any one of the following chips: CS32G051 chip, CSU3AF10 chip.

[0085] like Figure 2 As shown, the power supply circuit 100 of one embodiment further includes: the power control circuit 301 is further configured to output the maximum charging power when receiving the maximum power signal.

[0086] It should be noted that when the power control circuit 301 receives the maximum power signal, that is, the power supply circuit 100 is in the constant current charging stage, the power control circuit 301 increases the charging power output to the charging interface 101 .

[0087] Among them, the constant current charging stage can be understood as the stage in which the power supply circuit 100 outputs maximum power or high power for charging. The specific output power depends on the fast charging protocol applicable to the charging device.

[0088] In addition, the power supply circuit 100 of the present application can formulate active power adjustment strategies for constant current charging and trickle charging according to different brands and models of the charging device 100, which can maximize the safety of the battery of the charging device.

[0089] Among them, the power control circuit 301 stores the existing active power adjustment strategy, which includes: public fast charging protocols and private fast charging protocols. Public fast charging protocols include: PD Fixed protocol, QC protocol, UFCS protocol and PPS protocol, etc. Public fast charging protocols support different power levels, such as 18W power level, 15W power level, 33W power level, etc. Private fast charging protocols include: fast charging protocols corresponding to various brands, such as: VOOC technology, Quick Charge technology, PEP technology and FCP technology.

[0090] Optionally, when the power supply circuit 100 is in the constant current charging stage, the power control circuit 301 increases the output charging power by calling the existing active power adjustment strategy; when the power supply circuit 100 is in the trickle charging stage, the power control circuit 301 reduces the output charging power by calling the existing active power adjustment strategy.

[0091] like Figure 2 As shown, in a power supply circuit 100 of an embodiment, the charging interface includes: at least one of a USB interface and a PD interface.

[0092] Optionally, when the charging interface 101 includes a USB interface and the USB protocol stored in the protocol circuit 102 successfully matches the USB protocol stored in the charging device, a data packet including basic information is received through the USB interface.

[0093] Optionally, when the charging interface 101 includes a PD interface and the PD protocol stored in the protocol circuit 102 successfully matches the PD protocol stored in the charging device, a data packet including the power value is received through the PD interface.

[0094] The present application also discloses a power supply device, comprising: a power supply circuit as in any of the above embodiments.

[0095] Optionally, when the power supply device is connected to the charging device, the power supply device obtains basic information and power value of the charging device, presents the basic information to the user in an intuitive manner, and adjusts the power output of the power supply device based on the existing power adjustment strategy and power value.

[0096] It can be understood that the charging mode switching method, data extraction method, data format conversion method, protocol matching method and active power adjustment strategy stored and called in the above-mentioned power supply circuit and device are all existing technologies. This application only realizes the corresponding functions by calling these methods and strategies.

[0097] In addition, the above-mentioned power supply circuit and equipment can also adopt other forms, not limited to the forms mentioned in the above embodiments, as long as they can achieve the function of completing data communication between the power supply equipment and the charging equipment, and performing corresponding work according to the acquired data.

[0098] The above circuit and device can be applied to similar electronic devices such as mobile phone chargers, computer chargers and power banks.

[0099] In the description of this specification, reference to the terms "some embodiments" or "other embodiments" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example.

[0100] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0101] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A power supply circuit, characterized in that: include: A charging interface, connected to a charging device via a data cable, for receiving data packets sent by the charging device; a protocol circuit connected to the charging interface and configured to extract target data from the data packet if the protocol matches successfully; A control circuit is connected to the protocol circuit and is used to output a corresponding control signal when the target data is received, so that the power supply device performs a corresponding task.

2. The power supply circuit according to claim 1, wherein: The communication protocols stored in the protocol circuit include one or more of the following: USB protocol and PD protocol.

3. The power supply circuit according to claim 2, wherein: The target data includes basic information of the charging device, and the protocol circuit is further configured to extract the basic information when the communication protocol includes the USB protocol.

4. The power supply circuit according to claim 3, characterized in that: The control signal includes a display control signal, and the power supply circuit further includes: Display screen; A display module is connected to the control circuit and is used to display the basic information on the display screen when receiving the display control signal.

5. The power supply circuit according to claim 2, characterized in that: The target data also includes: the power value of the charging device, and the protocol circuit is further configured to extract and obtain the power value when the communication protocol includes the PD protocol.

6. The power supply circuit according to claim 5, characterized in that: The control signal further includes: a power reduction signal and a maximum power signal, and the power supply circuit further includes: The control circuit is further configured to output the power reduction signal when the power value is greater than a preset power threshold; The control circuit is further configured to output the maximum power signal when the power value is less than the preset power threshold.

7. The power supply circuit according to claim 6, characterized in that: The power supply circuit further includes: A power control circuit is connected to the control circuit and the charging interface, and is used to reduce the output charging power when the power reduction signal is received.

8. The power supply circuit according to claim 7, characterized in that: The power supply control circuit is further configured to output the maximum charging power when receiving the maximum power signal.

9. The power supply circuit according to claim 2, characterized in that: The charging interface includes: at least one of a USB interface and a PD interface.

10. A power supply device, characterized in that: include: The power supply circuit according to any one of claims 1 to 9.