Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

General car code conversion method

A technology of code conversion and general motors, which is applied in the field of rapid prototyping and code generation of automotive electronics. It can solve problems such as inability to generate, different function models of processors, and inability to meet different cars and ECUs, so as to reduce professional requirements and speed up development. Cycle, the effect of improving reliability

Inactive Publication Date: 2012-08-01
CHONGQING UNIV OF POSTS & TELECOMM
View PDF0 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] At present, although Matlab provides several typical processor hardware driver interface models, the function models of each processor are different, which brings inconvenience to code generation and transplantation, and cannot meet the needs of different cars and ECUs
At the same time, there is no unified OSEK-based system function model in Matlab, and it is impossible to quickly establish a task model based on the OSEK operating system, and it is also impossible to generate a general-purpose, hardware-independent automotive electronics embedded software model and code

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
  • General car code conversion method
  • General car code conversion method
  • General car code conversion method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The present invention will be further described below with reference to the drawings and embodiments.

[0050] A general automobile code conversion method, the code conversion steps are as follows:

[0051] 1) Establish a work task on the Simulink work platform, which is a function completed by the software code that needs to be converted;

[0052] 2) According to the selected ECU, determine the code content and form under the OSEKOS operating system specification and the AutoSAR driver interface specification, and establish toolboxes respectively;

[0053] 3) Import the software code information to be converted into the S function, which is determined by the toolbox described in step 2);

[0054] 4) Encapsulate the S function in step 3) and encapsulate it into a working module of the Simulink work platform;

[0055] 5) Import the packaged work module in step 4) into the Simulink work platform;

[0056] 6) Under the Simulink work platform, verify the imported work module, if it fai...

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 relates to a general car code conversion method. Based on a general simulation and code generation tool, MATLAB (matrix laboratory), a vehicular operating system model base meeting specifications of OSEK / VDX OS (open systems and their interfaces for the electronics in motor vehicles / vehicle distributed eXecutive operating system) and an underlying drive interface model base meeting standards of AutoSAR (AUTomotive Open System ARchitecture) are designed, and a vehicular electronic control unit control model is graphically established. According to a designed code generation template, an available control / simulation code framework is generated using RTW (real time workshop), a code generation mechanism, the operating system and underlying drive are added into a compiler to implement a function library or source code, and conversion of different ECU (electronic control unit) executable codes meeting the specifications above is compete. The trouble of manually compiling the codes is avoided, fast generation of the codes is realized, development cycle is accelerated, expertise requirements on developers are lowered, and code reliability is improved.

Description

Technical field [0001] The invention relates to the technical field of automotive electronic rapid prototyping and code generation, in particular to an automotive code conversion method. Background technique [0002] Facing the current requirements of reliability, consistency, interchangeability, and high efficiency of embedded software for automotive electronic control units. At present, the tools used to generate embedded software code for automotive electronic control units are mainly foreign special tools. These tools often rely on the special hardware and operating environment of the development company. The generated code cannot be standardized and unified, which limits the consistency and availability of the industry. Interchangeability development requirements. It is the consensus of the industry to design a code generation method and system that is compatible with commonly used mathematical modeling and simulation tools, and has scalability and openness. [0003] The dev...

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): G06F17/50G06F9/44
Inventor 蒋建春刘先东左文英岑明邱宝梅李银国冯辉宗舒适
Owner CHONGQING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products