在工业嵌入式微处理器应用中使用Ada

A. G. Duncan, J. Hutchison
{"title":"在工业嵌入式微处理器应用中使用Ada","authors":"A. G. Duncan, J. Hutchison","doi":"10.1145/3304133.3304155","DOIUrl":null,"url":null,"abstract":"In [1], we illustrated how Ada could be used to separate the high level logical operations of an embedded control program from the low level details of how to access the various physical devices controlled by the program. We further illustrated how this information hiding could be achieved without loss of storage or run-time efficiency. In this paper, we continue our investigation by illustrating how one can use the exception handling facility of Ada to separate the normal operation of a control program from the handling of exceptional conditions. The goals are (1) to be able to view the normal flow of control and the error recovery separately, without having to embed one in the other, (2) after recovering from an error, to be able to restart or continue operation of the system, and (3) to accomplish goals 1 and 2 without loss of efficiency. The third goal is particularly important, since many real-time control applications are characterized by the use of minimal hardware. While such programs do not use the full power of the Ada language, it is important that one be able to compile highly optimized code for those features that are used. Our discussion centers around a typical application in factory automation - a control program for an industrial trolley. While this is not one of our intended applications, it includes many characteristics of actual applications.","PeriodicalId":304626,"journal":{"name":"Proceedings of the AdaTEC Conference on Ada","volume":"106 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1982-10-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Using Ada for industrial embedded microprocessor applications, II\",\"authors\":\"A. G. Duncan, J. Hutchison\",\"doi\":\"10.1145/3304133.3304155\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In [1], we illustrated how Ada could be used to separate the high level logical operations of an embedded control program from the low level details of how to access the various physical devices controlled by the program. We further illustrated how this information hiding could be achieved without loss of storage or run-time efficiency. In this paper, we continue our investigation by illustrating how one can use the exception handling facility of Ada to separate the normal operation of a control program from the handling of exceptional conditions. The goals are (1) to be able to view the normal flow of control and the error recovery separately, without having to embed one in the other, (2) after recovering from an error, to be able to restart or continue operation of the system, and (3) to accomplish goals 1 and 2 without loss of efficiency. The third goal is particularly important, since many real-time control applications are characterized by the use of minimal hardware. While such programs do not use the full power of the Ada language, it is important that one be able to compile highly optimized code for those features that are used. Our discussion centers around a typical application in factory automation - a control program for an industrial trolley. While this is not one of our intended applications, it includes many characteristics of actual applications.\",\"PeriodicalId\":304626,\"journal\":{\"name\":\"Proceedings of the AdaTEC Conference on Ada\",\"volume\":\"106 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1982-10-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the AdaTEC Conference on Ada\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3304133.3304155\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the AdaTEC Conference on Ada","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3304133.3304155","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

在b[1]中,我们说明了如何使用Ada将嵌入式控制程序的高级逻辑操作与如何访问由程序控制的各种物理设备的低级细节分开。我们进一步说明了如何在不损失存储或运行时效率的情况下实现这种信息隐藏。在本文中,我们通过说明如何使用Ada的异常处理工具将控制程序的正常操作与异常条件的处理分开来继续我们的研究。目标是(1)能够分别查看控制和错误恢复的正常流程,而不必将其中一个嵌入另一个;(2)从错误中恢复后,能够重新启动或继续系统运行;(3)在不损失效率的情况下完成目标1和2。第三个目标尤其重要,因为许多实时控制应用的特点是使用最少的硬件。虽然这样的程序没有使用Ada语言的全部功能,但是能够为所使用的那些特性编译高度优化的代码是很重要的。我们的讨论集中在工厂自动化的一个典型应用-工业小车的控制程序。虽然这不是我们想要的应用程序之一,但它包含了实际应用程序的许多特征。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Using Ada for industrial embedded microprocessor applications, II
In [1], we illustrated how Ada could be used to separate the high level logical operations of an embedded control program from the low level details of how to access the various physical devices controlled by the program. We further illustrated how this information hiding could be achieved without loss of storage or run-time efficiency. In this paper, we continue our investigation by illustrating how one can use the exception handling facility of Ada to separate the normal operation of a control program from the handling of exceptional conditions. The goals are (1) to be able to view the normal flow of control and the error recovery separately, without having to embed one in the other, (2) after recovering from an error, to be able to restart or continue operation of the system, and (3) to accomplish goals 1 and 2 without loss of efficiency. The third goal is particularly important, since many real-time control applications are characterized by the use of minimal hardware. While such programs do not use the full power of the Ada language, it is important that one be able to compile highly optimized code for those features that are used. Our discussion centers around a typical application in factory automation - a control program for an industrial trolley. While this is not one of our intended applications, it includes many characteristics of actual applications.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Design and implementation in Ada of a runtime task supervisor Lolita: a low level intermediate language for Ada Session details: Tools Comparative efficiency of different implementations of the Ada rendezvous Abstract syntax based programming environments
×
引用
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