CN111800051A - An FPGA-based SVPWM overmodulation system and method - Google Patents

An FPGA-based SVPWM overmodulation system and method Download PDF

Info

Publication number
CN111800051A
CN111800051A CN202010744011.6A CN202010744011A CN111800051A CN 111800051 A CN111800051 A CN 111800051A CN 202010744011 A CN202010744011 A CN 202010744011A CN 111800051 A CN111800051 A CN 111800051A
Authority
CN
China
Prior art keywords
overmodulation
voltage vector
amplitude
region
calculation module
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.)
Pending
Application number
CN202010744011.6A
Other languages
Chinese (zh)
Inventor
宋宝
周向东
唐小琦
马锐
邹益刚
唐钰
孙彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN202010744011.6A priority Critical patent/CN111800051A/en
Publication of CN111800051A publication Critical patent/CN111800051A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/14Estimation or adaptation of machine parameters, e.g. flux, current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P25/00Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
    • H02P25/02Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the kind of motor
    • H02P25/022Synchronous motors
    • H02P25/024Synchronous motors controlled by supply frequency
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using DC to AC converters or inverters
    • H02P27/08Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using DC to AC converters or inverters with pulse width modulation
    • H02P27/12Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using DC to AC converters or inverters with pulse width modulation pulsing by guiding the flux vector, current vector or voltage vector on a circle or a closed curve, e.g. for direct torque control
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2207/00Indexing scheme relating to controlling arrangements characterised by the type of motor
    • H02P2207/05Synchronous machines, e.g. with permanent magnets or DC excitation

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

The invention relates to an SVPWM overmodulation system and method based on FPGA, belonging to the technical field of motor control; the modulation methods in the prior art are all based on MCU or DSP, and have complex calculation and long time; the overmodulation system comprises an input processing module, an amplitude phase angle calculation module, an overmodulation coefficient calculation module, an overmodulation I region calculation module, an overmodulation II region calculation module, an output correction amplitude phase angle module, a sine and cosine calculation module, a voltage component calculation module and an output processing module; the calculation process of the algorithm is simplified, and the algorithm is convenient to realize in the FPGA.

Description

一种基于FPGA的SVPWM过调制系统和方法An FPGA-based SVPWM overmodulation system and method

技术领域technical field

本发明涉及一种永磁同步电机的驱动方法,特别是涉及一种永磁同步电机 的SVPWM过调制系统和方法。The present invention relates to a driving method of a permanent magnet synchronous motor, in particular to a SVPWM overmodulation system and method of a permanent magnet synchronous motor.

背景技术Background technique

随着电力电子技术与电机控制理论的不断深入研究与发展,交流伺服控制 技术取得较大的进步,从而广泛应用在数控机床、工业机器人、新能源车、武 器装备、航空航天等领域。数控的发展趋势是高速加工技术,为了提高生产效 率和改善加工质量,对伺服驱动系统的高速高转矩提出了更高的要求。With the continuous in-depth research and development of power electronic technology and motor control theory, AC servo control technology has made great progress, which is widely used in CNC machine tools, industrial robots, new energy vehicles, weapons and equipment, aerospace and other fields. The development trend of numerical control is high-speed machining technology. In order to improve production efficiency and improve machining quality, higher requirements are placed on the high-speed and high-torque servo drive system.

在基于矢量控制的交流伺服系统中,脉宽调制技术控制电压源型逆变器输 出三相电压,经过电机定子绕组形成三相正弦电流,从而产生旋转圆形磁场驱 使电机转子转动。正弦脉宽调制(SPWM,Sinual Pluse Width Modulation)技 术的控制目标是让逆变器的输出电压尽可能接近正弦波,但没有考虑电流波形 的控制,相电压基波幅值最大可以到达到Vdc/2。空间电压矢量调制(SVPWM, Space-Vector Pluse Width Modulation)技术将逆变器和交流电机视为一体, 通过控制逆变器使电机产生旋转圆形磁场,相电压基波幅值最大可以达到

Figure BDA0002607714870000011
比SPWM技术提高约15%。SVPWM调制技术由于直流母线电压利用率较高、谐波含量较小、数字化实现较简单等优点被广泛应用。但SVPWM调制技术 只适用于参考电压矢量在正六边形以内的情况,超过正六边形后需要采用SVPWM 过调制算法进行修正,该算法可以使输出相电压基波幅值最大达到2Vdc/π,可 进一步提高母线电压利用率约10%。这对提高电机的瞬间过载能力,加快动态响 应速度以及弱磁升速都意义重大。In the AC servo system based on vector control, the pulse width modulation technology controls the voltage source inverter to output the three-phase voltage, and the three-phase sinusoidal current is formed through the motor stator winding, thereby generating a rotating circular magnetic field to drive the motor rotor to rotate. The control goal of the sinusoidal pulse width modulation (SPWM, Sinual Pluse Width Modulation) technology is to make the output voltage of the inverter as close to a sine wave as possible, but without considering the control of the current waveform, the amplitude of the fundamental phase voltage can reach V dc /2. Space-Vector Pluse Width Modulation (SVPWM, Space-Vector Pluse Width Modulation) technology treats the inverter and the AC motor as one, and controls the inverter to make the motor generate a rotating circular magnetic field. The maximum amplitude of the phase voltage fundamental wave can reach
Figure BDA0002607714870000011
About 15% improvement over SPWM technology. SVPWM modulation technology is widely used due to the advantages of high DC bus voltage utilization, small harmonic content, and simple digital implementation. However, the SVPWM modulation technology is only suitable for the case where the reference voltage vector is within the regular hexagon. After exceeding the regular hexagon, the SVPWM over-modulation algorithm needs to be used for correction. This algorithm can make the output phase voltage fundamental wave amplitude up to 2V dc /π, The utilization rate of busbar voltage can be further improved by about 10%. This is of great significance for improving the instantaneous overload capacity of the motor, speeding up the dynamic response speed and increasing the speed of the field weakening.

SVPWM过调制算法可以提高直流母线电压利用率,从而获得更大转矩转速和 改善电机性能,所以成为国内外众多学者重点关注的研究问题。Joachim Holtz 提出了一种将过调制区域划分为Ⅰ区和Ⅱ区的双模式过调制策略:过调制Ⅰ区 只修正电压矢量幅值,而相位保持与参考电压矢量一致;过调制Ⅱ区需要修正 电压矢量的相位和幅值,确保输出电压矢量的连续性。该策略在过调制Ⅰ区引 入的谐波较小,但由于过调制Ⅱ区不断的修正相角导致实现比较繁琐。为了降 低计算难度,不少学者提出对过调制Ⅱ区进行简化,但输出的电压会有跳变。 Dong-Choon Lee等根据傅里叶展开得到相电压基波幅值与控制角的函数关系, 结合电压幅值与过调制系数关系得到不同过调制系数对应的交叉角和保持角, 并对其进行了分段线性处理,便于计算和数字化实现。The SVPWM over-modulation algorithm can improve the utilization rate of the DC bus voltage, thereby obtaining greater torque and speed and improving the motor performance, so it has become a research problem that many scholars at home and abroad focus on. Joachim Holtz proposed a dual-mode overmodulation strategy that divides the overmodulation region into region I and region II: the overmodulation region I only corrects the amplitude of the voltage vector, while the phase remains consistent with the reference voltage vector; the overmodulation region II needs to be corrected Phase and amplitude of the voltage vector to ensure the continuity of the output voltage vector. The harmonics introduced by this strategy in the overmodulation I region are small, but the implementation is cumbersome due to the constant correction of the phase angle in the overmodulation II region. In order to reduce the computational difficulty, many scholars propose to simplify the overmodulation II region, but the output voltage will jump. According to the Fourier expansion, Dong-Choon Lee et al. obtained the functional relationship between the amplitude of the phase voltage fundamental wave and the control angle, and combined the relationship between the voltage amplitude and the overmodulation coefficient to obtain the crossover angle and the hold angle corresponding to different overmodulation coefficients, and carried out their calculations. Piecewise linear processing is adopted, which is convenient for calculation and digital realization.

