Charging device, method and electronic equipment

By setting up a charging device in the electronic device, dynamically allocating power to meet the needs of the main system and quickly charging, the charging anxiety problem when the mobile terminal is insufficient in power is solved, and the effect of fast charging is achieved.

CN116073481BActive Publication Date: 2025-08-22CIX TECH (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310121833.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-15
Publication Date
2025-08-22
Estimated Expiration
2043-02-15

AI Technical Summary

Technical Problem

In the prior art, when the power of the mobile terminal is insufficient, charging anxiety caused by the lack of a suitable charging power supply is difficult to effectively alleviate.

Method used

Deploy charging devices in electronic devices, including input ports, power distribution modules, PD controllers, power monitoring modules and output ports. The power consumption of the main system is monitored through the power monitoring module, dynamically allocate the power of the charging adapter to meet the needs of the main system, and use the remaining power for fast charging.

Benefits of technology

While meeting the normal power supply needs of the main system, it realizes fast charging of charging equipment and alleviates user charging anxiety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116073481B_ABST
    Figure CN116073481B_ABST
Patent Text Reader

Abstract

The present application proposes a charging device, method and electronic device. The charging device is deployed in the electronic device, and the charging device includes: an input port, a power distribution module, a PD controller, a power monitoring module and an output port; the input end of the power distribution module is connected to the first end of the input port, the second end of the input port is used to connect to the charging adapter, the first output end of the power distribution module is used to connect to the electronic device, the second output end of the power distribution module is connected to the first end of the output port, and the second end of the output port is used to connect to the device to be charged; the first acquisition end of the PD controller is connected to the first end of the input port, the second acquisition end of the PD controller is connected to the first end of the output port, the output end of the PD controller is electrically connected to the power monitoring module, and the power monitoring module is connected to the power distribution module. The charging device can be used to quickly charge the device to be charged while meeting the normal power supply requirements of the main system, thereby alleviating the user's charging anxiety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of charging, and more specifically, to a charging device, method, and electronic device. Background Art

[0002] With the development of the internet, mobile devices are becoming increasingly popular. These devices include mobile phones, PDAs, and laptops. With their widespread adoption comes a surge in charging anxiety. For example, if a phone runs out of battery, it significantly reduces the convenience of daily life and can even affect work progress.

[0003] Sometimes, people may forget to charge their devices in advance when traveling. When the battery of mobile phones and other devices is low, if there is no suitable external charging power source, how to complete the charging in time and alleviate the user's charging anxiety has become a difficult problem that technicians in this field are concerned about. Summary of the Invention

[0004] The purpose of this application is to provide a charging device, method and electronic device to at least partially improve the above-mentioned problems.

[0005] In order to achieve the above objectives, the technical solutions adopted in the embodiments of the present application are as follows:

[0006] In a first aspect, an embodiment of the present application provides a charging device, which is deployed in an electronic device, and includes: an input port, a power distribution module, a PD controller, a power monitoring module, and an output port;

[0007] The input end of the power distribution module is connected to the first end of the input port, the second end of the input port is used to connect to the charging adapter, the first output end of the power distribution module is used to connect to the main system of the electronic device, the second output end of the power distribution module is connected to the first end of the output port, and the second end of the output port is used to connect to the device to be charged;

[0008] The first acquisition end of the PD controller is connected to the first end of the input port, the second acquisition end of the PD controller is connected to the first end of the output port, the output end of the PD controller is electrically connected to the power monitoring module, and the power monitoring module is connected to the power distribution module.

[0009] Optionally, the PD controller is configured to obtain the rated output power of the charging adapter and the rated charging power of the device to be charged when the charging adapter is connected to the input port and the device to be charged is connected to the output port, and transmit the rated output power and the rated charging power to the power monitoring module;

[0010] The power monitoring module is configured to generate a power allocation plan based on the rated output power, the rated charging power, and the target power consumption of the main system when the rated output power is greater than the target power consumption, and transmit the power allocation plan to the power allocation module, wherein the power allocation plan includes a first power value and a second power value, the second power value being equal to the target power consumption, the second power value being the power supplied by the power allocation module to the main system, and the first power value being the power supplied by the power allocation module to the device to be charged;

[0011] The power allocation module is used to execute the power allocation plan.

[0012] Optionally, the power monitoring module is configured to determine the rated charging power as the first power value when the rated output power is greater than the target power consumption and a first difference is greater than or equal to the rated charging power, wherein the first difference is the difference between the rated output power and the target power consumption;

[0013] The power monitoring module is configured to determine the first difference as the first power value when the first difference is less than the rated charging power and the first difference is greater than a preset power threshold.

[0014] Optionally, the target power consumption is the rated power consumption of the main system.

[0015] Optionally, the target power consumption is the real-time power consumption of the main system;

[0016] The power monitoring module is further configured to monitor the power consumption of the main system according to a preset period to obtain the real-time power consumption;

[0017] The power monitoring module is further configured to update the power allocation scheme after the real-time power consumption is updated.

[0018] Optionally, the charging device further comprises a switch, wherein a first end of the switch is connected to the first end of the output port, a second end of the switch is connected to the second output end of the power distribution module, a third end of the switch is connected to the main system, and a control end of the switch is connected to the power monitoring module;

[0019] The power monitoring module is further configured to send a first trigger signal to the switch when the first difference is greater than a preset power threshold, so as to connect the first end and the second end of the switch;

[0020] The power monitoring module is further configured to send a second trigger signal to the switch to connect the first terminal and the third terminal of the switch when the first difference is less than or equal to a preset power threshold, or when the rated output power is less than the target power consumption;

[0021] The main system is used to supply energy to the device to be charged at a default power when the first end and the third end of the switch are connected.

[0022] Optionally, the power monitoring module is also used to send a second trigger signal to the switching switch to connect the first end and the third end of the switching switch when the device to be charged is connected to the output port, the charging adapter is not connected to the input port, or the device to be charged only supports the default power.

[0023] In a second aspect, an embodiment of the present application provides a charging method, which is applied to the above-mentioned charging device, and the method includes:

[0024] When the charging adapter is connected to the input port and the device to be charged is connected to the output port, the PD controller obtains the rated output power of the charging adapter and the rated charging power of the device to be charged, and transmits the rated output power and the rated charging power to the power monitoring module;

[0025] The power monitoring module generates a power allocation plan according to the rated output power, the rated charging power and the target power consumption of the main system when the rated output power is greater than the target power consumption;

[0026] The power monitoring module transmits the power allocation plan to the power allocation module, wherein the power allocation plan includes a first power value and a second power value, the second power value is equal to the target power consumption, the second power value is the power supplied by the power allocation module to the main system, and the first power value is the power supplied by the power allocation module to the device to be charged;

[0027] The power allocation module executes the power allocation scheme.

[0028] In a third aspect, an embodiment of the present application provides an electronic device, including: the above-mentioned charging device.

[0029] Compared with the prior art, the embodiments of the present application provide a charging device, method and electronic device, in which the charging device is deployed in the electronic device, and the charging device includes: an input port, a power distribution module, a PD controller, a power monitoring module and an output port; the input end of the power distribution module is connected to the first end of the input port, the second end of the input port is used to connect to the charging adapter, the first output end of the power distribution module is used to connect to the electronic device, the second output end of the power distribution module is connected to the first end of the output port, and the second end of the output port is used to connect to the device to be charged; the first acquisition end of the PD controller is connected to the first end of the input port, the second acquisition end of the PD controller is connected to the first end of the output port, the output end of the PD controller is electrically connected to the power monitoring module, and the power monitoring module is connected to the power distribution module. The charging device can be used to quickly charge the device to be charged while meeting the normal power supply requirements of the main system, thereby alleviating the user's charging anxiety.

[0030] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 A schematic diagram of the structure of a charging device provided in an embodiment of the present application;

[0033] Figure 2 Another structural schematic diagram of the charging device provided in an embodiment of the present application;

[0034] Figure 3 A schematic diagram of a charging method according to an embodiment of the present invention;

[0035] Figure 4 A schematic diagram of the sub-steps of S141 provided in an embodiment of the present application.

[0036] In the figure: 10-charging device; 11-input port; 12-output port; 13-PD controller; 14-power monitoring module; 15-power distribution module; 16-switching switch; 20-main system. DETAILED DESCRIPTION

[0037] To make the objectives, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Generally, the components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations.

[0038] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for protection, but merely represents selected embodiments of the present application. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in the present application without creative work are within the scope of protection of the present application.

[0039] It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and should not be understood as indicating or implying relative importance.

[0040] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0041] In the description of this application, it should be noted that the terms "upper", "lower", "inside", "outside", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, or are the orientations or positional relationships in which the product of the application is usually placed when in use. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, they should not be understood as limitations on this application.

