| 注册
首页|期刊导航|现代电子技术|基于均值滑动滤波算法和STM32电子秤的设计

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

周继裕 陈思露 符少文

现代电子技术2017,Vol.40Issue(10):10-12,15,4.
现代电子技术2017,Vol.40Issue(10):10-12,15,4.DOI:10.16652/j.issn.1004-373x.2017.10.003

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

Design of electronic scale based on mean sliding filtering algorithm and STM32

周继裕 1陈思露 2符少文2

作者信息

  • 1. 广西大学 电气工程学院,广西 南宁 530004
  • 2. 广西大学 物理科学与工程技术学院,广西 南宁 530004
  • 折叠

摘要

Abstract

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.

关键词

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

Key words

sliding mean filter/resistance strain gage/HX711/STM32

分类

信息技术与安全科学

引用本文复制引用

周继裕,陈思露,符少文..基于均值滑动滤波算法和STM32电子秤的设计[J].现代电子技术,2017,40(10):10-12,15,4.

基金项目

国家自然科学基金资助项目(61367004) (61367004)

现代电子技术

OA北大核心CSTPCD

1004-373X

访问量0
|
下载量0
段落导航相关论文