• 제목/요약/키워드: Simulink/Stateflow

검색결과 14건 처리시간 0.024초

분할된 RRT 공간을 이용한 Simulink/Stateflow모델 테스트케이스 생성 (Test-case Generation for Simulink/Stateflow Model using a Separated RRT Space)

  • 박현상;최경희;정기현
    • 정보처리학회논문지:소프트웨어 및 데이터공학
    • /
    • 제2권7호
    • /
    • pp.471-478
    • /
    • 2013
  • 본 논문은 Rapidly-exploring Random Tree(RRT) 알고리즘을 이용한 Simulink/Stateflow 모델 기반의 블랙박스 테스트 케이스 자동 생성 기법을 제안한다. RRT는 복잡한 시스템의 경로 계획을 효율적으로 해결하는 좋은 방법으로 널리 사용되고 있다. 본 논문에서 제안하는 기법은 블랙박스 테스트 케이스 생성 시 해결해야 되는 도달 가능 문제를 RRT를 통해 해결하고자 한다. RRT를 이용하여 테스트 케이스를 생성 할 때의 가장 큰 단점은 Stateflow 모델의 내부 상태가 복잡한 시스템을 위한 RRT 확장 시 시간과 메모리 측면에서 많은 비용이 발생하게 된다는 점이다. 일반적인 RRT 기법이 대상 시스템을 단일한 RRT 공간으로 구성 하는 반면 제안된 기법에서는 대상 시스템을 Stateflow의 상태를 기준으로 동적 분할하여 RRT 공간을 모델링 구성 함으로써 RRT 확장 시 필요한 비용을 감소시켰다. 본 논문에서는 분할 RRT 공간을 위한 RRT 공간의 정의와, 거리 측정 기법, 테스트 케이스 생성 알고리즘을 제시한다. 또한, 예제 Stateflow 모델을 기반으로 한 테스트 케이스 생성실험을 통해 제안된 알고리즘의 성능을 보인다.

휴리스틱 입력 분석을 이용한 RRT 기반의 Simulink/Stateflow 모델 테스트 케이스 생성 기법 (Generating Test Cases of Simulink/Stateflow Model Based on RRT Algorithm Using Heuristic Input Analysis)

  • 박현상;최경희;정기현
    • 정보처리학회논문지:소프트웨어 및 데이터공학
    • /
    • 제2권12호
    • /
    • pp.829-840
    • /
    • 2013
  • 본 논문은 Simulink/Stateflow 모델 기반의 테스트 케이스를 자동으로 생성하기 위하여, 휴리스틱 입력 분석을 이용한 Rapidly-exploring Random Tree(RRT) 기법을 제안한다. RRT는 모델 기반 블랙박스 테스트 케이스 생성 시 반드시 해결해야 되는 도달 가능성 문제를 효율적으로 해결할 수 있는 방법이지만, 모델의 내부 상태와 테스트 목표를 고려하지 않고 무작위로 모델의 입력을 생성하기 때문에 테스트 케이스 생성 효율이 떨어지는 단점이 있다. 제안하는 기법에서는 RRT를 확장해나갈 때 필요한 입력을, 모델의 현재 상태에서 만족 할 수 있는 테스트 목표를 분석하고 이를 달성할 수 있는 모델의 입력을 분석 결과에 따라 휴리스틱하게 결정함으로써, RRT의 장점을 보존하면서, 테스트 케이스 생성 효율을 높일 수 있다. 제안된 기법은 자동차에 사용되는 실 부품 ECU의 Simulink/Stateflow 모델을 대상으로 한 실험을 통해 성능이 평가되었으며, 기존 RRT와 비교하여 테스트 케이스 생성 효율이 높은 것을 보였다.

Yices와 모델 정보를 이용한 Simulink/Stateflow 모델의 테스트 케이스 생성 기법 (Test Case Generation For Simulink/Stateflow Model Using Yices and Model Information)

  • 박한곤;정기현;최경희
    • 정보처리학회논문지:소프트웨어 및 데이터공학
    • /
    • 제6권6호
    • /
    • pp.293-302
    • /
    • 2017
  • 본 논문에서는 SMT (Satisfiability Modulo Theories) Solver인 Yices와 Simulink/Stateflow (SL/SF)의 모델 정보를 이용한 SL/SF 모델의 테스트 케이스 생성 기법을 제안한다. SL/SF 모델로부터 테스트 케이스 생성 시 발생하는 가장 어려운 점은 도달 가능성 문제를 해결하는 것이다. 제안하는 방법에서는 Yices와 모델 정보로부터 만들어진 테이블로 도달 가능성 문제를 해결한다. 제안하는 방법에서는 SL/SF 모델을 Yices의 입력 언어로 변환한 SMT 모델을 사용하여 테스트 케이스를 생성한다. SL/SF 모델로부터 생성된 정보들은 제안하는 테스트 케이스 생성 알고리즘의 Backward 프로세싱에 사용되어 테스트 케이스 생성 효율을 증가시킨다. 제안된 테스트 케이스 생성 기법은 상용 냉장고 제어시스템 모델과 자동차의 ECU (Electrical Control Unit) 모델을 이용하여 성능을 평가한다.

