Main Content

Simulink를 사용한 모델 기반 설계

모델링은 실제 시스템의 가상 표현을 만드는 방법입니다. 가상 표현을 여러 다양한 조건에서 시뮬레이션하여 어떻게 동작하는지 파악할 수 있습니다.

모델링과 시뮬레이션은 하드웨어 프로토타입만으로는 재현하기 어려운 조건을 테스트하는 데 유용합니다. 하드웨어가 아직 준비되지 않은 설계 프로세스의 초기 단계에서 특히 그렇습니다. 모델링과 시뮬레이션을 반복하면 설계 프로세스의 후반에 발견되는 오류를 줄여서 시스템 설계의 품질을 조기에 개선할 수 있습니다.

모델에서 코드를 자동으로 생성할 수 있으며, 소프트웨어와 하드웨어 구현 요구 사항이 있는 경우 시스템 검증을 위한 테스트 벤치를 만들 수 있습니다. 자동 코드 생성은 시간을 절약하고 수동 코딩으로 인한 오류가 발생하지 않도록 방지합니다.

모델 기반 설계에서는 시스템 모델이 워크플로의 핵심입니다. 모델 기반 설계를 활용하면 제어 시스템, 신호 처리 시스템, 통신 시스템을 포함한 동적 시스템을 빠르고 경제적으로 개발할 수 있습니다.

모델 기반 설계에서는 다음이 가능합니다.

  • 프로젝트 팀 간에 공통된 설계 환경 사용

  • 설계를 요구 사항에 바로 연결

  • 설계에 테스트를 통합하여 지속적으로 오류를 식별하고 수정

  • 멀티도메인 시뮬레이션을 통해 알고리즘 미세 조정

  • 임베디드 소프트웨어 코드 및 문서 자동 생성

  • 테스트 스위트 개발 및 재사용

A diagram shaped like an arrow is labeled with the steps of model-based design. The left half of the arrowhead, moving from the outside toward the arrow tip, lists these steps: requirements, system-level design, subsystem design, and subsystem implementation. The right half of the arrowhead, moving from the outside toward the arrow tip, lists these steps: complete integration and test, system integration and test, subsystem integration and test, and subsystem implementation. The arrow tail, moving from the outside towards the arrow tip, lists these steps: system specification, high-level design, and low-level design.

Simulink의 모델 기반 설계 워크플로 예제

모델 기반 설계 작업을 시작할 때 다음 워크플로를 사용할 수 있습니다.

The flow chart is V-shaped. The listed steps start in the upper left, move towards the tip of the V, and then to the right. The left half of the chart, moving from the outside towards the tip, lists these steps: determine modeling goals, determine components, model system layout model components, analyze model, and design new components. The right half, moving from the tip towards the outside, lists these steps: test designed components, test system components, integrate components, test system model. There is also an arrow connecting the model components step to the test system components step.

이 튜토리얼에서 설명하는 워크플로는 모델 기반 설계와 연관된 기본적인 Simulink® 작업을 중점적으로 다룹니다.

이 워크플로의 처음 두 작업에서는 기존 시스템을 모델링하고 컴포넌트 설계를 위한 컨텍스트를 설정합니다. 그 다음 워크플로 단계에서는 새 컴포넌트를 구현해 보겠습니다. 신속 프로토타이핑 및 임베디드 코드 생성 제품(예: Simulink Real-Time™ 및 Embedded Coder®)을 사용하여 코드를 생성하고 해당 설계를 실제 물리 시스템에 사용할 수 있습니다.

관련 항목

외부 웹사이트