CN109753100B - Current-limiting output dynamic adjusting circuit - Google Patents
Current-limiting output dynamic adjusting circuit Download PDFInfo
- Publication number
- CN109753100B CN109753100B CN201910121367.1A CN201910121367A CN109753100B CN 109753100 B CN109753100 B CN 109753100B CN 201910121367 A CN201910121367 A CN 201910121367A CN 109753100 B CN109753100 B CN 109753100B
- Authority
- CN
- China
- Prior art keywords
- current
- module
- power supply
- limiting
- voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000001514 detection method Methods 0.000 claims abstract description 88
- 238000012360 testing method Methods 0.000 claims abstract description 57
- 230000001276 controlling effect Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 230000001105 regulatory effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Images
Landscapes
- Power Sources (AREA)
- Direct Current Feeding And Distribution (AREA)
Abstract
The invention discloses a current-limiting output dynamic adjusting circuit, which is used for being connected between power supply equipment and powered equipment of a power supply system; the circuit comprises a control module, a load test module, a first voltage/current detection module, a switch module, a second voltage/current detection module and a current limiting adjustment module. By adopting the technical scheme of the invention, the current-limiting output of the USB Host port can be dynamically adjusted according to the real-time power consumption of the powered device, the function of the USB Host port is maximized, and the stable operation of a power supply system is ensured.
Description
Technical Field
The invention relates to the technical field of current-limiting circuits, in particular to a current-limiting output dynamic adjusting circuit.
Background
For a power supply system with a USB (2.0/3.0) Host port, when a load capability of a power supply device (e.g., a power adapter) of the power supply system is small, a situation that the USB Host port of a powered device supplies power to the outside easily occurs, which causes an unstable problem of the power supply system, such as restart or crash.
In view of the above problems, the solutions provided by the prior art are generally divided into two types: the first method is to directly set an output current limiting point under the condition that the load capacity of the power supply equipment is unknown; the second is to use a processing mode of disabling or fixing current-limiting output for the USB Host port under the condition that the load capacity of the power supply device is known, directly disable the USB Host port of the power-supplied device when the load capacity of the power supply device is small, and use a processing mode of fixing current-limiting output for the output of the USB Host port when the load capacity of the power supply device is increased.
However, the problem of instability of the power supply system cannot be thoroughly solved because the unreasonable setting of the output current limiting point can also be the case of instability of the power supply system under the condition of unknown load capacity of the power supply equipment; and in the case of the known load capacity of the power supply equipment, part of the functions of the USB Host port can be lost by adopting a processing mode of disabling or fixing the current-limiting output.
Disclosure of Invention
The technical problem to be solved in the embodiments of the present invention is to provide a dynamic current-limiting output adjustment circuit, which can dynamically adjust the current-limiting output of a USB Host port according to the real-time power consumption of a powered device, maximize the function of the USB Host port, and ensure stable operation of a power supply system.
In order to solve the above technical problem, an embodiment of the present invention provides a current-limiting output dynamic adjustment circuit, where the current-limiting output dynamic adjustment circuit is used to be connected between a power supply device and a powered device of a power supply system; the circuit comprises a control module, a load test module, a first voltage/current detection module, a switch module, a second voltage/current detection module and a current limiting adjustment module; wherein,
the on-load test module is used for providing different loads for the power supply equipment according to a first control signal generated by the control module when the power supply system is powered on;
the first voltage/current detection module is used for detecting the load capacity of the power supply equipment according to a second control signal generated by the control module and the load provided by the on-load test module;
the switch module is used for controlling the on-off state of a power supply path from a power supply port of the power supply equipment to a power receiving port of the power receiving equipment according to a third control signal generated by the control module;
the second voltage/current detection module is used for detecting the real-time power consumption of the powered device in real time according to a fourth control signal generated by the control module after the power supply system is powered on;
the current limiting adjustment module is used for adjusting the current limiting output of the USB Host port of the powered device according to a fifth control signal; the fifth control signal is generated by the control module according to the load capacity of the power supply device and the real-time power consumption of the powered device.
Further, the on-load test module specifically comprises a variable resistance unit for controlling the resistance through the control module;
the on-load test module is specifically configured to adjust different resistances according to the first control signal to provide different loads for the power supply device.
Further, the first voltage/current detection module is specifically configured to:
when the power supply equipment works in a constant voltage mode, detecting the output voltage and the maximum output current of the power supply equipment according to the second control signal and the load provided by the on-load test module, and sending the output voltage and the maximum output current to the control module;
when the power supply equipment works in a constant current mode, detecting the maximum output voltage and the output current of the power supply equipment according to the second control signal and the load provided by the on-load testing module, and sending the maximum output voltage and the output current to the control module.
Further, the control module specifically comprises a storage unit;
the control module is used for storing the received output voltage and the maximum output current or the maximum output voltage and the maximum output current into the storage unit.
Further, the control module is further configured to:
after the load capacity of the power supply equipment is detected, generating a corresponding on-load test turn-off signal to control the on-load test module to turn off;
after the load capacity detection of the power supply equipment is completed, generating a corresponding first voltage/current detection turn-off signal to control the first voltage/current detection module to turn off.
Further, the switch module specifically comprises a first switch tube; the switch module is specifically configured to:
before the load capacity detection of the power supply equipment is completed, controlling the first switching tube to be switched off according to the third control signal so as to disconnect the power supply path;
after the load capacity of the power supply equipment is detected, controlling the first switching tube to be conducted according to the third control signal so as to close the power supply path.
Further, the first switch tube is a P-channel MOS tube, an N-channel MOS tube, an NPN-type triode, or a PNP-type triode.
Further, the second voltage/current detection module specifically includes a resistance unit and a voltage/current detection unit;
the second voltage/current detection module is specifically configured to detect a real-time input voltage and a real-time input current of the powered device in real time according to the fourth control signal, the resistance unit, and the voltage/current detection unit, and send the real-time input voltage and the real-time input current to the control module.
Further, the current limiting adjustment module specifically includes a current limiting chip; the current limiting chip supports software to directly adjust an output current limiting point;
the current-limiting adjusting module is specifically configured to adjust an output current-limiting point of the current-limiting chip according to the fifth control signal, so as to adjust a current-limiting output of the USB Host port.
Further, the current limiting adjustment module specifically comprises a resistance adjustment unit and a current limiting adjustment unit;
the current-limiting adjusting module is specifically configured to adjust the resistance adjusting unit according to the fifth control signal, and adjust an output current-limiting point of the current-limiting adjusting unit through the resistance adjusting unit, so as to adjust a current-limiting output of the USB Host port.
Further, the resistance adjustment unit specifically comprises a programmable potentiometer or a sliding rheostat; the current limiting adjusting unit specifically comprises a current limiting chip; the current limiting chip does not support software to directly adjust an output current limiting point.
Further, the control module is specifically configured to:
calculating the real-time current-limiting current of the USB Host port according to the load capacity of the power supply equipment and the real-time power consumption of the powered equipment;
and generating the fifth control signal according to the magnitude of the real-time current-limiting current.
Compared with the prior art, the embodiment of the invention provides a current-limiting output dynamic adjusting circuit, which can monitor the power consumption of a powered device in real time under the condition of unknown load capacity of the power supply device, preferentially ensure the stable operation of a power supply system, dynamically adjust the current-limiting output of a USB Host port according to the load capacity of the power supply device and the real-time power consumption of the powered device under the condition of known load capacity of the power supply device, and maximize the function of the USB Host port.
Drawings
FIG. 1 is a schematic diagram of a preferred embodiment of a dynamic current-limited output adjustment circuit according to the present invention;
FIG. 2 is a schematic structural diagram of an on-load test module of a dynamic current-limiting output adjustment circuit according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of another preferred embodiment of a dynamic current-limited output adjustment circuit according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without any inventive step, are within the scope of the present invention.
An embodiment of the present invention provides a current-limiting output dynamic adjustment circuit, which is shown in fig. 1 and is a schematic structural diagram of a preferred embodiment of the current-limiting output dynamic adjustment circuit provided in the present invention, where the circuit is used to be connected between a power supply device and a powered device of a power supply system; the circuit comprises a control module 100, an on-load test module 200, a first voltage/current detection module 300, a switch module 400, a second voltage/current detection module 500 and a current limiting adjustment module 600; wherein,
the on-load test module 200 is configured to provide different loads for the power supply device according to a first control signal generated by the control module 100 when the power supply system is powered on;
the first voltage/current detection module 300 is configured to detect a load capability of the power supply device according to a second control signal generated by the control module 100 and a load provided by the on-load test module 200;
the switch module 400 is configured to control an on/off state of a power supply path from a power supply port of the power supply apparatus to a power receiving port of the power receiving apparatus according to a third control signal generated by the control module 100;
the second voltage/current detection module 500 is configured to detect real-time power consumption of the powered device in real time according to a fourth control signal generated by the control module 100 after the power supply system is powered on;
the current limiting adjustment module 600 is configured to adjust a current limiting output of a USB Host port of the powered device according to a fifth control signal; the fifth control signal is generated by the control module 100 according to the load capacity of the power supply device and the real-time power consumption of the powered device.
Specifically, a first end of the on-load test module is used for connecting a power supply port of the power supply equipment, and a control end of the on-load test module is connected with a first end of the control module; the first end of the first voltage/current detection module is connected with the first end of the on-load test module, the second end of the first voltage/current detection module is connected with the second end of the on-load test module, and the control end of the first voltage/current detection module is connected with the second end of the control module; the first end of the switch module is used for being connected with the power supply port, the second end of the switch module is connected with the first end of the second voltage/current detection module, and the control end of the switch module is connected with the third end of the control module; the second end of the second voltage/current detection module is used for connecting a power receiving port of the power receiving equipment, and the control end of the second voltage/current detection module is connected with the fourth end of the control module; the first end of the current-limiting adjusting module is connected with the first end of the second voltage/current detecting module (used for providing power for the current-limiting adjusting module), the second end of the current-limiting adjusting module is used for connecting a USB Host port of the powered device, and the control end of the current-limiting adjusting module is connected with the fifth end of the control module.
When a power supply system is powered on (power supply equipment is connected to the power supply system), the control module respectively generates a corresponding first control signal, a corresponding second control signal and a corresponding third control signal, and sends the first control signal to the on-load test module to adjust the on-load test module, so that the on-load test module provides different loads for the power supply equipment according to the first control signal; the control module sends the second control signal to the first voltage/current detection module to control the first voltage/current detection module, so that the first voltage/current detection module detects the load capacity of the power supply equipment according to the second control signal and the load provided by the on-load test module; the control module sends a third control signal to the switch module to control the switch module, so that the switch module controls the on-off state of a power supply path from a power supply port of the power supply equipment to a power receiving port of the power receiving equipment according to the third control signal; the power supply device comprises a switch module, a load testing module, a first control signal, a second control signal, a control module and a first voltage/current detecting module, wherein the switch module is required to be controlled to disconnect a power supply access in order to detect the load capacity of the power supply device, at the moment, the load of the power supply device is completely provided by the load testing module, the control module adjusts the load testing module through the first control signal, different loads are connected into the power supply device, so that different load currents are obtained, the first voltage/current detecting module is controlled through the second control signal to detect the voltage and the current of the power supply device, and the voltage.
After the load capacity of the power supply equipment is detected, the control module removes the on-load test module through the first control signal, turns off the first voltage/current detection module through the second control signal, and controls the switch module to close the power supply path through the third control signal, so that the power supply equipment supplies power to the powered equipment through the power supply path; the control module generates a corresponding fourth control signal and sends the fourth control signal to the second voltage/current detection module to control the second voltage/current detection module, so that the second voltage/current detection module detects the voltage and the current of the powered device in real time according to the fourth control signal, and the real-time power consumption of the powered device is monitored; the control module correspondingly generates a fifth control signal according to the detected load capacity of the power supply equipment and the real-time power consumption of the powered equipment monitored in real time, and sends the fifth control signal to the current-limiting adjustment module to adjust the current-limiting adjustment module, so that the current-limiting adjustment module adjusts the current-limiting output of the USBHost port of the powered equipment according to the fifth control signal.
It should be noted that the control module is a controller or a processor such as a common MCU and the like, and is mainly used for controlling and detecting the load capacity of the power supply device when the power supply system is powered on, detecting the power consumption of the powered device in real time after the power supply system is powered on, and dynamically adjusting the current-limiting output of the USB Host port according to the real-time power consumption of the powered device; the USB Host port is a USB series communication interface, is connected with USB equipment and can supply power to the USB equipment.
The dynamic current-limiting output adjusting circuit provided by the embodiment of the invention can monitor the power consumption of the powered device in real time under the condition of unknown load capacity of the power supply device, preferentially ensure the stable operation of a power supply system, dynamically adjust the current-limiting output of the USB Host port according to the load capacity of the power supply device and the real-time power consumption of the powered device under the condition of known load capacity of the power supply device, and maximize the function of the USB Host port.
In addition, the invention can be applied to different types of power supply systems with other interfaces, such as a POE power supply system with a POE out interface function, a Micro _ USB power supply system with a SATA interface function and the like, and the power supply equipment of the power supply system can be any power supply device with constant voltage or constant current output, namely the invention is not limited to realize dynamic adjustment of current-limiting output only on a USB Host port, so that the invention has strong practicability and popularization.
In another preferred embodiment, the on-load test module 200 specifically includes a variable resistance unit for controlling the magnitude of resistance by the control module 100;
the on-load test module 200 is specifically configured to adjust different resistances according to the first control signal to provide different loads for the power supply device.
In this embodiment, the on-load test module may be a voltage-controlled variable resistor, a variable resistor network, or other forms of adjustable resistors, and is shown in fig. 2, which is a schematic structural diagram of a preferred embodiment of the on-load test module of the dynamic current-limiting output adjustment circuit provided by the present invention, where the on-load test module shown in fig. 2 specifically includes N variable resistor units 201 connected in parallel, each variable resistor unit 201 includes a switching tube qi and a resistor ri (where i ═ 1, 2, · · · · · · · · ·, N), specifically, the switching tube qi may be a P-channel MOS tube, an N-channel MOS tube, an NPN-type triode, a PNP-type triode, or other types of switching devices, and the present invention is not limited specifically, and the switching tube qi shown in fig. 2 is an N-channel MOS tube; the first end of the on-load testing module is a first end of a resistor ri, the first end of the resistor ri is used for being connected with a power supply port of power supply equipment, the second end of the resistor ri is connected with a drain electrode of a switching tube qi, the control end of the on-load testing module is a grid electrode of the switching tube qi, the grid electrode of the switching tube qi is connected with the first end of the control module, the second end of the on-load testing module is a source electrode of the switching tube qi, and the source electrode of the switching tube qi is connected with the second end of the first voltage/current detection module.
With reference to the above embodiment, the control module outputs a first control signal (the first control signal is a set of signals control1 to control, that is, each variable resistance unit needs a separate control signal to implement on-off control) to the on-load test module, the on-load test module controls the on-off of the switching tube qi in each variable resistance unit according to the first control signal, when the switching tube qi in any variable resistance unit is turned on under the control of the control signal in the first control signal, the resistor ri in the variable resistance unit is connected to the power supply device as the load of the power supply device, and when the switching tube qi in any variable resistance unit is turned off under the control of the control signal in the first control signal, the resistor ri in the variable resistance unit is not used as the load of the power supply device, the control module adjusts different variable resistance units to be connected to the power supply device through the first control signal, different loads are provided for the power supply device so as to obtain different load currents, so that the first voltage/current detection module detects the load capacity of the power supply device.
It should be noted that, when the load current changes from small to large, if the power supply equipment supplies power in the constant voltage mode, the voltage change trend is constant first and then becomes small, and the voltage inflection point current I can be recordedConstant voltage maxIf the power supply equipment supplies power in a constant current mode, the current variation trend is that the current becomes larger and then becomes stable, and the current can be changed in a mode that the current is larger and then becomes stableRecording the current inflection point voltage VConstant current maxAnd the larger the number n of the variable resistance units included in the on-load test module is, the higher the control precision is.
As an improvement of the above scheme, the first voltage/current detection module is specifically configured to:
when the power supply equipment works in a constant voltage mode, detecting the output voltage and the maximum output current of the power supply equipment according to the second control signal and the load provided by the on-load test module, and sending the output voltage and the maximum output current to the control module;
when the power supply equipment works in a constant current mode, detecting the maximum output voltage and the output current of the power supply equipment according to the second control signal and the load provided by the on-load testing module, and sending the maximum output voltage and the output current to the control module.
Specifically, in combination with the above embodiments, the power supply device generally has two power supply modes, namely a constant voltage mode and a constant current mode, when the power supply device supplies power in the constant voltage mode, the control module controls the first voltage/current detection module to detect the load capability of the power supply device, that is, the output voltage and the output current of the power supply device, through the second control signal, and correspondingly obtains the output voltage V of the power supply deviceConstant pressureAnd a maximum output current IConstant voltage maxAnd recording the data into the control module; when the power supply equipment supplies power in the constant current mode, the control module controls the first voltage/current detection module to detect the load capacity of the power supply equipment through the second control signal, and accordingly the maximum output voltage V of the power supply equipment is obtainedConstant current maxAnd an output current IConstant currentAnd recorded in the control module.
As an improvement of the above scheme, the control module specifically includes a storage unit;
the control module is used for storing the received output voltage and the maximum output current or the maximum output voltage and the maximum output current into the storage unit.
It is understood that the storage unit is a common memory such as ROM, and is combined withIn the above embodiment, after the first voltage/current detection module detects the load capability of the power supply device, the detected output voltage V of the power supply deviceConstant pressureAnd a maximum output current IConstant voltage maxOr maximum output voltage VConstant current maxAnd an output current IConstant currentSending the output voltage V to a control module which receives the output voltage V of the power supply equipmentConstant pressureAnd a maximum output current IConstant voltage maxOr maximum output voltage VConstant current maxAnd an output current IConstant currentAnd storing the data in a storage unit.
As an improvement of the above solution, the control module is further configured to:
after the load capacity of the power supply equipment is detected, generating a corresponding on-load test turn-off signal to control the on-load test module to turn off;
after the load capacity detection of the power supply equipment is completed, generating a corresponding first voltage/current detection turn-off signal to control the first voltage/current detection module to turn off.
Specifically, with the above embodiment, after the load capacity of the power supply device is detected, the control module generates a corresponding on-load test turn-off signal, and sends the on-load test turn-off signal to the on-load test module through the first end of the control module to control the on-load test module to turn off, that is, to control the switching tubes qi in all the variable resistance units of the on-load test module to turn off; the control module also generates a corresponding first voltage/current detection turn-off signal and sends the first voltage/current detection turn-off signal to the first voltage/current detection module through the second end of the control module so as to control the first voltage/current detection module to turn off; therefore, the on-load test module and the first voltage/current detection module automatically lose efficacy after the load capacity of the power supply equipment is detected, the power supply equipment does not work any more, extra system power consumption of a power supply system cannot be increased, and the effect of saving power consumption can be achieved.
For example, the MCU may Control the on and off of the on-board test module through a Control pin Control N (e.g., a GPIO Control interface), and the MCU may Control the on and off of the first voltage/current detection module through a commonly used communication interface (e.g., an I2C communication interface).
Referring to fig. 3, which is a schematic structural diagram of another preferred embodiment of the current-limiting output dynamic adjustment circuit provided in the present invention, as an improvement of the foregoing solution, the switch module 400 specifically includes a first switch tube Q; the switch module 400 is specifically configured to:
before the load capacity detection of the power supply equipment is completed, controlling the first switching tube Q to be switched off according to the third control signal so as to disconnect the power supply path;
after the load capacity detection of the power supply equipment is completed, controlling the first switching tube Q to be conducted according to the third control signal so as to close the power supply path.
Preferably, the first switch tube is a P-channel MOS tube, an N-channel MOS tube, an NPN-type triode, or a PNP-type triode.
Specifically, the first switching transistor Q shown in fig. 3 is a P-channel MOS transistor; the first end of the switch module is a source electrode of a first switch tube Q, the source electrode of the first switch tube Q is used for being connected with a power supply port, the second end of the switch module is a drain electrode of the first switch tube Q, the drain electrode of the first switch tube Q is connected with the first end of the second voltage/current detection module, the control end of the switch module is a grid electrode of the first switch tube Q, and the grid electrode of the first switch tube Q is connected with the third end of the control module; if the first switch tube Q is a PNP type triode, the first end of the switch module is an emitting electrode of the first switch tube Q, the emitting electrode of the first switch tube Q is used for being connected with a power supply port, the second end of the switch module is a collecting electrode of the first switch tube Q, the collecting electrode of the first switch tube Q is connected with the first end of the second voltage/current detection module, the control end of the switch module is a base electrode of the first switch tube Q, and the base electrode of the first switch tube Q is connected with the third end of the control module; if the first switch tube Q is connected to other types of switch devices, the same principle is applied, and the description is omitted here.
When the power supply system is powered on, because whether the power supply equipment is replaced is uncertain, the load capacity of the power supply equipment can be detected again each time the control module is powered off and then powered on.
As shown in fig. 3, as a modification of the above solution, the second voltage/current detection module 500 specifically includes a resistance unit 501 and a voltage/current detection unit 502;
the second voltage/current detection module 500 is specifically configured to detect a real-time input voltage and a real-time input current of the powered device in real time according to the fourth control signal, the resistance unit 501, and the voltage/current detection unit 502, and send the real-time input voltage and the real-time input current to the control module 100.
Specifically, with reference to the foregoing embodiment, the first end of the second voltage/current detection module is a first end of a resistor unit, the first end of the resistor unit is connected to the second end of the switch module, the second end of the second voltage/current detection module is a second end of the resistor unit, the second end of the resistor unit is used for connecting a power receiving port of a power receiving device, the control end of the second voltage/current detection module is a control end of the voltage/current detection unit, the control end of the voltage/current detection unit is connected to the fourth end of the control module, the first end of the voltage/current detection unit is connected to the first end of the resistor unit, and the second end of the voltage/current detection unit is connected to the second end of the resistor unit.
After the load capacity of the power supply equipment is detected, the control module controls the switch module to close the power supply path, the power supply system is powered on, and after the power supply system is powered on, the control module generates a corresponding fourth control signal and sends the fourth control signal to the voltage/current detection unit to control the voltage/current detection unit, so that the second voltage/current detection module detects the real-time input voltage V of the power receiving equipment in real time according to the fourth control signal, the voltage/current detection unit and the resistance unitinAnd real timeInput current IinAnd will input the voltage V in real timeinAnd a real-time input current IinAnd sending the power consumption to the control module so as to monitor the real-time power consumption of the powered device.
Optionally, the resistance unit includes a first resistor R, where the first resistor R is a power detection resistor of the powered device, and is used to implement current detection of the second voltage/current detection module, and a typical value is 0.002 ohm.
As an improvement of the above scheme, the current limiting adjustment module specifically includes a current limiting chip; the current limiting chip supports software to directly adjust an output current limiting point;
the current-limiting adjusting module is specifically configured to adjust an output current-limiting point of the current-limiting chip according to the fifth control signal, so as to adjust a current-limiting output of the USB Host port.
Specifically, the current limiting chip in the embodiment of the invention is a current limiting U which directly adjusts an output current limiting point by using common supporting softwarelimitThe chip is used for controlling and managing actual current-limiting output of a USB Host port of the powered device; with reference to the foregoing embodiment, the control module generates a fifth control signal according to the load capability of the power supply device detected by the first voltage/current detection module and the real-time power consumption of the powered device detected by the second voltage/current detection module in real time, and sends the fifth control signal to the current-limiting adjustment module, so as to adjust the current limit U of the current-limiting adjustment modulelimitAnd adjusting the output current limiting point of the chip so as to adjust the current limiting output of the USB Host port of the powered device.
It should be noted that the software regulation is also used for regulating the current limit UlimitOutput current limiting point of chip due to current limiting UlimitRelated hardware regulating circuits are integrated in the chip, and the MCU only needs to limit the current U through common communication interfaces such as I2C, SPI and the likelimitAnd the chip issues a corresponding instruction of the output current limiting point.
As shown in fig. 3, as a modification of the above scheme, the current limiting adjustment module 600 specifically includes a resistance adjustment unit 601 and a current limiting adjustment unit 602;
the current limiting adjustment module 600 is specifically configured to adjust the resistance adjustment unit 601 according to the fifth control signal, and adjust an output current limiting point of the current limiting adjustment unit 602 through the resistance adjustment unit 601, so as to adjust a current limiting output of the USB Host port.
Preferably, the resistance adjustment unit specifically comprises a programmable potentiometer or a sliding rheostat; the current limiting adjusting unit specifically comprises a current limiting chip; the current limiting chip does not support software to directly adjust an output current limiting point.
Specifically, with reference to the foregoing embodiment, the control end of the current-limiting adjustment module is the first end of the resistance adjustment unit, the first end of the resistance adjustment unit is connected to the fifth end of the control module, the second end of the resistance adjustment unit is connected to the first end of the current-limiting adjustment unit, the first end of the current-limiting adjustment module is the second end of the current-limiting adjustment unit, the second end of the current-limiting adjustment module is the third end of the current-limiting adjustment unit, and the third end of the current-limiting adjustment unit is used for connecting to the USB Host port of the powered device.
The current limiting adjusting unit in the embodiment of the invention is a current limiting chip, and because the current limiting chip does not support software to directly adjust an output current limiting point, a resistance adjusting unit needs to be added, the resistance adjusting unit can be an adjustable resistance device such as a programmable potentiometer or a slide rheostat, and the like, the control module generates a fifth control signal according to the load capacity of the power supply equipment detected by the first voltage/current detection module and the real-time power consumption of the powered equipment detected by the second voltage/current detection module in real time, sends the fifth control signal to the current limiting adjusting module, and the current limiting adjusting module adjusts the resistance value Rt of the resistance adjusting unit according to the received fifth control signal and adjusts the output current limiting point of the current limiting adjusting unit according to the Rt, so that the current limiting output of the USB Host port of the powered equipment is adjusted.
It should be noted that the resistance value R of the resistance adjustment unittAnd the output current limit point current I of the current limit adjusting unitUSBThe common typical relationship between is:wherein α, β are constants, the current limiting chip is notSimilarly, α and β have different values, RtHas the unit of K omega, IUSBThe unit of (a) is a.
As an improvement of the above scheme, the control module is specifically configured to:
calculating the real-time current-limiting current of the USB Host port according to the load capacity of the power supply equipment and the real-time power consumption of the powered equipment;
and generating the fifth control signal according to the magnitude of the real-time current-limiting current.
Specifically, with reference to the foregoing embodiment, after the control module receives the load capability of the power supply device detected by the first voltage/current detection module and the real-time power consumption of the power receiving device detected by the second voltage/current detection module in real time, the control module calculates the real-time current-limiting current IUSB of the USB Host port according to the load capability of the power supply device and the real-time power consumption of the power receiving device, so as to correspondingly generate the fifth control signal according to the real-time current-limiting current IUSB.
It should be noted that, when the power supply device supplies power in the constant voltage mode, the relationship between the load capacity of the power supply device and the real-time power consumption of the powered device and the real-time current limiting current IUSB satisfies: i isUSB=(VConstant pressure*IConstant voltage max-Vin*Iin) (iii)/5; when the power supply equipment supplies power for the constant current mode, the relation between the load capacity of the power supply equipment and the real-time power consumption of the powered equipment and the real-time current limiting current IUSB meets the following requirements: i isUSB=(VConstant current max*IConstant current-Vin*Iin)/5。
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.
Claims (12)
1. A current-limiting output dynamic adjustment circuit is characterized in that the circuit is used for being connected between power supply equipment and powered equipment of a power supply system; the circuit comprises a control module, a load test module, a first voltage/current detection module, a switch module, a second voltage/current detection module and a current limiting adjustment module; wherein,
the on-load test module is used for providing different loads for the power supply equipment according to a first control signal generated by the control module when the power supply system is powered on;
the first voltage/current detection module is used for detecting the load capacity of the power supply equipment according to a second control signal generated by the control module and the load provided by the on-load test module;
the switch module is used for controlling the on-off state of a power supply path from a power supply port of the power supply equipment to a power receiving port of the power receiving equipment according to a third control signal generated by the control module;
the second voltage/current detection module is used for detecting the real-time power consumption of the powered device in real time according to a fourth control signal generated by the control module after the power supply system is powered on;
the current limiting adjustment module is used for adjusting the current limiting output of the USB Host port of the powered device according to a fifth control signal; the fifth control signal is generated by the control module according to the load capacity of the power supply device and the real-time power consumption of the powered device.
2. The dynamic current-limiting output adjustment circuit of claim 1, wherein the on-load test module specifically comprises a variable resistance unit for controlling the magnitude of the resistance through the control module;
the on-load test module is specifically configured to adjust different resistances according to the first control signal to provide different loads for the power supply device.
3. The current-limited output dynamic adjustment circuit of claim 1, wherein the first voltage/current detection module is specifically configured to:
when the power supply equipment works in a constant voltage mode, detecting the output voltage and the maximum output current of the power supply equipment according to the second control signal and the load provided by the on-load test module, and sending the output voltage and the maximum output current to the control module;
when the power supply equipment works in a constant current mode, detecting the maximum output voltage and the output current of the power supply equipment according to the second control signal and the load provided by the on-load testing module, and sending the maximum output voltage and the output current to the control module.
4. The dynamic current-limiting output adjustment circuit of claim 3, wherein the control module specifically comprises a storage unit;
the control module is used for storing the received output voltage and the maximum output current or the maximum output voltage and the maximum output current into the storage unit.
5. The current-limited output dynamic adjustment circuit of claim 1, wherein the control module is further configured to:
after the load capacity of the power supply equipment is detected, generating a corresponding on-load test turn-off signal to control the on-load test module to turn off;
after the load capacity detection of the power supply equipment is completed, generating a corresponding first voltage/current detection turn-off signal to control the first voltage/current detection module to turn off.
6. The dynamic current-limiting output adjustment circuit of claim 1, wherein the switch module specifically comprises a first switch tube; the switch module is specifically configured to:
before the load capacity detection of the power supply equipment is completed, controlling the first switching tube to be switched off according to the third control signal so as to disconnect the power supply path;
after the load capacity of the power supply equipment is detected, controlling the first switching tube to be conducted according to the third control signal so as to close the power supply path.
7. The dynamic current-limiting output adjustment circuit of claim 6, wherein the first switch transistor is a P-channel MOS transistor, an N-channel MOS transistor, an NPN transistor, or a PNP transistor.
8. The dynamic current-limiting output adjustment circuit of claim 1, wherein the second voltage/current detection module specifically comprises a resistance unit and a voltage/current detection unit;
the second voltage/current detection module is specifically configured to detect a real-time input voltage and a real-time input current of the powered device in real time according to the fourth control signal, the resistance unit, and the voltage/current detection unit, and send the real-time input voltage and the real-time input current to the control module.
9. The dynamic current-limiting output adjustment circuit of claim 1, wherein the current-limiting adjustment module specifically comprises a current-limiting chip; the current limiting chip supports software to directly adjust an output current limiting point;
the current-limiting adjusting module is specifically configured to adjust an output current-limiting point of the current-limiting chip according to the fifth control signal, so as to adjust a current-limiting output of the USB Host port.
10. The dynamic current-limiting output adjustment circuit of claim 1, wherein the current-limiting adjustment module specifically comprises a resistance adjustment unit and a current-limiting adjustment unit;
the current-limiting adjusting module is specifically configured to adjust the resistance adjusting unit according to the fifth control signal, and adjust an output current-limiting point of the current-limiting adjusting unit through the resistance adjusting unit, so as to adjust a current-limiting output of the USB Host port.
11. The dynamic current-limiting output regulator circuit according to claim 10, wherein the resistance regulator unit comprises a programmable potentiometer or a sliding rheostat; the current limiting adjusting unit specifically comprises a current limiting chip; the current limiting chip does not support software to directly adjust an output current limiting point.
12. The current-limiting output dynamic adjustment circuit of any one of claims 1 to 11, wherein the control module is specifically configured to:
calculating the real-time current-limiting current of the USB Host port according to the load capacity of the power supply equipment and the real-time power consumption of the powered equipment;
and generating the fifth control signal according to the magnitude of the real-time current-limiting current.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910121367.1A CN109753100B (en) | 2019-02-18 | 2019-02-18 | Current-limiting output dynamic adjusting circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910121367.1A CN109753100B (en) | 2019-02-18 | 2019-02-18 | Current-limiting output dynamic adjusting circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109753100A CN109753100A (en) | 2019-05-14 |
CN109753100B true CN109753100B (en) | 2020-07-28 |
Family
ID=66407568
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910121367.1A Expired - Fee Related CN109753100B (en) | 2019-02-18 | 2019-02-18 | Current-limiting output dynamic adjusting circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109753100B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112014654B (en) * | 2019-05-29 | 2023-06-23 | 惠州拓邦电气技术有限公司 | Power supply port load detection circuit |
CN113612208B (en) * | 2021-07-20 | 2022-10-04 | Tcl华星光电技术有限公司 | Current limiting circuit |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2728439A1 (en) * | 2012-10-31 | 2014-05-07 | Thomson Licensing | Device and method for electric power management of a plurality of peripheral interfaces |
US9268347B2 (en) * | 2013-02-12 | 2016-02-23 | International Business Machines Corporation | Implementing dynamic regulator output current limiting |
MY187683A (en) * | 2013-09-27 | 2021-10-11 | Intel Corp | Apparatus and method to change current limit |
CN205317924U (en) * | 2015-12-28 | 2016-06-15 | 北京煜邦电力技术股份有限公司 | Three -phase smart meter carrier wave port testing arrangement |
CN107783629A (en) * | 2016-08-26 | 2018-03-09 | 中兴通讯股份有限公司 | Method of supplying power to, device and the wireless router device of USB interface |
CN107834650B (en) * | 2017-11-21 | 2020-07-28 | 普联技术有限公司 | Mobile power supply current limiter and mobile power supply current limiting device |
CN108319186B (en) * | 2017-12-28 | 2024-08-02 | 厦门亿联网络技术股份有限公司 | Overcurrent protection device and method for USB equipment |
-
2019
- 2019-02-18 CN CN201910121367.1A patent/CN109753100B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN109753100A (en) | 2019-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10622802B2 (en) | Power receiving apparatus and control circuit thereof | |
JP6797291B2 (en) | Charging circuit, terminal, and charging system | |
US7403021B2 (en) | Testing circuit for a data interface | |
US20170336844A1 (en) | Power supply apparatus and power receiving apparatus | |
CN107453429B (en) | Electronic equipment and power supply method | |
US10209730B2 (en) | Serial bus apparatus with controller circuit and related uses | |
CN109753100B (en) | Current-limiting output dynamic adjusting circuit | |
TWI418111B (en) | Battery charging system and method | |
US7917779B2 (en) | Power control apparatus for motherboard | |
CN113849353B (en) | Port controller with real-time fault detection function | |
US8624425B2 (en) | Voltage adjustment system | |
CN107482612B (en) | Electronic equipment and power supply method | |
US11463085B2 (en) | Semiconductor integrated circuit | |
US11309700B2 (en) | Communication controller short protection | |
TWI578664B (en) | Redundancy power control circuit and redundancy power supplying system using the same | |
CN214375036U (en) | Mobile device test system | |
US10162399B2 (en) | Power supply voltage and load consumption control | |
WO2017199772A1 (en) | Slew rate control apparatus | |
CN104113129B (en) | Redundancy power supply system | |
CN113037508B (en) | Power-down control circuit and power-down control method | |
TW201337301A (en) | Test board for power supply | |
TW201344226A (en) | Minimum load current tseting device | |
US20130124880A1 (en) | Power supply device for central processing unit | |
US9625933B1 (en) | Voltage regulation circuit | |
KR100940028B1 (en) | Apparatus for controling input voltage of digital interface IC |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200728 |