首页> 外文会议>International Conference on Green Design and Manufacture >Free Running Loop Pendulum for Time Clock Algorithm
【24h】

Free Running Loop Pendulum for Time Clock Algorithm

机译:用于时间时钟算法的自由运行回路摆锤

获取原文

摘要

Time based control loop in digital algorithm could be accomplished through built-in circuits such as watchdog timer or external device that known as Real Time Clock (RTC). Another option which is simple, fast and easily implemented is by using free run internal coding interval. The accuracy is not as good as compared to RTC but it simplifies a lot of work especially setting up time during interfacing hardware between microcontroller and RTC. Those who experience with the intermittent work with RTC, escaping the choice with something else is always triggered in mind. RTC is good but the process of activating the device must be properly done through hardware and software. Hence this problem initiates a very simple technique that could be used to replace RTC by using free run internal coding. Microcontrollers need 4 clock cycles to execute one line of assembly code. In a simple free control loop for instance 100 assembly codes, it will consume 5 us to complete the execution in 8 MHz oscillator. As long as the time taken to complete a loop is less than a second, the free run loop coding is executed to function as pendulum in mechanical clock. The result from this work shows very marginable run time error and the most important issue is simplicity of constructing the time base circuit gives a very good option.
机译:数字算法中的基于时间的控制回路可以通过内置电路(例如称为实时时钟(RTC))的外部电路来完成。另一种简单,快速且容易实现的另一个选项是通过使用自由运行内部编码间隔。与RTC相比,精度不如,但它简化了许多工作,尤其是在微控制器和RTC之间的接口硬件期间建立时间。那些与RTC间歇性工作经历的人,始终触发与其他东西的选择。 RTC很好,但通过硬件和软件可以正确地完成激活设备的过程。因此,此问题启动了一种非常简单的技术,可用于使用自由运行内部编码来替换RTC。微控制器需要4个时钟周期来执行一行装配代码。在例如100个装配码的简单自由控制循环中,它将消耗5件我们在8 MHz振荡器中完成执行。只要完成循环所花费的时间小于一秒,就会执行自由运行环路编码以用作机械时钟中的摆锤。这项工作的结果显示了非常严重的运行时间错误,最重要的问题是构建时基电路的简单性提供了非常好的选择。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号