目前国内外学者提出的SVPWM过调制算法主要从简化计算、提高控制精度 和降低谐波等方面进行优化,几乎都是在MCU或者DSP中实现,其中双模式过 调制策略由于综合性能优越被众多学者采用和改进。At present, the SVPWM overmodulation algorithm proposed by domestic and foreign scholars is mainly optimized from the aspects of simplifying calculation, improving control accuracy and reducing harmonics, and almost all of them are implemented in MCU or DSP. Among them, the dual-mode overmodulation strategy has been widely used by many scholars due to its excellent comprehensive performance Adopt and improve.

发明内容SUMMARY OF THE INVENTION

鉴于现有技术中存在的问题,本发明一种基于FPGA的SVPWM过调制系 统,所述过调制系统包括:输入处理模块、幅值相角计算模块、过调制系数计 算模块、过调制Ⅰ区计算模块、过调制Ⅱ区计算模块、输出修正幅值相角模块、 正余弦计算模块、计算电压分量模块、输出处理模块;In view of the problems existing in the prior art, the present invention provides an FPGA-based SVPWM overmodulation system, the overmodulation system includes: an input processing module, an amplitude phase angle calculation module, an overmodulation coefficient calculation module, and an overmodulation I area calculation module. module, overmodulation Ⅱ area calculation module, output correction amplitude phase angle module, sine and cosine calculation module, calculation voltage component module, output processing module;

所述过调制模块以Vα和Vβ作为输入信号,处理后输出到所述幅值相角计算模 块,由所述幅值相角计算模块输出参考电压矢量Vref和相角θ;The overmodulation module takes V α and V β as input signals, and outputs to the amplitude and phase angle calculation module after processing, and the reference voltage vector V ref and the phase angle θ are output from the amplitude and phase angle calculation module;

由所述和过调制系数计算模块根据所述参考电压矢量Vref计算过调制系数m;calculating the overmodulation coefficient m according to the reference voltage vector Vref by the sum overmodulation coefficient calculation module;

所述过调制Ⅰ区计算模块根据所述过调制系数m计算电压矢量幅值Vm,再由 正余弦计算模块计算cosθ和sinθ,再由所述计算电压分量模块依据公式(1)

Figure BDA0002607714870000031
得到
Figure BDA0002607714870000032
Figure BDA0002607714870000033
The overmodulation I area calculation module calculates the voltage vector amplitude V m according to the overmodulation coefficient m, and then calculates cosθ and sinθ by the sine and cosine calculation module, and then calculates the voltage component by the calculation module according to formula (1)
Figure BDA0002607714870000031
get
Figure BDA0002607714870000032
and
Figure BDA0002607714870000033

所述输出修正幅值相角模块获取参考电压矢量所在扇区的初始角度θ0,再由 所述过调制Ⅱ区计算模块根据所述过调制系数m计算电压矢量幅值Vm和保持角 αh,结合所述初始角度θ0得到输出电压矢量的幅值Vout与相角θout,再由所述正余 弦计算模块计算cosθout和sinθout,再由所述计算电压分量模块依据公式(2)

Figure BDA0002607714870000034
得到
Figure BDA0002607714870000035
Figure BDA0002607714870000036
The output correction amplitude phase angle module obtains the initial angle θ 0 of the sector where the reference voltage vector is located, and then the overmodulation II area calculation module calculates the voltage vector amplitude Vm and the holding angle α according to the overmodulation coefficient m h , the amplitude V out and the phase angle θ out of the output voltage vector are obtained in combination with the initial angle θ 0 , and then the cos θ out and sin θ out are calculated by the sine and cosine calculation module, and then the calculation voltage component module is calculated according to the formula ( 2)
Figure BDA0002607714870000034
get
Figure BDA0002607714870000035
and
Figure BDA0002607714870000036

最后由所述输出处理模块输出由所述公式(1)得到

Figure BDA0002607714870000037
Figure BDA0002607714870000038
或由所述公式(2) 得到
Figure BDA0002607714870000039
Figure BDA00026077148700000310
作为所述电机逆变器的输入电压。Finally, the output of the output processing module is obtained from the formula (1)
Figure BDA0002607714870000037
and
Figure BDA0002607714870000038
or obtained from the formula (2)
Figure BDA0002607714870000039
and
Figure BDA00026077148700000310
as the input voltage of the motor inverter.

优选地,所述过调制Ⅰ区计算模块根据所述过调制系数m通过查表计算电压 矢量幅值VmPreferably, the overmodulation I region calculation module calculates the voltage vector magnitude Vm by looking up a table according to the overmodulation coefficient m .

优选地,所述过调制Ⅱ区计算模块根据所述过调制系数m通过查表计算电压 矢量幅值Vm和保持角αhPreferably, the overmodulation zone II calculation module calculates the voltage vector amplitude V m and the hold angle α h by looking up a table according to the overmodulation coefficient m.

优选地,所述输出电压矢量的幅值Vout由以下公式获得:Preferably, the amplitude V out of the output voltage vector is obtained by the following formula:

Figure BDA00026077148700000311
Figure BDA00026077148700000311

优选地,所述输出电压矢量的相角θout由以下公式获得:Preferably, the phase angle θ out of the output voltage vector is obtained by the following formula:

Figure BDA00026077148700000312
其中,参考电压矢量在扇区内的相对角度 Δθ=θ-θ0
Figure BDA00026077148700000312
Wherein, the relative angle of the reference voltage vector in the sector Δθ=θ−θ 0 .

本发明还提供了一种根据基于FPGA的SVPWM过调制系统进行过调制的 方法,所述方法包括以下步骤:The present invention also provides a kind of method that carries out overmodulation according to the SVPWM overmodulation system based on FPGA, and described method comprises the following steps:

步骤1):根据输入信号Vα和Vβ,计算模块输出参考电压矢量Vref和相角θ;Step 1): according to the input signals V α and V β , the calculation module outputs the reference voltage vector V ref and the phase angle θ;

步骤2):根据所述参考电压矢量Vref计算过调制系数m;Step 2): calculate the overmodulation coefficient m according to the reference voltage vector V ref ;

步骤3):依据所述参考电压矢量Vref或所述过调制系数m判断过调制区域;Step 3): determine the overmodulation region according to the reference voltage vector Vref or the overmodulation coefficient m;

步骤4):当过调制区域为过调制Ⅰ区时,根据所述过调制系数m计算电压 矢量幅值Vm再结合参考电压相角θ,依据公式

Figure BDA0002607714870000041
得到
Figure BDA0002607714870000042
Figure BDA0002607714870000043
当过调 制区域为过调制Ⅱ区时,获取参考电压矢量所在扇区的初始角度θ0,根据所述过 调制系数m计算电压矢量幅值Vm和保持角αh,结合所述初始角度θ0得到输出电压 矢量的幅值Vout与相角θout,依据公式
Figure BDA0002607714870000044
得到
Figure BDA0002607714870000045
Figure BDA0002607714870000046
Step 4): when the overmodulation region is the overmodulation I region, the voltage vector amplitude Vm is calculated according to the overmodulation coefficient m and combined with the reference voltage phase angle θ, according to the formula
Figure BDA0002607714870000041
get
Figure BDA0002607714870000042
and
Figure BDA0002607714870000043
When the overmodulation region is the overmodulation II region, obtain the initial angle θ 0 of the sector where the reference voltage vector is located, calculate the voltage vector amplitude V m and the holding angle α h according to the overmodulation coefficient m, and combine the initial angle θ 0 to get the amplitude V out and the phase angle θ out of the output voltage vector, according to the formula
Figure BDA0002607714870000044
get
Figure BDA0002607714870000045
and
Figure BDA0002607714870000046

步骤5):输出

Figure BDA0002607714870000047
Figure BDA0002607714870000048
作为所述电机逆变器的输入电压。Step 5): Output
Figure BDA0002607714870000047
and
Figure BDA0002607714870000048
as the input voltage of the motor inverter.