[0042] It should also be noted that, in the description of this application, unless otherwise expressly specified or limited, the terms "disposed" and "connected" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; mechanical connections, or electrical connections; direct connections, indirect connections through an intermediate medium, or internal connections between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.

[0043] The following describes some embodiments of the present application in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features therein may be combined with each other.

[0044] With the increasing popularity of USB-C solutions, more and more laptops are supporting multiple USB-C ports simultaneously. Typically, two or more USB-C ports can support charging and power external devices. Generally speaking, a USB-C port provides the following functions: USB data transmission, DP external display, charging related devices when connected to a USB-C charger, and powering external devices. The maximum power supply is 15W (5V / 3A). Currently, many external devices (such as mobile phones) require support for fast charging (such as 30W / 45W, 9V / 15V / 20V input, etc.).

[0045] However, the USB-C port in existing laptop designs usually has a maximum external power supply capacity of 5V / 3A and a maximum power supply power of 15W, which cannot meet customer needs in some scenarios. For example, for mobile phones that support fast charging solutions, users generally hope to obtain high power (such as 20W and above) through the USB-C port connection.

[0046] The main purpose of this application is to provide a power supply solution for providing high-power fast charging through a connection port (such as a USB-C port) on an electronic device (such as a laptop) to meet the fast charging needs of customers. Nowadays, users often have adapters of different specifications. They can directly use the existing high-specification adapters on hand to provide a high-power fast charging power supply solution without affecting the normal power supply of the laptop main system.

