[go: up one dir, main page]

CN111934537A - Anti-interference method for driving signal of cascade converter - Google Patents

Anti-interference method for driving signal of cascade converter Download PDF

Info

Publication number
CN111934537A
CN111934537A CN202010849854.2A CN202010849854A CN111934537A CN 111934537 A CN111934537 A CN 111934537A CN 202010849854 A CN202010849854 A CN 202010849854A CN 111934537 A CN111934537 A CN 111934537A
Authority
CN
China
Prior art keywords
pwm
signal
level
code
cpld
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.)
Granted
Application number
CN202010849854.2A
Other languages
Chinese (zh)
Other versions
CN111934537B (en
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.)
Hubei Normal University
Original Assignee
Hubei Normal University
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 Hubei Normal University filed Critical Hubei Normal University
Priority to CN202010849854.2A priority Critical patent/CN111934537B/en
Publication of CN111934537A publication Critical patent/CN111934537A/en
Application granted granted Critical
Publication of CN111934537B publication Critical patent/CN111934537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS 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/00Details of apparatus for conversion
    • H02M1/44Circuits or arrangements for compensating for electromagnetic interference in converters or inverters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS 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/00Details of apparatus for conversion
    • H02M1/08Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters
    • H02M1/088Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters for the simultaneous control of series or parallel connected semiconductor devices
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS 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
    • H02M7/00Conversion of AC power input into DC power output; Conversion of DC power input into AC power output
    • H02M7/42Conversion of DC power input into AC power output without possibility of reversal
    • H02M7/44Conversion of DC power input into AC power output without possibility of reversal by static converters
    • H02M7/48Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M7/483Converters with outputs that each can have more than two voltages levels
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS 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
    • H02M7/00Conversion of AC power input into DC power output; Conversion of DC power input into AC power output
    • H02M7/42Conversion of DC power input into AC power output without possibility of reversal
    • H02M7/44Conversion of DC power input into AC power output without possibility of reversal by static converters
    • H02M7/48Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M7/53Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M7/537Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters
    • H02M7/539Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters with automatic control of output wave form or frequency
    • H02M7/5395Conversion of DC power input into AC power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters with automatic control of output wave form or frequency by pulse-width modulation
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS 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/00Details of apparatus for conversion
    • H02M1/0003Details of control, feedback or regulation circuits
    • H02M1/0012Control circuits using digital or numerical techniques
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS 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/00Details of apparatus for conversion
    • H02M1/0048Circuits or arrangements for reducing losses
    • H02M1/0054Transistor switching losses
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS 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/00Details of apparatus for conversion
    • H02M1/0067Converter structures employing plural converter units, other than for parallel operation of the units on a single load
    • H02M1/007Plural converter units in cascade
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B70/00Technologies for an efficient end-user side electric power management and consumption
    • Y02B70/10Technologies improving the efficiency by using switched-mode power supplies [SMPS], i.e. efficient power electronics conversion e.g. power factor correction or reduction of losses in power supplies or efficient standby modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Inverter Devices (AREA)
  • Dc-Dc Converters (AREA)

Abstract

本发明属于多电平变流技术领域,公开了一种级联变流器驱动信号抗干扰方法,FPGA将内部载波调制生成的PWM驱动信号按照特定形式进行编码,编码中添加起始码和停止码,并按照一定波特率连续不断地发送;CPLD接收编码信号并逐一比对解码,当接收到的起始码、PWM信号编码以及停止码均正确时,CPLD输出的PWM驱动信号才更新为当前接收到的逻辑电平;否则,输出的PWM驱动信号电平状态保持不变。本发明避免PWM驱动信号直接长线路传输而受到功率器件开关过程中产生的高频电磁干扰的影响,提高PWM驱动信号长线路传输的抗干扰能力;同时也可自动滤除高频调制产生的PWM窄脉冲信号,降低大功率开关器件的开关损耗。

Figure 202010849854

The invention belongs to the technical field of multi-level converters, and discloses an anti-interference method for driving signals of cascaded converters. An FPGA encodes a PWM driving signal generated by internal carrier modulation according to a specific form, and adds a start code and a stop to the encoding. The CPLD receives the encoded signal and compares and decodes it one by one. When the received start code, PWM signal encoding and stop code are all correct, the PWM drive signal output by the CPLD is updated to The currently received logic level; otherwise, the output PWM drive signal level state remains unchanged. The invention avoids the direct long-line transmission of the PWM driving signal and is affected by the high-frequency electromagnetic interference generated in the switching process of the power device, improves the anti-interference ability of the PWM driving signal for long-line transmission; at the same time, it can also automatically filter out the PWM generated by the high-frequency modulation. Narrow pulse signal, reduce the switching loss of high-power switching devices.

Figure 202010849854

Description

一种级联变流器驱动信号抗干扰方法A kind of anti-interference method of cascade converter drive signal

技术领域technical field

本发明属于多电平变流技术领域,尤其涉及一种级联变流器驱动信号抗干扰方法。The invention belongs to the technical field of multi-level converters, and in particular relates to an anti-interference method for driving signals of cascaded converters.

背景技术Background technique

目前,多电平变流器以其输出电平数多,电压/电流谐波特性好,开关器件电压应力小,电磁干扰小,以及可采用低压器件实现高压输出等特点,因而广泛应用于中高压大功率场合。At present, multilevel converters are widely used in medium and low-voltage devices due to their large number of output levels, good voltage/current harmonic characteristics, small voltage stress of switching devices, small electromagnetic interference, and the ability to use low-voltage devices to achieve high-voltage output. High voltage and high power occasions.

其中,级联多电平电路为典型多电平拓扑,每相由若干单相全桥电路串联叠加而成,相比于钳位型和飞跨电容型多电平电路,无需考虑复杂的电容电压均衡问题,且省去了大量钳位二极管和飞跨电容,同时还具有较高等效开关频率以及模块化易于扩展等优点,因而在高压电机驱动、光伏新能源并网发电/电池储能系统和静止同步补偿器中得到大量应用。该电路拓扑在实际应用时,每个H桥臂需提供四路驱动信号,又由于每相有若干H桥,造成整个电路需要较多的PWM驱动信号。因而,为了满足级联多电平电路多路PWM驱动信号的需求,以及兼顾功率单元模块化控制与管理的目的。Among them, the cascaded multi-level circuit is a typical multi-level topology. Each phase is formed by stacking several single-phase full-bridge circuits in series. Compared with the clamp type and flying capacitor type multi-level circuits, there is no need to consider complex capacitance The problem of voltage balance, and a large number of clamping diodes and flying capacitors are omitted. At the same time, it also has the advantages of high equivalent switching frequency and easy expansion of modularization. Therefore, it is used in high-voltage motor drives, photovoltaic new energy grid-connected power generation/battery energy storage systems and static synchronous compensators are widely used. In practical application of this circuit topology, each H-bridge arm needs to provide four-way drive signals, and since there are several H-bridges in each phase, the entire circuit needs more PWM drive signals. Therefore, in order to meet the needs of cascaded multi-level circuits and multiple PWM drive signals, and to take into account the purpose of modular control and management of power units.

在单个数字信号处理器(digital signal processor,DSP)难以提供多路驱动信号的现实条件下,通常借助多个处理器组合的方式来生成所需的多路PWM驱动信号,同时实现功率单元的模块化控制与管理。Under the realistic condition that it is difficult for a single digital signal processor (DSP) to provide multi-channel driving signals, the required multi-channel PWM driving signals are usually generated by the combination of multiple processors, and the modules of the power unit are realized at the same time. control and management.