与现有技术方案相比,本发明至少具有以下有益效果:Compared with the prior art solutions, the present invention at least has the following beneficial effects:

1)本发明对SVPWM过调制方法进行了改进,简化了计算过程,便于在 FPGA中实现;1) the present invention improves the SVPWM overmodulation method, simplifies the calculation process, and is easy to realize in FPGA;

2)过调制Ⅰ区需要修正电压矢量幅值,根据过调制系数直接查表获得输出 电压矢量幅值,避免了交叉角和修正幅值的计算。2) The voltage vector amplitude value needs to be corrected in the overmodulation I area, and the output voltage vector amplitude value is obtained by directly looking up the table according to the overmodulation coefficient, avoiding the calculation of the cross angle and the correction amplitude value.

3)过调制Ⅱ区需要修正电压矢量幅值和相角,同样采用查表法简化了计算 过程。设计后的幅值相角修正过程不再涉及除法和三角函数运算,避免了大量 资源的消耗,精度可以保证与简化前基本一致。3) The voltage vector amplitude and phase angle need to be corrected in the overmodulation II region, and the table look-up method is also used to simplify the calculation process. The designed amplitude and phase angle correction process no longer involves division and trigonometric function operations, avoiding the consumption of a lot of resources, and the accuracy can be guaranteed to be basically the same as before the simplification.

附图说明Description of drawings

图1是现有技术中国线性调制区与过调制区划分图;Fig. 1 is the division diagram of prior art China linear modulation area and over-modulation area;

图2是本发明过调制模块调制区域划分图;Fig. 2 is the modulation area division diagram of overmodulation module of the present invention;

图3是本发明过调制模块工作示意图;Fig. 3 is the working schematic diagram of the overmodulation module of the present invention;

图4是本发明过调制Ⅰ区修正电压矢量轨迹图;Fig. 4 is the correction voltage vector locus diagram of overmodulation I region of the present invention;

图5是本发明交叉角αr与过调制系数m关系图;Fig. 5 is the relation diagram of intersection angle α r and overmodulation coefficient m of the present invention;

图6是本发明过调制Ⅰ区输出电压矢量幅值Vm与过调制系数m关系图;6 is a graph showing the relationship between the output voltage vector amplitude V m and the overmodulation coefficient m of the overmodulation I region of the present invention;

图7是本发明过调制Ⅰ区流程图;Fig. 7 is the flow chart of overmodulation I area of the present invention;

图8是本发明过调制Ⅱ区修正电压矢量轨迹图;Fig. 8 is the locus diagram of correction voltage vector of overmodulation II region of the present invention;

图9是本发明保持角αh与过调制系数m关系图;Fig. 9 is the relation diagram of the present invention holding angle α h and overmodulation coefficient m;

图10是过调制Ⅱ区修正电压矢量幅值Vm与过调制系数m关系图;Fig. 10 is a graph showing the relationship between the correction voltage vector amplitude V m and the overmodulation coefficient m in the overmodulation II region;

图11是本发明过调制Ⅱ区的流程图;Fig. 11 is the flow chart of overmodulation II area of the present invention;

图12是本发明过调制模块框图。Figure 12 is a block diagram of the overmodulation module of the present invention.

下面对本发明进一步详细说明。但下述的实例仅仅是本发明的简易例子, 并不代表或限制本发明的权利保护范围,本发明的保护范围以权利要求书为准。The present invention will be described in further detail below. However, the following examples are only simple examples of the present invention, and do not represent or limit the protection scope of the present invention. The protection scope of the present invention is subject to the claims.

具体实施例specific embodiment

下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。The technical solutions of the present invention are further described below with reference to the accompanying drawings and through specific embodiments.

当给电机添加三相平衡正弦电压时,电机定子磁链矢量会以恒定的幅值和 角速度旋转,磁链矢量末端的运动轨迹呈圆形。由于定子合成电压矢量始终保 持与磁链矢量正交,所以电压矢量跟随着磁链矢量同步旋转。SVPWM调制技术正 是通过控制电压矢量的运动轨迹来间接控制电机定子的旋转磁场。When a three-phase balanced sinusoidal voltage is added to the motor, the stator flux vector of the motor will rotate with a constant amplitude and angular velocity, and the motion trajectory of the end of the flux vector is circular. Since the stator resultant voltage vector is always kept orthogonal to the flux vector, the voltage vector rotates synchronously with the flux vector. The SVPWM modulation technology indirectly controls the rotating magnetic field of the motor stator by controlling the motion trajectory of the voltage vector.

SVPWM调制技术的实质是将控制周期TPWM内的参考电压矢量通过两个基 本电压矢量和零矢量等效合成,对应的作用时间分别为t1、t2和t0,而且满足 t1+t2+t0=TPWMThe essence of SVPWM modulation technology is to synthesize the reference voltage vector in the control period T PWM by two basic voltage vectors and zero vector equivalently, the corresponding action times are t 1 , t 2 and t 0 respectively, and t 1 +t 2 +t 0 =T PWM .

如图1所示,当参考电压矢量幅值小于正六边形内切圆半径时,始终有 t1+t2<TPWM,实际输出电压矢量轨迹与参考电压矢量保持一致都为圆形,此区域 称为线性调制区。逐渐增大参考电压矢量幅值,当超过内切圆半径时,超过正 六边形的部分采用线性调制方式会出现t1+t2>TPWM导致t0小于0的情况,这在物 理上是不合理的。所以此区域无法继续采用线性调制,需要采用过调制算法来 重新规划输出电压矢量轨迹,故此区域被称为过调制区域。As shown in Figure 1, when the amplitude of the reference voltage vector is smaller than the radius of the inscribed circle of the regular hexagon, there is always t 1 +t 2 <T PWM , and the actual output voltage vector trajectory is consistent with the reference voltage vector, both of which are circular. The area is called the linear modulation area. Gradually increase the amplitude of the reference voltage vector. When the radius of the inscribed circle is exceeded, the part exceeding the regular hexagon adopts the linear modulation method, and t 1 +t 2 >T PWM will cause t 0 to be less than 0. This is physically unreasonable. Therefore, this area cannot continue to use linear modulation, and an overmodulation algorithm needs to be used to re-plan the output voltage vector trajectory, so this area is called the overmodulation area.

为了判断调制区域,定义过调制系数为:In order to judge the modulation area, the overmodulation coefficient is defined as:

Figure BDA0002607714870000061
Figure BDA0002607714870000061

调制系数随着参考电压矢量幅值的逐渐增加而增大,调制深度随着加深, 逐渐从线性调制区进入过调制区。The modulation coefficient increases with the gradual increase of the reference voltage vector amplitude, and the modulation depth increases gradually from the linear modulation region to the overmodulation region.

(1)过调制Ⅰ区。由于物理限制,参考电压矢量超出正六边形边界的部分 会被限制在正六边形边界上,从而导致电压的损失。通过采取不改变电压相位, 只增加基本电压矢量附近的电压幅值的策略来进行电压补偿,其中修正的电压 幅值与参考角αr有关。(1) Overmodulation I region. Due to physical limitations, the portion of the reference voltage vector beyond the boundary of the regular hexagon will be confined to the boundary of the regular hexagon, resulting in a loss of voltage. The voltage compensation is performed by adopting a strategy of not changing the voltage phase, but only increasing the voltage amplitude near the basic voltage vector, where the corrected voltage amplitude is related to the reference angle α r .

2)过调制Ⅱ区。当参考电压矢量在基本电压矢量附近时,通过将电压矢量 保持在基本电压矢量处来弥补电压损失,其中保持的时间通过保持角αh确定。2) Overmodulation II area. When the reference voltage vector is in the vicinity of the base voltage vector, the voltage loss is compensated by holding the voltage vector at the base voltage vector for a time determined by the hold angle αh .

实施例1Example 1

