Summary of the invention
The technical problem to be solved in the present invention is, at the above-mentioned defective of prior art, provides a kind of and can guarantee in load changing, can make reflection rapidly, and the Switching Power Supply control method that remains unchanged of control output voltage, and wherein said method comprises:
Whether A, judgement load saltus step takes place;
B, obtain first sampled signal, and generate the first sampled signal benchmark according to result of determination;
C, generate modulation signal based on the difference of described first sampled signal benchmark and described first sampled signal;
D, generate the control signal of main circuit switch based on described modulation signal.
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 generate the first sampled signal benchmark based on the difference of output voltage benchmark and described output voltage sampled signal;
B2, when the load saltus step, and when 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 generate the first sampled signal benchmark;
B3, when the load saltus step, and when 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 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 was the AC/DC circuit, described step B comprised:
B11, when load not during saltus step, obtain the output voltage sampled signal, and based on the difference formation voltage compensating signal of output voltage benchmark and described output voltage sampled signal, and obtain first sampled signal;
B21, when the load saltus step, selecting 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, again 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 is used to judge whether saltus step of load;
First sample circuit is used to obtain the output voltage sampled signal and first sampled signal;
Voltage compensator is used for that the difference based on output voltage benchmark and output voltage sampled signal generates the first sampled signal benchmark when described load transition detection circuit judges that load does not have saltus step;
The first sampled signal generation unit is used for generating the described first sampled signal benchmark based on first sampled signal when described load transition detection circuit is judged the load saltus step;
The first sampled signal compensator is used for generating modulation signal based on the difference of described first sampled signal benchmark and described first sampled signal;
Signal generator is used for the control signal based on described modulation signal generation main circuit switch.
In the control device of Switching Power Supply of the present invention, when the load saltus step, and when first sampled signal is the input current sampled signal, the described first sampled signal generation unit is a divider, is used for described bearing power sampled signal, input voltage sampled signal be divided by generating the first sampled signal benchmark.
In the control device of Switching Power Supply of the present invention, when the load saltus step, and when first sampled signal was the output current sampled signal, the described first sampled signal generation unit was the load current sample circuit, was used to obtain 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 first sampled signal is input power sampled signal or power output sampled signal, the described first sampled signal generation unit is the bearing power sample circuit, is used to obtain 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 was the AC/DC circuit, described control device also comprised:
Second sample circuit is used to obtain input voltage effective value sampled signal;
Multiplier is used for generating the described first sampled signal benchmark based on the output of described input voltage sampled signal, input voltage effective value sampled signal and described voltage compensator or the described 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 the control method and the device of Switching Power Supply of the present invention, can guarantee in load changing, generate the first sampled signal benchmark, thereby generate control signal according to the load saltus step, thereby can make reflection rapidly at load changing, and 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 takes place; S2, generate the first sampled signal benchmark, and obtain first sampled signal according to result of determination; S3, generate modulation signal based on the difference of described first sampled signal benchmark and described first sampled signal; S4, generate the control signal of main circuit switch based on described modulation signal.
In step S1, can preferably judge by the mode of obtaining load current, bearing power or other load signals of telecommunication whether load saltus step takes place.Those skilled in the art are familiar with and can make in all sorts of ways judging the saltus step of load.
In step S2, can generate the first sampled signal benchmark based on described load skip signal, and obtain first sampled signal.In one embodiment of the invention, when load saltus step does not take place, can obtain the output voltage sampled signal, and generate the first sampled signal benchmark based on the difference of output voltage benchmark and described output voltage sampled signal as prior art.And when detecting load generation saltus step, 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 reflection rapidly, and control output voltage remain unchanged.In one embodiment of the invention, described 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, based on the difference generation modulation signal of described first sampled signal benchmark and described first sampled 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 reflection rapidly at load changing, and control output voltage Fig. 5 a that remains unchanged is the flow chart of second embodiment of Switching Power Supply control method of the present invention.
Shown in Fig. 5 a, in step S501, can judge whether load saltus step takes place 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 judging the saltus step of load.If judge load saltus step does not take place, execution in step S502 then, otherwise execution in step S503.
In step S502, obtain the output voltage sampled signal, and generate the first sampled signal benchmark, and obtain first sampled signal based on the difference of output voltage benchmark and described output voltage sampled signal.That is to say that when load did not have saltus step, method of the present invention and processing method of the prior art were basic identical.At this moment, described first sampled signal is the input current sampled signal.
In step S503, obtaining first sampled signal is the input current sampled signal, and this acquisition process can be by software or hardware setting.
In step S504, just when the load saltus step and first sampled signal when being the input current sampled signal, obtain bearing power sampled signal, input voltage sampled signal, adopt divider with described bearing power sampled signal divided by the input voltage sampled signal to generate the first sampled signal benchmark.
In step S505, based on the difference generation modulation signal of described first sampled signal benchmark and described first sampled 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 second embodiment of Switching Power Supply control method of the present invention.Shown in Fig. 5 b,
In step S511, can judge whether load saltus step takes place 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 judging the saltus step of load.If judge load saltus step does not take place, execution in step S512 then, otherwise execution in step S513.
In step S512, obtain the output voltage sampled signal, and generate the first sampled signal benchmark, and obtain first sampled signal based on the difference of output voltage benchmark and described output voltage sampled signal.That is to say that when load did not have saltus step, method of the present invention and processing method of the prior art were basic identical.At this moment, described first sampled signal is the output current sampled signal.
In step S513, obtain the output current sampled signal as first sampled signal.This acquisition process can be by software or hardware setting.
In step S514, just when the load saltus step and first sampled signal when being the output current sampled signal, obtain the load current sampled signal as the first sampled signal benchmark.
In step S515, based on the difference generation modulation signal of described first sampled signal benchmark and described first sampled signal.
In step S516, generate the control signal of main circuit switch based on described modulation signal.In one embodiment of the invention, as (Pulse Frequency Modulation, PFM) in the system, described modulation signal is a frequency signal in pulse frequency modulated.In another embodiment of the present invention, as (Pulse Width Modulation, PWM) in the system, described modulation signal is a duty cycle signals in the wide modulation of pulse duration.
Fig. 5 c is the flow chart of the 3rd embodiment of Switching Power Supply control method of the present invention.Shown in Fig. 5 c,
In step S521, can judge whether load saltus step takes place 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 judging the saltus step of load.If judge load saltus step does not take place, execution in step S522 then, otherwise execution in step S523.
In step S522, obtain the output voltage sampled signal, and generate the first sampled signal benchmark, and obtain first sampled signal based on the difference of output voltage benchmark and described output voltage sampled signal.That is to say that when load did not have saltus step, method of the present invention and processing method of the prior art were basic identical.At this moment, described 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 first sampled signal.This acquisition process can be by software or hardware setting.
In step S524, just when the load saltus step and first sampled signal when 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, based on the difference generation modulation signal of described first sampled signal benchmark and described first sampled 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 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 takes place, when load not during saltus step, execution in step S532.Otherwise execution in step S533.
In step S532, obtain the output voltage sampled signal, and based on the difference formation voltage compensating signal of output voltage benchmark and described output voltage sampled signal, execution in step S534 subsequently.
In step S533, when the load saltus step and to select first sampled signal be the input current sampled signal, obtain the bearing power sampled signal as voltage compensation signal, subsequently execution in step S534.
In step S534, adopt multiplier that described voltage compensation signal and input voltage sampled signal are multiplied each other, again with input voltage effective value sampled signal square reciprocal multiplication to generate the first sampled signal benchmark.
In step S535, based on the difference generation modulation signal of described first sampled signal benchmark and described first sampled signal.
In step S536, generate the control signal of main circuit switch based on described modulation signal.
The embodiment of the invention also provides a kind of control device of Switching Power Supply, comprising: load transition detection circuit is used to judge whether saltus step of load; First sample circuit is used to obtain the output voltage sampled signal and first sampled signal; Voltage compensator is used for that the difference based on output voltage benchmark and output voltage sampled signal generates the first sampled signal benchmark when described load transition detection circuit judges that load does not have saltus step; The first sampled signal benchmark generation unit is used for generating the described first sampled signal benchmark based on first sampled signal when described load transition detection circuit is judged the load saltus step; The first sampled signal compensator is used for generating modulation signal based on the difference of described first sampled signal benchmark and described first sampled signal; Signal generator is used for the control signal based on described modulation signal generation main circuit switch.
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 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 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.
Shown in Fig. 6 a, load transition detection electric circuit inspection is not when saltus step takes place in load, and voltage compensator generates the first sampled signal benchmark based on the difference of output voltage benchmark and output voltage sampled signal.The first sampled signal compensator generates modulation signal based on the difference of described first sampled signal benchmark and described first sampled signal.Signal generator generates the control signal of main circuit switch based on described modulation signal.
Shown in Fig. 6 b, when the load saltus step, and when first sampled signal was the input current sampled signal, the described first sampled signal benchmark generation unit was a divider, was used for bearing power sampled signal, input voltage sampled signal be divided by generating the first sampled signal benchmark.The first sampled signal compensator generates modulation signal based on the difference of described first sampled signal benchmark and described first sampled signal.Signal generator generates the control signal of main circuit switch based on described modulation signal.
Shown in Fig. 6 c, when the load saltus step, and when first sampled signal was the output current sampled signal, the described first sampled signal benchmark generation unit was the load current sample circuit, is used to obtain the load current sampled signal as the first sampled signal benchmark.
Shown in Fig. 6 d, when the load saltus step, and when first sampled signal was input power sampled signal or power output sampled signal, the described first sampled signal benchmark generation unit was the bearing power sample circuit, is used to obtain 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.
Shown in Fig. 7 a, when load not during saltus step, with 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, again with input voltage effective value sampled signal square divided by generating the first sampled signal benchmark.The first sampled signal compensator generates modulation signal based on the difference of described first sampled signal benchmark and described first sampled signal.Signal generator generates the control signal of main circuit switch based on described modulation signal.
Shown in Fig. 7 b, when load generation saltus step, adopt multiplier, be used for generating the described first sampled signal benchmark based on the output of described input voltage sampled signal, input voltage effective value sampled signal and the described first sampled signal generation unit.
When the load saltus step, and when first sampled signal was the input current sampled signal, the described first sampled signal benchmark generation unit was the bearing power sample circuit, is used to obtain 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 comprises one section code at least, and described at least one section code carried out by machine and made this machine can carry out the method step described in the application.
Therefore, the present invention can pass through hardware, software, and perhaps soft, combination of hardware realizes.The present invention can realize with centralized system at least one computer system, perhaps be realized with dispersing mode by the different piece in the computer system that is distributed in several interconnection.Any computer system or miscellaneous equipment that can implementation method all be 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.
Though 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 claim scope of the present invention.