Power supply device and control method of power supply device

By introducing mode selection and loop selection modules into the switching power supply device, combined with voltage and current control loops, the operating mode can be switched according to load conditions and overpower protection can be implemented. This solves the problems of single mode and insufficient protection in the existing technology and expands the application scope.

CN114825889BActive Publication Date: 2026-01-23DELTA ELECTRONICS (SHANGHAI) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210436468.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-25
Publication Date
2026-01-23
Estimated Expiration
2042-04-25

AI Technical Summary

Technical Problem

Existing switching power supply devices cannot change their operating mode according to load conditions, and they cannot provide overpower protection in constant voltage or constant current modes, which limits their application range.

Method used

By setting the mode selection module, reference value setting module, loop selection module, and drive module, users can select constant current or constant voltage output mode. Over-power protection is provided through voltage control loop and current control loop respectively, ensuring that the switching power supply works normally in different modes.

Benefits of technology

It enables the switching power supply to flexibly switch operating modes under different load conditions and provides over-power protection, expanding its application range and ensuring the safe and stable operation of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114825889B_ABST
    Figure CN114825889B_ABST
Patent Text Reader

Abstract

The application provides a power supply device and a control method thereof. The power supply device comprises a mode selection module for a user to select an output mode; a reference value setting module for outputting an output voltage reference value and an output current reference value according to the output mode selected by the user; a current control loop and a voltage control loop which respectively receive the output current reference value and the output voltage reference value and respectively output a first electric signal and a second electric signal; a loop selection module for transmitting the first electric signal or the second electric signal to a driving module; and the driving module for providing a driving signal to a main power module for controlling the main power module to output a constant voltage or a constant current and to perform voltage limiting protection or current limiting protection when the output voltage or the output current is greater than or equal to an over-power protection voltage or an over-power protection current, so that the working mode of the switching power supply can be changed according to the load condition and over-power protection can be performed on the switching power supply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power electronic power converters, and more particularly to a power supply device and a control method for the power supply device. Background Technology

[0002] A switching power supply is a high-frequency power conversion device, a type of power supply. Its function is to convert a voltage at a certain level into the voltage or current required by the user through different architectures.

[0003] Switching power supplies can be categorized into two types based on their output characteristics: constant voltage power supplies and constant current power supplies. A constant voltage power supply controls the output voltage to maintain a constant value, while the output current is determined by the load power. A constant current power supply controls the output current to maintain a constant value, while the output voltage is determined by the load characteristics. Constant current power supplies are commonly used for LED loads or battery loads. Currently, most switching power supplies can only operate in either constant voltage or constant current output mode, thus significantly limiting their applicable load range. For one type of existing switching power supply, it is typically used only as a constant voltage or constant current power supply. However, to ensure normal operation, a constant current point is usually set as an overpower protection point for constant voltage power supplies, and a constant voltage point is set as an overvoltage protection point for constant current power supplies. For the other type of existing switching power supply, although it can be selected for use as a constant voltage or constant current power supply, it cannot provide overpower protection when operating in either mode.

[0004] Based on the above problems, there is an urgent need to propose a power supply device and a control method for the power supply device, so as to realize the change of the working mode of the switching power supply according to the load conditions, and at the same time provide over-power protection for the switching power supply. Summary of the Invention

[0005] This application provides a power supply device and a control method for the power supply device, so as to solve the problem that existing power supply devices cannot change the working mode of the switching power supply according to the load conditions while realizing over-power protection of the switching power supply.

[0006] In a first aspect, this application provides a power supply device for providing output voltage and output current, including a main power module, a mode selection module, a reference value setting module, a voltage control loop, a current control loop, a loop selection module, and a drive module, wherein...

[0007] The mode selection module is used to allow users to select the output mode, which includes constant current output mode and constant voltage output mode.

[0008] The first input terminal of the reference value setting module is connected to the mode selection module, and is used to output an output voltage reference value and an output current reference value according to the output mode selected by the user; wherein, when the output mode selected by the user is constant current output mode, the output voltage reference value is the over-power protection voltage of the power supply device; when the output mode selected by the user is constant voltage output mode, the output current reference value is the over-power protection current of the power supply device.

[0009] The current control loop receives the amount of the output current and the reference value of the output current, and outputs a first electrical signal;

[0010] The voltage control loop receives the quantity reflecting the output voltage and the output voltage reference value, and outputs a second electrical signal;

[0011] The two input terminals of the loop selection module receive the first electrical signal and the second electrical signal respectively, and the output terminal of the loop selection module is connected to the input terminal of the drive module. The loop selection module is used to select whether to transmit the first electrical signal or the second electrical signal to the input terminal of the drive module.

[0012] The output of the drive module provides a drive signal to the main power module to control the main power module to output a constant voltage or a constant current.

[0013] Optionally, the loop selection module, the current control loop, and the voltage control loop are all implemented by digital control.

[0014] Optionally, the loop selection module includes a first diode and a second diode, the cathode of the first diode being connected to the output terminal of the current control loop; the cathode of the second diode being connected to the output terminal of the voltage control loop; and the anodes of both the first diode and the second diode being connected to the input terminal of the drive module.

