Method for synchronizing AUTOSAR (automotive open system architecture) model to Simulink model

A model, S-R technology, applied in the direction of program control devices, etc., can solve the problems of AUTOSAR model and Simulink model synchronization, it is difficult to ensure that the software component information can be designed once, and the mdl model cannot be recreated, so as to achieve rich constraints and conversion The effect of simplicity, convenience and low development cost

Inactive Publication Date: 2012-12-12
ZHEJIANG UNIV
View PDF2 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the good compatibility of Matlab/Simulink in modeling, code generation and AUTOSAR version, after designing the software architecture, if Simulink is used to model the internal behavior, there will be a problem of synchronization between the AUTOSAR model and the Simulink model
Moreover, for software components (Software Component, SWC), in most cases, it is difficult to ensure that all software component information is desig...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for synchronizing AUTOSAR (automotive open system architecture) model to Simulink model
  • Method for synchronizing AUTOSAR (automotive open system architecture) model to Simulink model
  • Method for synchronizing AUTOSAR (automotive open system architecture) model to Simulink model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0035] Such as figure 1 and figure 2 As shown, the AUTOSAR model of the embodiment of the present invention is synchronized to the Simulink model and the implementation steps are as follows:

[0036] 1. Import the source ARXML file, convert the ARXML source file into an AUTOSAR object, and generate an AUTOSAR model.

[0037] 2. Analyze the Port (port), Interface (interface), DataElement (data element), Operation (operation type), Argument (parameter type), DataType (data type) of the AUTOSAR object to obtain the data type and S-R interface of the AUTOSAR software component model , data element, C-S interface, operation, parameter.

[0038] 3. After processing the AUTOSAR object, four label sets Simulink Inport, Simulink Outport, Simulink ClientPort, and Simulink DataType are obtained. The four label sets are loaded with HashMap, Key is the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for synchronizing an AUTOSAR (automotive open system architecture) model to a Simulink model. The method includes: using an ARXML (AUTOSAR extensible markup language) source file to generate the AUTOSAR model, analyzing AUTOSAR object elements to obtain elements of the model, mapping the obtained elements of the AUTOSAR software module into the Simulink model to obtain a corresponding model port label set, and loading by means of HashMap; accessing to a generated folder of the Simulink model to search a journal file generated last time, and analyzing the journal file to obtain a corresponding Simulink model port label set of an MATLAB (matrix laboratory)/ Simulink model; and comparing the obtained NEW label set with an OLD label set to obtain a result pool, and realizing model synchronization by means of Matlab orders. The method for synchronizing the AUTOSAR model to the Simulink model has the advantages of simplicity and convenience in conversion, low time consumption and low development cost.

Description

technical field [0001] The invention relates to data synchronization technology, in particular to a method for synchronizing an AUTOSAR model to a Simulink model. Background technique [0002] AUTOSAR (AUTomotive Open System ARchitecture) is an open system architecture for automotive electronics. Development using AUTOSAR includes software component modeling, system configuration, ECU extraction, ECU configuration, code generation and other processes. The function of software component modeling is to provide the function of system architecture, allowing users to quickly build a software prototype of an automotive electronic system, including modeling software components, ports, interfaces, data types, internal behaviors, and implementations. These elements form a Abstraction of a complete automotive electronics software system. MATLAB is a widely used system design tool. In the field of automotive electronics, MATLAB / Simulink tools can be used to design the internal logic a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44
Inventor 李红姜旭锋张龙汪金波沈哲吴朝晖赵民德
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products