변경된 MATLAB Simulink 모델로부터 재사용 가능 테스트 케이스 도출 (Extracting Reusable Test Cases from Modified MATLAB Simulink Model)

  • 박건구;한혜진;정기현;최경희
    • 정보처리학회논문지:소프트웨어 및 데이터공학
    • /
    • 제8권6호
    • /
    • pp.235-242
    • /
    • 2019
  • 본 논문에서는 제어기 기능이 표현 된 변경된 MATLAB Simulink/Stateflow(SL/SF) 모델의 재사용 가능한 테스트 케이스 도출 기법을 제안한다. 자동차의 ECU(Electrical Control Unit)와 같이 복잡한 SL/SF 모델의 테스트 케이스를 작성하는데 많은 시간과 노력이 필요하다. 모델이 수정 될 때마다 새로 만들어낼 테스트 케이스를 줄이기 위한 직관적인 방법은 수정 전 모델에서 생성한 테스트 케이스 중 일부를 재사용하는 것이다. 본 논문에서는 모델 행동을 정의하고 테스트 케이스 별 모델 동등성을 판단하여 수정 후 SL/SF에 재사용 가능한 테스트 케이스를 도출하는 방법을 제안한다. 제안된 테스트 케이스 재사용 기법은 상용 자동차 제어기 모델을 이용하여 성능을 평가한다.

Timing diagram의 테스트 케이스 생성 전략 (Test Case Generation Strategy for Timing Diagram)

  • 이홍석;정기현;최경희
    • 정보처리학회논문지D
    • /
    • 제17D권4호
    • /
    • pp.283-296
    • /
    • 2010
  • Timing diagram은 시스템의 사양을 작성하는 도구로 많이 사용되고 있으나, Timing diagram을 이용하여 테스트 케이스를 생성하는 연구는 존재하지 않는다. 이와 같은 문제를 해결하기 위해 본 연구에서는 Timing diagram 으로부터 테스트 케이스를 생성하기 위해 다음과 같은 과정을 거쳤다. 1) Timing diagram을 형식적으로 기술하였다. 2) 정의된 Timing diagram의 의미로부터 이와 동치 관계에 있는 Stateflow 모델로 변환하는 방법을 기술하였다. 3) 변환된 Stateflow 모델에 대해 Simulink의 플러그 인 되어 있는 도구인 SDV를 사용하여 테스트 케이스를 생성했다. 이 접근 방법이 유용함을 보이기 위해서 도난 경보 모델과 임의의 Timing diagram모델들을 대상으로 실험을 수행하였다. 실험에서 Timing diagram 모델들로부터 Stateflow모델들로 변환하고 이를 SDV를 사용하여 테스트 케이스를 생성하였으며 그 결과에 대해 분석하였다. 이 연구를 통해 얻을 수 있는 결론은 Timing diagram이 더 이상 사양서를 작성하는 도구로만 사용되는 것이 아니라 모델 기반의 테스트 케이스를 생성하고자 하는 경우에도 유용한 도구가 된다는 점이다.

변형된 RRT 알고리즘 기반 Simulink/Stateflow 모델 테스트 케이스 생성 (Test Case Generation for Simulink/Stateflow Model Based on a Modified Rapidly Exploring Random Tree Algorithm)

  • 박한곤;정기현;최경희
    • 정보처리학회논문지:소프트웨어 및 데이터공학
    • /
    • 제5권12호
    • /
    • pp.653-662
    • /
    • 2016
  • 본 논문에서는 경로탐색 분야에서 많이 사용되는 RRT 알고리즘을 기반으로 한 테스트 케이스 생성 알고리즘을 제안한다. RRT 알고리즘 성능에 영향을 주는 가장 중요한 요소는 RRT 공간 내 노드 사이의 거리를 계산하는 거리 함수이다. Simulink/Stateflow (SL/SF) 모델의 테스트 케이스는 모델의 특정 상태에서 특정한 조건(본 논문에서 테스트 타겟이라 명명함)을 검사하기 위해 필요한 입력 시퀀스이기 때문에, 특정 조건을 검사하기 위해서는 먼저 모델을 특정 상태로 이끌어가는 것이 필요하다. 여기서 모델의 상태는 RRT의 노드로 표현된다. 일반적으로 어느 한 상태의 경우 다수의 조건을 검사할 필요가 있다. 예를 들어, 모델의 특정 상태가 다수의 전이가 발생 가능한 SL/SF model의 한 상태로 표현될 때, 전이 커버리지를 측정하기 위해서는 반드시 다수의 조건을 모두 검사해야 한다. 본 논문에서는 테스트 타겟들이 키 노드라 불리는 SL/SF 상태로 표현되는 특정 상태에서 다수 발견되는 점에 착안해서 만든 거리 계산 함수를 제안한다. 제안된 거리 함수는 키 노드가 아닌 노드에 페널티를 부과해서 RRT가 키 노드로부터 확장될 확률을 증가시킨다. 본 논문에서는 제안된 거리 함수를 이용한 테스트 케이스 생성 알고리즘을 제안한다. 성능 평가를 위해 상업용 자동차에 들어가는 3가지 전자제어장치 모델이 사용된다. 제안된 테스트 케이스 생성 알고리즘의 성능은 페널티 측면에서 평가되고 기존의 RRT 알고리즘을 사용한 테스트 케이스 생성 알고리즘의 성능과 비교한다.