本发明提供的过调制计算模块,在SVPWM调制前对参考电压进行预先修 正,引入过调制模块无需对原系统中其他模块做任何修改,方便进行验证和移 植使用。在实际工程中,SVPWM调制模块需要对输出的t1和t2做限幅处理,即 当t1+t2>TPWM时,将t1和t2按下式进行等比例缩小;The overmodulation calculation module provided by the present invention pre-corrects the reference voltage before the SVPWM modulation, and the introduction of the overmodulation module does not require any modification to other modules in the original system, which is convenient for verification and transplantation. In practical engineering, the SVPWM modulation module needs to limit the output t 1 and t 2 , that is, when t 1 +t 2 >T PWM , t 1 and t 2 are proportionally reduced according to the following formula;

Figure BDA0002607714870000062
Figure BDA0002607714870000062

可以实现将参考电压矢量超过正六边形的部分限制到正六边形上。所以过 调制模块不需要在电压幅值超过正六边形边界时进行限制计算,只需直接输出 修正后的电压矢量,可以避免不必要的计算。It is possible to confine the portion of the reference voltage vector beyond the regular hexagon to the regular hexagon. Therefore, the overmodulation module does not need to perform limit calculation when the voltage amplitude exceeds the boundary of the regular hexagon, and only needs to directly output the corrected voltage vector, which can avoid unnecessary calculations.

整个调制区域的参考电压矢量幅值范围为0到2Vdc/3,将整个调制区域根据 过调制系数m划分成线性调制区、过调制Ⅰ区和过调制Ⅱ区,如图2所示。The reference voltage vector amplitude range of the entire modulation region is 0 to 2V dc /3, and the entire modulation region is divided into linear modulation region, overmodulation I region and overmodulation II region according to the overmodulation coefficient m, as shown in Figure 2.

如图3所示,是本发明过调制计算模块工作示意图,首先根据参考电压矢 量分量Vα和Vβ计算电压幅值Vref与相角θ,然后由幅值计算过调制系数m,通过过 调制系数m确定所在区域并采取相应的算法处理。线性调制区不需要做任何的修 正,直接输出;过调制Ⅰ区需要增加电压矢量幅值来补偿电压损失,相角保持 跟随;过调制Ⅱ区需要修正电压矢量的幅值和相角。最终计算并输出修正后的 电压矢量分量

Figure BDA0002607714870000071
Figure BDA0002607714870000072
As shown in Figure 3, it is the working schematic diagram of the over-modulation calculation module of the present invention. First, the voltage amplitude V ref and the phase angle θ are calculated according to the reference voltage vector components V α and V β , and then the over-modulation coefficient m is calculated from the amplitude. The modulation coefficient m determines the region where it is located and adopts the corresponding algorithm for processing. The linear modulation area does not need any correction, and outputs directly; the overmodulation I area needs to increase the voltage vector amplitude to compensate for the voltage loss, and the phase angle keeps following; the overmodulation II area needs to correct the voltage vector amplitude and phase angle. Finally calculate and output the corrected voltage vector component
Figure BDA0002607714870000071
and
Figure BDA0002607714870000072

由于过调制修正幅值相角涉及较多的除法、三角函数等运算,在FPGA中 实现这些运算需要消耗大量的资源,所以需要对过调制Ⅰ区和Ⅱ区的算法进行 设计,在精度范围内尽量简化整合其中的一些计算过程,避免过多的复杂计算 消耗大量资源。整个过调制模块中除了包含可以直接实现的加减法和乘法,涉 及一些无法直接实现的运算,如平方开方求幅值,反正切求相角,正余弦求电 压分量等。下面分析各种运算在FPGA中的计算方案:Since the overmodulation correction amplitude phase angle involves many operations such as division and trigonometric functions, the implementation of these operations in the FPGA needs to consume a lot of resources. Therefore, it is necessary to design the algorithms for the overmodulation area I and II, within the accuracy range. Try to simplify and integrate some of these computing processes to avoid too many complex calculations that consume a lot of resources. The entire overmodulation module includes addition, subtraction and multiplication that can be directly implemented, and involves some operations that cannot be directly implemented, such as square root to find amplitude, arc tangent to find phase angle, sine and cosine to find voltage components, etc. The following analyzes the calculation scheme of various operations in FPGA:

(1)平方开方求幅值可以通过Quartus Ⅱ软件中自带的乘法器和开方IP核 实现,其中两个电压分量的平方需要消耗4个18×18乘法器,开方IP核需要消 耗一些基本逻辑单元。CORDIC算法可以通过迭代求矢量的幅值,迭代过程不 会涉及复杂运算。(1) The magnitude of the square root can be obtained through the multiplier and the square root IP core in the Quartus II software. The square of the two voltage components needs to consume 4 18×18 multipliers, and the square root IP core needs to consume some basic logic units. The CORDIC algorithm can iteratively find the magnitude of the vector, and the iterative process does not involve complex operations.

(2)通过反正切求相角的方法主要包括泰勒级数逼近法、ROM查表法、 CORDIC算法等。泰勒级数近似逼近法需要消耗大量的乘法器,由于乘法器资 源比较紧张,此方法不可取。反正切值查找表是将角度值预先存于ROM中,通 过纵坐标与横坐标的比值作为输入地址,查找对应的反正切值。通过预处理可 以计算四个象限的角度值,查表法简单容易实现,但是其运算精度受资源限制。 CORDIC算法可以通过计算反正切求矢量的相角,而且通过一轮迭代运算可以 同时输出矢量的幅值和相角。(2) The methods of obtaining the phase angle by arctangent mainly include Taylor series approximation method, ROM look-up table method, CORDIC algorithm and so on. The Taylor series approximation method needs to consume a large number of multipliers, and this method is not desirable because the multiplier resources are relatively tight. The arc tangent lookup table stores the angle value in the ROM in advance, and uses the ratio of the ordinate to the abscissa as the input address to search for the corresponding arc tangent. The angle values of the four quadrants can be calculated through preprocessing, and the look-up table method is simple and easy to implement, but its operation accuracy is limited by resources. The CORDIC algorithm can calculate the phase angle of the vector by calculating the arctangent, and can output the amplitude and phase angle of the vector at the same time through one round of iterative operation.

(3)计算角度的正余弦值主要包括查表法和CORDIC算法。查表法是将正 余弦值存放于FPGA中,将角度值作为查找表的输入地址,查找并输出角度的 正余弦值。CORDIC算法一轮迭代运算可以同时计算正余弦值。(3) Calculate the sine and cosine value of the angle mainly including the look-up table method and the CORDIC algorithm. The look-up table method is to store the sine and cosine values in the FPGA, and use the angle value as the input address of the look-up table to find and output the sine and cosine values of the angle. One iteration of the CORDIC algorithm can calculate the sine and cosine values at the same time.

由于CORDIC具有算法精度高、运算速度快、以及可以同时解决多种三角 函数运算的优势,本文采用CORDIC算法实现计算幅值相角以及正余弦。Because CORDIC has the advantages of high algorithm precision, fast operation speed, and can solve a variety of trigonometric function operations at the same time, this paper adopts the CORDIC algorithm to calculate the amplitude, phase angle and sine and cosine.

本发明的过调制模块分为9个子模块:输入处理模块、幅值相角计算模块、 过调制系数计算模块、过调制Ⅰ区算法模块、过调制Ⅱ区算法模块、输出修正 幅值相角模块、正余弦计算模块、计算电压分量模块、输出处理模块。过调制 模块以Vα和Vβ作为输入,通过过调制算法修正后输出

Figure BDA0002607714870000081
Figure BDA0002607714870000082
各个子模块间的 关系如图12所示。The overmodulation module of the present invention is divided into 9 sub-modules: an input processing module, an amplitude phase angle calculation module, an overmodulation coefficient calculation module, an overmodulation I area algorithm module, an overmodulation II area algorithm module, and an output correction amplitude phase angle module. , sine and cosine calculation module, calculation voltage component module, output processing module. The overmodulation module takes V α and V β as input, and the output is corrected by the overmodulation algorithm
Figure BDA0002607714870000081
and
Figure BDA0002607714870000082
The relationship between each sub-module is shown in Figure 12.