[0015] Optionally, when the user selects a constant voltage output mode, if the output current is greater than or equal to the over-power protection current, the loop selection module transmits the first electrical signal to the input terminal of the drive module; if the output current is less than the over-power protection current, the loop selection module transmits the second electrical signal to the input terminal of the drive module. When the user selects a constant current output mode, if the output voltage is greater than or equal to the over-power protection voltage, the loop selection module transmits the second electrical signal to the input terminal of the drive module; if the output voltage is less than the over-power protection voltage, the loop selection module transmits the first electrical signal to the input terminal of the drive module.

[0016] Optionally, the reference value setting module includes: a microcontroller unit and a digital-to-analog converter;

[0017] The first input terminal of the microcontroller is connected to the output terminal of the mode selection module, and the output terminal of the microcontroller is connected to the input terminal of the digital-to-analog converter. The microcontroller is used to determine the output voltage reference value and the output current reference value according to the output mode selected by the user.

[0018] The first output terminal of the digital-to-analog converter is used to output the output current reference value, and the second output terminal of the digital-to-analog converter is used to output the output voltage reference value.

[0019] Optionally, the drive module includes an optocoupler and a control unit, wherein,

[0020] The input terminal of the optocoupler is connected to the output terminal of the loop selection module;

[0021] The input terminal of the control unit is connected to the output terminal of the optocoupler, and the output terminal of the control unit is connected to the main power module and outputs a drive control signal to control the main power module to output a constant current in constant current output mode, and to perform voltage limiting protection when the output voltage is greater than or equal to the overpower protection voltage; and to control the main power module to output a constant voltage in constant voltage output mode, and to perform current limiting protection when the output current is greater than or equal to the overpower protection current.

[0022] Optionally, the power supply device further includes a regulator for allowing the user to input a set value;

[0023] The second input terminal of the reference value setting module is connected to the regulator and is used to adjust the output current reference value according to the setting value when the user selects the constant current output mode, and to determine the output voltage reference value according to the preset output power; it is also used to adjust the output voltage reference value according to the setting value when the user selects the constant voltage output mode, and to determine the output current reference value according to the preset output power.

[0024] Optionally, the power supply device further includes: a communication module;

[0025] The third input terminal of the reference value setting module receives data from the communication module and adjusts the output current reference value and the output voltage reference value according to the received data.

[0026] Optionally, the main power module includes an AC-DC conversion unit and a DC-DC conversion unit, which are cascaded together.

[0027] Secondly, this application provides a control method for a power supply device, the power supply device including a main power module, the main power module being used to provide an output voltage and an output current, the method comprising:

[0028] Choose either constant current output mode or constant voltage output mode;

[0029] According to the selected output mode, set the output voltage reference value and the output current reference value; wherein, when the selected output mode is constant current output mode, the output voltage reference value is the over-power protection voltage of the power supply device; when the selected output mode is constant voltage output mode, the output current reference value is the over-power protection current of the power supply device.

[0030] A first electrical signal is obtained based on the output current reference value and a quantity reflecting the output current;

[0031] Connect the first electrical signal to a first input terminal of a loop selection module;

[0032] A second electrical signal is obtained based on the output voltage reference value and a quantity reflecting the output voltage;

[0033] Connect the second electrical signal to a second input terminal of the loop selection module;

[0034] The output of the loop selection module is connected to a driver module, wherein the loop selection module is used to select whether to transmit the first electrical signal to the driver module or the second electrical signal to the driver module; and,

[0035] The drive module generates a drive signal to control the main power module.

[0036] Optionally, the loop selection module, the current control loop, and the voltage control loop are all implemented by digital control.

[0037] Optionally, the loop selection module includes a first diode and a second diode, the cathode of the first diode being connected to the output terminal of the current control loop; the cathode of the second diode being connected to the output terminal of the voltage control loop; and the anodes of both the first diode and the second diode being connected to the input terminal of the drive module.

[0038] Optionally, when the selected output mode is constant voltage output mode, when the output current is greater than or equal to the over-power protection current of the power supply device, the loop selection module transmits the first electrical signal to the drive module; when the output current is less than the over-power protection current of the power supply device, the loop selection module transmits the second electrical signal to the drive module.

[0039] When the selected output mode is constant current output mode, when the output voltage is greater than or equal to the over-power protection voltage of the power supply device, the loop selection module transmits the second electrical signal to the drive module; when the output voltage is less than the over-power protection voltage of the power supply device, the loop selection module transmits the first electrical signal to the drive module.

[0040] Optionally, the drive module includes an optocoupler and a control unit, wherein,

[0041] The input terminal of the optocoupler is connected to the output terminal of the loop selection module;

[0042] The input terminal of the control unit is connected to the output terminal of the optocoupler, and the output terminal of the control unit is connected to the main power module and outputs a drive control signal to control the main power module to output a constant current in constant current output mode, and to perform voltage limiting protection when the output voltage is greater than or equal to the overpower protection voltage; and to control the main power module to output a constant voltage in constant voltage output mode, and to perform current limiting protection when the output current is greater than or equal to the overpower protection current.

[0043] Optionally, the method further includes:

[0044] When the selected output mode is constant current output mode, the reference value setting module adjusts the output current reference value according to the user's setting value for the regulator, and determines the output voltage reference value according to the preset output power; or, when the selected output mode is constant voltage output mode, the reference value setting module adjusts the output voltage reference value according to the user's setting value for the regulator, and determines the output current reference value according to the preset output power.

[0045] Optionally, the method further includes:

[0046] The reference value setting module adjusts the output current reference value and the output voltage reference value based on the data received from the communication module.

[0047] Optionally, the main power module includes an AC-DC conversion unit and a DC-DC conversion unit, which are cascaded together.

[0048] This application provides a power supply device and a control method for the power supply device. The power supply device is used to provide output voltage and output current, including: a mode selection module for allowing a user to select an output mode, the output mode including a constant current output mode and a constant voltage output mode; a reference value setting module for outputting output voltage reference values ​​and output current reference values ​​according to the output mode selected by the user, a current control loop and a voltage control loop respectively receiving the output current reference values ​​and the output voltage reference values, and respectively outputting a first electrical signal and a second electrical signal; a loop selection module for transmitting the first electrical signal or the second electrical signal to a drive module; and a drive module for providing a drive signal to the main power module to control the main power module to output a constant voltage or a constant current, and to perform voltage limiting protection or current limiting protection when the output voltage or output current is greater than or equal to the over-power protection voltage or over-power protection current, thereby enabling the switching power supply to change its operating mode according to load conditions while performing over-power protection. Attached Figure Description

[0049] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0050] Figure 1 This is a schematic diagram of the structure of a power supply device provided in an embodiment of the present invention;

[0051] Figure 2 This is a schematic diagram of another power supply device provided in an embodiment of the present invention;

[0052] Figure 3 This is a schematic diagram of the structure of another power supply device provided in an embodiment of the present invention;

[0053] Figure 4 This is a flowchart illustrating a control method for a power supply device provided in an embodiment of the present invention. Detailed Implementation

[0054] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0055] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0056] Figure 1 This is a schematic diagram of a power supply device provided in an embodiment of the present invention. Figure 1 As shown, the main power module 10 in the power supply unit can provide output voltage and output current under the action of voltage control loop 20 or current control loop 30. Current control loop 30 is connected to drive module 50 through loop selection module 40, and voltage control loop 20 is also connected to drive module 50 through loop selection module 40. Mode selection module 60 allows the user to select constant current output mode or constant voltage output mode. Reference value setting module 70 can output output current reference value and output voltage reference value. When the user selects constant current output mode, the output current reference value is the set value of the current output by main power module 10, and the output voltage reference value is the over-power protection voltage. When the user selects constant voltage output mode, the output voltage reference value is the set value of the voltage output by main power module 10, and the output current reference value is the over-power protection current. Current sampling module 80 is used to provide the current control loop 30 with a quantity reflecting the output current of main power module 10.

[0057] Power supplies can be categorized into two types based on their output characteristics: constant voltage power supplies and constant current power supplies. Constant voltage power supplies maintain a essentially constant output voltage, but the load can only be a constant input voltage load; constant current input loads (such as LED loads or battery loads) cannot be connected. Although some constant voltage power supplies may have constant current auxiliary control, this control is only used as a protection measure against overload or short circuit. Similarly, constant current power supplies maintain a essentially constant output current, but the load can only be a constant input current load, and its output voltage is determined by the load. Constant current power supplies cannot be connected to constant voltage input loads. Although some constant current power supplies may have constant voltage auxiliary control, this control is only used as a protection measure against output open circuit or overvoltage.

[0058] Another existing power supply device can simultaneously set up a voltage control loop and a current control loop inside the power supply device. It can also connect the voltage control loop or the current control loop to the power supply device by setting a two-to-one module, thereby enabling the power supply device to have both constant voltage and constant current operating modes. However, this type of power supply device cannot perform over-power protection in either constant voltage or constant current operating mode.

[0059] To address the aforementioned issues, the power supply device and its control method provided by this invention, through a mode selection module 60, allow the user to select between a constant current output mode and a constant voltage output mode. A reference value setting module 70 outputs reference values ​​for both output voltage and current based on the user-selected output mode. A loop selection module 40 controls the drive module 50 via a voltage control loop 20 or a current control loop 30 according to actual conditions. This allows the power supply device to operate in either a constant current or constant voltage output mode depending on the load type, thereby expanding its application range. Furthermore, when the power supply device operates in one output mode via the voltage control loop 20 or the current control loop 30, the other loop is also connected in the circuit. Therefore, when the output voltage or current is too high, it also provides over-power protection, ensuring the normal operation of the switching power supply.

[0060] The technical solution of the present invention will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0061] like Figure 1 As shown, the power supply device, used to provide output voltage and output current, includes a main power module 10, a mode selection module 60, a reference value setting module 70, a voltage control loop 20, a current control loop 30, a loop selection module 40, and a drive module 50.

[0062] The mode selection module 60 is used to allow the user to select the output mode, which includes constant current output mode and constant voltage output mode.

