首页|动能测量装置的时间测量方法及程序设计

动能测量装置的时间测量方法及程序设计

扫码查看
本文基于STM32F103系列单片机的通用计时器TIMx的捕获功能,设计了一种用于测量输入脉冲宽度的一种时间测量方法,并用于测量动能测量装置的速度;设置TIMx的硬件初始化流程,用C语言编写测试程序;用信号发生设备和测量仪器对单片机测量时间的功能进行测试.结果表明:该捕获功能可较好地完成动能测试装置的时间量测量,且使用以STM32F103系单片机作为核心部件具有可行性.
Time Measurement Method and Program Design for Kinetic Energy Measurement Device
Based on the capture function of TIMx of STM32F103 series microcontroller,a time measurement method is designed to measure the input pulse width and the speed of the kinetic energy measuring device.The hardware initialization process of TIMx is set up,the test program is written in C language,and the function of measuring time is tested by signal generator and measuring instrument.The results show that the capture function can complete the time measurement of the kinetic energy measuring device well,and it is feasible to use STM32F1O3 as the core com-ponent.

metrologytime measurementSTM32

凌永光、彭睿、陈金明

展开 >

广州计量检测技术研究院

计量 时间测量 STM32

广州市市场监督管理局科技项目

2022kj10

2024

计量与测试技术
成都市计量监督检定测试所

计量与测试技术

影响因子:0.175
ISSN:1004-6941
年,卷(期):2024.51(2)
  • 3