A XML Based Framework for Automatically Generating Control and Monitoring Software

제어 및 모니터링 소프트웨어 자동 생성을 위한 XML 기반 프레임웍

  • 유대승 (울산대학교 컴퓨터정보통신공학부) ;
  • 김종환 (울산대학교 컴퓨터정보통신공학부) ;
  • 이명재 (울산대학교 컴퓨터정보통신공학부)
  • 발행 : 2006.02.01

초록

In this paper, we present a framework which is used to develop, modify, maintain and extend a control and monitoring software easily for any kind of automatic instruments. The proposed framework is composed of three XML documents (IID, MAP, CMIML) and two tools (Virtual Instrument Wizard, Generator). Interface information of behaviors and states of instrument is written on IID. Mapping information between the interface information in IID and API of a real instrument driver is written on MAP Final information of the control and monitoring software is written on CMIML, IID, MAP and CMIML are written by XML format to provide a common usage and platform independence of the proposed framework. Vl Wizard generates CMIML intermediate platform independent document using IID and existing CMIML, and Generator generates the source code of a control and monitoring software platform dependent code automatically using CMIML and MAP. The suggested framework provides an easy development and maintenance because it automatically generates a control and monitoring software in GUI environment and it also provides common usage and platform independence in virtue of using description document of XML format. Also, reusability can be increased by reusing platform independent software description document and not reusing platform dependent software code.

본 논문에서는 여러 자동화 장비들의 제어 및 모니터링 소프트웨어에 대한 쉬운 개발, 유지보수, 확장성을 향상시킬 수 있는 프레임웍을 제안하고자 한다. 본 논문에서 제안하는 프레임웍은 세 가지(IID, MAP, CMIML)의 XML 문서와 두개(VI Wizard, Generator)의 툴로 구성된다. IID는 장비에 대한 인터페이스를 기술하고, MAP은 IID에서 기술된 인터페이스와 실제 장비 드라이버 API간의 연결정보를 기술하며, CMIML은 제어 및 모니터링 소프트웨어를 기술한다. 제안하는 프레임웍의 범용성과 플랫폼 독립성을 지원하기 위하여 IID, MAP, CMIML은 XML 문서 형식으로 기술되었다. VI Wizard는 IID와 기작성된 CMIML을 입력으로 소프트웨어를 기술하는 CMIML(플랫폼 독립적인 중간 문서)을 생성하고, Generator는 VI Wizard에서 생성된 CMIML과 MAP을 이용하여 제어 및 모니터링 소프트웨어(플랫폼 종속적인 코드)를 자동 생성한다. 제안하는 프레임웍은 GUI 기반으로 제어 및 모니터링 소프트웨어를 자동 생성함으로써 쉬운 개발과 유지보수성을 제공하고, XML 기반의 기술문서 사용으로 플랫폼 독립성을 제공하면서 범용적으로 사용할 수 있도록 한다. 또한 플랫폼 종속적인 코드 재사용이 아닌 플랫폼 독립적인 소프트웨어 기술 문서를 재사용함으로써 재사용성을 증가시킬 수 있다.

키워드

참고문헌

  1. 구영재,이준서,이인범,장근수,'PC를 이용한 자동제어 시스템 개발',한국자동제어학술회의논문집(KACC),pp. 322-326, 1991
  2. 변승현,마복렬,'대용량 플랜트 제어를 위한 PC 기반 I/O 인터페이스 시스템 구축에 관한 연구',한국자동제어학술회의논문집(KACC), pp.b438-b441, 1999
  3. 김정구,최경현,홍금식,'PC에 기반을 둔 개방형 로봇 제어시스템 PC-ORC A PC-Based Open Robot Control System:PCORC',제어.자동화. 시스템공학 논문지,제 6권, 제 5호,pp.415-425,2000
  4. 박남준,김홍석,박종구,'PC기반의 생산시스템을 위한 운용소프트웨어 구조',제어 자동화.시스템공학 논문지,제 7권,제 1호,pp.50-58,2001
  5. Vol. 2: EDDL Specification; Specification for PROFIBUS Device Description and Device Integration 'www.profibus.com'
  6. Vol. 1: GSD Specification; Specification for PROFIBUS Device Description and Device Integration 'www.profibus.com'
  7. CiA DSP 306 V 1.1: CANopen electronic data sheet (EDS) specification for CANopen 'www.canopen.org/canopen'
  8. Buhler Dieter, 'The CANOpen Markup Language Representing Fieldbus Data with XML,' Industrial Electronics Society, 2000. IECON 2000. 26th Annual Confjerence of the IEEE, Volume: 4, 22-28 Oct. 2000 Pages:2449-2454 https://doi.org/10.1109/IECON.2000.972381
  9. Troy Ames, Lisa Koons, Ken Sail, Craig Warsaw, 'Using XML and Java for Astronomical Instrumentation Control'. Proc. of 6th Int'l Conf. on Space Operations(SpaceOps 2000), June 2000, France
  10. Wattle Software 'http://xmlwriter.net/'
  11. LEGO Mindstorms home 'http://rnindstorms.lego.com/eng/default.asp'
  12. leJOS home 'http://lejos.sourceforge.net/'
  13. OPC Foundation, 'http//www.opcfoundation.org'