DOI QR코드

DOI QR Code

FBDtoVHDL: An Automatic Translation from FBD into VHDL for FPGA Development

FBDtoVHDL: FPGA 개발을 위한 FBD에서 VHDL로의 자동 변환

  • 김재엽 (건국대학교 컴퓨터 정보통신공학) ;
  • 김의섭 (건국대학교 컴퓨터 정보통신공학) ;
  • 유준범 (건국대학교 컴퓨터공학부) ;
  • 이영준 (한국원자력연구원 MMIS Lab.) ;
  • 최종균 (한국원자력연구원 MMIS Lab.)
  • Received : 2015.11.12
  • Accepted : 2016.03.11
  • Published : 2016.05.15

Abstract

The PLC (Programmable Logic Controller) has been widely used for the development of digital control system of nuclear power plant. The PLC has high maintenance costs and increasing complexity, hence, FPGA (Field Programmable Gate Array) based digital control system has been considered as an alternative. However, the development of FPGA based digital control system is a challenge for PLC engineers because they are required to learn about new language to develop FPGA and knowledge and know-how acquired in the development of PLC is not transferable. In this study, we proposed and implemented an automatic translation tool for translation of FBD (Function Block Diagram), a programming language of PLC software, into VHDL (VHSIC Hardware Description Language). Automatically translating the FBD to VHDL using this tool allows PLC engineers to develop FPGA without any knowledge of the hardware description language.

PLC (Programmable Logic Controller)는 원자력 발전소의 디지털 제어시스템의 개발을 위해 널리 사용되어왔지만 복잡성의 증가와 유지보수 비용 등의 문제로 인해 FPGA (Field Programmable Gate Array) 기반 제어시스템이 대안으로 떠오르고 있다. 하지만 PLC 개발자가 FPGA 기반 제어시스템을 개발하기 위해서는 FPGA 개발을 위한 언어를 사용해야 하고 기존의 PLC 개발에서 획득한 노하우 및 지식의 재사용을 어렵게 만든다는 등의 문제가 발생한다. 본 논문에서는 이와 같은 문제를 해결하기 위해서 PLC 소프트웨어 개발을 위한 언어 중 하나인 FBD (Function Block Diagram)를 FPGA 개발을 위한 하드웨어 기술 언어 중 하나인 VHDL로의 자동 변환을 위한 방법과 이를 기반으로 개발한 자동 변환 도구인 FBDtoVHDL을 소개한다. 본 연구에서 소개하는 FBDtoVHDL 도구를 사용하여 FBD를 VHDL로 자동 변환함으로써 PLC 개발자는 하드웨어 기술 언어에 대한 지식이 없이도 FPGA 개발하는 것이 가능하다.

Keywords

Acknowledgement

Grant : FPGA-기반 제어기 통합개발환경을 위한 핵심 소프트웨어 기술 개발, 원자력 계측제어 계통 안전 적합성 평가체계

Supported by : 한국원자력연구원

References

  1. International Electronical Commission (IEC), "International standard for programmable controller-Part 3: Programming languages," IEC, 1993.
  2. International Atomic Energy Agency, 2008, "Instrumentation and control (I&C) systems in nuclear power plants: A time of transition," [Online]. Available: http://www.iaea.org (downloaded 2015, Nov. 11)
  3. International Atomic Energy Agency (IAEA), 2002, "Instrumentation and Control Systems Important to Safety in Nuclear Power Plants Safety Guide," [Online]. Available: http://www.iaea.org (downloaded 2015, Nov. 11)
  4. J-G Choi, et al., "Survey of the CPLD/FPGA technology for application to NPP digital I&C system," Korea Atomic Energy Research Institute (KAERI), Tech. Rep., 2009.
  5. Korea Atomic Energy Research Institute (KAERI), "KNICS-RPS-SRS101 Rev.00.," 2003.
  6. Institute of Electrical and Electronics Engineers (IEEE), IEEE Standard VHDL Language Reference Manual, IEEE-1076, 2009.
  7. PLCopen Technical Committee 6, 2009, XML Formats for IEC 61131-3, [Online]. Available: http://www.plcopen.org (downloaded 2015, Nov. 11)
  8. H. Back, J. Yoo, S. Cha, "A CASE Tool for Automatic Generation of FBD Program from NuSCR Formal Specification," Journal of KIISE : Computing Practices and Letters, Vol. 15, No. 4, pp. 265-269, Apr. 2009. (in Korean)
  9. J. Kim, E.-S Kim, J. Yoo, Y. J. Lee, J.-G Choi, "An Integrated Software Testing Framework for FPGAbased Controllers in Nuclear Power Plants," Nuclear Engineering and Technology, Vol. 48, No. 2, pp. 470-481, 2016. https://doi.org/10.1016/j.net.2015.12.008
  10. D. Du, Y. Liu, X. Guo, K. Yamazaki and M. Fujishima, "Study on LD-VHDL conversion for FPGA-based PLC implementation," The International Journal of Advanced Manufacturing Technology, Vol. 40, No. 11-12, pp. 1181-1190, 2009. https://doi.org/10.1007/s00170-008-1426-4
  11. D. Du, X. Xu, and K. Yamazaki, "A study on the generation of silicon-based hardware Plc by means of the direct conversion of the ladder diagram to circuit design language," The International Journal of Advanced Manufacturing Technology, Vol. 49, No. 5-8, pp. 615-626, 2010. https://doi.org/10.1007/s00170-009-2405-0
  12. C. Economakos, and G. Economakos, "FPGA implementation of PLC programs using automated highlevel synthesis tools," 2008 IEEE International Symposium on Industrial Electronics, pp. 1908-1913, 2008.
  13. C. Economakos and G. Economakos, "Optimized FPGA implementations of demanding PLC programs based on hardware high-level synthesis," 2008 IEEE International Conference on Emerging Technologies and Factory Automation, pp. 1002-1009, 2008.
  14. E.-S. Kim, J. Yoo, J.-G. Choi, Y. J. Lee, and J.-S. Lee, "A Technique for Demonstrating Safety and Correctness of Program Translators: Strategy and Case Study," 2014 IEEE International Symposium on Software Reliability Engineering Workshops, pp. 210-215, 2014.
  15. J. Yoo, J.-H. Lee, S. Jeong, and S. D. Cha, "FBDtoVerilog: A Vendor-Independent Translation from FBDs into Verilog Programs," The Twenty-Third International Conference on Software Engineering and Knowledge Engineering (SEKE 2011), pp. 48-51, 2011.
  16. R. K. Brayton, et al., "VIS: A system for verification and synthesis," Computer Aided Verification, Springer, pp. 428-432, 1996.