通过上述分析,现有技术存在的问题及缺陷为:(1)现有技术多处理器组合方式也就造成了PWM驱动信号需经过较长的线路传输才能作用到目标开关器件上。中高压大功率工业应用场合下,功率器件开关过程会产生较强的高频电磁干扰,很容易使经长线路传输的PWM驱动信号受到高频电磁干扰的影响,造成驱动信号中出现异常脉冲,这些异常干扰脉冲可能使功率开关器件出现误动作,进而造成系统控制效果变差,甚至不能正常工作,最终会对电力电子系统的可靠、安全与稳定运行构成威胁。Through the above analysis, the existing problems and defects in the prior art are as follows: (1) The multi-processor combination method in the prior art also causes the PWM drive signal to be transmitted through a long line before it can act on the target switching device. In medium-high-voltage and high-power industrial applications, the switching process of power devices will generate strong high-frequency electromagnetic interference, which can easily cause the PWM drive signal transmitted through long lines to be affected by high-frequency electromagnetic interference, resulting in abnormal pulses in the drive signal. These abnormal interference pulses may cause the power switching devices to malfunction, and then cause the system control effect to deteriorate, or even fail to work normally, which will eventually pose a threat to the reliable, safe and stable operation of the power electronic system.

(2)高频调制产生的PWM驱动信号存在窄脉冲,在高压大功率应用场合,由于功率器件开关过程响应时间相对较长,很窄的驱动脉冲作用于开关器件上会出现开关器件导通极短时间又立即关断,或没完全导通又立即关断的现象,使得开关过程时间与实际导通时间的比值很大,因而,造成开关损耗明显增加,进而对电力电子装置散热系统提出更高的要求,可能需更换散热方式,自然冷却变为强制风冷,甚至可能强制风冷变为水冷才能满足要求,会对整个散热系统提出更高的要求,系统结构也将会更加复杂。(2) The PWM drive signal generated by high-frequency modulation has narrow pulses. In high-voltage and high-power applications, due to the relatively long response time of the switching process of the power device, when a very narrow drive pulse acts on the switching device, the conduction pole of the switching device will appear. The phenomenon of turning off immediately after a short period of time, or turning off immediately after it is not completely turned on, makes the ratio of the switching process time to the actual on-time time very large, thus resulting in a significant increase in switching loss, which in turn puts forward more requirements for the cooling system of power electronic devices. For high requirements, it may be necessary to replace the heat dissipation method, and the natural cooling may be changed to forced air cooling, or even forced air cooling may be changed to water cooling to meet the requirements, which will place higher requirements on the entire cooling system, and the system structure will be more complex.

解决以上问题及缺陷的意义:消除高频电磁干扰造成的异常脉冲,能够保证电力电子系统运行更可靠、更安全与更稳定;自动滤除PWM信号中的窄脉冲,降低大功率开关器件的开关损耗,进而降低对电力电子装置散热系统的要求。The significance of solving the above problems and defects: eliminating abnormal pulses caused by high-frequency electromagnetic interference can ensure more reliable, safer and more stable operation of power electronic systems; automatically filter out narrow pulses in PWM signals and reduce the switching of high-power switching devices. loss, thereby reducing the requirements for the cooling system of the power electronic device.

发明内容SUMMARY OF THE INVENTION

针对现有技术存在的问题,本发明提供了一种级联变流器驱动信号抗干扰方法。Aiming at the problems existing in the prior art, the present invention provides an anti-interference method for driving signals of cascaded converters.

本发明,一种级联变流器PWM驱动信号抗干扰方法,FPGA将PWM驱动信号以特定的编码形式发送,再由CPLD接收编码信号并解码,获得PWM驱动信号,避免了驱动信号直接长线路传输易受高频电磁干扰的影响,提高PWM驱动信号的抗干扰能力,从而保证电力电子系统可靠、安全与稳定地运行;同时该方法可自动滤除高频调制产生的PWM窄脉冲信号,降低大功率开关器件的开关损耗。The present invention provides an anti-interference method for a PWM drive signal of a cascaded converter. The FPGA sends the PWM drive signal in a specific encoding form, and then the CPLD receives and decodes the encoded signal to obtain the PWM drive signal, which avoids the direct long line of the drive signal. The transmission is easily affected by high-frequency electromagnetic interference, and the anti-interference ability of the PWM drive signal is improved, thereby ensuring the reliable, safe and stable operation of the power electronic system; at the same time, this method can automatically filter out the PWM narrow pulse signal generated by high-frequency modulation, reduce Switching losses of high power switching devices.

进一步,附图2为系统框图,为提高PWM驱动信号传输过程中的抗干扰能力,采用附图3编码方法和附图4对应的解码方法。Further, FIG. 2 is a system block diagram. In order to improve the anti-interference ability in the process of PWM drive signal transmission, the encoding method of FIG. 3 and the decoding method corresponding to FIG. 4 are adopted.

进一步,附图3中PWM驱动信号抗干扰的编码方法,具体执行步骤如下:Further, the coding method of PWM drive signal anti-jamming in accompanying drawing 3, concrete execution steps are as follows:

步骤S1、主控制器中FPGA按照设定的波特率逐位发送PWM编码信号的起始编码v1v2v3“011”;Step S1, the FPGA in the main controller sends the initial code v 1 v 2 v 3 "011" of the PWM encoded signal bit by bit according to the set baud rate;

步骤S2、起始码发送完毕后,立即读入FPGA内部载波调制生成的PWM信号电平值,若电平值为“1”,则信号编码v4v5v6取“101”,若电平值为“0”,则信号编码v4v5v6取“010”,同时在编码末尾添加停止码v7,恒取“1”;Step S2, after the start code is sent, immediately read in the PWM signal level value generated by the internal carrier modulation of the FPGA, if the level value is "1", the signal code v 4 v 5 v 6 takes "101", if the power If the average value is "0", then the signal code v 4 v 5 v 6 takes "010", and at the same time adds a stop code v 7 at the end of the encoding, and always takes "1";

步骤S3、按照步骤S1波特率继续逐位发送步骤S2生成的编码v4v5v6v7Step S3, continue to send the codes v 4 v 5 v 6 v 7 generated in step S2 bit by bit according to the baud rate of step S1;

进一步,附图4中PWM驱动信号抗干扰的解码方法,具体执行步骤如下:Further, the decoding method of PWM drive signal anti-jamming in accompanying drawing 4, concrete execution steps are as follows:

步骤S1、IGBT驱动器中CPLD按照权利要求3步骤S1的波特率实时采样输入的PWM编码信号,CPLD逐位接收比对起始编码v1v2v3,若逐位比对完全相同,继续接收后续编码;否则,立即结束本轮采样,同时CPLD当前输出的驱动信号电平保持不变;In step S1, the CPLD in the IGBT driver samples the input PWM coded signal in real time according to the baud rate of step S1 of claim 3, and the CPLD receives and compares the starting code v 1 v 2 v 3 bit by bit. If the bit by bit comparison is exactly the same, continue Receive subsequent codes; otherwise, end the current round of sampling immediately, while the current output drive signal level of the CPLD remains unchanged;

步骤S2、如果起始码逐位比对完全相同,则继续接收后续四位编码v4v5v6v7,此过程中无需考虑四位编码的具体逻辑电平值;Step S2, if the start codes are exactly the same bit-by-bit comparison, continue to receive the subsequent four-bit codes v 4 v 5 v 6 v 7 , and do not need to consider the specific logic level values of the four-bit codes in this process;

步骤S3、后续四位编码接收完毕后,立即将最末尾编码v7与“1”进行比对,如果相同,再进行驱动信号解码;否则,立即结束本轮采样,同时CPLD输出的驱动信号电平保持不变;Step S3, after receiving the subsequent four-bit codes, immediately compare the last code v7 with "1", and if they are the same, then decode the drive signal; remain unchanged;

