[go: up one dir, main page]

CN112821443B - A photovoltaic grid-connected inverter and its modulation method - Google Patents

A photovoltaic grid-connected inverter and its modulation method Download PDF

Info

Publication number
CN112821443B
CN112821443B CN202011601035.2A CN202011601035A CN112821443B CN 112821443 B CN112821443 B CN 112821443B CN 202011601035 A CN202011601035 A CN 202011601035A CN 112821443 B CN112821443 B CN 112821443B
Authority
CN
China
Prior art keywords
voltage
current
grid
photovoltaic
inverter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011601035.2A
Other languages
Chinese (zh)
Other versions
CN112821443A (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.)
Hefei Minglong Electronic Technology Co ltd
PowerChina Chongqing Engineering Corp Ltd
Original Assignee
Huaiyin Institute of 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 Huaiyin Institute of Technology filed Critical Huaiyin Institute of Technology
Priority to CN202011601035.2A priority Critical patent/CN112821443B/en
Publication of CN112821443A publication Critical patent/CN112821443A/en
Application granted granted Critical
Publication of CN112821443B publication Critical patent/CN112821443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for AC mains or AC distribution networks
    • H02J3/38Arrangements for parallely feeding a single network by two or more generators, converters or transformers
    • H02J3/381Dispersed generators
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for AC mains or AC distribution networks
    • H02J3/01Arrangements for reducing harmonics or ripples
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2300/00Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
    • H02J2300/20The dispersed energy generation being of renewable origin
    • H02J2300/22The renewable source being solar energy
    • H02J2300/24The renewable source being solar energy of photovoltaic origin
    • H02J2300/26The renewable source being solar energy of photovoltaic origin involving maximum power point tracking control for photovoltaic sources
    • 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
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/50Photovoltaic [PV] energy
    • Y02E10/56Power conversion systems, e.g. maximum power point trackers

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Inverter Devices (AREA)

Abstract

本发明公开了一种光伏并网逆变器及其调制方法,通过获取公共电网的电流与电压,其中电流与电压均为瞬时电流与瞬时电压;将一天内的瞬时电流与瞬时电压按照秒为单位进行记录,并获得一天内的中位瞬时电流与中位瞬时电压;其中一天具体为24H且其起始时间为00点00分;调节时光伏电网并网的电流与电压为中位瞬时电流与中位瞬时电压;具体的,通过调制方法对光伏电网并网时的电流与电压进行调整;获取未来一周内中位瞬时电流与中位瞬时电压出现的时间节点,并统计出现次数最高的时间节点并标记为接入时间;在接入时间内将光伏电网并网至公共电网中使得光伏电网并入公共网络时,需要在最合适的时间节点接入公共电网中避免造成公共电网的损坏。

Figure 202011601035

The invention discloses a photovoltaic grid-connected inverter and a modulation method thereof. By obtaining the current and voltage of a public grid, the current and voltage are both instantaneous current and instantaneous voltage; the instantaneous current and instantaneous voltage in one day are calculated in seconds as The unit records and obtains the median instantaneous current and median instantaneous voltage in one day; one day is 24H and its starting time is 00:00; the current and voltage of the photovoltaic grid connected to the grid during adjustment are the median instantaneous current and the median instantaneous voltage; specifically, adjust the current and voltage when the photovoltaic grid is connected to the grid by the modulation method; obtain the time nodes of the median instantaneous current and the median instantaneous voltage in the next week, and count the time with the highest number of occurrences The node is marked as the access time; when the photovoltaic grid is connected to the public grid during the access time, when the photovoltaic grid is integrated into the public network, it is necessary to connect to the public grid at the most suitable time node to avoid damage to the public grid.

Figure 202011601035

Description

一种光伏并网逆变器及其调制方法A photovoltaic grid-connected inverter and its modulation method

技术领域technical field

本发明属于光伏并网逆变器领域,涉及光伏并网技术,具体是一种光伏并网逆变器及其调制方法。The invention belongs to the field of photovoltaic grid-connected inverters, and relates to photovoltaic grid-connected technology, in particular to a photovoltaic grid-connected inverter and a modulation method thereof.

背景技术Background technique

以太阳能作为输入的分布式发电系统中,并网逆变器具有把直流电转换成符合市电要求的交流电并接入电网的功能。传统并网系统中常采用输出变压器的隔离非隔离型并网逆变器,在电网和直流侧之间产生电气隔离,保证人身安全,同时也可以提供电压匹配和并网电流直流分量抑制,但工频变压器增加了体积、重量和成本,而高频变压器又使控制复杂化,降低了效率。非隔离型并网逆变器以其效率高、体积小、成本低的优势,在中小功率发电领域已成为并网逆变器应用的主流。但是,非隔离型并网逆变器因为没有变压器,也就没有变压器的电气隔离功能,从而带来新的问题,即漏电流问题。漏电流本质为共模电流,其产生原因是直流电源和大地之间存在寄生电容,形成由寄生电容、直流电源和交流滤波器以及电网阻抗形成共模电流回路。共模电压的变化会在寄生电容上产生较大的共模电流。因为对地漏电流即共模电流的存在,会降低系统效率,损害输出电能质量,增大系统电磁干扰,对人身造成威胁,形成安全隐患。而且,对地漏电流太大还会造成交流滤波器的饱和,降低滤波效果,同时也可能造成并网逆变器的损坏。因此,对型即无变压器非隔离型并网逆变器,德国VDE-0126-1-1中规定其对地漏电流峰值应小于300mA。若超过此规定范围,漏电流监控单元应在0.3s内将并网逆变器与电网脱离。为抵制非隔离型并网逆变器的漏电流,应尽量使共模电压变化比较小。如若能保证共模电压为一定值,则能够基本上消除共模电流,即功率器件采用PWM控制使得逆变器输出两端分别对直流电源负极端的电压之和为常量。In the distributed power generation system with solar energy as input, the grid-connected inverter has the function of converting direct current into alternating current that meets the requirements of commercial power and connecting it to the grid. In traditional grid-connected systems, isolated and non-isolated grid-connected inverters with output transformers are often used to generate electrical isolation between the power grid and the DC side to ensure personal safety. At the same time, it can also provide voltage matching and grid-connected current DC component suppression. High-frequency transformers add size, weight, and cost, while high-frequency transformers complicate control and reduce efficiency. With its advantages of high efficiency, small size and low cost, non-isolated grid-connected inverters have become the mainstream of grid-connected inverter applications in the field of small and medium power generation. However, because the non-isolated grid-connected inverter does not have a transformer, it does not have the electrical isolation function of the transformer, which brings a new problem, that is, the leakage current problem. The leakage current is essentially a common-mode current, which is caused by the parasitic capacitance between the DC power supply and the ground, forming a common-mode current loop formed by the parasitic capacitance, the DC power supply, the AC filter, and the grid impedance. Changes in the common-mode voltage create large common-mode currents on parasitic capacitances. Because the existence of ground leakage current, that is, common mode current, will reduce the efficiency of the system, damage the quality of output power, increase the electromagnetic interference of the system, pose a threat to the human body, and form a potential safety hazard. Moreover, too much leakage current to the ground will cause saturation of the AC filter, reduce the filtering effect, and may also cause damage to the grid-connected inverter. Therefore, for the opposite type, that is, the transformerless non-isolated grid-connected inverter, the peak value of the leakage current to the ground should be less than 300mA in German VDE-0126-1-1. If the specified range is exceeded, the leakage current monitoring unit shall disconnect the grid-connected inverter from the grid within 0.3s. In order to resist the leakage current of the non-isolated grid-connected inverter, the change of the common mode voltage should be kept as small as possible. If the common-mode voltage can be guaranteed to be a certain value, the common-mode current can be basically eliminated, that is, the power device adopts PWM control so that the sum of the voltages on the negative terminals of the DC power supply at both ends of the inverter output is constant.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种光伏并网逆变器及其调制方法,用于解决通过改变矢量顺序来减小谐波含量,从而优化SVPWM的算法的问题。The purpose of the present invention is to provide a photovoltaic grid-connected inverter and a modulation method thereof, which are used to solve the problem of reducing the harmonic content by changing the vector sequence, thereby optimizing the algorithm of SVPWM.

