DOI QR코드

DOI QR Code

Implementation of 3-D Collision Avoidance Algorithm and Comparison of Micro Controller Unit's Performance using Real-Time Operating System

항공기 3차원 충돌회피 알고리즘 구현과 실시간 운영체계를 이용한 Micro Controller Unit의 성능 비교

  • Lim, Ji-Sung (Graduate School of Aerospace and Mechanical Engineering, Korea Aerospace University) ;
  • Kim, Dong-Sin (School of Aerospace and Mechanical Engineering, Korea Aerospace University) ;
  • Park, In-Hyeok (School of Aerospace and Mechanical Engineering, Korea Aerospace University) ;
  • Lee, Sangchul (School of Aerospace and Mechanical Engineering, Korea Aerospace University)
  • 임지성 (한국항공대학교 대학원 항공우주 및 기계공학과) ;
  • 김동신 (한국항공대학교 항공우주 및 기계공학부) ;
  • 박인혁 (한국항공대학교 항공우주 및 기계공학부) ;
  • 이상철 (한국항공대학교 항공우주 및 기계공학부)
  • Received : 2018.08.10
  • Accepted : 2018.10.14
  • Published : 2018.10.31

Abstract

In this study, Real-Time Operating System(RTOS) and 3-D collision avoidance algorithm are implemented to three different Miciro Controller Unit(MCU)s and their performances compared. We selected Microchip Technology's ATmega2560, STM's ARM Cortex-M3 and ARM Cortex-M4, because they are widely used. FreeRTOS, an open-source operating system, was also used. The 3D collision avoidance algorithm consists of the vertical and the horizontal avoidance algorithm, which is implemented using C++. The performances of the MCUs were compared with respect to used memory and calculation time. As a result, Cortex-M4's calculation time was the fastest and ATmega2560 used least memory.

본 논문에서는 RTOS과 항공기의 3차원 충돌회피 알고리즘을 세 개의 MCU에 적용하여 각 MCU의 성능을 비교하였다. MCU는 많이 사용되는 Microchip Technology사의 ATmega2560과 STM사의 ARM Cortex-M3, ARM Cortex-M4를 선정하였으며, RTOS는 공개되어 있는 FreeRTOS 를 사용하였다. 성능을 확인하기 위해 적용된 3차원 충돌회피 알고리즘은 수직회피와 수평회피를 통합한 알고리즘이며 C++로 구현하였다. MCU의 성능은 각 MCU의 사용 메모리와 계산 시간을 측정하여 비교하였다. 비교 결과 세 MCU 중, 계산 시간은 ARM Cortex-M4가 빨랐으며, ATmega2560이 적은 메모리를 사용하였다.

Keywords

References

  1. C. G. Park, "Design of Lightweight RTOS for MCU," The journal of the Korea Institute of Maritime Information & Communication Sciences, Vol.15, No.6, pp.1301-1306, 2011. https://doi.org/10.6109/jkiice.2011.15.6.1301
  2. I. Moir, A. Seabrides, AIAA Eudation Series Aircraft Systems, AIAA, pp. 315-337, 2001.
  3. S. C. Lee, I. K. Kim and Y. I. Kim, "Development of Operational Flight Program for Stores Management Computer," Journal of the Korean society for aeronautical & space sciences Journal, Vol.31, No. 5, pp.124-133, 2003. https://doi.org/10.5139/JKSAS.2003.31.5.124
  4. S. W. Yang and S. C. Lee, "A Study on the Development of an Avionics System," Journal of the Korean Society for Aviation and Aeronautics Journal, Vol.15, No.1, pp.61-67, 2007.
  5. M. K. Park, K. B. Kim, and K. J. Yoon, "Design and Fabrication of coaxial quadrotor for indoor flight," KSAS 2012 fall conference, pp. 1837-1840, November, 2012.
  6. Y. R. Kim, "A Development and Verification of 3-D Resolution Algorithm for Aircraft Collision Avoidance," Master Degree Thesis, Korea Aerospace University.2012
  7. B. K. Jun, "Performance Improvement of the Collision Avoidance Algorithm for the TCAS-II System with Safety Critical Software," Master Degree Thesis, Korea Aerospace University. 2011.
  8. J. K. Kuchar and A. C. Drumm, "The Traffic Alert and Collision Avoidance System," Lincoln Laboratory Journal, Vol.16, No2, 2007.
  9. A. Trapani, H. Erzberger and W. Dunbar, "Performance Analysis of a Horizontal Separation Assurance Algorithm for Short-Range Conflicts," AIAA Guidance, Navigation, and Control Conference, Aug, 2009.
  10. A. Trapani, "Performance Analysis of a Horizontal Separation Assurance Algorithm for Short-Range Conflicts Detection and Resolution," University of California Santa Cruz, Dec, 2008.
  11. S. H. Kim, S. O. Cho, S. S. Kim, C. K. Ryoo and K. Y. Choi, "Development of Embedded Program for UAV Flight Control System using RTOS and Model-Based Auto Code Generation," Journal of Korean Society for Aeronautical and Space Science, Vol.39, No.10, pp.979-986, 2011. https://doi.org/10.5139/JKSAS.2011.39.10.979
  12. C. H. Koo, "Real-time software Development Technology Trends," Current Industrial and Technological Trends in Aerospace, Vol.2, No.1, pp.86-93, 2004.
  13. S. J. Lee and D. H. Kim, "Technology Trends of Real-Time OS for Defense Application," Communications of the Korean Institute of Information Scientists and Engineers, Vol.29, No.10, pp.41-51, 2011.
  14. B. J. Hong, "A Design on CAN Communication Security on FreeRTOS," Master Degree Thsis, Soongsil University, pp.4-7, 2017.
  15. Atmega 2560 Device Overview, https://www.microchip.com/wwwproducts/en/ATmega2560
  16. Cortex M3 and M4 Product Specification, https://www.st.com/content/st_com/en/search.html#q=CORTEX%20M3-t=products-page=1