CN112379164A - 一种用于数字化ups控制变量采样直偏实时取样算法 - Google Patents

一种用于数字化ups控制变量采样直偏实时取样算法 Download PDF

Info

Publication number
CN112379164A
CN112379164A CN202011412350.0A CN202011412350A CN112379164A CN 112379164 A CN112379164 A CN 112379164A CN 202011412350 A CN202011412350 A CN 202011412350A CN 112379164 A CN112379164 A CN 112379164A
Authority
CN
China
Prior art keywords
bias
period
err
rms
direct
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011412350.0A
Other languages
English (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.)
Xiamen Aiweida Technology Engineering Co ltd
Xiamen Evada Electronics Co ltd
Original Assignee
Xiamen Aiweida Technology Engineering Co ltd
Xiamen Evada Electronics Co ltd
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 Xiamen Aiweida Technology Engineering Co ltd, Xiamen Evada Electronics Co ltd filed Critical Xiamen Aiweida Technology Engineering Co ltd
Priority to CN202011412350.0A priority Critical patent/CN112379164A/zh
Publication of CN112379164A publication Critical patent/CN112379164A/zh
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/16Spectrum analysis; Fourier analysis

Landscapes

  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Electrical Variables (AREA)
  • Dc-Dc Converters (AREA)

Abstract

本发明公开了一种用于数字化UPS控制变量采样直偏实时取样算法,包括以下步骤:第n个周期,半周时间到,计算半周有效值rms_half(n);第n个周期,整周时间到,计算整周有效值rms_ts(n),求平均得到当前第n个周期的直偏量bias(n);计算半周有效值和整周有效值差值的绝对值rms_err;将rms_err于允许的误差err_max界限进行比较,大于err_max,本次计算结束返回步骤一过程重新开始,小于err_max,将第n个周期计算得到的直偏量bias(n)进行累加,保存在bias_avg_sum中通过cnt变量进行计数;计数cnt达到设定次数numb_set时,对bias_avg_sum求平均得到新的直偏更新量bias_new;过程不断重复,bias_new不断进行刷新。本发明与现有技术相比的优点在于:该算法适用性强,能适用于UPS各种负载工况,同时算法简单实用,满足参与控制运算的实时性要求。

Description

