DOI QR코드

DOI QR Code

Automated Code Generation Framework for Industrial Automation Applications based on Timed Automata Model

타임드 오토마타 모델 기반 산업 자동화 응용 자동생성 프레임워크

  • 이경현 (서울시립대학교 기계정보공학과) ;
  • 김익환 (서울시립대학교 기계정보공학과) ;
  • 김태현 (서울시립대학교 기계정보공학과)
  • Received : 2017.07.17
  • Accepted : 2017.08.25
  • Published : 2017.12.15

Abstract

Due to their convergence with state-of-the-art ICT technologies, the complexity and reliability demands of industrial automation systems have been rapidly increasing. In recent years, to cope with these demands, several research works have been carried out to adopt formal methods to the application development cycle at the early design stage. In this paper, we propose an automated code generation framework for industrial automation applications, based on a timed automata model. As a case study, we developed a formal model for a traffic light control system and verified the timing properties described in the specification. We finally demonstrated that the operation of a test-bed based on the auto-generated native code was identical to that of the model specification.

ICT 기술과의 융합으로 인해 산업 자동화 시스템은 복잡도와 신뢰성 요구 수준이 급격히 증가하고 있다. 최근에는 이러한 요구에 대응하기 위해 응용 개발 초기 과정에서부터 정형 기법을 활용하는 연구들이 주목받고 있다. 본 논문에서는 산업 자동화 응용을 위한 타임드 오토마타 모델 기반 네이티브 코드 자동 생성 프레임워크를 제안한다. 사례 연구로 산업용 네트워크를 사용하는 신호등 제어 시스템을 모델링하고, 탑재되는 응용의 타이밍 속성을 검증하였다. 제안하는 프레임워크의 유효성을 검증하기 위해 자동 변환된 네이티브 코드를 사용하여 EtherCAT 네트워크 기반 테스트베드의 동작을 확인한 결과, 모델 명세와 동일하게 동작하는 것을 확인하였다.

Keywords

Acknowledgement

Supported by : 한국연구재단

References

  1. T. Ovatman, A. Aral, D. Polat, and A. O. Ünver, “An overview of model checking practices on verification of PLC software,” Software & Systems Modeling, Vol. 15, No. 4, pp. 937-960, Oct. 2016. https://doi.org/10.1007/s10270-014-0448-7
  2. D. Darvas, E. B. Viñuela, and I. Majzik, "PLC code generation based on a formal specification language," Proc. of the IEEE 14th International Conference on Industrial Informatics (INDIN), pp. 389-396, Jul. 2016.
  3. K. Lee, I. Kim, and T. Kim, "Formal Model based Automatic Native Code Translation Tool for Industrial Control Application," Proc. of the KIISE Korea Computer Congress (KCC), pp. 1457-1459, Jun. 2017. (in Korean)
  4. UPPAAL. [Online] Available: http://uppaal.org
  5. J. Choi, E. Jee, and D. H. Bae, “Systematic Generation of VxWorks-based Code from Timed Automata Models,” Journal of KIISE: Computing Practices and Letters, Vol. 19, No. 2, pp. 90-94, Feb. 2013. (in Korean)
  6. B. Kim, L. T. Phan, O. Sokolsky, and I. Lee, "Platform-dependent code generation for embedded realtime software," Proc. of the IEEE International Conference on Compilers, Architecture and Synthesis for Embedded Systems (CASES), pp. 1-10, Sep. 2013.
  7. K. Sacha, "Automatic Code Generation for PLC Controllers," Proc. of the 24th International Conference on Computer Safety, Reliability, and Security, pp. 303-316, Sep. 2005.
  8. SOEM(Simple Open EtherCAT Master), [Online] Available: https://openethercatsociety.github.io