[0047] Specifically, the embodiment of the present application provides a charging device 10, which is deployed in an electronic device, such as a laptop computer, a desktop computer, or a car computer. Figure 1 , Figure 1 This is a schematic diagram of the structure of the charging device provided in the embodiment of the present application. Figure 1 As shown, the charging device 10 includes an input port 11 , a power distribution module 15 , a PD controller 13 , a power monitoring module 14 and an output port 12 .

[0048] The input end of the power distribution module 15 is connected to the first end of the input port 11, the second end of the input port 11 is used to connect to the charging adapter, the first output end of the power distribution module 15 is used to connect to the main system 20 of the electronic device, the second output end of the power distribution module 15 is connected to the first end of the output port 12, and the second end of the output port 12 is used to connect to the device to be charged.

[0049] The first acquisition end of the PD controller 13 is connected to the first end of the input port 11, the second acquisition end of the PD controller 13 is connected to the first end of the output port 12, the output end of the PD controller 13 is electrically connected to the power monitoring module 14, and the power monitoring module 14 is connected to the power distribution module.

[0050] It should be understood that the charging adapter is used to provide external power to the system and can power the main system of an electronic device (such as a laptop) through the USB-C port. Electronic devices can be used with charging adapters of different power ratings (for example, 45W / 65W / 90W, etc., which are examples and not specific power ratings).

[0051] When the charging adapter is connected to the input port 11 and the device to be charged is connected to the output port 12, the PD controller 13 (Power Delivery, abbreviated as PD controller) communicates with the charging adapter and the device to be charged, and can obtain the rated output power and related voltage and current parameters of the charging adapter, and can also obtain the rated charging power of the device to be charged and the charging voltage and current parameters it supports.

[0052] Specifically, the PD controller 13 can communicate with the charging adapter and the device to be charged via the CC (Configuration Channel) bus. The PD controller 13 can also communicate with the power monitoring module 14 via the I2C / SMBUS bus.

[0053] The power distribution module 15 can distribute the power input by the charging adapter, for example, after distribution, power is supplied to the main system 20 of the electronic device and the device to be charged respectively.

[0054] The main system 20 is the main operating system of the electronic device, including main power-consuming components such as a CPU, memory, and battery, and is the main working module of the electronic device (such as a laptop).

[0055] The power monitoring module 14 can monitor and predict the power consumption requirements of the main system, and can be connected to the power distribution module 15 through the power control bus, thereby controlling the power distribution module 15 to distribute part of the power input by the charging adapter to provide external devices (devices to be charged) for fast charging.

[0056] Optionally, the power monitoring module 14 may monitor the system power consumption through a precision resistor solution, or may implement system power monitoring through a CPU built-in monitoring solution.

