摘要
本文研究设计了一个电参量智能测量仪,分别从硬件、软件两方面介绍了智能电参量测量仪的实现思想。系统的核心采用了单片机MSP430F449,研究主要内容包括:信号采样、数据处理、上下位机通信以及相关接口电路设计。测量仪在测量时能够自动选择合适的测量方法及量程进行测量,从而提高了测量精度并缩短了测量时间。在数据采集处理方面,采用了准同步法,去掉了同步环节从而减小了同步误差对测量值准确度的影响,同时采用一次加权复化梯形法减少了计算量。特别在针对高频信号测量时,采用等效-准同步采样法,实现了使用低速率A/D对高频率信号采样。还讨论了被测信号测量频率、相位差、电压/电流有效值、有功功率、功率因数等电参量的原理及方法,并通过理论分析所用方法产生的相对误差的大小以及影响相对误差的因素,再通过仿真验证后,提出相应措施,对硬、软件进行改进。采用Visual Basic开发了上位计算机的通信界面。将Modbus-RTU通信协议,嵌入于智能仪表中,实现上,下位机数据交换,便于实现远程测量和控制。另外为了适应现场测量便于携带,本仪表采用铅酸电池供电,并且完成了系统充电电路,使得仪表能够根据电池电量状态,自动进行充电或充电满断电。
This text designed an the intelligence meter for electricity parameter,the both side from the hardware design and software design introduced an intelligence electricity parameter a test an instrument of design thought.The heart of the system is MSP430 single chip micyoco . They are mainly as follows:signal sample, data analysis, communicating module and peripheral interface circuit.Because of a wide frequency range and Amplitude with a wide range,we want to satisfy to measure accuracy higher and measure time as far as possible short,meust achieves auto-gearing.This mere collects processing aspect in the data, using quasi-synchronous sampling,throwing away synchronous link to let up synchronous error margin to the influence which measures an accurate degree, It throughs the use of composite trapezoidal integration,reduced the amount of computation.Adopt equivalent time-quasi-synchronous sampling while measuring to high frequency signal specially, carried out to use the low speed rate A/D to sample to the high frequency signal.It gives the measuring principle of some electric parameters as frequency/period,effective value of voltage and current,and power factor.It analyzes the main reasons that cause the measuring accuracy and gives the solutions to the specific problems on the high frequency.The simulation and experimental validation test the feasibility of its.Besides,it develops the communication interface on computer and the communication program developed by Modbus protocol .In order to facilitate the carrying another,it adoptions rechargeable sealed lead-acid battery,and design charging circuit,according to battery status, automatic recharge, or cut the power.
引文
[1]闫国旗.电测新技术及其发展[J].中国计量,2006,28(3):43-44
[2]赵泰茂.智能仪器原理及应用[M].北京:电子工业出版社,1999:2-5
[3]陈思明,卞根发.自整定调节器在船舶辅锅炉温控系统的应用[J].机电设备,2007,13(9):32-33
[4]K.Shinoda,H.Koide F,Kobaya Shi.new elec-tronic control ststem for a diesel enging[J].SAE860597,2001,(5):11-16
[5]张剑平.智能化检测系统及仪器[M].北京:国防工业出版社,2005:3-7
[6]伍治海,吉顺祥,王明方.基于虚拟仪器的测试仪器应用研究[J].仪表技术,2007,22(10):56-60
[7]陈小忠,吴海涛.基于MSP430F149的频率计设计[J].时间频率学报,2006,29(2):116-122
[8]Kay S.Statistically/computationally efficient frequency estimation[A].Proceedings of IEEE intemation alconference in acoustic speech and signal processing.New York:IEEE service center,1988:2292-2295
[9]李华曦.非正弦交流电参量测量系统的研究[D].西安:西安理工大学,1997:27
[10]李庆波,王菽蓉,徐勇。采样计算式测量方法的特点及应用[J].电测与仪表,1999,36(9):5-6
[11]盛新富,戚庆成.常用电工参数数字化测量中的非同步采样误差[J].电工电能新技术,1998,2(01):10-14
[12]戴先中.准同步采样应用中的若干问题[J].电测与仪表,1988,25(2):2-7
[13]Backmutsky V,Zmudikov V,Agizim A,et al.New DSP method for precise dynamic measurement of theactual power-line frequency and its data acquisition Journal of the International Measurement Confederation,applications,1996,18(3):169-176
[14]李芙英,王恒福,葛荣尚.用准同步离散Fourier变换实现高准确度谐波分析[J].清华大学学报自然科学版,1999,39(5):47-50
[15]章军.多功能电参量仪的设计[D].西安:西安电子科技大学,2004
[16]Backmutsky V,Zmudikov V,Agizim A,et al.New DSP method for precise dynamic measurement of theactual power-line frequency and its data acquisition applications,measurement.Journal of the International Measurement Confederation,1996,18(3):169-176
[17]叶瑞青,沈显祥,唐斌.欠采样超宽带LFM信号参数估计[J].电子科技大学学报,2006,35(2):157-159
[18]韩广兴.图解示波器使用方法与应用技巧[M].北京:中国电力出版社,2007:20-34
[19]郑毅,王楚.一种全新的等效采样[J].北京大学学报(自然科学版),1999,35(5):687-692
[20]Jenq YIH-CHYUN JENQ.Digital Spectra of Nonuniformly Sampled Signal Fundaents and High-speed Waveform Dieitizers[J].IEEE Trans Trans,1988,37(2):245-251
[21]张国礼,孙万蓉.基于随机等效采样的高速数据采集系统的设计[J].现代电子技术,2004.24:3-5
[22]胡大可.MSP430系列FLASH型超低功耗16位单片机[M].北京:北京航空航天出版社,2001
[23]魏小龙.MSP430系列单片机接口技术及系统设计实例[M].北京:北京航空航天出版社,2002
[24]董文军,汪仁煌.基于MSP430的极低功耗系统设计[J].单片机与潜入式系统应用,2003,6:18-20
[25]王云景.程控仪表放大器PGA202/203的原理及应用[J].国外电子元器件,1999,9(12):29-30
[26]张剑平.智能化检测系统及仪器[M].北京:国防工业出版社,2005:108-109
[27]童诗白,华成英.模拟电子技术基础[M].北京:高等教育出版社,2001:506
[28]邱允和,车杰,王鸿麟.集成电路UC3906在密封铅酸电池充电器中的应用[M].电源技术,1995,19(5):23-24
[29]Valley.Improved Charging Methods For Lead-Acid Batteries Using The UC3096[M].Unitrode Linear Integrated Circuits Data And Applications Handbook,2001:35
[30]刘永军.开关模式铅酸电池充电芯片的研究与设计[D].浙江:浙江大学,2005:29-30
[31]张冲,杨瑞.MSP430学习版实验指导书[M].杭州:杭州利尔达单片机技术有限公司
[32]魏小龙.MSP430系列单片机接口技术及系统设计实例[M].北京:北京航空航天出版社,2002
[33]秦龙.MSP430单片机应用系统开发典型实例[M].北京:中国电力出版社,2005
[34]沈建华,杨艳琴,瞿骁曙.MSP430系列16位超低功耗单片机实践与系统设计[M].北京:清华出版社,2005
[35]杨扬,孙庆.多功能非正弦电参量测试仪的研制[J].浙江工业大学学报,1996,24(3):247-251
[36]王建军,王振美,王震宇.电力系统中电参数的高精度测试[J].黑龙江电力,2001.23(06):392-394
[37]刘瑞新.Visual Basic程序设计教程[M].北京:机械工业出版社,2000
[38]王宇熙.夏其表Visual Basic 6.0程序设计实用教程[M].北京:科学出版社,2006
[39]王成多,方祥.基于Modbus-RTU协议的现场总线局域网在智能电器中的应用[J].电器制造,2007,21(12):72-75
[40]潘洪跃.基于MODBUS协议通信的设计与实现[M].北京:国防工业出版社,2002
[41]宋立新,薛栋,都朝辉,王乾.准等精度多周期同步测频法及实现[J].哈尔滨理工大学学报,1999,04(04):19-22
[42]张国礼,孙万蓉.基于随机等效采样的高速数据采集系统的设计[J].现代电子技术,2004,1(24):3-5
[43]胡虔生,马宏忠.非正弦周期信号测量同步误差研究[J].中国机电工程学报,2000,20(9):35-40
[44]王震宇,王学伟.基于参数白适应的准同步采样法[J].哈尔滨理工大学报,2001,6(2):
[45]贺毅.高精度数字化测量算法在电力系统电参量测量中的应用[D].成都:西南交通大学,2004
[46]马宏忠,胡虔生.软件同步采样误差分析[J].电:[技术学报,1996,11(2):43-47
[47]富致超,江大川.采样原理功率表中仪用互感器引起误差的软件修正[J].电测与仪表,1999.36(404):40-42
[48]Dai Xian-zhong,et al.Quasi-synchronous sampling algorith mand its applications[J].IEEE Trans on IM,1994,43(2):204-209
[49]R.S.Turgel.Digital Wattmeter Using a Sampling Method[J].IEEE Trans onlM,1974,52(2):35-34
[50]Furuhashi Tetal.A study on the theory of instantanous reactive power[J].IEEE Trans onlE,1990,37(1):86-90
[51]黄忠霖.控制系统MATLAB计算及仿真[M].北京:国防工业出版社,2001
[52]张智星.MATLAB程序设计与应用[M].北京:清华大学出版社,2002