本发明的目的可以通过以下技术方案实现:The object of the present invention can be realized through the following technical solutions:

一种光伏并网逆变器,包括光伏监测模块、辅助电路模块、控制电路、DC/DC模块、逆变模块以及并网模块;A photovoltaic grid-connected inverter, comprising a photovoltaic monitoring module, an auxiliary circuit module, a control circuit, a DC/DC module, an inverter module and a grid-connected module;

所述光伏监测模块用于对光伏组群进行检测,并控制光伏组群的连接方式;The photovoltaic monitoring module is used to detect the photovoltaic group and control the connection mode of the photovoltaic group;

所述辅助电路模块用于对控制电路上的电子元器件提供电压;The auxiliary circuit module is used to provide voltage to the electronic components on the control circuit;

所述控制电路为光伏并网逆变器提供开关信号,并保证光伏并网逆变器的安全运行;The control circuit provides switching signals for the photovoltaic grid-connected inverter, and ensures the safe operation of the photovoltaic grid-connected inverter;

所述DC/DC模块用于将光伏组群产生的直流电压转换为逆变部分需要的直流电压;The DC/DC module is used to convert the DC voltage generated by the photovoltaic group into the DC voltage required by the inverter part;

所述逆变模块将光伏阵列发出的电能逆变为与电网电压同频同相的交流电;其中的电力电子器件以脉宽调制的形式受控于控制电路发出的开关信号,实现开通和管断,从而将DC/DC产生的直流电逆变成三相交流电;The inverter module inverts the electric energy emitted by the photovoltaic array into alternating current with the same frequency and phase as the grid voltage; the power electronic device is controlled by the switching signal sent by the control circuit in the form of pulse width modulation, so as to realize switching on and off, Thereby, the direct current generated by DC/DC is inverted into three-phase alternating current;

所述并网模块用于将满足用电要求的光伏电网并入到公共电网中,具体包括以下步骤:The grid-connected module is used to integrate the photovoltaic grid that meets the power consumption requirements into the public grid, and specifically includes the following steps:

步骤一:获取公共电网的电流与电压,其中,所述电流与电压均为瞬时电流与瞬时电压;Step 1: obtaining the current and voltage of the public power grid, wherein the current and voltage are both instantaneous current and instantaneous voltage;

步骤二:将一天内的瞬时电流与瞬时电压按照秒为单位进行记录,并获得一天内的中位瞬时电流与中位瞬时电压;其中一天具体为24H且其起始时间为00点00分;Step 2: Record the instantaneous current and instantaneous voltage in one day in seconds, and obtain the median instantaneous current and median instantaneous voltage in one day; one day is specifically 24H and its start time is 00:00;

步骤三:调节时光伏电网并网的电流与电压为中位瞬时电流与中位瞬时电压;具体的,通过调制方法对光伏电网并网时的电流与电压进行调整;Step 3: The current and voltage of the photovoltaic grid connected to the grid during adjustment are the median instantaneous current and the median instantaneous voltage; specifically, the current and voltage of the photovoltaic grid connected to the grid are adjusted by a modulation method;

步骤四:获取未来一周内中位瞬时电流与中位瞬时电压出现的时间节点,并统计出现次数最高的时间节点,并标记为接入时间;Step 4: Obtain the time node of the median instantaneous current and the median instantaneous voltage in the next week, and count the time node with the highest number of occurrences, and mark it as the access time;

步骤五:在接入时间内将光伏电网并网至公共电网中。Step 5: Connect the photovoltaic grid to the public grid within the access time.

进一步地,所述光伏监测模块用于对光伏组群进行检测,并控制光伏组群的连接方式,具体为,获取光伏电网的实时电压与实时电流,并同时获取存储电池的电流与电压,当存储电池的电流低于亏损值时,将光伏电网内的光伏板连接转化为相互并联;Further, the photovoltaic monitoring module is used to detect the photovoltaic group and control the connection mode of the photovoltaic group. Specifically, the real-time voltage and real-time current of the photovoltaic grid are obtained, and the current and voltage of the storage battery are obtained at the same time. When the current of the storage battery is lower than the loss value, the photovoltaic panels in the photovoltaic grid are connected to be connected in parallel with each other;

当存储电池的电压低于亏损值时,将光伏电网内的光伏板连接转化为相互串联。When the voltage of the storage battery is lower than the loss value, the photovoltaic panels in the photovoltaic grid are connected to be connected in series with each other.

一种光伏并网逆变器的调制方法,所述调制方法具体为,CPU进行初始化,用户寄存器初始化;此时启动PWM中断,此时PWM系统开始自检,自检正常后,接通并网继电器,并启动锁相;A modulation method of a photovoltaic grid-connected inverter, the modulation method is specifically: the CPU is initialized, the user register is initialized; at this time, the PWM interrupt is started, at this time, the PWM system starts self-checking, and after the self-checking is normal, the grid is connected relay, and start the phase lock;

当等待中断时,加载PWM中断程序,并启动中断保护,采用MPPT算法对相关电量的坐标进行转换,并通过PI算法进行坐标返转换,在通过SVPWM算法进行中断恢复。When waiting for an interrupt, load the PWM interrupt program and start the interrupt protection. The MPPT algorithm is used to convert the coordinates of the relevant power, and the PI algorithm is used to perform the coordinate return conversion, and the SVPWM algorithm is used for interrupt recovery.

进一步地,所述PWM的输出方式为中心对齐方式,所述PWM的最高输出精度则为2个时钟周期,PWM的模值是输出周期所对应计数值的一半;通过公式PWM计数模值×PWM时钟周期×2求出PWM周期;通过公式PWM计数值×PWM时钟周期×2求出PWM脉宽;且所述PWM内设置有死区时间。Further, the output mode of the PWM is a center-aligned mode, the highest output precision of the PWM is 2 clock cycles, and the modulo value of the PWM is half of the count value corresponding to the output period; by the formula PWM count modulo value×PWM The PWM cycle is obtained by clock cycle×2; the PWM pulse width is obtained by the formula PWM count value×PWM clock cycle×2; and a dead time is set in the PWM.

进一步地,所述采用MPPT算法对相关电量的坐标进行转换具体为,通过矩阵

Figure GDA0003742672410000041
获得三项静止参考坐标系,其中,ia、ib、ic为逆变器输出电流,ua、ub、uc为逆变器输出电压,ega、egb、egc为网侧相电压,L为逆变器输出电流,R为逆变器与网侧之间的等效电阻;Further, the use of the MPPT algorithm to convert the coordinates of the relevant electricity is specifically, through the matrix
Figure GDA0003742672410000041
Obtain three stationary reference coordinate systems, where i a , ib , and ic are the output current of the inverter, u a , ub , and uc are the output voltage of the inverter, and e ga , e gb , and e gc are the network side-phase voltage, L is the output current of the inverter, R is the equivalent resistance between the inverter and the grid side;