[0057] Optionally, the power monitoring module 14 includes a power detection MCU, which also includes a precision resistor or a power detection chip. The precision resistor or the power detection chip is connected to the power detection MCU, and the precision resistor or the power detection chip is set at the power input end of the main system 20. The power detection MCU can also be connected to the main system 20 via a power detection bus. The power detection MCU can also be connected to the PD controller 13, the power distribution module 15, and the switch 16.

[0058] The input port 11 and the output port 12 in the embodiment of the present application can be USB-C ports.

[0059] In summary, an embodiment of the present application provides a charging device, which is deployed in an electronic device. The charging device includes: an input port, a power distribution module, a PD controller, a power monitoring module, and an output port; the input end of the power distribution module is connected to the first end of the input port, the second end of the input port is used to connect to a charging adapter, the first output end of the power distribution module is used to connect to an electronic device, the second output end of the power distribution module is connected to the first end of the output port, and the second end of the output port is used to connect to a device to be charged; the first acquisition end of the PD controller is connected to the first end of the input port, the second acquisition end of the PD controller is connected to the first end of the output port, the output end of the PD controller is electrically connected to the power monitoring module, and the power monitoring module is connected to the power distribution module. The charging device can be used to quickly charge the device to be charged while meeting the normal power supply requirements of the main system, thereby alleviating the user's charging anxiety.

[0060] In an optional embodiment, the PD controller 13 is used to obtain the rated output power of the charging adapter and the rated charging power of the device to be charged when the charging adapter is connected to the input port 11 and the device to be charged is connected to the output port 12, and transmit the rated output power and the rated charging power to the power monitoring module 14.

[0061] It should be understood that when the device to be charged (such as a mobile phone) is not connected to the output port 12, that is, not plugged into the output port 12, there is no need to charge the peripheral device. Alternatively, when the charging adapter is not connected to the input port 11, the electronic device can only be charged according to the preset mode (default charging power, such as the above-mentioned 15W), and there is no need to obtain the rated output power of the charging adapter and the rated charging power of the device to be charged.

[0062] The power monitoring module 14 is used to generate a power allocation plan based on the rated output power, the rated charging power and the target power consumption of the main system 20 when the rated output power is greater than the target power consumption, and transmit the power allocation plan to the power allocation module 15, wherein the power allocation plan includes a first power value and a second power value, the second power value is equal to the target power consumption, the second power value is the power supplied by the power allocation module 15 to the main system 20, and the first power value is the power supplied by the power allocation module 15 to the device to be charged.

[0063] It should be understood that the second power value is equal to the target power consumption in order to give priority to meeting the power consumption requirements of the main system 20 and ensure that the main system 20 of the electronic device can operate normally. On this basis, the remaining power can be used to quickly charge the device to be charged.

[0064] The power allocation module 15 is used to implement a power allocation solution.

[0065] Optionally, the power distribution module 15 includes two power supply switches and a power control MCU. Both power supply switches are connected to the power control MCU. The input ends of the two power supply switches are connected to the input end of the power distribution module 15. The output end of one of the power supply switches is connected to the input end of the main system 20, and the output end of the other power supply switch is connected to the output port 12, which can then be connected to the charging peripheral device.

[0066] Optionally, the power switch has a maximum power limiting function, and the power control MCU can implement maximum output power control to meet the function of the power distribution module.

[0067] It should be understood that the power distribution module 15 can distribute the power input by the charging adapter according to the first power value and the second power value, and supply energy according to the distributed power through the first output end and the second output end of the power distribution module 15.

[0068] In an optional embodiment, the power monitoring module 14 is used to determine the rated charging power as the first power value when the rated output power is greater than the target power consumption and the first difference is greater than or equal to the rated charging power, wherein the first difference is the difference between the rated output power and the target power consumption.

[0069] It should be understood that in this case, by setting the rated charging power as the first power value, the charging device is protected from overload. The rated charging power can be, but is not limited to, 30W (15V / 2A) or 40W (20V / 2A).

[0070] The power monitoring module 14 is configured to determine the first difference as a first power value when the first difference is less than the rated charging power and greater than a preset power threshold.

[0071] Optionally, the preset power threshold may be a default power value that the main system 20 can provide, such as 5W or 15W. It should be understood that when the first difference is less than or equal to the preset power threshold, if the charging device is powered according to the first difference, the charging efficiency may be lower than the charging efficiency of the charging device powered by the main system 20. Therefore, in the present application, when the first difference is greater than the preset power threshold, the first difference is determined as the first power value.