其中幅值相角计算模块由下式计算幅值:Among them, the amplitude phase angle calculation module calculates the amplitude by the following formula:

Figure BDA0002607714870000083
Figure BDA0002607714870000083

由下式计算相角:Calculate the phase angle from:

Figure BDA0002607714870000084
Figure BDA0002607714870000084

过调制系数计算模块由下式计算过调制系数:The overmodulation coefficient calculation module calculates the overmodulation coefficient by the following formula:

Figure BDA0002607714870000085
Figure BDA0002607714870000085

下面将根据等面积法分析过调制Ⅰ区、过调制Ⅱ区如何简化修正参考电压 矢量幅值相角的过程,以及如何基于CORDIC计算三角函数。The following will analyze how the overmodulation I area and the overmodulation II area simplify the process of correcting the phase angle of the reference voltage vector amplitude according to the equal area method, and how to calculate the trigonometric function based on CORDIC.

过调制Ⅰ区算法模块由下式计算幅值:The overmodulation zone I algorithm module calculates the amplitude by the following formula:

过调制Ⅰ区从正六边形内切圆开始,为了使输出仍能跟踪参考电压,对参 考电压矢量的修正策略是增大电压幅值,相角保持跟随不变,于是将参考电压 矢量幅值增加到Vm得到输出电压矢量,输出电压矢量轨迹与正六边形相交于交 叉角αr。通过过调制Ⅰ区算法修正后,输出电压矢量轨迹圆的半径为Vm。由于 SVPWM调制模块的限幅作用,实际的运行轨迹会一部分在正六边形上,一部分 在圆上。其中输出电压矢量幅值Vm与交叉角αr的关系为:The overmodulation I area starts from the inscribed circle of the regular hexagon. In order to make the output still track the reference voltage, the correction strategy for the reference voltage vector is to increase the voltage amplitude, and the phase angle remains unchanged, so the reference voltage vector amplitude is changed. Adding to V m yields an output voltage vector whose locus intersects the regular hexagon at the intersection angle α r . The radius of the output voltage vector track circle is V m after being corrected by the overmodulation I area algorithm. Due to the limiting effect of the SVPWM modulation module, the actual running track will be partly on the regular hexagon and partly on the circle. The relationship between the output voltage vector amplitude V m and the crossing angle α r is:

Figure BDA0002607714870000091
Figure BDA0002607714870000091

过调制Ⅰ区算法的关键就是如何根据参考电压矢量幅值Vref确定输出电压矢 量幅值Vm的大小。根据伏秒平衡原理,单位时间内的输出电压矢量平均值与参 考电压矢量相同,而输出电压矢量与参考电压矢量的旋转速度相同,所以输出 电压矢量旋转扫过的面积应该等于参考电压矢量旋转扫过的面积。所以过调制 Ⅰ区通过增大电压幅值来补偿缺失电压,转换到几何上,要保证缺失电压图形 面积等于补偿电压图形面积。如图4所示,缺失电压由参考电压矢量轨迹超过 正六边形的六部分组成,补偿电压包括输出电压矢量轨迹在顶点附近与正六边 形以及参考电压矢量轨迹所围成的六部分。The key to the algorithm of overmodulation I area is how to determine the magnitude of the output voltage vector magnitude V m according to the reference voltage vector magnitude V ref . According to the principle of volt-second balance, the average value of the output voltage vector per unit time is the same as the reference voltage vector, and the rotation speed of the output voltage vector and the reference voltage vector is the same, so the area swept by the rotation of the output voltage vector should be equal to the rotation sweep of the reference voltage vector. area passed. Therefore, in the overmodulation I region, the missing voltage is compensated by increasing the voltage amplitude, and when it is converted into geometry, it is necessary to ensure that the area of the missing voltage pattern is equal to the area of the compensation voltage pattern. As shown in Fig. 4, the missing voltage consists of six parts of the reference voltage vector trajectory exceeding the regular hexagon, and the compensation voltage includes the six parts of the output voltage vector trace surrounded by the regular hexagon and the reference voltage vector trace near the vertex.

根据等面积法,参考电压矢量旋转一周围成的面积等于实际输出电压矢量 轨迹围成的面积,有如下等式:According to the equal-area method, the area formed by the rotation of the reference voltage vector is equal to the area enclosed by the actual output voltage vector trace, which has the following equation:

Figure BDA0002607714870000092
Figure BDA0002607714870000092

实际输出电压矢量轨迹围成的面积可以分为六个扇形和六个三角形。结合The area enclosed by the actual output voltage vector trace can be divided into six sectors and six triangles. combine

式2.2,得到过调制系数m与交叉角αr的关系为:Equation 2.2, the relationship between the overmodulation coefficient m and the cross angle α r is obtained as:

Figure BDA0002607714870000093
Figure BDA0002607714870000093

其中交叉角αr的范围为0到π/6。当参考电压矢量幅值为正六边形内切圆半 径时,开始进入过调制Ⅰ区,此时的交叉角αr为π/6,过调制系数m约为0.9069; 当修正的输出电压矢量轨迹为正六边形外接圆时,无法继续通过顶点处进行补 偿,此时开始进入过调制Ⅱ区,所以过调制Ⅰ区上限的交叉角αr为0,过调制系 数m约为0.9523。由于式3.3是非线性的,无法直接在芯片利用该式计算出交叉 角αr,通过MATLAB绘制出其曲线图像如图5所示。where the intersection angle α r ranges from 0 to π/6. When the reference voltage vector amplitude is the radius of the inscribed circle of the regular hexagon, it begins to enter the overmodulation I region, the intersection angle α r at this time is π/6, and the overmodulation coefficient m is about 0.9069; when the corrected output voltage vector trace When it is a regular hexagon circumscribed circle, it cannot continue to pass through the vertex for compensation, and it begins to enter the overmodulation II zone, so the upper cross angle α r of the overmodulation I zone is 0, and the overmodulation coefficient m is about 0.9523. Since Equation 3.3 is nonlinear, the intersection angle α r cannot be calculated directly in the chip using this formula, and its curve image is drawn through MATLAB as shown in Figure 5.

理论上可以对此曲线进行线性拟合或者离线取点处理,然后可以通过过调 制系数m计算或者查表得到交叉角αr,再将交叉角带入式3.1中计算出输出电压 矢量幅值Vm,这种实现方法通常应用于MCU或者DSP中。由于式3.1中涉及 余弦和除法运算,在FPGA中计算此公式会比较复杂和消耗较多资源。而式3.1 中Vdc为直流母线电压,在工程实现时通过标幺化处理后可以看成常数,可以先 将Vdc看成1。所以可以结合式3.1和式3.3,通过MATLAB直接绘制出过调制系 数m与输出电压幅值Vm的关系曲线,如图6所示。由于分段线性拟合需要消耗乘 法器,采取离线取点存于芯片中查表的方式更利于在FPGA中实现和资源利用。 本文按一定的精度在此曲线上取点并采用查表法,便可在FPGA中直接通过过 调制系数m查表得到输出电压矢量的幅值Vm。这样与通过查表先获得交叉角,然 后再带入式3.1计算出输出电压幅值的精度一致,却避免了式3.1的复杂计算和 资源消耗。In theory, linear fitting or offline point processing can be performed on this curve, and then the cross angle α r can be obtained by calculating the overmodulation coefficient m or looking up the table, and then the cross angle can be brought into Equation 3.1 to calculate the output voltage vector amplitude V m , this realization method is usually applied in MCU or DSP. Since the cosine and division operations are involved in Equation 3.1, calculating this formula in an FPGA is more complicated and consumes more resources. In Equation 3.1, V dc is the DC bus voltage, which can be regarded as a constant after per-unit processing during engineering implementation, and V dc can be regarded as 1 first. Therefore, the relationship between the overmodulation coefficient m and the output voltage amplitude V m can be directly drawn through MATLAB by combining Equation 3.1 and Equation 3.3, as shown in Figure 6. Since piecewise linear fitting needs to consume multipliers, it is more beneficial to implement and utilize resources in FPGA by taking offline points and storing them in the chip to look up the table. In this paper, we select points on this curve according to a certain precision and use the table lookup method, and we can directly look up the table through the overmodulation coefficient m to obtain the amplitude V m of the output voltage vector in the FPGA. This is consistent with the accuracy of calculating the output voltage amplitude by looking up the table to obtain the cross angle first, and then bringing it into Equation 3.1, but it avoids the complex calculation and resource consumption of Equation 3.1.