一种用于数字化UPS控制变量采样直偏实时取样算法
技术领域
本发明涉及数字信号采样处理技术领域,具体是指一种用于数字化UPS控制变量采样直偏实时取样算法。
背景技术
对于数字化UPS而言,对于逆变电压、输出电流、电感电流等参数的采样,不仅用于系统故障保护的判断,同时也作为重要控制参数参与逆变控制。直偏量作为一种干扰量,主要有两个方面的来源,一个是逆变器控制方面,由于自身开关器件死区的引入,导致输出电压/电流的不平衡从而引起的直偏。另外一个则是采样调理电路自身的电压基准直偏和温度对于采样器件的影响。直偏的引入对于逆变器有极大的危害,特别是对于工频逆变器中变压器设备器件,直流量的注入会引起变压器产生直流偏磁,直流偏磁会导致变压器励磁电流和谐波电流的急剧增加,可能会引起变压器铁芯磁饱和,导致铁芯的磁致伸缩。直流分量作为一种谐波分量,会增大逆变器设备的无功损耗,同时对于UPS并机的稳定性有较大的影响。因此对于直流量的准确提取和去除,是UPS控制算法中重要组成部分。
发明内容
本发明要解决的技术问题是克服以上技术缺陷,提供一种用于数字化UPS控制变量采样直偏实时取样算法,用于消除UPS控制变量的采样直偏的影响。
为解决上述技术问题,本发明提供的技术方案为:一种用于数字化UPS控制变量采样直偏实时取样算法,包括以下步骤:
步骤一:第n个周期,半周时间到,计算半周有效值rms_half(n);
步骤二:第n个周期,整周时间到,计算整周有效值rms_ts(n),同时经过整周采样值累加求平均得到当前第n个周期的直偏量bias(n);
步骤三:计算半周有效值和整周有效值差值的绝对值rms_err;
步骤四:将rms_err于允许的误差err_max界限进行比较,如果大于err_max,则本次计算结束返回步骤一过程重新开始,如果小于err_max,则将第n个周期计算得到的直偏量bias(n)进行累加,保存在bias_avg_sum中通过cnt变量进行计数;
步骤五:当计数cnt达到设定次数numb_set时,对bias_avg_sum求平均得到新的直偏更新量bias_new;步骤六:以上过程不断重复,bias_new不断进行刷新。
本发明与现有技术相比的优点在于:该算法适用性强,能适用于UPS各种负载工况,同时算法简单实用,满足参与控制运算的实时性要求。
附图说明
图1是本发明一种用于数字化UPS控制变量采样直偏实时取样算法的流程图。
具体实施方式
下面对本发明技术方案进行清楚、完整地描述,显然,所描述的仅仅是本发明一部分,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
本发明公开一种用于数字化UPS控制变量采样直偏实时取样算法,包括以下步骤:
步骤一:第n个周期,半周时间到,计算半周有效值rms_half(n);
步骤二:第n个周期,整周时间到,计算整周有效值rms_ts(n),同时经过整周采样值累加求平均得到当前第n个周期的直偏量bias(n);
步骤三:计算半周有效值和整周有效值差值的绝对值rms_err;
步骤四:将rms_err于允许的误差err_max界限进行比较,如果大于err_max,则本次计算结束返回步骤一过程重新开始,如果小于err_max,则将第n个周期计算得到的直偏量bias(n)进行累加,保存在bias_avg_sum中通过cnt变量进行计数;
步骤五:当计数cnt达到设定次数numb_set时,对bias_avg_sum求平均得到新的直偏更新量bias_new;步骤六:以上过程不断重复,bias_new不断进行刷新。
以上公开的本发明优选实施例只是用于帮助阐述本发明。优选实施例并没有详尽叙述所有的细节,也不限制该发明仅为所述的具体实施方式。显然,根据本说明书的内容,可作很多的修改和变化。本说明书选取并具体描述这些实施例,是为了更好地解释本发明的原理和实际应用,从而使所属技术领域技术人员能很好地理解和利用本发明。本发明仅受权利要求书及其全部范围和等效物的限制。

Claims (1)

1.一种用于数字化UPS控制变量采样直偏实时取样算法,其特征在于:包括以下步骤:
步骤一:第n个周期,半周时间到,计算半周有效值rms_half(n);
步骤二:第n个周期,整周时间到,计算整周有效值rms_ts(n),同时经过整周采样值累加求平均得到当前第n个周期的直偏量bias(n);
步骤三:计算半周有效值和整周有效值差值的绝对值rms_err;
步骤四:将rms_err于允许的误差err_max界限进行比较,如果大于err_max,则本次计算结束返回步骤一过程重新开始,如果小于err_max,则将第n个周期计算得到的直偏量bias(n)进行累加,保存在bias_avg_sum中通过cnt变量进行计数;
步骤五:当计数cnt达到设定次数numb_set时,对bias_avg_sum求平均得到新的直偏更新量bias_new;
步骤六:以上过程不断重复,bias_new不断进行刷新。
CN202011412350.0A 2020-12-04 2020-12-04 一种用于数字化ups控制变量采样直偏实时取样算法 Pending CN112379164A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011412350.0A CN112379164A (zh) 2020-12-04 2020-12-04 一种用于数字化ups控制变量采样直偏实时取样算法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011412350.0A CN112379164A (zh) 2020-12-04 2020-12-04 一种用于数字化ups控制变量采样直偏实时取样算法

Publications (1)

Publication Number Publication Date
CN112379164A true CN112379164A (zh) 2021-02-19

Family

ID=74591067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011412350.0A Pending CN112379164A (zh) 2020-12-04 2020-12-04 一种用于数字化ups控制变量采样直偏实时取样算法

Country Status (1)

Country Link
CN (1) CN112379164A (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246043A (zh) * 2008-03-28 2008-08-20 清华大学 受直流偏磁影响交流电力变压器振动与噪声在线监测方法
CN104201645A (zh) * 2014-09-17 2014-12-10 北京天能继保电力科技有限公司 一种防采样值异常大数的差动保护方法
CN104569551A (zh) * 2015-01-08 2015-04-29 漳州科华技术有限责任公司 一种应用于逆变电压的直流分量检测方法
US20180091063A1 (en) * 2016-09-29 2018-03-29 Nio Nextev Limited Current sampling and processing device and method for an inverter
CN110380446A (zh) * 2019-07-12 2019-10-25 爱士惟新能源技术(扬中)有限公司 一种光伏并网逆变器的电网断开检测方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246043A (zh) * 2008-03-28 2008-08-20 清华大学 受直流偏磁影响交流电力变压器振动与噪声在线监测方法
CN104201645A (zh) * 2014-09-17 2014-12-10 北京天能继保电力科技有限公司 一种防采样值异常大数的差动保护方法
CN104569551A (zh) * 2015-01-08 2015-04-29 漳州科华技术有限责任公司 一种应用于逆变电压的直流分量检测方法
US20180091063A1 (en) * 2016-09-29 2018-03-29 Nio Nextev Limited Current sampling and processing device and method for an inverter
CN110380446A (zh) * 2019-07-12 2019-10-25 爱士惟新能源技术(扬中)有限公司 一种光伏并网逆变器的电网断开检测方法

Similar Documents

Publication Publication Date Title
Huang et al. Data-enabled predictive control for grid-connected power converters
Verma et al. An improved hybrid prefiltered open-loop algorithm for three-phase grid synchronization
He et al. A review of multisampling techniques in power electronics applications
Luna et al. Grid synchronization for advanced power processing and FACTS in wind power systems
Jafarian et al. Controller robustness analysis of grid-tied AC-stacked PV inverter system considering manufacturing inaccuracies
CN112379164A (zh) 一种用于数字化ups控制变量采样直偏实时取样算法
CN104811028A (zh) 功率因数校正电路
CN115441710B (zh) 逆变器离网分相输出电压直流分量抑制方法及光伏系统
Timbus et al. ENS detection algorithm and its implementation for PV inverters
CN115085163A (zh) 低频输电线路的差动保护方法、系统、装置及存储介质
CN213633630U (zh) 一种继电保护测试线智能转换装置
Li et al. Linear active disturbance rejection control based on three-phase unbalanced voltage compensation strategy in microgrid
Qin et al. Research on parallel shunt hybrid active power filter with repetitive LADRC algorithm
CN109407543B (zh) 一种风电机组电气模型电压响应特性的验证方法和装置
CN110768261A (zh) 一种基于状态空间预测的储能型dvr控制方法
Li et al. Comparison of two repetitive control strategies of UPS inverter on saber
Yuan et al. A sag and harmonic compensation method without harmonic detection for dynamic voltage restorer
Guo et al. A model-free direct predictive grid-current control strategy for grid-connected converter with an inductance-capacitance-inductance filter
Najafi et al. A D-STATCOM based on Goertzel algorithm for sag detection and a novel current mode controller
Lin et al. Evaluation of synchronous generators reactive power output during transient process
Chen et al. A Frequency Measurement Algorithm for Power Quality Monitoring Terminal
Xia et al. Grid connected control strategy of microgrid
Li et al. Harmonic current forecasting method for hybrid active power filter based on optimal linear prediction theory
Ma et al. An application of optimized repetitive control in uninterruptible power system
Hong et al. Elimination of numerical oscillation of dynamic phasor in HVDC system simulation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210219

RJ01 Rejection of invention patent application after publication