将矩阵通过Clarke变化和Park变化后转化为d-q坐标系,从而将逆变器输出电流、逆变器输出电压、网侧相电压、逆变器输出电流以及逆变器与网侧之间的等效电阻转化为直流量,从而达到理想状态,具体的,Clarke变化和Park变化为,

Figure GDA0003742672410000042
此时选择d-q同步旋转坐标系的初始参考轴,则得出
Figure GDA0003742672410000051
消除由网侧谐波引起的输出电流失真,通过调节转换后的d、q轴电流即可调节输出有功和无功功率,控制q轴电流为零,逆变输出电流与网侧电压同频同相,功率因数此时为1。The matrix is transformed into the dq coordinate system through the Clarke change and Park change, so as to convert the inverter output current, inverter output voltage, grid-side phase voltage, inverter output current, and the relationship between the inverter and the grid side, etc. The effective resistance is converted into a direct current, so as to achieve an ideal state. Specifically, the Clarke change and Park change are,
Figure GDA0003742672410000042
At this time, the initial reference axis of the dq synchronous rotation coordinate system is selected, and the result is
Figure GDA0003742672410000051
Eliminate the output current distortion caused by the harmonics on the grid side, adjust the output active and reactive power by adjusting the converted d and q-axis currents, control the q-axis current to zero, and the inverter output current and grid-side voltage have the same frequency and phase , the power factor is 1 at this time.

进一步地,所述PI算法具体为

Figure GDA0003742672410000052
其中,u为输出量,e为误差信号,Kp为PI算法中的比例调节系数、Ki为PI算法中积分调节系数;Further, the PI algorithm is specifically
Figure GDA0003742672410000052
Among them, u is the output quantity, e is the error signal, K p is the proportional adjustment coefficient in the PI algorithm, and K i is the integral adjustment coefficient in the PI algorithm;

将T表示采样周期,则第n-1次的PI输出为

Figure GDA0003742672410000053
Let T represent the sampling period, then the n-1th PI output is
Figure GDA0003742672410000053

进一步地,所述SVPWM算法具体为,读取电压与电流的采样信号,计算下一个目标矢量的大小与方向,并判断目标矢量所在的扇区,根据所在的扇区的信息选择合成矢量,计算合成矢量的作用时间并装载PWM计数值,同时删除窄脉冲,判断完目标矢量的扇区位置后,可依据旋转角度继续判断目标矢量在该扇区的前半区域还是后半区域,在前半区域,则使用第二矢量顺序,在后半区域,则使用第一矢量顺序。Further, described SVPWM algorithm is specifically, reads the sampling signal of voltage and current, calculates the size and direction of the next target vector, and judges the sector where the target vector is located, selects the synthetic vector according to the information of the sector where it is located, calculates. The action time of the synthesized vector is loaded with the PWM count value, and the narrow pulse is deleted at the same time. After judging the sector position of the target vector, it can continue to judge whether the target vector is in the first half area or the second half area of the sector according to the rotation angle. In the first half area, The second vector order is used, and in the second half, the first vector order is used.

进一步地,所述第一矢量顺序具体为,U0→U1→U2→U7→U7→U2→U1→U0;所述第二矢量顺序具体为,U7→U2→U1→U0→U1→U2→U7Further, the first vector sequence is specifically, U 0 →U 1 →U 2 →U 7 →U 7 →U 2 →U 1 →U 0 ; the second vector sequence is specifically, U 7 →U 2 →U 1 →U 0 →U 1 →U 2 →U 7 ;

其中所述U0、U1、U2、U7均为空间电压矢量。The U 0 , U 1 , U 2 , and U 7 are all space voltage vectors.

进一步地,所述判断目标矢量所在的扇区的方法为边界条件法。Further, the method for judging the sector where the target vector is located is a boundary condition method.

与现有技术相比,本发明的有益效果是:Compared with the prior art, the beneficial effects of the present invention are:

(1)通过获取公共电网的电流与电压,其中,所述电流与电压均为瞬时电流与瞬时电压;将一天内的瞬时电流与瞬时电压按照秒为单位进行记录,并获得一天内的中位瞬时电流与中位瞬时电压;其中一天具体为24H且其起始时间为00点00分;调节时光伏电网并网的电流与电压为中位瞬时电流与中位瞬时电压;具体的,通过调制方法对光伏电网并网时的电流与电压进行调整;获取未来一周内中位瞬时电流与中位瞬时电压出现的时间节点,并统计出现次数最高的时间节点,并标记为接入时间;在接入时间内将光伏电网并网至公共电网中,使得光伏电网并入公共网络时,需要在最合适的时间节点接入公共电网中,避免造成公共电网的损坏;(1) By obtaining the current and voltage of the public power grid, wherein the current and voltage are both instantaneous current and instantaneous voltage; the instantaneous current and instantaneous voltage within a day are recorded in units of seconds, and the median value within a day is obtained Instantaneous current and median instantaneous voltage; one day is 24H and its start time is 00:00; the current and voltage of the grid-connected photovoltaic grid during adjustment are median instantaneous current and median instantaneous voltage; specifically, through modulation The method adjusts the current and voltage when the photovoltaic grid is connected to the grid; obtains the time nodes of the median instantaneous current and median instantaneous voltage in the next week, and counts the time nodes with the highest number of occurrences, and marks them as the access time; The photovoltaic grid is connected to the public grid within the time of entry, so that when the photovoltaic grid is integrated into the public network, it needs to be connected to the public grid at the most suitable time node to avoid damage to the public grid;

(2)通过获取光伏电网的实时电压与实时电流,并同时获取存储电池的电流与电压,当存储电池的电流低于亏损值时,将光伏电网内的光伏板连接转化为相互并联;当存储电池的电压低于亏损值时,将光伏电网内的光伏板连接转化为相互串联;可以实时对光伏电网的实时电压与实时电流的初步调节,避免光伏电网内元器件的损坏;(2) By obtaining the real-time voltage and real-time current of the photovoltaic grid, and simultaneously obtaining the current and voltage of the storage battery, when the current of the storage battery is lower than the loss value, the photovoltaic panels in the photovoltaic grid are connected in parallel with each other; When the voltage of the battery is lower than the loss value, the photovoltaic panels in the photovoltaic grid are connected to each other in series; the real-time voltage and real-time current of the photovoltaic grid can be preliminarily adjusted in real time to avoid damage to the components in the photovoltaic grid;