步骤S4、若停止码相同,再对编码v4v5v6判断,如果取值为“101”,则CPLD输出驱动信号为高电平“1”,如果取值为“010”,则CPLD输出驱动信号为低电平“0”,否则,CPLD输出的驱动信号电平保持不变。Step S4, if the stop codes are the same, then judge the codes v 4 v 5 v 6 , if the value is "101", the CPLD output drive signal is a high level "1", if the value is "010", then the CPLD The output drive signal is a low level "0", otherwise, the drive signal level output by the CPLD remains unchanged.

进一步,能够避免PWM驱动信号经长线路传输而受到功率开关器件产生的高频电磁干扰的影响,提高PWM驱动信号的抗干扰能力,从而保证电力电子系统的可靠、安全与稳定运行。Further, the PWM drive signal can be prevented from being affected by high-frequency electromagnetic interference generated by the power switching device after being transmitted through a long line, and the anti-interference ability of the PWM drive signal can be improved, thereby ensuring the reliable, safe and stable operation of the power electronic system.

进一步,只要高频调制产生的PWM窄脉冲信号不是出现在起始码发送完毕的PWM信号电平值读取时刻,附图3中PWM驱动信号抗干扰的编码方法可以自动滤除PWM信号中的窄脉冲,降低大功率开关器件的开关损耗。Further, as long as the PWM narrow pulse signal generated by high-frequency modulation does not appear at the time of reading the level value of the PWM signal after the start code is sent, the anti-interference coding method of the PWM drive signal in Figure 3 can automatically filter out the PWM signal. Narrow pulse, reducing switching loss of high-power switching devices.

本发明另一目的在于提供一种计算机设备,所述计算机设备包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如下步骤:Another object of the present invention is to provide a computer device, the computer device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps :

FPGA将内部载波生成的PWM驱动信号进行编码,并对所述编码添加起始码和停止码,按照一定的波特率发送;The FPGA encodes the PWM drive signal generated by the internal carrier, adds a start code and a stop code to the code, and sends it at a certain baud rate;

CPLD接收编码信号并逐一比对解码;CPLD receives the encoded signal and compares and decodes one by one;

接收到的起始码、PWM信号编码以及停止码均正确时,CPLD输出的PWM驱动信号更新为当前接收到的逻辑电平;否则,输出的PWM驱动信号电平保持不变。When the received start code, PWM signal encoding and stop code are correct, the PWM drive signal output by the CPLD is updated to the currently received logic level; otherwise, the output PWM drive signal level remains unchanged.

本发明另一目的在于提供一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行如下步骤:Another object of the present invention is to provide a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, causes the processor to perform the following steps:

FPGA将内部载波生成的PWM驱动信号进行编码,并对所述编码添加起始码和停止码,按照一定的波特率发送;The FPGA encodes the PWM drive signal generated by the internal carrier, adds a start code and a stop code to the code, and sends it at a certain baud rate;

CPLD接收编码信号并逐一比对解码;CPLD receives the encoded signal and compares and decodes one by one;

接收到的起始码、PWM信号编码以及停止码均正确时,CPLD输出的PWM驱动信号更新为当前接收到的逻辑电平;否则,输出的PWM驱动信号电平保持不变。When the received start code, PWM signal encoding and stop code are correct, the PWM drive signal output by the CPLD is updated to the currently received logic level; otherwise, the output PWM drive signal level remains unchanged.

本发明方法适用性较广,不仅适用于级联多电平电力电子系统,也适用于其他类型多电平变流控制系统,如:二极管钳位五电平、七电平或更高电平电路,以及MMC。The method of the invention has wide applicability, and is not only suitable for cascaded multi-level power electronic systems, but also for other types of multi-level converter control systems, such as diode clamping five-level, seven-level or higher level circuit, and MMC.

结合上述的所有技术方案,本发明所具备的优点及积极效果为:Combined with all the above-mentioned technical solutions, the advantages and positive effects possessed by the present invention are:

本发明通过FPGA将内部载波生成的PWM驱动信号进行编码,为了保证传输编码的可靠性,编码中添加起始码和停止码,并按照一定的波特率发送;CPLD接收编码信号并逐一比对解码,只有当接收到的起始码、PWM信号编码以及停止码均正确时,CPLD输出的PWM驱动信号才更新为当前接收到的逻辑电平;否则,输出的PWM驱动信号电平保持不变。该方法可以避免PWM驱动信号直接长线路传输而受到功率器件开关过程中产生的高频电磁干扰的影响,提高PWM驱动信号长线路传输的抗干扰能力;同时该方法可以自动滤除高频调制产生的PWM窄脉冲信号,降低大功率开关器件的开关损耗。The present invention encodes the PWM drive signal generated by the internal carrier through the FPGA. In order to ensure the reliability of the transmission encoding, a start code and a stop code are added to the encoding and sent according to a certain baud rate; the CPLD receives the encoded signal and compares them one by one. Decoding, only when the received start code, PWM signal encoding and stop code are correct, the PWM drive signal output by the CPLD is updated to the currently received logic level; otherwise, the output PWM drive signal level remains unchanged . The method can avoid the direct long-line transmission of the PWM drive signal and be affected by the high-frequency electromagnetic interference generated during the switching process of the power device, and improve the anti-interference ability of the PWM drive signal in the long-line transmission; at the same time, the method can automatically filter out the high-frequency modulation The PWM narrow pulse signal can reduce the switching loss of high-power switching devices.

本发明FPGA不直接输出PWM驱动信号,而是以特定的编码形式发送,由CPLD接收编码信号并解码,获得PWM驱动信号,避免了PWM驱动信号直接长线路传输易受高频电磁干扰的影响,提高PWM驱动信号的抗干扰能力,从而保证电力电子系统可靠、安全与稳定地运行;同时该方法可以自动滤除高频调制产生的PWM窄脉冲信号,降低大功率开关器件的开关损耗。The FPGA of the present invention does not directly output the PWM drive signal, but sends it in a specific encoding form, and the CPLD receives and decodes the encoded signal to obtain the PWM drive signal, which avoids the direct long-line transmission of the PWM drive signal being susceptible to high-frequency electromagnetic interference. The anti-interference ability of the PWM drive signal is improved, thereby ensuring the reliable, safe and stable operation of the power electronic system; at the same time, the method can automatically filter out the PWM narrow pulse signal generated by high-frequency modulation and reduce the switching loss of high-power switching devices.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图做简单的介绍,显而易见地,下面所描述的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings that need to be used in the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.

图1是本发明实施例提供的级联变流器驱动信号抗干扰方法流程图。FIG. 1 is a flowchart of an anti-interference method for a driving signal of a cascaded converter according to an embodiment of the present invention.

图2是本发明实施例提供的级联五电平变流器控制系统结构框图;2 is a structural block diagram of a cascaded five-level converter control system provided by an embodiment of the present invention;

图3为本发明实施例1所述的级联变流器PWM驱动信号抗干扰的编码方法流程图。FIG. 3 is a flowchart of an anti-interference encoding method for a PWM drive signal of a cascaded converter according to Embodiment 1 of the present invention.

图4为本发明实施例1所述的级联变流器PWM驱动信号抗干扰的解码方法流程图。FIG. 4 is a flowchart of the method for decoding anti-interference of PWM drive signals of cascaded converters according to Embodiment 1 of the present invention.

图5(a)-(e)为本发明实施例1所述的级联变流器PWM驱动信号抗干扰方法正常工作时的示意图;5(a)-(e) are schematic diagrams when the anti-interference method for the PWM drive signal of the cascaded converter according to Embodiment 1 of the present invention works normally;

图6(a)-(e)为本发明实施例2所述的PWM编码信号起始编码受干扰时的处理示意图;6(a)-(e) are schematic diagrams of processing when the initial encoding of the PWM encoded signal according to Embodiment 2 of the present invention is disturbed;

