Disclosure of Invention
The invention provides a multi-port charging device which is used for realizing accurate control of the on and off of each charging interface and intelligent power distribution.
In a first aspect, the embodiment of the invention provides multi-port charging equipment, which comprises a plurality of charging interfaces, a detection module, a control module, a switch module and a voltage regulation module, wherein the detection module comprises a plurality of detection units, and the switch module comprises a plurality of switch units;
The voltage output end of the detection unit is electrically connected with the voltage end of the charging interface, the grounding end of the charging interface is electrically connected with the first end of the switch unit and the first input end of the detection unit respectively, the second input end of the detection unit is electrically connected with the second end of the switch unit, the switch control input end of the switch unit is electrically connected with the switch control output end of the control module, and the state output end of the detection unit is electrically connected with the state input end of the control module; the control module is used for receiving the connection state of the charging interface and the external equipment fed back by each detection unit and sending a switch control signal to the switch unit according to the connection state of the charging interface and the external equipment;
The voltage output end of the voltage regulation module is electrically connected with the power supply end of the charging interface, the interface communication end of the voltage regulation module is electrically connected with the communication end of the charging interface, the control communication end of the voltage regulation module is electrically connected with the communication end of the control module, the second end of the switch unit and the grounding end of the voltage regulation module are both electrically connected with the grounding end of the multi-port charging equipment, and the control module is used for regulating the power output by the voltage output end of the voltage regulation module to the charging interface according to the connection state of the charging interface fed back by each detection unit and the external equipment.
Optionally, the detection unit comprises a first resistor, a second resistor, a first filter circuit, a second filter circuit and a detection chip;
The first end of the first resistor is electrically connected with the first power end of the multi-port charging equipment, the second end of the first resistor is electrically connected with the power end of the charging interface, the grounding end of the charging interface is electrically connected with the first end of the second resistor, and the second end of the second resistor is grounded;
The first end of the second filter circuit is electrically connected with the second end of the switch unit and the ground end of the multi-port charging equipment respectively, and the second end of the second filter circuit is electrically connected with the second input end of the detection chip;
The detection chip is used for generating a state signal used for representing the connection state of the charging interface and external equipment according to signals input by the first input end of the detection chip and the second input end of the detection chip, wherein the state signal comprises a first level signal, a second level signal and a clock signal.
Optionally, the detection chip includes a first comparator, a second comparator, an and gate, a nand gate, and a clock generator;
The positive phase input end of the first comparator and the positive phase input end of the second comparator are electrically connected with the second end of the first filter circuit, the negative phase input end of the first comparator is electrically connected with the second end of the second filter circuit, and the output end of the first comparator is electrically connected with the first input end of the AND gate;
the inverting input end of the second comparator is electrically connected with the reference voltage end of the multi-port charging equipment, the output end of the second comparator is electrically connected with the first input end of the NAND gate, the output end of the clock generator is electrically connected with the second input end of the NAND gate, and the output end of the NAND gate is electrically connected with the second input end of the AND gate;
the output end of the AND gate is electrically connected with the control module.
Optionally, the detection chip further includes a debouncer, a first end of which is electrically connected to the output of the first comparator, and a second end of which is electrically connected to the first input of the and gate.
Optionally, the detection chip further comprises a first switch, and the detection unit further comprises a third resistor;
The control end of the first switch is electrically connected with the output end of the AND gate, the first end of the first switch is electrically connected with the second end of the third resistor, the first end of the third resistor is electrically connected with the first power end of the multi-port charging equipment, and the second end of the first switch is grounded.
Optionally, the detection unit further includes a first diode, an anode of the first diode is electrically connected to the second end of the first resistor, and a cathode of the first diode is electrically connected to the power end of the charging interface.
Optionally, the first filter circuit comprises a fourth resistor and a first capacitor, and the second filter circuit comprises a fifth resistor, a first capacitor and a second capacitor;
the first end of the fourth resistor is electrically connected with the first end of the switch unit, the second end of the fourth resistor is electrically connected with the first end of the first capacitor, and the second end of the first capacitor is grounded;
the first end of the fifth resistor is electrically connected with the second end of the switch unit, the second end of the fifth resistor is electrically connected with the first end of the second capacitor, and the second end of the second capacitor is grounded.
Optionally, the switching unit comprises a metal-oxide semiconductor field effect transistor.
Optionally, the charging interface comprises a TYPE-a interface.
Optionally, the control module comprises a microcontroller.
According to the multi-port charging equipment provided by the embodiment of the invention, the connection state of each charging interface and the external equipment is detected through the detection module, so that the control module can switch off the charging interfaces which are not connected with the external equipment according to the connection state of each charging interface and the external equipment, and adjust the power output by the voltage output end of the voltage regulation module to the charging interfaces according to the power level of the external equipment connected with each charging interface, so that each external connection equipment is charged with the charging power as large as possible under the condition of safety, the charging efficiency is improved, the problem that the power distribution cannot be carried out in the prior art is solved, the effects of accurately controlling the switching on and off of each charging interface and intelligently carrying out the power distribution are realized.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Fig. 1 is a schematic structural diagram of a multi-port charging device according to an embodiment of the present invention. Referring to fig. 1, the multi-port charging apparatus includes a plurality of charging interfaces 50, a detection module, a control module 30, a switching module and a voltage regulation module 40, the detection module includes a plurality of detection units 110, the switching module includes a plurality of switching units 210, and the plurality of charging interfaces 50, the plurality of switching units 210 and the plurality of detection units 110 are in one-to-one correspondence. The voltage output terminal VOUT of the detection unit 110 is electrically connected to the voltage terminal VBUS of the charging interface 50, the ground terminal Gnd of the charging interface 50 is electrically connected to the first terminal D of the switching unit 210 and the first input terminal in+ of the detection unit 110, respectively, the second input terminal IN of the detection unit 110 is electrically connected to the second terminal S of the switching unit 210, the switching control input terminal G of the switching unit 210 is electrically connected to the switching control output terminal C of the control module 30 (the exemplary illustrated control module 30 IN fig. 1 includes a first switching control output terminal C1 and a second switching control terminal C2), the state output terminal FLAG of the detection unit 110 is electrically connected to the state input terminal F of the control module 30 (the exemplary illustrated control module 30 IN fig. 1 includes a first state input terminal F1 and a second state input terminal F2), the detection unit 110 is used for detecting the connection state of the charging interface 50 to an external device, the control module 30 is used for receiving the connection state of the charging interface 50 fed back by the respective detection unit 110 to the external device, and sending a switching control signal to the switching control output terminal C of the control module 30 according to the connection state of the charging interface 50 to the external device (the exemplary illustrated control module 30 IN fig. 1 includes a first switching control output terminal C1 and a second switching control terminal C2), the state output terminal FLAG of the detection unit 110 is electrically connected to the state output terminal of the voltage regulation module 40 includes a voltage regulation voltage signal IN communication terminal 40 a is connected to the voltage output terminal 40 a2 of the voltage regulation terminal 40 b of the charging interface 40 and a2 and a voltage regulation terminal 40 is IN communication terminal 40 b1 and a voltage terminal 40 is electrically connected to the voltage output terminal 40 b1 and a communication terminal 40 is electrically connected to the output terminal 40 b1 (i., the second terminal S of the switch unit 210 and the ground terminal GND of the voltage regulation module 40 are electrically connected to the ground terminal GND of the multi-port charging device, and the control module 30 is configured to regulate the power output from the voltage output terminal of the voltage regulation module 40 to the charging interface 50 according to the connection state between the charging interface 50 fed back by each detection unit 110 and the external device.
In particular, the multi-port charging device may be a charging adapter or a mobile power supply, which is not limited in the present application. The external device may be an electronic device such as a mobile phone, a computer, or an intelligent wearable device, which is not limited in the present application.
Specifically, the detecting unit 110 is configured to detect a connection state between the corresponding charging interface 50 and the external device, where the connection state may include that the external device is not connected, that the external device is connected, and that the external device is being charged.
Specifically, the control module 30 is configured to turn off the charging interface 50 that is not connected to the external device through the switch unit 210 according to the connection status with the external device fed back by each detection unit 110, and turn on the charging interface 50 that is connected to the external device (the charging interface 50 that has just been connected to the external device and the charging interface 50 that is charging the external device) through the switch unit 210, so that the voltage regulation module 40 can charge the external connection device through the charging interface 50.
Specifically, the voltage regulation module 40 is configured to communicate with external devices connected to each charging interface 50, so as to obtain rated charging power of each external device connected to each charging interface 50. The voltage regulation module 40 is further configured to communicate with the control module 30, where the voltage regulation module 40 may send rated charging power of each external device to the control module 30, and after knowing the rated charging power of each external device and the on-off state of each charging interface 50, the control module 30 may obtain an optimal charging power value according to a built-in regulation policy and send the optimal charging power value to the voltage regulation module 40, so that power output by the voltage regulation module 40 to each charging interface 50 connected to the external device is the optimal charging power value. Specific regulation and control strategies can be set by those skilled in the art according to actual situations, and are not limited herein, and exemplary regulation and control strategies can be that rated charging power of an external device with the smallest rated charging power is set as an optimal charging power value in external devices connected to each charging interface 50.
Specifically, the multi-port charging device shown in fig. 1 operates as follows, each detection unit 110 detects a connection state of a corresponding charging interface 50 and an external device, the control module 30 disconnects the charging interface 50 which is not connected to the external device through each switch unit 210 according to the connection state of the charging interface 50 fed back by each detection unit 110 and the external device, the charging interface 50 which is just connected to the external device and the charging interface 50 which is charging the external device are conducted, the voltage regulation module 40 obtains rated charging power of the external device which is connected to each charging port 50 connected to the external device and sends the rated charging power to the control module 30, the control module 30 obtains an optimal charging power value according to a regulation strategy, and the voltage regulation module 40 outputs power to each charging interface 50 connected to the external device according to the optimal charging power value.
For example, in order to clearly illustrate that the multi-port charging device of the present application can accurately control the on/off states of each charging interface 50, power control is intelligently performed, and will be illustrated with reference to specific application scenarios. The multi-port charging device in fig. 1 includes two charging interfaces 50, wherein one charging interface 50 is connected to a tablet computer, the rated charging power of the tablet computer is 20W, the other charging interface 50 is connected to a mobile phone, the rated charging power of the mobile phone is 10W, then the optimal charging power value is 10W, the power output by the voltage regulation module 40 to the two charging interfaces 50 is 10W, when the mobile phone is removed, the charging interface 50 originally connected to the mobile phone is disconnected by the control module 30 through the switch unit 110, meanwhile, the charging interface 50 connected to the tablet computer is kept on, and the power output by the voltage regulation module 40 to the charging interface connected to the tablet computer is increased to 20W by the control module 30, so that the charging efficiency to the tablet computer is improved.
It should be noted that, for convenience of drawing, fig. 1 only illustrates that two charging interfaces 50 are included in the multi-port charging device, but the number of charging interfaces 50 in the multi-port charging device is not limited to the present application, and those skilled in the art may set the number according to the actual situation.
According to the multi-port charging device provided by the embodiment of the invention, the connection state of each charging interface 50 and the external device is detected through the detection module, so that the control module 30 can switch off the charging interfaces 50 which are not connected with the external device according to the connection state of each charging interface 50 and the external device, and adjust the power output by the voltage output end of the voltage regulation module 40 to the charging interfaces 50 according to the power level of the external device connected with each charging interface 50, so that each external connection device is charged with the charging power as large as possible under the condition of safety, the charging efficiency is improved, the problem that power distribution cannot be performed in the prior art is solved, and the effects of accurately controlling the switching on and off of each charging interface 50 and intelligently performing power distribution are realized.
In particular, the specific implementation manner of each module in the multi-port charging device is various, and the following description will be given with reference to a typical example, but the present application is not limited thereto.
Fig. 2 is a circuit element diagram of a multi-port charging device according to an embodiment of the present invention. Referring to fig. 1 and 2, the detection unit 110 optionally includes a first resistor R1, a second resistor R2, a first filter line, a second filter line, and a detection chip 111, where a first end of the first resistor R1 is electrically connected to a first power supply terminal of the multi-port charging device, a second end of the first resistor R1 (i.e., a voltage output terminal VOUT of the detection unit 110) is electrically connected to a power supply terminal VBUS of the charging interface 50, a ground terminal Gnd of the charging interface 50 is electrically connected to a first end of the second resistor R2 (i.e., a first input terminal in+) of the detection unit 110, a second end of the second resistor R2 is grounded, a first end of the first filter line is electrically connected to a first end of the second resistor R2 and a first end D of the switching unit 210, a second end of the first filter line is electrically connected to a first input terminal of the detection chip 111, a first end of the second filter line (i.e., a second input terminal IN-) of the detection unit 110 is electrically connected to a second end S of the switching unit 210 and a ground terminal Gnd of the multi-port charging device, a second end of the second filter line (i.e., a second input terminal IN-) is electrically connected to a second input terminal of the second filter line of the detection unit 111, and the second filter line is electrically connected to the first input terminal of the detection chip 111 and the second filter line is used to generate a signal level signal representing a state of the signal state of the first signal state and the first chip and the second filter line and the second input chip 111 is connected to the signal state of the first signal state and the second filter line and the signal state of the second filter line and the second input device and the signal state is used.
Specifically, the resistance of the second resistor R2 is much greater than that of the first resistor R1, and illustratively, the resistance of the second resistor R2 is 2M, and the resistance of the first resistor R1 is 1K, so that when the external device is just connected to the charging interface 50, the voltage that can be received by the first input terminal in+ of the detection chip 111 is approximately equal to the voltage provided by the first power supply terminal VCC of the multi-port charging device, that is, the voltage receives a high level. Specifically, the on-voltage drop of the switching unit 210 is much smaller than the voltage provided by the first power terminal VCC of the multi-port charging device, and the voltage provided by the first power terminal VCC of the multi-port charging device is 3.3V, and the on-voltage drop of the switching unit 210 is 0.3V.
Specifically, when the external device is not connected to the charging interface 50, the switch unit 110 is in an off state, the first input terminal of the detection chip 111 inputs a low level, the second input terminal of the detection chip 111 inputs a low level, when the external device is just connected to the charging interface 50, the switch unit 110 is still in an off state, the first input terminal of the detection chip 111 inputs a high level, the second input terminal of the detection chip 111 inputs a low level, and when the charging interface 50 is charging the external device, the switch unit 110 is in an on state, the voltage value input by the first input terminal of the detection chip 111 is the on voltage drop value of the switch unit 110, and the second input terminal of the detection chip 111 inputs a low level. It can be seen that, when the connection state of the charging interface 50 and the external device is not connected to the external device, is connected to the external device instantaneously, or is charging the external device, the signals received by the detection chip 111 are different, so the detection chip 111 can generate a state signal for representing the connection state of the charging interface 50 and the external device according to the signals input by the first input terminal of the detection chip 111 and the second input terminal of the detection chip 111.
Specifically, the status signals include three kinds, which are a first level signal, a second level signal and a clock signal. The three status signals correspond to the connection states of the three charging interfaces 50 and the external device one by one, and specific corresponding situations can be set by those skilled in the art according to actual situations, which is not limited herein. Illustratively, the first level signal corresponds to an unaccessed external device, the clock signal corresponds to an accessed external device momentarily, and the second level signal corresponds to an external device being charged.
With continued reference to fig. 1 and 2, the optional detection chip includes a first comparator CMP1, a second comparator CMP2, an and gate a, a nand gate NA, and a clock generator CLK, where the positive input terminal of the first comparator CMP1 and the positive input terminal of the second comparator CMP2 are both electrically connected to the second terminal of the first filter line, the negative input terminal of the first comparator CMP1 is electrically connected to the second terminal of the second filter line, the output terminal of the first comparator CMP1 is electrically connected to the first input terminal of the and gate a, the negative input terminal of the second comparator CMP2 is electrically connected to the reference voltage terminal of the multi-port charging device, the output terminal of the second comparator CMP2 is electrically connected to the first input terminal of the nand gate NA, the output terminal of the clock generator CLK is electrically connected to the second input terminal of the nand gate NA, and the output terminal of the nand gate NA is electrically connected to the second input terminal of the and the output terminal of the and gate a (i.e., the state signal terminal FLAG of the detection unit 110) is electrically connected to the control module 30.
Specifically, when the external device is just connected to the charging interface 50, the voltage input by the first input terminal in+ of the detection chip 111 is greater than the voltage of the reference voltage terminal REF of the multi-port charging device. Illustratively, when the external device is just connected to the charging interface 50, the voltage that can be received by the first input terminal in+ of the detection chip 111 is approximately equal to 3.3V, and the voltage of the reference voltage terminal REF of the multi-port charging device is 1V. Specifically, the clock generator CLK is used to generate a clock signal.
Specifically, the detection chip 111 operates on the principle that when no external device is connected to the charging interface 50, the switch unit 110 is in an off state, a first input terminal of the detection chip 111 inputs a low level, a second input terminal of the detection chip 111 inputs a low level, the first comparator CMP1 outputs a low level, the second comparator CMP2 outputs a low level, the nand gate NA outputs a high level, and the and gate a outputs a low level. When the external device is just connected to the charging interface 50, the switch unit 110 is still in an off state, the first input terminal of the detection chip 111 inputs a high level, the second input terminal of the detection chip 111 inputs a low level, the first comparator CMP1 outputs a high level, the second comparator CMP2 outputs a high level, the nand gate NA outputs a clock, and the and gate a outputs a clock signal. When the charging interface 50 is charging an external device, the switch unit 110 is in a conductive state, the voltage value input by the first input terminal of the detection chip 111 is the conduction voltage drop value of the switch unit 110, the second input terminal of the detection chip 111 is input with a low level, the first comparator CMP1 outputs a high level, the second comparator CMP2 outputs a low level, the nand gate NA outputs a high level, and the and gate a outputs a high level.
With continued reference to fig. 1 and 2, the detection chip optionally further includes a debouncer DEB, a first end of the debouncer DEB being electrically connected to the output of the first comparator CMP1, and a second end of the debouncer DEB being electrically connected to the first input of the and gate a. The advantage of this arrangement is that the and gate a is prevented from regarding the dither signal at its first input as a valid signal, thereby avoiding a false detection of the connection state of the corresponding charging interface 50 to the external device by the detection chip.
With continued reference to fig. 1 and 2, the detection chip optionally further includes a first switch Q1, the detection unit 110 further includes a third resistor R3, the control end of the first switch Q1 is electrically connected to the output end of the and gate a, the first end of the first switch Q1 (i.e., the status signal end FLAG of the detection unit 110) is electrically connected to the second end of the third resistor R3, the first end of the third resistor R3 is electrically connected to the first power supply end VCC of the multi-port charging device, and the second end of the first switch Q1 is grounded.
Optionally, the first switch Q1 includes a metal-oxide semiconductor field effect Transistor (Metal Oxide Semiconductor FIELD EFFECT Transistor, abbreviated as MOS), and the first switch Q1 may be a P-type MOS or an N-type MOS, which may be set by those skilled in the art according to the actual situation, which is not limited in the present application. The first switch Q1 is exemplified by an N-type MOS, when the control terminal of the first switch Q1 inputs a low level, the first switch Q1 is turned off, the first terminal of the first switch Q1 (i.e., the state output terminal FLAG of the detection unit 110) outputs a high level, when the control terminal of the first switch Q1 inputs a clock, the first switch Q1 is in a continuously turned-on and turned-off state, the first terminal of the first switch Q1 outputs a clock, when the control terminal of the first switch Q1 inputs a high level, the first switch Q1 is in a turned-on state, and the first terminal of the first switch Q1 outputs a low level.
It can be understood that when the first end of the first switch Q1 outputs a high level, the specific value of the high level is related to the voltage of the first power supply end VCC and the third resistor R3 of the multi-port charging device, and the specific value of the high level output by the first end of the first switch Q1 can be flexibly adjusted by adjusting the voltage of the first power supply end VCC and the third resistor R3, so that the high level meets the subsequent use requirement.
With continued reference to fig. 1 and 2, the detection unit 110 may further include a first diode D1, where an anode of the first diode D1 is electrically connected to the second end of the first resistor R1, and a cathode of the first diode D1 is electrically connected to the power supply terminal VBUS of the charging interface 50. This has the advantage that it prevents current flowing back into the first power supply terminal VCC of the multi-port charging device when the voltage regulation module 40 supplies power to the charging interface 50.
With continued reference to fig. 1 and 2, the first filter circuit optionally includes a fourth resistor R4 and a first capacitor C1, the second filter circuit includes a fifth resistor R5 and a second capacitor C2, the first end of the fourth resistor R4 is electrically connected to the first end of the switch unit 210, the second end of the fourth resistor R4 is electrically connected to the first end of the first capacitor C1, the second end of the first capacitor C1 is grounded, the first end of the fifth resistor R5 is electrically connected to the second end of the switch unit 210, the second end of the fifth resistor R5 is electrically connected to the first end of the second capacitor C2, and the second end of the second capacitor C2 is grounded. It can be understood that the RC filter circuit is simple in circuit, high in anti-interference performance and beneficial to cost reduction.
With continued reference to fig. 1 and 2, the switching unit 210 may optionally include a metal-oxide semiconductor field effect transistor. Specifically, the MOS in the switch unit 210 may be a P-type MOS or an N-type MOS, which can be set by those skilled in the art according to practical situations, and the present application is not limited thereto.
Specifically, the first comparator CMP1 may be a comparator with higher detection accuracy, and for example, a comparator with detection accuracy of 50 μv or less may be selected. It can be understood that the impedance of the source and the drain of the MOS is typically 0.001 Ω, and since the current when the external device is charged is greater than 5mA, the detecting unit 110 can detect that the external device is connected to the charging interface 50, that is, the detecting unit 110 can accurately detect the connection state of the charging interface 50 and the external device.
With continued reference to fig. 1 and 2, the charging interface 50 may optionally include a TYPE-a interface. It will be appreciated that the TYPE-a interface itself is generally free of circuitry capable of detecting whether an external device is connected thereto, and thus the charging interface of the present application may comprise a TYPE-a interface.
With continued reference to fig. 1 and 2, optionally, the control module 30 may include a microcontroller (Microcontroller Unit, MCU). It can be appreciated that the MCU has the advantages of low cost, small volume, low power consumption and the like, and is beneficial to reducing the cost and the volume of the multi-port charging equipment.
It should be noted that, since the detection units 110 in the detection module are identical, for convenience of drawing, corresponding circuit elements in the two detection units 110 in fig. 2 are identical in reference numerals, and are not distinguished. It should be noted that, for simplicity of description, the term "ground" is used to denote the ground GND of the multi-port charging device.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.