실시간 테스트

Python 기반 실시간 테스트 자동화

Python 기반 테스트 자동화 - 시뮬레이션 모델과 동시에 실행되는 100% 재현 가능한 실시간 테스트

적용 분야

자동화된 테스트는 일반적으로 HIL(hardware-in-the-loop) 시스템에 연결된 표준 PC에서 수행합니다. 그러나 더 높은 타이밍 정밀도가 요구되는 상황(예: ECU 상호작용을 밀리초 단위로 캡처하고 응답해야 하는 경우)에서는 종종 이 방법으로 처리할 수 없는 경우가 있습니다. 이런 경우, 실시간 테스트용 Python 스크립트를 사용한 실시간 테스트가 답입니다.

주요 이점

스크립트는 시뮬레이션 플랫폼(예: dSPACE HIL 시스템)에서 실행됩니다. 모델과 동시에 실행되므로 모든 테스트 작업이 실시간으로 100% 재현 가능하게 수행됩니다. 그러면 dSPACE Simulator로 확장된 테스트 옵션 선택이 가능합니다. 동일한 시뮬레이션 단계 내에서 모델 변수의 변경에 대응하는 반응형 테스트를 구현할 수 있습니다. 통신에 대기 시간이 없기 때문에 테스트의 시간 측정도 훨씬 더 정확합니다. 시뮬레이션 단계 크기는 이제 최대 시간 측정 분해능에 대한 유일한 제한입니다. 실시간 테스트 스크립트는 HIL 시스템뿐만 아니라 PC 기반 오프라인 시뮬레이션을 위한 dSPACE의 플랫폼인 VEOS에서도 실행됩니다. 따라서 가상 검증에서 HIL 시뮬레이션에 이르기까지 전체 개발 프로세스에서 테스트 스크립트를 원활하게 재사용할 수 있습니다.

Features Description Benefits
100% reproducible RTT tests 
  • Synchronous execution with the simulation model 
  • Precise steps on simulation platforms
  • Deterministic regression test results

 

RTT tests without model changes
  • Technically independent test and model execution
  • No model recompiles needed for testing
  • Dynamic test loading without stopping the model 
Easy to implement 
  • RTT tests in high-level programming language Python
  • Saves time during test development
Python Interpreter on the simulation platform
  • The RTT embedded Python Interpreter works under real-time conditions 
  • Standard libraries are available
  • Complex programming and debugging on simulation platform
     
RTT scripts ideally suited for GIT
  • RTT test components are Python text files
  • Complete RTT test storable ‘as a code’
Reading and writing model variables 
  • Access simulation variables in every simulation step
  • Versatile basis for various areas of applications, e.g., variable observer, functional bypassing
Data streaming
  • Streaming of MAT or MDF files to model variables 
  • Testing based on 100% deterministic replay of real-world recorded data
CAN and ETHERNET access
  • Read and write access to CAN, CAN FD, and Ethernet bus 
  • Advanced options for bus testing, e.g., observe bus traffic, manipulate message content, rest bus simulation
Platform support
  • Windows and Linux Ubuntu as host platforms  
  • dSPACE simulation platforms, incl. VEOS
     
  • Independent of simulation platform 
  • Accelerate test development by using one RTT test for SIL and HIL testing

ISO 26262에 따른 인증

dSPACE는 ECU 소프트웨어 검증을 위해 ISO 26262에 따라 인증된 여러 도구를 제공합니다. 여기에는 실시간 테스트(RTT), SIMPHERA, VEOS 및 플랫폼 API 패키지가 포함됩니다. 모든 자동차 안전 무결성 수준(ASIL)에 대한 ISO 26262:2018에 따라 이러한 모든 제품을 안전 관련 개발 프로젝트에 사용할 수 있습니다.
이 인증을 통해 사용자는 전체 ISO 26262 프로세스를 간소화할 수 있습니다. 안전이 중요한 프로젝트에서 매우 적은 자격 증명 노력으로 이 도구를 사용할 수 있으며, 사용 사례에서 도구를 지원하기 위한 안전 매뉴얼이 제공됩니다.

Documentation Contact Information

혁신을 추진하세요. 항상 기술 개발의 동향을 주시해야 합니다.

저희 전문 지식 서비스에 가입하세요. dSPACE의 성공적인 프로젝트 사례를 확인해 보세요. 시뮬레이션 및 검증에 대한 최신 정보를 받아보세요. 지금 바로 dSPACE 다이렉트(뉴스레터)를 구독하세요.

Enable form call

At this point, an input form from Click Dimensions is integrated. This enables us to process your newsletter subscription. The form is currently hidden due to your privacy settings for our website.

External input form

By activating the input form, you consent to personal data being transmitted to Click Dimensions within the EU, in the USA, Canada or Australia. More on this in our privacy policy.