图7(a)-(e)为本发明实施例3所述的PWM编码信号中PWM信号编码受干扰时的处理示意图。7(a)-(e) are schematic diagrams of processing when the PWM signal encoding is disturbed in the PWM encoded signal according to Embodiment 3 of the present invention.

图8(a)-(e)为本发明实施例4所述的PWM编码信号中停止码受干扰时的处理示意图。8(a)-(e) are schematic diagrams of processing when the stop code in the PWM encoded signal is disturbed according to Embodiment 4 of the present invention.

图9(a)-(d)为本发明实施例1所述的级联变流器PWM驱动信号抗干扰方法正常工作时的实验波形。9(a)-(d) are experimental waveforms when the anti-interference method for the PWM drive signal of the cascaded converter according to Embodiment 1 of the present invention works normally.

图10为本发明实施例1所述的级联变流器PWM驱动信号抗干扰方法自动滤除PWM窄脉冲信号的实验波形。FIG. 10 is an experimental waveform of automatically filtering out the PWM narrow pulse signal by the anti-interference method for the PWM drive signal of the cascaded converter according to Embodiment 1 of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合实施例,对本发明进行详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be described in detail below with reference to the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

针对现有技术存在的问题,本发明提供了一种级联变流器驱动信号抗干扰方法,下面结合附图对本发明作详细描述。Aiming at the problems existing in the prior art, the present invention provides an anti-interference method for a driving signal of a cascaded converter. The present invention will be described in detail below with reference to the accompanying drawings.

如图1所示,本发明提供一种级联变流器驱动信号抗干扰方法,包括:As shown in FIG. 1 , the present invention provides an anti-interference method for driving signals of cascaded converters, including:

S101,FPGA载波调制生成的PWM驱动信号进行编码,并对所述编码添加起始码和停止码,按照一定的波特率发送。S101, the PWM drive signal generated by the FPGA carrier modulation is encoded, and a start code and a stop code are added to the encoding, and sent according to a certain baud rate.

S102,CPLD接收编码信号并逐一比对解码。S102, the CPLD receives the encoded signals and compares and decodes them one by one.

S103,接收到的起始码、PWM信号编码以及停止码均正确时,CPLD输出的PWM驱动信号更新为当前接收到的逻辑电平;否则,输出的PWM驱动信号电平状态保持不变。S103, when the received start code, PWM signal code and stop code are all correct, the PWM drive signal output by the CPLD is updated to the currently received logic level; otherwise, the level state of the output PWM drive signal remains unchanged.

本发明提供的一种级联变流器驱动信号抗干扰方法业内的普通技术人员还可以采用其他的步骤实施,图1本发明提供的仅仅是一个具体实施例而已。A person skilled in the art of the anti-interference method for a driving signal of a cascaded converter provided by the present invention may also implement other steps. FIG. 1 is only a specific embodiment provided by the present invention.

下面结合具体实施例对本发明作进一步描述。The present invention will be further described below in conjunction with specific embodiments.

实施例1Example 1

本发明实施例提供了一种级联变流器PWM驱动信号抗干扰方法。具体以级联五电平变流器为例,所述级联五电平变流器系统结构示意图,如图2所示,该系统主要包括主控制器、接口与采样电路、IGBT驱动器和H桥功率单元,其中功率单元共有A、B和C三相。每相由两个H桥串联而成,级联五电平变流器总共有二十四个IGBT,需二十四路PWM驱动信号;为了满足系统所需的多路PWM驱动信号,同时兼顾级联五电平变流器模块化设计要求,采用图2中DSP、FPGA与CPLD三个处理器的方案,图2中信号调理表示对采样的电流与电压信号进行处理以满足DSP输入要求。需要说明的是,由于A、B和C三相电路PWM驱动信号生成方法完全相同,图2中仅以A相为例。The embodiment of the present invention provides an anti-interference method for a PWM drive signal of a cascaded converter. Taking the cascaded five-level converter as an example, the system structure diagram of the cascaded five-level converter is shown in Figure 2. The system mainly includes a main controller, an interface and sampling circuit, an IGBT driver and a H Bridge power unit, where the power unit has three phases A, B and C. Each phase is composed of two H bridges in series, and the cascaded five-level converter has a total of twenty-four IGBTs, requiring twenty-four PWM drive signals; in order to meet the multi-channel PWM drive signals required by the system, while taking into account For the modular design requirements of the cascaded five-level converter, the three processors of DSP, FPGA and CPLD in Figure 2 are used. Signal conditioning in Figure 2 indicates that the sampled current and voltage signals are processed to meet the DSP input requirements. It should be noted that since the generation methods of the PWM drive signals of the three-phase circuits of A, B and C are completely the same, only phase A is used as an example in FIG. 2 .

DSP根据控制指令与采样得到的电流、电压信号以及被控对象模型生成A相参考电压信号,该信号传送到FPGA完成调制,并生成所需的0°和180°与90°和270°两组四路移相PWM信号,其中0°和180°组送至A相H桥1,且0°PWM信号为左桥臂驱动信号,180°PWM信号为右桥臂驱动信号;90°和270°组送至A相H桥2,且90°PWM信号为左桥臂驱动信号,270°PWM信号为右桥臂驱动信号;The DSP generates the A-phase reference voltage signal according to the control command, the sampled current and voltage signals and the controlled object model. The signal is transmitted to the FPGA to complete the modulation, and generates the required two groups of 0°, 180° and 90° and 270°. Four-way phase-shifted PWM signals, of which the 0° and 180° groups are sent to the A-phase H-bridge 1, and the 0° PWM signal is the drive signal of the left bridge arm, and the 180° PWM signal is the drive signal of the right bridge arm; 90° and 270° The group is sent to the A-phase H-bridge 2, and the 90° PWM signal is the drive signal of the left bridge arm, and the 270° PWM signal is the drive signal of the right bridge arm;

为了提供每个H桥所需的四路PWM信号,需由IGBT驱动器中CPLD按照输入的两路PWM驱动信号(0°和180°或90°和270°)生成上、下桥臂互补,且含死区的四路驱动信号,即CPLD将0°(或90°)PWM信号生成两路含一定死区时间的PWM信号分别驱动A相H桥1(或2)的T1和T2;180°(或270°)PWM信号生成两路含一定死区时间的PWM信号分别驱动A相H桥1(或2)的T3和T4In order to provide the four PWM signals required by each H bridge, the CPLD in the IGBT driver needs to generate the complementary upper and lower bridge arms according to the input two PWM drive signals (0° and 180° or 90° and 270°), and Four-way drive signal with dead zone, namely CPLD generates two PWM signals with a certain dead zone time from 0° (or 90°) PWM signal to drive T 1 and T 2 of A-phase H bridge 1 (or 2) respectively; The 180° (or 270°) PWM signal generates two PWM signals with a certain dead time to drive T 3 and T 4 of the A-phase H-bridge 1 (or 2) respectively.

图3为所述级联变流器PWM驱动信号抗干扰编码方法流程图,图4为所述级联变流器PWM驱动信号抗干扰解码方法流程图。FIG. 3 is a flow chart of the method for anti-jamming coding of the PWM drive signal of the cascaded converters, and FIG. 4 is a flow chart of the method for anti-jamming decoding of the PWM drive signal of the cascaded converters.

具体包括以下步骤:Specifically include the following steps:

步骤S1、主控制器中FPGA按照设定的波特率逐位发送PWM编码信号的起始编码v1v2v3“011”;Step S1, the FPGA in the main controller sends the initial code v 1 v 2 v 3 "011" of the PWM encoded signal bit by bit according to the set baud rate;

