摘要
针对数据采集与电子测量仪器领域对宽动态范围、高精度电压参数值获取的需求,设计了一种高精度智能交直流电压数据采集系统。该系统基于电压衰减电路,使用单片机STC89C52控制电压衰减器的系数实现量程自动切换;采用测量电压真有效值方案,实现AC/DC的转换;利用12位A/D转换器采集电压数据,在软件中分别应用限幅平均滤波法和线性拟合修正误差技术降低随机干扰和系统非理想特性引入的误差。实际运行结果表明:该系统具有精度高、误差小、操作简单、读数方便等优点,具有广泛的应用前景。
In the light of the demand for achieving wide dynamic range and high precision voltage values in the fields of data acquisitions and electronic measuring instruments, a high precision intelligent AC and DC voltages data acquisition system is de- signed in this paper. This system is based on the voltage attenuation circuit, which coefficients are controlled by the single chip microcomputer STC89C52 to realize the automatic range switching. The scheme for measuring the true RMS values of AC voltages is adopted to implement the AC-to-DC conversion. And the voltage data is acquired by employing a 12-bit analog-to-digital converter. Furthermore, in the software the amplitude-limiting and average filtering method and the error correction technique based on linear fitting are respectively used to reduce the random jamming signals and the system error introduced by the nonideal characteristics. The practical running results show that this system has the advantages of high accuracy, small error, easy operation, convenient reading, and so on, and it has a broad application prospect.
出处
《电子技术应用》
北大核心
2014年第8期83-86,共4页
Application of Electronic Technique
基金
成都信息工程学院科研基金资助成果(KYTZ201104)
关键词
单片机
电压衰减器
自动量程切换
真有效值
直流转换器
数字滤波
曲线拟合法
single chip microcomputer
voltage attenuator
automatic range switching
true RMS-to-DC converter
digital filtering
curve fitting method