[0072] In an optional implementation, the target power consumption is the rated power consumption of the main system 20 .

[0073] It should be understood that when the target power consumption is the rated power consumption of the main system 20 and the rated output power of the charging adapter remains unchanged, the power for fast charging the device to be charged is a fixed power.

[0074] In an optional implementation, the target power consumption is the real-time power consumption of the main system 20 .

[0075] The power monitoring module 14 is further configured to monitor the power consumption of the main system 20 according to a preset period to obtain real-time power consumption.

[0076] The power monitoring module 14 is further configured to update the power allocation scheme after the real-time power consumption is updated.

[0077] Optionally, the preset period can be N seconds. It should be understood that when the electronic device runs different numbers and / or different types of processes, its corresponding real-time power consumption is changing. By monitoring the real-time power consumption of the main system 20 in real time, the power allocation scheme is adjusted, and the first power value used to supply energy to the device to be charged is dynamically adjusted. This is conducive to maximizing the fast charging efficiency and achieving the purpose of dynamic adjustment while meeting the real-time power consumption requirements of the main system 20.

[0078] Please refer to Figure 2 , Figure 2 This is another structural diagram of the charging device provided in the embodiment of the present application. Figure 2 As shown, the charging device 10 also includes a switching switch 16, a first end of the switching switch 16 is connected to the first end of the output port 12, a second end of the switching switch 16 is connected to the second output end of the power distribution module 15, a third end of the switching switch 16 is connected to the main system 20, and a control end of the switching switch 16 is connected to the power monitoring module 14.

[0079] The power monitoring module 14 is further configured to send a first trigger signal to the switch 16 when the first difference is greater than a preset power threshold, so as to connect the first end and the second end of the switch 16 .

[0080] At this time, the power distribution module 15 performs fast charging on the device to be charged.

[0081] The power monitoring module 14 is also used to send a second trigger signal to the switch 16 to connect the first end and the third end of the switch 16 when the first difference is less than or equal to the preset power threshold, or the rated output power is less than the target power consumption.

[0082] The main system 20 is configured to supply energy to the device to be charged at a default power when the first terminal and the third terminal of the switch 16 are connected. For example, the main system 20 performs general charging on the device to be charged at the default power.

[0083] In an optional embodiment, the power monitoring module 14 is further configured to send a second trigger signal to the switch 16 to connect the first and third terminals of the switch 16 when the device to be charged is connected to the output port 12 and the charging adapter is not connected to the input port 11, or when the device to be charged only supports the default power. The main system 20 is configured to supply energy to the device to be charged at the default power when the first and third terminals of the switch 16 are connected. For example, the main system 20 performs a normal charge on the device to be charged at the default power.

[0084] Optionally, the switching switch 16 can complete the switching between fast charging power supply and ordinary 5V power supply line to meet the power supply requirements of devices that do not support fast charging. The fast charging power supply solution can be achieved by but not limited to the use of the switch line / Charger OTG function.

[0085] Optionally, the charging device provided in this application can realize that the USB Type-C port can provide a high-power fast charging solution for external devices. Through two fast charging solutions, fixed fast charging power and dynamic fast charging power, high-voltage and high-power charging can be provided (for example, 20V / 2A, 15V / 3A, etc., this is an example and is not limited to this distance specification), which can improve the user's fast charging needs in such demand scenarios and realize that laptops and mobile phones support fast charging solutions at the same time.

[0086] Specifically, for example, the rated power consumption of the main system 20 is 60W, and the user uses a 90W or higher specification charging adapter. The charging adapter exerts its full power supply capacity, that is, 60W is provided to power the main system 20, and the remaining 30W (if dynamic power adjustment is supported, more than 30W output power can be provided) is used to meet the fast charging needs of external devices (devices to be charged).

[0087] The present application also provides a charging method which can be applied to, but not limited to, Figure 1 and Figure 2 For detailed procedures, please refer to the electronic equipment shown in Figure 3 The charging method includes: S131, S141, S142 and S151, which are described in detail as follows.

[0088] S131, when the charging adapter is connected to the input port and the device to be charged is connected to the output port, the PD controller obtains the rated output power of the charging adapter and the rated charging power of the device to be charged, and transmits the rated output power and the rated charging power to the power monitoring module.