步骤S2、起始码发送完毕后,立即读入FPGA内部载波调制生成的PWM信号电平值,若电平值为“1”,则信号编码v4v5v6取“101”,若电平值为“0”,则信号编码v4v5v6取“010”,同时在编码末尾添加停止码v7,恒取“1”;Step S2, after the start code is sent, immediately read in the PWM signal level value generated by the internal carrier modulation of the FPGA, if the level value is "1", the signal code v 4 v 5 v 6 takes "101", if the power If the average value is "0", then the signal code v 4 v 5 v 6 takes "010", and at the same time adds a stop code v 7 at the end of the encoding, and always takes "1";

步骤S3、按照步骤S1的波特率继续逐位发送步骤S2生成的编码v4v5v6v7Step S3, continue to send the codes v 4 v 5 v 6 v 7 generated in step S2 bit by bit according to the baud rate of step S1;

步骤S4、IGBT驱动器中CPLD按照步骤S1的波特率实时采样输入的PWM编码信号,CPLD逐位接收比对起始编码v1v2v3,若逐位比对完全相同,继续接收后续编码,否则立即结束本轮采样,同时CPLD当前输出的驱动信号电平状态保持不变;In step S4, the CPLD in the IGBT driver samples the input PWM encoded signal in real time according to the baud rate in step S1, and the CPLD receives the comparison start code v 1 v 2 v 3 bit by bit, if the bit-by-bit comparison is exactly the same, continue to receive subsequent codes , otherwise the current round of sampling ends immediately, and the current level of the drive signal output by the CPLD remains unchanged;

步骤S5、如果起始码逐位比对完全相同,则继续接收后续四位编码v4v5v6v7,此过程中无需考虑四位编码的具体逻辑电平值;Step S5, if the start codes are exactly the same bit-by-bit comparison, continue to receive the subsequent four-bit codes v 4 v 5 v 6 v 7 , and do not need to consider the specific logic level values of the four-bit codes in this process;

步骤S6、后续四位编码接收完毕后,立即将最末尾编码v7与“1”进行比对,如果相同,再进行驱动信号解码;否则,立即结束本轮采样,同时CPLD输出的驱动信号电平状态保持不变;Step S6, after receiving the subsequent four-bit codes, immediately compare the last code v7 with "1", if the same, then decode the drive signal; otherwise, end the current round of sampling immediately, and the drive signal output by the CPLD The flat state remains unchanged;

步骤S7、若停止码相同,再对编码v4v5v6判断,如果取值为“101”,则CPLD输出驱动信号为高电平“1”,如果取值为“010”,则CPLD输出驱动信号为低电平“0”;否则,CPLD输出的驱动信号电平状态保持不变;Step S7, if the stop codes are the same, then judge the codes v 4 v 5 v 6 , if the value is "101", the CPLD output drive signal is a high level "1", if the value is "010", then the CPLD The output drive signal is low level "0"; otherwise, the level state of the drive signal output by the CPLD remains unchanged;

5(a)-(e)为级联变流器PWM驱动信号抗干扰编码和解码方法正常工作时的波形示意图。图5(c)为FPGA输出的PWM编码信号,图5(d)为CPLD接收到的PWM编码信号。由于起始码、PWM信号编码以及停止码均正确,因而到图5(e)解码信号,t1时刻前v4v5v6编码为“101”,故图5(e)中t1时刻输出高电平;t2时刻前v4v5v6编码为“010”,故图5(e)中t2时刻输出低电平。5(a)-(e) are schematic diagrams of waveforms when the anti-interference encoding and decoding method of the PWM drive signal of the cascaded converter works normally. Figure 5 (c) is the PWM encoded signal output by the FPGA, and Figure 5 (d) is the PWM encoded signal received by the CPLD. Since the start code, PWM signal encoding and stop code are all correct, the decoded signal in Figure 5(e), v 4 v 5 v 6 before time t 1 is encoded as "101", so the time t 1 in Figure 5 (e) Output high level; before time t2 , v 4 v 5 v 6 is coded as "010", so in Figure 5(e), output low level at time t 2 .

实施例2Example 2

本发明实施例为PWM编码信号起始编码受干扰时的处理机制,同样以级联五电平变流器为例。图6(a)-(e)为PWM编码信号起始编码受干扰时的波形示意图,由于高频电磁干扰使得图6(c)FPGA输出的PWM编码信号变成了图6(d)所示波形,即CPLD接收到的起始编码出错。图6(e)中t1时刻前CPLD采样到的起始码v1出错,故t1时刻输出PWM驱动信号保持为高电平,且立即结束当前轮采样;图6(e)中t2时刻前CPLD采样到的起始码v2出错,故t2时刻输出PWM驱动信号保持为低电平,且立即结束当前轮采样。The embodiment of the present invention is a processing mechanism when the initial coding of the PWM coding signal is disturbed, and the cascaded five-level converter is also taken as an example. Figures 6(a)-(e) are schematic diagrams of waveforms when the initial coding of the PWM encoded signal is disturbed. Due to high-frequency electromagnetic interference, the PWM encoded signal output by the FPGA in Figure 6(c) becomes the one shown in Figure 6(d). The waveform, that is, the initial code received by the CPLD, is in error. In Fig . 6(e), the start code v1 sampled by the CPLD before time t1 is wrong, so the output PWM drive signal remains at high level at time t1 , and the current round of sampling ends immediately; in Fig. 6(e), t2 The start code v 2 sampled by the CPLD before time is wrong, so the output PWM drive signal at time t 2 remains low, and the current round of sampling ends immediately.

实施例3Example 3

本发明实施例为PWM编码信号中PWM信号编码受干扰时的处理机制,同样以级联五电平变流器为例。图7(a)-(e)为PWM编码信号中PWM信号编码受干扰时的波形示意图,由于高频电磁干扰使得图7(c)FPGA输出的PWM编码信号变成了图7(d)所示波形,即CPLD接收到的信号编码v4v5v6出错。图7(e)中t1时刻前CPLD采样到的信号编码v6出错,故t1时刻输出PWM驱动信号保持为高电平,并结束当前轮采样;图7(e)中t2时刻前CPLD采样到的信号编码v5出错,故t2时刻输出PWM驱动信号保持为低电平,并结束当前轮采样。The embodiment of the present invention is a processing mechanism when the PWM signal code in the PWM code signal is disturbed, and the cascaded five-level converter is also taken as an example. Figures 7(a)-(e) are schematic diagrams of waveforms when the PWM signal encoding in the PWM encoded signal is disturbed. Due to the high-frequency electromagnetic interference, the PWM encoded signal output by the FPGA in Figure 7(c) becomes the one shown in Figure 7(d). The displayed waveform, that is, the signal code v 4 v 5 v 6 received by the CPLD is wrong. In Fig. 7(e), the signal code v6 sampled by the CPLD before time t1 is wrong, so the output PWM drive signal is kept at a high level at time t1 , and the current round of sampling ends; in Fig. 7(e), before time t2 The signal code v5 sampled by CPLD is wrong, so the output PWM drive signal is kept at low level at time t2 , and the current round of sampling is ended.

实施例4Example 4

本发明实施例为PWM编码信号中停止码受干扰时的处理机制,同样以级联五电平变流器为例。图8(a)-(e)为PWM编码信号停止码受干扰时的波形示意图,由于高频电磁干扰使得图8(c)FPGA输出的停止码变成了图8(d)所示波形,即CPLD接收到的停止码v7变为“0”。图8(e)中t1时刻前CPLD采样到的停止码v7出错,故t1时刻输出PWM驱动信号保持为高电平,并立即结束当前轮采样。The embodiment of the present invention is a processing mechanism when a stop code in a PWM encoded signal is disturbed, and a cascaded five-level converter is also taken as an example. Figures 8(a)-(e) are schematic diagrams of waveforms when the stop code of the PWM encoded signal is disturbed. Due to high-frequency electromagnetic interference, the stop code output by the FPGA in Figure 8(c) becomes the waveform shown in Figure 8(d). That is, the stop code v7 received by the CPLD becomes "0". In Figure 8(e), the stop code v7 sampled by the CPLD before time t1 is wrong, so the output PWM drive signal remains at high level at time t1 , and the current round of sampling ends immediately.