(3)通过CPU进行初始化,用户寄存器初始化;此时启动PWM中断,此时PWM系统开始自检,自检正常后,接通并网继电器,并启动锁相;当等待中断时,加载PWM中断程序,并启动中断保护,采用MPPT算法对相关电量的坐标进行转换,并通过PI算法进行坐标返转换,在通过SVPWM算法进行中断恢复,可以实现对SVPWM控制策略做出了详细的理论分析,通过深入分析,得到了其与PWM之间实质的差别在于零矢量的分配不同,因而对零矢量做了大量的研究工作,最终提出了一种与传统SVPWM不同的矢量顺序,经过仿真模拟,验证了该方法有降低谐波的优势。(3) Initialize through the CPU and initialize the user register; at this time, start the PWM interrupt, and the PWM system starts self-checking. After the self-checking is normal, the grid-connected relay is turned on, and phase locking is started; when waiting for the interrupt, load the PWM interrupt program, and start the interrupt protection, use the MPPT algorithm to convert the coordinates of the relevant power, and use the PI algorithm to convert the coordinates back, and use the SVPWM algorithm to perform interrupt recovery, which can achieve a detailed theoretical analysis of the SVPWM control strategy. Through in-depth analysis, it is found that the essential difference between it and PWM lies in the distribution of zero vectors. Therefore, a lot of research work has been done on zero vectors. Finally, a vector sequence that is different from traditional SVPWM is proposed. After simulation, it is verified that This method has the advantage of reducing harmonics.

附图说明Description of drawings

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

图1为本发明光伏并网逆变器原理框图;Fig. 1 is the principle block diagram of the photovoltaic grid-connected inverter of the present invention;

图2为本发明调制方法原理图;2 is a schematic diagram of the modulation method of the present invention;

图3为本发明光伏阵列的输出功率图;Fig. 3 is the output power diagram of the photovoltaic array of the present invention;

图4为本发明伏阵列PV曲线图;Fig. 4 is the PV curve diagram of the volt array of the present invention;

图5为本发明空间电压矢量图。FIG. 5 is a space voltage vector diagram of the present invention.

具体实施方式Detailed ways

为使本发明实施方式的目的、技术方案和优点更加清楚,下面将结合本发明实施方式中的附图,对本发明实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式是本发明一部分实施方式,而不是全部的实施方式。基于本发明中的实施方式,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施方式,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

因此,在下述附图中提供的本发明的实施方式的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施方式。Accordingly, the detailed descriptions of embodiments of the invention provided in the following drawings are not intended to limit the scope of the invention as claimed, but are merely representative of selected embodiments of the invention.

如图1所示,一种光伏并网逆变器,其特征在于,包括光伏监测模块、辅助电路模块、控制电路、DC/DC模块、逆变模块以及并网模块;As shown in FIG. 1, a photovoltaic grid-connected inverter is characterized in that it includes a photovoltaic monitoring module, an auxiliary circuit module, a control circuit, a DC/DC module, an inverter module and a grid-connected module;

光伏并网发电系统是将太阳能通过光伏器件转换为电能,再利用逆变器将电能并入电网的电力转换系统。并网光伏逆变系统主要由光伏阵列、逆变器和控制器及根据产品需求设计的保护单元组成,逆变系统实现了DC/AC转换,以DSP为核心的控制器可以跟踪网侧电压的频率与相位,经过软件控制逆变输出的电压与其同频同相,还可采用最大功率点跟踪技术,跟踪光伏阵列工作时的最大功率点,使得系统不受天气、光照的影响,能够运行在最大功率状态。光伏监测模块用于对光伏组群进行检测,并控制光伏组群的连接方式;辅助电路模块用于对控制电路上的电子元器件提供电压;The photovoltaic grid-connected power generation system is a power conversion system that converts solar energy into electrical energy through photovoltaic devices, and then uses an inverter to integrate the electrical energy into the grid. The grid-connected photovoltaic inverter system is mainly composed of photovoltaic arrays, inverters, controllers and protection units designed according to product requirements. The inverter system realizes DC/AC conversion, and the controller with DSP as the core can track the voltage on the grid side. Frequency and phase, the voltage output by the inverter is controlled by software to be in the same frequency and phase, and the maximum power point tracking technology can also be used to track the maximum power point of the photovoltaic array when it is working, so that the system is not affected by weather and light, and can run at the maximum power point. power status. The photovoltaic monitoring module is used to detect the photovoltaic group and control the connection mode of the photovoltaic group; the auxiliary circuit module is used to provide voltage to the electronic components on the control circuit;

具体的,控制电路为光伏并网逆变器提供开关信号,并保证光伏并网逆变器的安全运行;Specifically, the control circuit provides switching signals for the photovoltaic grid-connected inverter, and ensures the safe operation of the photovoltaic grid-connected inverter;

DC/DC模块用于将光伏组群产生的直流电压转换为逆变部分需要的直流电压;The DC/DC module is used to convert the DC voltage generated by the photovoltaic group into the DC voltage required by the inverter part;

逆变模块将光伏阵列发出的电能逆变为与电网电压同频同相的交流电;其中的电力电子器件以脉宽调制的形式受控于控制电路发出的开关信号,实现开通和管断,从而将DC/DC产生的直流电逆变成三相交流电;The inverter module inverts the electric energy emitted by the photovoltaic array into alternating current with the same frequency and phase as the grid voltage; the power electronic devices are controlled by the switching signal sent by the control circuit in the form of pulse width modulation to realize the opening and closing, so that the The direct current generated by DC/DC is inverted into three-phase alternating current;

并网模块用于将满足用电要求的光伏电网并入到公共电网中,具体包括以下步骤:The grid-connected module is used to integrate the photovoltaic grid that meets the power consumption requirements into the public grid, which includes the following steps:

步骤一:获取公共电网的电流与电压,其中,电流与电压均为瞬时电流与瞬时电压;Step 1: obtaining the current and voltage of the public power grid, wherein the current and the voltage are both instantaneous current and instantaneous voltage;

步骤二:将一天内的瞬时电流与瞬时电压按照秒为单位进行记录,并获得一天内的中位瞬时电流与中位瞬时电压;其中一天具体为24H且其起始时间为00点00分;Step 2: Record the instantaneous current and instantaneous voltage in one day in seconds, and obtain the median instantaneous current and median instantaneous voltage in one day; one day is specifically 24H and its start time is 00:00;

步骤三:调节时光伏电网并网的电流与电压为中位瞬时电流与中位瞬时电压;具体的,通过调制方法对光伏电网并网时的电流与电压进行调整;Step 3: The current and voltage of the photovoltaic grid connected to the grid during adjustment are the median instantaneous current and the median instantaneous voltage; specifically, the current and voltage of the photovoltaic grid connected to the grid are adjusted by a modulation method;

步骤四:获取未来一周内中位瞬时电流与中位瞬时电压出现的时间节点,并统计出现次数最高的时间节点,并标记为接入时间;Step 4: Obtain the time node of the median instantaneous current and the median instantaneous voltage in the next week, and count the time node with the highest number of occurrences, and mark it as the access time;

步骤五:在接入时间内将光伏电网并网至公共电网中。Step 5: Connect the photovoltaic grid to the public grid within the access time.

在本发明具体实施时,光伏电网并网至公共电网还需要实现;In the specific implementation of the present invention, the grid connection of the photovoltaic power grid to the public power grid also needs to be realized;

