首页> 中文期刊> 《现代电子技术》 >基于均值滑动滤波算法和STM32电子秤的设计

基于均值滑动滤波算法和STM32电子秤的设计

         

摘要

为了提高电子秤的抗干扰性和数据的准确性,介绍基于均值滑动滤波算法和STM32电子秤的设计.选用电阻应变片构成的惠斯通电桥传感器采集重物信号,24位HX711 A/D模块完成电信号的放大和转换,在STM32内实现软件滤波,采用滑动均值滤波算法,减小误差,提高数据的准确度.通过软硬件结合的方法进行校正.矩阵键盘输入控制指令实现设置单价、计算物品金额并实现金额累加和去皮等功能.实验测试表明,该电子秤测量范围是0~500 g,误差不超过±1 g,称重反应灵敏,5s左右读数稳定.%In order to improve the anti-jamming and data accuracy of electronic scale,the design of the electronic scale based on the mean sliding filter algorithm and STM32 is introduced in this paper. The Wheatstone bridge sensor with the struc-ture of resistance strain gage is selected to collect weight signal. 24 bit HX711 A/D module is adopted to complete the signal am-plification and conversion to realize software filtering in STM32.Tthe sliding men filtering algorithm is used to reduce the error and improve the data accuracy. The correction is executed with the method combining the software and hardware. Matrix key-board input control instructions are employed to set the unit price,calculate the amount of item and achieve the money accumu-lation and peeling,and other functions. The experimental results show that the measurement range of the electronic scale is 0~500 g,its error is not more than ±1 g,and has sensitive weighing response and about 5 s stable reading.

著录项

  • 来源
    《现代电子技术》 |2017年第10期|10-1215|共4页
  • 作者

    周继裕; 陈思露; 符少文;

  • 作者单位

    广西大学 电气工程学院,广西 南宁 530004;

    广西大学 物理科学与工程技术学院,广西 南宁 530004;

    广西大学 物理科学与工程技术学院,广西 南宁 530004;

    广西大学 物理科学与工程技术学院,广西 南宁 530004;

  • 原文格式 PDF
  • 正文语种 chi
  • 中图分类 TN99-34;
  • 关键词

    滑动均值滤波; 电阻应变片; HX711; STM32;

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号