CN107733240B - Method and device for adaptively adjusting frequency of switching power supply - Google Patents
Method and device for adaptively adjusting frequency of switching power supply Download PDFInfo
- Publication number
- CN107733240B CN107733240B CN201711097684.1A CN201711097684A CN107733240B CN 107733240 B CN107733240 B CN 107733240B CN 201711097684 A CN201711097684 A CN 201711097684A CN 107733240 B CN107733240 B CN 107733240B
- Authority
- CN
- China
- Prior art keywords
- working frequency
- voltage
- current
- value
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of dc power input into dc power output
- H02M3/22—Conversion of dc power input into dc power output with intermediate conversion into ac
- H02M3/24—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters
- H02M3/28—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac
- H02M3/325—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac using devices of a triode or a transistor type requiring continuous application of a control signal
- H02M3/335—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only
- H02M3/33507—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of the output voltage or current, e.g. flyback converters
- H02M3/33523—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of the output voltage or current, e.g. flyback converters with galvanic isolation between input and output of both the power stage and the feedback loop
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of dc power input into dc power output
- H02M3/22—Conversion of dc power input into dc power output with intermediate conversion into ac
- H02M3/24—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters
- H02M3/28—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac
- H02M3/325—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac using devices of a triode or a transistor type requiring continuous application of a control signal
- H02M3/335—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only
- H02M3/33569—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only having several active switching elements
- H02M3/33576—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only having several active switching elements having at least one active switching element at the secondary side of an isolation transformer
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Dc-Dc Converters (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a method for self-adaptive adjustment of switching power supply frequency, which obtains the current working frequency value of the current system through calculation, compares the current working frequency value with the preset working frequency, adjusts CS voltage according to the comparison result, and adjusts the corresponding current working frequency value correspondingly. The invention also provides a device for the frequency self-adaption of the switching power supply, and the technical effects can be realized.
Description
Technical Field
The invention relates to the field of switching power supplies, in particular to a method and a device for adaptively adjusting the frequency of a switching power supply.
Background
The switch power supply is a power supply which utilizes the modern power electronic technology to control the on-off time ratio of a switch and maintain stable output voltage. In order to compromise full-load efficiency and no-load standby in the working process of the switching power supply, the switching frequency changes, and if the switching frequency changes, the upper limit frequency of the auditory range of human ears is reduced, noise is generated, so that the change of the switching frequency is controlled to be above the upper limit frequency of the auditory range of human ears.
Referring to fig. 1a to 1c, in a first conventional audio control method, a primary side CS voltage amount (a voltage amount corresponding to a working frequency) to be reduced can be determined according to a full-load working frequency of a current system to ensure that the working frequency is above an upper limit frequency of hearing, and if the working frequency of 100% of the full load is 50KHz, according to a PFM rule, once the load is reduced to 50%, the frequency will reach 25KHz, and at this time, a sudden frequency increase is performed on the frequency, which corresponds to an action of reducing the primary side CS voltage.
Referring to fig. 2a to 2c, in the second conventional audio control method, the expression of the PFM system is combined to find that a square root relationship exists between the voltage CS affecting the operating frequency and the voltage CPC corresponding to the load, so that the audio noise can be controlled by presetting the relationship between CS and CPC.
However, the two methods mentioned above both implement the adjustment of the operating frequency according to the full-load operating frequency, that is, the full-load frequency of the system operation needs to be determined before the chip production, and the load percentages of the different full-load frequencies entering the audio control points are different, so the chip needs to be made into different products according to the different full-load frequencies, and in some cases, the full-load frequency of the operation is also different in the same system, as shown in fig. 3, in which two curves are a product with a frequency of 100KHz when fully loaded and a product with a frequency of 80KHz when fully loaded, so the loads of 25KHz corresponding to the two products are 25% and 31%, respectively, and thus the adjustment of the operating frequency according to the two methods mentioned above cannot be accurately performed.
Therefore, how to flexibly and accurately adjust the operating frequency for different systems is a problem to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a method and a device for adaptively adjusting the frequency of a switching power supply, so as to flexibly and accurately adjust the working frequency for different systems.
In order to achieve the above purpose, the embodiment of the present invention provides the following technical solutions:
a method for adaptively adjusting the frequency of a switching power supply comprises the following steps:
calculating the current working frequency value of the system;
when the current working frequency value is larger than the preset working frequency, adjusting the current CS voltage by a first preset amount to obtain a new CS voltage, and adjusting the current working frequency value according to the new CS voltage;
when the current working frequency value is smaller than the preset working frequency, the current CS voltage is adjusted by a second preset amount to obtain a new CS voltage, and the current working frequency value is adjusted according to the new CS voltage; the preset working frequency comprises a preset working frequency value or a preset working frequency range;
and judging whether the new CS voltage is equal to the maximum value or the minimum value of the CS voltage, and if so, stopping adjustment.
Wherein the current operating frequency value of the computing system comprises:
calculating the current working frequency value of the system by using the working frequency signal of the system; and the working frequency signal is a signal representing the working frequency of the current system.
Wherein the operating frequency signal comprises a PFM signal.
Wherein the current operating frequency value of the computing system comprises:
acquiring N working frequency signals of continuous N periods, and calculating N working frequency values corresponding to the N working frequency signals; wherein N is a positive integer greater than 1;
and taking the average value of the N working frequency values as the current working frequency value of the system.
The first preset quantity and the second preset quantity are at least one step, and the step is obtained by carrying out quantitative decomposition on a voltage range determined by the maximum value and the minimum value of the CS voltage of the current system.
An apparatus for adaptively adjusting a switching power supply frequency, comprising:
a current working frequency calculation module for calculating the current working frequency value of the system;
the adjusting module is in communication connection with the current working frequency calculating module and is used for acquiring the current working frequency value, adjusting the current CS voltage by a first preset amount when the current working frequency value is greater than a preset working frequency to obtain a new CS voltage, and adjusting the current working frequency value according to the new CS voltage; when the current working frequency value is smaller than the preset working frequency, the current CS voltage is adjusted by a second preset amount to obtain a new CS voltage, and the current working frequency value is adjusted according to the new CS voltage; the preset working frequency comprises a preset working frequency value or a preset working frequency range;
and the judging module is in communication connection with the adjusting module and is used for judging whether the new CS voltage is equal to the maximum value or the minimum value of the CS voltage, if so, the adjustment is stopped, and if not, the current working frequency calculating module is continuously called.
The current working frequency calculation module calculates the current working frequency value of the system by using the working frequency signal of the system; and the working frequency signal is a signal representing the working frequency of the current system.
Wherein the operating frequency signal comprises a PFM signal.
Wherein the current operating frequency calculation module comprises:
the first working frequency calculation unit is used for acquiring N PFM signals of continuous N periods and calculating N working frequency values corresponding to the N working frequency signals; wherein N is a positive integer greater than 1;
and the second working frequency calculating unit is used for taking the average value of the N working frequency values as the current working frequency value of the system.
The first preset quantity and the second preset quantity are at least one step, and the step is obtained by carrying out quantitative decomposition on a voltage range determined by the maximum value and the minimum value of the CS voltage of the current system.
According to the scheme, the method for adaptively adjusting the frequency of the switching power supply, provided by the embodiment of the invention, obtains the current working frequency value of the current system through calculation, compares the current working frequency value with the preset working frequency, and adjusts the CS voltage according to the comparison result, and meanwhile, the corresponding current working frequency value can be correspondingly adjusted. The invention also provides a device for the frequency self-adaption of the switching power supply, and the technical effects can be realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1a is a diagram of CPC voltage versus load for a first audio control method of the prior art;
FIG. 1b is a diagram of the CS voltage versus load of a first audio control method of the prior art;
FIG. 1c is a graph of frequency versus load for a first prior art audio control method;
FIG. 2a is a plot of CPC voltage versus load for a second prior art audio control method;
FIG. 2b is a diagram of the CS voltage versus load for a second audio control method of the prior art;
FIG. 2c is a graph of frequency versus load for a second prior art audio control method;
FIG. 3 is a graph of frequency versus load for two prior art products;
fig. 4 is a flowchart of a method for adaptively adjusting the frequency of the switching power supply according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a specific method for adaptively adjusting the frequency of the switching power supply according to an embodiment of the present invention;
FIG. 6 is a circuit diagram of a PSR switch power supply system according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a specific method for adaptively adjusting the frequency of the switching power supply according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a specific adaptive switching power supply frequency adjustment apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a self-adaptive adjustment method for the frequency of a switching power supply, which aims to flexibly and accurately adjust the working frequency for different systems.
Referring to fig. 4, a method for adaptively adjusting a frequency of a switching power supply provided in an embodiment of the present invention specifically includes:
and S101, calculating the current working frequency value of the system.
Specifically, the current working frequency value in the current system is calculated to judge whether the working frequency is reduced below the upper limit of human hearing at the moment.
S102, when the current working frequency value is larger than a preset working frequency, adjusting the current CS voltage by a first preset amount to obtain a new CS voltage, and adjusting the current working frequency value according to the new CS voltage;
s103, when the current working frequency value is smaller than the preset working frequency, the current CS voltage is adjusted by a second preset amount to obtain a new CS voltage, and the current working frequency value is adjusted according to the new CS voltage; the preset working frequency comprises a preset working frequency value or a preset working frequency range;
specifically, a preset operating frequency is determined, and the preset operating frequency may be a specific value, such as 25KHz, 30KHz, or a range, such as 20KHz to 30 KHz.
When the preset working frequency is a specific value, such as 24KHz, comparing the current working frequency value with the preset working frequency value, and when the current working frequency value is greater than the preset working frequency value, indicating that the current working frequency value is larger and the energy provided by the primary side is insufficient, so that the CS voltage is adjusted by a first preset amount to obtain a new CS voltage, and the current working frequency value is adjusted according to the new CS voltage; when the current working frequency value is smaller than the preset working frequency value, the current working frequency is smaller, and the energy provided by the primary side is excessive, so that the CS voltage is reduced, namely, the second preset quantity is reduced, a new CS voltage is obtained, and the current working frequency value is adjusted according to the new CS voltage.
When the preset working frequency is within a range, such as 20 KHz-30 KHz, comparing the current working frequency value with the preset working frequency range, and when the current working frequency value is greater than the preset working frequency range, namely greater than the upper limit of 30KHz in the preset working frequency range, indicating that the current working frequency value is larger and the energy provided by the primary side is insufficient, so that the CS voltage is adjusted up by a first preset amount to obtain a new CS voltage, and adjusting the current working frequency value according to the new CS voltage; when the current working frequency value is smaller than the preset working frequency range, that is, smaller than the lower limit of 20KHz in the preset working frequency range, it indicates that the current working frequency is smaller and the energy provided by the primary side is excessive, so that the CS voltage is reduced, that is, the second preset amount is adjusted downward to obtain a new CS voltage, and the current working frequency value is adjusted according to the new CS voltage.
The up-regulation and the down-regulation may be regulated in units of stages, that is, the first preset amount and the second preset amount are one stage or multiple stages, where the first preset amount and the second preset amount may be the same value or different values. Specifically, the maximum value and the minimum value of the CS voltage are determined according to the environment of the current system, wherein the CS voltage is a voltage that affects the operating frequency. And determining a CS voltage range according to the maximum CS value and the minimum CS value. The voltage range is divided into a plurality of levels on average, for example, the maximum voltage is 2V, the minimum voltage is 1V, the voltage range is 1V to 2V, if the voltage range is divided into 10 levels, each level has a difference of 0.1V, that is, the first level is 1.1V, the second level is 1.2V, the third level is ten levels, and so on. For example, when the CS voltage of the current operating frequency is 1.1V, and the current operating frequency value is greater than the preset operating frequency, the first preset amount is one level, the CS voltage needs to be adjusted up to one level to 1.2V, and after the CS voltage is adjusted up, the corresponding operating frequency also decreases, and the down adjustment is similar to the up adjustment, which is not described herein again.
It should be noted that, when the current operating frequency value is equal to the preset operating frequency, that is, the current operating frequency value is equal to the preset operating frequency value, or when the current operating frequency value is within the preset operating frequency range, the CS voltage may be kept unchanged, or the CS voltage may be trimmed according to the current specific situation, which is not limited herein.
It should be noted that the CS voltage is adjusted to a very small value, and the value is determined according to the system, so as to achieve the purpose of stabilizing the system operation.
And S104, judging whether the new CS voltage is equal to the maximum value or the minimum value of the CS voltage, and if so, stopping adjustment.
Specifically, it is determined whether the adjusted CS voltage has reached the maximum value or the minimum value, and if so, the adjustment cannot be continued, and therefore, the adjustment is ended, and if not, the operation returns to S101 to continue calculating the frequency and adjusting.
Therefore, according to the method for adaptively adjusting the frequency of the switching power supply provided by the embodiment of the invention, the current working frequency value of the current system is obtained through calculation, the current working frequency value is compared with the preset working frequency, and the CS voltage is adjusted according to the comparison result, so that the corresponding current working frequency value can be correspondingly adjusted.
The embodiment of the present invention discloses a specific method for adaptively adjusting the frequency of a switching power supply, which is different from the above embodiments, and the embodiment of the present invention specifically defines S101, specifically:
calculating the current working frequency value of the system by using the working frequency signal of the system; and the working frequency signal is a signal representing the working frequency of the current system.
Specifically, an operating frequency signal representing the operating frequency of the system is calculated to obtain the operating frequency of the current system, where the operating frequency signal may be a PFM signal.
It should be noted that the PFM signal is a periodic signal, that is, the frequency at the same time in each period should be the same, and in the calculation, the current period may be used for calculation. However, under the influence of noise or other factors, the frequency of the same time in each period has some small deviations, and in order to obtain a more accurate calculation result, N periods may be selected, N frequencies may be calculated, and the average value of the N frequencies may be used as the current operating frequency of the system.
The embodiment of the present invention provides a specific method for adaptively adjusting a frequency of a switching power supply, which is different from the above embodiments, the embodiment of the present invention further defines and describes the first preset amount and the second preset amount, and other steps are substantially the same as those described above, and reference may be made to the above embodiments specifically.
Specifically, the first preset amount and the second preset amount are at least one step, and the step is obtained by performing quantization decomposition on a voltage range determined by a maximum value and a minimum value of a CS voltage of a current system.
And determining the maximum value and the minimum value of the CS voltage according to the environment of the current system, wherein the CS voltage is the voltage influencing the working frequency. And determining a range of the CS voltage according to the maximum value and the minimum value of the CS, namely the minimum value of the CS voltage to the maximum value of the CS voltage. The voltage range is quantized to a binary code and decomposed into N steps. For example, in the present scheme, the voltage range is quantized to 5bit by one step, and the corresponding code words are 00000 to 11111, that is, 32 steps. When the CS voltage is adjusted up or down, one step or multiple steps may be adjusted up or down in units of steps.
The embodiment of the present invention provides a specific method for adaptively adjusting the frequency of a switching power supply, and referring to fig. 5 to 7, the embodiment of the present invention specifically includes:
firstly, the current working frequency value of the system is transmitted into a PSR Controller through DRI, it should be noted that the specific value transmitted by DRI is a PFM signal, and PFM is calculated to obtain the current working frequency of the system. The PFM signal is a periodic signal, i.e. the frequency at the same time of each period should be the same, and when calculating, the current period can be used for calculation.
The PSR Controller compares the current working frequency value of the system with a preset working frequency value or a preset working frequency range, and correspondingly adjusts and outputs the CS voltage according to the comparison result, and the specific adjustment method may refer to the above embodiments, which is not described herein again. And feeding back the adjustment result to a constant voltage loop, wherein the constant voltage loop can obtain the period of the PFM signal, and further feeding back the FPM signal through the power unit to perform the next comparison.
Specifically, in the PSR Controller, the maximum value and the minimum value of the CS voltage are determined according to the current system environment, wherein the CS voltage is a voltage that affects the operating frequency. And determining a range of the CS voltage according to the maximum value and the minimum value of the CS, namely the minimum value of the CS voltage to the maximum value of the CS voltage. The voltage range is quantized to a binary code and decomposed into N steps. For example, in this scheme, the voltage range is quantized to 5bit by one step, and the corresponding code words are 00000 to 11111, i.e. 32 step steps, as shown in the DAC (digital-to-analog converter) in fig. 7. When the current state is Q4n Q3n Q2nQ1n Q0n and the current frequency value (taking the current average frequency value f _ avg as an example) is greater than the preset frequency (f _ target), performing up-regulation to obtain the next state of Q4n + 1Q 3n + 1Q 2n + 1Q 1n + 1Q 0n + 1; and when the current frequency value is smaller than the preset frequency, performing down regulation to obtain the next state of Q4n + 1Q 3n + 1Q 2n + 1Q 1n + 1Q 0n +1, and the DAC adjusts the CS voltage up or down by one step or multiple steps according to the state and outputs the CS voltage, so that the power unit realizes the frequency regulation.
The following describes an apparatus for adaptively adjusting a switching power supply frequency according to an embodiment of the present invention, and a switching power supply frequency adaptive adjustment apparatus described below and a switching power supply frequency adaptive adjustment method described above may be referred to each other.
Specifically, referring to fig. 8, an apparatus for adaptively adjusting a switching power supply frequency according to an embodiment of the present invention specifically includes:
a current operating frequency calculation module 301 that calculates a current operating frequency value of the system.
Specifically, the current working frequency calculating module 301 calculates the current working frequency value in the current system to determine whether the working frequency is reduced below the upper limit of human hearing at this time.
The adjusting module 302 is in communication connection with the current working frequency calculating module, and is used for obtaining the current working frequency value, adjusting the current CS voltage by a first preset amount when the current working frequency value is greater than a preset working frequency to obtain a new CS voltage, and adjusting the current working frequency value according to the new CS voltage; when the current working frequency value is smaller than the preset working frequency, the current CS voltage is adjusted by a second preset amount to obtain a new CS voltage, and the current working frequency value is adjusted according to the new CS voltage; the preset working frequency comprises a preset working frequency value or a preset working frequency range;
specifically, a preset operating frequency is determined, and the preset operating frequency may be a specific value, such as 25KHz, 30KHz, or a range, such as 20KHz to 30 KHz.
When the preset operating frequency is a specific value, such as 24KHz, comparing the current operating frequency value with the preset operating frequency value, and when the current operating frequency value is greater than the preset operating frequency value, indicating that the current operating frequency value is large and the energy provided by the primary side is insufficient, so the adjusting module 302 adjusts the CS voltage by a first preset amount to obtain a new CS voltage, and adjusts the current operating frequency value according to the new CS voltage; when the current operating frequency value is smaller than the preset operating frequency value, it indicates that the current operating frequency is smaller and the energy provided by the primary side is too much, so the adjusting module 302 decreases the CS voltage, that is, decreases the CS voltage by a second preset amount to obtain a new CS voltage, and adjusts the current operating frequency value according to the new CS voltage.
When the preset operating frequency is within a range, for example, 20KHz to 30KHz, comparing the current operating frequency value with the preset operating frequency range, and when the current operating frequency value is greater than the preset operating frequency range, that is, greater than the upper limit of 30KHz in the preset operating frequency range, it indicates that the current operating frequency value is larger and the energy provided by the primary side is insufficient, so the adjusting module 302 adjusts the CS voltage by a first preset amount to obtain a new CS voltage, and adjusts the current operating frequency value according to the new CS voltage; when the current operating frequency value is smaller than the preset operating frequency range, that is, smaller than the lower limit of 20KHz in the preset operating frequency range, it indicates that the current operating frequency is smaller and the energy provided by the primary side is too much, so the adjusting module 302 decreases the CS voltage, that is, down-adjusts the second preset amount to obtain a new CS voltage, and adjusts the current operating frequency value according to the new CS voltage.
The up-regulation and the down-regulation may be regulated in units of stages, that is, the first preset amount and the second preset amount are one stage or multiple stages, where the first preset amount and the second preset amount may be the same value or different values. Specifically, the maximum value and the minimum value of the CS voltage are determined according to the environment of the current system, wherein the CS voltage is a voltage that affects the operating frequency. And determining a CS voltage range according to the maximum CS value and the minimum CS value. The voltage range is divided into a plurality of levels on average, for example, the maximum voltage is 2V, the minimum voltage is 1V, the voltage range is 1V to 2V, if the voltage range is divided into 10 levels, each level has a difference of 0.1V, that is, the first level is 1.1V, the second level is 1.2V, the third level is ten levels, and so on. For example, the CS voltage of the current working frequency is 1.1V, when the current working frequency value is greater than the preset working frequency, the first preset amount is one level, the adjusting module 302 needs to adjust the CS voltage by one level to 1.2V, and after the CS voltage is adjusted up, the corresponding working frequency will also decrease accordingly, and the down adjustment is similar to the up adjustment, and details are not repeated here.
It should be noted that, when the current operating frequency value is equal to the preset operating frequency, that is, the current operating frequency value is equal to the preset operating frequency value, or when the current operating frequency value is within the preset operating frequency range, the CS voltage may be kept unchanged, or the CS voltage may be trimmed according to the current specific situation, which is not limited herein.
It should be noted that the CS voltage is adjusted to a very small value, and the value is determined according to the system, so as to achieve the purpose of stabilizing the system operation.
And a judging module 303 which is in communication connection with the adjusting module and is used for judging whether the new CS voltage is equal to the maximum value or the minimum value of the CS voltage, if so, stopping the adjustment, and if not, continuing to call the current working frequency calculating module.
Specifically, the determining module 303 determines whether the adjusted CS voltage has reached a maximum value or a minimum value, and if so, the adjustment cannot be continued, so the adjustment is ended, and if not, the current operating frequency calculating module 301 is called to continue calculating the frequency and adjusting.
Therefore, according to the device for adaptively adjusting the frequency of the switching power supply provided by the embodiment of the invention, the current working frequency value of the current system is obtained through calculation of the current working frequency calculation module 301, and the working CS voltage is adjusted by using the adjustment module 302 when the current working frequency value is higher or lower, so that the corresponding current working frequency value can be correspondingly adjusted.
The embodiment of the present invention discloses a specific device for adaptively adjusting the frequency of a switching power supply, which is different from the above embodiments, and the embodiment of the present invention specifically defines the current operating frequency calculation module 301, specifically:
a current working frequency calculating module 301, which calculates a current working frequency value of the system by using the working frequency signal of the system; and the working frequency signal is a signal representing the working frequency of the current system.
Specifically, the current operating frequency calculating module 301 calculates an operating frequency signal representing the operating frequency of the system to obtain the current operating frequency of the system, where the operating frequency signal may be a PFM signal.
It should be noted that the PFM signal is a periodic signal, that is, the frequency at the same time in each period should be the same, and in the calculation, the current period may be used for calculation. However, under the influence of noise or other factors, the frequency of the same time in each period has some small deviations, and in order to obtain a more accurate calculation result, the first working frequency calculation unit may be used to select N periods, calculate N frequencies, and use the second working frequency calculation unit to use the average value of the N frequencies as the current working frequency of the system.
The embodiment of the present invention provides a specific device for adaptively adjusting a frequency of a switching power supply, which is different from the above embodiments, the embodiment of the present invention further defines and describes the first preset amount and the second preset amount, and the contents of other modules are substantially the same as those described above, and reference may be made to the above embodiments.
Specifically, the first preset amount and the second preset amount are at least one step, and the step is obtained by performing quantization decomposition on a voltage range determined by a maximum value and a minimum value of a CS voltage of a current system.
And determining the maximum value and the minimum value of the CS voltage according to the environment of the current system, wherein the CS voltage is the voltage influencing the working frequency. And determining a range of the CS voltage according to the maximum value and the minimum value of the CS, namely the minimum value of the CS voltage to the maximum value of the CS voltage. The voltage range is quantized to a binary code and decomposed into N steps. For example, in the present scheme, the voltage range is quantized to 5bit by one step, and the corresponding code words are 00000 to 11111, that is, 32 steps. When the CS voltage is adjusted up or down, one step or multiple steps may be adjusted up or down in units of steps.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (4)
1. A method for adaptively adjusting the frequency of a switching power supply is characterized by comprising the following steps:
calculating the current working frequency value of the system by using the working frequency signal of the system; the working frequency signal is a PFM signal and is a signal representing the working frequency of the current system;
when the current working frequency value is larger than the preset working frequency, adjusting the current CS voltage by a first preset amount to obtain a new CS voltage, and adjusting the current working frequency value according to the new CS voltage; the CS voltage is the current detection voltage at the primary side of the switching power supply;
when the current working frequency value is smaller than the preset working frequency, the current CS voltage is adjusted by a second preset amount to obtain a new CS voltage, and the current working frequency value is adjusted according to the new CS voltage; the preset working frequency comprises a preset working frequency value or a preset working frequency range; the first preset quantity and the second preset quantity are at least one step, and the step is obtained by carrying out quantitative decomposition on a voltage range determined by the maximum value and the minimum value of the CS voltage of the current system;
judging whether the new CS voltage is equal to the maximum value or the minimum value of the CS voltage, if so, stopping adjustment; if not, continuing to calculate and adjust.
2. The method of claim 1, wherein the computing system's current operating frequency value comprises:
acquiring N working frequency signals of continuous N periods, and calculating N working frequency values corresponding to the N working frequency signals; wherein N is a positive integer greater than 1;
and taking the average value of the N working frequency values as the current working frequency value of the system.
3. An apparatus for adaptively adjusting a frequency of a switching power supply, comprising:
the current working frequency calculation module is used for calculating the current working frequency value of the system by using the working frequency signal of the system; the working frequency signal is a PFM signal and is a signal representing the working frequency of the current system;
the adjusting module is in communication connection with the current working frequency calculating module and is used for acquiring the current working frequency value, adjusting the current CS voltage by a first preset amount when the current working frequency value is greater than a preset working frequency to obtain a new CS voltage, and adjusting the current working frequency value according to the new CS voltage; when the current working frequency value is smaller than the preset working frequency, the current CS voltage is adjusted by a second preset amount to obtain a new CS voltage, and the current working frequency value is adjusted according to the new CS voltage; the CS voltage is the current detection voltage at the primary side of the switching power supply;
the preset working frequency comprises a preset working frequency value or a preset working frequency range; the first preset quantity and the second preset quantity are at least one step, and the step is obtained by carrying out quantitative decomposition on a voltage range determined by the maximum value and the minimum value of the CS voltage of the current system;
and the judging module is in communication connection with the adjusting module and is used for judging whether the new CS voltage is equal to the maximum value or the minimum value of the CS voltage, if so, the adjustment is stopped, and if not, the current working frequency calculating module is continuously called.
4. The apparatus of claim 3, wherein the current operating frequency calculation module comprises:
the first working frequency calculation unit is used for acquiring N PFM signals of continuous N periods and calculating N working frequency values corresponding to the N PFM signals; wherein N is a positive integer greater than 1;
and the second working frequency calculating unit is used for taking the average value of the N working frequency values as the current working frequency value of the system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711097684.1A CN107733240B (en) | 2017-11-09 | 2017-11-09 | Method and device for adaptively adjusting frequency of switching power supply |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711097684.1A CN107733240B (en) | 2017-11-09 | 2017-11-09 | Method and device for adaptively adjusting frequency of switching power supply |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107733240A CN107733240A (en) | 2018-02-23 |
CN107733240B true CN107733240B (en) | 2020-01-24 |
Family
ID=61214842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711097684.1A Active CN107733240B (en) | 2017-11-09 | 2017-11-09 | Method and device for adaptively adjusting frequency of switching power supply |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107733240B (en) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105226933B (en) * | 2014-06-17 | 2018-05-22 | 通嘉科技股份有限公司 | To remove the controller of acoustic noise for power converters and its correlation technique |
-
2017
- 2017-11-09 CN CN201711097684.1A patent/CN107733240B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107733240A (en) | 2018-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102986108B (en) | Centre bus architecture power-supply controller of electric | |
EP3069431B1 (en) | Uninterruptible power supply control | |
US20190036482A1 (en) | Adaptive power management of energy storage for pv output control | |
JP7058349B2 (en) | Hydrogen system control device and hydrogen system control method | |
US7638989B2 (en) | Power supply with pulse frequency modulating circuit calculating logic state changing | |
CN111049167B (en) | Energy storage system power control method and system | |
CN107733240B (en) | Method and device for adaptively adjusting frequency of switching power supply | |
JP2021052541A (en) | Negawatt trading support device and negawatt trading method | |
CN113644750A (en) | Operation state control method of hydrogen production unit and related device | |
CN111009919B (en) | Photovoltaic climbing rate control method and device based on active control | |
KR102229257B1 (en) | Apparatus for optimizing operation of frequency regulation energy storage system and method thereof | |
CN109962636B (en) | Current control device and method of converter and wind generating set | |
CN109066815B (en) | Power electronic load active control method and system considering importance | |
CN113067345B (en) | Power factor compensation method, controller and system of photovoltaic alternating current system | |
JP2018170931A (en) | Power conversion apparatus and power conversion system | |
CN111245299B (en) | Method, equipment and device for controlling exponential type soft start | |
CN108493994B (en) | Feed network type inverter power supply control method and device | |
JP7354726B2 (en) | Negawatt trading support device and negawatt trading method | |
CN108121426B (en) | Chip voltage adjusting method, device and system | |
CN113412459A (en) | Power supply adjusting system, method and device, chip and electronic equipment | |
JP2021158738A (en) | Electric power transaction support device and electric power transaction method | |
JP2021052549A (en) | Posiwatt trading support device and posiwatt trading method | |
JP7438491B2 (en) | Water electrolysis system and power converter | |
CN115514012B (en) | Control method and device of island microgrid system and electronic equipment | |
WO2023164941A1 (en) | Power supply circuit and frequency adjustment method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210205 Address after: No. 1600, Zixing Road, Minhang District, Shanghai 200241 Patentee after: BCD (SHANGHAI) MICRO-ELECTRONICS Ltd. Address before: No. 1600, Zixing Road, Minhang District, Shanghai 200241 Patentee before: BCD Semiconductor Manufacturing Ltd. Patentee before: BCD (SHANGHAI) MICRO-ELECTRONICS Ltd. |