下面结合效果对本发明作进一步描述。The present invention will be further described below in conjunction with the effects.

本发明公开了一种级联变流器PWM驱动信号抗干扰方法。FPGA不直接输出内部载波调制生成的PWM驱动信号,而是对驱动信号进行特定形式的编码,其中编码包含起始码、PWM信号编码以及停止码,再由FPGA按照设定的波特率进行发送,并由CPLD接收编码信号并解码。只有当接收到的起始码、PWM信号编码以及停止码均正确时,CPLD输出的PWM驱动信号才更新为当前接收到的逻辑电平;否则,输出PWM驱动信号电平状态保持不变。The invention discloses an anti-interference method for a PWM drive signal of a cascaded converter. The FPGA does not directly output the PWM drive signal generated by the internal carrier modulation, but encodes the drive signal in a specific form. The encoding includes the start code, PWM signal encoding and stop code, and then the FPGA sends it according to the set baud rate. , and the encoded signal is received and decoded by the CPLD. Only when the received start code, PWM signal encoding and stop code are correct, the PWM drive signal output by the CPLD is updated to the currently received logic level; otherwise, the output PWM drive signal level state remains unchanged.

本发明所述的技术方案采用编码方式传输PWM驱动信号,避免了PWM驱动信号直接长线路传输易受高频电磁干扰的影响,提高PWM驱动信号的抗干扰能力,从而保证电力电子系统可靠、安全与稳定地运行;同时本发明所述的技术方案也可以自动滤除高频调制产生的PWM窄脉冲信号,降低大功率开关器件的开关损耗。方案简单,仅由软件实现,不额外增加系统硬件成本;本发明不仅适用于级联多电平电力电子系统,也适用于其他类型多电平变流控制系统,如:二极管钳位五电平、七电平或更高电平电路,以及MMC。The technical scheme of the present invention adopts the encoding method to transmit the PWM driving signal, avoids the direct long-line transmission of the PWM driving signal being easily affected by high-frequency electromagnetic interference, improves the anti-interference ability of the PWM driving signal, and thus ensures the reliability and safety of the power electronic system At the same time, the technical scheme of the present invention can also automatically filter out the PWM narrow pulse signal generated by the high-frequency modulation, thereby reducing the switching loss of the high-power switching device. The scheme is simple, only implemented by software, and does not increase the cost of system hardware; the invention is not only suitable for cascaded multi-level power electronic systems, but also for other types of multi-level converter control systems, such as: diode-clamped five-level , seven-level or higher circuits, and MMC.

下面结合具体实验对本发明作进一步描述。The present invention will be further described below in conjunction with specific experiments.

图9(a)-(d)级联变流器PWM驱动信号抗干扰编码和解码方法正常工作时的实验波形;其中,通道3为FPGA载波调制输出的PWM信号,通道1为FPGA输出的PWM信号对应编码信号;通道2为CPLD接收到的编码信号,通道4为CPLD解码输出的PWM信号。Figure 9(a)-(d) The experimental waveforms of the anti-interference coding and decoding method of the PWM drive signal of the cascaded converters when the method works normally; wherein, channel 3 is the PWM signal output by the FPGA carrier modulation, and channel 1 is the PWM output by the FPGA The signal corresponds to the encoded signal; channel 2 is the encoded signal received by the CPLD, and channel 4 is the PWM signal decoded and output by the CPLD.

图9(a)中FPGA载波调制输出的PWM信号为低电平,CPLD接收到的编码信号与FPGA输出的编码信号完全相同,故CPLD解码输出的PWM信号对应为低电平。同理,图9(b)中FPGA载波调制输出的PWM信号为高电平时,结论与图9(a)相同。In Figure 9(a), the PWM signal output by FPGA carrier modulation is low level, and the encoded signal received by CPLD is exactly the same as the encoded signal output by FPGA, so the PWM signal output by CPLD decoding corresponds to low level. Similarly, when the PWM signal output by the FPGA carrier modulation in Fig. 9(b) is at a high level, the conclusion is the same as that in Fig. 9(a).

图9(c)中FPGA载波调制输出的PWM信号由低电平变为高电平,整个过程中CPLD接收到的编码信号与FPGA输出的编码信号始终相同,由于编码造成一定的延时,故CPLD解码输出的PWM信号也经较小延时后由低电平变为高电平。同理,图9(d)中FPGA载波调制输出的PWM信号由高电平变为低电平时,结论与图9(c)相同。In Figure 9(c), the PWM signal output by the FPGA carrier modulation changes from low level to high level. During the whole process, the encoded signal received by the CPLD is always the same as the encoded signal output by the FPGA. The PWM signal output by CPLD decoding also changes from low level to high level after a small delay. Similarly, when the PWM signal output by FPGA carrier modulation changes from high level to low level in Figure 9(d), the conclusion is the same as that in Figure 9(c).

图10为本发明实施例1所述的级联变流器PWM驱动信号抗干扰方法自动滤除PWM窄脉冲信号的实验波形;其中,通道3为FPGA载波调制输出的PWM信号,通道1为FPGA输出的PWM信号对应编码信号;通道2为CPLD接收到的编码信号,通道4为CPLD解码输出的PWM信号。当FPGA中高频载波调制产生的PWM信号为窄脉冲时,如图10所示极窄脉冲为320ns,高频调制产生的窄脉冲不是出现在起始码发送完毕的PWM信号电平值读取时刻,使得PWM窄脉冲信号无法被编码,FPGA输出的编码信号与CPLD接收到的编码信号始终保持为低电平信号的编码,故CPLD解码输出的PWM信号为低电平,实现自动滤除PWM窄脉冲信号的功能。10 is the experimental waveform of the PWM drive signal anti-interference method of the cascaded converter according to the embodiment of the present invention automatically filtering out the PWM narrow pulse signal; wherein, the channel 3 is the PWM signal output by the FPGA carrier modulation, and the channel 1 is the FPGA The output PWM signal corresponds to the encoded signal; channel 2 is the encoded signal received by the CPLD, and channel 4 is the PWM signal decoded and output by the CPLD. When the PWM signal generated by the high-frequency carrier modulation in the FPGA is a narrow pulse, as shown in Figure 10, the extremely narrow pulse is 320ns, and the narrow pulse generated by the high-frequency modulation does not appear at the time of reading the level value of the PWM signal after the start code is sent. , so that the PWM narrow pulse signal cannot be encoded, the encoded signal output by the FPGA and the encoded signal received by the CPLD are always encoded as low-level signals, so the PWM signal output by the CPLD decoding is low-level, realizing automatic filtering of PWM narrow pulses. function of the pulse signal.

在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上;术语“上”、“下”、“左”、“右”、“内”、“外”、“前端”、“后端”、“头部”、“尾部”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”等仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, unless otherwise stated, "plurality" means two or more; the terms "upper", "lower", "left", "right", "inner", "outer" The orientation or positional relationship indicated by , "front end", "rear end", "head", "tail", etc. are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, not An indication or implication that the referred device or element must have a particular orientation, be constructed and operate in a particular orientation, is not to be construed as a limitation of the invention. Furthermore, the terms "first," "second," "third," etc. are used for descriptive purposes only and should not be construed to indicate or imply relative importance.

