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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap