Control device and method of switching power supply and switching power supply system
By connecting to the fake load module at the output end of the switching power supply and adjusting its quantity and access power according to the operating parameters, the voltage fluctuation caused by load changes is solved, and the stability and quality of the power supply are improved.
Patent Information
- Application Number
- CN202411038537.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-08
AI Technical Summary
It is difficult for existing switching power supplies to effectively reduce the voltage fluctuation value of the output voltage when the load changes instantaneously, affecting the power supply quality.
A control device is designed, including a fake load module, a sampling module and a main control module. By connecting the fake load module at the output end of the switching power supply, the number of fake loads and access power are adjusted according to the operating parameters to control the output voltage fluctuation value. Within the preset range.
It effectively reduces the voltage fluctuation value of the output voltage of the switching power supply, improves the stability and quality of the power supply, and reduces power loss and standby power consumption.
Smart Images

Figure CN118920880A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of switching power supplies, and specifically relates to a switching power supply control device, method, and a switching power supply system having the switching power supply control device, and more particularly to a single-channel output switching power supply output voltage control device and method with a load-varying single-channel output switching power supply output voltage control device, and a switching power supply system having the single-channel output switching power supply output voltage control device with a load-varying single-channel output switching power supply. Background Art
[0002] The function of the switching power supply is to provide a stable direct current to the load. The stability of the direct current provided by the switching power supply is reflected to a certain extent in the voltage fluctuation value of the switching power supply output voltage. The voltage fluctuation value of a good switching power supply output voltage should be as small as possible. The voltage fluctuation of the switching power supply output voltage is actually caused by the instantaneous change of the load. The rapid fluctuation of the load in a short period of time causes the waveform of the switching power supply output voltage to produce a certain range of voltage fluctuations. However, it is difficult to reduce the voltage fluctuation value of the switching power supply output voltage, and the quality of the switching power supply output voltage cannot be guaranteed.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The object of the present invention is to provide a control device, method and switching power supply system for a switching power supply, so as to solve the problem that the voltage fluctuation of the output voltage of the switching power supply is caused by the instantaneous change of the load of the switching power supply, but it is difficult to reduce the voltage fluctuation value of the output voltage of the switching power supply, and the quality of the output voltage of the switching power supply cannot be guaranteed, so as to achieve the effect of improving the quality of the output voltage of the switching power supply by controlling the access power of the dummy load when the load of the switching power supply changes, adjusting the voltage fluctuation value of the output voltage of the switching power supply, and improving the quality of the output voltage of the switching power supply.
[0005] The present invention provides a control device for a switching power supply, comprising: a dummy load module, a sampling module and a main control module; the dummy load module comprises: a dummy load branch, the dummy load branch is arranged at the output end of the switching power supply; the number of the dummy load branches is N, N is a positive integer and N is greater than or equal to 1; wherein the sampling module is used to sample the operating parameters of the switching power supply when the switching power supply is running; the main control module is used to determine whether it is necessary to connect the dummy load module to the output end of the switching power supply according to the operating parameters of the switching power supply; if it is determined that the dummy load module is not required to be connected to the output end of the switching power supply, the switching power supply is controlled to continue to operate; if it is determined that the dummy load module is required to be connected to the output end of the switching power supply, the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is determined according to the operating parameters of the switching power supply, and the control ends of the M dummy load branches are controlled so that the M dummy load branches are connected to the output end of the switching power supply, so that the output voltage fluctuation value of the switching power supply is within a preset safety range; wherein M is a positive integer and M≤N.
[0006] In some embodiments, in the dummy load module, N dummy load branches are arranged in sequence; for the N dummy load branches arranged in sequence, the control end of the first dummy load branch is controlled by the main control module; among the N-1 dummy load branches after the first dummy load branch, the control end of the latter dummy load branch is controlled by the output end of the previous dummy load branch, and the output end of the last dummy load branch is grounded.
[0007] In some embodiments, it also includes: an optocoupler module, an output resistor module and an input resistor module; wherein the output end of the switching power supply is connected to the collector of the transistor in the optocoupler module after passing through the output resistor module; in the dummy load module, N dummy load branches are arranged in sequence; the emitter of the transistor in the optocoupler module is connected to the control end of the first dummy load branch among the N dummy load branches; and, for the N dummy load branches arranged in sequence, among the N-1 dummy load branches after the first dummy load branch, the control end of the latter dummy load branch is controlled by the output end of the previous dummy load branch, and the output end of the last dummy load branch is grounded; the anode of the light-emitting diode in the optocoupler module is connected to the AD port of the main control module after passing through the input resistor module; the cathode of the light-emitting diode in the optocoupler module is grounded.
[0008] In some embodiments, each of the dummy load branches in the dummy load module includes: a main resistance module and a switch tube module; for each of the dummy load branches, the output end of the switching power supply is connected to the first connection end of the switch tube module in each of the dummy load branches after passing through the main resistance module in each of the dummy load branches; the second connection end of the switch tube module in each of the dummy load branches serves as the output end of each of the dummy load branches; the control end of the switch tube module in each of the dummy load branches serves as the control end of each of the dummy load branches and is used to receive the control signal of the main control module, and the control signal of the main control module is used to control the conduction or cutoff of the switch tube module in each of the dummy load branches; in the dummy load module, N of the dummy load branches are arranged in sequence; for two adjacent dummy load branches, the second connection end of the switch tube module in the previous dummy load branch is connected to the control end of the switch tube module in the next dummy load branch; for N of the dummy load branches, the second connection end of the switch tube module in the last dummy load branch is grounded.
[0009] In some embodiments, the dummy load module further includes: an auxiliary resistance module; the number of the auxiliary resistance modules is N-1; for two adjacent dummy load branches, the second connection end of the switch tube module in the previous dummy load branch is connected to the second connection end of the switch tube module in the next dummy load branch after passing through one of the auxiliary resistance modules among the N-1 auxiliary resistance modules.
[0010] In some embodiments, the operating parameters of the switching power supply sampled by the sampling module include at least one of the following: an output voltage fluctuation value of the switching power supply, and an operating time of a load connected to the switching power supply; the main control module determines whether it is necessary to connect the dummy load module to the output end of the switching power supply based on the operating parameters of the switching power supply, including: determining whether at least one of the following is satisfied: an output voltage fluctuation value of the switching power supply is greater than an upper limit of a preset safety range value, and an operating time of the load connected to the switching power supply is greater than a preset load adjustment time; if it is determined that the conditions are not satisfied, determining that it is not necessary to connect the dummy load module to the output end of the switching power supply; if it is determined that the conditions are satisfied, determining that it is necessary to connect the dummy load module to the output end of the switching power supply.
[0011] In some embodiments, the operating parameters of the switching power supply sampled by the sampling module include at least one of the following: an output voltage fluctuation value of the switching power supply, and an operating time of a load connected to the switching power supply; the main control module determines, according to the operating parameters of the switching power supply, the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply, including: when the operating parameter of the switching power supply is the output voltage fluctuation value of the switching power supply, the control device of the switching power supply further includes an optocoupler module, and each of the dummy load branches in the dummy load module includes a switch tube module, if the optocoupler module is turned on and the transistor in the optocoupler module is not in a limit saturated conduction state, then the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is:
[0012]
[0013] Where λ = M, V CC is the output voltage of the switching power supply, V γ is the conduction voltage drop of the switch tube module in each of the dummy load branches in the dummy load module, and [] is the logarithm rounded; when the operating parameter of the switching power supply is the output voltage fluctuation value of the switching power supply, when the control device of the switching power supply further includes an optocoupler module, and each of the dummy load branches in the dummy load module includes a switch tube module, if the optocoupler module is turned on and the transistor in the optocoupler module is in a limit saturated conduction state, the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is N; when the operating parameter of the switching power supply is the running time of the load connected to the switching power supply, according to the corresponding relationship between the set running time and the set load adjustment amount, the set load adjustment amount corresponding to the set running time that is the same as the running time of the load connected to the switching power supply in the corresponding relationship is determined as the load adjustment amount of the switching power supply corresponding to the running time of the load connected to the switching power supply; the dummy load adjustment amount corresponding to the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is the same as the load adjustment amount of the switching power supply.
[0014] In some embodiments, the main control module controls the control ends of the M dummy load branches so that the M dummy load branches are connected to the output end of the switching power supply so that the output voltage fluctuation value of the switching power supply is within a preset safety range, including: controlling the control ends of the M dummy load branches so that the M dummy load branches are connected to the output end of the switching power supply, and controlling the switching power supply to continue to operate; returning after a set time to re-determine whether it is necessary to connect the dummy load module to the output end of the switching power supply according to the operating parameters of the switching power supply; if it is still determined that the dummy load module needs to be connected to the output end of the switching power supply, then determining whether M is less than N for the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply; if it is determined that M is less than N, then based on the The method comprises the following steps: according to the set increasing method, increasing the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply according to the set increasing method, obtaining a new number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply, controlling the control ends of the new M dummy load branches to connect the new M dummy load branches to the output end of the switching power supply, and controlling the switching power supply to continue to operate; returning after a set time to re-determine whether the dummy load module needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply, and repeating this process; if it is determined that M is not less than N, controlling the switching power supply to suspend supplying power to the connected load, and initiating a prompt message that the switching power supply suspends supplying power to the connected load.
[0015] Matching the above-mentioned control device of the switching power supply, the present invention further provides a switching power supply system on the other hand, including: the above-mentioned control device of the switching power supply.
[0016] Matching the control of the above-mentioned switching power supply, the present invention provides a control method for a switching power supply on another aspect, comprising: when the switching power supply is running, sampling the operating parameters of the switching power supply; determining whether it is necessary to connect the dummy load module to the output end of the switching power supply according to the operating parameters of the switching power supply; if it is determined that the dummy load module is not necessary to be connected to the output end of the switching power supply, controlling the switching power supply to continue to run; if it is determined that the dummy load module is necessary to be connected to the output end of the switching power supply, determining the number M of dummy load branches in the dummy load module that need to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply, and controlling the control ends of the M dummy load branches so that the M dummy load branches are connected to the output end of the switching power supply, so that the output voltage fluctuation value of the switching power supply is within a preset safety range value; wherein M is a positive integer and M≤N.
[0017] In some embodiments, the operating parameters of the switching power supply include at least one of the following: an output voltage fluctuation value of the switching power supply, and an operating time of a load connected to the switching power supply; determining whether it is necessary to connect the dummy load module to the output end of the switching power supply based on the operating parameters of the switching power supply includes: determining whether at least one of the following is satisfied: the output voltage fluctuation value of the switching power supply is greater than an upper limit of a preset safety range value, and the operating time of the load connected to the switching power supply is greater than a preset load adjustment time; if it is determined that the conditions are not satisfied, determining that it is not necessary to connect the dummy load module to the output end of the switching power supply; if it is determined that the conditions are satisfied, determining that it is necessary to connect the dummy load module to the output end of the switching power supply.
[0018] In some embodiments, the operating parameters of the switching power supply include at least one of the following: an output voltage fluctuation value of the switching power supply, and an operating time of a load connected to the switching power supply; determining the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply, including: when the operating parameter of the switching power supply is the output voltage fluctuation value of the switching power supply, when the control device of the switching power supply further includes an optocoupler module, and each of the dummy load branches in the dummy load module includes a switch tube module, if the optocoupler module is turned on and the transistor in the optocoupler module is not in a limit saturated conduction state, then the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is:
[0019]
[0020] Where λ = M, V CC is the output voltage of the switching power supply, V γis the conduction voltage drop of the switch tube module in each of the dummy load branches in the dummy load module, and [] is the logarithm rounded; when the operating parameter of the switching power supply is the output voltage fluctuation value of the switching power supply, when the control device of the switching power supply further includes an optocoupler module, and each of the dummy load branches in the dummy load module includes a switch tube module, if the optocoupler module is turned on and the transistor in the optocoupler module is in a limit saturated conduction state, the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is N; when the operating parameter of the switching power supply is the running time of the load connected to the switching power supply, according to the corresponding relationship between the set running time and the set load adjustment amount, the set load adjustment amount corresponding to the set running time that is the same as the running time of the load connected to the switching power supply in the corresponding relationship is determined as the load adjustment amount of the switching power supply corresponding to the running time of the load connected to the switching power supply; the dummy load adjustment amount corresponding to the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is the same as the load adjustment amount of the switching power supply.
[0021] In some embodiments, controlling the control ends of the M dummy load branches so that the M dummy load branches are connected to the output end of the switching power supply so that the output voltage fluctuation value of the switching power supply is within a preset safety range includes: controlling the control ends of the M dummy load branches so that the M dummy load branches are connected to the output end of the switching power supply, and controlling the switching power supply to continue to operate; returning after a set time to re-determine whether it is necessary to connect the dummy load module to the output end of the switching power supply according to the operating parameters of the switching power supply; if it is still determined that the dummy load module needs to be connected to the output end of the switching power supply, determining whether M is less than N for the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply; if it is determined that M is less than N, determining based on the dummy load module whether the dummy load module needs to be connected to the output end of the switching power supply. The method comprises the following steps: controlling the control ends of the new M dummy load branches to connect the new M dummy load branches to the output end of the switching power supply; controlling the control ends of the new M dummy load branches to connect the new M dummy load branches to the output end of the switching power supply; and controlling the switching power supply to continue to operate; returning after a set time to determine whether the dummy load module needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply, and repeating the process; if it is determined that M is not less than N, controlling the switching power supply to suspend supplying power to the connected load, and initiating a prompt message that the switching power supply suspends supplying power to the connected load.
[0022] Therefore, the scheme of the present invention provides a dummy load connected in parallel with the actual load for the switching power supply, and provides a dummy load module for controlling the access power of the dummy load; during the operation of the switching power supply, according to the voltage fluctuation value of the output voltage of the switching power supply or the voltage fluctuation timing of the output voltage of the switching power supply, the access power of the dummy load is controlled to adjust the load power of the switching power supply, so as to achieve the effect of regulating the voltage fluctuation value of the output voltage of the switching power supply when the load of the switching power supply changes; thus, by controlling the access power of the dummy load when the load of the switching power supply changes, the voltage fluctuation value of the output voltage of the switching power supply is adjusted, the voltage fluctuation value of the output voltage of the switching power supply is reduced, and the quality of the output voltage of the switching power supply is improved.
[0023] Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present invention.
[0024] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a structural schematic diagram of an embodiment of a control device for a switching power supply of the present invention;
[0026] Figure 2 A schematic diagram of the structure of an embodiment of a control circuit for output voltage of a switching power supply;
[0027] Figure 3 A basic functional logic diagram of a method for controlling the output voltage of a single-output switching power supply with load variation;
[0028] Figure 4 A control flow diagram of a method for controlling the output voltage of a single-output switching power supply with load variation;
[0029] Figure 5 A schematic structural diagram of a specific embodiment of a control circuit for output voltage of a switching power supply;
[0030] Figure 6 The diagram is a comparison diagram of the switching power supply output voltage and its ripple waveform schematic diagram before and after the switching power supply output voltage is controlled, wherein (a) is a schematic diagram of the switching power supply output voltage and its ripple waveform before the switching power supply output voltage is controlled, and (b) is a schematic diagram of the switching power supply output voltage and its ripple waveform after the switching power supply output voltage is controlled;
[0031] Figure 7 A schematic diagram of a flow chart of an embodiment of a method for controlling a switching power supply of the present invention;
[0032] Figure 8A schematic diagram of a flow chart of an embodiment of determining whether it is necessary to connect the dummy load module to the output end of the switching power supply in the method of the present invention;
[0033] Fig. 9 The present invention is a flow chart of an embodiment of controlling the control ends of the M dummy load branches in the method of the present invention so that the M dummy load branches are connected to the output end of the switching power supply. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0035] Most of the related solutions use a trial and error method to reduce the voltage fluctuation value of the output voltage of the switching power supply, that is, constantly changing the capacitance of the capacitor in the switching power supply (such as the filter capacitor behind the DC bus capacitor in the switching power supply) to achieve control of the voltage fluctuation value of the output voltage of the switching power supply; for the motherboard of the completed switching power supply, since the implementation function of the switching power supply is difficult to change (causing the load to change sharply in a short period of time is inevitable), if the capacitance of the capacitor in the switching power supply is replaced, it is difficult to control the waveform of the output voltage of the switching power supply. There is also the possibility that the voltage fluctuation value of the output voltage of the switching power supply is large, making it impossible to meet the demand of providing a stable DC power to the load by the trial and error method. Therefore, it is difficult to effectively improve the voltage fluctuation of the output voltage of the switching power supply by the trial and error method.
[0036] Because on a single-output switching power supply, if its load is variable, when the load changes drastically, the transformer in the switching power supply (such as Figure 2 , Figure 5 The energy of the transformer T2 in the switching power supply is difficult to consume in time, which leads to large voltage fluctuations in the output voltage of the switching power supply. The main method of suppressing the voltage fluctuation of the output voltage of the switching power supply in the related scheme is to increase the filter capacitor (such as Figure 2 , Figure 5Capacitor C16 in the filter capacitor), but the effect of the filter capacitor is limited, and it is difficult to suppress the voltage fluctuation of the output voltage of the switching power supply to an ideal state under a limited volume. In order to solve the adverse voltage fluctuation caused by load changes on the output voltage of the switching power supply, the solution of the present invention proposes a control scheme for a switching power supply, specifically a control scheme for the output voltage of a single-channel output switching power supply with load changes, aiming to improve the voltage fluctuation value of the output voltage of the switching power supply and improve the quality of the output voltage of the switching power supply. The solution of the present invention proposes a control scheme for the output voltage of a single-channel output switching power supply with load changes, and its application scenario is on a single-channel output switching power supply with load changes, and the purpose is to enhance the robustness of the switching power supply and improve the quality of the output voltage of the switching power supply.
[0037] According to an embodiment of the present invention, a control device for a switching power supply is provided. Figure 1 The schematic diagram of the structure of an embodiment of the device of the present invention is shown. The control device of the switching power supply may include: a dummy load module, a sampling module and a main control module. The specific structure of the switching power supply may be various, and the internal components of the switching power supply may also be various. For example: Figure 2 is a structural schematic diagram of an embodiment of a control circuit for output voltage of a switching power supply, Figure 2 The switching power supply shown is only an exemplary structure of a portion of the internal structure of a power supply. Figure 2 The control circuit of the switching power supply output voltage is shown in FIG. Figure 2 The main control chip shown; the dummy load is a load that has no practical effect and is only used to adjust the voltage fluctuation value of the output voltage of the switching power supply; Figure 2 As shown, the switching power supply includes: transformer T2, optocoupler U9, diode D2, diode D13, voltage regulator diode D3, electrolytic capacitor C22, capacitor C7, capacitor C13, capacitor C16, resistor R12, resistor R134 and resistor R135. In the switching power supply, the opposite-name end of the secondary winding of transformer T2 is connected to the analog ground AGND through capacitor C13; the opposite-name end of the secondary winding of transformer T2 is also connected to the positive electrode of electrolytic capacitor C22; the opposite-name end of the secondary winding of transformer T2 is also connected to ground GND. The same-name end of the secondary winding of transformer T2 is connected to the anode of diode D13; the cathode of diode D13 is connected to the negative electrode of electrolytic capacitor C22; the cathode of diode D13 is also connected to ground GND through capacitor C16; the cathode of diode D13 is also connected to the cathode of voltage regulator diode D3; the cathode of diode D13 is also connected to the output voltage V of the switching power supply. CCThe output end. The anode of the voltage zener diode D3 is connected to the ground GND after passing through the resistors R134 and R135. The capacitor C7 is connected in series with the resistor R12 and then connected in parallel with the diode D2. The capacitor C7 is also connected to the anode of the diode D2. The resistor R12 is also connected to the anode of the diode D2. The cathode of the diode D2 is connected to the collector of the transistor on the secondary side of the optocoupler U9. The anode of the light-emitting diode on the primary side of the optocoupler U9 is connected to the common end of the resistor R134 and the resistor R135, and the cathode of the light-emitting diode on the primary side of the optocoupler U9 is connected to the ground GND. In the scheme of the present invention, if Figure 1 As shown, the dummy load module is arranged at the output end of the switching power supply and is connected in parallel with the load of the switching power supply. The dummy load module comprises: a dummy load branch, the number of which is N, and the N dummy load branches are all arranged at the output end of the switching power supply, specifically, each of the N dummy load branches is arranged at the output end of the switching power supply, the output end of the switching power supply refers to the output end of the output voltage of the switching power supply, and each of the N dummy load branches has a control end, N is a positive integer and N is greater than or equal to 1; the sampling module is connected to the output end of the switching power supply, and the main control module is connected to the dummy load module.
[0038] The sampling module is used to sample the operating parameters of the switching power supply when the switching power supply is in operation; the operation of the switching power supply means that the electrical equipment powered by the switching power supply is in operation.
[0039] The main control module is used to determine whether the dummy load module needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply.
[0040] The main control module is also used for not controlling the dummy load module to be connected to the input end of the switching power supply if it is determined that the dummy load module does not need to be connected to the output end of the switching power supply, and controlling the switching power supply to continue to operate.
[0041] The main control module is also used to, if it is determined that the dummy load module needs to be connected to the output end of the switching power supply, determine the number M of the dummy load branches in the dummy load module that need to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply, control the control ends of the M dummy load branches so that the M dummy load branches are connected to the output end of the switching power supply, and control the switching power supply to continue to operate, specifically controlling the M dummy load branches in the dummy load module to be connected to the output end of the switching power supply, and controlling the switching power supply to continue to operate so that the output voltage fluctuation value of the switching power supply is within a preset safety range value; wherein M is a positive integer and M≤N, and the preset safety range value is such as [0,X1).
[0042] The implementation premise of a control scheme for the output voltage of a single-channel output switching power supply with load changes proposed in the solution of the present invention is that the main control chip has obtained the voltage fluctuation value of the output voltage of the switching power supply at this time. When the voltage fluctuation value of the output voltage of the switching power supply exceeds the preset safety range value due to the load change, the main control chip immediately outputs an analog voltage value, and controls the dummy load to be turned on through the control circuit of the output voltage of the switching power supply. If the voltage fluctuation value of the output voltage of the switching power supply does not drop to the preset safety range value within a fixed time, the main control chip adjusts the output analog voltage value, and then changes the size of the dummy load connected to the switching power supply corresponding to the output analog voltage value, until the voltage fluctuation value of the output voltage of the switching power supply is stabilized to within the preset safety range value.
[0043] In some embodiments, in the dummy load module, N dummy load branches are arranged in sequence; for the N dummy load branches arranged in sequence, the control end of the first dummy load branch is controlled by the main control module; among the N-1 dummy load branches after the first dummy load branch, the control end of the latter dummy load branch is controlled by the output end of the previous dummy load branch, and the output end of the last dummy load branch is grounded.
[0044] In the scheme of the present invention, by arranging the N dummy load branches in sequence in the dummy load module, the access of the N dummy load branches can be controlled in sequence, and the access can be achieved one by one in sequence, so as to achieve precise regulation of the voltage fluctuation value of the output voltage of the switching power supply under load changes. Through the control scheme of the output voltage of the single-channel output switching power supply with load changes, the robustness of the switching power supply can be enhanced, the voltage fluctuation value of the output voltage of the switching power supply can be reduced, and the quality of the output voltage of the switching power supply can be improved; at the same time, compared with directly adding dummy loads in related schemes, it can reduce power loss to a certain extent and reduce the overall standby power consumption of the control system where the power-consuming equipment of the switching power supply is located.
[0045] In some embodiments, the control device of the switching power supply according to the solution of the present invention further includes: an optical coupling module, an output resistance module and an input resistance module, wherein the optical coupling module is Figure 2 The optocoupler U1 in the output resistor module is as follows Figure 2 The resistor ROUT in the input resistor module is as follows Figure 2 The resistor RIN in.
[0046] Wherein, the output end of the switching power supply is connected to the collector of the transistor in the optocoupler module after passing through the output resistor module. In the dummy load module, the N dummy load branches are arranged in sequence; the emitter of the transistor in the optocoupler module is connected to the control end of the first dummy load branch among the N dummy load branches; and, for the N dummy load branches arranged in sequence, among the N-1 dummy load branches after the first dummy load branch, the control end of the latter dummy load branch is controlled by the output end of the previous dummy load branch, and the output end of the last dummy load branch is grounded. The anode of the light-emitting diode in the optocoupler module is connected to the AD port of the main control module after passing through the input resistor module; the cathode of the light-emitting diode in the optocoupler module is grounded, such as the cathode ground GND of the light-emitting diode on the primary side of the optocoupler U1.
[0047] In the scheme of the present invention, by setting an optical coupling module, an output resistance module and an input resistance module, the main control module can reliably control whether each of the dummy load branches in the dummy load module is connected or not according to the output voltage of the switching power supply. Through the control scheme of the output voltage of the single-channel output switching power supply with load changes, the effect of adjusting the voltage fluctuation value of the output voltage of the switching power supply under load changes can be achieved. By autonomously adjusting the voltage fluctuation value of the output voltage of the switching power supply, the robustness of the switching power supply can be enhanced, and the voltage fluctuation value of the output voltage of the switching power supply can be reduced, thereby improving the quality of the output voltage of the switching power supply and reducing the overall standby power consumption of the control system where the electrical equipment of the switching power supply is located.
[0048] In some embodiments, each of the dummy load branches in the dummy load module includes: a main resistance module and a switch tube module, the main resistance module is as follows: Figure 2 The resistor R1 to the resistor RN in the switch tube module is as follows Figure 2 The transistors Q1 to QN in the circuit.
[0049] For each of the dummy load branches, the output end of the switching power supply is connected to the first connection end (such as the collector of a transistor) of the switch tube module in each of the dummy load branches after passing through the main resistance module in each of the dummy load branches; the second connection end (such as the emitter of a transistor) of the switch tube module in each of the dummy load branches serves as the output end of each of the dummy load branches; the control end (such as the base of a transistor) of the switch tube module in each of the dummy load branches serves as the control end of each of the dummy load branches and is used to receive the control signal of the main control module, and the control signal of the main control module is used to control the conduction or cutoff of the switch tube module in each of the dummy load branches. In the dummy load module, N dummy load branches are arranged in order; for two adjacent dummy load branches, the second connection end (such as the emitter of a transistor) of the switch module in the previous dummy load branch is connected to the control end of the switch module in the next dummy load branch; the control end of the switch module in the next dummy load branch serves as the control end (such as the base of a transistor) of the next dummy load branch. For the N dummy load branches, the second connection end of the switch module in the last dummy load branch is grounded, such as the second connection end of the switch module in the Nth dummy load branch is grounded GND.
[0050] In the solution of the present invention, a main resistance module and a switch tube module are set in each of the dummy load branches in the dummy load module, and the switch tube module controls whether the main resistance module is connected or not to achieve the effect of adjusting the voltage fluctuation value of the output voltage of the switching power supply under load changes. Through the above-mentioned control scheme for the output voltage of a single-output switching power supply with load changes, the voltage fluctuation value of the output voltage of the switching power supply is autonomously adjusted, so that the robustness of the switching power supply can be enhanced, the voltage fluctuation value of the output voltage of the switching power supply can be reduced, and the quality of the output voltage of the switching power supply can be improved.
[0051] In some embodiments, the dummy load module further includes: an auxiliary resistor module; the number of the auxiliary resistor modules is N-1, such as resistor RN+1 to resistor R2N-1 in Figure 1. For two adjacent dummy load branches, the second connection end of the switch tube module in the previous dummy load branch (such as the emitter of the triode) is connected to the second connection end of the switch tube module in the next dummy load branch (such as the emitter of the triode) after passing through one of the N-1 auxiliary resistor modules; the second connection end of the switch tube module in the last dummy load branch is grounded (such as the emitter of the triode).
[0052] The principle of the control scheme of the output voltage of a single-channel output switching power supply with load variation proposed by the present invention is that the main control chip compensates for the transformer (such as Figure 2 , Figure 5 The energy of the transformer T2 in the switching power supply is difficult to be consumed in time, which causes the voltage fluctuation of the switching power supply output voltage, thereby achieving the control of the switching power supply output voltage. Figure 2 As shown, the control circuit of the switching power supply output voltage includes: an optical coupler U1, transistors Q1, Q2, ..., QN-1, QN, resistors R1, R2, ..., RN-1, RN, resistors RN+1 to R2N-1, resistor ROUT, and a main control chip, where N is a positive integer and N is greater than 2. The switching power supply output voltage V CC The output end is respectively connected to the first connection end of each resistor in resistor R1, resistor R1, resistor R2, ..., resistor RN-1, resistor RN, and resistor ROUT; the second connection end of each resistor in resistor R1, resistor R1, resistor R2, ..., resistor RN-1, and resistor RN is respectively connected to the collector of the corresponding transistor in transistor Q1, transistor Q2, ..., transistor QN-1, and transistor QN; the second connection end of resistor ROUT is connected to the collector of the transistor on the secondary side of optocoupler U1; the emitter of the transistor on the secondary side of optocoupler U1 is connected to the collector of transistor Q1 The base of transistor Q1 is connected to the base of transistor Q2. Similarly, the emitter of transistor QN-2 is connected to the base of transistor QN-1, and the emitter of transistor QN-1 is connected to the base of transistor QN. The emitter of transistor Q1 is also connected to the emitter of transistor Q2 through resistor RN+1. Similarly, the emitter of transistor QN-2 is also connected to the emitter of transistor QN-1 through resistor R2N-2, and the emitter of transistor QN-1 is also connected to the emitter of transistor QN through resistor R2N-1. The emitter of transistor QN is grounded to GND. The anode of the light-emitting diode on the primary side of optocoupler U1 is connected to the WB_CONTROL pin through resistor RIN. The cathode of the light-emitting diode on the primary side of optocoupler U1 is grounded to GND.
[0053] In the scheme of the present invention, by setting an auxiliary resistance module in the dummy load module, voltage division can be achieved, which is beneficial to improving the regulation effect of the voltage fluctuation value of the output voltage of the switching power supply under load changes. Through the control scheme of the output voltage of the single-channel output switching power supply with load changes, the regulation effect of the voltage fluctuation value of the output voltage of the switching power supply under load changes can be achieved. By autonomously adjusting the voltage fluctuation value of the output voltage of the switching power supply, the robustness of the switching power supply can be enhanced, and the voltage fluctuation value of the output voltage of the switching power supply can be reduced, thereby improving the quality of the output voltage of the switching power supply and reducing power loss to a certain extent.
[0054] In some embodiments, the sampling module includes a voltage detection device and / or a time detection device. The operating parameters of the switching power supply sampled by the sampling module include at least one of the following: an output voltage fluctuation value of the switching power supply detected by the voltage detection device, and an operating time of a load connected to the switching power supply detected by the time detection device.
[0055] The main control module determines whether the dummy load module needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply, including:
[0056] The main control module is further specifically used to determine whether at least one of the following is met: the output voltage fluctuation value of the switching power supply is greater than the upper limit of a preset safety range value, and the operating time of the load connected to the switching power supply is greater than a preset load adjustment time; wherein the operating time of the load connected to the switching power supply is the operating time of the electrical equipment powered by the switching power supply.
[0057] The main control module is further configured to determine that it is not necessary to connect the dummy load module to the output end of the switching power supply if it is determined that the condition is not satisfied.
[0058] The main control module is further configured to determine that the dummy load module needs to be connected to the output end of the switching power supply if the conditions are met.
[0059] In the scheme of the present invention, it is determined whether the dummy load module needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply, so as to adjust the voltage fluctuation value of the output voltage of the switching power supply under load changes. Through the control scheme of the output voltage of the single-channel output switching power supply with load changes, the effect of adjusting the voltage fluctuation value of the output voltage of the switching power supply under load changes can be achieved. By autonomously adjusting the voltage fluctuation value of the output voltage of the switching power supply, the robustness of the switching power supply can be enhanced, and the voltage fluctuation value of the output voltage of the switching power supply can be reduced, thereby improving the quality of the output voltage of the switching power supply; at the same time, compared with directly adding a dummy load in the related scheme, it can reduce power loss to a certain extent and reduce the overall standby power consumption of the control system where the electrical equipment of the switching power supply is located.
[0060] In some implementations, the operating parameters of the switching power supply sampled by the sampling module include at least one of the following: an output voltage fluctuation value of the switching power supply, and an operating time of a load connected to the switching power supply.
[0061] The main control module, when determining that the dummy load module needs to be connected to the output end of the switching power supply, determines the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply, including any of the following determination situations:
[0062] The first determination scenario: the main control module is specifically used for, when the operating parameter of the switching power supply is the output voltage fluctuation value of the switching power supply, when the control device of the switching power supply further includes an optocoupler module, and each of the dummy load branches in the dummy load module includes a switch tube module, if the optocoupler module is turned on and the transistor in the optocoupler module is not in the limit saturation conduction state, then the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is:
[0063]
[0064] Where λ = M, V CC is the output voltage of the switching power supply, V γ is the on-state voltage drop of the switch tube module in each of the dummy load branches in the dummy load module, and [] is the logarithm rounded off.
[0065] The second determination scenario: the main control module is specifically used for a case where the operating parameter of the switching power supply is the output voltage fluctuation value of the switching power supply, and the control device of the switching power supply also includes an optocoupler module, and each of the dummy load branches in the dummy load module includes a switching tube module. If the optocoupler module is turned on and the transistor in the optocoupler module is in an extreme saturated conduction state, then the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is N.
[0066] The third determination scenario: the main control module is specifically further used to determine, when the operating parameter of the switching power supply is the operating time of the load connected to the switching power supply, a set load adjustment amount corresponding to the set operating time that is the same as the operating time of the load connected to the switching power supply in the corresponding relationship as the load adjustment amount of the switching power supply corresponding to the operating time of the load connected to the switching power supply according to the corresponding relationship between the set operating time and the set load adjustment amount; the dummy load adjustment amount corresponding to the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is the same as the load adjustment amount of the switching power supply.
[0067] exist Figure 2In the example shown, the WB_CONTROL pin of the control circuit of the switching power supply output voltage is connected to the AD port of the main control chip. If the output voltage of the AD port of the main control chip is V in , the output voltage of the switching power supply is V CC , the voltage drop of the primary LED of the optocoupler U1 is V α , when V in ≤V α When the optocoupler U1 is not conducting, the input current I in =0; when V in >V α When the current is applied to the primary side of the optocoupler U1, the LED and resistor R in (Right now Figure 2 The resistor RIN in the middle generates the input current I of the optocoupler U1. in for:
[0068]
[0069] Among them, I in is the input current of optocoupler U1, V in The AD port output voltage of the main control chip, V α is the primary LED voltage drop of the optocoupler U1, R in is the resistance R in (Right now Figure 2 The resistance value of the resistor RIN in the circuit.
[0070] First, the following discusses the case where the optocoupler U1 is in conduction and the transistor on the secondary side of the optocoupler U1 is not in the limit saturated conduction state (the number of dummy load branches M≠1):
[0071] If the primary-to-secondary current transfer ratio of the optocoupler U1 is CTR, then the secondary current I out for:
[0072] I out =CTR*I in (2).
[0073] Among them, I out is the current on the secondary side of the optocoupler U1, CTR is the primary-to-secondary current transfer ratio of the optocoupler U1, I in is the input current of optocoupler U1.
[0074] If the conduction voltage drop of the transistor on the secondary side of the optocoupler U1 is V β , then by calculation, we can get the secondary side of the optocoupler U1 and the resistor R out (Right now Figure 2 The divided voltage V 1out for:
[0075] V1out =I out *R out +V β (3).
[0076] Among them, V 1out The secondary side of the optocoupler U1 and the resistor R out (Right now Figure 2 The divided voltage of the resistor ROUT in the out is the current on the secondary side of the optocoupler U1, R out is the resistance R out (Right now Figure 2 The resistance value of the resistor ROUT in β It is the conduction voltage drop of the transistor on the secondary side of the optocoupler U1.
[0077] Therefore, the voltage difference between the secondary output of the optocoupler U1 and GND (ground) is V Q for:
[0078] V Q =V CC -V 1out (4).
[0079] Among them, the extreme saturation conduction state of the transistor on the secondary side of the optocoupler U1 is the case where the secondary side current of the optocoupler U1 is at the maximum value. Q V is the voltage difference between the secondary output of optocoupler U1 and GND (ground). CC is the output voltage of the switching power supply, V 1out The secondary side of the optocoupler U1 and the resistor R out (Right now Figure 2 The divided voltage of the resistor ROUT in the circuit.
[0080] It should be noted that R n+1 To R 2n-1 (n≥2) is only used for voltage division, so the resistor R n+1 (Right now Figure 2 resistor RN+1) to resistor R 2n-1 (Right now Figure 2 The resistance of each resistor in R2N-1) is much smaller than R n , if transistor Q1 (i.e. Figure 2 transistor Q1) to transistor Q n (Right now Figure 2 The conduction voltage drop of each transistor in the transistor QN (n ≥ 2) is V γ , then the resistance of the two (that is, the resistance R n+1 To resistor R 2n-1 , and the resistor R out ) should satisfy:
[0081]
[0082] Among them, R n+1 is the resistance R n+1 (Right now Figure 2 The resistance of the resistor RN+1) in 2n-1 is the resistance R 2n-1 (Right now Figure 2 The resistance value of the resistor R2N-1) in out is the resistance R out (Right now Figure 2 The resistance value of the resistor ROUT in γ Transistor Q1 to transistor Q n The conduction voltage drop of each transistor in (n≥2), V CC is the output voltage of the switching power supply, V β It is the conduction voltage drop of the transistor on the secondary side of the optocoupler U1.
[0083] Then transistor Q1 to transistor Q n The number of transistors that are actually turned on in (n≥2) is:
[0084]
[0085] Where [] is the logarithm rounded. λ is the value of transistor Q1 to transistor Q n (n≥2) is the number of transistors that are actually turned on, V CC is the output voltage of the switching power supply, V β is the conduction voltage drop of the transistor on the secondary side of the optocoupler U1, V γ Transistor Q1 to transistor Q n The conduction voltage drop of each transistor in (n≥2).
[0086] Second, the following discusses the case where the optocoupler U1 is in conduction and the transistor on the secondary side of the optocoupler U1 is in the limit saturated conduction state (the number of dummy load branches M=1):
[0087] If the transistor on the secondary side of the optocoupler U1 is in the limit saturation conduction state, the current I out for:
[0088]
[0089] Among them, I out is the current on the secondary side of the optocoupler U1, V CC is the output voltage of the switching power supply, V γ Transistor Q1 to transistor Q n (n≥2) The conduction voltage drop of each transistor, R n+1 is the resistance R n+1 (Right now Figure 2The resistance of the resistor RN+1) in 2n-1 is the resistance R 2n-1 (Right now Figure 2 The resistance value of the resistor R2N-1) in out is the resistance R out (Right now Figure 2 The resistance value of the resistor ROUT in the circuit.
[0090] It should be noted that here R n+1 To R 2n-1 (n≥2) also has the requirement of formula (5). In addition, in order to make the transistor on the secondary side of the optocoupler U1 in the limit saturation conduction state, the input current I applied to the primary side of the optocoupler U1 in Should meet:
[0091]
[0092] Among them, I out is the current on the secondary side of the optocoupler U1, CTR is the primary-to-secondary current transfer ratio of the optocoupler U1, I in is the input current of the optocoupler U1, and CTR is the primary-to-secondary current transfer ratio of the optocoupler U1.
[0093] Combining equations (1) and (8), we can get that the output voltage value of the WB_CONTROL pin is input to the AD port of the main control chip. When the output voltage of the AD port of the main control chip is V in satisfy:
[0094]
[0095] Then transistor Q1 to transistor Q n The number of transistors that are actually turned on in (n≥2) is:
[0096] λ=n(10).
[0097] Among them, λ is the value of transistor Q1 to transistor Q n (n≥2) is the number of transistors actually conducting, n is the number of transistors Q1 to Q n (n≥2) is the number of transistors.
[0098] In the scheme of the present invention, by determining the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply, the effect of adjusting the voltage fluctuation value of the output voltage of the switching power supply under load changes can be achieved. By autonomously adjusting the voltage fluctuation value of the output voltage of the switching power supply, the robustness of the switching power supply can be enhanced, the voltage fluctuation value of the output voltage of the switching power supply can be reduced, and the quality of the output voltage of the switching power supply can be improved. At the same time, compared with directly adding a dummy load in the related scheme, it can reduce energy loss to a certain extent and reduce the overall standby power consumption of the control system where the electrical equipment of the switching power supply is located.
[0099] In some embodiments, the main control module controls the control ends of the M dummy load branches so that the M dummy load branches are connected to the output end of the switching power supply so that the output voltage fluctuation value of the switching power supply is within a preset safety range value, including:
[0100] The main control module is further specifically used to control the control ends of the M dummy load branches to connect the M dummy load branches to the output end of the switching power supply after determining the number M of the dummy load branches in the dummy load module that need to be connected to the output end of the switching power supply, and control the switching power supply to continue operating; and return after a set time to re-determine whether the dummy load module needs to be connected to the output end of the switching power supply based on the operating parameters of the switching power supply.
[0101] The main control module is further specifically used to control the control ends of the M dummy load branches so that the M dummy load branches are connected to the output end of the switching power supply after a set time. If it is still determined that the dummy load module needs to be connected to the output end of the switching power supply, then determine whether M is less than N for the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply.
[0102] The main control module is further specifically used to increase the number M of the dummy load branches in the dummy load module that need to be connected to the output end of the switching power supply based on the N dummy load branches of the dummy load module according to a set increase method (such as increasing one by one) if it is determined that M is less than N, update the number M of the dummy load branches in the dummy load module that need to be connected to the output end of the switching power supply according to the increase result, obtain a new number M of the dummy load branches in the dummy load module that need to be connected to the output end of the switching power supply, control the control ends of the new M dummy load branches so that the new M dummy load branches are connected to the output end of the switching power supply, and control the switching power supply to continue to operate; return after a set time to re-determine whether the dummy load module needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply, and repeat this cycle.
[0103] The main control module is further configured to control the switch power supply to suspend supplying power to the connected load if it is determined that M is not less than N, that is, if it is determined that M=N, and initiate a prompt message that the switch power supply suspends supplying power to the connected load. Controlling the switch power supply to suspend supplying power to the connected load may be to disconnect the power switch between the switch power supply and the connected load.
[0104] Figure 3 The following is a basic functional logic diagram of a method for controlling the output voltage of a single-output switching power supply with load variation. Figure 3 The basic functional logic modules of the method for controlling the output voltage of a single-channel output switching power supply with load changes shown in the figure include: power output, operating load, dummy load, dummy load module, voltage acquisition module, main control chip, storage module, and alarm module. Figure 3 As shown in FIG. 1 , the basic functional logic of the method for controlling the output voltage of a single-output switching power supply with load variation includes:
[0105] Step 11. When the electrical device is powered on, the main control chip reads the theoretical value information about the output voltage of the switching power supply and the last operating status of the electrical device in the storage module to determine whether the electrical device is abnormal. If it is abnormal, the electrical device enters the alarm state and the alarm module immediately issues an early warning. If there is no abnormality, execute step 12 to control the normal operation of the electrical device.
[0106] Among them, the last operating state is a prompt message that the switching power supply suspends supplying power to the connected load; it is determined whether the last prompt message of the switching power supply suspending supplying power to the connected load stored in the main control chip exists: if it exists, it continues to enter the alarm state, that is, initiates a prompt message that the switching power supply suspends supplying power to the connected load.
[0107] Step 12: The electrical equipment operates normally, and then the voltage acquisition module collects the voltage value of the switching power supply output voltage and compares it with the theoretical value of the switching power supply output voltage, and then passes the dummy load module (such as Figure 2 The control circuit of the switching power supply output voltage shown in the figure) is used to control the size of the actually connected dummy load. If it is still difficult to control the output voltage of the switching power supply through the dummy load module, the electrical equipment enters the alarm state, and the alarm module immediately issues an early warning and stores the relevant information at this moment through the storage module.
[0108] Figure 4 The control flow diagram of the method for controlling the output voltage of a single-output switching power supply with load variation is shown in FIG. Figure 4 As shown, the control flow of the method for controlling the output voltage of a single-output switching power supply with load variation includes:
[0109] Step 21, when the power-consuming device is turned on, the main control chip constantly obtains the output voltage of the switching power supply at this moment, determines the voltage fluctuation value X of the output voltage of the switching power supply at this moment, and judges whether the voltage fluctuation value X of the output voltage of the switching power supply at this moment is within the preset safety range value [0, X1): if the voltage fluctuation value X of the output voltage of the switching power supply at this moment is within the preset safety range value [0, X1), the main control chip does not control the operating state of the switching power supply; otherwise, that is, when the voltage fluctuation value X of the output voltage of the switching power supply at this moment is outside the preset safety range value [0, X1), execute step 22.
[0110] Step 22, if the voltage fluctuation value X of the output voltage of the switching power supply at this moment is outside the preset safety range value [0, X1) (i.e., X>X1), the main control chip obtains the number λ of the transistors actually turned on in the dummy load module according to the output voltage value of the WB_CONTROL pin at this moment, and determines whether λ<n is satisfied: if so, execute step 23, otherwise execute step 24.
[0111] Among them, the WB_CONTROL pin is a pin for controlling the number of transistors that are turned on. The output voltage value of the WB_CONTROL pin will determine the number of transistors that are turned on. Therefore, after determining the number of transistors that need to be turned on, that is, the number of dummy load branches, the main control chip outputs the corresponding voltage value. The voltage value calculation here can be seen in formulas 1 to 10.
[0112] Step 23, if the number of transistors actually turned on in the dummy load module λ<n, the main control chip increases the output voltage value of the WB_CONTROL pin to increase the number of transistors actually turned on in the dummy load module. If the number of transistors actually turned on in the dummy load module is increased by 1 to increase the dummy load power, the process returns to step 21. If the collected voltage fluctuation value X of the output voltage of the switching power supply has not yet dropped to the preset safety range value [0, X1), the number of transistors actually turned on in the dummy load module continues to be increased to reduce the voltage fluctuation value X of the output voltage of the switching power supply.
[0113] Step 24: If the number of transistors actually turned on in the dummy load module λ=n and the voltage fluctuation value X>X1 of the output voltage of the switching power supply, the control system where the electrical equipment is located will alarm and switch to standby mode, that is, the electrical equipment will be controlled to suspend operation.
[0114] Among them, as above Figure 2 In the example shown, the number of dummy loads turned on can be increased or decreased accordingly; Figure 4 In the embodiment, the control threshold area of the output voltage of the switching power supply can be increased or decreased accordingly, such as the division of the preset safety range value [0, X1), and the control can be operated and judged according to this logic.
[0115] Figure 5 The figure is a structural diagram of a specific embodiment of a control circuit for outputting a voltage of a switching power supply. Figure 5 Based on Figure 2 A specific implementation scheme of the control circuit diagram of the switching power supply output voltage shown in FIG. Figure 5 The dummy load resistor can be selected according to actual needs. Figure 5 In the example shown, the AD port output voltage range of the main control chip is 0V to 5V, and the switching power supply output voltage V CC =12V, the voltage drop of the LED on the primary side of the optocoupler U1 is V α =1.6V.
[0116] like Figure 5 As shown, when n=3, transistors Q1 to Q n (n≥2), specifically including transistor Q1, transistor Q2 and transistor Q3. Resistor RN+1 to resistor R2N-1, specifically including resistor R4 and resistor R5. Among them, when V in When ≤1.6V, the optocoupler U1 is not conducting, and the primary current I in =0.
[0117] If only one transistor needs to be turned on, that is, transistor Q1 is turned on (the transistor on the secondary side of optocoupler U1 is in the limit saturation conduction state), if R4=R5=150Ω, R out=7KΩ, the conduction voltage drop of each transistor from transistor Q1 to transistor Q3 is V γ =0.7V, the transistor conduction voltage drop V β =0.3V, then:
[0118]
[0119] If the primary-to-secondary current transfer ratio of the optocoupler U1 is CTR = 0.5, and the primary LED voltage drop V α =1.6V, R in =1KΩ, then:
[0120]
[0121] So when V in When ≥4.61V, only one transistor is turned on.
[0122] If all three transistors need to be turned on, then:
[0123]
[0124] And then:
[0125]
[0126] Therefore, when 1.6V<V in When ≤4.27V, the three transistors are turned on.
[0127] If only two transistors need to be turned on, that is, transistor Q1 and transistor Q2 are turned on, when 4.27V<V in When <4.61V, the two transistors are turned on.
[0128] Figure 6 The figure is a comparison diagram of the switching power supply output voltage and its ripple waveform diagram before and after the switching power supply output voltage is controlled, wherein (a) is a schematic diagram of the switching power supply output voltage and its ripple waveform diagram before the switching power supply output voltage is controlled, and (b) is a schematic diagram of the switching power supply output voltage and its ripple waveform diagram after the switching power supply output voltage is controlled. Figure 6 In the figure (a), the green line represents the schematic diagram of the waveform of the switching power supply output voltage before the switching power supply output voltage is controlled, and the yellow line represents the schematic diagram of the ripple waveform of the switching power supply output voltage before the switching power supply output voltage is controlled; Figure 6 In the figure (b), the green line represents the schematic diagram of the waveform of the switching power supply output voltage before the switching power supply output voltage is controlled, and the yellow line represents the schematic diagram of the ripple waveform of the switching power supply output voltage before the switching power supply output voltage is controlled.
[0129] Figure 6 Based on Figure 5 The 12V output voltage of the switching power supply and its ripple waveform collected by a specific embodiment of the control circuit of the output voltage of the switching power supply shown in the figure, when the output voltage value of the WB_CONTROL pin of the main control chip is 0V, all the load triodes are not turned on, and at this time the switching power supply has no dummy load, when the 12V load of the switching power supply instantly changes to 0, the ripple size of the 12V output voltage of the switching power supply is 2.28V, and the voltage fluctuation value of the 12V output voltage of the switching power supply is 2.8V; when the output voltage value of the WB_CONTROL pin of the main control chip is 5V, all the load triodes are turned on, and at this time the dummy load power of the switching power supply is maximum, similarly when the 12V load of the switching power supply instantly changes to 0, the ripple size of the 12V output voltage of the switching power supply is 582mV, and the voltage fluctuation value of the 12V output voltage of the switching power supply is 1.2V, and the voltage fluctuation value of the 12V output voltage of the switching power supply is greatly reduced.
[0130] In the scheme of the present invention, by controlling the control ends of the M dummy load branches so that the M dummy load branches are connected to the output end of the switching power supply when the load changes, the robustness of the switching power supply can be enhanced to a certain extent, and the voltage fluctuation value of the output voltage of the switching power supply can be reduced, thereby improving the quality of the output voltage of the switching power supply; at the same time, compared with directly adding a dummy load in the related scheme, it can reduce the energy loss to a certain extent and reduce the standby power consumption of the overall control system where the electrical equipment of the switching power supply is located.
[0131] According to the technical solution of the present invention, a dummy load connected in parallel with an actual load is provided for a switching power supply, and a dummy load module for controlling the access power of the dummy load is provided; during the operation of the switching power supply, the access power of the dummy load is controlled according to the voltage fluctuation value of the output voltage of the switching power supply or the voltage fluctuation timing of the output voltage of the switching power supply to adjust the load power of the switching power supply, thereby achieving the effect of regulating the voltage fluctuation value of the output voltage of the switching power supply when the load of the switching power supply changes; thus, the voltage fluctuation value of the output voltage of the switching power supply is adjusted by controlling the access power of the dummy load when the load of the switching power supply changes, thereby reducing the voltage fluctuation value of the output voltage of the switching power supply and improving the quality of the output voltage of the switching power supply.
[0132] According to an embodiment of the present invention, a switching power supply system corresponding to the control device of the switching power supply is also provided. The switching power supply system may include: the control device of the switching power supply described above. The switching power supply system may include a power supply device including the control device of the switching power supply described above, or an electric device including the control device of the switching power supply described above.
[0133] Since the processing and functions implemented by the switching power supply system of this embodiment basically correspond to the embodiments, principles and examples of the control device of the switching power supply, for the details not described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments and will not be repeated here.
[0134] According to an embodiment of the present invention, a control method for a switching power supply corresponding to a switching power supply system is also provided. Figure 7 The flowchart of an embodiment of the method of the present invention is shown in FIG. The control method of the switching power supply may include: steps S110 to S140.
[0135] In step S110, when the switching power supply is in operation, the operating parameters of the switching power supply are sampled; wherein the switching power supply is in operation, that is, the electrical equipment powered by the switching power supply is in operation.
[0136] In step S120, it is determined whether the dummy load module needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply.
[0137] In some implementations, the operating parameters of the switching power supply include at least one of the following: an output voltage fluctuation value of the switching power supply, and an operating time of a load connected to the switching power supply.
[0138] For the specific process of determining whether it is necessary to connect the dummy load module to the output end of the switching power supply according to the operating parameters of the switching power supply in step S120, refer to the following exemplary description.
[0139] Combine the following Figure 8 The flowchart of an embodiment of determining whether it is necessary to connect the dummy load module to the output end of the switching power supply in the method of the present invention is shown, which further illustrates the specific process of determining whether it is necessary to connect the dummy load module to the output end of the switching power supply in the wavelet packet analysis of online monitoring of step S120, including: steps S210 to S230.
[0140] Step S210, determining whether at least one of the following is satisfied: the output voltage fluctuation value of the switching power supply is greater than the upper limit of a preset safety range value, and the operating time of the load connected to the switching power supply is greater than the preset load adjustment time; wherein the operating time of the load connected to the switching power supply is the operating time of the electrical equipment powered by the switching power supply.
[0141] Step S220, if it is determined that the condition is not satisfied, then it is determined that it is not necessary to connect the dummy load module to the output end of the switching power supply;
[0142] Step S230: If it is determined that the conditions are met, it is determined that the dummy load module needs to be connected to the output end of the switching power supply.
[0143] In the scheme of the present invention, it is determined whether the dummy load module needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply, so as to adjust the voltage fluctuation value of the output voltage of the switching power supply under load changes. Through the control scheme of the output voltage of the single-channel output switching power supply with load changes, the effect of adjusting the voltage fluctuation value of the output voltage of the switching power supply under load changes can be achieved. By autonomously adjusting the voltage fluctuation value of the output voltage of the switching power supply, the robustness of the switching power supply can be enhanced, and the voltage fluctuation value of the output voltage of the switching power supply can be reduced, thereby improving the quality of the output voltage of the switching power supply; at the same time, compared with directly adding a dummy load in the related scheme, it can reduce power loss to a certain extent and reduce the overall standby power consumption of the control system where the electrical equipment of the switching power supply is located.
[0144] In step S130, if it is determined that the dummy load module does not need to be connected to the output end of the switching power supply, the dummy load module is not controlled to be connected to the input end of the switching power supply, and the switching power supply is controlled to continue to operate.
[0145] At step S140, if it is determined that the dummy load module needs to be connected to the output end of the switching power supply, the number M of the dummy load branches in the dummy load module that need to be connected to the output end of the switching power supply is determined according to the operating parameters of the switching power supply, the control ends of the M dummy load branches are controlled so that the M dummy load branches are connected to the output end of the switching power supply, and the switching power supply is controlled to continue operating, specifically, the M dummy load branches in the dummy load module are controlled to be connected to the output end of the switching power supply so that the output voltage fluctuation value of the switching power supply is within a preset safety range value; wherein M is a positive integer and M≤N, and the preset safety range value is such as [0,X1).
[0146] The implementation premise of a control scheme for the output voltage of a single-channel output switching power supply with load changes proposed in the solution of the present invention is that the main control chip has obtained the voltage fluctuation value of the output voltage of the switching power supply at this time. When the voltage fluctuation value of the output voltage of the switching power supply exceeds the preset safety range value due to the load change, the main control chip immediately outputs an analog voltage value, and controls the dummy load to be turned on through the control circuit of the output voltage of the switching power supply. If the voltage fluctuation value of the output voltage of the switching power supply does not drop to the preset safety range value within a fixed time, the main control chip adjusts the output analog voltage value, and then changes the size of the dummy load connected to the switching power supply corresponding to the output analog voltage value, until the voltage fluctuation value of the output voltage of the switching power supply is stabilized to within the preset safety range value.
[0147] In some implementations, the operating parameters of the switching power supply include at least one of the following: an output voltage fluctuation value of the switching power supply, and an operating time of a load connected to the switching power supply.
[0148] In step S140, when it is determined that the dummy load module needs to be connected to the output end of the switching power supply, the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is determined according to the operating parameters of the switching power supply, including any of the following determination situations:
[0149] The first determination scenario: when the operating parameter of the switching power supply is the output voltage fluctuation value of the switching power supply, when the control device of the switching power supply further includes an optocoupler module, and each of the dummy load branches in the dummy load module includes a switch tube module, if the optocoupler module is turned on, and the transistor in the optocoupler module is not in the limit saturation conduction state, then the number M of the dummy load branches in the dummy load module connected to the output end of the switching power supply is:
[0150]
[0151] Where λ = M, V CC is the output voltage of the switching power supply, V γ is the on-state voltage drop of the switch tube module in each of the dummy load branches in the dummy load module, and [] is the logarithm rounded off.
[0152] The second determination scenario: when the operating parameter of the switching power supply is the output voltage fluctuation value of the switching power supply, when the control device of the switching power supply also includes an optocoupler module, and each of the dummy load branches in the dummy load module includes a switching tube module, if the optocoupler module is turned on and the transistor in the optocoupler module is in an extreme saturated conduction state, then the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is N.
[0153] A third determination scenario: when the operating parameter of the switching power supply is the operating time of the load connected to the switching power supply, based on the correspondence between the set operating time and the set load adjustment amount, the set load adjustment amount corresponding to the set operating time that is the same as the operating time of the load connected to the switching power supply in the corresponding relationship is determined as the load adjustment amount of the switching power supply corresponding to the operating time of the load connected to the switching power supply; the dummy load adjustment amount corresponding to the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is the same as the load adjustment amount of the switching power supply.
[0154] exist Figure 2In the example shown, the WB_CONTROL pin of the control circuit of the switching power supply output voltage is connected to the AD port of the main control chip. If the output voltage of the AD port of the main control chip is V in , the output voltage of the switching power supply is V CC , the voltage drop of the primary LED of the optocoupler U1 is V α , when V in ≤V α When the optocoupler U1 is not conducting, the input current I in =0; when V in >V α When the current is applied to the primary side of the optocoupler U1, the LED and resistor R in (Right now Figure 2 The resistor RIN in the middle generates the input current I of the optocoupler U1. in for:
[0155]
[0156] Among them, I in is the input current of optocoupler U1, V in The AD port output voltage of the main control chip, V α is the primary LED voltage drop of the optocoupler U1, R in is the resistance R in (Right now Figure 2 The resistance value of the resistor RIN in the circuit.
[0157] First, the following discusses the case where the optocoupler U1 is turned on and the transistor on the secondary side of the optocoupler U1 is not in the limit saturation conduction state:
[0158] If the primary-to-secondary current transfer ratio of the optocoupler U1 is CTR, then the secondary current I out for:
[0159] I out =CTR*I in (2).
[0160] Among them, I out is the current on the secondary side of the optocoupler U1, CTR is the primary-to-secondary current transfer ratio of the optocoupler U1, I in is the input current of optocoupler U1.
[0161] If the conduction voltage drop of the transistor on the secondary side of the optocoupler U1 is V β , then by calculation, we can get the secondary side of the optocoupler U1 and the resistor R out (Right now Figure 2 The divided voltage V 1out for:
[0162] V 1out =Iout *R out +V β (3).
[0163] Among them, V 1out The secondary side of the optocoupler U1 and the resistor R out (Right now Figure 2 The divided voltage of the resistor ROUT in the out is the current on the secondary side of the optocoupler U1, R out is the resistance R out (Right now Figure 2 The resistance value of the resistor ROUT in β It is the conduction voltage drop of the transistor on the secondary side of the optocoupler U1.
[0164] Therefore, the voltage difference between the secondary output of the optocoupler U1 and GND (ground) is V Q for:
[0165] V Q =V CC -V 1out (4).
[0166] Among them, the extreme saturation conduction state of the transistor on the secondary side of the optocoupler U1 is the case where the secondary side current of the optocoupler U1 is at the maximum value. Q V is the voltage difference between the secondary output of optocoupler U1 and GND (ground). CC is the output voltage of the switching power supply, V 1out The secondary side of the optocoupler U1 and the resistor R out (Right now Figure 2 The divided voltage of the resistor ROUT in the circuit.
[0167] It should be noted that R n+1 To R 2n-1 (n≥2) is only used for voltage division, so the resistor R n+1 (Right now Figure 2 resistor RN+1) to resistor R 2n-1 (Right now Figure 2 The resistance of each resistor in R2N-1) is much smaller than R n , if transistor Q1 (i.e. Figure 2 transistor Q1) to transistor Q n (Right now Figure 2 The conduction voltage drop of each transistor in the transistor QN (n ≥ 2) is V γ , then the resistance of the two (that is, the resistance R n+1 To resistor R 2n-1 , and the resistor R out ) should satisfy:
[0168]
[0169] Among them, R n+1 is the resistance R n+1 (Right now Figure 2 The resistance of the resistor RN+1) in 2n-1 is the resistance R 2n-1 (Right now Figure 2 The resistance value of the resistor R2N-1) in out is the resistance R out (Right now Figure 2 The resistance value of the resistor ROUT in γ Transistor Q1 to transistor Q n The conduction voltage drop of each transistor in (n≥2), V CC is the output voltage of the switching power supply, V β It is the conduction voltage drop of the transistor on the secondary side of the optocoupler U1.
[0170] Then transistor Q1 to transistor Q n The number of transistors that are actually turned on in (n≥2) is:
[0171]
[0172] Where [] is the logarithm rounded. λ is the value of transistor Q1 to transistor Q n (n≥2) is the number of transistors that are actually turned on, V CC is the output voltage of the switching power supply, V β is the conduction voltage drop of the transistor on the secondary side of the optocoupler U1, V γ Transistor Q1 to transistor Q n The conduction voltage drop of each transistor in (n≥2).
[0173] Secondly, the following discusses the case where the optocoupler U1 is in conduction and the transistor on the secondary side of the optocoupler U1 is in the extreme saturation conduction state:
[0174] If the transistor on the secondary side of the optocoupler U1 is in the limit saturation conduction state, the current I out for:
[0175]
[0176] Among them, I out is the current on the secondary side of the optocoupler U1, V CC is the output voltage of the switching power supply, V γ Transistor Q1 to transistor Q n (n≥2) The conduction voltage drop of each transistor, R n+1 is the resistance R n+1 (Right now Figure 2 The resistance of the resistor RN+1) in2n-1 is the resistance R 2n-1 (Right now Figure 2 The resistance value of the resistor R2N-1) in out is the resistance R out (Right now Figure 2 The resistance value of the resistor ROUT in the circuit.
[0177] It should be noted that here R n+1 To R 2n-1 (n≥2) also has the requirement of formula (5). In addition, in order to make the transistor on the secondary side of the optocoupler U1 in the limit saturation conduction state, the input current I applied to the primary side of the optocoupler U1 in Should meet:
[0178]
[0179] Among them, I out is the current on the secondary side of the optocoupler U1, CTR is the primary-to-secondary current transfer ratio of the optocoupler U1, I in is the input current of the optocoupler U1, and CTR is the primary-to-secondary current transfer ratio of the optocoupler U1.
[0180] Combining equations (1) and (8), we can get that when the output voltage value of the WB_CONTROL pin is input to the AD port of the main control chip, the output voltage of the AD port of the main control chip is V in satisfy:
[0181]
[0182] Then transistor Q1 to transistor Q n The number of transistors that are actually turned on in (n≥2) is:
[0183] λ=n (10).
[0184] Among them, λ is the value of transistor Q1 to transistor Q n (n≥2) is the number of transistors actually conducting, n is the number of transistors Q1 to Q n (n≥2) is the number of transistors.
[0185] In the scheme of the present invention, by determining the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply, the effect of adjusting the voltage fluctuation value of the output voltage of the switching power supply under load changes can be achieved. By autonomously adjusting the voltage fluctuation value of the output voltage of the switching power supply, the robustness of the switching power supply can be enhanced, the voltage fluctuation value of the output voltage of the switching power supply can be reduced, and the quality of the output voltage of the switching power supply can be improved. At the same time, compared with directly adding a dummy load in the related scheme, it can reduce energy loss to a certain extent and reduce the overall standby power consumption of the control system where the electrical equipment of the switching power supply is located.
[0186] In some implementations, the specific process of controlling the control ends of the M dummy load branches in step S140 so that the M dummy load branches are connected to the output end of the switching power supply is described in the following exemplary embodiments.
[0187] Combine the following Fig. 9 The flowchart of an embodiment of controlling the control ends of the M dummy load branches in the method of the present invention so that the M dummy load branches are connected to the output end of the switching power supply is shown, further illustrating the specific process of controlling the control ends of the M dummy load branches in step S140 so that the M dummy load branches are connected to the output end of the switching power supply, including: steps S310 to S340.
[0188] Step S310, after determining the number M of the dummy load branches in the dummy load module that need to be connected to the output end of the switching power supply, control the control ends of the M dummy load branches to connect the M dummy load branches to the output end of the switching power supply, and control the switching power supply to continue operating; return after a set time to re-determine whether the dummy load module needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply.
[0189] Step S320, after a set time after controlling the control ends of the M dummy load branches so that the M dummy load branches are connected to the output end of the switching power supply, if it is still determined that the dummy load module needs to be connected to the output end of the switching power supply, then for the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply, determine whether M is less than N.
[0190] Step S330, if it is determined that M is less than N, then based on the N dummy load branches of the dummy load module, the number M of the dummy load branches in the dummy load module that need to be connected to the output end of the switching power supply is increased according to a set increase method (such as increasing one by one), and the number M of the dummy load branches in the dummy load module that need to be connected to the output end of the switching power supply is updated according to the increase result to obtain a new number M of the dummy load branches in the dummy load module that need to be connected to the output end of the switching power supply, and the control ends of the new M dummy load branches are controlled to connect the new M dummy load branches to the output end of the switching power supply, and the switching power supply is controlled to continue to operate; after a set time, return to determine whether the dummy load module needs to be connected to the output end of the switching power supply again according to the operating parameters of the switching power supply, and repeat this cycle.
[0191] Step S340: If it is determined that M is not less than N, that is, it is determined that M=N, the switching power supply is controlled to suspend supplying power to the connected load, and a prompt message is sent to indicate that the switching power supply suspends supplying power to the connected load.
[0192] Figure 3 The following is a basic functional logic diagram of a method for controlling the output voltage of a single-output switching power supply with load variation. Figure 3 The basic functional logic modules of the method for controlling the output voltage of a single-channel output switching power supply with load changes shown in the figure include: power output, operating load, dummy load, dummy load module, voltage acquisition module, main control chip, storage module, and alarm module. Figure 3 As shown in FIG. 1 , the basic functional logic of the method for controlling the output voltage of a single-output switching power supply with load variation includes:
[0193] Step 11. When the electrical device is powered on, the main control chip reads the theoretical value information about the output voltage of the switching power supply and the last operating status of the electrical device in the storage module to determine whether the electrical device is abnormal. If it is abnormal, the electrical device enters the alarm state and the alarm module immediately issues an early warning. If there is no abnormality, execute step 12 to control the normal operation of the electrical device.
[0194] Step 12: The electrical equipment operates normally, and then the voltage acquisition module collects the voltage value of the switching power supply output voltage and compares it with the theoretical value of the switching power supply output voltage, and then passes the dummy load module (such as Figure 2 The control circuit of the switching power supply output voltage shown in the figure is used to control the size of the dummy load of the control system where the electrical equipment is actually connected. If it is still difficult to control the output voltage of the switching power supply through the dummy load module, the electrical equipment enters the alarm state, and the alarm module immediately issues an early warning and stores the relevant information at this moment through the storage module.
[0195] Figure 4 The control flow diagram of the method for controlling the output voltage of a single-output switching power supply with load variation is shown in FIG. Figure 4 As shown, the control flow of the method for controlling the output voltage of a single-output switching power supply with load variation includes:
[0196] Step 21, when the power-consuming device is turned on, the main control chip constantly obtains the output voltage of the switching power supply at this moment, determines the voltage fluctuation value X of the output voltage of the switching power supply at this moment, and judges whether the voltage fluctuation value X of the output voltage of the switching power supply at this moment is within the preset safety range value [0, X1): if the voltage fluctuation value X of the output voltage of the switching power supply at this moment is within the preset safety range value [0, X1), the main control chip does not control the operating state of the switching power supply; otherwise, that is, when the voltage fluctuation value X of the output voltage of the switching power supply at this moment is outside the preset safety range value [0, X1), execute step 22.
[0197] Step 22, if the voltage fluctuation value X of the output voltage of the switching power supply at this moment is outside the preset safety range value [0, X1) (i.e., X>X1), the main control chip obtains the number λ of the transistors actually turned on in the dummy load module according to the output voltage value of the WB_CONTROL pin at this moment, and determines whether λ<n is satisfied: if so, execute step 23, otherwise execute step 24.
[0198] Step 23, if the number of transistors actually turned on in the dummy load module λ<n, the main control chip increases the output voltage value of the WB_CONTROL pin to increase the number of transistors actually turned on in the dummy load module. If the number of transistors actually turned on in the dummy load module is increased by 1 to increase the dummy load power, the process returns to step 21. If the collected voltage fluctuation value X of the output voltage of the switching power supply has not yet dropped to the preset safety range value [0, X1), the number of transistors actually turned on in the dummy load module continues to be increased to reduce the voltage fluctuation value X of the output voltage of the switching power supply.
[0199] Step 24: If the number of transistors actually turned on in the dummy load module λ=n and the voltage fluctuation value X>X1 of the output voltage of the switching power supply, the control system where the electrical equipment is located will alarm and switch to standby mode, that is, the electrical equipment will be controlled to suspend operation.
[0200] Among them, as above Figure 2 In the example shown, the number of dummy loads turned on can be increased or decreased accordingly; Figure 4 In the embodiment, the control threshold area of the output voltage of the switching power supply can be increased or decreased accordingly, such as the division of the preset safety range value [0, X1), and the control can be operated and judged according to this logic.
[0201] Figure 5The figure is a structural diagram of a specific embodiment of a control circuit for outputting a voltage of a switching power supply. Figure 5 Based on Figure 2 A specific implementation scheme of the control circuit diagram of the switching power supply output voltage shown in FIG. Figure 5 The dummy load resistor can be selected according to actual needs. Figure 5 In the example shown, the AD port output voltage range of the main control chip is 0V to 5V, and the switching power supply output voltage V CC =12V, the voltage drop of the LED on the primary side of the optocoupler U1 is V α =1.6V.
[0202] like Figure 5 As shown, when n=3, transistors Q1 to Q n (n≥2), specifically including transistor Q1, transistor Q2 and transistor Q3. Resistor RN+1 to resistor R2N-1, specifically including resistor R4 and resistor R5. Among them, when V in When ≤1.6V, the optocoupler U1 is not conducting, and the primary current I in =0.
[0203] If only one transistor needs to be turned on, that is, transistor Q1 is turned on (the transistor on the secondary side of optocoupler U1 is in the limit saturation conduction state), if R4=R5=150Ω, R out =7KΩ, the conduction voltage drop of each transistor from transistor Q1 to transistor Q3 is V γ =0.7V, the transistor conduction voltage drop V β =0.3V, then:
[0204]
[0205] If the primary-to-secondary current transfer ratio of the optocoupler U1 is CTR = 0.5, and the primary LED voltage drop V α =1.6V, R in =1KΩ, then:
[0206]
[0207] So when V in When ≥4.61V, only one transistor is turned on.
[0208] If all three transistors need to be turned on, then:
[0209]
[0210] And then:
[0211]
[0212] Therefore, when 1.6V<V in When ≤4.27V, the three transistors are turned on.
[0213] If only two transistors need to be turned on, that is, transistor Q1 and transistor Q2 are turned on, when 4.27V<V in When <4.61V, the two transistors are turned on.
[0214] Figure 6 The figure is a comparison diagram of the switching power supply output voltage and its ripple waveform diagram before and after the switching power supply output voltage is controlled, wherein (a) is a schematic diagram of the switching power supply output voltage and its ripple waveform diagram before the switching power supply output voltage is controlled, and (b) is a schematic diagram of the switching power supply output voltage and its ripple waveform diagram after the switching power supply output voltage is controlled. Figure 6 In the figure (a), the green line represents the schematic diagram of the waveform of the switching power supply output voltage before the switching power supply output voltage is controlled, and the yellow line represents the schematic diagram of the ripple waveform of the switching power supply output voltage before the switching power supply output voltage is controlled; Figure 6 In the figure (b), the green line represents the schematic diagram of the waveform of the switching power supply output voltage before the switching power supply output voltage is controlled, and the yellow line represents the schematic diagram of the ripple waveform of the switching power supply output voltage before the switching power supply output voltage is controlled.
[0215] Figure 6 Based on Figure 5 The 12V output voltage of the switching power supply and its ripple waveform collected by a specific embodiment of the control circuit of the output voltage of the switching power supply shown in the figure, when the output voltage value of the WB_CONTROL pin of the main control chip is 0V, all the load triodes are not turned on, and at this time the switching power supply has no dummy load, when the 12V load of the switching power supply instantly changes to 0, the ripple size of the 12V output voltage of the switching power supply is 2.28V, and the voltage fluctuation value of the 12V output voltage of the switching power supply is 2.8V; when the output voltage value of the WB_CONTROL pin of the main control chip is 5V, all the load triodes are turned on, and at this time the dummy load power of the switching power supply is maximum, similarly when the 12V load of the switching power supply instantly changes to 0, the ripple size of the 12V output voltage of the switching power supply is 582mV, and the voltage fluctuation value of the 12V output voltage of the switching power supply is 1.2V, and the voltage fluctuation value of the 12V output voltage of the switching power supply is greatly reduced.
[0216] In the scheme of the present invention, by controlling the control ends of the M dummy load branches so that the M dummy load branches are connected to the output end of the switching power supply when the load changes, the robustness of the switching power supply can be enhanced to a certain extent, and the voltage fluctuation value of the output voltage of the switching power supply can be reduced, thereby improving the quality of the output voltage of the switching power supply; at the same time, compared with directly adding a dummy load in the related scheme, it can reduce the energy loss to a certain extent and reduce the standby power consumption of the overall control system where the electrical equipment of the switching power supply is located.
[0217] Since the processing and functions implemented by the method of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned switching power supply system, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.
[0218] In summary, it is easy for those skilled in the art to understand that, under the premise of no conflict, the above-mentioned advantageous methods can be freely combined and superimposed.
[0219] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.
Claims
1. A control device for a switching power supply, characterized in that: include: Dummy load module, sampling module and main control module; The dummy load module comprises: a dummy load branch, wherein the dummy load branch is arranged at the output end of the switching power supply; the number of the dummy load branches is N, where N is a positive integer and N is greater than or equal to 1; wherein, The sampling module is used to sample the operating parameters of the switching power supply when the switching power supply is running; The main control module is used to determine whether the dummy load module needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply; If it is determined that the dummy load module does not need to be connected to the output end of the switching power supply, controlling the switching power supply to continue operating; If it is determined that the dummy load module needs to be connected to the output end of the switching power supply, the number M of the dummy load branches in the dummy load module that need to be connected to the output end of the switching power supply is determined according to the operating parameters of the switching power supply, and the control ends of the M dummy load branches are controlled so that the M dummy load branches are connected to the output end of the switching power supply, so that the output voltage fluctuation value of the switching power supply is within a preset safety range value; wherein M is a positive integer and M≤N.
2. The control device for the switching power supply according to claim 1, characterized in that: In the dummy load module, the N dummy load branches are arranged in sequence; For the N dummy load branches arranged in sequence, the control end of the first dummy load branch is controlled by the main control module; among the N-1 dummy load branches after the first dummy load branch, the control end of the latter dummy load branch is controlled by the output end of the previous dummy load branch, and the output end of the last dummy load branch is grounded.
3. The control device for a switching power supply according to claim 1, characterized in that: Also includes: Optocoupler module, output resistor module and input resistor module; wherein, The output end of the switching power supply is connected to the collector of the transistor in the optical coupling module after passing through the output resistance module; In the dummy load module, N dummy load branches are arranged in sequence; the emitter of the triode in the optical coupling module is connected to the control end of the first dummy load branch among the N dummy load branches; and for the N dummy load branches arranged in sequence, among the N-1 dummy load branches after the first dummy load branch, the control end of the latter dummy load branch is controlled by the output end of the former dummy load branch, and the output end of the last dummy load branch is grounded; The anode of the light emitting diode in the optical coupling module is connected to the AD port of the main control module after passing through the input resistance module; the cathode of the light emitting diode in the optical coupling module is grounded.
4. The control device for a switching power supply according to any one of claims 1 to 3, characterized in that: Each of the dummy load branches in the dummy load module includes: a main resistance module and a switch tube module; For each of the dummy load branches, the output end of the switching power supply is connected to the first connection end of the switch tube module in each of the dummy load branches after passing through the main resistance module in each of the dummy load branches; the second connection end of the switch tube module in each of the dummy load branches serves as the output end of each of the dummy load branches; the control end of the switch tube module in each of the dummy load branches serves as the control end of each of the dummy load branches and is used to receive the control signal of the main control module, and the control signal of the main control module is used to control the conduction or cutoff of the switch tube module in each of the dummy load branches; In the dummy load module, N dummy load branches are arranged in sequence; for two adjacent dummy load branches, the second connection end of the switch tube module in the previous dummy load branch is connected to the control end of the switch tube module in the next dummy load branch; For the N dummy load branches, the second connection end of the switch tube module in the last dummy load branch is grounded.
5. The control device for the switching power supply according to claim 4, characterized in that: The dummy load module further includes: an auxiliary resistance module; the number of the auxiliary resistance modules is N-1; For two adjacent dummy load branches, the second connection end of the switch tube module in the previous dummy load branch is connected to the second connection end of the switch tube module in the next dummy load branch after passing through one of the N-1 auxiliary resistor modules.
6. A switching power supply system, characterized in that: include: A control device for a switching power supply according to any one of claims 1 to 5.
7. A method for controlling a switching power supply according to any one of claims 1 to 5, characterized in that: include: When the switching power supply is running, sampling the operating parameters of the switching power supply; Determining whether it is necessary to connect the dummy load module to the output end of the switching power supply according to the operating parameters of the switching power supply; If it is determined that the dummy load module does not need to be connected to the output end of the switching power supply, controlling the switching power supply to continue operating; If it is determined that the dummy load module needs to be connected to the output end of the switching power supply, the number M of the dummy load branches in the dummy load module that need to be connected to the output end of the switching power supply is determined according to the operating parameters of the switching power supply, and the control ends of the M dummy load branches are controlled so that the M dummy load branches are connected to the output end of the switching power supply, so that the output voltage fluctuation value of the switching power supply is within a preset safety range value; wherein M is a positive integer and M≤N.
8. The control method of the switching power supply according to claim 7, characterized in that: The operating parameters of the switching power supply include at least one of the following: an output voltage fluctuation value of the switching power supply, and an operating time of a load connected to the switching power supply; Determining whether it is necessary to connect the dummy load module to the output end of the switching power supply according to the operating parameters of the switching power supply includes: Determine whether at least one of the following is satisfied: the output voltage fluctuation value of the switching power supply is greater than the upper limit of a preset safety range value, and the operation time of the load connected to the switching power supply is greater than a preset load adjustment time; If it is determined that the condition is not satisfied, it is determined that there is no need to connect the dummy load module to the output end of the switching power supply; If it is determined that the conditions are met, it is determined that the dummy load module needs to be connected to the output end of the switching power supply.
9. The control method of the switching power supply according to claim 7 or 8, characterized in that: The operating parameters of the switching power supply include at least one of the following: an output voltage fluctuation value of the switching power supply, and an operating time of a load connected to the switching power supply; Determining the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply includes: In the case where the operating parameter of the switching power supply is the output voltage fluctuation value of the switching power supply, in the case where the control device of the switching power supply further includes an optocoupler module, and each of the dummy load branches in the dummy load module includes a switch tube module, if the optocoupler module is turned on and the transistor in the optocoupler module is not in the limit saturated conduction state, the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is: Where λ = M, V CC is the output voltage of the switching power supply, V γ is the conduction voltage drop of the switch tube module in each of the dummy load branches in the dummy load module, [] is the logarithm rounded; In the case where the operating parameter of the switching power supply is the output voltage fluctuation value of the switching power supply, in the case where the control device of the switching power supply further includes an optocoupler module, and each of the dummy load branches in the dummy load module includes a switch tube module, if the optocoupler module is turned on and the transistor in the optocoupler module is in a limit saturated conduction state, then the number M of the dummy load branches in the dummy load module connected to the output end of the switching power supply is N; In the case where the operating parameter of the switching power supply is the operating time of the load connected to the switching power supply, according to the corresponding relationship between the set operating time and the set load adjustment amount, the set load adjustment amount corresponding to the set operating time that is the same as the operating time of the load connected to the switching power supply in the corresponding relationship is determined as the load adjustment amount of the switching power supply corresponding to the operating time of the load connected to the switching power supply; the dummy load adjustment amount corresponding to the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is the same as the load adjustment amount of the switching power supply.
10. The control method of the switching power supply according to any one of claims 7 to 9, characterized in that: Controlling the control ends of the M dummy load branches so that the M dummy load branches are connected to the output end of the switching power supply so that the output voltage fluctuation value of the switching power supply is within a preset safety range value, includes: Controlling the control ends of the M dummy load branches so that the M dummy load branches are connected to the output end of the switching power supply, and controlling the switching power supply to continue to operate; returning after a set time to re-determine whether the dummy load module needs to be connected to the output end of the switching power supply according to the operating parameters of the switching power supply; If it is still determined that the dummy load module needs to be connected to the output end of the switching power supply, determining whether M is less than N for the number M of dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply; If it is determined that M is less than N, then based on the N dummy load branches of the dummy load module, the number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply is increased according to a set increase method, so as to obtain a new number M of the dummy load branches in the dummy load module that needs to be connected to the output end of the switching power supply, and the control ends of the new M dummy load branches are controlled to connect the new M dummy load branches to the output end of the switching power supply, and the switching power supply is controlled to continue to operate; after a set time, return to determine whether the dummy load module needs to be connected to the output end of the switching power supply again according to the operating parameters of the switching power supply, and repeat this cycle; If it is determined that M is not less than N, the switching power supply is controlled to suspend supplying power to the connected load, and a prompt message is sent to indicate that the switching power supply suspends supplying power to the connected load.
Citation Information
Cited By
Control method and system of air conditioner power supply circuit and air conditioner power supply circuit
CN119674906A