[0089] S141 , when the rated output power is greater than the target power consumption, the power monitoring module generates a power allocation plan according to the rated output power, the rated charging power, and the target power consumption of the system.

[0090] S142: The power monitoring module transmits the power allocation plan to the power allocation module.

[0091] Among them, the power distribution scheme includes a first power value and a second power value, the second power value is equal to the target power consumption, the second power value is the power supplied by the power distribution module to the main system, and the first power value is the power supplied by the power distribution module to the device to be charged.

[0092] S151: The power allocation module executes a power allocation plan.

[0093] When the rated output power of the power monitoring module 14 is greater than the target power consumption, Figure 3 Based on the content of S141, the present application embodiment also provides a possible implementation method, please refer to Figure 4 , S141 includes: S141-1, S141-2, S141-3, S141-4 and S141-5, which are described in detail as follows.

[0094] S141-1: When the rated output power is greater than the target power consumption, the power monitoring module obtains a first difference.

[0095] S141-2: The power monitoring module determines whether the first difference is less than the rated charging power. If so, execute S141-4; if not, execute S141-3.

[0096] S141-3: When the first difference is greater than or equal to the rated charging power, the power monitoring module determines the rated charging power as the first power value.

[0097] S141-4, when the first difference is less than the rated charging power and the first difference is greater than a preset power threshold, the power monitoring module determines the first difference as the first power value.

[0098] S141-5, the power monitoring module generates a power allocation plan based on the first power value and the second power value.

[0099] It should be noted that when the first difference is less than or equal to the preset power threshold, the charging function can be performed on the charging device through the main system 20, that is, the first power value can be set to 0.

[0100] Optionally, regarding the specific implementation steps of the charging method, the embodiment of the present application also provides a possible implementation method, please refer to the following.

[0101] In the first step, the PD controller 13 determines whether a device to be charged is connected to the output port 12 , that is, determines whether a device to be charged is plugged into the output port 12 .

[0102] In the second step, when it is determined that the device to be charged is connected to the output port 12 , the main system 20 is notified to supply power according to the default power, for example, 5V / 3A.

[0103] In the third step, the PD controller 13 determines whether a charging adapter is connected to the input port 11, that is, whether a charging adapter is plugged into the input port 11. If not, the main system 20 continues to be powered at the default power. If yes, the fourth step is executed.

[0104] In the fourth step, the PD controller 13 determines whether the device to be charged supports fast charging, that is, whether the device to be charged only supports the default power. If the device to be charged only supports the default power, the main system 20 continues to supply power at the default power. If fast charging is supported, the fifth step is executed.

[0105] In the fifth step, the PD controller 13 obtains the rated output power of the charging adapter and the rated charging power of the device to be charged, and transmits the obtained rated output power and rated charging power to the power monitoring module 14 .

[0106] In the sixth step, when the rated output power is greater than the target power consumption, the power monitoring module 14 generates a power allocation plan and transmits the power allocation plan to the power allocation module 15 .

[0107] In the seventh step, the power allocation module 15 executes the power allocation plan.

[0108] It should be noted that when the first power value is 0, the main system 20 may continue to be powered by the default power.

[0109] It should be noted that the charging method provided in this embodiment can perform the functions and uses shown in the above-mentioned device embodiments to achieve the corresponding technical effects. For the sake of brevity, any part not mentioned in this embodiment can be referred to the corresponding content in the above-mentioned embodiments.

[0110] The present application also provides an electronic device, such as Figure 1 or Figure 2 The electronic device may also include a charging device 10 as shown. Figure 1 and Figure 2 The host system 20 shown is an electronic device such as a laptop computer.

[0111] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.

[0112] It will be apparent to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above and that the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, the embodiments should be considered in all respects as illustrative and non-restrictive, and the scope of the present application is defined by the appended claims, not the foregoing description, and all variations within the meaning and range of equivalents of the claims are intended to be included therein. Any reference sign in a claim should not be construed as limiting the claim to which it relates.

Claims

