Multi-channel CAN data acquisition terminal and method for road test vehicle

A technology of data acquisition terminal and road test, which is applied in the direction of data exchange, data exchange network, and digital transmission system through path configuration. and data synchronization problems, the effect of simplifying software and hardware integration

Active Publication Date: 2021-02-12
WUHAN SOUTH SAGITTARIUS INTEGRATION CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The road test vehicle needs multiple CAN acquisition interfaces, and the data acquisition equipment needs to support multiple CAN acquisition interfaces. Generally, the terminal only supports two CAN acquisition modules at most. If it collects 8 channels, it needs 4 core chips, and the CAN data acquisition Finally, it needs to be analyzed and stored, and the analyzed data is uploaded to the platform, which is convenient for road test vehicle personnel to view and analyze important data. Therefore, it is necessary to gather all CAN data together, and the more chips used in the terminal, the more hardware, The more complex the software implementation, the SPI technology is used for real-time data communication between chips, and data synchronization cannot be guaranteed

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
  • Multi-channel CAN data acquisition terminal and method for road test vehicle
  • Multi-channel CAN data acquisition terminal and method for road test vehicle

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the present invention, not all embodiments. 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.

[0029] Such as figure 1 As shown, as the first embodiment of the present invention, a road test vehicle multi-channel CAN data acquisition terminal is provided, the data acquisition terminal includes a host and a slave, and the host and the slave use the SPI bus to communicate and communicate with each other The GPIO ports are interconnected, and the master and slave have the same SPI sampling frequency and the same size buffer;

[0030] The slave is used to...

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 multi-channel CAN data acquisition terminal and method for a road test vehicle. The method comprises the following steps: 1, setting that a host and a slave have the same SPIsampling frequency and cache; 2, connecting the GPIO ports of the host and the slave , setting the GPIO port of the slave as an output, initializing the GPIO port of the slave into a high level, andsetting the GPIO port of the host as an input; 3, when the slave receives the first frame of CAN data, starting a millisecond counter and sending a timing start notification to the host, adding real-time millisecond time to each frame of CAN data, then packaging the CAN data and putting the packaged CAN data into a cache, and when the cache is full or preset time is up, setting the GPIO port of the slave to be low level; and 4, when the host receives the timing start notification, recording a current timestamp as starting time, and when it is monitored that the GPIO port of the slave is converted from a high level to a low level, reading the data packet in the cache of the slave through a SPI bus, unpackaging the data packet into each frame of CAN data, adding the starting time to the CANdata, and storing each frame of CAN data into a file.

Description

technical field [0001] The invention relates to the field of CAN data acquisition and processing, in particular to a road test vehicle multi-channel CAN data acquisition terminal and method. Background technique [0002] The road test vehicle needs multiple CAN acquisition interfaces, and the data acquisition equipment needs to support multiple CAN acquisition interfaces. Generally, the terminal only supports two CAN acquisition modules at most. If it collects 8 channels, it needs 4 core chips, and the CAN data acquisition Finally, it needs to be analyzed and stored, and the analyzed data is uploaded to the platform, which is convenient for road test vehicle personnel to view and analyze important data. Therefore, it is necessary to gather all CAN data together, and the more chips used in the terminal, the more hardware, The more complex the software implementation, the SPI technology is used between chips for real-time data communication, and data synchronization cannot be ...

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): H04L12/40H04L29/08
CPCH04L12/40006H04L67/1095H04L2012/40215
Inventor 郑家伟陈长春
Owner WUHAN SOUTH SAGITTARIUS INTEGRATION 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