Ladder 기반의 PLC 프로그래밍을 위한 소프트웨어 개발방법론
Software development methodology for ladder-based PLC programming
- 주제(키워드) PLC 프로그래밍 , 소프트웨어 개발방법론 , Ladder Diagram
- 발행기관 서강대학교 정보통신대학원
- 지도교수 정성원
- 발행년도 2011
- 학위수여년월 2011. 8
- 학위명 석사
- 학과 및 전공 정보통신대학원 소프트웨어공학
- 실제URI http://www.dcollection.net/handler/sogang/000000047041
- 본문언어 한국어
- 저작권 서강대학교의 논문은 저작권보호를 받습니다.
초록/요약
산업 현장에서 널리 사용되는 PLC는 초기 단순한 계전기반의 대체 목적으로 사용되었다. 현재는 관련 시스템들의 비약적인 성능향상과 함께 PLC 시스템 또한 고기능화, 고정밀화 되었다. 이러한 수요에 비해 PLC 소프트웨어 개발에 관한 체계적인 설계 및 개발 방법론의 적용이 미흡한 상태이다. 또한, 개발사 별로 프로그래머의 경험에 크게 의존하는 경향이 강하다. 특히 PLC 프로그래밍 언어 중 Ladder Diagram은 프로그램 작성시에 발생하는 논리적인 오류를 검증하기 힘든 구조를 가지고 있다. 전체 시스템에 대한 부분적인 시야만을 제공하기 때문에 구성 요소간의 상호 작용을 한 눈에 파악하기 어렵다는 단점을 가지고 있다. 따라서, 프로그램을 신규로 작성하거나 변경할 때 발생할수 있는 로직의 오류를 검증하기 어렵다. 이러한 환경을 극복하고자 개발사별로 자구책을 만들고, 개선의 노력들을 기울이고 있지만 큰 결과는 얻지 못하고 있다. 본 논문에서는 체계적인 못한 Ladder기반의 소프트웨어 개발방법에 대하여 문제점을 보완할 수 있는 새로운 개발방법을 제안하였다. 먼저, Bit Data 위주의 Ladder 프로그래밍에서 객체와 컴퍼넌트 단위로의 접근을 통하여 체계적이고 단계적인 절차에 따라 검토, 분석과 설계 단계를 진행하였다. 이 과정에서의 연관 자료들의 참조 문서화를 통해 개발자료의 체계적인 생성을 시도하였다. 또한 구현과정에서는 컴퍼넌트화를 통한 개발시간의 단축 가능성을 모색하였다. 제안 개발방법을 적용에 따른 장점과 발전 가능성을 검증하기 위해 구현결과물을 분석하고 평가를 실시하였다. 주어진 시나리오 구현 결과, 제안 개발방법이 일반 개발방법에 비해 로직 작성 작업량이 19% 감소한 것을 확인 하였다. 검토, 분석 및 설계단계에서 총 7가지의 관련자료를 작성하게 되었다. 새로 작성한 3가지 컴퍼넌트에 대하여 일반 개발방법과 제안 개발방법으로 비교하였을 경우, 각각 10회 부근, 30회 부근, 15회 부근에서 작업량의 반전이 이루어지는 것을 확인하였다.
more초록/요약
PLC which is currently used in various industrial fields has its purpose in simple substitution for relay system in early stage. However, in these days, in step with a rapid improvement in performance of related systems, PLC system as well has been high functioned and high precisioned. It is widely applied in various fields. Despite the increasing demand, there are only limited methodologies of development and system design for PLC software. Also, development companies are likely depended on experience of individual programmers. Especially the ladder diagram among PLC programming languages has a complicated structure so that is hardly verify logical errors created while programming. Since it only provides partial vision of entire system, it is hard to see all of the interaction between components at a glance. Therefore, it leads to a hardship in verification of logical errors that can be created while designing new program or making corrections. To solve such problems, development companies are trying to build up their own solutions and make improvements, however, there has been no satisfying outcome yet. In thesis, we suggests a new method to settle the problems in existing software development methodologies with ladder basis. First of all, in the bit data oriented ladder programming, the study carried out an analysis and design process following systematic step through an approach as an object and component unit. In this stage, we attempted a systematic generation of development data through documentation of related data. Also, it realization step, the study discusses the possibility of reduction in development time through componentization. To verify the advantages and potentials of suggested method, the result of realization was analyzed and appraised in this study. Under the given scenario, the study found that volume of work devoted to logic writing was reduced by 19% when using the new method. In review, analysis and design steps, 7 kinds of related documents were written. When the general method and new method are compared on 3 kinds of component, reversing sections were observed around 10 times, 30 times and 15 times each.
more