1. A charging device, characterized in that: The charging device is deployed in the electronic device, and the charging device includes: an input port, a power distribution module, a PD controller, a power monitoring module and an output port; The input end of the power distribution module is connected to the first end of the input port, the second end of the input port is used to connect to the charging adapter, the first output end of the power distribution module is used to connect to the main system of the electronic device, the second output end of the power distribution module is connected to the first end of the output port, and the second end of the output port is used to connect to the device to be charged; The first acquisition terminal of the PD controller is connected to the first end of the input port, the second acquisition terminal of the PD controller is connected to the first end of the output port, the output terminal of the PD controller is electrically connected to the power monitoring module, and the power monitoring module is connected to the power distribution module; The PD controller is configured to obtain the rated output power of the charging adapter and the rated charging power of the device to be charged when the charging adapter is connected to the input port and the device to be charged is connected to the output port, and transmit the rated output power and the rated charging power to the power monitoring module; The power monitoring module is configured to generate a power allocation plan based on the rated output power, the rated charging power, and the target power consumption of the main system when the rated output power is greater than the target power consumption, and transmit the power allocation plan to the power allocation module, wherein the power allocation plan includes a first power value and a second power value, the second power value being equal to the target power consumption, the second power value being the power supplied by the power allocation module to the main system, and the first power value being the power supplied by the power allocation module to the device to be charged; The power allocation module is used to execute the power allocation scheme; The power monitoring module is configured to determine the rated charging power as the first power value when the rated output power is greater than the target power consumption and a first difference is greater than or equal to the rated charging power, wherein the first difference is a difference between the rated output power and the target power consumption; The power monitoring module is configured to determine the first difference as the first power value when the first difference is less than the rated charging power and the first difference is greater than a preset power threshold; The target power consumption is the real-time power consumption of the main system; The power monitoring module is further configured to monitor the power consumption of the main system according to a preset period to obtain the real-time power consumption; The power monitoring module is further configured to update the power allocation scheme after the real-time power consumption is updated.

2. The charging device according to claim 1, wherein: The charging device further includes a switch, wherein a first end of the switch is connected to the first end of the output port, a second end of the switch is connected to the second output end of the power distribution module, a third end of the switch is connected to the main system, and a control end of the switch is connected to the power monitoring module; The power monitoring module is further configured to send a first trigger signal to the switch when the first difference is greater than a preset power threshold, so as to connect the first end and the second end of the switch; The power monitoring module is further configured to send a second trigger signal to the switch to connect the first terminal and the third terminal of the switch when the first difference is less than or equal to a preset power threshold, or when the rated output power is less than the target power consumption; The main system is used to supply energy to the device to be charged at a default power when the first end and the third end of the switch are connected.

3. The charging device according to claim 2, wherein: The power monitoring module is also used to send a second trigger signal to the switching switch to connect the first end and the third end of the switching switch when the device to be charged is connected to the output port, the charging adapter is not connected to the input port, or the device to be charged only supports the default power.

4. A charging method, characterized in that: Applied to the charging device according to any one of claims 1 to 3, the method comprises: When the charging adapter is connected to the input port and the device to be charged is connected to the output port, the PD controller obtains the rated output power of the charging adapter and the rated charging power of the device to be charged, and transmits the rated output power and the rated charging power to the power monitoring module; When the rated output power is greater than the target power consumption, the power monitoring module generates a power allocation plan according to the rated output power, the rated charging power and the target power consumption of the main system; The power monitoring module transmits the power allocation plan to the power allocation module, wherein the power allocation plan includes a first power value and a second power value, the second power value is equal to the target power consumption, the second power value is the power supplied by the power allocation module to the main system, and the first power value is the power supplied by the power allocation module to the device to be charged; The power allocation module executes the power allocation scheme; The step of generating, by the power monitoring module, a power allocation plan according to the rated output power, the rated charging power, and the target power consumption of the main system when the rated output power is greater than the target power consumption includes: The power monitoring module obtains a first difference when the rated output power is greater than the target power consumption, wherein the first difference is a difference between the rated output power and the target power consumption; The power monitoring module determines whether the first difference is less than the rated charging power; When the first difference is greater than or equal to the rated charging power, the power monitoring module determines the rated charging power as the first power value. The power monitoring module determines the first difference as the first power value when the first difference is less than the rated charging power and the first difference is greater than a preset power threshold; The power monitoring module generates the power allocation plan based on the first power value and the second power value; The target power consumption is the real-time power consumption of the main system; The power monitoring module monitors the power consumption of the main system according to a preset period to obtain the real-time power consumption; The power monitoring module updates the power allocation scheme after the real-time power consumption is updated.

5. An electronic device, characterized in that: include: The charging device according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Charging power adjusting method and device, power supply equipment and storage medium

    CN108923484A

  • Fast charging circuit and method capable of automatically adjusting power

    CN110380489A