Method and device for automatically generating CAN communication protocol code

A CAN communication and automatic generation technology, applied in the transmission system, electrical components, etc., can solve problems such as error-prone and low efficiency, and achieve the effects of improving efficiency, reducing code error rate, and reducing the difficulty of code maintenance

Active Publication Date: 2017-04-26
SUNWODA ELECTRIC VEHICLE BATTERY CO LTD
View PDF2 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the battery management system software, it is necessary to manually modif...

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 and device for automatically generating CAN communication protocol code
  • Method and device for automatically generating CAN communication protocol code
  • Method and device for automatically generating CAN communication protocol code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0030] refer to figure 1 , the embodiment of the present invention proposes a kind of method for automatically generating CAN communication protocol code, comprising steps:

[0031] S1. Obtain the content of the vehicle CAN communication protocol filled in the preset template form;

[0032] S2. Generate a corresponding CAN communication protocol code according to a preset function.

[0033] As described in the above step S1, the above template form is a form with a fixed format, and the CAN communication protocol provided by the vehicle manufacturer needs to be rearranged and added to the template form according to requirements.

[0034] In this embodiment, the protocol content filled in the template form includes: message ID, message period, message format, message length, message name, sender, and data length, etc...

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 reveals a method and device for automatically generating a CAN communication protocol code, and the method comprises the steps: obtaining a whole vehicle CAN communication protocol content written on a preset template table; and generating a corresponding CAN communication protocol code according to a preset function. According to the invention, the method obtains the protocol content written on the preset template table, and then automatically generates the corresponding CAN communication protocol code, thereby greatly improving the code development efficiency, and reducing the code error rate. The method also can effectively standardize and manage and control the code, and reduces the code maintenance difficulty.

Description

technical field [0001] The invention relates to the field of CAN communication of power vehicles, in particular to a method and device for automatically generating CAN communication protocol codes. Background technique [0002] Most controllers on new energy vehicles realize information interaction through CAN communication. As the core component, the battery management system mainly interacts with the vehicle controller, slow charging controller, and fast charging controller. The CAN communication protocol with the vehicle controller is generally formulated by the vehicle manufacturer. The battery manufacturer implements it according to the given CAN communication protocol. Usually, a battery management system needs to adapt to the requirements of different OEMs, and the CAN communication protocols given by the OEMs are different. For the battery management system software, it is necessary to manually modify the CAN communication protocol code manually, which is inefficie...

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): H04L29/06
CPCH04L69/03H04L69/06
Inventor 张勤安刘三山
Owner SUNWODA ELECTRIC VEHICLE BATTERY CO LTD
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