由于过调制Ⅰ区不改变相角,所以直接将输出电压矢量分解,得到修正后 的

Figure BDA0002607714870000101
Figure BDA0002607714870000102
为:Since the overmodulation I region does not change the phase angle, the output voltage vector is directly decomposed to obtain the corrected
Figure BDA0002607714870000101
and
Figure BDA0002607714870000102
for:

Figure BDA0002607714870000103
Figure BDA0002607714870000103

过调制Ⅱ区算法模块Overmodulation Ⅱ Region Algorithm Module

过调制Ⅰ区算法流程如图7所示,参考电压矢量的两个分量Vα和Vβ作为输入, 通过查表法修正电压幅值后,输出修正后的两个电压分量

Figure BDA0002607714870000104
Figure BDA0002607714870000105
整个算法流 程中的难以直接实现的运算包括计算参考电压失量的幅值相角,以及式3.4中计 算正余弦,这些运算都是无法避免的。通常在DSP中实现过调制算法的流程是 根据参考电压幅值计算过调制系数,然后通过过调制系数确定交叉角,最后由 交叉角计算输出电压幅值。本节基于FPGA设计的过调制Ⅰ区算法简化了计算 输出电压幅值的过程,直接根据过调制系数查表得到输出电压幅值。该算法避 免了交叉角和输出电压幅值的计算,很大程度上简化了计算和节省资源,同时 可以保证计算精度,更利于在FPGA中实现。The algorithm flow of the overmodulation I region is shown in Figure 7. The two components V α and V β of the reference voltage vector are used as inputs. After the voltage amplitude is corrected by the look-up table method, the corrected two voltage components are output.
Figure BDA0002607714870000104
and
Figure BDA0002607714870000105
The operations that are difficult to implement directly in the entire algorithm flow include calculating the amplitude and phase angle of the reference voltage loss, and calculating the sine and cosine in Equation 3.4. These operations are unavoidable. Usually, the process of implementing the overmodulation algorithm in DSP is to calculate the overmodulation coefficient according to the reference voltage amplitude, then determine the crossover angle through the overmodulation coefficient, and finally calculate the output voltage amplitude from the crossover angle. In this section, the algorithm of overmodulation I area based on FPGA design simplifies the process of calculating the output voltage amplitude, and directly obtains the output voltage amplitude according to the overmodulation coefficient look-up table. The algorithm avoids the calculation of the crossing angle and the output voltage amplitude, which simplifies the calculation and saves resources to a large extent. At the same time, the calculation accuracy can be guaranteed, which is more conducive to the realization in FPGA.

过调制Ⅰ区的上限是输出电压矢量轨迹为正六边形外接圆时,实际的运行 轨迹完全在正六边形上。若继续增加参考电压幅值Vref,开始进入过调制Ⅱ区。 过调制Ⅱ区的修正策略是让输出电压矢量保持在基本电压矢量处一段时间,然 后跳变跟随参考电压矢量同步旋转。保持在基本电压矢量的这段时间对应参考 电压矢量在空间中旋转的角度为保持角αh,根据式2.18可得到保持角处的修正 电压矢量幅值为Vm,输出电压矢量跟修正电压矢量幅值Vm和保持角αh有关。The upper limit of the overmodulation I region is that when the output voltage vector trajectory is a regular hexagon circumscribed circle, the actual running track is completely on the regular hexagon. If the reference voltage amplitude V ref continues to increase, it begins to enter the overmodulation II region. The correction strategy in overmodulation II is to keep the output voltage vector at the basic voltage vector for a period of time, and then the jump follows the reference voltage vector to rotate synchronously. The angle at which the reference voltage vector rotates in space during the period of time remaining at the basic voltage vector is the holding angle α h . According to Equation 2.18, the corrected voltage vector amplitude at the holding angle can be obtained as V m , and the output voltage vector is the same as the corrected voltage vector. The amplitude V m is related to the hold angle α h .

以3扇区为例,分析过调制Ⅱ区的输出电压矢量轨迹如图8所示,当参考 电压矢量旋转到0至αh内,输出电压矢量始终为基本电压矢量V1;当参考电压 矢量旋转到保αh至π/3-αh时,输出电压矢量沿修正电压矢量轨迹圆Vm从αh同步 旋转至π/3-αh;当参考电压矢量旋转到π/3-αh至π/3时,输出电压矢量始终为 基本电压矢量V2。其中输出电压矢量沿修正电压矢量轨迹圆Vm旋转时,由于 SVPWM模块的限幅作用,实际输出电压矢量轨迹会自动沿正六边形边界移动, 无需再进行限幅计算。Taking 3 sectors as an example, the trace of the output voltage vector in the analysis area II is shown in Figure 8. When the reference voltage vector rotates to within 0 to αh , the output voltage vector is always the basic voltage vector V 1 ; When rotated to keep α h to π/3-α h , the output voltage vector rotates synchronously from α h to π/3-α h along the correction voltage vector trajectory circle V m ; when the reference voltage vector rotates to π/3-α h To π/3, the output voltage vector is always the base voltage vector V 2 . When the output voltage vector rotates along the corrected voltage vector trajectory circle V m , due to the limiting effect of the SVPWM module, the actual output voltage vector trajectory will automatically move along the regular hexagon boundary, and no limit calculation is required.

同样根据等面积法,转换成参考电压矢量与实际输出电压轨迹围成的几何 面积相等,存在如下等式:Also according to the equal area method, the geometric area enclosed by the reference voltage vector and the actual output voltage trace is equal to the following equation:

Figure BDA0002607714870000111
Figure BDA0002607714870000111

其中保持角内输出为基本电压矢量时,其面积相当于基本电压矢量旋转保 持角围成的面积。结合式2.2,得到过调制系数m与保持角αh的关系为:When the output in the holding angle is the basic voltage vector, its area is equivalent to the area enclosed by the rotation holding angle of the basic voltage vector. Combined with Equation 2.2, the relationship between the overmodulation coefficient m and the holding angle α h is obtained as:

Figure BDA0002607714870000112
Figure BDA0002607714870000112

其中保持角αh的范围为0到π/6。刚进入过调制Ⅱ区时,保持角为0,过调 制系数为0.9523,输出电压矢量轨迹为正六边形的外接圆;过调制Ⅱ区上限时 保持角为π/6,过调制系数为1.0472,输出电压矢量轨迹为六个顶点,即在六个 基本电压矢量跳变。通过MATLAB绘制出过调制系数m与保持角αh的关系如图 9所示。where the holding angle α h ranges from 0 to π/6. When entering the overmodulation II zone, the hold angle is 0, the overmodulation coefficient is 0.9523, and the output voltage vector trace is the circumscribed circle of the regular hexagon; when the upper limit of the overmodulation zone II is the hold angle is π/6, the overmodulation coefficient is 1.0472, The output voltage vector locus has six vertices, that is, jumps in the six basic voltage vectors. The relationship between the overmodulation coefficient m and the holding angle α h is drawn by MATLAB as shown in Figure 9.

