Vehicle-mounted control software system policy code and underlying code integration method

A low-level code and integration method technology, applied in the automotive field, can solve problems such as low work efficiency, high coupling, and error-prone, and achieve the effect of improving efficiency and reliable code

Inactive Publication Date: 2016-07-27
LIANCHUANG AUTOMOBILE ELECTRONICS
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. Many professional tools are used and the cost is high;
[0006] 2. In the process of code integration, a large amount of manual code must be added, which is low in work efficiency and p

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
  • Vehicle-mounted control software system policy code and underlying code integration method
  • Vehicle-mounted control software system policy code and underlying code integration method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Such as figure 2 As shown, the vehicle-mounted control software system strategy code and the underlying code integration method provided by the present invention are based on the Matlab software implementation, and the PWM (pulse width modulation) output is set as an example, including the following steps:

[0026] Write the underlying driver code to realize setting PWM. For example: the function name is "uint8IFL_Pwm_SetPeriodAndDuty(uint16Channel, uint32Period, uint16Duty)

[0027] According to the underlying driver interface, create an S-function in Matlab, and the function name is sfun_dcm21c_pwm;;

[0028] Based on the Matlab package S-function, the subsystem is named pwm_out, and the package parameter pwm_channel is set according to the underlying driver interface of the created subsystem;

[0029] Create a Matlab library file, the Matlab library file contains all the subsystems created in the above steps; add the module pwm_out to the Matlab library file

[0030

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 Matlab-based vehicle control software integration method, comprising the following steps: creating an S-function in Matlab according to the bottom-level drive interface; encapsulating the S-function in the Matlab; creating a subsystem and setting packaging parameters according to the bottom-level drive interface Encapsulate S-function; create Matlab library file, which contains all the subsystems created in the above steps; build a system strategy model in Matlab, and use the above-created subsystem for all models that need to call the underlying software driver; use Matlab RTW function Perform code generation, and use ert_make_rtw_hook.m to control the entire software integration process and generate the final target file. The integration method of the invention can reduce manual code input links, save development costs and improve work efficiency.

Description

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

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
Owner LIANCHUANG AUTOMOBILE ELECTRONICS
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