Method and device for generating EXCEL-to-DBC file

A file and message technology, applied in the field of EXCEL to DBC file generation, can solve the problems of cumbersome DBC files, heavy workload for engineers, and difficult to detect, and achieve the effect of lowering the threshold of code writing, improving work efficiency, and reducing workload

Pending Publication Date: 2020-04-14
江西精骏电控技术有限公司
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the development of modern pure electric vehicles, it is inseparable from CAN bus, which is a crucial means of communication control. However, with the rapid development of pure electric vehicles, the number of CAN bus nodes and messages is increasing. Manual editing through Database is very important for engineers. The workload is greatly increased, and time-consuming, while the editing process is error-prone and imperceptible
[0004] The existing CAN bus has the following defects, that is, the engineer manually writes the DBC file information according to the CAN matrix provided, which causes the engineer's workload to be too large, and is prone to errors; the CAN matrix table of EXCEL is arranged in a certain order by writing the code Directly generate DBC files, so that the CAN matrix table must be arranged in a strict order. At the same time, because the DBC files are more cumbersome, when writing code to generate DBC, the code is not easy to write, and it is too long and error-prone

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 generating EXCEL-to-DBC file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] A method for generating an EXCEL to DBC file, comprising the steps of:

[0029] S1. Select the CAN matrix file that needs to generate DBC, and input the CAN matrix file into the MATLAB software to read and analyze the message;

[0030] S2, message information judgment, start to read file information from the X line first cell in the worksheet work area of ​​CAN matrix file in the step S1, and judge;

[...

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 generating an EXCEL-to-DBC file based on MATLAB and PCAN-EXPLORER. The method comprises the steps: S1, selecting a CAN matrix file needing to generate DBC; S2, judging message information; S3, reading the message information; S4, continuously reading the message information; S5, ending the reading; S6, generating an SYM file; S7, opening the SYM file by the PCAN-EXPLORER software; and S8, producing a DBC file. When the CAN matrix is converted into the SYM file, the SYM file is simpler and clearer than the DBC file, written codes are simpler than existing codes, errors are not likely to happen, and the code writing threshold can be lowered; the DBC file can be automatically generated so that the workload of engineers is reduced and the working efficiencyis improved; when the SYM file is checked through the PCAN, whether the generated file is different from the CAN matrix or not can be detected more conveniently, and the error rate is reduced.

Description

technical field [0001] The invention belongs to the technical field of product vehicle detection and control, and more specifically, relates to a method for generating an EXCEL-to-DBC file. Background technique [0002] We know that the transmission of control signals and communication signals on the car needs to rely on various signal lines. The more functions, the more complex the lines. The complex and lengthy lines may lead to unreliable system communication, affect the normal operation of electronic control sub-components, and cause control errors. There is a possibility of a car accident. In order to solve this problem, German BOSCH introduced serial data communication CAN in the 1980s, which made the data communication and resource sharing problems between the control system and detection system on the car very effectively solved. Since its development, CAN has also derived many communication protocols with more complete specifications and stronger interoperability, ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/11
CPCG06F16/116
Inventor 王皖王长江
Owner 江西精骏电控技术有限公司
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