소형 교육용 다관절로봇 RTOS 구현을 위한 디자인 패턴 & 리팩토링 적용

Applying Design Pattern & Refactoring on Implementing RTOS for the Small Educational Multi-Joint Robot

  • 투고 : 2009.05.20
  • 발행 : 2009.06.30

초록

기존의 교육용 소형 다관절로봇은 펌웨어를 이용하여 개발해왔다. 이런 시스템일 경우 단순동작만 수행할 수 있기 때문에 교육용으로 활용가치가 떨어진다. 그러나 교육용 소형 다관절로봇에 RTOS를 적용하면 다양한 동작의 수행이 가능하다. RTOS를 적용하면 시스템의 효율이 높아지지만 SW 복잡도가 높아져 교육용으로 사용하기 어려운 문제가 있다. 이런 문제를 해결하기 위해서 본 논문에서는 디자인 패턴과 리팩토링을 적용한다. 디자인 패턴과 리팩토링을 적용하여 RTOS를 설계하면 이미 알려진 패턴의 개념이 사용되기 때문에 RTOS의 전문 개발자가 아니어도 이해하기 쉬어진다. 뿐만 아니라 설계가 문서화되기 때문에 기존의 RTOS를 이용하여 새로운 시스템에 알맞은 RTOS로 변경이 용이해 진다. 그래서 본 논문에서는 디자인패턴을 사용하여 RTOS를 설계하고 RTOS 코드에 리팩토링을 적용하였다.

The traditional small educational multi-joint robots were developed on firmware. In these system's case, we cann't give a chance to educate good practices due on executing just robot's simple movements. But it may be possible for RTOS to control the elaborate movement of the robot with assembling each part on firmware. With this RTOS, we can enhance the efficiency of robot's movements, but too difficult to use the education as increasing the complexity of robot system. To solve the problem, we apply with Design pattern and Refactoring for the Education. Applying robot's design with Design pattern and Refactoring. There may be easily understand what and how to design RTOS for any level ones. We may easily change/upgrade RTOS for new system with this approach. This paper mentions to design RTOS with Design patterns and to apply RTOS's source code with Refactoring.

키워드

참고문헌

  1. David E. Simon, An Embedded Software Primer, Addison-Wesley, 1999.
  2. Qing Li, 'Real-Time Concepts for Embedded Systems', CMP, 2003.
  3. 김재수, 손현승, 김우열, 김영철, "A Study on Education Softwarefor Controling of Multi-Joint Robot", 한국정보교육학회, Vol. 12, No. 4, 469-476, 2008.12.
  4. 김재수, 손현승, 김우열, 김영철, "A Study on M&S Environment for Designing The Autonomous Reconnaissance Ground Robot", 한국군사과학학회, Vol. 11, No. 6, 127-134, 2008.12.
  5. 손현승, 김우열, 김영철, "Implementation of Technique for Movement Control of Multi-Joint Robot", 한국정보처리학회, Vol. 15, No. 2, 593-596, 2008.11.14
  6. 김동우, 손현승, 김우열, 김영철 "Application of M&S(Modeling & Simulation) for The Autonomous Reconnaissance Ground Robot" 국방과학연구소, Vol. 12, 168-171, 2008.10.23.
  7. Bernd Bruegge, Allen H. Dutoit, "Object-Oriented Software Engineering: Using UML, Patterns, and Java Second Edition", Pearson , 2003.
  8. E. Gamma, R. Helm, R. Johnson, J. Vlissides, "Design patterns: elements of reusable object-oriented software", Addison-Wesley Professional Computing Series, 1995.
  9. M. Fowler, K. Beck, J. Brant, W. Opdyke, D. Roberts, "Refactoring: Improving the Design of Existing Code", Addison-Wesley Object Technology Series, 1999.