应当注意,本发明的实施方式可以通过硬件、软件或者软件和硬件的结合来实现。硬件部分可以利用专用逻辑来实现;软件部分可以存储在存储器中,由适当的指令执行系统,例如微处理器或者专用设计硬件来执行。本领域的普通技术人员可以理解上述的设备和方法可以使用计算机可执行指令和/或包含在处理器控制代码中来实现,例如在诸如磁盘、CD或DVD-ROM的载体介质、诸如只读存储器(固件)的可编程的存储器或者诸如光学或电子信号载体的数据载体上提供了这样的代码。本发明的设备及其模块可以由诸如超大规模集成电路或门阵列、诸如逻辑芯片、晶体管等的半导体、或者诸如现场可编程门阵列、可编程逻辑设备等的可编程硬件设备的硬件电路实现,也可以用由各种类型的处理器执行的软件实现,也可以由上述硬件电路和软件的结合例如固件来实现。It should be noted that the embodiments of the present invention may be implemented by hardware, software, or a combination of software and hardware. The hardware portion may be implemented using special purpose logic; the software portion may be stored in memory and executed by a suitable instruction execution system, such as a microprocessor or specially designed hardware. Those of ordinary skill in the art will appreciate that the apparatus and methods described above may be implemented using computer-executable instructions and/or embodied in processor control code, for example on a carrier medium such as a disk, CD or DVD-ROM, such as a read-only memory Such code is provided on a programmable memory (firmware) or a data carrier such as an optical or electronic signal carrier. The device and its modules of the present invention can be implemented by hardware circuits such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., It can also be implemented by software executed by various types of processors, or by a combination of the above-mentioned hardware circuits and software, such as firmware.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,都应涵盖在本发明的保护范围之内。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art is within the technical scope disclosed by the present invention, and all within the spirit and principle of the present invention Any modifications, equivalent replacements and improvements made within the scope of the present invention should be included within the protection scope of the present invention.

Claims (7)

1.一种级联变流器驱动信号抗干扰方法,其特征在于,所述级联变流器驱动信号抗干扰方法包括:1. A method for anti-interference of the driving signal of a cascaded converter, wherein the method for anti-interference of the driving signal of the cascaded converter comprises: FPGA将内部载波调制生成的PWM驱动信号进行编码,并对所述编码添加起始码和停止码,按照一定波特率连续不断地发送;The FPGA encodes the PWM drive signal generated by the internal carrier modulation, adds a start code and a stop code to the code, and sends it continuously according to a certain baud rate; CPLD接收编码信号并逐一比对解码;CPLD receives the encoded signal and compares and decodes one by one; 接收到的起始码、PWM信号编码以及停止码均正确时,CPLD输出的PWM驱动信号更新为当前接收到的逻辑电平;否则,输出的PWM驱动信号电平状态保持不变。When the received start code, PWM signal encoding and stop code are all correct, the PWM drive signal output by the CPLD is updated to the currently received logic level; otherwise, the output level of the PWM drive signal remains unchanged. 2.如权利要求1所述的级联变流器驱动信号抗干扰方法,其特征在于,所述FPGA将内部载波调制生成的PWM驱动信号进行编码的方法包括:2. The anti-interference method for cascaded converter drive signals as claimed in claim 1, wherein the method for encoding the PWM drive signals generated by the internal carrier modulation by the FPGA comprises: S1、主控制器中的FPGA按照设定的波特率逐位发送PWM编码信号的起始编码v1v2v3“011”;S1. The FPGA in the main controller sends the start code v 1 v 2 v 3 "011" of the PWM encoded signal bit by bit according to the set baud rate; S2、起始码发送完毕后,立即读入FPGA内部载波调制生成的PWM信号电平值,若电平值为“1”,则信号编码v4v5v6取“101”,若电平值为“0”,则信号编码v4v5v6取“010”,同时在编码末尾添加停止码v7,恒取“1”;S2. After the start code is sent, immediately read the level value of the PWM signal generated by the internal carrier modulation of the FPGA. If the level value is "1", the signal code v 4 v 5 v 6 takes "101", if the level is "1" If the value is "0", the signal code v 4 v 5 v 6 takes "010", and at the same time adds a stop code v 7 at the end of the encoding, and always takes "1"; S3、按照步骤S1的波特率继续逐位发送步骤S2生成的编码v4v5v6v7S3. Continue to send the codes v 4 v 5 v 6 v 7 generated in step S2 bit by bit according to the baud rate of step S1. 3.如权利要求1所述的级联变流器驱动信号抗干扰方法,其特征在于,所述CPLD接收编码信号并逐一比对解码的方法包括:3. The anti-interference method for driving signals of cascaded converters as claimed in claim 1, wherein the method for receiving the encoded signal by the CPLD and comparing and decoding one by one comprises: 步骤1、IGBT驱动器中CPLD按照步骤S1的波特率实时采样输入的PWM编码信号,CPLD逐位接收比对起始编码v1v2v3,若逐位比对完全相同,继续接收后续编码,否则立即结束本轮采样,同时CPLD当前输出的驱动信号电平保持不变;Step 1. The CPLD in the IGBT driver samples the input PWM coded signal in real time according to the baud rate of step S1, and the CPLD receives the comparison start code v 1 v 2 v 3 bit by bit. If the bit-by-bit comparison is exactly the same, continue to receive subsequent codes , otherwise the current round of sampling ends immediately, and the current output drive signal level of the CPLD remains unchanged; 步骤2、如果起始码逐位比对完全相同,则继续接收后续四位编码v4v5v6v7Step 2. If the start codes are exactly the same bit by bit, continue to receive the subsequent four-bit codes v 4 v 5 v 6 v 7 ; 步骤3、后续四位编码接收完毕后,将最末尾编码v7与“1”进行比对,如果相同,再进行驱动信号解码;否则,立即结束本轮采样,同时CPLD输出的驱动信号电平保持不变;Step 3. After receiving the subsequent four-bit codes, compare the last code v 7 with "1", and if they are the same, then decode the drive signal; otherwise, end the current round of sampling immediately, and at the same time the drive signal level output by the CPLD constant; 步骤4、若停止码相同,再对编码v4v5v6判断,如果取值为“101”,则CPLD输出驱动信号为高电平“1”,如果取值为“010”,则CPLD输出驱动信号为低电平“0”;否则,CPLD输出的驱动信号电平保持不变。Step 4. If the stop codes are the same, then judge the code v 4 v 5 v 6 , if the value is "101", the CPLD output drive signal is a high level "1", if the value is "010", then the CPLD The output drive signal is a low level "0"; otherwise, the drive signal level output by the CPLD remains unchanged. 4.一种计算机设备,其特征在于,所述计算机设备包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如下步骤:4. A computer device, characterized in that the computer device comprises a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to perform the following steps: FPGA将内部载波生成的PWM驱动信号进行编码,并对所述编码添加起始码和停止码,按照一定的波特率发送;The FPGA encodes the PWM drive signal generated by the internal carrier, adds a start code and a stop code to the code, and sends it at a certain baud rate; CPLD接收编码信号并逐一比对解码;CPLD receives the encoded signal and compares and decodes one by one; 接收到的起始码、PWM信号编码以及停止码均正确时,CPLD输出的PWM驱动信号更新为当前接收到的逻辑电平;否则,输出的PWM驱动信号电平保持不变。When the received start code, PWM signal encoding and stop code are correct, the PWM drive signal output by the CPLD is updated to the currently received logic level; otherwise, the output PWM drive signal level remains unchanged. 5.一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行如下步骤:5. A computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to perform the following steps: FPGA将内部载波生成的PWM驱动信号进行编码,并对所述编码添加起始码和停止码,按照一定的波特率发送;The FPGA encodes the PWM drive signal generated by the internal carrier, adds a start code and a stop code to the code, and sends it at a certain baud rate; CPLD接收编码信号并逐一比对解码;CPLD receives the encoded signal and compares and decodes one by one; 接收到的起始码、PWM信号编码以及停止码均正确时,CPLD输出的PWM驱动信号更新为当前接收到的逻辑电平;否则,输出的PWM驱动信号电平保持不变。When the received start code, PWM signal encoding and stop code are correct, the PWM drive signal output by the CPLD is updated to the currently received logic level; otherwise, the output PWM drive signal level remains unchanged. 6.一种实施权利要求1~3任意一项级联变流器驱动信号抗干扰方法的级联变流器。6. A cascaded converter for implementing the anti-interference method for driving signals of cascaded converters according to any one of claims 1 to 3. 7.一种实施权利要求1~3任意一项级联变流器驱动信号抗干扰方法的二极管钳位五电平、七电平或更高电平电路以及MMC多电平变流控制系统。7. A diode-clamped five-level, seven-level or higher-level circuit and an MMC multi-level converter control system for implementing the anti-interference method for driving signals of cascaded converters according to any one of claims 1 to 3.
CN202010849854.2A 2020-08-21 2020-08-21 A Cascaded Converter Driving Signal Anti-Interference Method Active CN111934537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010849854.2A CN111934537B (en) 2020-08-21 2020-08-21 A Cascaded Converter Driving Signal Anti-Interference Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010849854.2A CN111934537B (en) 2020-08-21 2020-08-21 A Cascaded Converter Driving Signal Anti-Interference Method

