首页> 外文期刊>Pomiary Automatyka Kontrola >A time interval generator with the STM32 microcontroller
【24h】

A time interval generator with the STM32 microcontroller

机译:带有STM32微控制器的时间间隔发生器

获取原文
获取原文并翻译 | 示例
           

摘要

The paper presents a concept of utilization of counter-timer circuits built in popular microcontrollers for generating precise time intervals. The main aim was to generate pulses START and STOP wholly in hardware without using a core of the microcontroller. This enables minimizing the value of time jitter of the generated time intervals and allows the use of remaining resources of the microcontroller freely. The introduced method of generation exploits the possibility of simultaneous synchronization of TIM2 and TIM3 timers from an overloaded TIM1 timer. Dependent timers work in One Pulse Mode. START and STOP signals are generated by PWM channels of individual timers. PWM channels can be configured independently which gives the possibility to generate START and STOP pulses of different polarity and width. Generation of a time interval can be triggered automatically (TIM1) or through one of the inputs of the microcontroller. The implemented generator is characterized by the generated range of time interval from 0 to 100 s and the resolution of 40 ns. The jitter of 100 ps was obtained. The concept is suitable to apply in any microcontroller of the STM32 family. It allows the generation of precise and adjustable delays in the application without the need to significantly expand a hardware part of the device.
机译:本文提出了利用内置在流行的微控制器中的计数器电路来产生精确时间间隔的概念。主要目的是完全在硬件中生成START和STOP脉冲,而无需使用微控制器的内核。这使得所产生的时间间隔的时间抖动值最小化,并允许自由使用微控制器的剩余资源。引入的生成方法利用了从过载的TIM1计时器同时同步TIM2和TIM3计时器的可能性。相关定时器在“单脉冲”模式下工作。 START和STOP信号由各个定时器的PWM通道生成。可以独立配置PWM通道,从而可以产生不同极性和宽度的START和STOP脉冲。可以自动触发时间间隔(TIM1)或通过微控制器的输入之一触发。所实现的发生器的特征在于,所生成的时间间隔范围为0到100 s,分辨率为40 ns。获得了100 ps的抖动。该概念适用于STM32系列的任何微控制器。它允许在应用中产生精确且可调节的延迟,而无需显着扩展设备的硬件部分。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号