[0063] The first input terminal of the reference value setting module 70 is connected to the mode selection module 60, and is used to output an output voltage reference value and an output current reference value according to the output mode selected by the user. Specifically, when the user selects a constant current output mode, the output voltage reference value is the over-power protection voltage of the power supply device. When the user selects a constant voltage output mode, the output current reference value is the over-power protection current of the power supply device.

[0064] The current control loop 30 receives the quantity of the output current and the output current reference value, and outputs a first electrical signal. The voltage control loop 20 receives the quantity of the output voltage and the output voltage reference value, and outputs a second electrical signal.

[0065] The two input terminals of the loop selection module 40 receive the first electrical signal and the second electrical signal respectively. The output terminal of the loop selection module 40 is connected to the input terminal of the drive module 50. The loop selection module 40 is used to select whether to transmit the first electrical signal or the second electrical signal to the input terminal of the drive module 50. The output terminal of the drive module 50 provides a drive signal to the main power module 10 to control the main power module 10 to output a constant voltage or a constant current.

[0066] The mode selection module 60 allows the user to select the output mode of the power supply, which can be either constant current output mode or constant voltage output mode. When the load has a constant input voltage, the user can select the constant voltage output mode. When the load has a constant current input, the user can select the constant current output mode. Figure 1 In the middle, Vo represents the output voltage of the power supply device or main power module 10.

[0067] The output terminal of the mode selection module 60 is connected to the first input terminal of the reference value setting module 70, and is used to determine the output voltage reference value and output current reference value according to the output mode selected by the user. When the selected output mode is constant voltage output mode, the power supply operates in constant voltage output mode. In this mode, the output voltage reference value output by the reference value setting module 70 is the set value of the voltage output by the main power module 10, and the output current reference value output by the reference value setting module 70 is the over-power protection current of the power supply. When the current control loop 30 determines, based on the received feedback of the output current, that the output current is greater than or equal to the over-power protection current, it limits the output current of the main power module 10.

[0068] For example, when the output mode is constant voltage output mode, the output voltage reference value is set to 48V. The maximum output power of the power supply can be set to 2500W within the reference value setting module 70. Based on the maximum output power, the output current reference value can be determined, i.e., the output current reference value is 52A, indicating that the power supply can output a constant voltage of 48V under the action of the voltage control loop 20. When the output current is greater than or equal to 52A, the voltage control loop 20 will no longer function, and the current control loop 30 will begin to function, limiting the output current.

[0069] Correspondingly, when the output mode is constant current output mode, the power supply operates in constant current output mode. At this time, the output current reference value output by the reference value setting module 70 is the set value of the current output by the main power module 10, and the output voltage reference value output by the reference value setting module 70 is the over-power protection voltage of the power supply. When the voltage control loop 20 determines, based on the received output voltage feedback, that the output voltage is greater than or equal to the over-power protection voltage, it limits the output voltage of the main power module 10.

[0070] For example, when the output mode is constant current output mode, the output current reference value is set to 52A. The output voltage reference value can be determined based on the maximum output power, such as 48V. This indicates that the power supply can output a constant current of 52A under the action of the current control loop 30. When the output voltage is greater than or equal to 48V, the current control loop 30 will no longer function, and the voltage control loop 20 will begin to function, limiting the output voltage.

[0071] In order to connect the voltage control loop 20 or the current control loop 30 to the circuit according to the output current and output voltage of the load, a loop selection module 40 is set between the voltage control loop 20, the current control loop 30 and the drive module 50. The loop selection module transmits the first electrical signal output by the current control loop 30 or the second electrical signal output by the voltage control loop 20 to the drive module 50, so as to control the drive module 50 to output different drive signals to adjust the output voltage or output current of the main power module 10.

[0072] In the above embodiments, by providing a mode selection module 60 in the power supply device, the user can set the power supply device to operate in constant voltage output mode or constant current output mode. By connecting the output terminal of the mode selection module 60 to the reference value setting module 70, the reference value setting module 70 can output output current reference value and output voltage reference value. The loop selection module 40 determines, based on the user-selected output mode, the output voltage and output current of the main power module 10, and the output voltage reference value and output current reference value, to transmit the first electrical signal output by the current control loop 30 or the second electrical signal output by the voltage control loop 20 to the drive module 50. This enables the current control loop 30 or the voltage control loop 20 to control the output signal of the drive module 50, thereby controlling the main power module 10 to output a constant voltage or constant current according to the load type. At the same time, when outputting a constant voltage or constant current, since another loop is also connected to the circuit, overpower protection can also be performed to ensure the safety of the switching power supply.

[0073] Optionally, the loop selection module 40, the current control loop 30, and the voltage control loop 20 are all implemented by digital control, for example, by a DSP chip.

[0074] Figure 2 This is a schematic diagram of another power supply device provided in an embodiment of the present invention. Figure 2 As shown, the loop selection module 40 includes a first diode 401 and a second diode 402. The cathode of the first diode 401 is connected to the output terminal of the current control loop 30, and the cathode of the second diode 402 is connected to the output terminal of the voltage control loop 20. The anodes of the first diode 401 and the second diode 402 are both connected to the input terminal of the drive module 50.

[0075] By switching the diode on and off, the second electrical signal output from the voltage control loop 20 or the first electrical signal output from the current control loop 30 can be transmitted to the drive module 50.

[0076] Different electrical signals are transmitted to the drive module 50 by turning the diode on or off, which features low power consumption and stable circuit.

[0077] Optionally, when the user selects a constant voltage output mode, when the output current is greater than or equal to the over-power protection current, the loop selection module 40 transmits the first electrical signal to the input terminal of the drive module 50; when the output current is less than the over-power protection current, the loop selection module 40 transmits the second electrical signal to the input terminal of the drive module 50. When the user selects a constant current output mode, when the output voltage is greater than or equal to the over-power protection voltage, the loop selection module 40 transmits the second electrical signal to the input terminal of the drive module 50; when the output voltage is less than the over-power protection voltage, the loop selection module 40 transmits the first electrical signal to the input terminal of the drive module 50.

[0078] Specifically, when the loop selection module 40 determines the electrical signal to be transmitted to the drive module 50 based on the user-selected output mode, output voltage, output current, over-power protection current, and over-power protection voltage, it can do the following: When the output mode is constant voltage output mode, it indicates that the power supply device is used as a voltage source, and it is necessary to determine the relationship between the output current and the over-power protection current. When the output current is less than the over-power protection current, a second electrical signal is transmitted to the drive module 50 to activate the voltage control loop 20, while the current control loop 30 is deactivated. When the output current is greater than or equal to the over-power protection current, a first electrical signal is transmitted to the drive module to activate the current control loop 30, while the voltage control loop 20 is deactivated.

[0079] Correspondingly, when the output mode is constant current output mode, it indicates that the power supply is used as a current source, and it is necessary to determine the relationship between the output voltage and the over-power protection voltage. When the output voltage is less than the over-power protection voltage, a first electrical signal is transmitted to the drive module 50 to activate the current control loop 30 and deactivate the voltage control loop 20; when the output voltage is greater than the over-power protection voltage, a second electrical signal is transmitted to the drive module 50 to activate the voltage control loop 30 and deactivate the current control loop 20.

[0080] By determining whether the data to be compared is output voltage or output current based on the output mode, and determining whether the voltage control loop or the current control loop is active based on the relationship between the output voltage or output current and the over-power protection voltage or over-power protection current, overcurrent protection can be performed when the output mode is constant voltage, and overvoltage protection can be performed when the output mode is constant current.

[0081] Figure 3 This is a schematic diagram of another power supply device provided in an embodiment of the present invention. (See attached diagram.) Figure 3 As shown, the current sampling module 80 is a resistor R.

[0082] The current control loop 30 includes resistors R1, R2, R3, R4 and R5, capacitor C1, and operational amplifiers E1 and E2.

[0083] The voltage control loop 20 includes resistors R6, R7, R8, R9 and R10, capacitor C2, and operational amplifiers E3 and E4.

[0084] Optionally, the reference value setting module 70 includes a microcontroller unit 701 and a digital-to-analog converter 702. The first input terminal of the microcontroller unit 701 is connected to the output terminal of the mode selection module 60, and the output terminal of the microcontroller unit 701 is connected to the input terminal of the digital-to-analog converter 702. The microcontroller unit 701 is used to determine the output voltage reference value and the output current reference value according to the output mode selected by the user. The first output terminal of the digital-to-analog converter 702 is used to output the output current reference value, and the second output terminal of the digital-to-analog converter 702 is used to output the output voltage reference value.

[0085] The microcontroller unit 701 can determine the output voltage reference value or output current reference value of the power supply device according to the output mode selected by the user. When the user selects the constant voltage output mode, the microcontroller unit 701 can determine the corresponding initial output voltage reference value, such as 48V, and determine the output current reference value, such as 52A, based on the internally set maximum output power of the power supply device. The output voltage and output current reference values ​​output by the microcontroller unit 701 are digital quantities, which need to be converted into analog quantities by the digital-to-analog converter 702 to determine the output signal of the voltage control loop 20 or the current control loop 30.

[0086] Optionally, the drive module 50 includes an optocoupler 501 and a control unit 502.

[0087] The input terminal of the optocoupler 501 is connected to the output terminal of the loop selection module 40. The input terminal of the control unit 502 is connected to the output terminal of the optocoupler 501. The output terminal of the control unit 502 is connected to the main power module 10 and outputs a drive control signal to control the main power module 10 to output a constant current in constant current output mode, and to perform voltage limiting protection when the output voltage is greater than or equal to the over-power protection voltage; and to control the main power module 10 to output a constant voltage in constant voltage output mode, and to perform current limiting protection when the output current is greater than or equal to the over-power protection current.

[0088] The optocoupler 501 transmits the signal from the first diode D1 or the second diode D2 to the control unit 502, so that the control unit 502 outputs a PWM (pulse width modulation) signal. By adjusting the PWM signal, the main power module 10 can be controlled to adjust its output voltage or output current. For example, when the power supply operates in constant voltage output mode, if the output current is greater than or equal to the over-power protection current, the PWM signal is adjusted, thereby controlling the main power module 10 to reduce its output current.

[0089] In addition, when the main power module 10 includes an AC-DC module 101 and a DC-DC module 102, since the AC-DC module 101 poses certain safety hazards to the human body, the optocoupler 501 is also used to achieve isolation between strong and weak currents.

[0090] Optionally, the power supply device further includes a regulator 90 for allowing the user to input a set value;

[0091] The second input terminal of the reference value setting module 70 is connected to the regulator 90, and is used to adjust the output current reference value according to the set value when the user selects the constant current output mode, and to determine the output voltage reference value according to the preset output power. It is also used to adjust the output voltage reference value according to the set value and to determine the output current reference value according to the preset output power when the user selects the constant voltage output mode.

[0092] Furthermore, to enable the power supply to be used with various loads, the output current reference value and the output voltage reference value can be adjusted by setting the regulator 90. For example... Figure 3 As shown, the regulator 90 is connected to the second input terminal of the reference value setting module 70, specifically, to the second input terminal of the microcontroller unit 701. The regulator 90 is a variable resistor, and the user can adjust the resistance value of the variable resistor. The microcontroller unit 701 stores the adjustable range of the resistance value of the variable resistor, and this adjustable range of resistance value corresponds to an adjustable range of voltage level.

[0093] Specifically, when the user selects the constant current output mode, the power supply can output a constant current value that follows the output current reference value. When the variable resistor is adjusted, the output current reference value can fluctuate within the adjustable range, while the output voltage reference value remains unchanged. For example, if the initial output current reference value of the power supply is 52A, the actual adjustable range can be achieved from 26A to 52A through the regulator 90, and the output voltage reference value is 48V.

[0094] Similarly, when the user selects the constant voltage output mode, the power supply can output a constant voltage value that follows the output voltage reference value. When the VR regulator is adjusted, the output voltage reference value can fluctuate within the adjustable range, while the output current reference value remains unchanged. For example, if the initial output voltage reference value of the power supply is 48V, the actual adjustable range can be achieved from 48V to 56V through regulator 70, and the output current reference value is 52A.

[0095] By setting regulator 90, the output voltage reference value or output current reference value of the power supply device can be adjusted, so that the power supply device can meet the needs of various loads.

[0096] Optionally, the power supply device may further include a communication module 100.

[0097] The third input terminal of the reference value setting module 70 receives data from the communication module 100 and adjusts the output current reference value and the output voltage reference value according to the received data.

[0098] The communication module 100 can be a PMbus communication interface. PMbus is an open standard digital power management protocol. Connecting the PMbus communication interface to a host computer enables communication between the host computer and the power supply device. The host computer outputs digital values ​​to adjust the output current reference value and the output voltage reference value. The specific adjustment process is similar to the adjustment process of the output current reference value and the output voltage reference value via a regulator described above, and will not be repeated here.

[0099] Furthermore, when the power supply operates in constant voltage output mode, the PMbus communication interface allows for adjustment of the output current reference value (i.e., over-power protection current) based on actual operating conditions, thereby limiting the power supply's output power. When the power supply operates in constant current output mode, the PMbus communication interface also allows for adjustment of the output voltage reference value (i.e., over-power protection voltage) based on actual operating conditions, adapting to loads with different voltages.

[0100] Optionally, the main power module 10 includes an AC-DC conversion unit 101 and a DC-DC conversion unit 102, which are cascaded together.

[0101] Figure 4 This is a flowchart illustrating a control method for a power supply device according to an embodiment of the present invention. The power supply device includes a main power module 10, which is used to provide an output voltage and an output current. The method includes:

[0102] Step S301: Select one of constant current output mode and constant voltage output mode through mode selection module 60;

[0103] Step S302: According to the selected output mode, the output voltage reference value and the output current reference value are set by the reference value setting module 70; wherein, when the selected output mode is constant current output mode, the output voltage reference value is the over-power protection voltage of the power supply device; when the selected output mode is constant voltage output mode, the output current reference value is the over-power protection current of the power supply device.

[0104] Step S303: The current control loop 30 obtains a first electrical signal based on the output current reference value and a quantity reflecting the output current.

[0105] Step S304: Connect the first electrical signal to a first input terminal of a loop selection module 40;

[0106] Step S305: Voltage control loop 20 obtains a second electrical signal based on the output voltage reference value and a quantity reflecting the output voltage;

[0107] Step S306: Connect the second electrical signal to a second input terminal of the loop selection module 40;

[0108] Step S307: Connect the output terminal of the loop selection module 40 to a driving module, wherein the loop selection module is used to select whether to transmit the first electrical signal to the driving module or the second electrical signal to the driving module 50; and,

[0109] In step S308, the drive module 50 generates a drive signal to control the main power module.

[0110] Optionally, the loop selection module 40, the current control loop 30, and the voltage control loop 20 are all implemented by digital control.

[0111] Optionally, the loop selection module 40 includes a first diode 401 and a second diode 402. The cathode of the first diode 401 is connected to the output terminal of the current control loop 30, and the cathode of the second diode 402 is connected to the output terminal of the voltage control loop 20. The anodes of the first diode 402 and the second diode 402 are both connected to the input terminal of the drive module 50.

[0112] Optionally, when the selected output mode is constant voltage output mode, when the output current is greater than or equal to the over-power protection current of the power supply device, the loop selection module 40 transmits the first electrical signal to the drive module 50; when the output current is less than the over-power protection current of the power supply device, the loop selection module 40 transmits the second electrical signal to the drive module 50.

[0113] When the selected output mode is constant current output mode, when the output voltage is greater than or equal to the over-power protection voltage of the power supply device, the loop selection module transmits the second electrical signal to the drive module 50; when the output voltage is less than the over-power protection voltage of the power supply device, the loop selection module 40 transmits the first electrical signal to the drive module 50.

[0114] Optionally, the drive module 50 includes an optocoupler 501 and a control unit 502, wherein,

[0115] The input terminal of the optocoupler 501 is connected to the output terminal of the loop selection module 40;

[0116] The input terminal of the control unit 502 is connected to the output terminal of the optocoupler 501, and the output terminal of the control unit 502 is connected to the main power module 10, and outputs a drive control signal to control the main power module 10 to output a constant current in constant current output mode, and to perform voltage limiting protection when the output voltage is greater than or equal to the overpower protection voltage; and to control the main power module 10 to output a constant voltage in constant voltage output mode, and to perform current limiting protection when the output current is greater than or equal to the overpower protection current.

[0117] Optionally, the method further includes, when the selected output mode is a constant current output mode, the reference value setting module 70 adjusts the output current reference value according to the user's setting value for the regulator 90, and determines the output voltage reference value according to a preset output power. Alternatively, when the selected output mode is a constant voltage output mode, the reference value setting module 70 adjusts the output voltage reference value according to the user's setting value for the regulator 90, and determines the output current reference value according to a preset output power.

[0118] Optionally, the method further includes the reference value setting module 70 adjusting the output current reference value and the output voltage reference value according to the data received from the communication module 100.

[0119] Optionally, the main power module 10 includes an AC-DC conversion unit 101 and a DC-DC conversion unit 102, which are cascaded together.

[0120] The control method of the power supply device described above is the same as the power supply device in the above embodiment. It can be used to execute the technical solution of the power supply device embodiment above. Its implementation principle and technical effect are similar, and will not be described again in this embodiment.

