{"title":"ART-Linux用于高频系统控制","authors":"S. Kagami, Y. Ishiwata, K. Nishiwaki","doi":"10.1109/CPSNA.2013.6614247","DOIUrl":null,"url":null,"abstract":"This paper presents the design and implementation of ART-Linux - a low-latency real-time extension of the Linux kernel for high-frequency system control. It is particularly tailored for the Intel x86 architecture, providing real-time (periodic) task execution system calls in user-space. ART-Linux provides simple yet strong system calls to allow periodic real-time programs to run in user-space with existing Linux device drivers, while providing users with standard developing, executing, debugging, and investigating environments. There is no need to add special device drivers. In order to achieve real-time functions in the Linux kernel, ART-Linux introduces the following techniques: 1) a mutualexclusive execution mechanism realized by virtual processor numbers, 2) a transfer queue to avoid mutex-locked mutual-exclusive execution, and 3) a multi-level priority inversion function. A finegrained implementation tuning of these techniques achieves very small jitters for specified periods (less than 20[μs] in practice). Experimental results using a well-known humanoid robot called HRP-2 no.12 demonstrate that jitters of cycle times are retained in an acceptable range for humanoid control.","PeriodicalId":212743,"journal":{"name":"2013 IEEE 1st International Conference on Cyber-Physical Systems, Networks, and Applications (CPSNA)","volume":"43 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-09-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"ART-Linux for high-frequency system control\",\"authors\":\"S. Kagami, Y. Ishiwata, K. Nishiwaki\",\"doi\":\"10.1109/CPSNA.2013.6614247\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This paper presents the design and implementation of ART-Linux - a low-latency real-time extension of the Linux kernel for high-frequency system control. It is particularly tailored for the Intel x86 architecture, providing real-time (periodic) task execution system calls in user-space. ART-Linux provides simple yet strong system calls to allow periodic real-time programs to run in user-space with existing Linux device drivers, while providing users with standard developing, executing, debugging, and investigating environments. There is no need to add special device drivers. In order to achieve real-time functions in the Linux kernel, ART-Linux introduces the following techniques: 1) a mutualexclusive execution mechanism realized by virtual processor numbers, 2) a transfer queue to avoid mutex-locked mutual-exclusive execution, and 3) a multi-level priority inversion function. A finegrained implementation tuning of these techniques achieves very small jitters for specified periods (less than 20[μs] in practice). Experimental results using a well-known humanoid robot called HRP-2 no.12 demonstrate that jitters of cycle times are retained in an acceptable range for humanoid control.\",\"PeriodicalId\":212743,\"journal\":{\"name\":\"2013 IEEE 1st International Conference on Cyber-Physical Systems, Networks, and Applications (CPSNA)\",\"volume\":\"43 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2013-09-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2013 IEEE 1st International Conference on Cyber-Physical Systems, Networks, and Applications (CPSNA)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CPSNA.2013.6614247\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 IEEE 1st International Conference on Cyber-Physical Systems, Networks, and Applications (CPSNA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CPSNA.2013.6614247","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
This paper presents the design and implementation of ART-Linux - a low-latency real-time extension of the Linux kernel for high-frequency system control. It is particularly tailored for the Intel x86 architecture, providing real-time (periodic) task execution system calls in user-space. ART-Linux provides simple yet strong system calls to allow periodic real-time programs to run in user-space with existing Linux device drivers, while providing users with standard developing, executing, debugging, and investigating environments. There is no need to add special device drivers. In order to achieve real-time functions in the Linux kernel, ART-Linux introduces the following techniques: 1) a mutualexclusive execution mechanism realized by virtual processor numbers, 2) a transfer queue to avoid mutex-locked mutual-exclusive execution, and 3) a multi-level priority inversion function. A finegrained implementation tuning of these techniques achieves very small jitters for specified periods (less than 20[μs] in practice). Experimental results using a well-known humanoid robot called HRP-2 no.12 demonstrate that jitters of cycle times are retained in an acceptable range for humanoid control.