基于实时操作系统的工业自动化

M. Chandrasekaran, R. Saran, V. Ravishankar, J. Yasararafath
{"title":"基于实时操作系统的工业自动化","authors":"M. Chandrasekaran, R. Saran, V. Ravishankar, J. Yasararafath","doi":"10.26634/jes.3.2.3204","DOIUrl":null,"url":null,"abstract":"A real-time operating system (RTOS) is a piece of code (usually called the kernel) that controls task allocation when the microcontroller is operating in a multi-tasking environment. In the RTOS we selected OSA OS for our project. In our project we were controlling the industrial equipment with the help of the microcontroller. In this the major parts of industries were to be maintained. The controls were maintained are temperature management, entering into restricted area of the industry, emergency alarm and displaying such parameters. In the processing there are some ways of algorithm and processes were followed by the OS. The processes are 1) Context switching - while running a task switching to another task. 2) Multitasking - running more number of tasks at a time. 3) Interrupt handling – is the process of task with high priority will execute first by passing the running task. The algorithm were followed is that priority based system is that the task were executing with the priority bases the priority is given by us in the coding part. The tasks have the same priority that follow the round robin algorithm, it share the running time by separating equal time slots. For example two tasks of same priority it will run for 5ms and switched to another tasks that run for 5ms and switched. These were the processes and algorithms were followed in the OS. In our project the temperature is maintained for certain level by temperature sensor (LM35) if it reaches above the level we switch on the fan. PIR sensor will sense the live human it will switch on the light. For the emergency case alarm were on by pressing the emergency button, the different temperature were maintained by different sensor and are processed to the output with the help of the OSA RTOS.","PeriodicalId":360729,"journal":{"name":"Automation and Autonomous System","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-07-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"RTOS Based Industrial Automation\",\"authors\":\"M. Chandrasekaran, R. Saran, V. Ravishankar, J. Yasararafath\",\"doi\":\"10.26634/jes.3.2.3204\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"A real-time operating system (RTOS) is a piece of code (usually called the kernel) that controls task allocation when the microcontroller is operating in a multi-tasking environment. In the RTOS we selected OSA OS for our project. In our project we were controlling the industrial equipment with the help of the microcontroller. In this the major parts of industries were to be maintained. The controls were maintained are temperature management, entering into restricted area of the industry, emergency alarm and displaying such parameters. In the processing there are some ways of algorithm and processes were followed by the OS. The processes are 1) Context switching - while running a task switching to another task. 2) Multitasking - running more number of tasks at a time. 3) Interrupt handling – is the process of task with high priority will execute first by passing the running task. The algorithm were followed is that priority based system is that the task were executing with the priority bases the priority is given by us in the coding part. The tasks have the same priority that follow the round robin algorithm, it share the running time by separating equal time slots. For example two tasks of same priority it will run for 5ms and switched to another tasks that run for 5ms and switched. These were the processes and algorithms were followed in the OS. In our project the temperature is maintained for certain level by temperature sensor (LM35) if it reaches above the level we switch on the fan. PIR sensor will sense the live human it will switch on the light. For the emergency case alarm were on by pressing the emergency button, the different temperature were maintained by different sensor and are processed to the output with the help of the OSA RTOS.\",\"PeriodicalId\":360729,\"journal\":{\"name\":\"Automation and Autonomous System\",\"volume\":\"11 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2014-07-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Automation and Autonomous System\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.26634/jes.3.2.3204\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Automation and Autonomous System","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.26634/jes.3.2.3204","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

实时操作系统(RTOS)是一段代码(通常称为内核),当微控制器在多任务环境中运行时,它控制任务分配。在RTOS中,我们为我们的项目选择了OSA OS。在我们的项目中,我们使用单片机来控制工业设备。在这种情况下,工业的主要部分将得到维持。维护的控制是温度管理,进入工业禁区,紧急报警和显示这些参数。在处理过程中,有一些算法和操作系统遵循的过程。这两个过程是:1)上下文切换——在运行一个任务时切换到另一个任务。2)多任务处理——一次运行更多的任务。3)中断处理——是高优先级任务的进程通过传递正在运行的任务而首先执行。所遵循的算法是基于优先级的系统,即任务以优先级基执行,优先级由我们在编码部分给出。任务具有遵循轮循算法的相同优先级,它通过分隔相等的时隙来共享运行时间。例如,两个具有相同优先级的任务,它将运行5ms并切换到另一个运行5ms并切换的任务。这些是操作系统所遵循的过程和算法。在我们的项目中,温度传感器(LM35)将温度维持在一定的水平,如果温度高于我们打开风扇的水平。PIR传感器将感应到活着的人,它将打开灯。对于按下紧急按钮的紧急情况报警,不同的传感器保持不同的温度,并通过OSA RTOS处理到输出。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
RTOS Based Industrial Automation
A real-time operating system (RTOS) is a piece of code (usually called the kernel) that controls task allocation when the microcontroller is operating in a multi-tasking environment. In the RTOS we selected OSA OS for our project. In our project we were controlling the industrial equipment with the help of the microcontroller. In this the major parts of industries were to be maintained. The controls were maintained are temperature management, entering into restricted area of the industry, emergency alarm and displaying such parameters. In the processing there are some ways of algorithm and processes were followed by the OS. The processes are 1) Context switching - while running a task switching to another task. 2) Multitasking - running more number of tasks at a time. 3) Interrupt handling – is the process of task with high priority will execute first by passing the running task. The algorithm were followed is that priority based system is that the task were executing with the priority bases the priority is given by us in the coding part. The tasks have the same priority that follow the round robin algorithm, it share the running time by separating equal time slots. For example two tasks of same priority it will run for 5ms and switched to another tasks that run for 5ms and switched. These were the processes and algorithms were followed in the OS. In our project the temperature is maintained for certain level by temperature sensor (LM35) if it reaches above the level we switch on the fan. PIR sensor will sense the live human it will switch on the light. For the emergency case alarm were on by pressing the emergency button, the different temperature were maintained by different sensor and are processed to the output with the help of the OSA RTOS.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信