Design and practice of an efficient digital filter algorithm based on S7-1200 AD Sampling
CSTR:
Author:
Clc Number:

TP271+.4

  • Article
  • | |
  • Metrics
  • |
  • Reference [16]
  • |
  • Related [20]
  • | | |
  • Comments
    Abstract:

    In the AD sampling process of Siemens S7-1200PLC, sampling data jitter is caused by external interference and sensor sampling data disturbance. Based on the principle of Least Mean Square (LMS), an improved weighted average digital filtering algorithm is designed in this paper. In 1200PLC, the corresponding filter algorithm program is compiled by SCL language to filter the sampled data of AD. An experiment is done on the AD sampling under a strong interference environment, and the sampling data is stable and accurate, proving that the digital filtering algorithm is efficient and reliable.

    Reference
    [1] 泰勒.数字滤波器原理及应用(借助MATLAB)[M].程建华,袁书明,译.北京:国防工业出版社,2013.Fred J. Digital filters principles and applications with MATLAB[M]. CHENG Jianhua, YUAN Shuming, translate. Beijing:National Defense Industry Publishing House, 2013.
    [2] Panetta K, Bao L, Agaian S. Sequence-to-sequence similarity-based filter for image denoising[J]. IEEE Sensors Journal, 2016, 16(11):4380-4388.
    [3] Hong Y, Shi T L, Wang X, et al. Weighted adaptive spatial filtering in digital holographic microscopy[J]. Optics Communications, 2017, 382:624-631.
    [4] 程兰,王志远,陈杰,等.基于粒子滤波和滑动平均扩展Kalman滤波的多径估计算法[J].电子与信息学报,2017,39(3):709-716.CHENG Lan, WANG Zhiyuan, CHEN Jie, et al. An improved multipath estimation algorithm using particle filter and sliding average extended kalmanfilter[J]. Journal of Electronics & Information Technology, 2017, 39(3):709-716. (in Chinese)
    [5] Erkan U, Gökrem L, Enginoǧlu S. Different applied median filter in salt and pepper noise[J]. Computers & Electrical Engineering, 2018, 70:789-798.
    [6] Kang X G, Stamm M C, Peng A J, et al. Robust median filtering forensics using an autoregressive model[J]. IEEE Transactions on Information Forensics and Security, 2013, 8(9):1456-1468.
    [7] 胡妍,王柯俨,许宁,等.利用分割中值滤波和透射率补偿的图像去雾[J].西安电子科技大学学报(自然科学版),2018,45(4):99-105.HU Yan, WANG Keyan, XU Ning, et al. Image dehazing by thesegmenting median filter and transmission compensation[J]. Journal of Xidian University (Natural Science), 2018, 45(4):99-105. (in Chinese)
    [8] 常乃超,刘思旭,余高旺,等.动态条件下同步相量测量装置的数字滤波器及计算优化[J].电力系统自动化,2017,41(20):92-96.CHANG Naichao, LIU Sixu, YU Gaowang, et al. Digital filter and computational optimization of synchronized phasor measurement unit under dynamic conditions[J]. Automation of Electric Power Systems, 2017, 41(20):92-96. (in Chinese)
    [9] Wang J, Meng X H, Liu H, et al. Optimization of finite difference forward modeling for elastic waves based on optimum combined window functions[J]. Journal of Applied Geophysics, 2017, 138:62-71.
    [10] 曹磊,赵庆生,王旭平,等.基于改进泰勒加权最小二乘法的相量测量算法[J].电力系统保护与控制,2018,46(7):24-30.CAO Lei, ZHAO Qingsheng, WANG Xuping, et al. A phasor measurement algorithm based on improved Taylor weighted least squares[J]. Power System Protection and Control, 2018, 46(7):24-30. (in Chinese)
    [11] Jin D Q, Chen J, Richard C, et al. Model-driven online parameter adjustment for zero-attracting LMS[J]. Signal Processing, 2018, 152:373-383.
    [12] 赵知劲,金明明.基于块自适应滤波的核最小均方算法[J].计算机工程,2017,43(9):162-166.ZHAO Zhijin, JIN Mingming. Kernaelleast mean square algorithm based on block adaptive filtering[J]. Computer Engineering, 2017, 43(9):162-166. (in Chinese)
    [13] Tobar F A, Kung S Y, Mandic D P. Multikernelleast mean square algorithm[J]. IEEE Transactions on Neural Networks and Learning Systems, 2014, 25(2):265-277.
    [14] Falissard F. Chebyshev-like generalized Shapiro filters for high-accuracy flow computations[J]. Journal of Computational Physics, 2017, 336:595-607.
    [15] 刘佳,唐小明,宋洪良.基于分布式协同模式的MTI滤波器设计与仿真[J].现代电子技术,2017,40(17):79-82.LIU Jia, TANG Xiaoming, SONG Hongliang. Design and simulation of MTI filter based on distributed cooperation mode[J]. Modern Electronics Technique, 2017, 40(17):79-82. (in Chinese)
    [16] 邱盛成,蔡启仲,李克俭,等.PLC梯形图转化为多操作数逻辑指令的设计与实现[J].计算机测量与控制,2016,24(6):202-205,217.QIU Shengcheng, CAI Qizhong, LI Kejian, et al. Design and realization of transformation from PLC ladder diagram to multiple operands logic instruction[J]. Computer Measurement & Control, 2016, 24(6):202-205,217. (in Chinese)
    Cited by
    Comments
    Comments
    分享到微博
    Submit
Get Citation

陈明方,刘金鑫,张永霞,葛天佑,臧家秀,陈浩.基于S7-1200 AD采样的高效数字滤波算法的设计与实践[J].重庆大学学报,2019,42(5):108~118

Copy
Share
Article Metrics
  • Abstract:1088
  • PDF: 1885
  • HTML: 1599
  • Cited by: 0
History
  • Received:November 30,2018
  • Online: May 24,2019
Article QR Code