同样根据式2.2和式3.6,通过MATLAB绘制出过调制系数m与修正电压 矢量幅值Vm的关系如图10所示。按一定的精度在此曲线上取点并采用查表法, 可以实现由过调制系数m查表直接得到保持角αh和修正电压矢量的幅值Vm,避 免了复杂的计算与资源的消耗。Also according to Equation 2.2 and Equation 3.6, the relationship between the overmodulation coefficient m and the corrected voltage vector amplitude V m is drawn through MATLAB, as shown in Figure 10. Taking points on this curve according to a certain precision and using the table look-up method, the holding angle α h and the amplitude V m of the corrected voltage vector can be directly obtained by looking up the table by the overmodulation coefficient m, avoiding complex calculation and resource consumption .

过调制Ⅱ区需要同时修正幅值和相角,通过查表得到保持角αh和修正电压 矢量幅值Vm后,根据参考电压矢量所在扇区可以计算得到输出电压矢量的幅值 Vout与相角θout。根据图空间电压矢量图,参考电压矢量所在扇区的初始角度θ0为:Overmodulation II needs to correct the amplitude and phase angle at the same time. After obtaining the holding angle α h and the corrected voltage vector amplitude V m by looking up the table, the amplitude V out of the output voltage vector can be calculated according to the sector where the reference voltage vector is located. Phase angle θ out . According to the space voltage vector diagram in the figure, the initial angle θ 0 of the sector where the reference voltage vector is located is:

Figure BDA0002607714870000121
Figure BDA0002607714870000121

参考电压矢量在扇区内的相对角度为:The relative angle of the reference voltage vector within the sector is:

Δθ=θ-θ0 (3.8)Δθ=θ-θ 0 (3.8)

在保持角以内,保持在基本电压矢量上,即电压幅值和相角都固定;在保 持角以外,幅值为修正电压矢量幅值Vm,相角跟随不变。所以通过分析相对角 度Δθ与保持角的关系,得到输出电压矢量的幅值Vout大小:Within the holding angle, it remains on the basic voltage vector, that is, the voltage amplitude and phase angle are fixed; outside the holding angle, the amplitude is the corrected voltage vector amplitude V m , and the phase angle follows the same unchanged. Therefore, by analyzing the relationship between the relative angle Δθ and the holding angle, the amplitude V out of the output voltage vector is obtained:

Figure BDA0002607714870000122
Figure BDA0002607714870000122

同样可以得到相角θout为:Similarly, the phase angle θ out can be obtained as:

Figure BDA0002607714870000123
Figure BDA0002607714870000123

同样将修正的输出电压矢量的幅值Vout和相角θout经过分解,得到输出的

Figure BDA0002607714870000124
Figure BDA0002607714870000131
Similarly, the amplitude V out and phase angle θ out of the corrected output voltage vector are decomposed to obtain the output
Figure BDA0002607714870000124
and
Figure BDA0002607714870000131

Figure BDA0002607714870000132
Figure BDA0002607714870000132

过调制Ⅱ区的计算流程图如图11所示,以参考电压矢量分量Vα和Vβ为输入, 通过算法修正电压幅值相角后,输出电压分量

Figure RE-GDA0002660783900000134
Figure RE-GDA0002660783900000135
The calculation flow chart of the overmodulation II region is shown in Figure 11. Taking the reference voltage vector components V α and V β as the input, after correcting the voltage amplitude and phase angle through the algorithm, the output voltage component
Figure RE-GDA0002660783900000134
and
Figure RE-GDA0002660783900000135

整个算法流程除了计算参考电压失量的幅值相角以及计算电压分量,中间 过程不再涉及除法和三角函数等运算,只涉及加减法、比较和乘法,便于在FPGA 中实现。In addition to calculating the magnitude and phase angle of the reference voltage loss and calculating the voltage component, the entire algorithm process does not involve division and trigonometric functions in the intermediate process, but only involves addition, subtraction, comparison and multiplication, which is easy to implement in FPGA.

随着调制深度的加深,最后完全在六个基本电压矢量上跳变,输出为六拍 阶梯波状态。由于过调制Ⅱ区的输出电压矢量保持在基本电压矢量处一定时间 后跳变跟随,导致幅值和相角都无法跟随参考电压矢量,因此会引起一定的转 矩脉动。过调制Ⅱ区无法实现相角完全跟随,但可以使电压幅值达到最大化。With the deepening of the modulation depth, it finally jumps on the six basic voltage vectors, and the output is a six-beat staircase wave state. Since the output voltage vector in the overmodulation II region remains at the basic voltage vector for a certain period of time and then jumps to follow, the amplitude and phase angle cannot follow the reference voltage vector, which will cause a certain torque ripple. The phase angle cannot be completely followed in the overmodulation II region, but the voltage amplitude can be maximized.

过调制Ⅰ区输出电压矢量的范围是从正六边形内切圆到外接圆,而过调制 Ⅱ区修正电压矢量范围是从正六边形外接圆到内切圆。由于过调制Ⅰ区上限的 输出电压矢量和刚进入过调制Ⅱ区的修正电压矢量都是正六边形外接圆,所以 该算法可以实现从Ⅰ区平滑过渡到Ⅱ区。通过对过调制Ⅰ区和Ⅱ区的设计,避 免了修正电压幅值相角中的三角函数与除法运算,但是无法避免计算参考电压 矢量幅值相角和电压分量,针对其中的三角函数运算通过CORDIC算法实现。The range of the output voltage vector in the overmodulation I region is from the inscribed circle to the circumscribed circle of the regular hexagon, while the range of the corrected voltage vector in the overmodulation II region is from the circumscribed circle to the inscribed circle of the regular hexagon. Since the output voltage vector at the upper limit of the overmodulation I region and the corrected voltage vector just entering the overmodulation II region are both regular hexagon circumscribed circles, the algorithm can achieve a smooth transition from the I region to the II region. Through the design of the overmodulation zone I and zone II, the trigonometric function and division operation in the correction of the voltage amplitude phase angle are avoided, but the calculation of the reference voltage vector amplitude phase angle and voltage component cannot be avoided. CORDIC algorithm implementation.

以上详细描述了本发明的优选实施方式,但是,本发明并不限于上述实施 方式中的具体细节,在本发明的技术构思范围内,可以对本发明的技术方案进 行多种简单变型,这些简单变型均属于本发明的保护范围。The preferred embodiments of the present invention are described in detail above, but the present invention is not limited to the specific details of the above-mentioned embodiments. Within the scope of the technical concept of the present invention, various simple modifications can be made to the technical solutions of the present invention. These simple modifications All belong to the protection scope of the present invention.

另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征, 在不矛盾的情况下,可以通过任何合适的方式进行组合,为了避免不必要的重 复,本发明对各种可能的组合方式不再另行说明。In addition, it should be noted that the specific technical features described in the above-mentioned specific embodiments can be combined in any suitable manner unless they are inconsistent. The combination method will not be specified otherwise.

此外,本发明的各种不同的实施方式之间也可以进行任意组合,只要其不 违背本发明的思想,其同样应当视为本发明所公开的内容。In addition, the various embodiments of the present invention can also be combined arbitrarily, as long as it does not violate the spirit of the present invention, it should also be regarded as the content disclosed by the present invention.

Claims (6)