必须调整输出频率和相位;如果丧失主网,逆变器必须立即关闭;输出电流能够同步跟随系统电压(电流源)输出电流波形良好,波形畸变以及频率波动低于门槛值注入电流与系统电压同相位,实现功率因数为1;抑制无功功率交换,低损耗,减少潜在的过电压发生故障情况下(丧失主网电压、短路或者绝缘破坏),逆变器必须能够实现自动从主网解列;逆变器主网和光伏并网发电系统的正常运行不应受到来自主网的参考电压信号的影响,输入终端电阻应能够自适应与光伏发电系统的实际运行特性(如最大功率点跟踪运行方式)为保证光伏发电系统正常运行,电压波动应足够低(<3%)过电压情况下(如低温开环运行下),光伏发电系统仍可正常运行过负荷情况下,为了限定输入功率在给定范围内,逆变器需自动向光伏发电特性曲线中的开路电压方向调制运行点;这种情况主要出现在逆变器额定功率低于光伏发电系统额度功率的情况下,强日照下,过负荷很少出现应由光伏发电系统向逆变器供电,不损耗公网电力。即使在低日照强度下,逆变器也应能保持稳定运行;现代光伏发电系统在50Wm2的强度下,即可实现向公共电网供电:而且即使逆变器在额定功率10%的输入情况下,也能保证90%的转换效率输入、输出接口必须通过安装比类设备来抑制暂态过电压(如雷电涌流)电磁兼容须达到ENS014标准;设备噪声低、适宜在居民楼里运行。The output frequency and phase must be adjusted; if the main grid is lost, the inverter must be shut down immediately; the output current can synchronously follow the system voltage (current source) The output current waveform is good, the waveform distortion and frequency fluctuation are lower than the threshold value The injection current is the same as the system voltage Phase, achieve power factor of 1; suppress reactive power exchange, low loss, reduce potential overvoltage In the event of a fault (loss of mains voltage, short circuit or insulation damage), the inverter must be able to automatically de-load from the mains ; The normal operation of the inverter main grid and photovoltaic grid-connected power generation system should not be affected by the reference voltage signal from the main grid, and the input terminal resistance should be able to adapt to the actual operating characteristics of the photovoltaic power generation system (such as maximum power point tracking operation. method) In order to ensure the normal operation of the photovoltaic power generation system, the voltage fluctuation should be low enough (<3%) in the case of overvoltage (such as low temperature open-loop operation), the photovoltaic power generation system can still operate normally under overload conditions, in order to limit the input power at Within a given range, the inverter needs to automatically modulate the operating point in the direction of the open-circuit voltage in the photovoltaic power generation characteristic curve; this situation mainly occurs when the rated power of the inverter is lower than the rated power of the photovoltaic power generation system, and under strong sunlight, Overload rarely occurs, and the photovoltaic power generation system should supply power to the inverter without loss of public grid power. Even in low sunlight intensity, the inverter should be able to maintain stable operation; modern photovoltaic power generation systems can supply power to the public grid at an intensity of 50Wm2; and even when the inverter is input at 10% of its rated power, It can also ensure 90% conversion efficiency. The input and output interfaces must be installed with similar equipment to suppress transient overvoltage (such as lightning inrush current). The electromagnetic compatibility must meet the ENS014 standard; the equipment has low noise and is suitable for operation in residential buildings.

更进一步的,光伏监测模块用于对光伏组群进行检测,并控制光伏组群的连接方式,具体为,获取光伏电网的实时电压与实时电流,并同时获取存储电池的电流与电压,当存储电池的电流低于亏损值时,将光伏电网内的光伏板连接转化为相互并联;Further, the photovoltaic monitoring module is used to detect the photovoltaic group and control the connection mode of the photovoltaic group, specifically, to obtain the real-time voltage and real-time current of the photovoltaic power grid, and to obtain the current and voltage of the storage battery at the same time. When the current of the battery is lower than the loss value, the connection of the photovoltaic panels in the photovoltaic grid is converted into parallel with each other;

当存储电池的电压低于亏损值时,将光伏电网内的光伏板连接转化为相互串联。When the voltage of the storage battery is lower than the loss value, the photovoltaic panels in the photovoltaic grid are connected to be connected in series with each other.

如图2所示,一种光伏并网逆变器的调制方法,调制方法具体为,CPU进行初始化,用户寄存器初始化;此时启动PWM中断,此时PWM系统开始自检,自检正常后,接通并网继电器,并启动锁相;As shown in Figure 2, a modulation method of a photovoltaic grid-connected inverter, the modulation method is as follows: the CPU is initialized, the user register is initialized; at this time, the PWM interrupt is started, and the PWM system starts self-checking. After the self-checking is normal, the Turn on the grid-connected relay and start the phase lock;

当等待中断时,加载PWM中断程序,并启动中断保护,采用MPPT算法对相关电量的坐标进行转换,并通过PI算法进行坐标返转换,在通过SVPWM算法进行中断恢复。When waiting for an interrupt, load the PWM interrupt program and start the interrupt protection. The MPPT algorithm is used to convert the coordinates of the relevant power, and the PI algorithm is used to perform the coordinate return conversion, and the SVPWM algorithm is used for interrupt recovery.

在本发明具体实施中,PWM的输出方式为中心对齐方式,PWM的最高输出精度则为2个时钟周期,PWM的模值是输出周期所对应计数值的一半;通过公式PWM计数模值×PWM时钟周期×2求出PWM周期;通过公式PWM计数值×PWM时钟周期×2求出PWM脉宽;且PWM内设置有死区时间,在本发明具体实施时,死区时间为2μm;In the specific implementation of the present invention, the output mode of PWM is center-aligned, the highest output precision of PWM is 2 clock cycles, and the modulo value of PWM is half of the count value corresponding to the output period; by formula PWM count modulo value × PWM The PWM period is obtained by the clock cycle × 2; the PWM pulse width is obtained by the formula PWM count value × PWM clock cycle × 2; and a dead time is provided in the PWM, and when the present invention is implemented, the dead time is 2 μm;

在本发明具体实施时,采用MPPT算法对相关电量的坐标进行转换具体为,通过矩阵

Figure GDA0003742672410000111
获得三项静止参考坐标系,其中,ia、ib、ic为逆变器输出电流,ua、ub、uc为逆变器输出电压,ega、egb、egc为网侧相电压,L为逆变器输出电流,R为逆变器与网侧之间的等效电阻;In the specific implementation of the present invention, using the MPPT algorithm to convert the coordinates of the relevant electric quantity is as follows: through the matrix
Figure GDA0003742672410000111
Obtain three stationary reference coordinate systems, where i a , ib , and ic are the output current of the inverter, u a , ub , and uc are the output voltage of the inverter, and e ga , e gb , and e gc are the network side-phase voltage, L is the output current of the inverter, R is the equivalent resistance between the inverter and the grid side;

将矩阵通过Clarke变化和Park变化后转化为d-q坐标系,从而将逆变器输出电流、逆变器输出电压、网侧相电压、逆变器输出电流以及逆变器与网侧之间的等效电阻转化为直流量,从而达到理想状态,具体的,Clarke变化和Park变化为,