Publications (2)

Publication Number Publication Date
CN111934537A true CN111934537A (en) 2020-11-13
CN111934537B CN111934537B (en) 2023-07-21

Family

ID=73305485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010849854.2A Active CN111934537B (en) 2020-08-21 2020-08-21 A Cascaded Converter Driving Signal Anti-Interference Method

Country Status (1)

Country Link
CN (1) CN111934537B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114499122A (en) * 2022-04-18 2022-05-13 深圳库马克科技有限公司 Power unit control circuit and control method thereof

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075754A (en) * 2007-05-18 2007-11-21 南京力导科技股份有限公司 Method for sampling, controlling and transmitting data synchronously
US20090040022A1 (en) * 2004-06-28 2009-02-12 Klaus Finkenzeller Transponder Unit
CN102170326A (en) * 2011-03-23 2011-08-31 武汉华中数控股份有限公司 Serial communication method of position measuring equipment and device thereof
CN102856902A (en) * 2012-09-12 2013-01-02 哈尔滨九洲电气股份有限公司 Chained SVG (static var generator) power unit control circuit
CN102981438A (en) * 2012-12-10 2013-03-20 哈尔滨九洲电气股份有限公司 Multi-power-unit tandem FPGA control device and control method for chain type SVG
CN203014384U (en) * 2012-12-10 2013-06-19 哈尔滨九洲电气股份有限公司 Chain type SVG series multi-power-unit FPGA control device
CN103311932A (en) * 2013-05-29 2013-09-18 国电南京自动化股份有限公司 Double-DSP (digital signal processor) control system based on chained SVG (scalable vector graphics)
CN104158853A (en) * 2014-07-23 2014-11-19 中国人民解放军海军工程大学 Manchester-code-based power electronic conversion system communication control framework
CN106655259A (en) * 2016-11-18 2017-05-10 上海电机学院 Multilevel converter control system
CN106787875A (en) * 2015-11-20 2017-05-31 台达电子企业管理(上海)有限公司 Pulse driving system and pulse driving method
CN106982199A (en) * 2016-05-06 2017-07-25 深圳市永联科技股份有限公司 A kind of Manchester code communications protocol adaptive approach based on FPGA and CPLD
CN109756303A (en) * 2019-03-04 2019-05-14 北方天穹信息技术(西安)有限公司 A Simplex Asynchronous Manchester Code Receiving and Decoding Method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090040022A1 (en) * 2004-06-28 2009-02-12 Klaus Finkenzeller Transponder Unit
CN101075754A (en) * 2007-05-18 2007-11-21 南京力导科技股份有限公司 Method for sampling, controlling and transmitting data synchronously
CN102170326A (en) * 2011-03-23 2011-08-31 武汉华中数控股份有限公司 Serial communication method of position measuring equipment and device thereof
CN102856902A (en) * 2012-09-12 2013-01-02 哈尔滨九洲电气股份有限公司 Chained SVG (static var generator) power unit control circuit
CN102981438A (en) * 2012-12-10 2013-03-20 哈尔滨九洲电气股份有限公司 Multi-power-unit tandem FPGA control device and control method for chain type SVG
CN203014384U (en) * 2012-12-10 2013-06-19 哈尔滨九洲电气股份有限公司 Chain type SVG series multi-power-unit FPGA control device
CN103311932A (en) * 2013-05-29 2013-09-18 国电南京自动化股份有限公司 Double-DSP (digital signal processor) control system based on chained SVG (scalable vector graphics)
CN104158853A (en) * 2014-07-23 2014-11-19 中国人民解放军海军工程大学 Manchester-code-based power electronic conversion system communication control framework
CN106787875A (en) * 2015-11-20 2017-05-31 台达电子企业管理(上海)有限公司 Pulse driving system and pulse driving method
CN106982199A (en) * 2016-05-06 2017-07-25 深圳市永联科技股份有限公司 A kind of Manchester code communications protocol adaptive approach based on FPGA and CPLD
CN106655259A (en) * 2016-11-18 2017-05-10 上海电机学院 Multilevel converter control system
CN109756303A (en) * 2019-03-04 2019-05-14 北方天穹信息技术(西安)有限公司 A Simplex Asynchronous Manchester Code Receiving and Decoding Method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114499122A (en) * 2022-04-18 2022-05-13 深圳库马克科技有限公司 Power unit control circuit and control method thereof
CN114499122B (en) * 2022-04-18 2022-07-05 深圳库马克科技有限公司 Power unit control circuit and control method thereof

Also Published As

Publication number Publication date
CN111934537B (en) 2023-07-21

Similar Documents

Publication Publication Date Title
US10116227B2 (en) System and method for pulse driving for reducing number of optical fibers
CN109391166B (en) A conversion circuit, control method and power supply equipment
EP2975754B1 (en) Energy conversion system and method
CN104953876B (en) The method that H bridge cascaded multilevel inverters on-off times minimize modulation
CN113285626B (en) Modularized multi-level converter loss optimization control method under fault-tolerant control
CN103607132A (en) NPC three-level inverter circuit with fault-tolerance topology and control method thereof
CN115149833B (en) Three-level ANPC inverter, control method and photovoltaic system
CN104539183A (en) Inverter parallel system control device and method based on pulse duration modulated wave reconstitution
EP4075658B1 (en) Inverter circuit control method and related device
Kumar et al. An enhanced space vector PWM strategies for three phase asymmetric multilevel inverter
CN101860252B (en) Three-level converter for optimizing device overcurrent protection and enlarging system safety operation area
CN108390584A (en) A kind of control method of the ten switches non-isolated photovoltaic DC-to-AC converter of Clamp three-phase
CN111934537B (en) A Cascaded Converter Driving Signal Anti-Interference Method
CN112117922B (en) Half-cycle space vector pulse modulation method of single-phase three-level converter
CN106877698A (en) A Flexible DC Transmission System Topology
CN100570661C (en) System for transmitting control signal of high voltage frequency converter power unit
CN108270366A (en) A kind of modulator approach and device based on three-phase neutral point clamp type inverter
CN110336479B (en) Reconstruction method for modulation wave of three-level NPC inverter switching device in online monitoring period
CN102684531A (en) Zero-dead-zone cascade H-bridge type multi-level inverter and control method
CN101800472A (en) Unipolar driving circuit
CN110829805A (en) Method and system for filtering narrow pulses from PWM drive signals of cascaded converters
CN216490204U (en) Three-level converter circuit and converter device
CN112152497B (en) A fault-tolerant control method for cascaded five-level inverters
CN115632567A (en) A Reverse Carrier Phase Shift Modulation Method Applied to ANPC Type Three-level Inverter
CN114825999B (en) A loss optimization method for modular multilevel converters based on optimal control

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant