摘要
介绍了一种基于STM32的低功耗、高性能的电力数据采集系统,阐述了系统的工作原理及其软硬件设计。STM32内部包含丰富的功能模块,无需外扩芯片,系统即可利用STM32自带的ADC对输入信号进行多通道同步模数转换,利用灵活的静态存储器控制器FSMC扩展NAND FLASH存储数据,并利用STM32先进的标准通信接口实现基于MODBUS协议的RS485远程通信,克服了传统电力数据采集器受限于有限的存储空间和通信接口、精度不高、实时性差等缺点。实际运行表明,此系统采集电力数据的实时性和可靠性大为提高,并且系统具有成本低、体积小、人机交互友好等优点。
This paper introduced alow-power-consumption and high-performance electric power data acquisition system based on STM32,and expatiated on its operational principle and the hardware and software design.STM32's abundant function modules helped the system to realize multi-channel synchronous analogue-to-digital conversions by using the ADC embedded in STM32 without any expansion of ASIC chips,and then the flexible static memory controller(FSMC) was used to extend the NAND FLASH to store data.Besides,the advanced and standard interface of STM32 was utilized for the RS485 remote communication base on MODBUS protocol.This system overcame the disadvantages of traditional electric power data collectors such as the restricted storage space and communication interfaces,low precision and bad real-time capability.The practical operation attested for the improved real-time performance and reliability of the system which was of low cost,small volume,and friendly human-computer interaction.
出处
《电子测量技术》
2010年第11期90-93,共4页
Electronic Measurement Technology
关键词
STM32
电力数据采集
模数转换
远程通信
STM32
electric power data acquisition
A/D conversion
telecommunication