Figure GDA0003742672410000112
在d-q坐标系下,三相逆变器的有功功率和无功功率分别为:
Figure GDA0003742672410000113
适当选择d-q同步旋转坐标系的初始参考轴,如d轴与电网电动势重合,即egd=V(V为网侧电压峰值),q轴的分量为零,即egq=0,则稳态下有功功率取决于d轴电流,无功取决于q轴电流,则上式改写成,
Figure GDA0003742672410000121
采用这样的选择方式,可以看出忽略了旋转坐标系下网侧电压中的零序谐波,能够消除由网侧谐波引起的输出电流失真,其本质上为一种扰动前馈补偿控制方法。通过调节转换后的d、q轴电流即可调节输出有功和无功功率,控制q轴电流为零,逆变输出电流与网侧电压同频同相,所以此时功率因数为1;The matrix is transformed into the dq coordinate system through the Clarke change and Park change, so as to convert the inverter output current, inverter output voltage, grid-side phase voltage, inverter output current, and the relationship between the inverter and the grid side, etc. The effective resistance is converted into a direct current, so as to achieve an ideal state. Specifically, the Clarke change and Park change are,
Figure GDA0003742672410000112
In the dq coordinate system, the active power and reactive power of the three-phase inverter are:
Figure GDA0003742672410000113
Properly select the initial reference axis of the dq synchronous rotating coordinate system, such as the d axis coincides with the grid electromotive force, that is, e gd = V (V is the peak voltage of the grid side), and the component of the q axis is zero, that is, e gq = 0, then the steady state The lower active power depends on the d-axis current, and the reactive power depends on the q-axis current, then the above formula is rewritten as,
Figure GDA0003742672410000121
Using this selection method, it can be seen that the zero-sequence harmonics in the grid-side voltage in the rotating coordinate system are ignored, and the output current distortion caused by the grid-side harmonics can be eliminated, which is essentially a disturbance feedforward compensation control method . By adjusting the converted d and q-axis currents, the output active and reactive power can be adjusted, the q-axis current is controlled to be zero, and the inverter output current is in the same frequency and phase as the grid-side voltage, so the power factor is 1 at this time;

在本发明具体实施时,PI算法为电流误差进行补偿,通过公式

Figure GDA0003742672410000122
其中,u为输出量,e为误差信号,Kp为PI算法中的比例调节系数、Ki为PI算法中积分调节系数;将T表示采样周期,则第n-1次的PI输出为
Figure GDA0003742672410000123
In the specific implementation of the present invention, the PI algorithm compensates the current error, and the formula is
Figure GDA0003742672410000122
Among them, u is the output quantity, e is the error signal, K p is the proportional adjustment coefficient in the PI algorithm, and K i is the integral adjustment coefficient in the PI algorithm; if T is the sampling period, the n-1th PI output is
Figure GDA0003742672410000123

在本发明具体实施时,SVPWM算法具体为,读取电压与电流的采样信号,计算下一个目标矢量的大小与方向,并判断目标矢量所在的扇区,根据所在的扇区的信息选择合成矢量,计算合成矢量的作用时间并装载PWM计数值,同时删除窄脉冲,判断完目标矢量的扇区位置后,可依据旋转角度继续判断目标矢量在该扇区的前半区域还是后半区域,在前半区域,则使用第二矢量顺序,在后半区域,则使用第一矢量顺序第一矢量顺序具体为,U0→U1→U2→U7→U7→U2→U1→U0;第二矢量顺序具体为,U7→U2→U1→U0→U1→U2→U7;其中如图5所示,U0、U1、U2、U7均为空间电压矢量;In the specific implementation of the present invention, the SVPWM algorithm is specifically as follows: reading the sampling signals of voltage and current, calculating the size and direction of the next target vector, judging the sector where the target vector is located, and selecting a composite vector according to the information of the sector where it is located , calculate the action time of the composite vector and load the PWM count value, and delete the narrow pulse at the same time. After judging the sector position of the target vector, you can continue to judge whether the target vector is in the first half area or the second half area of the sector according to the rotation angle. area, use the second vector order, in the second half area, use the first vector order The first vector order is specifically, U 0 →U 1 →U 2 →U 7 →U 7 →U 2 →U 1 →U 0 ; The second vector sequence is specifically, U 7 → U 2 → U 1 → U 0 → U 1 → U 2 → U 7 ; as shown in FIG. 5 , U 0 , U 1 , U 2 , and U 7 are all spaces voltage vector;

更进一步的,判断目标矢量所在的扇区的方法为边界条件法;Further, the method for judging the sector where the target vector is located is the boundary condition method;

光伏电池阵列的输出特性具有强烈的非线性,在一定的温度和日照强度下,具有唯一的最大功率点。当阵列工作在该点时,能输出当前温度和日照条件下的最大功率。所有光伏发电系统都希望太阳电池阵列在同样日照、温度的条件下输出尽可能多的电能,并网逆变器更加必须通过不断调整参考电压的大小以实现最大功率点的跟踪,并通过调制脉宽的办法实现功率的最大化;如图3所示光伏阵列的输出功率有个最大点Pmax,该点对应的输出电压为Umax,当光伏阵列工作电压小于最大功率点电压Umax时,阵列输出功率随太阳电池端电压的上升而增加;当阵列工作电压大于最大功率点电压Umax时阵列输出功率随电池端电压的上升而减少。MPPT的思想实质上是一个自寻优过程,即通过控制阵列端电压Umax,使阵列能不受日照和温度的影响,都能够输出最大功率。当负载特性与光伏阵列特性的交点在最大功率点对应的Umax之左时,MPPT将控制光伏阵列的工作电压升高;而当交点在阵列最大功率点相应电压Umax之右时,MPPT将控制光伏阵列工作电压下降。为此,太阳能电池阵列必须实现最大功率点跟踪控制,以便在任何日照下不断获得最大功率输出。目前在光伏发电系统中普遍采用的MPPT算法为自寻优法,包括恒定电压法、扰动观测法、和增量电导法2、间歇扫描法和智能控制法等,除了固定电压法外,MPPT的跟踪都需要使用数字处理器来实现,最大功率点跟踪技术目前仍在不断的发展和改进之中。The output characteristics of photovoltaic cell arrays are strongly nonlinear and have a unique maximum power point under certain temperature and sunshine intensity. When the array works at this point, it can output the maximum power under the current temperature and sunshine conditions. All photovoltaic power generation systems hope that the solar cell array can output as much power as possible under the same sunshine and temperature conditions. The grid-connected inverter must continuously adjust the reference voltage to achieve the maximum power point tracking, and modulate the pulse. A wide way to maximize the power; as shown in Figure 3, the output power of the photovoltaic array has a maximum point P max , and the output voltage corresponding to this point is U max . When the operating voltage of the photovoltaic array is less than the maximum power point voltage U max , The array output power increases with the rise of the solar cell terminal voltage; when the array operating voltage is greater than the maximum power point voltage Umax , the array output power decreases with the rise of the battery terminal voltage. The idea of MPPT is essentially a self-optimization process, that is, by controlling the array terminal voltage U max , the array can output maximum power without being affected by sunlight and temperature. When the intersection of the load characteristics and the photovoltaic array characteristics is to the left of the U max corresponding to the maximum power point, the MPPT will control the operating voltage of the photovoltaic array to increase; and when the intersection is to the right of the corresponding voltage U max of the maximum power point of the array, the MPPT will Control the voltage drop of the photovoltaic array. To do this, the solar array must implement maximum power point tracking control to continuously obtain maximum power output under any insolation. At present, the MPPT algorithms commonly used in photovoltaic power generation systems are self-optimization methods, including constant voltage method, disturbance observation method, incremental conductance method 2, intermittent scanning method and intelligent control method. Tracking requires the use of digital processors, and the maximum power point tracking technology is still under continuous development and improvement.

本发明采用的是增量电导法,如图4所示,结合光伏阵列PV曲线的特点,不难发现在输出功率最大点,功率对电压的导数为零,即

Figure GDA0003742672410000131
因此在算法中判断功率对电压的导数,若
Figure GDA0003742672410000132
表示当前功率未到功率最大点,则递增电压:若
Figure GDA0003742672410000141
表示当前功率点在最大点的右部,则递减电压;在导数等于零或非常接近于零的时候,电压保持不变即可。The present invention adopts the incremental conductance method, as shown in Fig. 4, combined with the characteristics of the PV curve of the photovoltaic array, it is not difficult to find that at the maximum output power point, the derivative of the power to the voltage is zero, that is,
Figure GDA0003742672410000131
Therefore, the derivative of power to voltage is judged in the algorithm, if
Figure GDA0003742672410000132
Indicates that the current power has not reached the maximum power point, then increase the voltage: if
Figure GDA0003742672410000141
Indicates that the current power point is on the right of the maximum point, then the voltage is decreased; when the derivative is equal to zero or very close to zero, the voltage can remain unchanged.

Figure GDA0003742672410000142
因此,可以通过
Figure GDA0003742672410000143
的符号来判断电压的增加或减小。and
Figure GDA0003742672410000142
Therefore, by
Figure GDA0003742672410000143
to judge the increase or decrease of the voltage.

采用该方法的优点是当光伏阵列的光照强度不变时,系统可以较为稳定的在最大功率点处;光照强度变化时,系统输出能平稳的追随其变化,产生的电压扰动范围较小,且响应速度较快,能够适应光照强度快速变化的情况。The advantage of using this method is that when the light intensity of the photovoltaic array is constant, the system can be relatively stable at the maximum power point; when the light intensity changes, the system output can follow the change smoothly, and the generated voltage disturbance range is small, and The response speed is fast, and it can adapt to the situation of rapid changes in light intensity.

上述公式均是去量纲取其数值计算,公式是由采集大量数据进行软件模拟得到最近真实情况的一个公式,公式中的预设参数由本领域的技术人员根据实际情况进行设置。The above formulas are calculated by removing the dimension and taking its numerical value. The formula is a formula obtained by collecting a large amount of data and performing software simulation to obtain the latest real situation. The preset parameters in the formula are set by those skilled in the art according to the actual situation.

