自由运行的钟摆时钟算法

M. A. Abas, Ridwan, Salman
{"title":"自由运行的钟摆时钟算法","authors":"M. A. Abas, Ridwan, Salman","doi":"10.1063/1.5118146","DOIUrl":null,"url":null,"abstract":"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.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 th...","PeriodicalId":112912,"journal":{"name":"APPLIED PHYSICS OF CONDENSED MATTER (APCOM 2019)","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-07-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Free running loop pendulum for time clock algorithm\",\"authors\":\"M. A. Abas, Ridwan, Salman\",\"doi\":\"10.1063/1.5118146\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"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.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 th...\",\"PeriodicalId\":112912,\"journal\":{\"name\":\"APPLIED PHYSICS OF CONDENSED MATTER (APCOM 2019)\",\"volume\":\"4 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-07-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"APPLIED PHYSICS OF CONDENSED MATTER (APCOM 2019)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1063/1.5118146\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"APPLIED PHYSICS OF CONDENSED MATTER (APCOM 2019)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1063/1.5118146","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

数字算法中基于时间的控制回路可以通过内置电路如看门狗定时器或称为实时时钟(RTC)的外部设备来实现。另一个简单、快速和容易实现的选择是使用自由运行的内部编码间隔。精度不如RTC好,但它简化了很多工作,特别是在微控制器和RTC之间连接硬件时的设置时间。那些经历过RTC间歇性工作的人,总是在脑海中触发其他事情来逃避选择。RTC很好,但激活设备的过程必须通过硬件和软件来正确完成。因此,这个问题引发了一种非常简单的技术,可以通过使用自由运行的内部编码来取代RTC。微控制器需要4个时钟周期来执行一行汇编代码。在一个简单的自由控制循环中,例如100个汇编代码,它将消耗5us来完成8mhz振荡器的执行。只要完成一个循环所需的时间少于一秒,自由运行的循环编码就会被执行,就像机械钟中的钟摆一样。结果表明,运行时误差非常小,最重要的问题是时间基电路的简单构造提供了一个很好的选择。数字算法中基于时间的控制回路可以通过内置电路如看门狗定时器或称为实时时钟(RTC)的外部设备来实现。另一个简单、快速和容易实现的选择是使用自由运行的内部编码间隔。精度不如RTC好,但它简化了很多工作,特别是在微控制器和RTC之间连接硬件时的设置时间。那些经历过RTC间歇性工作的人,总是在脑海中触发其他事情来逃避选择。RTC很好,但激活设备的过程必须通过硬件和软件来正确完成。因此,这个问题引发了一种非常简单的技术,可以通过使用自由运行的内部编码来取代RTC。微控制器需要4个时钟周期来执行一行汇编代码。在一个简单的自由控制循环中,例如100个汇编代码,它将消耗5us来完成8mhz振荡器的执行。只要……
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
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.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 th...
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Numerical investigation of the aerodynamic characteristics of a coupling of the three blades VAWT with a movable vanes Least square support vector machine technique for short term solar irradiance forecasting Thin film coating of copper nanoparticles with DC magnetron sputtering via physical vapor deposition Optimisation of scissor lifting machine structures using finite element analysis (FEA) Retina images classification using histogram of equivalent pattern (HEP) texture descriptors
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1