Applying Rife and Quinn Algorithm to Multi-channel Data Acquisition System
-
摘要: 针对传统振弦式传感器采集系统精度低,通道数少,实时性差的缺点设计了一种基于ARM和AD9833多通道数据采集系统。该系统将采集调理电路、数据存储、电源供电集成化,具备精度高,实时性强等特点。系统以ARM处理器为核心,结合改进的Rife和Quinn算法对经过FFT变换后的信号得到精确频率,并根据输出信号频率与待测量之间关系进行计算,系统将计算处理后的数据通过无线或有线传输方式将监测数据传输至监测后台,实现实时在线监控监测点的相关信息,上位机解析显示数据并存入数据库。分析实验数据可知,该采集系统与传统采集系统相比精确度更高,采集速度更快,能够提高振弦式传感器的实用性。
-
关键词:
- ARM /
- 振弦式传感器 /
- Rife-Quinn算法 /
- 数据采集分析
Abstract: To improve the poor real-time performance of the data acquisition system of a traditional vibrating string sensor and increase the number of its channels, a multi-channel data acquisition system was designed based on ARM and AD9833; then it can integrate, collect and adjust the circuit, data storage and power supply of the acquisition system. Centering on the ARM, the system uses the Rife and Quinn algorithm to figure out the frequency according to the relationship between the value to be measured and the output signal frequency to be calculated. The acquisition system realizes the real-time online monitoring of performance information and uses the GPRS or cables to complete data transmission. The data was displayed on PC visual and deposited in the database. The data analysis results show that the acquisition system, compared with the traditional acquisition systems, has a higher accuracy and improves the practicability of the vibrating string sensor.-
Key words:
- ARM /
- Rife and Quinn algorithm /
- data acquisition /
- vibrating string sensor
-
表 1 多通道频率测量实验数据
传感器通道 输入频率(500 Hz) 输入频率(4 500 Hz) 1 500.028 4 500.220 2 499.986 4 499.302 3 499.892 4 499.687 4 500.022 4 500.405 5 499.991 4 499.504 6 499.114 4 499.201 7 500.011 4 499.488 8 499.074 4 499.501 表 2 上位机实验数据
通道 外部压力/kN 测量压力/kN 差值/kN 01 2.653 0 2.654 8 0.001 8 02 3.121 0 3.122 8 0.001 9 03 3.982 0 3.983 9 0.001 5 04 4.552 0 4.551 9 0.003 2 05 5.322 0 5.324 1 0.002 1 06 6.112 0 6.115 0 0.003 0 07 6.847 0 6.849 0 0.002 0 08 8.556 0 8.559 4 0.003 4 -
[1] 吕捷.GPRS技术[M].北京: 北京邮电大学出版社, 2001Lü J. GPRS technology[M]. Beijing: Beijing University of Posts and Telecommunications Press, 2001(in Chinese) [2] 孙宝臣, 杜彦良, 李剑芝, 等.基于GSM-R的青藏铁路冻土地温自动监测系统[J].铁道学报, 2009, 31(5):125-129 doi: 10.3969/j.issn.1001-8360.2009.05.021Sun B C, Du Y L, Li J Z, et al. Automatic permafrost temperature monitoring system of Qinghai-Tibet railway based on GSM-R network[J]. Journal of the China Railway Society, 2009, 31(5):125-129(in Chinese) doi: 10.3969/j.issn.1001-8360.2009.05.021 [3] 刘颖, 李刚, 李朋伟, 等.嵌入式公路健康监测传感器系统设计[J].传感器与微系统, 2013, 32(7):81-84, 88 doi: 10.3969/j.issn.1000-9787.2013.07.025Liu Y, Li G, Li P W, et al. Design of embedded road health monitoring sensor system[J]. Transducer and Microsystem Technologies, 2013, 32(7):81-84, 88(in Chinese) doi: 10.3969/j.issn.1000-9787.2013.07.025 [4] 王晨辉, 吴悦, 杨凯.基于STM32的多通道数据采集系统设计[J].电子技术应用, 2016, 42(1):51-53, 57 http://www.wanfangdata.com.cn/details/detail.do?_type=perio&id=dzjsyy201601021Wang C H, Wu Y, Yang K. Design of multi-channel data acquisition system based on STM32[J]. Application of Electronic Technique, 2016, 42(1):51-53, 57(in Chinese) http://www.wanfangdata.com.cn/details/detail.do?_type=perio&id=dzjsyy201601021 [5] 陈妮, 何华光, 谢开仲.多路振弦传感器同步测频系统设计[J].科学技术与工程, 2018, 18(2):105-110 doi: 10.3969/j.issn.1671-1815.2018.02.015Chen N, He H G, Xie K Z. Design of multi-channel synchronous frequency measurement system for vibrating wire sensor[J]. Science Technology and Engineering, 2018, 18(2):105-110(in Chinese) doi: 10.3969/j.issn.1671-1815.2018.02.015 [6] Palmer L. Coarse frequency estimation using the discrete Fourier transform (Corresp.)[J]. IEEE Transactions on Information Theory, 1974, 20(1):104-109 doi: 10.1109/TIT.1974.1055156 [7] Rife D C, Vincent G A. Use of the discrete Fourier transform in the measurement of frequencies and levels of tones[J]. The Bell System Technical Journal, 1970, 49(2):197-228 doi: 10.1002/bltj.1970.49.issue-2 [8] Rife D, Boorstyn R. Single tone parameter estimation from discrete-time observation[J]. IEEE Transactions on Information Theory, 1974, 20(5):591-598 doi: 10.1109/TIT.1974.1055282 [9] Quinn B G. Estimating frequency by interpolation using Fourier coefficients[J]. IEEE Transactions on Signal Processing, 1994, 42(5):1264-1268 doi: 10.1109/78.295186 [10] 邓振淼, 刘渝, 王志忠.正弦波频率估计的修正Rife算法[J].数据采集与处理, 2006, 21(4):473-477 doi: 10.3969/j.issn.1004-9037.2006.04.020Deng Z M, Liu Y, Wang Z Z. Modified Rife algorithm for frequency estimation of sinusoid wave[J]. Journal of Data Acquisition & Processing, 2006, 21(4):473-477(in Chinese) doi: 10.3969/j.issn.1004-9037.2006.04.020 [11] 严静, 周胜文, 周云生, 等.正弦波频率估计的改进Quinn算法[J].遥测遥控, 2017, 38(2):7-12 doi: 10.3969/j.issn.2095-1000.2017.02.002Yan J, Zhou S W, Zhou Y S, et al. Improved Quinn algorithm for frequency estimation of sinusoid wave[J]. Journal of Telemetry, Tracking and Command, 2017, 38(2):7-12(in Chinese) doi: 10.3969/j.issn.2095-1000.2017.02.002 [12] 吴卿.基于μC/OS-Ⅱ振弦传感器测频系统的设计[D].北京: 北京交通大学, 2006Wu Q. Vibrating-wire-sensors with measuring frequency system and its design based on the embedded μC/OS-Ⅱ system[D]. Beijing: Beijing Jiaotong University, 2006(in Chinese) [13] 江贤志, 刘华章, 张教育, 等.基于C8051F020单片机的RS485串行通信设计[J].电子测量技术, 2014, 37(3):121-124 doi: 10.3969/j.issn.1002-7300.2014.03.030Jiang X Z, Liu H Z, Zhang J Y, et al. Design of RS485 serial communication based on MCU C8051F020[J]. Electronic Measurement Technology, 2014, 37(3):121-124(in Chinese) doi: 10.3969/j.issn.1002-7300.2014.03.030 [14] 荆世勇, 周景龙, 刘明鑫, 等.基于SIM900A和LPC2378无线数据传输系统设计[J].电子科技, 2012, 25(11):66-68, 84 doi: 10.3969/j.issn.1007-7820.2012.11.020Jing S Y, Zhou J L, Liu M X, et al. Wireless data transmission system based on SIM900A and LPC2378[J]. Electronic Science and Technology, 2012, 25(11):66-68, 84(in Chinese) doi: 10.3969/j.issn.1007-7820.2012.11.020 [15] 孟蕾, 陈文艺, 宋焕生.嵌入式TCP/IP实现的研究和分析[J].西安邮电学院学报, 2004, 9(1):56-60 doi: 10.3969/j.issn.1007-3264.2004.01.014Meng L, Chen W Y, Song H S. The research and analysis of embedded TCP/IP protocol[J]. Journal of Xi'an University of Post and Telecommunications, 2004, 9(1):56-60(in Chinese) doi: 10.3969/j.issn.1007-3264.2004.01.014