[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this disclosure, and are not intended to limit them. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this disclosure.

Claims

1. A power supply device for providing output voltage and output current, characterized in that, It includes a main power module, a mode selection module, a reference value setting module, a voltage control loop, a current control loop, a loop selection module, and a drive module. The mode selection module is used to allow users to select the output mode, which includes constant current output mode and constant voltage output mode. The first input terminal of the reference value setting module is connected to the mode selection module, and is used to output an output voltage reference value and an output current reference value according to the output mode selected by the user; wherein, when the output mode selected by the user is constant current output mode, the output voltage reference value is the over-power protection voltage of the power supply device; when the output mode selected by the user is constant voltage output mode, the output current reference value is the over-power protection current of the power supply device. The current control loop receives the amount of the output current and the reference value of the output current, and outputs a first electrical signal; The voltage control loop receives the quantity reflecting the output voltage and the output voltage reference value, and outputs a second electrical signal; The two input terminals of the loop selection module receive the first electrical signal and the second electrical signal respectively, and the output terminal of the loop selection module is connected to the input terminal of the drive module. The loop selection module is used to select whether to transmit the first electrical signal or the second electrical signal to the input terminal of the drive module. The output of the drive module provides a drive signal to the main power module to control the main power module to output a constant voltage or a constant current.

2. The power supply device according to claim 1, characterized in that, The loop selection module, the current control loop, and the voltage control loop are all implemented by digital control.

3. The power supply device according to claim 1, characterized in that, The loop selection module includes a first diode and a second diode. The cathode of the first diode is connected to the output terminal of the current control loop; the cathode of the second diode is connected to the output terminal of the voltage control loop; and the anodes of both the first diode and the second diode are connected to the input terminal of the drive module.

4. The power supply device according to claim 1, characterized in that, When the user selects the constant voltage output mode, when the output current is greater than or equal to the over-power protection current, the loop selection module transmits the first electrical signal to the input terminal of the drive module; when the output current is less than the over-power protection current, the loop selection module transmits the second electrical signal to the input terminal of the drive module. When the user selects the constant current output mode, when the output voltage is greater than or equal to the over-power protection voltage, the loop selection module transmits the second electrical signal to the input terminal of the drive module; when the output voltage is less than the over-power protection voltage, the loop selection module transmits the first electrical signal to the input terminal of the drive module.

5. The power supply device according to claim 1, characterized in that, The reference value setting module includes: a microcontroller unit and a digital-to-analog converter; The first input terminal of the microcontroller is connected to the output terminal of the mode selection module, and the output terminal of the microcontroller is connected to the input terminal of the digital-to-analog converter. The microcontroller is used to determine the output voltage reference value and the output current reference value according to the output mode selected by the user. The first output terminal of the digital-to-analog converter is used to output the output current reference value, and the second output terminal of the digital-to-analog converter is used to output the output voltage reference value.

6. The power supply device according to claim 1, characterized in that, The drive module includes an optocoupler and a control unit, wherein... The input terminal of the optocoupler is connected to the output terminal of the loop selection module; The input terminal of the control unit is connected to the output terminal of the optocoupler, and the output terminal of the control unit is connected to the main power module and outputs a drive control signal to control the main power module to output a constant current in constant current output mode, and to perform voltage limiting protection when the output voltage is greater than or equal to the overpower protection voltage; and to control the main power module to output a constant voltage in constant voltage output mode, and to perform current limiting protection when the output current is greater than or equal to the overpower protection current.

7. The power supply device according to any one of claims 1-6, characterized in that, The power supply device also includes a regulator for allowing the user to input a set value; The second input terminal of the reference value setting module is connected to the regulator, and is used to adjust the output current reference value according to the setting value when the user selects the constant current output mode, and to determine the output voltage reference value according to the preset output power. It is also used to adjust the output voltage reference value according to the set value when the user selects the constant voltage output mode, and to determine the output current reference value according to the preset output power.

8. The power supply device according to any one of claims 1-6, characterized in that, The power supply device further includes: a communication module; The third input terminal of the reference value setting module receives data from the communication module and adjusts the output current reference value and the output voltage reference value according to the received data.

9. The power supply device according to claim 1, characterized in that, The main power module includes an AC-DC conversion unit and a DC-DC conversion unit, which are cascaded together.

10. A control method for a power supply device, characterized in that, The power supply device includes a main power module, the main power module being used to provide an output voltage and an output current, and the method includes: The mode selection module allows you to choose between constant current output mode and constant voltage output mode. According to the selected output mode, the output voltage reference value and the output current reference value are set by the reference value setting module; wherein, when the selected output mode is constant current output mode, the output voltage reference value is the over-power protection voltage of the power supply device; when the selected output mode is constant voltage output mode, the output current reference value is the over-power protection current of the power supply device. The current control loop obtains a first electrical signal based on the output current reference value and a quantity reflecting the output current. Connect the first electrical signal to a first input terminal of a loop selection module; The voltage control loop obtains a second electrical signal based on the output voltage reference value and a quantity reflecting the output voltage; Connect the second electrical signal to a second input terminal of the loop selection module; The output of the loop selection module is connected to a driver module, wherein the loop selection module is used to select whether to transmit the first electrical signal to the driver module or the second electrical signal to the driver module; and, The drive module generates a drive signal to control the main power module.

11. The method according to claim 10, characterized in that, The loop selection module, the current control loop, and the voltage control loop are all implemented by digital control.

12. The method according to claim 10, characterized in that, The loop selection module includes a first diode and a second diode. The cathode of the first diode is connected to the output terminal of the current control loop; the cathode of the second diode is connected to the output terminal of the voltage control loop; and the anodes of both the first diode and the second diode are connected to the input terminal of the drive module.

13. The method according to claim 10, characterized in that, When the selected output mode is constant voltage output mode, when the output current is greater than or equal to the over-power protection current of the power supply device, the loop selection module transmits the first electrical signal to the drive module; when the output current is less than the over-power protection current of the power supply device, the loop selection module transmits the second electrical signal to the drive module. When the selected output mode is constant current output mode, when the output voltage is greater than or equal to the over-power protection voltage of the power supply device, the loop selection module transmits the second electrical signal to the drive module; when the output voltage is less than the over-power protection voltage of the power supply device, the loop selection module transmits the first electrical signal to the drive module.

14. The method according to claim 10, characterized in that, The drive module includes an optocoupler and a control unit, wherein... The input terminal of the optocoupler is connected to the output terminal of the loop selection module; The input terminal of the control unit is connected to the output terminal of the optocoupler, and the output terminal of the control unit is connected to the main power module and outputs a drive control signal to control the main power module to output a constant current in constant current output mode, and to perform voltage limiting protection when the output voltage is greater than or equal to the overpower protection voltage; and to control the main power module to output a constant voltage in constant voltage output mode, and to perform current limiting protection when the output current is greater than or equal to the overpower protection current.

15. The method according to any one of claims 10-14, characterized in that, The method further includes: When the selected output mode is constant current output mode, the reference value setting module adjusts the output current reference value according to the user's setting value for the regulator, and determines the output voltage reference value according to the preset output power; or, when the selected output mode is constant voltage output mode, the reference value setting module adjusts the output voltage reference value according to the user's setting value for the regulator, and determines the output current reference value according to the preset output power.

16. The method according to any one of claims 10-14, characterized in that, The method further includes: The reference value setting module adjusts the output current reference value and the output voltage reference value based on the data received from the communication module.

17. The method according to claim 10, characterized in that, The main power module includes an AC-DC conversion unit and a DC-DC conversion unit, which are cascaded together.

Citation Information

Patent Citations

  • Direct-current power supply with constant voltage or constant current output

    CN103777670A

  • Digital power supply for LED illuminating lamp

    CN112601321A

  • Output over-power protection circuit

    CN211352518U