Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, provides a kind of and can guarantee in load changing, can make rapidly reflection, and controls the Switching Power Supply control method that output voltage remains unchanged, and wherein said method comprises:
Whether A, judgement load saltus step occurs;
B, obtain the first sampled signal, and generate the first sampled signal benchmark according to result of determination;
C, the difference based on described the first sampled signal benchmark and described the first sampled signal generate modulation signal;
D, the control signal based on described modulation signal generation main circuit switch.
In the control method of Switching Power Supply of the present invention, described step B further comprises:
B1, when load, not during saltus step, obtain the output voltage sampled signal, and the difference based on output voltage benchmark and described output voltage sampled signal generates the first sampled signal benchmark;
B2, when the load saltus step, and when the first sampled signal is the input current sampled signal, obtain bearing power sampled signal, input voltage sampled signal, adopt divider that described bearing power sampled signal, input voltage sampled signal are divided by and are generated the first sampled signal benchmark;
B3, when the load saltus step, and, when the first sampled signal is the output current sampled signal, obtain the load current sampled signal as the first sampled signal benchmark;
B4, when the load saltus step, and, when the first sampled signal is input power sampled signal or power output sampled signal, obtain the bearing power sampled signal as the first sampled signal benchmark.
In the control method of Switching Power Supply of the present invention, when main circuit is the AC/DC circuit, described step B comprises:
B11, when load, not during saltus step, obtain the output voltage sampled signal, and the difference formation voltage compensating signal based on output voltage benchmark and described output voltage sampled signal, and obtain the first sampled signal;
B21, when the load saltus step, selecting the first sampled signal is the input current sampled signal, and obtains the bearing power sampled signal as voltage compensation signal;
B31, adopt multiplier that described voltage compensation signal and input voltage sampled signal are multiplied each other, then with input voltage effective value sampled signal square reciprocal multiplication to generate the first sampled signal benchmark.
In the control method of Switching Power Supply of the present invention, described bearing power sampled signal is that output voltage sampled signal and load current sampled signal multiply each other, the input power sampled signal is that input voltage sampled signal and input current sampled signal multiply each other, and the power output sampled signal is that output voltage sampled signal and output current sampled signal multiply each other.
The present invention solves the another technical scheme that its technical problem adopts, and constructs a kind of control device of Switching Power Supply, comprising:
Load transition detection circuit, for judging whether saltus step of load;
The first sample circuit, for obtaining output voltage sampled signal and the first sampled signal;
Voltage compensator, generate the first sampled signal benchmark for the difference based on output voltage benchmark and output voltage sampled signal when described load transition detection circuit judges that load does not have saltus step;
The first sampled signal generation unit, for when described load transition detection circuit is judged the load saltus step, generate described the first sampled signal benchmark based on the first sampled signal;
The first sampled signal compensator, generate modulation signal for the difference based on described the first sampled signal benchmark and described the first sampled signal;
Signal generator, for generating the control signal of main circuit switch based on described modulation signal.
In the control device of Switching Power Supply of the present invention, when the load saltus step, and when the first sampled signal is the input current sampled signal, described the first sampled signal generation unit is divider, generates the first sampled signal benchmark for described bearing power sampled signal, input voltage sampled signal are divided by.
In the control device of Switching Power Supply of the present invention, when the load saltus step, and, when the first sampled signal is the output current sampled signal, described the first sampled signal generation unit is the load current sample circuit, for obtaining the load current sampled signal as the first sampled signal benchmark.
In the control device of Switching Power Supply of the present invention, when the load saltus step, and when the first sampled signal is input power sampled signal or power output sampled signal, described the first sampled signal generation unit is the bearing power sample circuit, for obtaining the bearing power sampled signal as the first sampled signal benchmark.
In the control device of Switching Power Supply of the present invention, when main circuit is the AC/DC circuit, described control device also comprises:
The second sample circuit, for obtaining input voltage effective value sampled signal;
Multiplier, generate described the first sampled signal benchmark for the output based on described input voltage sampled signal, input voltage effective value sampled signal and described voltage compensator or described the first sampled signal generation unit.
In the control device of Switching Power Supply of the present invention, described bearing power sampled signal is that output voltage sampled signal and load current sampled signal multiply each other, the input power sampled signal is that input voltage sampled signal and input current sampled signal multiply each other, and the power output sampled signal is that output voltage sampled signal and output current sampled signal multiply each other.
Implement control method and the device of Switching Power Supply of the present invention, can guarantee in load changing, according to the load saltus step, generate the first sampled signal benchmark, thereby generate control signal, thereby can make rapidly reflection for load changing, and the control output voltage remains unchanged.
Embodiment
As shown in Figure 4, Switching Power Supply control method of the present invention comprises: whether S1, judgement load saltus step occurs; S2, according to result of determination, generate the first sampled signal benchmark, and obtain the first sampled signal; S3, the difference based on described the first sampled signal benchmark and described the first sampled signal generate modulation signal; S4, the control signal based on described modulation signal generation main circuit switch.
In step S1, can preferably by the mode of obtaining load current, bearing power or other load signals of telecommunication, judge whether load saltus step occurs.Those skilled in the art are familiar with and can make in all sorts of ways to judge the saltus step of load.
In step S2, can generate the first sampled signal benchmark based on described load skip signal, and obtain the first sampled signal.In one embodiment of the invention, when load saltus step does not occur, can as prior art, obtain the output voltage sampled signal, and the difference based on output voltage benchmark and described output voltage sampled signal generates the first sampled signal benchmark.And, when load generation saltus step being detected, can adopt a certain set point to be used as the first sampled signal benchmark.Thereby output voltage upper punch and the drop of having avoided the load saltus step to cause, guarantee in the load saltus step, can make rapidly reflection, and the control output voltage remains unchanged.In one embodiment of the invention, described the first sampled signal can be input current sampled signal, output current sampled signal, input power sampled signal or power output sampled signal.
In step S3, the difference based on described the first sampled signal benchmark and described the first sampled signal generates modulation signal.
In step S4, generate the control signal of main circuit switch based on described modulation signal.
Implement the control method of Switching Power Supply of the present invention, in load changing, generate the first sampled signal benchmark according to the load saltus step, thereby generation control signal, thereby can make rapidly reflection for load changing, and to control output voltage Fig. 5 a that remains unchanged be the flow chart of the second embodiment of Switching Power Supply control method of the present invention.
As shown in Figure 5 a, in step S501, can judge whether load saltus step occurs by the mode of obtaining load current, bearing power or other load signals of telecommunication.Those skilled in the art are familiar with and can make in all sorts of ways to judge the saltus step of load.If judge, saltus step does not occur in load, performs step S502, otherwise execution step S503.
In step S502, obtain the output voltage sampled signal, and the difference based on output voltage benchmark and described output voltage sampled signal generates the first sampled signal benchmark, and obtain the first sampled signal.That is to say, when load does not have saltus step, method of the present invention and processing method of the prior art are basic identical.Now, described the first sampled signal is the input current sampled signal.
In step S503, obtaining the first sampled signal is the input current sampled signal, and this acquisition process can be by software or hardware setting.
In step S504, namely when the load saltus step and the first sampled signal while being the input current sampled signal, obtain bearing power sampled signal, input voltage sampled signal, adopt divider by described bearing power sampled signal divided by the input voltage sampled signal to generate the first sampled signal benchmark.
In step S505, the difference based on described the first sampled signal benchmark and described the first sampled signal generates modulation signal.
In step S506, generate the control signal of main circuit switch based on described modulation signal.
Fig. 5 b is the flow chart of the second embodiment of Switching Power Supply control method of the present invention.As shown in Figure 5 b,
In step S511, can judge whether load saltus step occurs by the mode of obtaining load current, bearing power or other load signals of telecommunication.Those skilled in the art are familiar with and can make in all sorts of ways to judge the saltus step of load.If judge, saltus step does not occur in load, performs step S512, otherwise execution step S513.
In step S512, obtain the output voltage sampled signal, and the difference based on output voltage benchmark and described output voltage sampled signal generates the first sampled signal benchmark, and obtain the first sampled signal.That is to say, when load does not have saltus step, method of the present invention and processing method of the prior art are basic identical.Now, described the first sampled signal is the output current sampled signal.
In step S513, obtain the output current sampled signal as the first sampled signal.This acquisition process can be by software or hardware setting.
In step S514, namely when the load saltus step and the first sampled signal while being the output current sampled signal, obtain the load current sampled signal as the first sampled signal benchmark.
In step S515, the difference based on described the first sampled signal benchmark and described the first sampled signal generates modulation signal.
In step S516, generate the control signal of main circuit switch based on described modulation signal.In one embodiment of the invention, as in pulse frequency modulated (Pulse Frequency Modulation, PFM) system, described modulation signal is frequency signal.In another embodiment of the present invention, as in the wide modulation of pulse duration (Pulse Width Modulation, PWM) system, described modulation signal is duty cycle signals.
Fig. 5 c is the flow chart of the 3rd embodiment of Switching Power Supply control method of the present invention.As shown in Figure 5 c,
In step S521, can judge whether load saltus step occurs by the mode of obtaining load current, bearing power or other load signals of telecommunication.Those skilled in the art are familiar with and can make in all sorts of ways to judge the saltus step of load.If judge, saltus step does not occur in load, performs step S522, otherwise execution step S523.
In step S522, obtain the output voltage sampled signal, and the difference based on output voltage benchmark and described output voltage sampled signal generates the first sampled signal benchmark, and obtain the first sampled signal.That is to say, when load does not have saltus step, method of the present invention and processing method of the prior art are basic identical.Now, described the first sampled signal is input power sampled signal or power output sampled signal.
In step S523, obtain input power sampled signal or power output sampled signal as the first sampled signal.This acquisition process can be by software or hardware setting.
In step S524, namely when the load saltus step and the first sampled signal while being input power sampled signal or power output sampled signal, obtain the bearing power sampled signal as the first sampled signal benchmark.
In step S525, the difference based on described the first sampled signal benchmark and described the first sampled signal generates modulation signal.
In step S526, generate the control signal of main circuit switch based on described modulation signal.
In the present invention, described bearing power sampled signal is that output voltage sampled signal and load current sampled signal multiply each other, the input power sampled signal is that input voltage sampled signal and input current sampled signal multiply each other, and the power output sampled signal is that output voltage sampled signal and output current sampled signal multiply each other.
Fig. 5 d is the flow chart of the first embodiment of AC/DC Switching Power Supply control method of the present invention.Described method comprises the following steps:
In step S531, judge whether load saltus step occurs, when load not during saltus step, execution step S532.Otherwise execution step S533.
In step S532, obtain the output voltage sampled signal, and the difference formation voltage compensating signal based on output voltage benchmark and described output voltage sampled signal, perform step subsequently S534.
In step S533, when the load saltus step and to select the first sampled signal be the input current sampled signal, obtain the bearing power sampled signal as voltage compensation signal, perform step subsequently S534.
In step S534, adopt multiplier that described voltage compensation signal and input voltage sampled signal are multiplied each other, then with input voltage effective value sampled signal square reciprocal multiplication to generate the first sampled signal benchmark.
In step S535, the difference based on described the first sampled signal benchmark and described the first sampled signal generates modulation signal.
In step S536, generate the control signal of main circuit switch based on described modulation signal.
The embodiment of the present invention also provides a kind of control device of Switching Power Supply, comprising: load transition detection circuit, for judging whether saltus step of load; The first sample circuit, for obtaining output voltage sampled signal and the first sampled signal; Voltage compensator, generate the first sampled signal benchmark for the difference based on output voltage benchmark and output voltage sampled signal when described load transition detection circuit judges that load does not have saltus step; The first sampled signal benchmark generation unit, for when described load transition detection circuit is judged the load saltus step, generate described the first sampled signal benchmark based on the first sampled signal; The first sampled signal compensator, generate modulation signal for the difference based on described the first sampled signal benchmark and described the first sampled signal; Signal generator, for generating the control signal of main circuit switch based on described modulation signal.
Fig. 6 a is the not schematic diagram of Switching Power Supply control device of the present invention during saltus step of load; The schematic diagram of the first state of Switching Power Supply control device of the present invention when Fig. 6 b is the load saltus step; The schematic diagram of the second state of Switching Power Supply control device of the present invention when Fig. 6 c is the load saltus step; The schematic diagram of the third state of Switching Power Supply control device of the present invention when Fig. 6 d is the load saltus step.
As shown in Figure 6 a, when saltus step does not occur to load in load transition detection electric circuit inspection, voltage compensator, the difference based on output voltage benchmark and output voltage sampled signal generates the first sampled signal benchmark.The difference of the first sampled signal compensator based on described the first sampled signal benchmark and described the first sampled signal generates modulation signal.Signal generator generates the control signal of main circuit switch based on described modulation signal.
As shown in Figure 6 b, when the load saltus step, and, when the first sampled signal is the input current sampled signal, described the first sampled signal benchmark generation unit is divider, for being divided by, bearing power sampled signal, input voltage sampled signal generate the first sampled signal benchmark.The difference of the first sampled signal compensator based on described the first sampled signal benchmark and described the first sampled signal generates modulation signal.Signal generator generates the control signal of main circuit switch based on described modulation signal.
As shown in Fig. 6 c, when the load saltus step, and, when the first sampled signal is the output current sampled signal, described the first sampled signal benchmark generation unit is the load current sample circuit, for obtaining the load current sampled signal as the first sampled signal benchmark.
As shown in Fig. 6 d, when the load saltus step, and when the first sampled signal is input power sampled signal or power output sampled signal, described the first sampled signal benchmark generation unit is the bearing power sample circuit, for obtaining the bearing power sampled signal as the first sampled signal benchmark.
Fig. 7 a is load not during saltus step, the schematic diagram of AC/DC switching power source control circuit of the present invention.When Fig. 7 b is the load saltus step, the schematic diagram of AC/DC switching power source control circuit of the present invention.
As shown in Figure 7a, when load not during saltus step, by the difference of output voltage benchmark and output voltage sampled signal through voltage compensator formation voltage compensating signal; Through multiplier, voltage compensation signal and input voltage sampled signal multiply each other, then with input voltage effective value sampled signal square divided by generating the first sampled signal benchmark.The difference of the first sampled signal compensator based on described the first sampled signal benchmark and described the first sampled signal generates modulation signal.Signal generator generates the control signal of main circuit switch based on described modulation signal.
As shown in Figure 7b, when load generation saltus step, adopt multiplier, for the output based on described input voltage sampled signal, input voltage effective value sampled signal and described the first sampled signal generation unit, generate described the first sampled signal benchmark.
When the load saltus step, and, when the first sampled signal is the input current sampled signal, described the first sampled signal benchmark generation unit is the bearing power sample circuit, for obtaining the output of bearing power sampled signal as the first sampled signal generation unit.
One embodiment of the present of invention provide a kind of machine readable memory, store computer program on it.This program at least comprises one section code, and described at least one section code carried out and made this machine can carry out the method step described in the application by machine.
Therefore, the present invention can pass through hardware, software, or soft and hardware is in conjunction with realizing.The present invention can realize with centralized system at least one computer system, or the different piece in the computer system that is distributed in several interconnection realizes with dispersing mode.Any computer system or miscellaneous equipment that can implementation method be all applicatory.The combination of software and hardware commonly used can be the general-purpose computing system that computer program is installed, and by installing and executive program control computer system, it is moved by method.
Although the present invention describes by specific embodiment, it will be appreciated by those skilled in the art that, without departing from the present invention, can also carry out various conversion and be equal to alternative the present invention.Therefore, the present invention is not limited to disclosed specific embodiment, and should comprise the whole execution modes that fall in the claims in the present invention scope.