CN106533404B - A Triangular Carrier Slope Randomly Distributed Pulse Width Modulation Circuit - Google Patents
A Triangular Carrier Slope Randomly Distributed Pulse Width Modulation Circuit Download PDFInfo
- Publication number
- CN106533404B CN106533404B CN201610852654.6A CN201610852654A CN106533404B CN 106533404 B CN106533404 B CN 106533404B CN 201610852654 A CN201610852654 A CN 201610852654A CN 106533404 B CN106533404 B CN 106533404B
- Authority
- CN
- China
- Prior art keywords
- random
- module
- triangular carrier
- pulse width
- width modulation
- 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
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K7/00—Modulating pulses with a continuously-variable modulating signal
- H03K7/08—Duration or width modulation ; Duty cycle modulation
-
- 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
- H02M1/00—Details of apparatus for conversion
- H02M1/12—Arrangements for reducing harmonics from AC input or output
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Amplitude Modulation (AREA)
Abstract
本发明公开了一种三角载波斜率随机分布脉宽调制电路,包括系统时钟模块、计数器模块、Rom模块和随机三角载波处理模块;系统时钟模块用于系统时钟信号;计数器模块用于根据实时系统时钟信号输出计数;Rom模块用于以所述计数为地址,取出存储的随机数据Δi,并将所述随机数据Δi传送至随机三角载波处理模块;随机三角载波处理模块用于根据所述随机数据Δi生成随机三角载波并输出至调制主电路。本发明能够在不改变脉宽调制主电路拓扑的情况下,从源头上降低电力系统内部电磁干扰、减小机械振动和噪声,为有效解决电力系统内部的电磁干扰问题和系统外部的振动噪声问题提供了新的途径;减振降噪不依赖于附加设备,缩减了滤波和减振成本,节约了系统资源。
The invention discloses a triangular carrier slope random distribution pulse width modulation circuit, comprising a system clock module, a counter module, a Rom module and a random triangular carrier processing module; the system clock module is used for a system clock signal; the counter module is used for according to the real-time system clock Signal output count; the Rom module is used to take the count as an address, take out the stored random data Δ i , and transmit the random data Δ i to the random triangular carrier processing module; the random triangular carrier processing module is used to The data Δi generates a random triangular carrier and outputs it to the modulation main circuit. The invention can reduce the electromagnetic interference inside the power system, reduce the mechanical vibration and noise from the source without changing the topology of the main circuit of pulse width modulation, so as to effectively solve the electromagnetic interference problem inside the power system and the vibration noise problem outside the system It provides a new way; vibration reduction and noise reduction do not depend on additional equipment, which reduces the cost of filtering and vibration reduction, and saves system resources.
Description
技术领域technical field
本发明属于电力电子技术领域,具体的来说,是指一种三角载波斜率随机分布脉宽调制电路。The invention belongs to the technical field of power electronics, and specifically relates to a pulse width modulation circuit with a random distribution of the slope of a triangular carrier wave.
背景技术Background technique
在电力电子技术中,载波频率固定的脉宽调制技术已被广泛应用。该技术基于伏秒平衡等效原理,通过控制开关器件通断来决定占空比以调制出不同波形,但其输出电压在载波频率及其倍频处存在幅值较大的谐波,对电力系统的危害十分广泛:于系统而言,这些谐波是主要的电磁干扰源,谐波降低了系统的电磁兼容品质,严重时甚至会影响系统中其他器件和设备的正常运行;于负载而言,谐波会引起不期望的损耗,产生机械振动和空气噪声;在目标识别领域,利用谐波频谱作为目标特征,可对舰船进行跟踪和识别,由此,谐波的存在还会影响舰船的隐身性能。In power electronics technology, pulse width modulation technology with a fixed carrier frequency has been widely used. This technology is based on the equivalent principle of volt-second balance. The duty cycle is determined by controlling the on-off of the switching device to modulate different waveforms. However, the output voltage has harmonics with large amplitudes at the carrier frequency and its multiplier. The hazards of the system are very extensive: for the system, these harmonics are the main source of electromagnetic interference, which reduces the electromagnetic compatibility quality of the system, and even affects the normal operation of other devices and equipment in the system; , harmonics will cause undesired loss, produce mechanical vibration and air noise; in the field of target recognition, the use of harmonic spectrum as target features can be used to track and identify ships, so the existence of harmonics will also affect ships Stealth performance of the boat.
随着电力电子技术的迅猛发展,已有大量文献针对固定载波频率脉宽调制技术存在的上述问题提出了不同的解决办法:研究人员或从调制方法本身入手,对脉宽调制技术进行改进;或从系统外部入手,被动地增设滤波、减振设备,以减小谐波影响,达到减小电磁干扰、消除噪音等目的。这些方法存在的缺点也非常明显,比如特定谐波消去法:当功率变换器的拓扑结构不相同时,对应的脉宽调制控制规律就不相同,此时,关于谐波消除的非线性方程就得重新计算——该方法只是针对具体主电路拓扑应用时的优化方案,并无普适价值,并且特定谐波消去法的非线性方程的计算也非常复杂,多采用离线的查表法,需要大的数据表;而附加的滤波减振设备通常会占用一定空间、增加设备重量。对于空间和载重有限制的诸多军用装备,这无疑不是理想的解决办法。With the rapid development of power electronics technology, a large number of literatures have proposed different solutions to the above problems of fixed carrier frequency PWM technology: researchers may start from the modulation method itself and improve the PWM technology; or Starting from the outside of the system, passively add filtering and vibration reduction equipment to reduce the influence of harmonics, and achieve the purpose of reducing electromagnetic interference and eliminating noise. The shortcomings of these methods are also very obvious. For example, the specific harmonic elimination method: when the topology of the power converter is different, the corresponding PWM control laws are different. At this time, the nonlinear equation for harmonic elimination is It has to be recalculated - this method is only an optimization scheme for specific main circuit topology applications, and has no universal value, and the calculation of the nonlinear equation of the specific harmonic elimination method is also very complicated. Large data sheets; additional filtering and vibration damping equipment usually takes up space and adds weight to the equipment. For many military equipment with limited space and load, this is undoubtedly not an ideal solution.
发明内容SUMMARY OF THE INVENTION
本发明的目的是针对载波频率固定的脉宽调制输出电压在载波频率及其倍频处存在幅值较大的谐波的问题,而提出的一种三角载波斜率随机分布脉宽调制电路,达到了分散谐波能量的目的;与此同时,输出电压的谐波畸变率THD保持不变。The purpose of the present invention is to solve the problem that the output voltage of the pulse width modulation with a fixed carrier frequency has large amplitude harmonics at the carrier frequency and its frequency multiplication, and proposes a triangular carrier slope random distribution pulse width modulation circuit to achieve The purpose of dispersing harmonic energy is achieved; at the same time, the harmonic distortion rate THD of the output voltage remains unchanged.
为实现上述目的,本发明所设计的一种三角载波斜率随机分布脉宽调制电路,其特殊之处在于,包括系统时钟模块、计数器模块、Rom模块和随机三角载波处理模块;In order to achieve the above-mentioned purpose, a kind of triangle carrier slope random distribution pulse width modulation circuit designed by the present invention is special in that it comprises a system clock module, a counter module, a Rom module and a random triangle carrier processing module;
所述系统时钟模块用于系统时钟信号;The system clock module is used for a system clock signal;
所述计数器模块用于根据实时系统时钟信号输出计数;The counter module is used to output counting according to the real-time system clock signal;
所述Rom模块用于以所述计数为地址,取出存储的随机数据Δi,并将所述随机数据Δi传送至随机三角载波处理模块;The Rom module is configured to take the count as an address, take out the stored random data Δ i , and transmit the random data Δ i to the random triangular carrier processing module;
所述随机三角载波处理模块用于根据所述随机数据Δi生成随机三角载波并输出至调制主电路。The random triangular carrier processing module is used for generating a random triangular carrier according to the random data Δ i and outputting the random triangular carrier to the modulation main circuit.
进一步地,所述脉宽调制电路基于FPGA实现。随机数据Δi存储于FPGA,解决了现有研究中实时产生随机载波序列导致运算量负担过大的难题;同时,这一措施还可以保证随机三角载波脉宽调制的实时性能。Further, the pulse width modulation circuit is implemented based on FPGA. The random data Δ i is stored in the FPGA, which solves the problem of excessive computational burden caused by real-time generation of random carrier sequences in existing research; at the same time, this measure can also ensure the real-time performance of random triangular carrier pulse width modulation.
更进一步地,所述随机数据Δi由随机三角载波周期Ti和系统时钟模块的输出主频f决定。由此,随机三角载波周期Ti的范围可以预先控制,避免因随机载波频率范围过高而造成损耗过大,也可以避免因开关频率过低而造成机械振动过强的问题。Further, the random data Δ i is determined by the random triangular carrier cycle T i and the output main frequency f of the system clock module. As a result, the range of the random triangular carrier period T i can be controlled in advance to avoid excessive loss due to an excessively high random carrier frequency range and excessive mechanical vibration due to an excessively low switching frequency.
更进一步地,所述随机三角载波处理模块根据所述随机数据Δi的值判断输出高脉冲或者低脉冲。这一过程仅需FPGA即可实现,避免了现有研究中将需要将FPGA和DSP组合才能进行随机脉宽调制的缺点。Further, the random triangular carrier processing module judges and outputs a high pulse or a low pulse according to the value of the random data Δ i . This process can be realized only by FPGA, which avoids the disadvantage that the combination of FPGA and DSP is required to perform random pulse width modulation in the existing research.
本发明的原理如下:首先,从频域谐波分布的角度出发对随机载波脉宽调制技术输出电压在频域内能量分散的原理进行了理论推导。单相全桥式变频器的主电路拓扑如图1所示,以正弦脉宽调制为例,其通过固定频率的载波对正弦信号进行调制。其中,UC为频率固定的载波信号,US是正弦波调制信号;当第一开关S1和第四开关S4导通时,输出电压UAB为+U/2,当第二开关S2和第三开关S3导通时,输出电压UAB为-U/2;而当第一开关S1和第二开关S2导通或者第三开关S3和第四开关S4导通时,输出电压UAB为0;改变+U/2和-U/2的宽度比,可以得到所期望的正弦脉宽调制输出电压如(a)所示。The principle of the present invention is as follows: First, from the perspective of frequency domain harmonic distribution, the principle of energy dispersion in frequency domain of output voltage of random carrier pulse width modulation technology is theoretically deduced. The main circuit topology of the single-phase full-bridge inverter is shown in Figure 1. Taking sinusoidal pulse width modulation as an example, it modulates the sinusoidal signal through a fixed frequency carrier. Wherein, U C is a carrier signal with a fixed frequency, and U S is a sine wave modulation signal; when the first switch S 1 and the fourth switch S 4 are turned on, the output voltage U AB is +U/2, when the second switch S 2 and the third switch S 3 are turned on, the output voltage U AB is -U/2; and when the first switch S 1 and the second switch S 2 are turned on or the third switch S 3 and the fourth switch S 4 are turned on When , the output voltage U AB is 0; by changing the width ratio of +U/2 and -U/2, the expected sinusoidal pulse width modulation output voltage can be obtained as shown in (a).
其次,采用平均对称规则采样时,固定载波频率正弦脉宽调制的局部放大图如(b)所示,用对称规则采样时的局部放大图如(c)所示;U为图1中直流端输入电压;脉冲宽度W由脉冲中心点ωst=0时刻(ωs是采样角频率,t为时间)采样得到的正弦调制信号US=acosω0t(ω0是基频角频率,a为调制深度)的数值来决定,并且相应脉冲以采样点为中心对称,可得:Secondly, when the average symmetrical rule is used for sampling, the partial magnification of the sine pulse width modulation of the fixed carrier frequency is shown in (b), and the partial magnification when the symmetrical rule is used for sampling is shown in (c); U is the DC terminal in Figure 1. Input voltage; pulse width W is the sinusoidal modulation signal U S = acosω 0 t (ω 0 is the fundamental angular frequency, a is determined by the value of the modulation depth), and the corresponding pulse is symmetrical with the sampling point as the center, we can get:
其中UA为图1中A点的电压,θ1、θ2、θ3、θ4分别为θ=ωst中π/2、π、3/2π、2π四个不同时刻的角度值;Wherein UA is the voltage at point A in Figure 1, and θ1, θ2, θ3, and θ4 are the angle values of π/2, π, 3/2π, and 2π at four different moments in θ=ωs t , respectively;
对作傅里叶级数展开,可以得到下式:right Expanding the Fourier series, we can get the following formula:
an、bn分别为进行傅里叶级数展开后的系数,其中a0=acosω0t(a为调制深度,ω0为基波角频率,n为自然数);可见,当ω0固定时,式(1)右侧中第一项acosω0t值也确定,即第一项为直流部分,而第二项随载波频率的变化而变化,为谐波成分;利用第一类贝塞尔函数对第二项的谐波成分H进行分析,可得:a n and b n are the coefficients after Fourier series expansion, respectively, where a 0 =acosω 0 t (a is the modulation depth, ω 0 is the fundamental angular frequency, and n is a natural number); it can be seen that when ω 0 is fixed When , the value of the first term acosω 0 t in the right side of Equation (1) is also determined, that is, the first term is the DC part, and the second term changes with the change of the carrier frequency, which is the harmonic component; The Harmonic component H of the second term is analyzed by the Er function, and we can get:
其中,Jk为第一类贝塞尔函数(当l=1,3,…时,n=2,4,…;l=0,2,…时,n=1,3,…;k=1,2,…)。Among them, J k is the Bessel function of the first kind (when l=1, 3,..., n=2, 4,...; when l=0, 2,..., n=1, 3,...; k= 1, 2, …).
根据(2)的约减结果,可知固定载波频率的正弦脉宽调制输出谐波幅值A为:According to the reduction result of (2), it can be known that the output harmonic amplitude A of the sinusoidal pulse width modulation with a fixed carrier frequency is:
A=(4U/nπ)×Jk(anπ/2) (3)A=(4U/nπ)×J k (anπ/2) (3)
同时,可以求得输出电压的谐波畸变率(THD)为:At the same time, the harmonic distortion (THD) of the output voltage can be obtained as:
对于的单相主电路而言,当IGBT模块3导通时,必然第一开关S1和第四开关S4或者是第二开关S2和第三开关S3同时导通,即有A和B电位相反,因此,输出电压UAB=UA-UB=U,基波和谐波幅值将是式(1)、(2)中计算结果的两倍。当调制信号为正弦信号、载波信号为载波时,上述公式推导了关于单相脉宽调制输出电压的谐波,可知:For the single-phase main circuit, when the IGBT module 3 is turned on, the first switch S 1 and the fourth switch S 4 or the second switch S 2 and the third switch S 3 must be turned on at the same time, that is, there are A and The potential of B is opposite, therefore, the output voltage U AB =U A -U B =U, the amplitude of the fundamental wave and the harmonic wave will be twice of the calculation results in equations (1) and (2). When the modulating signal is a sinusoidal signal and the carrier signal is a carrier wave, the above formula deduces the harmonics of the single-phase PWM output voltage, and it can be known that:
(1)针对基波部分ω0,其幅值为aU;(1) For the fundamental wave part ω 0 , its amplitude is aU;
(2)针对谐波部分nωs+kω0,其幅值为(4U/nπ)×Jk(anπ/2);(2) For the harmonic part nω s +kω 0 , its amplitude is (4U/nπ)×J k (anπ/2);
(3)基波幅值只与调制深度a相关;(3) The amplitude of the fundamental wave is only related to the modulation depth a;
(4)输出电压的THD仅与调制深度相关。(4) The THD of the output voltage is only related to the modulation depth.
基于上述分析可知,式(1)右侧中,第二项为谐波成分。由于cos(nωst)的傅里叶变换为单位脉冲函数:Based on the above analysis, it can be seen that in the right side of equation (1), the second term is the harmonic component. Since the Fourier transform of cos(nω s t) is a unit impulse function:
而单位脉冲函数与式(1)中定值部分在频域内为卷积,根据单位脉冲函数在频域内的特性可知:频域内任何函数与单位脉冲函数的卷积即为对该函数在频域内的搬移。即知,对于固定载波频率的脉宽调制技术每一次的n取值而言,式(1)第二项的谐波成分在频域内的分布计算可视为其在载波频率及其倍数频率处对(4/nπ)sin[(nπ/2)sin(ω0t)+(nπ/2)]傅里叶变换后幅值的搬移;在频域内对于所有n取值的谐波计算,相当于同一载波的不同次谐波在载波及其倍数频率处进行分布,对于不同的次数n,谐波的频谱幅值也就会在载波及其倍数频率处进行叠加。The unit impulse function and the fixed part in equation (1) are convolved in the frequency domain. According to the characteristics of the unit impulse function in the frequency domain, it can be known that the convolution of any function in the frequency domain and the unit impulse function is the function in the frequency domain. 's move. That is to say, for each n value of the pulse width modulation technique with a fixed carrier frequency, the calculation of the distribution of the harmonic components in the second term of equation (1) in the frequency domain can be regarded as the carrier frequency and its multiple frequencies. For (4/nπ)sin[(nπ/2)sin(ω 0 t)+(nπ/2)] Fourier transform amplitude shift; in the frequency domain, for all harmonic calculations of n values, it is equivalent to Different harmonics of the same carrier are distributed at the carrier and its multiple frequencies. For different orders n, the spectral amplitudes of the harmonics will also be superimposed at the carrier and its multiple frequencies.
与同样的拓扑结构,只要将调制主电路输入部分的三角载波用随机三角载波信号替换,便可得到类似式(2)的表达式。即将随机分布的三角载波频率引入,可以得到式:With the same topology, as long as the triangular carrier of the input part of the modulation main circuit is replaced with a random triangular carrier signal, an expression similar to formula (2) can be obtained. By introducing the randomly distributed triangular carrier frequency, the formula can be obtained:
其中,随机三角载波频率的均值为fav,由随机三角载波频率引起的角度变化由频率均值引起的2πnfav部分与实时角度差值部分φ(t)组成。此时,三角载波斜率脉宽调制技术的示意图如所示。随机地改变三角载波斜率,则三角载波斜率随机分布脉宽调制相当于在一定的时间内增加若干个随机分布的载波频率。Among them, the mean value of the random triangular carrier frequency is f av , and the angle change caused by the random triangular carrier frequency is composed of the 2πnf av part caused by the frequency mean and the real-time angle difference part φ(t). At this time, the schematic diagram of the triangular carrier slope pulse width modulation technique is as shown. Randomly changing the slope of the triangular carrier, then the random distribution of the triangular carrier slope PWM is equivalent to adding several randomly distributed carrier frequencies within a certain period of time.
因此,单相全桥式变频器的主电路拓扑分析结合式(7)可以对三角载波斜率随机分布脉宽调制做相应公式推导,类似地能够得到三角载波斜率随机分布脉宽调制的谐波特性:Therefore, the main circuit topology analysis of the single-phase full-bridge inverter combined with equation (7) can deduce the corresponding formula for the random distribution pulse width modulation of the triangular carrier slope, and similarly, the harmonic characteristics of the random distribution pulse width modulation of the triangular carrier slope can be obtained. :
(1)基波分量中不包含随机载波频率,不随载波变化,基波频域幅值不改变;(1) The fundamental wave component does not contain random carrier frequency, does not change with the carrier wave, and the fundamental wave frequency domain amplitude does not change;
(2)随机的改变载波载波频率均值等于固定载波频率脉宽调制的载波频率;载波频率随机改变,那么频谱谱线间间距会减小,这样的减小是因为载波频率的个数变化而导致的,并非单一载波频率的值增加或开关频率的变化而导致;(2) Randomly changing the average value of the carrier carrier frequency is equal to the carrier frequency of the fixed carrier frequency PWM; if the carrier frequency changes randomly, the spacing between spectrum lines will be reduced, and this reduction is caused by the change in the number of carrier frequencies. , not caused by an increase in the value of a single carrier frequency or a change in the switching frequency;
(3)载波斜率随机分布脉宽调制所做的并不是减小噪声总的分贝数,而是将原本幅值较大的谐波进行搬移,达到分散谐波能量的目的;与此同时,谐波畸变率THD不变。(3) What the carrier slope random distribution PWM does is not to reduce the total decibels of the noise, but to move the original harmonics with larger amplitudes to achieve the purpose of dispersing the harmonic energy; at the same time, the harmonics The wave distortion rate THD remains unchanged.
本设计三角载波斜率随机分布脉宽调制电路通过既定的随机数在随机载波处理模块生成的随机载波频率,相当于在一定的时间内增加若干个随机分布的载波频率,使得原本集中于在载波及其倍频处的谐波幅值被抑制,且与固定载波脉宽调制时的输出电压的谐波畸变率THD基本保持一致,极大地改善了电源品质。In this design, the random carrier frequency of the random distribution pulse width modulation circuit of the triangular carrier slope is generated by the random carrier processing module through a predetermined random number, which is equivalent to adding several randomly distributed carrier frequencies within a certain period of time, so that the original focus on the carrier and The harmonic amplitude at the frequency doubling is suppressed, and it is basically consistent with the harmonic distortion rate THD of the output voltage during the fixed carrier pulse width modulation, which greatly improves the power quality.
本发明的优点在于:能够在不改变脉宽调制主电路拓扑的情况下,从源头上降低电力系统内部电磁干扰、减小机械振动和噪声,为有效解决电力系统内部的电磁干扰问题和系统外部的振动噪声问题提供了新的途径;减振降噪不依赖于附加设备,缩减了滤波和减振成本,节约了系统资源。The advantage of the present invention is that it can reduce the electromagnetic interference inside the power system, reduce the mechanical vibration and noise from the source without changing the topology of the main circuit of the pulse width modulation, so as to effectively solve the electromagnetic interference problem inside the power system and the outside of the system. It provides a new way to solve the problem of vibration and noise; vibration reduction and noise reduction do not depend on additional equipment, which reduces the cost of filtering and vibration reduction, and saves system resources.
附图说明Description of drawings
图1为单相全桥式变频器的主电路拓扑图;Figure 1 is the main circuit topology diagram of the single-phase full-bridge inverter;
图2a为正弦脉宽调制输出电压波形图;Figure 2a is a waveform diagram of a sinusoidal pulse width modulation output voltage;
图2b为固定载波频率正弦脉宽调制电压波形图;Figure 2b is a waveform diagram of a sinusoidal pulse width modulation voltage with a fixed carrier frequency;
图2c为固定载波频率正弦脉宽调制电压波形图;Figure 2c is a waveform diagram of a sinusoidal pulse width modulation voltage with a fixed carrier frequency;
图3为三角载波斜率脉宽调制电压波形图;Fig. 3 is the waveform diagram of triangular carrier slope pulse width modulation voltage;
图4为本发明一种三角载波斜率随机分布脉宽调制电路的结构框图;4 is a structural block diagram of a triangular carrier slope random distribution pulse width modulation circuit according to the present invention;
图5为图1中随机三角载波处理模块处理的流程图;Fig. 5 is a flow chart of processing by a random triangular carrier processing module in Fig. 1;
图6为图1中随机三角载波处理模块的输出脉冲;Fig. 6 is the output pulse of random triangular carrier processing module in Fig. 1;
图7为三角载波斜率随机分布脉宽调制输出电压波形频谱及频谱分布图;Fig. 7 is a triangular carrier slope random distribution pulse width modulation output voltage waveform spectrum and spectrum distribution diagram;
图8为固定载波频率的脉宽调制输出电压波形及频谱分布图。FIG. 8 is a pulse width modulation output voltage waveform and spectrum distribution diagram of a fixed carrier frequency.
图中:系统时钟模块1-1、计数器模块1-2、Rom模块1-3和随机三角载波处理模块1-4,调整主电路2,IGBT模块3。In the figure: system clock module 1-1, counter module 1-2, Rom module 1-3 and random triangular carrier processing module 1-4, adjust main circuit 2, IGBT module 3.
具体实施方式Detailed ways
以下结合附图和具体实施例对本发明作进一步的详细描述。The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
如图4所示,本发明一种三角载波斜率随机分布脉宽调制电路,通过FPGA实现,包括系统时钟模块1-1、计数器模块1-2、Rom模块1-3和随机三角载波处理模块1-4。系统时钟模块1-1输出主频f(比如50MHz时,系统计数最小时间为0.02微秒),计数器模块1-2、Rom模块1-3以及随机载波处理模块1-4的时钟均与系统时钟1-1相连,计数器模块1-2收到系统时钟模块1-1发出的系统时钟信号进行计数,并输出计数至Rom模块1-3,Rom模块1-3以计数为地址,从Rom中取出所存的随机数据,并将随机数据传送至随机载波处理模块1-4。As shown in FIG. 4 , a triangular carrier slope random distribution pulse width modulation circuit of the present invention is implemented by FPGA and includes a system clock module 1-1, a counter module 1-2, a Rom module 1-3 and a random triangular carrier processing module 1 -4. The system clock module 1-1 outputs the main frequency f (for example, at 50MHz, the minimum system count time is 0.02 microseconds). 1-1 is connected, the counter module 1-2 receives the system clock signal sent by the system clock module 1-1 to count, and outputs the count to the Rom module 1-3, and the Rom module 1-3 takes the count as the address and takes it out from the Rom Stored random data, and send the random data to the random carrier processing modules 1-4.
根据需要,生成随机数存储于Rom模块1-3,随机数在随机载波处理模块1-4生成的随机载波频率fi(对应的随机载波周期为Ti)的平均值fav(n为随机载波个数,fi为第i个载波频率)要与固定载波频率的脉宽调制时的频率fc相等以保证在相同的时间内开关次数相等,即开关损耗不变(比如,基频为50Hz、固定载波频率为5KHz的脉宽调制时,在0.02秒内生成的随机载波为100个,这100个随机载波频率平均值必须为5KHz)。According to needs, generate random numbers and store them in Rom modules 1-3, and the random numbers are generated by random carrier frequency fi (corresponding random carrier cycle is T i ) average value f av (n is random The number of carriers, f i is the ith carrier frequency) should be equal to the frequency f c of the pulse width modulation of the fixed carrier frequency to ensure equal switching times in the same time, that is, the switching loss remains unchanged (for example, the fundamental frequency is When the PWM is 50Hz and the fixed carrier frequency is 5KHz, 100 random carriers are generated within 0.02 seconds, and the average frequency of these 100 random carriers must be 5KHz).
利用本发明实现三角载波斜率随机分布脉宽调制的方法,是通过固定频率的载波对随机三角载波进行调制的过程。其中随机三角载波的产生方法包括如下步骤:The method for realizing the random distribution pulse width modulation of the slope of the triangular carrier by the present invention is the process of modulating the random triangular carrier by the carrier of the fixed frequency. The method for generating the random triangular carrier comprises the following steps:
1)设定随机三角载波频率平均值fav,随机三角载波个数n,则随机三角载波频率为fi,i=1~n,对应的随机三角载波周期为Ti,i=1~n,在三角载波斜率随机分布脉宽调制期间,i从1到n自动循环;1) Set the average value of random triangular carrier frequency f av , and the number of random triangular carriers n, then the random triangular carrier frequency is f i , i=1~n, and the corresponding random triangular carrier cycle is T i , i=1~n , i cycle automatically from 1 to n during the random distribution of the triangular carrier slope during PWM;
2)计算所有随机数据Δi,Δi=Ti/(1/f),并找出最小随机数据Δmin和最大随机数据Δmax,f为输出主频;2) Calculate all random data Δ i , Δ i =T i /(1/f), and find the minimum random data Δ min and the maximum random data Δ max , where f is the output frequency;
3)当i为奇数时,设定奇数判断条件Δc的初始值为Δmin,执行步骤4),当i为偶数时,设定偶数判断条件Δc’的初始值为Δmax,执行步骤5);3) When i is an odd number, set the initial value of the odd-numbered judgment condition Δc to Δmin , and go to step 4). When i is an even number, set the initial value of the even-numbered judgment condition Δc ' to be Δmax , and go to step 5. );
4)令Δc=Δmin+Δi,并比较Δc是否大于Δmax,是则输出高脉冲并返回步骤1),否则循环本步骤;4) Set Δ c =Δ min +Δ i , and compare whether Δ c is greater than Δ max , if yes, output a high pulse and return to step 1), otherwise loop this step;
5)令Δc’=Δmax-Δi,并比较Δc’是否小于Δmin,是则输出高脉冲并返回步骤1),否则循环本步骤。5) Set Δ c' =Δ max -Δ i , and compare whether Δ c' is less than Δ min , if yes, output a high pulse and return to step 1), otherwise loop this step.
在随机载波处理模块1-4,根据Rom模块1-3中存储的随机三角载波周期Ti来生成随机三角载波频率fi并输出至调制主电路2。单个随机载波的处理流程图如图5所示。将Ti转换为随机数据Δi之后,根据计数模块1-3输出的数字i判断进行累加或者累减,奇数判断条件Δc和偶数判断条件Δc’根据选取的随机数据Δi而确定最小随机数据Δmin和最大随机数据Δmax(Δmax、Δmin分别为进行计数时的最大最小值);输出高/低脉冲的持续时间由循环中各次奇数判断条件Δc和偶数判断条件Δc’与Δmax或Δmin比较判断决定,根据伏秒平衡原理可知产生的高脉冲等效于图3中斜率随机变化的三角载波。In the random carrier processing module 1-4, the random triangular carrier frequency f i is generated according to the random triangular carrier period T i stored in the Rom module 1-3 and output to the modulation main circuit 2 . The processing flow chart of a single random carrier is shown in Figure 5. After converting T i into random data Δ i , accumulation or subtraction is performed according to the digital i output from the counting module 1-3, and the odd-numbered judgment condition Δc and the even-numbered judgment condition Δc ' are determined according to the selected random data Δi . Random data Δmin and maximum random data Δmax ( Δmax and Δmin are respectively the maximum and minimum values when counting); the duration of the output high/low pulse is determined by the odd-numbered judgment condition Δc and the even-numbered judgment condition Δ c' is determined by comparing with Δmax or Δmin . According to the principle of volt-second balance, it can be known that the generated high pulse is equivalent to the triangular carrier whose slope varies randomly in Fig. 3 .
比如,当0.02秒内为随机载波个数n=100时,随机载波频率平均值fav=5KHz,随机载波的周期Ti范围为0到0.02秒(不可取端值),FPGA主频f=50MHz,Δmax为24990000,Δmin为5000。For example, when the number of random carriers is n =100 within 0.02 seconds, the average value of the random carrier frequency f av = 5KHz, the period Ti of the random carrier ranges from 0 to 0.02 seconds (the limit is not acceptable), and the FPGA main frequency f = 50MHz, Δmax is 24990000, Δmin is 5000.
假定取出第5个随机载波周期T5值为0.00002296秒,经量化后得到Δi为1148,此时i为奇数,Δc的初始值设定为Δmin(为5000),Δc进行累加,每累加一次即与Δmax(为24990000)比较,当Δc小于Δmax时,输出低脉冲;反之,当累加数Δc大于Δmax时,停止累加,并输出高脉冲。Assuming that the value of the fifth random carrier cycle T5 is 0.00002296 seconds, Δ i is 1148 after quantization, and i is an odd number at this time, the initial value of Δ c is set to Δ min ( 5000), and Δ c is accumulated, Comparing with Δ max (24990000) every time of accumulation, when Δ c is less than Δ max , output low pulse; on the contrary, when the accumulated number Δ c is greater than Δ max , stop accumulation and output high pulse.
假定取出第6个随机载波周期T6值为0.00002296秒,经量化后得到Δi为1148,此时i为偶数,Δc的初始值设定为Δmax(为24990000),Δc进行累减,每累减一次即与Δmin(为5000)比较,当Δc大于Δmin时,输出低脉冲;反之,当累减数Δc小于Δmin时,停止累减,并输出高脉冲。Assuming that the value of the sixth random carrier cycle T6 is 0.00002296 seconds, Δ i is 1148 after quantization, and i is an even number at this time. Comparing with Δmin (5000) every time of accumulation, when Δc is greater than Δmin , a low pulse is output; on the contrary, when the accumulative number Δc is less than Δmin , the accumulation is stopped and a high pulse is output.
取随机载波频率平均值fav=5KHz,0.02秒内为随机载波个数n=100时,FPGA主频f=50MHz;由系统时钟1-1不断发送周期为50MHz的计数,传送至计数器模块1-2、存储随机数的Rom模块1-3以及随机载波处理模块1-4,Rom模块1-3根据计数取出存储的随机载波周期Ti并传递给随机载波处理模块1-4,随机载波处理模块1-4最终向调制主模块2输出脉冲,如图6所示。Take the average value of the random carrier frequency f av = 5KHz, when the number of random carriers n = 100 within 0.02 seconds, the FPGA main frequency f = 50MHz; the system clock 1-1 continuously sends the count with a period of 50MHz, and transmits it to the counter module 1 -2. The Rom module 1-3 and the random carrier processing module 1-4 that store random numbers, the Rom module 1-3 takes out the stored random carrier cycle T i according to the count and passes it to the random carrier processing module 1-4, and the random carrier process Modules 1-4 finally output pulses to modulation master module 2, as shown in Figure 6.
将调制信号设定为频率为50Hz的正弦波,直流电压源U=300V,阻感负载分别为1Ω和2mH,调制深度a设为0.8,基波频率f0设为50Hz,载波频率设为基波频率的200倍,三角载波斜率随机分布脉宽调制的PWM子模块则相当于在一个重复的时间内加入100个均值为10KHz的随机分布载波频率(该重复时间等于固定载波频率脉宽调制技术中的固定载波周期),由此得到的三角载波斜率随机分布脉宽调制输出电压波形频谱及频谱分布如图7所示;而主电路相同,固定载波频率的脉宽调制输出电压波形及频谱分布如图8所示。The modulation signal is set as a sine wave with a frequency of 50Hz, the DC voltage source U=300V, the resistance and inductance loads are 1Ω and 2mH respectively, the modulation depth a is set to 0.8, the fundamental frequency f0 is set to 50Hz, and the carrier frequency is set to the fundamental 200 times the wave frequency, the PWM sub-module of the triangular carrier slope random distribution pulse width modulation is equivalent to adding 100 random distribution carrier frequencies with an average value of 10KHz in a repeating time (the repetition time is equal to the fixed carrier frequency pulse width modulation technology). The fixed carrier cycle in the As shown in Figure 8.
可以看到在经FFT分析的一个周期内,三角载波斜率随机分布脉宽调制基频处幅值与固定载波脉宽调制的幅值一样,而原本集中于在载波及其倍频处的谐波幅值已经被抑制,在固定载波脉宽调制输出电压频谱中没有谐波幅值的频点也出现了一些谐波频谱值;与此同时,可以看到输出电压的THD为146.05%,与固定载波脉宽调制时的THD基本保持一致;最大单次谐波幅值仅为17.62,较之于固定载波脉宽调制时下降了84.82%,证明载波斜率随机分布脉宽调制能将谐波频谱值在更广的范围内进行分布而不改变THD值。三角载波斜率随机分布脉宽调制技术极大地改善了电源品质。It can be seen that in one cycle analyzed by FFT, the triangular carrier slope is randomly distributed and the amplitude at the fundamental frequency of the PWM is the same as that of the fixed carrier PWM, while the original focus is on the harmonics at the carrier and its multipliers. The amplitude has been suppressed, and some harmonic spectrum values also appear at the frequency points where there is no harmonic amplitude in the fixed carrier PWM output voltage spectrum; at the same time, it can be seen that the THD of the output voltage is 146.05%, which is different from the The THD of the carrier pulse width modulation is basically the same; the maximum single harmonic amplitude is only 17.62, which is 84.82% lower than that of the fixed carrier pulse width modulation. Distribute over a wider range without changing the THD value. The triangular carrier slope random distribution pulse width modulation technology greatly improves the power quality.
除上述实例外,本发明还可以有其它实现形式,凡采用等同替换或等效变换形成的方案,均落在本专利要求的保护范围内。In addition to the above-mentioned examples, the present invention can also have other implementation forms, and all solutions formed by equivalent replacement or equivalent transformation fall within the protection scope of the patent requirements.
本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。Contents not described in detail in this specification belong to the prior art known to those skilled in the art.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610852654.6A CN106533404B (en) | 2016-09-26 | 2016-09-26 | A Triangular Carrier Slope Randomly Distributed Pulse Width Modulation Circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610852654.6A CN106533404B (en) | 2016-09-26 | 2016-09-26 | A Triangular Carrier Slope Randomly Distributed Pulse Width Modulation Circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106533404A CN106533404A (en) | 2017-03-22 |
CN106533404B true CN106533404B (en) | 2019-07-16 |
Family
ID=58344316
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610852654.6A Active CN106533404B (en) | 2016-09-26 | 2016-09-26 | A Triangular Carrier Slope Randomly Distributed Pulse Width Modulation Circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106533404B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106849832A (en) * | 2017-03-27 | 2017-06-13 | 广东美芝制冷设备有限公司 | The method for noise reduction control and device of electric machine control system and its frequency converter |
CN108964640B (en) * | 2018-07-17 | 2021-11-16 | 吉林省博安消防设备有限公司 | Variable frequency triangular carrier generator and active power filter based on carrier period modulation technology |
CN109660302B (en) * | 2018-12-05 | 2021-08-03 | 中国人民解放军国防科技大学 | A kind of radio frequency pulse width modulator and modulation method based on digital delay line unit |
CN109981025B (en) * | 2019-03-27 | 2021-01-05 | 北京工业大学 | A Motor Control Method Based on Random Modulation of Irregular Carrier Slope |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101304247A (en) * | 2008-04-29 | 2008-11-12 | 哈尔滨工业大学深圳研究生院 | Multi-period random digital pulse width modulation circuit and method |
CN101499791A (en) * | 2008-01-29 | 2009-08-05 | 力博特公司 | PWM control method |
CN102055327A (en) * | 2009-11-09 | 2011-05-11 | 群光电能科技股份有限公司 | Power supply controller capable of externally adjusting duty ratio |
CN104836555A (en) * | 2015-05-14 | 2015-08-12 | 电子科技大学 | Random frequency pulse width modulation method for active power filter |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101946386B1 (en) * | 2012-12-11 | 2019-02-11 | 삼성전자주식회사 | Current mode pwm boost converter |
-
2016
- 2016-09-26 CN CN201610852654.6A patent/CN106533404B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499791A (en) * | 2008-01-29 | 2009-08-05 | 力博特公司 | PWM control method |
CN101304247A (en) * | 2008-04-29 | 2008-11-12 | 哈尔滨工业大学深圳研究生院 | Multi-period random digital pulse width modulation circuit and method |
CN102055327A (en) * | 2009-11-09 | 2011-05-11 | 群光电能科技股份有限公司 | Power supply controller capable of externally adjusting duty ratio |
CN104836555A (en) * | 2015-05-14 | 2015-08-12 | 电子科技大学 | Random frequency pulse width modulation method for active power filter |
Non-Patent Citations (3)
Title |
---|
Random Carrier Modulation Technique for Disperding Harmonics;许杰 等;《2015 8th International Congress on Image and Signal Processing (CISP 2015)》;20160218;1604-1608 |
基于FPGA三角波周期随机变化数字信号发生器的设计;冉自博 等;《计算机测量与控制》;20130925;第21卷(第9期);2604-2606 |
随机脉宽调制技术的再认识;许杰 等;《电机与控制应用》;20160610;第43卷(第6期);45-51 |
Also Published As
Publication number | Publication date |
---|---|
CN106533404A (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6319501B2 (en) | Resonance suppression device | |
CN106533404B (en) | A Triangular Carrier Slope Randomly Distributed Pulse Width Modulation Circuit | |
CN108462420B (en) | Motor vibration reduction method for asymmetric carrier double random modulation | |
CN109586554B (en) | Multi-frequency-multiplication uniform carrier slope random distribution pulse width modulation method | |
CN104298107B (en) | Combined local frequency multiplication sampling algorithm for generating SPWM waves | |
CN105226982B (en) | A kind of three level NPC inverter midpoint potential balance control methods based on midpoint electric current | |
CN104133166A (en) | Large-power arbitrary-waveform generation device and method | |
JP2017200419A (en) | Damping apparatus and method for converter system | |
CN105024574A (en) | MMC slave module capacitance voltage balance control method suitable for carrier phase shifting modulation | |
Muthyala et al. | Comparative analysis of switching angle calculation methods for multilevel inverters | |
Qin et al. | Distortion analysis and duty ratio correction algorithm for asymmetric modulation of two-stage matrix converter | |
CN106452028A (en) | Triangular carrier slope random distribution pulse width modulation method | |
Ajot et al. | Application of PI current controller in single phase inverter system connected to non linear load | |
CN105529952B (en) | Inverter switching device signal frequency conversion modulator approach and OPWM inverters | |
CN102684533A (en) | Neutral point voltage control method for neutral point clamped (NPC) type three-level inverter based on carrier amplitude shift | |
CN113241935B (en) | Random PWM selective harmonic elimination method for single-phase inverter | |
CN103560654A (en) | Driving method of full bridge inverter and full bridge inverter | |
CN108964640B (en) | Variable frequency triangular carrier generator and active power filter based on carrier period modulation technology | |
Zahira et al. | SPWM technique for reducing harmonics in three-phase non-linear load | |
CN104836555B (en) | A kind of Active Power Filter-APF random frequency pulse duration modulation method | |
Xu et al. | A quantitative harmonics analysis approach for sinusoidal pulse‐width‐modulation based Z‐source inverters | |
CN106208725A (en) | A kind of current transformer current equalizing method and device | |
Xie et al. | Torque ripple suppression strategy of asynchronous motor for electric vehicle based on random pulse position space vector pulse width modulation with uniform probability density | |
CN114301322B (en) | Master-slave RPWM selective harmonic elimination method for seven-level MPUC inverter unit | |
CN106685245A (en) | Multiple control method for rectifier |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |