OS RVïŒRTOSïŒãšããçšèªã¯ãããŒã±ãã£ã³ã°ã®åéãæããŸãïŒ
çšèªã®å°å ¥ããç§åŠçãªæ¹æ³ã§å§ããããšãèããŸãããããã®æçºçãªè«æãæãæè¿ããããšæ±ºããŸããã ããã§ã¯ããªãRTOSïŒãªã¢ã«ã¿ã€ã ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ïŒãšããçšèªãããŒã±ãã£ã³ã°ãæãã®ããããæ£ç¢ºã«ã¯ããŒã±ãã£ã³ã°ïŒåºåïŒã®ã¹ããŒã¬ã³ã§ãããšäž»åŒµããã®ã¯ãªãã§ããïŒ ãã¹ãŠãã·ã³ãã«ã§ãã 補åãçç£ããããšããããã¯è²©å£²ãããå¿ èŠããããŸãã ãã ãããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®ã¿ã販売ããããšãããšãåé¡ãçºçããŸãã ãããåžå Žã®ããžã·ã§ãã³ã°ãæããããããå Žæã§ãã ããšãã°ããç§ãã¡ã¯åœŒããããéãããšèšãããšãã§ããŸãã
ããããããªãã¯ããã®ããã«è£å€æã«è¡ãããšãã§ããŸãïŒ ãããŠãããã«èšŒæ ãæäŸããå¿ èŠããããŸãã ãããããã¹ãŠã®å Žåã«ãããŠããªããããéãããšã蚌æããæ¹æ³ã¯ïŒ ããã¯ç¶ç¶çãªç«¶äºã§ã¯ãããŸããã ãããããã¡ããããã®ãããªå®å šã«æ£ãããªã競äºã¯ãéåžžã®åžå Žã®äœçœ®ä»ããããããã«å€ããŠããŸãã
éåžžã®ããžã·ã§ãã³ã°ã§ã¯ãæ¶è²»è ã®ããŒãã¬ãŒããäœæããéèŠã®é«ã補åã®ç¹æ§ãç¹å®ãããããã®ç¹æ§ã«çŠç¹ãåãããŸãã ããŠããŸãã¯ããªãã¯ãŠãŒã¶ãŒã«ãããã®ããŒãºã圢æããŸãã ããšãã°ãç§ãã¡ã®ããã»ããµã«ã¯ãã®ãããªåšæ³¢æ°ããããã¹ããŒããã©ã³ã«ã¯Nã³ã¢ããã»ããµããããŸãã
ãã®ãžã£ã³ã«ã®å€å žã¯ãã§ã«ããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ããŠãŒã¶ãŒã·ã¹ãã ã ãã§ãªããããŸããŸãªæè¡ããã»ã¹ãèªåã¢ãŒãã§å¶åŸ¡ããããã«ãå¿ èŠã§ãããšå®åŒåããŠããããªã¢ã«ã¿ã€ã ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®æŠå¿µããå°å ¥ããŠãããããããã䜿çšããªãããšã¯çœªã§ãã ãªã¢ã«ã¿ã€ã ã·ã¹ãã ã®æŠå¿µã玹ä»ããããã«ãå€å žã¯æéã®ããéèŠãªãããå€ã«ã€ããŠèšåããŸããã ã€ãŸããåŸæ¥ã®ã·ã¹ãã ãšã¯ç°ãªããŸãããŠãŒã¶ãŒãäœããåŸ ã£ãŠããå ŽåããŠãŒã¶ãŒã¯åŸ ã€ããšãã§ããŸããããšãã°ãã¿ãŒãã³ã®å¶åŸ¡ãªã©ã®ããŒããªã¢ã«ã¿ã€ã ã·ã¹ãã ã¯åŸ ã€ããšãã§ããŸããã
ãããã£ãŠããŠãŒã¶ãŒã«ãåŸæ¥ã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãšã¯ç°ãªããã·ã¹ãã ã®å¿çæéãä¿èšŒããã·ã¹ãã ãæäŸãããããšãäŒããããšãã§ããŸãã åœç¶ããããå°ããã»ã©ãã·ã¹ãã ãå¶åŸ¡ã§ããããŸããŸãªæè¡ããã»ã¹ã®æ°ãå€ããªããŸãã ãŸããRTOSã®ããŸããŸãªããŒãã©ã¡ãŒã¿ãããŒãã©ã¡ãŒã¿ãšããŠæå®ãããŠããããŒãã«ãå€æ°ãããŸãã
圌ãã¯ã©ã®ããã«åãåãããŸããïŒ ãã®ããã»ã¹ã¯æ£çŽã«èšè¿°ãããŠããŸãïŒ ããã§ã¯ããã®ãããªããŒããŠã§ã¢ãã©ãããã©ãŒã ãªã©ã®ã¢ãã«ã¿ã¹ã¯ã䜿çšããŠãå¹æãé©çšããŸãã ãã¡ãããããŒã±ãã£ã³ã°ã¯ã1ÎŒsã®åå¿æéãåçŽåãããã äžããããšãã§ããŸãã ããããç§ãã¡ã¯ãããèæ ®ããŠããŸããããã¹ãŠãæ£çŽã«èšè¿°ãããŠãããšä¿¡ããŠããŸãã
ãããããã¿ãŸãããå¥ã®ã¿ã¹ã¯ãããå Žåã¯ã©ããªããŸããïŒ 10ã¿ã¹ã¯ã100ã¿ã¹ã¯ïŒ ãããŠãé ã£æã£ãããã°ã©ããŒãå²ã蟌ã¿ãããã¯ãããšãããïŒ ãããŠãã·ã¹ãã å ã§ããã°ã©ããŒãã¿ã¹ã¯ã«æ£ããåªå é äœãä»ããªãã£ãå Žåã¯ã©ããªããŸããïŒ
Emboxããªã¢ã«ã¿ã€ã ã§ãã¹ãã«åæ Œããå ŽåããããŸããã ç§ãã¡ã¯åº§ã£ãŠãããããªã¢ã«ã¿ã€ã ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã§ããããšã蚌æããæ¹æ³ãèããŸããã ç 究æãããããããæãã§ãã顧客ãããŸãã ã客æ§ã«ãšã£ãŠãªã¢ã«ã¿ã€ã ãšã¯ãã·ã¹ãã ã®å¿çæéã1ÎŒsã§ããããšãæå³ããŸãã 次ã®å®éšã蚌æ ã«ãªããã©ãããå°ããŸãã
- ç¹å®ã®ããŒããŠã§ã¢ãã©ãããã©ãŒã ãæ¡çš
- GPIOå ¥åã®1ã€ã«ä¿¡å·ãé©çšããŸã
- ããã°ã©ã ã§ã€ãã³ãããã£ãããã
- GPIOåºåã§ãããã°ã©ã ã§ä¿¡å·ãéããŸã
- 枬å®ã¯ãªã·ãã¹ã³ãŒãã䜿çšããŠè¡ãããåå¿æéã¯å ¥åããã³ããšåºåããã³ãã®å·®ã«ãªããŸãã
顧客ã¯ãããããŸãã«å¿ èŠãªãã®ã§ããããšã確èªããŸãã æ確ãªè³ªåãããŸãããã¢ãã«ã·ã¹ãã ãèšèšããŠãããããä»ã®ã¿ã¹ã¯ã§éå§ïŒããŒãïŒããªãå ŽåããããŸãã ã€ãŸããã·ã¹ãã ã¯ãã®ãããªåçŽãªãã¹ãã¿ã¹ã¯ã®ã¿ãå®è¡ããã®ãæ®éã§ãã 顧客ã¯ãããã«ã¯ãã¹ãã¿ã¹ã¯ãå¿ èŠã§ãããšèšããŸããã ãããããã·ã¹ãã ããã¹ãã«åæ Œããããšãç解ããŠããã§ãããïŒ åœç¶ãç¹æ§ã®ç¢ºèªã«ãããã€ãŸãã圱é¿ãç¹°ãè¿ãããŸããã
ãã®ã»ã¯ã·ã§ã³ã¯ãOSãéçºè ã軜èŠããããã«æžããããã®ã§ã¯ãããŸããã ããããåçã®å®å šãªäžå®å šãã瀺ãããã ãã§ãã äžéšã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®ç¹æ§ãRTOSã«èµ·å ããããšãèš±å¯ããŠããªããšäž»åŒµããŸããã§ãããããã®çšèªã¯ããŒã±ãã£ã³ã°æ åœè ã«ãã£ãŠäœ¿çšãããŠããŸãã ã¿ã¹ã¯ã®èŠä»¶ã«åºã¥ããŠç¬ç«ããç 究æã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®éžæã泚æãããšãã«ãä»ã®ãã¹ããèŠãŸããã è€éãªã¢ãã«ã®åé¡ãããããããã¯ãŒã¯ã®çžäºäœçšãã·ã¹ãã ãããŒããããå Žåã®ãã©ã¡ãŒã¿ãŒã®å€åãããã³ããŸããŸãªç·æ¥äºæ ã§ã®åäœãèæ ®ãããŸããã
ããªã¢ã«ã¿ã€ã ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ããšããçšèªã®å®çŸ©
ããã§ãããªã¢ã«ã¿ã€ã ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ããšããçšèªã玹ä»ããŸãã ããããç§ã¯ããŸããã å®éããã®çšèªã«ã¯å€ãã®å®çŸ©ããããŸãã å°ãªããšãå ã®èšäºã«é¢ããã³ã¡ã³ããåããŸãïŒ
ãªã¢ã«ã¿ã€ã ã·ã¹ãã ã§ã¯ãäžè¬ã«äººã¯äžå¿ èŠãªã®ã§ããªã¢ã«ã¿ã€ã ã·ã¹ãã ã®é床ã¯ãèªåé転è»ã§ããããšå·¥å Žã®ããã»ã¹å¶åŸ¡ã·ã¹ãã ã§ããããšãå¶åŸ¡ããããã»ã¹ãšæ¯èŒããå¿ èŠããããŸãã
SRV / RTOS-ããã¯ãéèŠãªã€ãã³ããžã®å¿çã®äºæž¬å¯èœæ§ã«é¢ããã©ã³ãã³ã°ã®ã¿ã§ãã
RTOSã¯ãã¿ã¹ã¯ã®æ£ç¢ºæ§ãè«ççãªæ£ç¢ºãã ãã§ãªãããã®ã¿ã¹ã¯ãå®äºããã®ã«ãããæéã«ãã£ãŠç¹åŸŽä»ãããããããªOSã§ãã
0.1ÎŒsã®æž¬å®å€ãæã€æµ®åå°æ°ç¹ã³ããã»ããµãŒã䜿çšããŠãã¿ã¹ã¯ã®ã³ã³ããã¹ãã100 MHzããã»ããµãŒããã1ÎŒsã«åãæ¿ããåºæºãèšå®ãããšããã¹ãŠãé©åã«é 眮ãããŸããããŠã OSDAYã«ã³ãã¡ã¬ã³ã¹ã® 1ã€ã§çºèšãããèšäºã§è¿°ã¹ãæèŠãç¡èŠããããšã¯ã§ããŸããã
RTOSã®å Žæãšããã§ãªãå Žæãæ確ã«ããããŸãã
ããã¯ãããå²ã蟌ã¿ã§ãäžæãªå埩åæ°ã®ãµã€ã¯ã«ãããå Žæããªãå Žåãã·ã¹ãã ã¯ããŒããªã¢ã«ã¿ã€ã ã·ã¹ãã ãšèŠãªãããšãã§ããŸããããããããããããã¯ãã¹ãŠç¹å®ã®ãã®ã§ããã ã³ã¡ã³ãã§ææ¡ãããŠããããã« ãèªè»¢è»ãæãä»ãã®ã§ã¯ãªããã¯ã©ã·ãã¯ã䜿çšããã ãã§ãã æå®ãããã¯ã©ã·ãã¯ãåŒçšããŸãïŒèª°ããæšæž¬ããªãã£ãå Žåã¯ãã¢ã³ããªã¥ãŒã¿ãã³ããŠã ïŒïŒ
ãå¥ã®çš®é¡ã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã¯ãªã¢ã«ã¿ã€ã ã·ã¹ãã ã§ãã ãããã®ã·ã¹ãã ã®ç¹åŸŽã¯ãæéãéèŠãªãã©ã¡ãŒã¿ãŒãšããŠæã€ããšã§ãã ããšãã°ãç£æ¥çšããã»ã¹å¶åŸ¡ã·ã¹ãã ã§ã¯ããªã¢ã«ã¿ã€ã ã³ã³ãã¥ãŒã¿ãŒãçç£ããã»ã¹ã«é¢ããããŒã¿ãåéããããã䜿çšããŠå·¥å Žå ã®æ©æ¢°ãå¶åŸ¡ããå¿ èŠããããŸãã å€ãã®å Žåãæºãããªããã°ãªããªãå³ããæéããããŸãã ããšãã°ãèªåè»ãçµç«ã©ã€ã³ãäžã£ãŠããå Žåãç¹å®ã®ç¬éã«ç¹å®ã®ã¢ã¯ã·ã§ã³ãå®è¡ããå¿ èŠããããŸãã 溶æ¥ããããã®æº¶æ¥ãæ©ããããé ãããããããšãè»ãå°ç¡ãã«ãªããŸãã ã¢ã¯ã·ã§ã³ãç¹å®ã®ç¬éïŒãŸãã¯ç¹å®ã®ç¯å²å ïŒã«çµ¶å¯Ÿã«çºçããå¿ èŠãããå ŽåãããŒããªã¢ã«ã¿ã€ã ã·ã¹ãã ããããŸãã ãããã®å€ãã¯ãç£æ¥çšããã»ã¹å¶åŸ¡ãèªç©ºé»åå·¥åŠãè»äºãããã³åæ§ã®ã¢ããªã±ãŒã·ã§ã³åéã§èŠãããŸãã ãããã®ã·ã¹ãã ã¯ãç¹å®ã®ã¢ã¯ã·ã§ã³ãç¹å®ã®æéãŸã§ã«çºçãããšãã絶察çãªä¿èšŒãæäŸããå¿ èŠããããŸãããããããã®èª¬æãããç¹å®ã®æéå ã«åå¿ãååšããªããšæ²æšãªçµæã«ã€ãªããå¯èœæ§ã®ããã·ã¹ãã ã§ã®ã¿ã·ã¹ãã ã䜿çšã§ããããšãããããŸãã ããŠãäž»èŠãªãã©ã¡ãŒã¿ãŒïŒåå¿æéãè¶ ããªãïŒãéæããããã«ãOSã¯eCosã®äŸã§ããã©ã€ãã©ãªãŒã«ããããšãã§ããŸãã
å¥ã®çš®é¡ã®ãªã¢ã«ã¿ã€ã ã·ã¹ãã ã¯ããœãããªã¢ã«ã¿ã€ã ã·ã¹ãã ã§ãããã®ã·ã¹ãã ã§ã¯ãæãŸãããªãå ŽåããããŸãããæéãéãããšã¯èš±å®¹ãããæ°žç¶çãªæ害ã¯çºçããŸããã ããžã¿ã«ãªãŒãã£ãªãŸãã¯ãã«ãã¡ãã£ã¢ã·ã¹ãã ã¯ããã®ã«ããŽãªã«åé¡ãããŸãã ããžã¿ã«é»è©±ããœãããªã¢ã«ã¿ã€ã ã·ã¹ãã ã§ãã
ãªã¢ã«ã¿ã€ã ã·ã¹ãã ã§ã¯å³ããæéãæºããããšãéèŠã§ããããããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã¯ã¢ããªã±ãŒã·ã§ã³ããã°ã©ã ã«ãªã³ã¯ãããåãªãã©ã€ãã©ãªã§ããããã¹ãŠãç·å¯ã«çµåãããŠãããã·ã¹ãã ã®äžéšãä¿è·ããŠããŸããã ãã®ã¿ã€ãã®ãªã¢ã«ã¿ã€ã ã·ã¹ãã ã®äŸã¯ãe-Cosã§ãã
ãã³ããã«ããçµã¿èŸŒã¿ã·ã¹ãã ããªã¢ã«ã¿ã€ã ã·ã¹ãã ã®ã«ããŽãªã¯ããªãéè€ããŠããŸãã ãããã®ã»ãšãã©ãã¹ãŠã«ãå°ãªããšãããã€ãã®ãœãããªã¢ã«ã¿ã€ã ã®åŽé¢ããããŸãã çµã¿èŸŒã¿ã·ã¹ãã ãšãªã¢ã«ã¿ã€ã ã·ã¹ãã ã¯ãã·ã¹ãã èšèšè ãå ¥åãããœãããŠã§ã¢ã®ã¿ãå®è¡ããŸãã ãŠãŒã¶ãŒã¯ç¬èªã®ãœãããŠã§ã¢ãè¿œå ã§ããªããããä¿è·ã容æã«ãªããŸãã ãã³ããã«ãããã³çµã¿èŸŒã¿ã·ã¹ãã ã¯æ¶è²»è åãã§ããã®ã«å¯Ÿãããªã¢ã«ã¿ã€ã ã·ã¹ãã ã¯ç£æ¥çšã§ãã ããã«ããããããã圌ãã¯äžå®ã®éãå ±æããŠããŸããã
ãœãããªã¢ã«ã¿ã€ã ãšããŒããªã¢ã«ã¿ã€ã ã«ã€ããŠ
çŸä»£ã®ãŠãããŒãµã«OSã¯ãããããœãããªã¢ã«ã¿ã€ã ã·ã¹ãã ãšèŠãªãããšãã§ãããããããšãã°ãWindowsã¯ãã«ãã¡ãã£ã¢ãã¡ã€ã«ãå®å
šã«åçãããããæå³çã«ãœãããšããŒãã®åºåã«æ°ä»ããŸããã§ããã ãããŠãããã§ã¯ããããããããçš®é¡ã®DSPãã€ãŸãä¿¡å·åŠçã«é¢ããããšãç解ããŠããŸãã ãããããã®éšåãèæ
®ããã°ã決ããŠå®æããããšã¯ãããŸããã äžè¬çã«ã以äžã§ã¯ãå¶éæéã«éåããããšãäžå¯èœãªã·ã¹ãã ãã€ãŸãããŒããªã¢ã«ã¿ã€ã ã®ã¿ãæå³ããŸãã
ãªã¢ã«ã¿ã€ã ç¹æ§ãå®çŸããæ¹æ³
å³å¯ãªå®çŸ©ãäžããããšã¯ã§ããŸããã§ããïŒèª°ããã³ã¡ã³ããæžãæºåãã§ããŠããå ŽåïŒã ãã ããäžèšã®ãã¹ãŠã®å®çŸ©ã§ã¯ãããã€ãã®ããããã£ã衚瀺ãããŸãïŒä»åãšäºæž¬å¯èœæ§ïŒã æéãäºæž¬å¯èœæ§ãªãã·ã§ã³ïŒããç¶æ ããå¥ã®ç¶æ ã«ç§»è¡ãããšãã®åŒ§ã®éã¿ïŒã«å€æãããšãäºæž¬å¯èœæ§ã®ã¿ãæ®ããŸãïŒ
ãããéæããæ¹æ³ã«ã€ããŠèããŠã¿ãŸãããã
éèŠãªã·ã¹ãã ããäžèŠãªãã®ããã¹ãŠåé€ããããšã¯æããã§ãã æ®éçãªã·ã¹ãã ã¯å®å®ããŠãããšã¯èããããŸããã ã¿ãã³ããŠã åå¿ã§ãããããã«ã€ããŠè©±ããŠãããã€ãŸãã圌ãeCosã«ã€ããŠè©±ããŠãããšãã§ãã
Tanenbaumãææ¡ããã·ã¹ãã ã®äºæž¬å¯èœæ§ãé«ãããã1ã€ã®ã¢ãããŒãã¯ããªãœãŒã¹èšç»ãäž»ã«ããã»ããµæéãã€ãŸãç¹å¥ãªã¿ã¹ã¯ã¹ã±ãžã¥ãŒã©ã«ç¹å¥ãªïŒåçŽãªïŒã¢ã«ãŽãªãºã ã䜿çšããããšã§ãã 圌ã¯èšç»ãžã®ããã€ãã®ã¢ãããŒããææ¡ããŸããããç§ã¯æåã«éçããŒãã«é§ååããŒãã«ã«çŠç¹ãåœãŠãããšæããŸãã
éçºè ã¯ããã¹ãŠã®ã¿ã¹ã¯ãã¿ã€ã ã¹ã©ã€ã¹ã®å®äºã«æåããããšã確èªããå¿ èŠããããŸãã ãããè¡ãã«ã¯ãéèŠãªã¿ã¹ã¯ãéçã«åæãããã®ãããå€ã決å®ããããšãææ¡ãããŠããŸãã ãã®ã¢ãããŒãã¯ãARINC-653æšæºã«èŠå®ãããŠããŸãã ãªã³ããŒãã·ã¹ãã ã®æšæºã§ãããããªãèªèº«ãç解ããŠããããã«ãçªç¶äœããé£è¡æ©ã§äœæ¥ããæéããªãå Žåã倧çœå®³ãçºçããå¯èœæ§ããããŸãã
次ã®ã¢ãããŒãã¯éçãªã¹ã±ãžã¥ãŒã«ã§ãããåªå 床ã«åºã¥ããŠããŸãã ã€ãŸããéçºè ã¯ãã¹ãŠã®ç¶æ³ãå床åæããã·ã¹ãã ã®åªå é äœã§ãã¹ãŠã®ã¿ã¹ã¯ãå²ãåœãŠãŠãéèŠãªã¿ã¹ã¯ãç¹å®ã®æéã«å®äºããããšã確èªããå¿ èŠããããŸãã
ãªãªãžãã«ã¯ããã®ã§ãç¶ããããããŸããïŒ ãã¡ãããããã¯ç§ãã§ãããããè¯ãæžãããŠãããããã«ã圌ãã¯åã³äºå®ãæªæ²ãããšããŠéé£ãããããšãã§ããŸãã ãããã«ãããæçµã·ã¹ãã ã®éçºè ãã·ã¹ãã ã®ç¹æ§ãä¿èšŒãã責任ãããããšã瀺ãããã«ããããã®ã¢ãããŒããæ£ç¢ºã«åŒçšããŸããã ãŸãããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã¯é©åãªæ©èœã®ã¿ãæäŸããå¿ èŠããããŸãã
äºæž¬å¯èœæ§ãé«ããæ¹æ³ã®è°è«ãç¶ããŠãç§ã¯å¥ã®ã³ã¡ã³ããããã
ãã©ãºããªãŒã§ãªã¢ã«ã¿ã€ã ãå®çŸã§ããŸãããRTOSã§ã¯ãªããå°ããªã¹ããŒããã·ã³ããã£ãã·ã¥ã«äŸµå ¥ããŸãããããã§ã¯ã次ã®ç¹ã«æ³šæãæããããšæããŸãã
- ã·ã¹ãã ããRTOSãé€å€ããããããäºæž¬å¯èœæ§ïŒãªã¢ã«ã¿ã€ã ããããã£ïŒãåäž
- ç¶æ ãã·ã³ã«ããããã°ã©ã ã®è¡šçŸ
- ããŠããªã¢ã«ã¿ã€ã ã·ã¹ãã ã®äŸåæ§ã¯ããœãããŠã§ã¢ã®ç¹æ§ã ãã§ãªããããŒããŠã§ã¢ã«ãäŸåããŠããŸãã
ã³ãŒãã®è¡æ°ãæžå°ããå Žåã®äºæž¬äžèœã®éãæžå°ãããšã誰ããåæãããšæããŸãã ãã€ãã®ããã«ãç§ã¯åæããŸããããããã«ã€ããŠã¯åŸã§è©³ãã説æããŸãã
ããŒããŠã§ã¢ã®åœ±é¿ãçãã®äœå°ã¯ã»ãšãã©ãããŸããã ç¹ã«ãããã¯ãããå²ã蟌ã¿ã®ç¶æ ã§ãä»»æã®å埩åæ°ã®ãµã€ã¯ã«ããªããšèšããããšãã説æãããRTOSã®äžéšã®cortex-mã§ã¯ãå²ã蟌ã¿ã®åæã¯ãŸã£ãããªãã£ãããã«èãããŸããã å²ã蟌ã¿ã³ã³ãããŒã©ãŒãåçãŸãã¯ããäœãåªå 床ã®å²ã蟌ã¿ãåå¥ã«ç¡å¹ã«ãããããããã¯å°ãlittleã§ãããããã圱é¿ã®äºå®ã¯æããã§ãã ãããŠãã¡ããããã£ãã·ã¥ã®ååšãã¢ãã¬ã¹å€æïŒãŸãã¯ããŒãžã®ãã¹ïŒã¯äžç¢ºå®æ§ã®äžå ãšãªããŸãã ç¹ã«ãç§ã¯å®éã誰ãè£ çœ®ã®100ããŒã»ã³ãã®æ£ããåäœãä¿èšŒã§ããªããšããäºå®ã«æ³šæãåèµ·ãããã£ãã ããŠããã©ã³ã¶ã¯ã·ã§ã³ã¯ããªãããèœã¡ãŸãããRTOSã®ååšã¯ãã€ãã³ãã®å£æ» çãªçµæãé¿ããã®ã«ã©ã®ããã«åœ¹ç«ã¡ãŸããïŒ
ç¶æ ãã·ã³ãšããŠã®ããã°ã©ã ã®è¡šçŸãç§ã¯èªæã§ã¯ãªãåŽé¢ãããããæ€èšããããšãææ¡ããããšæããŸãã ããªãã¡ãäºæž¬å¯èœæ§ããã°ã©ã ãåæã§ããããšã ãããŠãç§ãã¡ã¯ãã¹ãŠã®æ¡ä»¶ã«ã€ããŠè©±ããŠããã®ã§ãèãããããã¹ãŠã®ç¶æ³ã«ã€ããŠãéçã«åæããå¿ èŠããããŸãã ãŸããé¢æ°åããã°ã©ãã³ã°èšèªã¯éç解æã«éåžžã«é©ããŠãããããç¹å¥ãªèšèªã§ããã°ã©ã ãéçºããããç¹å¥ãªããã°ã©ãã³ã°èšèªã®äœ¿çšãè¿œå ãããããããšãã§ããŸãã æåã®ã¢ãããŒãã¯ãããšãã°æ€èšŒæžã¿ã®seL4ã«ãŒãã«ã§äœ¿çšãããŸãã 2çªç®ã®ã¢ãããŒãã®äŸã¯ãåãARINC-653æšæºã§ãããXMLã§èŠä»¶ã匷å¶çã«åœ¢æããŸãã
äºæž¬å¯èœæ§ããŸãã¯å¿ èŠã«å¿ããŠã·ã¹ãã ã®äºæž¬å¯èœæ§ã«åœ±é¿ããèŠå ãå¢ããä»ã®æ¹æ³ããããŸãã OSDayã«ã³ãã¡ã¬ã³ã¹ã®1ã€ã§ããã®ãããã¯ã«é¢ããã¬ããŒããäœæããŸããã ç¹ã«ãæ¢ã«ãªã¹ããããŠãããã®ã«å ããŠãã¢ãŒããã¯ãã£ãŒã®ã¢ãããŒãã匷調ããŸããã çµå±ã®ãšãããããšãã°ããã€ã¯ãã«ãŒãã«ã¢ãŒããã¯ãã£ã«ãã£ãŠã·ã¹ãã ã®äºæž¬å¯èœæ§ãåäžããããšã¯ããç¥ãããŠããŸãã ããããåãã¬ããŒãã§ãããããã¶ãèªæã§ã¯ãªãçµç¹çãªã¢ãããŒãã匷調ãããŸããã ããã¯ãRTOSã®æ¬ åŠãäºæž¬å¯èœæ§ã®åäžã«ã€ãªããããšã«åæããªãã£ãç¹ã§ãã èããŠã¿ããšãäžè¬ã«ããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®æŠå¿µã«ãããã³ãŒãã®åå©çšã«ãããšã©ãŒã®æ°ãå€§å¹ ã«åæžãããŠããŸãã ã€ãŸããå®éã«1ã€ã®ã¹ã€ãã/ã±ãŒã¹ã«åãŸãã³ãŒãããªãå Žåã¯ãæ¢è£œã®ã¢ãžã¥ãŒã«ã䜿çšããããšããå§ãããŸãã çµå±ã®ãšããããã©ã¡ãŒã¿ãŒãã³ãŒã1000è¡ãããã®ãšã©ãŒæ°ãã¯ãã£ã³ã»ã«ãããŠããããæ°ããã³ãŒããã©ã®ããã«ãããã°ãããŠãããšã©ãŒããããŸãã
RTOSã¯ãŸã£ããååšããŸããïŒ
åã®ã»ã¯ã·ã§ã³ã§ã³ãŒãã«ãšã©ãŒããããšãã声æã«èœã¡çããã®ã§ãç§ã¯å¥ã®æçºçãªè«æãäœããããšæããŸãã RTOSã¯ãŸã£ããååšããŸããïŒ
ãããç解ããŸãããã ãªã¢ã«ã¿ã€ã ã·ã¹ãã ã«ã€ããŠå人ãšè©±ãåã£ãŠããªã¢ã«ã¿ã€ã ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ïŒããŒããªã¢ã«ã¿ã€ã ã·ã¹ãã ã«ã€ããŠè©±ããŠããïŒã¯ã»ãšãã©ååšããªãããšã«åæããŸããã 圌ã¯ãã·ã¹ãã å šäœããããç¶æ ããå¥ã®ç¶æ ãžã®æ倧é·ç§»æéãèšè¿°ããç¶æ ãã·ã³ãŸãã¯ã°ã©ããšããŠè¡šçŸããããšãææ¡ããŸããã ããã«ããã¹ãŠã®å ¥åããã³å éšç¶æ ã«ã€ããŠãå¶éæéã®ããç¹å®ã®ç¶æ ã«ã€ãªããã¢ãŒã¯ãããããšã蚌æãããŠããå Žåãã·ã¹ãã ã¯å®å®ããŠãããšèŠãªãããšãã§ããŸãã ãŸãããåç¥ã®ããã«ãããã¯éåžžã«å°ããªã·ã¹ãã ã§ã®ã¿å¯èœã§ããã解説ã§èšåããããŸãã«ç¶æ ã®æ©æ¢°ã§ãããçŸä»£ã®äžçã§ã¯ãã®ãããªã·ã¹ãã ãå¿ èŠãšãã人ã¯ã»ãšãã©ããŸããã
ãããããªã¢ã«ã¿ã€ã ã·ã¹ãã ãååšããããšã¯ééããããŸããã ãããŠãã¡ãããRTOSãã ããã§ãªããã°
ç¶æ³ããæãåºãæ¹æ³ã äžè¬ã«åé¡ã¯è§£æ±ºã§ããªãå¯èœæ§ãé«ãã§ãããç¹å®ã®åé¡ã«ã€ããŠã¯ãäœããã®æå³ã®ãããšã©ãŒã®ç¢ºçã§ãããã解決å¯èœã«ããå¶éãå°å ¥ããããšãã§ããŸãã
ããšãã°ã ãªã¢ã«ã¿ã€ã POSIX ã ARINC-653 ã ITRONãªã©ã®æšæºãå°å ¥ãããŠããŸã ã å®éããããã®æšæºã¯ããã®æšæºãé å®ããã°è§£æ±ºã§ããã¿ã¹ã¯ã®ã¯ã©ã¹ãåºå¥ããŸãã ãŸãã¯ãç¹å®ã®OSã®ç¹æ§ãã¿ãŒã²ããã®åé¡ã解決ããã®ã«é©ããŠãããã©ããã調æ»ããç¬ç«ããç 究æã«ãã£ãŠèª¿æ»ãè¡ãããŸãã
RTOSã§ã¯ãªãEmbox RTOSã§ããïŒ
ç§ã®æèŠã§ã¯ãEmboxãšä»ã®OSã®äž¡æ¹ã«ã€ããŠåæ§ã®è³ªåã«çããã«ã¯ããã©ãããæå³ã§ããïŒã ããæ£ç¢ºã«ã¯ïŒããªã¢ã«ã¿ã€ã ã®æŠå¿µãšã¯ã©ãããæå³ã§ããïŒãã ã€ãŸããå²ã蟌ã¿åŠçæéã«é¢å¿ããããå²ã蟌ã¿ãã³ãã©ãçŽæ¥åŒã³åºãããšãã§ãããã©ãããããã¯1ã€ã®ããšã§ãããã£ãããšã¯ãããä»äºã®ä¿¡é Œæ§ãé«ããå¿ èŠãããå Žåãããã¯ééããªãã¯ããã«å€±æããå¯èœæ§ãã¯ããã«äœãã§ããããã¯å¥ã®ãä»»æã®æšæºãžã®æºæ æ€èšŒã¯4çªç®ã§ãã å倧ãªå€å žçãªã¢ã³ãã¬ã€ã»ã¿ãã³ããŠã ãäºæž¬å¯èœæ§ãé«ããæ¹æ³ãææ¡ããã«ããããããããªã¢ã«ã¿ã€ã ã·ã¹ãã ã®æŠå¿µã䜿çšããããå³å¯ãªå®çŸ©ãæ§ããã®ã¯å¶ç¶ã§ã¯ãããŸããã
PSãã®èšäºã®å·çæç¹ã§ã¯ã1ã€ã®RTOSã¯åœ±é¿ãåããŠããŸããã