更进一步的,光伏并网逆变器的调制方法储存在处理器内,处理器为一种集成电路芯片,具有信号的处理能力。在实现过程中,调制方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DigitalSignal Processing,简称DSP)、专用集成电路(Application Specific IntegratedCircuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施方式中的发明的各方法以及步骤。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施方式所发明的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成实施方式的调制方法的步骤。Furthermore, the modulation method of the photovoltaic grid-connected inverter is stored in the processor, and the processor is an integrated circuit chip with signal processing capability. In the implementation process, each step of the modulation method can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; may also be a digital signal processor (Digital Signal Processing, referred to as DSP), Application Specific Integrated Circuit (ASIC for short), Field-Programmable Gate Array (FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components. Various methods and steps of the invention in the embodiments of the present invention can be realized or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method invented in combination with the embodiments of the present invention can be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the modulation method of the embodiment in combination with its hardware.

在本发明所提供的实施例中,应该理解到,所揭露的设备,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式;所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方法的目的。In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation; the modules described as separate components may be They may or may not be physically separated, and components displayed as modules may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the method in this embodiment.

另对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。It will also be apparent to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, but that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics of the present invention.

因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。Therefore, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the invention is to be defined by the appended claims rather than the foregoing description, which are therefore intended to fall within the scope of the claims. All changes within the meaning and range of the equivalents of , are included in the present invention. Any reference signs in the claims shall not be construed as limiting the involved claim.

此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。Furthermore, it is clear that the word "comprising" does not exclude other units or steps and the singular does not exclude the plural. Several units or means recited in the system claims can also be realized by one unit or means by means of software or hardware. Second-class terms are used to denote names and do not denote any particular order.

最后应说明的是,以上实施例仅用以说明本发明的技术方法而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方法进行修改或等同替换,而不脱离本发明技术方法的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical methods of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical methods of the present invention can be Modifications or equivalent substitutions can be made without departing from the spirit and scope of the technical method of the present invention.

Claims (3)

1. A photovoltaic grid-connected inverter is characterized by comprising a photovoltaic monitoring module, an auxiliary circuit module, a control circuit, a DC/DC module, an inversion module and a grid-connected module;
the photovoltaic monitoring module is used for detecting the photovoltaic group and controlling the connection mode of the photovoltaic group;
the auxiliary circuit module is used for providing voltage for electronic components on the control circuit;
the control circuit provides a switching signal for the photovoltaic grid-connected inverter and ensures the safe operation of the photovoltaic grid-connected inverter;
the DC/DC module is used for converting direct-current voltage generated by the photovoltaic group into direct-current voltage required by an inversion part;
the inversion module inverts the electric energy generated by the photovoltaic array into alternating current with the same frequency and phase as the voltage of the power grid; the power electronic device is controlled by a switching signal sent by a control circuit in a pulse width modulation mode to realize switching on and switching off, so that direct current generated by DC/DC is inverted into three-phase alternating current;
the grid-connected module is used for merging a photovoltaic power grid meeting the power utilization requirement into a public power grid, and specifically comprises the following steps:
the method comprises the following steps: acquiring current and voltage of a public power grid, wherein the current and the voltage are instantaneous current and instantaneous voltage;
step two: recording instantaneous current and instantaneous voltage in one day according to a unit of second, and obtaining median instantaneous current and median instantaneous voltage in one day; wherein one day is 24H and the starting time is 00: 00;
step three: adjusting the current and voltage of the grid connection of the photovoltaic power grid into a middle instantaneous current and a middle instantaneous voltage; specifically, the current and the voltage of the photovoltaic power grid during grid connection are adjusted through a modulation method;
step four: acquiring a time node of the occurrence of the middle instantaneous current and the middle instantaneous voltage in a future week, counting the time node with the highest occurrence frequency, and marking as access time;
step five: connecting the photovoltaic power grid to a public power grid within access time;
the photovoltaic monitoring module is used for detecting a photovoltaic group and controlling the connection mode of the photovoltaic group, specifically, acquiring real-time voltage and real-time current of a photovoltaic power grid, and simultaneously acquiring current and voltage of a storage battery, and when the current of the storage battery is lower than a loss value, connecting and converting photovoltaic panels in the photovoltaic power grid into mutual parallel connection;
when the voltage of the storage battery is lower than a loss value, connecting and converting photovoltaic panels in the photovoltaic power grid into series connection;
the modulation method specifically comprises the steps that a CPU is initialized, and a user register is initialized; starting PWM interruption at the moment, starting self-checking of a PWM system at the moment, switching on a grid-connected relay after the self-checking is normal, and starting phase locking;
when waiting for interruption, loading a PWM interruption program, starting interruption protection, converting the coordinates of related electric quantity by adopting an MPPT algorithm, performing coordinate return conversion by adopting a PI algorithm, and performing interruption recovery by adopting an SVPWM algorithm;
the output mode of the PWM is a center alignment mode, the highest output precision of the PWM is 2 clock cycles, and the modulus of the PWM is half of the count value corresponding to the output cycle; calculating a PWM period by a formula PWM counting module value multiplied by a PWM clock period multiplied by 2; calculating PWM pulse width by a formula PWM counting value multiplied by PWM clock period multiplied by 2; and the PWM is internally provided with dead time;
the conversion of the coordinates of the related electric quantity by adopting the MPPT algorithm is specifically realized by a matrix
Figure FDA0003742672400000031
Three stationary reference coordinate systems are obtained, wherein i a 、i b 、i c For the inverter output current u a 、u b 、u c For the inverter output voltage, e ga 、e gb 、e gc The voltage is the voltage of the grid side, L is the output current of the inverter, and R is the equivalent resistance between the inverter and the grid side;
the matrix is converted into a d-q coordinate system after Clarke change and Park change, so that the output current of the inverter, the output voltage of the inverter, the phase voltage of a network side, the output current of the inverter and the equivalent resistance between the inverter and the network side are converted into direct current quantity, an ideal state is achieved, specifically, Clarke change and Park change are changed,
Figure FDA0003742672400000032
at this time, the initial reference axis of the d-q synchronous rotation coordinate system is selected, and then the result is obtained
Figure FDA0003742672400000033
Eliminating output current distortion caused by network side harmonic waves, adjusting output active power and reactive power by adjusting converted d-axis current and q-axis current, controlling the q-axis current to be zero, inverting the output current to be in the same frequency and phase with network side voltage, and then setting a power factor to be 1;
the PI algorithm is specifically
Figure FDA0003742672400000034
Where u is the output, e is the error signal, K p For proportional adjustment coefficient, K, in PI algorithm i Adjusting coefficients for integral in a PI algorithm;
if T represents the sampling period, the PI output of the n-1 th time is
Figure FDA0003742672400000035
The SVPWM algorithm is specifically characterized in that sampling signals of voltage and current are read, the size and the direction of the next target vector are calculated, the sector where the target vector is located is judged, a synthetic vector is selected according to the information of the sector where the target vector is located, the action time of the synthetic vector is calculated, PWM counting values are loaded, narrow pulses are deleted at the same time, after the position of the sector of the target vector is judged, whether the target vector is in the first half area or the second half area of the sector is continuously judged according to the rotation angle, the second vector sequence is used in the first half area, and the first vector sequence is used in the second half area.
2. The pv grid-connected inverter as claimed in claim 1, wherein in the modulation method, the first vector sequence is U 0 →U 1 →U 2 →U 7 →U 7 →U 2 →U 1 →U 0 (ii) a The second vector order is specifically, U 7 →U 2 →U 1 →U 0 →U 1 →U 2 →U 7
Wherein said U is 0 、U 1 、U 2 、U 7 Are all space voltage vectors.
3. The grid-connected photovoltaic inverter according to claim 2, wherein the method for determining the sector where the target vector is located is a boundary condition method.
CN202011601035.2A 2020-12-29 2020-12-29 A photovoltaic grid-connected inverter and its modulation method Active CN112821443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011601035.2A CN112821443B (en) 2020-12-29 2020-12-29 A photovoltaic grid-connected inverter and its modulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011601035.2A CN112821443B (en) 2020-12-29 2020-12-29 A photovoltaic grid-connected inverter and its modulation method

Publications (2)

Publication Number Publication Date
CN112821443A CN112821443A (en) 2021-05-18
CN112821443B true CN112821443B (en) 2022-09-30

Family

ID=75855252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011601035.2A Active CN112821443B (en) 2020-12-29 2020-12-29 A photovoltaic grid-connected inverter and its modulation method

Country Status (1)

Country Link
CN (1) CN112821443B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100508327C (en) * 2007-06-08 2009-07-01 清华大学 A fast and stable photovoltaic three-phase grid-connected control method for maximum power tracking
CN102738827B (en) * 2012-06-20 2014-07-09 天津电气传动设计研究所有限公司 Low voltage ride through control method for three-phase network connection photovoltaic inverter
CN106356886A (en) * 2016-09-21 2017-01-25 天津理工大学 A cascaded H-bridge multi-level photovoltaic power generation system

Also Published As

Publication number Publication date
CN112821443A (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN110581565B (en) Control method and device in photovoltaic power generation grid-connected system
CN201846091U (en) Full numerical control three-phrase solar photovoltaic grid-connected inverter
CN110323775B (en) Damping control method for improving stability of direct current port of flexible direct current power grid
Cupertino et al. A grid-connected photovoltaic system with a maximum power point tracker using passivity-based control applied in a boost converter
US20230155386A1 (en) Direct current bus voltage control method and apparatus, and power system
CN101083399A (en) Z source power transformation based photovoltaic network inverter
CN102156267A (en) Experimental device for high-power photovoltaic grid-connected inverter
CN108418226B (en) Reactive power compensation control method for open-winding dual-inverter photovoltaic power generation system
CN107482671B (en) Current mode photovoltaic combining inverter low voltage ride through control system and method
CN118074149A (en) A reactive power compensation control method for photovoltaic low-voltage distribution station area grid connection point
CN108988384A (en) Grid-connected current DC component suppressing method based on fractional order PIR
CN116470506A (en) A power quality adjustment device and its control method
CN110263481A (en) Distributed photovoltaic transient characterisitics test method
CN112821443B (en) A photovoltaic grid-connected inverter and its modulation method
CN116436076B (en) Method and system for obtaining transient and steady-state fault current of photovoltaic grid-connected system
CN104953615B (en) Unified controller and control method of single-stage Z-source photovoltaic grid-connected inverter
CN105958525A (en) PWM gird connected inverter control method of permanent magnetism wind generator system
CN107294095B (en) System and control method with harmonic voltage generation and ZIP virtual load
CN105743120A (en) Single-stage photovoltaic Z source inverter variable universe fuzzy control MPPT (Maximum Power Point Tracking) system and control method
CN110233501A (en) A kind of three-phase photovoltaic grid-connected electricity generation system low voltage traversing control method of two-stage
CN116706923A (en) Voltage sag treatment method for accessing photovoltaic array
CN115864493A (en) Photovoltaic inverter system and photovoltaic inverter control method
CN112952902B (en) Novel photovoltaic grid-connected power distribution network side control system and method
CN113013898B (en) Grid-connected inverter subsynchronous oscillation suppression method based on remote power grid phase locking
CN202602293U (en) Voltage sag compensation device for direct-current capacitor energy-storage-type dynamic voltage restorer

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
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20210518

Assignee: Shanghai Yanqiao Information Technology Co.,Ltd.

Assignor: HUAIYIN INSTITUTE OF TECHNOLOGY

Contract record no.: X2022980020273

Denomination of invention: A photovoltaic grid connected inverter and its modulation method

Granted publication date: 20220930

License type: Common License

Record date: 20221108

EE01 Entry into force of recordation of patent licensing contract
TR01 Transfer of patent right

Effective date of registration: 20230424

Address after: No. 3-1, Building 2, No. 66 Nongke Avenue, Baishiyi Town, Jiulongpo District, Chongqing, 400050

Patentee after: PowerChina Chongqing Survey, Design and Research Institute Co.,Ltd.

Address before: 230000 B-1015, wo Yuan Garden, 81 Ganquan Road, Shushan District, Hefei, Anhui.

Patentee before: HEFEI MINGLONG ELECTRONIC TECHNOLOGY Co.,Ltd.

Effective date of registration: 20230424

Address after: 230000 B-1015, wo Yuan Garden, 81 Ganquan Road, Shushan District, Hefei, Anhui.

Patentee after: HEFEI MINGLONG ELECTRONIC TECHNOLOGY Co.,Ltd.

Address before: 223005 Jiangsu Huaian economic and Technological Development Zone, 1 East Road.

Patentee before: HUAIYIN INSTITUTE OF TECHNOLOGY

TR01 Transfer of patent right