Power supply control method and circuit and charging equipment
By using controllers and simple circuit designs in the power supply control circuit of the charging device, dynamically adjusting the charging voltage, the cost and complexity problems caused by protocol diversity in the prior art are solved, and the fast charging function of a protocol-free chip is realized, which improves compatibility and user experience.
Patent Information
- Application Number
- CN202411780921.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-03-11
AI Technical Summary
In the existing fast charging technology, due to the existence of multiple fast charging protocols on the market, charging devices need to use specific protocol chips, which increases cost and complexity.
By introducing a controller and a simple circuit design into the power supply control circuit, the controller is used to obtain the access detection results of the power supply equipment and the power receiving equipment, dynamically adjust the charging voltage, and realize the fast charging function without the need for a specific protocol chip.
It realizes the fast charging function without the need for a specific protocol chip, reduces costs, and improves the compatibility and user experience of charging devices.
Smart Images

Figure CN119602429A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a power supply control method, circuit and charging device. Background Art
[0002] With the popularization of electronic devices, fast charging technology has become an important aspect to improve user experience. Traditional charging methods usually use a fixed voltage of 5V for charging. Although this method is simple and low-cost, it has obvious shortcomings in charging speed. In order to meet users' demand for fast charging, various fast charging technologies have emerged, such as Qualcomm's QuickCharge (QC), USB Power Delivery (PD), etc. These fast charging technologies achieve faster charging speeds by increasing the charging voltage or increasing the charging current. However, in the related art, due to the existence of multiple fast charging protocols on the market, different brands and models of powered devices may support different fast charging standards, and charging devices usually need to use specific chips to achieve fast charging functions, which will undoubtedly increase the cost of charging devices.
[0003] Application Contents
[0004] In view of the above problems, the present application provides a power supply control method, circuit and charging device, which do not require the use of a specific protocol chip. The fast charging function can be achieved by utilizing a controller and a simple circuit design, and can also realize intelligent charging management of multiple powered devices.
[0005] The embodiment of the present application is implemented by adopting the following technical solutions:
[0006] In a first aspect, an embodiment of the present application provides a power supply control method, which is applied to a controller in a power supply control circuit, wherein the power supply control circuit further includes multiple power supply control subcircuits, and the input ends of the multiple power supply control subcircuits are respectively used to connect to a power supply device, and the output end of each power supply control circuit is used to connect to a powered device. The method includes: obtaining an access detection result of the power supply device and an output end connection detection result of each power supply control subcircuit; if it is determined according to the access detection result that the power supply device is respectively connected to multiple power supply control subcircuits, and it is determined according to the output end detection result that only one of the multiple power supply control subcircuits is connected to a powered device, the power supply device is controlled to provide a first voltage to the powered device through the power supply control subcircuit connected to the powered device; if it is determined according to the access detection result that the power supply device is respectively connected to multiple power supply control subcircuits, and it is determined according to the output end detection result that at least two of the multiple power supply control subcircuits are respectively connected to powered devices, the power supply device is controlled to provide a second voltage to the connected powered devices through the at least two power supply control subcircuits.
[0007] In one possible implementation, before controlling the power supply device to provide a first voltage to the powered device by connecting to a power supply control subcircuit of the powered device, the method further includes: acquiring a maximum charging voltage of a powered device connected to a power supply control subcircuit; and determining the maximum charging voltage as the first voltage.
[0008] In one possible implementation, before controlling the power supply device to provide the second voltage to the connected powered devices respectively through the at least two power supply control subcircuits, the method further includes: obtaining charging parameter information corresponding to each of the powered devices respectively connected to the at least two power supply control subcircuits; and determining the second voltage based on each of the charging parameter information and the maximum output power of the power supply device.
[0009] In one possible implementation, the charging parameter information includes a maximum charging voltage and a maximum charging current;
[0010] The determining the second voltage according to each of the charging parameter information and the maximum output power of the power supply device includes: determining the second voltage according to the maximum output power of the power supply device, the maximum charging voltage and the maximum charging current of the powered devices respectively connected to at least two power supply control subcircuits, wherein the maximum charging voltages of the powered devices respectively connected to the at least two power supply control subcircuits are not less than the second voltage, and the sum of the powers required by each of the powered devices when charging using the second voltage is less than the maximum output power of the power supply device.
[0011] In one possible implementation, the power supply control circuit also includes a power supply device interface and a first detection sub-circuit, the input end of each of the power supply control sub-circuits is respectively connected to the power supply device interface, and the first detection sub-circuit is connected between the power supply device interface and the controller; obtaining the access detection result of the power supply device includes: receiving a first level signal output by the first detection sub-circuit; determining the access detection result of the power supply device according to the first level signal.
[0012] In one possible implementation, the power supply control circuit further includes multiple powered device interfaces and multiple second detection sub-circuits, the output end of each of the power supply control sub-circuit is respectively connected to one of the powered device interfaces, and each of the second detection sub-circuit is respectively connected to one of the powered device interfaces and the controller; obtaining the output end connection detection result of each of the power supply control sub-circuits includes: receiving a second level signal output by each of the second detection sub-circuits; and obtaining the output end connection detection result of each of the power supply control sub-circuits according to the second level signal output by each of the second detection sub-circuits.
[0013] In a second aspect, an embodiment of the present application also provides a power supply control circuit, including a controller; multiple power supply control sub-circuits, each of the power supply control sub-circuits having an input end for connecting to a power supply device that provides a first voltage, an output end for connecting to a powered device, and a control end connected to the controller; the controller is used to execute the method steps in the power supply control method in the aforementioned embodiment.
[0014] In one possible implementation, the power supply control circuit also includes a power supply device interface and a first detection sub-circuit, the first detection sub-circuit includes a first resistor, a second resistor and a transistor; the input end of each of the power supply control sub-circuits is respectively connected to the power supply device interface, and the power supply device interface is also used to connect to the power supply device; the first end of the first resistor is connected to the power supply device interface, and the second end is connected to the collector of the transistor, the base of the transistor is connected to the controller, and the emitter is grounded, and the first end of the second resistor is connected between the base of the transistor and the controller, and the second end is grounded.
[0015] In one possible implementation, the controller is also used to control the transistor to be in a cut-off state when it is determined that the power supply device interface is connected to a power supply device based on the voltage of the base of the transistor, and only one power supply control subcircuit among the multiple power supply control subcircuits is connected to a powered device, and to control the power supply device to provide a first voltage to the powered device through the power supply control subcircuit connected to the powered device.
[0016] In one possible implementation, the power supply control circuit also includes multiple powered device interfaces and multiple second detection sub-circuits, the second detection sub-circuit includes a voltage divider resistor and a diode; the output end of each of the power supply control sub-circuit is respectively connected to one of the powered device interfaces, and the powered device interface is also used to connect to the powered device; the first end of the voltage divider resistor is connected to the first power supply, the second end is respectively connected to the anode of the diode and the controller, and the cathode of the diode is connected to the powered device interface.
[0017] In one possible implementation, the power supply control subcircuit includes an electronic switch, an input end of the electronic switch is used to connect to a power supply device, an output end is used to connect to a powered device, and a control end is connected to the controller.
[0018] In one possible implementation, the power supply control subcircuit further includes a current limiting resistor, and the current limiting resistor is connected between the controller and a control end of the electronic switch.
[0019] In a third aspect, an embodiment of the present application further provides a charging device, comprising a power supply device and a power supply control circuit as described above, wherein the power supply device is connected to the power supply control circuit.
[0020] The embodiment of the present application provides a power supply control method, circuit and charging device, the power supply control circuit includes a controller and multiple power supply control subcircuits, the input ends of the multiple power supply control subcircuits are respectively used to connect to the power supply device, the output end of each power supply control circuit is used to connect to the powered device, the controller obtains the access detection result of the power supply device and the output end connection detection result of each power supply control subcircuit, and when it is determined that the power supply device is respectively connected to the multiple power supply control subcircuits, and only one of the multiple power supply control subcircuits is connected to the powered device, the power supply device is controlled to provide a first voltage to the powered device through the power supply control subcircuit connected to the powered device, so as to ensure that the powered device can be safely charged at the fastest speed it supports, and will not exceed its maximum charging voltage limit. When it is determined that the power supply device is respectively connected to the multiple power supply control subcircuits, and at least two of the multiple power supply control subcircuits are respectively connected to the powered device, the power supply device is controlled to provide a second voltage to the connected powered devices through the at least two power supply control subcircuits, so as to realize simultaneous charging of multiple devices. By adopting the above circuit, the use of a specific protocol chip is avoided, and the fast charging function of the powered device can be realized by only using simple circuit design and intelligent management of the controller, and the intelligent charging management of multiple powered devices can be realized at the same time.
[0021] These and other aspects of the present application will become more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 An application module block diagram of a power supply control circuit provided in an embodiment of the present application is shown;
[0024] Figure 2 The application scenario of the circuit schematic diagram of the power supply control circuit provided in the embodiment of the present application is shown;
[0025] Figure 3 A schematic diagram showing the principle of a power supply control circuit provided in an embodiment of the present application is shown;
[0026] Figure 4 Another schematic diagram of the power supply control circuit provided by an embodiment of the present application is shown;
[0027] Figure 5Another schematic diagram of the power supply control circuit provided by an embodiment of the present application is shown;
[0028] Figure 6 Another schematic diagram of the power supply control circuit provided in the embodiment of the present application is shown;
[0029] Figure 7 A schematic diagram of an application scenario of a power supply control circuit provided in an embodiment of the present application is shown;
[0030] Figure 8 A flow chart of a power supply control method provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0031] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0032] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.
[0033] like Figure 1 As shown, Figure 1 The power supply control circuit 100 provided in the embodiment of the present application is schematically shown, including a controller 110 and a plurality of power supply control sub-circuits 120 ( Figure 1 Only a schematic diagram including two power supply control subcircuits 120 is shown. The input ends of the multiple power supply control subcircuits 120 are connected in parallel for connecting to the power supply device 200, and the output end of each power supply control circuit 100 is used to connect to the powered device 300.
[0034] The controller 110 is used to obtain the access detection result of the power supply device 200 and the output terminal connection detection result of each of the power supply control subcircuits 120; if it is determined according to the access detection result that the power supply device 200 is respectively connected to multiple power supply control subcircuits 120, and it is determined according to the output terminal detection result that only one of the multiple power supply control subcircuits 120 is connected to the powered device 300, the power supply device 200 is controlled to provide a first voltage to the powered device 300 through the power supply control subcircuit 120 connected to the powered device 300; if it is determined according to the access detection result that the power supply device 200 is respectively connected to multiple power supply control subcircuits 120, and it is determined according to the output terminal detection result that at least two of the multiple power supply control subcircuits 120 are respectively connected to the powered devices 300, the power supply device 200 is controlled to provide a second voltage to the connected powered devices 300 through the at least two power supply control subcircuits 120.
[0035] The controller 110 may include one or more cores for processing data. The controller 110 connects various parts (such as the power supply control subcircuit 120, etc.) included in the entire power supply control circuit 100 using various interfaces and lines.
[0036] Optionally, the controller 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The controller 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. It is understandable that the above-mentioned modem may not be integrated into the processor, but may be implemented separately through a communication chip.
[0037] The powered device 300 may be any device that needs to be charged, such as a terminal device (such as a mobile phone, tablet computer, laptop computer or smart watch, etc.), a medical device (such as an electrocardiogram monitor, a blood pressure monitor or a portable oxygen machine, etc.), etc.
[0038] The power supply device 200 may be any device capable of providing electrical energy, for example, any device capable of charging the powered device 300 through a power supply circuit under the control of the controller 110 .
[0039] The power supply device 200 may be one or more of a battery (e.g., a dry cell, a rechargeable battery, etc.), a power adapter (e.g., a power adapter of a terminal device), a solar panel, a generator, etc. The power supply device 200 may be used to provide a fixed voltage, such as 5V, 10V, 12V, or 24V, or may be used to provide a variable voltage within a preset voltage range, such as a variable voltage within a range of 5V-24V, or a variable voltage within a range of 5V-36V, etc.
[0040] The power supply control subcircuit 120 is used to establish or disconnect the connection between the power supply device 200 and the powered device 300 under the control of the controller 110. In some scenarios, the power supply control subcircuit 120 can also step up or step down the voltage output by the power supply device 200.
[0041] Please refer to Figure 2 In one embodiment, the power supply device 200 can provide a voltage within a preset voltage value range to the powered device 300 through the power supply control subcircuit 120. The power supply control subcircuit 120 may include an electronic switch Q1, and the input end of the electronic switch Q1 is used to connect to the power supply device 200, the output end is used to connect to the powered device 300, and the control end is connected to the controller 110.
[0042] The electronic switch Q1 may be a relay, a transistor or a field effect transistor, etc., any of which can connect the power supply device 200 and the powered device 300 under the control of the controller 110 to power the powered device 300 through the first voltage.
[0043] It should be understood that when the electronic switch Q1 is a transistor, the transistor can be an NPN transistor or a PNP transistor, which is not specifically limited here. When the electronic switch Q1 is a field effect transistor, the field effect transistor can be an N-type field effect transistor or a P-type field effect transistor, which is not specifically limited here.
[0044] In one possible implementation mode of the present application, the electronic switch Q1 includes a field effect tube, the source of the field effect tube is used to connect to the power supply device 200, the gate is connected to the controller 110, and the drain is used to connect to the powered device 300. By adopting the above configuration, the controller 110 can control the conduction and cutoff of the field effect tube through a simple digital signal (high level or low level), so that the control logic is simple and easy to implement.
[0045] Considering that when the electronic switch Q1 is a field effect tube, the gate input impedance of the field effect tube is very high, but when switching states, the gate capacitance needs to be charged and discharged. Therefore, directly connecting the output of the controller 110 to the gate may cause the instantaneous gate current to be too large, thereby damaging the field effect tube or the controller 110. Based on this, in one embodiment, the power supply control subcircuit 120 may further include a current limiting resistor R0, which is connected between the controller 110 and the control end of the electronic switch Q1.
[0046] By setting the current limiting resistor R0, the change rate (dV / dt) of the gate voltage can be slowed down and electromagnetic interference (EMI) during the switching process can be reduced. In addition, the current limiting resistor R0 and the gate capacitance of the field effect tube form an RC filter, which can filter out high-frequency noise in the output signal of the controller 110 and ensure the stability of the gate voltage.
[0047] It is worth mentioning that in order to enable the power supply device 200 to provide voltages with different voltage values (first voltage and second voltage) to the powered device 300 through the power supply control subcircuit 120, the power supply device 200 can be used to provide a voltage with a variable size within a preset voltage range, or the power supply control subcircuit 120 can be provided with a voltage conversion circuit for stepping up or down the voltage provided by the power supply device 200.
[0048] The access detection result is used to indicate whether the power supply device 200 is connected to multiple power supply control subcircuits 120 respectively, and the output terminal connection detection result of each power supply control subcircuit 120 is used to indicate whether the output terminal of the power supply control subcircuit 120 is connected to the powered device 300.
[0049] In one embodiment, the first voltage and the second voltage may be pre-set. For example, the first voltage may be a charging voltage suitable for charging in fast charging mode, such as 9V, 12V or 24V, and the second voltage may be a voltage suitable for normal charging mode, such as 5V, 9V, etc., which is set according to the specific use scenario of the power supply control circuit 100 and is not specifically limited here. In this case. For example, if the second voltage is 5V, the first voltage may be a voltage greater than 5V, such as 9V, 12V or 24V. If the second voltage is 9V, the first voltage is a voltage greater than 9V, such as 12V or 24V.
[0050] By adopting the above-mentioned pre-set first voltage and second voltage, when only one of the multiple power supply control subcircuits 120 is connected to the powered device 300, the controller 110 controls the power supply device 200 to charge the powered device 300, and the first voltage provided by the power supply device 200 is used to achieve fast charging. When multiple powered devices 300 are simultaneously connected to multiple different power supply control subcircuits 120, the controller 110 ensures that all powered devices 300 can be charged normally by providing a 5V voltage.
[0051] In another possible implementation, the voltage value of the first voltage can be determined based on the maximum charging voltage of the powered device 300 connected to a power supply control subcircuit 120, that is, the controller 110 is also used to obtain the maximum charging voltage of the powered device 300 connected to a power supply control subcircuit 120; and determine the maximum charging voltage as the first voltage.
[0052] The voltage value of the second voltage may be determined according to the charging parameter information corresponding to each of the powered devices 300 respectively connected to the at least two power supply control sub-circuits 120 .
[0053] Exemplarily, the second voltage may be determined in the following manner: if the charging parameter information includes the maximum charging voltage and the maximum charging current of the powered device 300, then the maximum charging voltage having the smallest voltage value among the maximum charging voltages corresponding to the powered devices 300 respectively connected to at least two power supply control subcircuits 120 may be determined as the second voltage.
[0054] Exemplarily, the second voltage may be determined in the following manner: if the charging parameter information includes the maximum charging voltage and the maximum charging current of the powered device 300, the second voltage is determined according to the maximum output power of the power supply device 200, and the maximum charging voltage and the maximum charging current of the powered devices 300 respectively connected to at least two power supply control subcircuits 120, wherein the maximum charging voltages of the powered devices 300 respectively connected to the at least two power supply control subcircuits 120 are not less than the second voltage, and the sum of the powers required for each of the powered devices 300 to be charged using the second voltage is less than the maximum output power of the power supply device 200.
[0055] By setting the first voltage and the second voltage in the above manner, when only one of the multiple power supply control subcircuits 120 is connected to the powered device 300, the controller 110 uses the maximum charging voltage of the powered device 300 as the first voltage, and controls the power supply device 200 to provide the first voltage to the powered device 300 through the power supply control subcircuit 120 for charging, so as to ensure that the powered device 300 can be safely charged at the fastest speed it supports, while not exceeding its maximum charging voltage limit. This helps to optimize the charging efficiency of a single device and ensure the safety of the charging process. When a plurality of powered devices 300 are simultaneously connected to a plurality of different power supply control subcircuits 120, the controller 110 determines the second voltage according to the maximum output power of the power supply device 200 and the maximum charging voltage of each powered device 300, and controls the power supply device 200 to provide the second voltage to the connected powered devices 300 through at least two power supply control subcircuits 120 for charging, thereby ensuring that all powered devices 300 can provide power to all connected powered devices 300 as fairly and efficiently as possible under limited total power, thereby maximizing the overall charging efficiency and optimizing resource utilization.
[0056] By adopting the above-mentioned power supply control circuit 100 of the present application, it is possible to provide the first voltage to the powered device 300 when only one powered device 300 is connected through simple circuit design and intelligent management of the controller 110, ensuring that the powered device 300 can be safely charged at the fastest speed it supports without exceeding its maximum charging voltage limit. This helps to optimize the charging efficiency of a single device and ensure the safety of the charging process. When multiple powered devices 300 are connected, a second voltage is provided to each powered device 300 to achieve simultaneous charging of multiple devices; thereby improving the compatibility of the power supply control circuit 100, and users can use the same charging device to charge powered devices 300 of different brands, reducing the inconvenience of carrying multiple charging devices, and at the same time, avoiding the problem of complex circuit structure and high cost caused by the need to use a specific protocol chip in the related art.
[0057] In which, the power supply control circuit 100 may include a first detection device or a first detection subcircuit for detecting whether the power supply control subcircuit 120 is connected to the power supply device 200. The above-mentioned first detection device or first detection subcircuit can also be connected to the controller 110 to send a detection result to the controller 110 indicating whether the power supply control subcircuit is connected to the power supply device 200.
[0058] In one possible implementation, the power supply control circuit 100 may further include a second voltage detection device. When the second voltage detection device detects that the voltage at the input end of the power supply control subcircuit 120 changes from a first preset voltage to other voltage values (such as 5V, 12V, etc.), it can be determined that the power supply control subcircuit 120 is connected to the power supply device 200.
[0059] like Figure 3 As shown, in another possible implementation mode, the power supply control circuit 100 also includes a first detection sub-circuit 130 and a power supply device interface 140; the input end of each of the power supply control sub-circuits 120 is respectively connected to the power supply device interface 140; the first detection sub-circuit 130 is connected between the power supply device interface 140 and the controller 110, and is used to detect whether the power supply device interface 140 is connected to the power supply device 200.
[0060] It is worth mentioning that, in order to facilitate the connection between the power supply control circuit 100 and the powered device 300 respectively, the power supply control circuit 100 further includes a powered device interface 150 .
[0061] In one embodiment, the first detection subcircuit 130 may include a resistor and a comparator, one end of the resistor is connected to the power supply device interface 140, the other end is connected to the positive input of the comparator, and the negative input of the comparator is connected to a second power supply that outputs a preset reference voltage.
[0062] In this mode, if the input end of each power supply control subcircuit 120 is a CC line, the CC line (Configuration Channel) is a line used for configuration and communication in the Type-C interface. When each control subcircuit is not connected to the power supply device 200, the voltage on the CC line is 0V, and correspondingly, the voltage at the positive input end of the comparator is also 0V. At this time, the positive input end voltage (0V) of the comparator is lower than the reference voltage (e.g., 1.8V) of the negative input end, and the comparator outputs a high level (e.g., 5V). When connected to the power supply device 200, the voltage on the CC line gradually increases. After the voltage is divided by the above-mentioned resistor, the positive input end voltage of the comparator will also increase (e.g., 3V). The positive input end voltage (3V) of the comparator is higher than the reference voltage (e.g., 1.8V) of the negative input end, and the comparator outputs a low level (e.g., 0V).
[0063] The above-mentioned comparator can be connected to the controller 110, and the controller 110 can determine whether the power supply device interface 140 is connected to the power supply device 200 based on the voltage output by the comparator, that is, when the voltage output by the comparator is a high voltage, it is determined that the power supply device interface 140 is not connected to the power supply device 200; when the voltage output by the comparator is a low voltage, it is determined that the power supply device interface 140 is connected to the power supply device 200.
[0064] In another possible implementation, please refer to Figure 4 The first detection subcircuit 130 includes a first resistor R1, a second resistor R2 and a transistor Q2, wherein a first end of the first resistor R1 is connected to the power supply device interface 140, and a second end is connected to the collector of the transistor Q2, a base of the transistor Q2 is connected to the controller 110, and an emitter is grounded, a first end of the second resistor R2 is connected between the base of the transistor Q2 and the controller 110, and a second end is grounded.
[0065] The transistor Q2 mentioned above can be an NPN transistor or a PNP transistor, and can be set according to actual needs.
[0066] It is worth mentioning that the base voltage of transistor Q2 needs to be greater than the collector voltage to maintain the on state of transistor Q2. Generally speaking, for NPN transistors, the base voltage must be at least 0.6V to 0.7V higher than the emitter.
[0067] Therefore, through the above-mentioned connection design, when the power supply device interface 140 is not connected to the power supply device 200, the power supply device interface 140 has no voltage, the collector voltage of the transistor Q2 is 0V, and the base voltage is determined by the second resistor R2, which is usually a lower voltage (such as 0.7V). At this time, the transistor Q2 is in the cut-off state, and the controller 110 detects a low level to determine that the power supply device interface 140 is not connected to the power supply device 200.
[0068] When the power supply device interface 140 is not connected to the power supply device 200, the voltage on the power supply device interface 140 rises (e.g., rises to 5V, 12V or 24V, etc.), at which time, the collector voltage of the transistor Q2 also rises to the same voltage as the power supply device interface 140. Since the collector voltage of the transistor Q2 rises, the base B of the transistor Q2 is divided by the second resistor R2, and the base voltage VB of the transistor Q2 also rises. If the base voltage is higher than the threshold voltage (about 0.7V), the transistor Q2 starts to conduct, and after the transistor Q2 is conducted, the controller 110 can detect a high level to determine that the power supply device interface 140 is connected to the power supply device 200.
[0069] That is, in this embodiment, the controller 110 is also used to control the transistor Q2 to be in a cut-off state when determining that the power supply device interface 140 is connected to the power supply device 200 according to the voltage of the base of the transistor Q2, and when only one power supply control sub-circuit 120 among the multiple power supply control sub-circuits 120 is connected to the powered device 300, and to control the power supply device 200 to provide a first voltage to the powered device 300 through the power supply control sub-circuit 120 connected to the powered device 300.
[0070] It is worth mentioning that the transistor Q2 in the above-mentioned first detection sub-circuit 130 can also be replaced by a field effect transistor. In this case, the source of the field effect transistor is connected to the controller 110 and the drain is grounded, and the first end of the second resistor R2 is connected between the gate of the transistor Q2 and the controller 110.
[0071] It should be understood that the circuit schematic diagram of the first detection subcircuit 130 is only for illustration and may include more components, such as resistors, inductors and other electrical components, which are not specifically limited here.
[0072] By providing the first detection subcircuit 130 , it is possible to detect whether each power supply control subcircuit 120 is connected to the power supply device 200 , so that when connected to the power supply device 200 , the power receiving device 300 is powered by the power supply control circuit 100 .
[0073] Among them, the power supply control circuit 100 can also include a second detection device or a second detection subcircuit for detecting whether the power supply control subcircuit 120 is connected to the powered device 300. The above-mentioned second detection device or second detection subcircuit can also be connected to the controller 110 to send a detection result to the controller 110 indicating whether the power supply control subcircuit 120 is connected to the powered device 300.
[0074] like Figure 5 As shown, in one possible implementation, the power supply control circuit 100 further includes a plurality of powered device interfaces 150 and a plurality of second detection subcircuits 160; the output end of each of the power supply control subcircuits 120 is respectively connected to one of the powered device interfaces 150; each of the second detection subcircuits 160 is respectively connected to one of the powered device interfaces 150 and the controller 110, for detecting whether the powered device interface 150 is connected to the powered device 300.
[0075] In this embodiment, the second detection subcircuit 160 may include a resistor and a comparator, wherein one end of the resistor is connected to the first power supply and the second end is connected to the powered device interface 150, the positive input end of the comparator is connected between the resistor and the powered device interface 150, the negative input end is connected to the output end of a reference voltage source (e.g., outputting a 2V voltage), and the output end is connected to the controller 110.
[0076] When the powered device 300 is not connected, the voltage on the powered device interface 150 is the second voltage (e.g., 5V) provided by the first power supply. At this time, the voltage (5V) at the positive input terminal is greater than the voltage (2V) at the negative input terminal, so the comparator initially has a low level (e.g., 0V); when the powered device 300 is connected, the powered device interface 150 is connected to the powered device 300, and the resistance in the powered device 300 can achieve voltage division with the electric quantity in the second detection subcircuit 160, so that the voltage on the powered device interface 150 is a voltage less than 5V (e.g., 1.8V). At this time, the voltage (1.8V) at the positive input terminal is less than the voltage (2V) at the negative input terminal, so the comparator outputs a high level (e.g., 5V).
[0077] The controller 110 determines whether the powered device interface 150 is connected to the powered device 300 by reading the level signal output by the comparator. When the comparator outputs a high level, it is determined that the powered device 300 is connected. When the comparator outputs a low level, it is determined that the powered device 300 is not connected.
[0078] In another possible implementation, please refer to Figure 6 As shown, the second detection subcircuit 160 includes a voltage divider resistor R3 and a diode D1, the first end of the voltage divider resistor R3 is connected to the first power supply, the second end is connected to the anode of the diode D1 and the controller 110 respectively, and the cathode of the diode D1 is connected to the powered device interface 150.
[0079] In this embodiment, if the powered device interface 150 is not connected to the powered device 300, the voltage on the powered device interface 150 is 0V. The cathode of the diode D1 is 0V, and the anode is connected to the first power supply (5V) through the voltage divider resistor R3. Due to the forward conduction voltage of the diode D1 (usually about 0.7V), the diode D1 will not be turned on. Therefore, the voltage at the second end of the voltage divider resistor R3 (i.e., the input end of the controller 110) is close to 0V. The controller 110 detects a low level (0V) and determines that the powered device interface 150 is not connected to the powered device 300.
[0080] If the powered device interface 150 is connected to a powered device 300, the voltage on the powered device interface 150 is pulled up to a specific value (e.g., 1.8V). The cathode voltage of the diode D1 is 1.8V, and the anode is connected to the first power supply (5V) through the voltage divider resistor R3. Due to the forward conduction voltage of the diode D1 (about 0.7V), the diode D1 is turned on. After the diode D1 is turned on, the voltage at the second end of the voltage divider resistor R3 (i.e., the input end of the controller 110) is pulled up to a specific value (e.g., 1.1V, i.e., 1.8V-0.7V). The controller 110 detects a high level (1.1V), and it can be determined that the powered device 300 is connected to the powered device interface 150.
[0081] It should be understood that the electrical components included in the above-mentioned second detection subcircuit 160 are only illustrative and may also include one or more devices such as resistors, capacitors, inductors, etc., as long as it can detect whether the powered device 300 is connected to the powered device detection interface.
[0082] It is worth mentioning that the power supply device 200 can communicate with the controller 110 through the first detection subcircuit 130 or other communication link connected thereto, so that the power supply device 200 can send its maximum output power to the controller 110, and the power supply device 200 receives the power supply control instruction of the controller 110 to output the first voltage or the second voltage. Correspondingly, the powered device 300 can also communicate through the second detection subcircuit or other communication link connected thereto, so that the powered device 300 can send its corresponding charging parameter information (such as the maximum charging current or the maximum charging voltage, etc.) to the controller 110.
[0083] Exemplarily, if the power supply device 200 communicates with the controller 110 through the first detection subcircuit 130 connected thereto, then the serial communication protocol can be used to communicate with the controller 110, or the above-mentioned maximum output power, first voltage or second voltage and other information can be transmitted by analog signal transmission or carrier communication. If the power supply device 200 communicates with the controller 110 through other communication links, the power supply device 200 and the communication link can communicate by wireless communication (such as wireless technologies such as Bluetooth, wifi or Zigbee) or Ethernet transmission link. Among them, the communication method between the powered device 300 and the controller 110 can be similar to the communication method between the power supply device 200 and the controller 110, which will not be repeated here.
[0084] See also Figure 7 As shown, the power supply control circuit 100 includes a power supply device interface 140, a first detection subcircuit 130, two power supply control subcircuits 120, two second detection subcircuits 160 and two powered device interfaces 150, and each powered device interface 150 is described as an example.
[0085] The first detection subcircuit 130 includes a first resistor R1, a second resistor R2 and a transistor Q2, each second detection subcircuit 160 includes a voltage divider resistor R3 and a diode D1, and each power supply control subcircuit 120 includes an electronic switch Q1.
[0086] The first end of the first resistor R1 is connected to the power supply device interface 140, and the second end is connected to the collector of the transistor Q2. The base of the transistor Q2 is connected to the controller 110, and the emitter is grounded. The first end of the second resistor R2 is connected between the base of the transistor Q2 and the controller 110, and the second end is grounded.
[0087] The second detection subcircuit 160 includes a voltage divider resistor R3 and a diode D1 . The first end of the voltage divider resistor R3 is connected to the first power source, and the second end is connected to the anode of the diode D1 and the controller 110 respectively. The cathode of the diode D1 is connected to the powered device interface 150 .
[0088] The power supply control subcircuit 120 includes a field effect transistor and a current limiting resistor R0 , wherein the source of the field effect transistor is connected to the power supply device 200 , the gate is connected to the controller 110 through the current limiting resistor R0 , and the drain is connected to the powered device 300 .
[0089] Among them, the first detection subcircuit 130 detects whether the power supply device 200 is connected to the power supply device interface 140 through the transistor Q2, and the controller 110 determines the connection status of the power supply device 200 by monitoring the base or collector voltage of the transistor Q2, ensuring that the subsequent power supply control is performed only when the power supply device 200 is connected to the power supply device interface 140, thereby improving the safety and reliability of the system. The second detection subcircuit 160 detects the power supply status of the powered device 300 through the voltage divider resistor R3 and the diode D1, and the controller 110 determines whether the powered device 300 is normally connected to the powered device interface 150 by monitoring the output voltage of the voltage divider resistor R3 on each second detection subcircuit 160. The controller 110 is used to control the power supply device 200 to provide the first voltage to the powered device 300 when it is detected that only one of the multiple power supply control subcircuits 120 is connected to the powered device 300, so as to provide a higher voltage to the single powered device 300, ensure that it obtains sufficient power support, and improve the power supply efficiency. And when it is detected that at least two of the multiple power supply control subcircuits 120 are respectively connected to the powered devices 300, control the first power supply to provide a second voltage to the powered devices 300 respectively connected to the at least two power supply control subcircuits 120, so as to provide a lower voltage to the multiple powered devices 300, ensure uniform power distribution, avoid overload, and thus improve the safety of charging the multiple powered devices 300.
[0090] In addition, the second detection sub-circuit 160 can effectively prevent reverse current by setting a diode D1, thereby protecting the hand-type device. The power supply control sub-circuit 120 can effectively prevent excessive upgrade current by setting a current limiting resistor R0, thereby effectively improving the reliability and durability of the circuit, thereby extending the service life of the power supply control circuit 100 and making the control logic more flexible and reliable.
[0091] Based on this, a power supply control circuit 100 provided in an embodiment of the present application can provide a first voltage to a powered device 300 when only one powered device 300 is connected to achieve a fast charging mode through a simple circuit design and intelligent management of a controller 110, and provide a second voltage to each powered device 300 when multiple powered devices 300 are connected to achieve simultaneous charging of multiple devices; thereby improving the compatibility and safety of the power supply control circuit 100, and users can use the same charging device to charge powered devices 300 of different brands, reducing the inconvenience of carrying multiple charging devices, and at the same time, avoiding the problem of complex circuit structure and high cost caused by the need to use a specific protocol chip in the related technology.
[0092] like Figure 8 As shown, Figure 8 A power supply control method provided in an embodiment of the present application is schematically shown. The method is applied to a controller 110 in a power supply control circuit 100. The method includes:
[0093] Step S210: obtaining a connection detection result of the power supply device 200 and an output terminal connection detection result of each of the power supply control sub-circuits 120 .
[0094] The above-mentioned method of obtaining the access detection result of the power supply device 200 and the output terminal connection detection result of each of the power supply control sub-circuits 120 can be a method of receiving the access detection result of the power supply device 200 and the output terminal connection detection result of each of the power supply control sub-circuits 120 input by the user, or it can be a method of receiving the access detection result and the output terminal connection detection result obtained by the detection device or the detection circuit performing the access detection.
[0095] Step S220: If it is determined according to the access detection result that the power supply device 200 is respectively connected to multiple power supply control sub-circuits 120, and it is determined according to the output end detection result that only one power supply control sub-circuit 120 among the multiple power supply control sub-circuits 120 is connected to the powered device 300, the power supply device 200 is controlled to provide a first voltage to the powered device 300 through the power supply control sub-circuit 120 connected to the powered device 300.
[0096] Among them, the selection of the voltage magnitude of the first voltage can refer to the specific description in the above-mentioned embodiment, and will not be repeated here.
[0097] In one possible implementation, before controlling the power supply device 200 to provide the first voltage to the powered device 300 through the power supply control subcircuit 120 connected to the powered device 300, the method further includes: obtaining a maximum charging voltage of the powered device 300 connected to a power supply control subcircuit 120; and determining the maximum charging voltage as the first voltage.
[0098] Step S230: If it is determined according to the access detection result that the power supply device 200 is respectively connected to the plurality of power supply control sub-circuits 120, and if it is determined according to the output end detection result that at least two of the plurality of power supply control sub-circuits 120 are respectively connected to the powered devices 300, the power supply device 200 is controlled to provide a second voltage to the connected powered devices 300 through the at least two power supply control sub-circuits 120.
[0099] The process of determining the voltage value of the second voltage can refer to the specific description of the aforementioned embodiment, which will not be described in detail here.
[0100] In one possible implementation, before controlling the power supply device 200 to provide the second voltage to the connected powered devices 300 respectively through the at least two power supply control subcircuits 120, the method also includes: obtaining charging parameter information corresponding to each of the powered devices 300 respectively connected to the at least two power supply control subcircuits 120; and determining the second voltage based on each of the charging parameter information and the maximum output power of the power supply device 200.
[0101] Among them, if the charging parameter information includes a maximum charging voltage and a maximum charging current; determining the second voltage according to each of the charging parameter information and the maximum output power of the power supply device 200 includes: determining the second voltage according to the maximum output power of the power supply device 200, the maximum charging voltage and the maximum charging current of the powered devices 300 respectively connected to at least two power supply control subcircuits 120, the maximum charging voltages of the powered devices 300 respectively connected to the at least two power supply control subcircuits 120 are not less than the second voltage, and the sum of the powers required for each of the powered devices 300 to be charged using the second voltage is less than the maximum output power of the power supply device 200.
[0102] For the specific implementation principle of the above method, please refer to the specific description of the power supply control circuit 100 in the above embodiment, which will not be described in detail here.
[0103] By adopting the above-mentioned power supply control method, it is possible to provide the first voltage to the powered device 300 when only one powered device 300 is connected through simple circuit design and intelligent management of the controller 110, ensuring that the powered device 300 can be safely charged at the fastest speed it supports, while not exceeding its maximum charging voltage limit. This helps to optimize the charging efficiency of a single device and ensure the safety of the charging process. When multiple powered devices 300 are connected, a second voltage is provided to each powered device 300 to achieve simultaneous charging of multiple devices; thereby improving the compatibility of the power supply control circuit 100, and users can use the same charging device to charge powered devices 300 of different brands, reducing the inconvenience of carrying multiple charging devices, and at the same time, avoiding the problem of complex circuit structure and high cost caused by the need to use a specific protocol chip in the related art.
[0104] Further, when only one of the multiple power supply control subcircuits 120 is connected to the powered device 300, the controller 110 uses the maximum charging voltage of the powered device 300 as the first voltage, and controls the power supply device 200 to provide the first voltage to the powered device 300 through the power supply control subcircuit 120 for charging, so as to ensure that the powered device 300 can be safely charged at the fastest speed it supports, while not exceeding its maximum charging voltage limit. This helps to optimize the charging efficiency of a single device and ensure the safety of the charging process. When a plurality of powered devices 300 are simultaneously connected to a plurality of different power supply control subcircuits 120, the controller 110 determines the second voltage according to the maximum output power of the power supply device 200 and the maximum charging voltage of each powered device 300, and controls the power supply device 200 to provide the second voltage to the connected powered devices 300 through at least two power supply control subcircuits 120 for charging, thereby ensuring that all powered devices 300 can provide power to all connected powered devices 300 as fairly and efficiently as possible under limited total power, thereby maximizing the overall charging efficiency and optimizing resource utilization.
[0105] In one possible implementation mode of the present application, the power supply control circuit 100 also includes a power supply device 200 interface and a first detection sub-circuit 130, the input ends of each of the power supply control sub-circuit 120 are respectively connected to the power supply device 200 interface, and the first detection sub-circuit 130 is connected between the power supply device 200 interface and the controller 110; obtaining the access detection result of the power supply device 200 in the above step S210 includes: receiving a first level signal output by the first detection sub-circuit 130; and determining the access detection result of the power supply device 200 according to the first level signal.
[0106] In an optional embodiment, the first detection subcircuit 130 can output a high-level signal when it detects that the input end of each of the power supply control subcircuits 120 is respectively connected to the interface of the power supply device 200, and output a low-level signal when it detects that the input end of each of the power supply control subcircuits 120 is not connected to the interface of the power supply device 200, so that the controller 110 determines that the input end of each of the power supply control subcircuits 120 is respectively connected to the interface of the power supply device 200 when receiving the high-level signal, and determines that the input end of the power supply control subcircuit 120 is not connected to the interface of the power supply device 200 when receiving the low-level signal.
[0107] The specific circuit principle of the first detection sub-circuit 130 can be found in the specific description of the aforementioned embodiment, which will not be elaborated here.
[0108] In one possible implementation, the power supply control circuit 100 further includes a plurality of powered device 300 interfaces and a plurality of second detection subcircuits, the output end of each of the power supply control subcircuits 120 being respectively connected to one of the powered device 300 interfaces, and each of the second detection subcircuits being respectively connected to one of the powered device 300 interfaces and the controller 110; obtaining the output end connection detection result of each of the power supply control subcircuits 120 in the above step S210 includes: receiving a second level signal output by each of the second detection subcircuits; and obtaining the output end connection detection result of each of the power supply control subcircuits 120 according to the second level signal output by each of the second detection subcircuits.
[0109] For the specific circuit principle of the second detection sub-circuit, please refer to the specific description of the aforementioned embodiment, which will not be described in detail here.
[0110] Please refer again Figure 1 , an embodiment of the present application further provides a charging device, including a power supply device 200 and a power supply control circuit 100 , wherein the power supply device 200 is connected to the power supply control circuit 100 .
[0111] The charging device is used to charge the powered device 300 . For the detailed description of the power supply device 200 , the powered device 300 and the power supply control circuit 100 in the charging device, please refer to the detailed description of the above embodiments, which will not be described in detail here.
[0112] The above are only preferred embodiments of the present application and are not intended to limit the present application in any form. Although the present application has been disclosed as a preferred embodiment as above, it is not intended to limit the present application. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present application. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.
Claims
1. A power supply control method, characterized in that: A controller applied to a power supply control circuit, wherein the power supply control circuit further comprises a plurality of power supply control subcircuits, wherein input ends of the plurality of power supply control subcircuits are respectively used to connect to power supply devices, and an output end of each power supply control circuit is used to connect to a powered device, wherein the method comprises: Obtaining a connection detection result of the power supply device and an output terminal connection detection result of each power supply control subcircuit; If it is determined according to the access detection result that the power supply device is respectively connected to the plurality of power supply control subcircuits, and it is determined according to the output end detection result that only one of the plurality of power supply control subcircuits is connected to a powered device, controlling the power supply device to provide a first voltage to the powered device through the power supply control subcircuit connected to the powered device; If it is determined according to the access detection result that the power supply device is respectively connected to multiple power supply control sub-circuits, and if it is determined according to the output end detection result that at least two of the multiple power supply control sub-circuits are respectively connected to powered devices, the power supply device is controlled to provide a second voltage to the connected powered devices through the at least two power supply control sub-circuits.
2. The method according to claim 1, characterized in that Before controlling the power supply device to provide the first voltage to the powered device by connecting to the power supply control subcircuit of the powered device, the method further includes: Obtaining a maximum charging voltage of a powered device connected to a power supply control subcircuit; The maximum charging voltage is determined as a first voltage.
3. The method according to claim 1, characterized in that Before controlling the power supply device to provide the second voltage to the connected powered devices through the at least two power supply control subcircuits respectively, the method further includes: Acquire charging parameter information corresponding to each of the powered devices connected to the at least two power supply control subcircuits respectively; The second voltage is determined according to each of the charging parameter information and the maximum output power of the power supply device.
4. The method according to claim 3, characterized in that The charging parameter information includes a maximum charging voltage and a maximum charging current; The determining the second voltage according to each of the charging parameter information and the maximum output power of the power supply device includes: The second voltage is determined according to the maximum output power of the power supply device, the maximum charging voltage and the maximum charging current of the powered devices respectively connected to the at least two power supply control subcircuits, the maximum charging voltages of the powered devices respectively connected to the at least two power supply control subcircuits are not less than the second voltage, and the sum of the powers required by each of the powered devices when charging using the second voltage is less than the maximum output power of the power supply device.
5. The method according to claim 1, characterized in that The power supply control circuit further includes a power supply device interface and a first detection subcircuit, the input end of each of the power supply control subcircuits is respectively connected to the power supply device interface, and the first detection subcircuit is connected between the power supply device interface and the controller; The obtaining the access detection result of the power supply device includes: receiving a first level signal output by the first detection subcircuit; A connection detection result of the power supply device is determined according to the first level signal.
6. The method according to claim 1, characterized in that The power supply control circuit further includes a plurality of powered device interfaces and a plurality of second detection subcircuits, wherein the output end of each of the power supply control subcircuits is respectively connected to one of the powered device interfaces, and each of the second detection subcircuits is respectively connected to one of the powered device interfaces and the controller; The obtaining of the output terminal connection detection result of each power supply control sub-circuit includes: receiving a second level signal output by each of the second detection sub-circuits; The output terminal connection detection result of each of the power supply control sub-circuits is obtained according to the second level signal output by each of the second detection sub-circuits.
7. A power supply control circuit, characterized in that: include: Controller; A plurality of power supply control subcircuits, each of which has an input end for connecting to a power supply device providing a first voltage, an output end for connecting to a powered device, and a control end connected to the controller; The controller is used to execute the method steps as described in any one of claims 1-6.
8. The power supply control circuit according to claim 7, characterized in that: The power supply control circuit also includes a power supply device interface and a first detection subcircuit, and the first detection subcircuit includes a first resistor, a second resistor and a triode; The input end of each of the power supply control sub-circuits is respectively connected to a power supply device interface, and the power supply device interface is also used to connect to a power supply device; The first end of the first resistor is connected to the power supply device interface, and the second end is connected to the collector of the transistor. The base of the transistor is connected to the controller and the emitter is grounded. The first end of the second resistor is connected between the base of the transistor and the controller, and the second end is grounded.
9. The power supply control circuit according to claim 8, characterized in that: The controller is also used to control the transistor to be in a cut-off state when it is determined that the power supply device interface is connected to a power supply device according to the voltage of the base of the transistor, and only one power supply control subcircuit among the multiple power supply control subcircuits is connected to a powered device, and to control the power supply device to provide a first voltage to the powered device through the power supply control subcircuit connected to the powered device.
10. The power supply control circuit according to claim 7, characterized in that: The power supply control circuit further includes a plurality of powered device interfaces and a plurality of second detection subcircuits, wherein the second detection subcircuits include voltage dividing resistors and diodes; The output end of each power supply control subcircuit is respectively connected to one of the powered device interfaces, and the powered device interface is also used to connect to the powered device; The first end of the voltage-dividing resistor is connected to the first power source, the second end is connected to the anode of the diode and the controller respectively, and the cathode of the diode is connected to the interface of the powered device.
11. The power supply control circuit according to claim 7, characterized in that: The power supply control subcircuit comprises an electronic switch, wherein the input end of the electronic switch is used to be connected to the power supply device, the output end is used to be connected to the powered device, and the control end is connected to the controller.
12. The power supply control circuit according to claim 8, characterized in that: The power supply control subcircuit further includes a current limiting resistor, and the current limiting resistor is connected between the controller and the control end of the electronic switch.
13. A charging device, characterized in that: It comprises a power supply device and a power supply control circuit as described in any one of claims 7 to 12, wherein the power supply device is connected to the power supply control circuit.