Skip to content
MathWorks - Mobile View
  • MathWorks 계정에 로그인합니다.MathWorks 계정에 로그인합니다.
  • Access your MathWorks Account
    • 내 계정
    • 나의 커뮤니티 프로필
    • 라이선스를 계정에 연결
    • 로그아웃
  • 제품
  • 솔루션
  • 아카데미아
  • 지원
  • 커뮤니티
  • 이벤트
  • MATLAB 받기
MathWorks
  • 제품
  • 솔루션
  • 아카데미아
  • 지원
  • 커뮤니티
  • 이벤트
  • MATLAB 받기
  • MathWorks 계정에 로그인합니다.MathWorks 계정에 로그인합니다.
  • Access your MathWorks Account
    • 내 계정
    • 나의 커뮤니티 프로필
    • 라이선스를 계정에 연결
    • 로그아웃

비디오 및 웨비나

  • MathWorks
  • 비디오
  • 비디오 홈
  • 검색
  • 비디오 홈
  • 검색
  • 영업 담당 문의
  • 평가판 신청
2:48 Video length is 2:48.
  • Description
  • Full Transcript
  • Related Resources

Simulate AUTOSAR ECU software using Basic Software Blocks

AUTOSAR ECU software simulates the combined behavior of ECU application software and basic software services in a PC-based environment with Simulink®. This implies replacing the hardware with some form of emulation, which primarily helps in validating the software via modeling simulation.

You can model and simulate many basic software modules that already exist. For example, Simulink provides out-of-the-box preconfigured caller blocks and reference implementations for NVRAM Manager and Diagnostics Services, which saves time by removing the need to read specifications from AUTOSAR, NVRAM Manager, and Diagnostics services.

Hello, my name is James. And today I would like to show you how to put Basic Software in AUTOSAR Blockset. What is Basic Software?

We can see here we have a Simulink model which has four components in it. Each is defined separately in its own model, in reference here. These components communicate with each other via the RTE, in this case represented by signal connections. Basic Software is a separate standardized functionality shared between components, accessible through the RTE.

What is our Blockset currently supports three areas of Basic Software. The Diagnostic Event Manager, which enables the reporting and querying of diagnostic events. The Function Inhibition Manager, which allows the inhibition of Blockset functionality, based on the diagnostic events mentioned previously. And the NVRAM Manager, which allows to read and write to nonvolatile memory.

Each of these is described by a highly-detailed specification. So our goal is to make it as simple and intuitive if possible to work within the Simulink environment. We recently added to the functionality of our Dem and FiM tools in R202a.

These blocks are flexible in their usage. And they lend themselves to numerous Simulink modeling applications, which you might be familiar with already. Here we can see the function inhibition query being used to enable a subsystem. In comparison to a baseline driving an event monitor, a read from NVRAM, and writing to a data store within an initialized subsystem. And then operation cycle, which is being driven by a pulse signal.

This modeling flexibility shows through in the generated code. We can see here, the same calls to Basic Software appearing seamlessly within the code. In order to simulate and validate these parts within Simulink, we need an implementation for these calls. We provide this using Service Component box, which you can find in the Simulink block library.

Taking a look inside the diagnostic service component, we can assign IDs to client ports across our coordinating components, so they can refer to the same underlying events, functions, and operation cycles. We have some options to manage event debouncing. And we also have a tab to configure the function inhibition criteria. Now we can see that our model simulates. The default is reported through Basic Software, and the system is able to react also using Basic Software.

On a final note, we were always interested in feedback from our users. So now that you've seen the capabilities of Basic Software and what is a Blockset, please let us know, or leave a comment if there are any future enhancements that you'd like to see in this area. Thank you.

Related Products

  • AUTOSAR Blockset

Bridging Wireless Communications Design and Testing with MATLAB

Read white paper

Feedback

Featured Product

AUTOSAR Blockset

  • Request Trial
  • Get Pricing

Up Next:

32:43
Freedom from Run-Time Errors for AUTOSAR-Based ECU Software

Related Videos:

26:03
Automatic Code Generation of AUTOSAR Software Components...
6:01
Simulation of AUTOSAR Software Components
1:42
Using Software to Enhance Mathematics Education: STEM...
1:55
Using Software to Enhance Mathematics Education: Junior...

View more related videos

MathWorks - Domain Selector

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

  • Switzerland (English)
  • Switzerland (Deutsch)
  • Switzerland (Français)
  • 中国 (简体中文)
  • 中国 (English)

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • 영업 담당 문의
  • 평가판 신청

MathWorks

Accelerating the pace of engineering and science

MathWorks는 엔지니어와 과학자들을 위한 테크니컬 컴퓨팅 소프트웨어 분야의 선도적인 개발업체입니다.

활용 분야 …

제품 소개

  • MATLAB
  • Simulink
  • 학생용 소프트웨어
  • 하드웨어 지원
  • File Exchange

다운로드 및 구매

  • 다운로드
  • 평가판 신청
  • 영업 상담
  • 가격 및 라이선스
  • MathWorks 스토어

사용 방법

  • 문서
  • 튜토리얼
  • 예제
  • 비디오 및 웨비나
  • 교육

지원

  • 설치 도움말
  • MATLAB Answers
  • 컨설팅
  • 라이선스 센터
  • 지원 문의

회사 정보

  • 채용
  • 뉴스 룸
  • 사회적 미션
  • 고객 사례
  • 회사 정보
  • Select a Web Site United States
  • 신뢰 센터
  • 등록 상표
  • 정보 취급 방침
  • 불법 복제 방지
  • 애플리케이션 상태
  • 매스웍스코리아 유한회사
  • 주소: 서울시 강남구 삼성동 테헤란로 521 파르나스타워 14층
  • 전화번호: 02-6006-5100
  • 대표자 : 이종민
  • 사업자 등록번호 : 120-86-60062

© 1994-2022 The MathWorks, Inc.

  • Naver
  • Facebook
  • Twitter
  • YouTube
  • LinkedIn
  • RSS

대화에 참여하기