1. An SVPWM overmodulation system based on FPGA is characterized in that: the overmodulation system includes: the system comprises an input processing module, an amplitude phase angle calculation module, an overmodulation coefficient calculation module, an overmodulation I region calculation module, an overmodulation II region calculation module, an output correction amplitude phase angle module, a sine and cosine calculation module, a voltage component calculation module and an output processing module;
the overmodulation system uses a horizontal signal VαAnd a vertical signal VβAs an input signal, processing the input signal and outputting the processed signal to the amplitude phase angle calculation module, and outputting a reference voltage vector V by the amplitude phase angle calculation modulerefAnd a phase angle θ, wherein phase angle θ is the angle of the input signal with respect to the horizontal axis α.
Calculating, by the overmodulation coefficient calculation module, the reference voltage vector VrefCalculating an overmodulation coefficient m; when 0.9523>When m is greater than or equal to 0.9069, the region is an overmodulation I, when 1.0472>When m is greater than or equal to 0.9523, the region I is overmodulation;
the overmodulation I region calculation module calculates a voltage vector amplitude V according to the overmodulation coefficient mmCalculating cos theta and sin theta by a sine and cosine calculating module, and calculating a voltage component by the voltage component calculating module according to a formula (1)
Figure FDA0002607714860000011
To obtain
Figure FDA0002607714860000012
And
Figure FDA0002607714860000013
the output correction amplitude phase angle module acquires an initial angle theta of a sector where a reference voltage vector is located0And then the overmodulation II region calculation module calculates the voltage vector amplitude V according to the overmodulation coefficient mmAnd a holding angle alphahCombined with said initial angle theta0Obtaining the amplitude V of the output voltage vectoroutAnd phase angle thetaoutThen the cos theta is calculated by the sine and cosine calculation moduleoutAnd sin θoutAnd then the voltage component calculating module calculates the voltage component according to the formula (2)
Figure FDA0002607714860000014
To obtain
Figure FDA0002607714860000015
And
Figure FDA0002607714860000016
finally, the output of the output processing module is obtained by the formula (1)
Figure FDA0002607714860000017
And
Figure FDA0002607714860000018
or is obtained from the formula (2)
Figure FDA0002607714860000019
And
Figure FDA00026077148600000110
as the input voltage to the motor inverter.
2. The overmodulation system according to claim 1, wherein: the overmodulation I region calculation module calculates the voltage vector amplitude V through table lookup according to the overmodulation coefficient mm
3. The overmodulation system according to claim 1, wherein: the overmodulation II area calculation module calculates the voltage vector amplitude V through table lookup according to the overmodulation coefficient mmAnd a holding angle alphah
4. The overmodulation system according to claim 1, wherein: magnitude V of the output voltage vectoroutObtained from the following equation:
Figure FDA0002607714860000021
wherein VdcIs the dc bus voltage.
5. The overmodulation system according to claim 1The system is characterized in that: phase angle theta of the output voltage vectoroutObtained from the following equation:
Figure FDA0002607714860000022
wherein, the relative angle delta theta of the reference voltage vector in the sector is theta-theta0
6. A method of overmodulation by an SVPWM overmodulation system according to a permanent magnet synchronous machine according to any of claims 1-5, characterized in that it comprises the following steps:
step 1): according to an input signal VαAnd VβThe computing module outputs a reference voltage vector VrefAnd a phase angle θ;
step 2): according to the reference voltage vector VrefCalculating an overmodulation coefficient m;
step 3): according to the reference voltage vector VrefOr the overmodulation coefficient m judges an overmodulation region;
step 4): when the overmodulation region is an overmodulation I region, calculating a voltage vector amplitude V according to the overmodulation coefficient mmThen combining the reference voltage phase angle theta according to the formula
Figure FDA0002607714860000023
To obtain
Figure FDA0002607714860000024
And
Figure FDA0002607714860000025
when the overmodulation region is overmodulation II region, acquiring the initial angle theta of the sector where the reference voltage vector is located0Calculating the voltage vector magnitude V according to the overmodulation coefficient mmAnd a holding angle alphahCombined with said initial angle theta0Obtaining the amplitude V of the output voltage vectoroutAnd phase angle thetaoutAccording to the formula
Figure FDA0002607714860000031
To obtain
Figure FDA0002607714860000032
And
Figure FDA0002607714860000033
step 5): output of
Figure FDA0002607714860000034
And
Figure FDA0002607714860000035
as an input voltage for the motor inverter.
CN202010744011.6A 2020-07-29 2020-07-29 An FPGA-based SVPWM overmodulation system and method Pending CN111800051A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010744011.6A CN111800051A (en) 2020-07-29 2020-07-29 An FPGA-based SVPWM overmodulation system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010744011.6A CN111800051A (en) 2020-07-29 2020-07-29 An FPGA-based SVPWM overmodulation system and method

Publications (1)

Publication Number Publication Date
CN111800051A true CN111800051A (en) 2020-10-20

Family

ID=72828481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010744011.6A Pending CN111800051A (en) 2020-07-29 2020-07-29 An FPGA-based SVPWM overmodulation system and method

Country Status (1)

Country Link
CN (1) CN111800051A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114400950A (en) * 2022-01-18 2022-04-26 威睿电动汽车技术(宁波)有限公司 Over-modulation control method, over-modulation control system and vehicle

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103580519A (en) * 2013-10-28 2014-02-12 华中科技大学 Dual-mode SVPWM overmodulation method
CN104038091A (en) * 2014-07-04 2014-09-10 国家电网公司 Three-level converter direct-current side neutral-point voltage balance control method based on SVPWM
CN103051230B (en) * 2012-12-26 2015-02-25 上海大学 Improved overmodulation method for diode clamped three-level inverter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051230B (en) * 2012-12-26 2015-02-25 上海大学 Improved overmodulation method for diode clamped three-level inverter
CN103580519A (en) * 2013-10-28 2014-02-12 华中科技大学 Dual-mode SVPWM overmodulation method
CN104038091A (en) * 2014-07-04 2014-09-10 国家电网公司 Three-level converter direct-current side neutral-point voltage balance control method based on SVPWM

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
盛明磊: "永磁同步电机SVPWM弱磁过调制控制策略研究", 《中国优秀硕士学位论文全文数据库(工程科技Ⅱ辑)》 *
赵云: "交流电机高速化驱动关键控制技术研究", 《中国博士学位论文全文数据库(工程科技Ⅱ辑)》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114400950A (en) * 2022-01-18 2022-04-26 威睿电动汽车技术(宁波)有限公司 Over-modulation control method, over-modulation control system and vehicle

Similar Documents

Publication Publication Date Title
Wang et al. A low-complexity optimal switching time-modulated model-predictive control for PMSM with three-level NPC converter
Xia et al. A novel direct torque control of matrix converter-fed PMSM drives using duty cycle control for torque ripple reduction
CN104917438B (en) A kind of method that alternating current generator torque output capability is lifted based on improvement ovennodulation
Zhang et al. 3-D vector-based model predictive current control for open-end winding PMSG system with zero-sequence current suppression
CN112953359B (en) Method and system for modulating current harmonic minimum pulse width of double three-phase permanent magnet synchronous motor
CN112398399B (en) Active suppression method for vibration noise of permanent magnet synchronous motor
CN102195552A (en) Methods, systems and apparatus for approximation of peak summed fundamental and third harmonic voltages in a multi-phase machine
CN109412481B (en) Current feedforward-voltage feedback flux-weakening control method for permanent magnet synchronous motor of electric automobile
Liang et al. An optimized pulsewidth modulation for dual three-phase PMSM under low carrier ratio
Zhang et al. Overmodulation index optimization method for torque quality improvement in induction motor field-weakening control
CN111641363A (en) Dead-beat control method for permanent magnet synchronous motor under low carrier ratio
CN105978439B (en) The control system of permanent magnet synchronous motor and the control method for using this control system
Cui et al. Optimized control set model predictive control for dual three-phase PMSM with minimum error duty cycle regulation
CN111262491B (en) Incremental direct prediction speed control method suitable for permanent magnet motor system
Xu et al. Over-modulation control strategy of SVPWM review
CN111769778A (en) PMSM direct torque control method based on simplified three-level SVPWM algorithm
CN111800051A (en) An FPGA-based SVPWM overmodulation system and method
CN105743330B (en) A kind of twin inverter list SVM simplifies modulation algorithm
CN105958853B (en) PWM grid-connected inverter control method of permanent magnet wind power generation system
Dong et al. A digital high performance PMSM servo system based on DSP and FPGA
CN110601574B (en) Method for rapidly calculating virtual shaft voltage and current of single-phase grid-connected converter
Zhang et al. Maximum torque increase and performance optimization for induction motor field-weakening control
CN118763937B (en) Motor flux weakening area model predictive control method and device integrating modulation function
CN110943658B (en) Bus and inverter circuit combined modulation controller and strategy suitable for small-inductance motor
Wu et al. Research on mtpa control strategy based on dpwm and svpwm integrated modulation

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201020