A Matlab/Simulink-Based PV array-Supercapacitor Model Employing SimPowerSystem and Stateflow Tool Box

  • Hong, Won-Pyo
    • 조명전기설비학회논문지
    • /
    • 제28권12호
    • /
    • pp.18-29
    • /
    • 2014
  • This paper proposes the integration of photovoltaic (PV) and energy storage systems for sustained power generation. In this proposed system, whenever the PV system cannot completely meet load demands, the super capacitor provides power to meet the remaining load. A power management strategy is designed for the proposed system to manage power flows between PV array systems and supercapacitors (SC). The main task of this study was to design PV systems with storage strategies including MPPT with direct control and an advanced DC-link controller and to analyze dynamic model proposed for a PV-SC hybrid power generation system. In this paper, the simulation models for the hybrid energy system are developed using Matlab/Simulink, SimPowerSystems and Matlab/Stateflow tool. This is the key innovative contribution of the research paper. The system performances are verified by carrying out simulation studies using practical load demand profile and real weather data.

Transition Condition 분석에 따른 모델 최적화 연구 (Research on Model Optimization by Analysis of Condition of Transition)

  • 성봉진;정기현;최경희
    • 한국정보과학회:학술대회논문집
    • /
    • 한국정보과학회 2012년도 한국컴퓨터종합학술대회논문집 Vol.39 No.1(B)
    • /
    • pp.247-249
    • /
    • 2012
  • 본 연구에서는 MATLAB Simulink/Stateflow 기반으로 만든 모델의 transition의 condition을 미리 연산하고, 이를 바탕으로 모델을 최적화하는 모듈을 제안하고 이를 구현하였다. 구현한 모듈은 stateflow 내부의 transition condition의 label string을 이진트리로 구성하고, True/False를 판단한다. 그리고 condition의 True/False 판단 결과를 통해 모델의 최적화 과정을 수행한다. 제안하는 모듈을 이용하여 간단한 예시모델의 수정 과정을 보이고 테스트 커버리지가 향상되는 것을 검증하였다.

Power control strategies of a DC-coupled hybrid power system for a building microgrid

  • Cho, Jea-Hoon;Hong, Won-Pyo
    • 조명전기설비학회논문지
    • /
    • 제25권3호
    • /
    • pp.50-64
    • /
    • 2011
  • In this paper, a DC-coupled photovoltaic (PV), fuel cell (FC) and ultracapacitor hybrid power system is studied for building microgrid. In this proposed system, the PV system provides electric energy to the electrolyzer to produce hydrogen for future use and transfer to the load side, if possible. Whenever the PV system cannot completely meet load demands, the FC system provides power to meet the remaining load. The main weak point of the FC system is slow dynamics, because the power slope is limited to prevent fuel starvation problems, improve performance and increase lifetime. A power management and control algorithm is proposed for the hybrid power system by taking into account the characteristics of each power source. The main works of this paper are hybridization of alternate energy sources with FC systems using long and short storage strategies to build an autonomous system with pragmatic design, and a dynamic model proposed for a PV/FC/UC bank hybrid power generation system. A simulation model for the hybrid power system has been developed using Matlab/Simulink, SimPowerSystems and Matlab/Stateflow. The system performance under the different scenarios has been verified by carrying out simulation studies using a practical load demand profile, hybrid power management and control, and real weather data.

A Multiagent-Based Hybrid Power Control and Management of Distributed Power Sources

  • Yoon, Gi-Gab;Hong, Won-Pyo;Lee, Ki-Hong
    • 조명전기설비학회논문지
    • /
    • 제25권8호
    • /
    • pp.70-81
    • /
    • 2011
  • In this paper, a multi-agent control system for DC-coupled photovoltaic (PV), fuel cell (FC), ultracapacitor(UC) and battery hybrid power system is studied for commercial buildings & apartment buildings microgrid. In this proposed system, the PV system provides electric energy to the electrolyzer to produce hydrogen for future use and transfer to the load side, if possible. Whenever the PV system cannot completely meet load demands, the FC system provides power to meet the remaining load. A multi-agent system based-power management and control algorithm is proposed for the hybrid power system by taking into account the characteristics of each power source. The main works of this paper are hybridization of alternate energy sources with FC systems using long and short storage strategies to build the multi-agent control system with pragmatic design, and a dynamic model proposed for a PV/FC/UC/battery bank hybrid power generation system. A dynamic simulation model for the hybrid power system has been developed using Matlab/Simulink, SimPowerSystems and Stateflow. Simulation results are also presented to demonstrate the effectiveness of the proposed multi-agent control and management system for building microgrid.