Check patentability & draft patents in minutes with Patsnap Eureka AI!

Controller area network (CAN) communication analysis system for primary and secondary core boards based on STM32

A CAN communication and core board technology, applied in the field of communication, can solve the problems of huge protocol and complicated transplantation, and achieve the effect of improving stability

Inactive Publication Date: 2019-01-11
成都泛美视界科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Although CANOPEN is a high-level communication protocol based on the control local area network (can), it realizes the protocol above the network layer (including the network layer) in the OSI model; but the protocol is too large and too complicated to transplant. Based on the principle of extracting the essence and discarding the dross, and combining the advantages of the two, the present invention proposes a CAN and Canopen communication analysis system for primary and secondary core boards based on STM32

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
  • Controller area network (CAN) communication analysis system for primary and secondary core boards based on STM32
  • Controller area network (CAN) communication analysis system for primary and secondary core boards based on STM32
  • Controller area network (CAN) communication analysis system for primary and secondary core boards based on STM32

Examples

Experimental program
Comparison scheme
Effect test

Embodiment example 2

[0070] The first-level core board sends the data generated by the button to the second-level core board through the CAN bus, and the second-level core board analyzes it according to the communication protocol and performs related processing.

[0071] Then, analyze the first-level data:

[0072] (1) Receive CAN data and parse out stdid and extid;

[0073] get_stdid=(RxMessage.ExtId&0x1ffc0000)>>18

[0074] get_extid=RxMessage.ExtId&0x3ffff

[0075] (2) Judging stdid, is it the initial report ID of the node? Or a datagram? Or node heartbeat message?

[0076] Stdid=0x1f-》node heartbeat message Stdid=0x09-》data message

[0077] Stdid=0x08-》node initial reporting id

[0078] (3) After judging Stdid, perform corresponding operations respectively, see the flow chart of the second-level core board for details;

[0079] (4) If the data message Stdid=0x09, the secondary core board sends the data to the upper computer through the network port;

[0080] sendto(0,socket_buffer,12,t...

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 relates to the technical field of communication, in particular to a controller area network (CAN) communication analysis system for primary and secondary core boards based on STM32. TheCAN communication analysis system comprises an upper computer, the secondary core board, the primary core board and CAN nodes; and the upper computer is connected with the CAN nodes through the secondary core board, and the CAN nodes are connected with the primary core board. The CAN communication analysis system has the beneficial effects that an original complex and large CAN / CAN-OPEN protocol is simplified, framework reconstruction is conducted on an aviation simulator, and the CAN communication analysis system can be directly applied in construction of the aviation simulator; an ID allocation sheet aiming at main parts of the aviation flight simulator is established, thus the system can directly identify the main aviation parts accessed to the system, ID of the nodes accessed to the system can be automatically reported, a heartbeat message mechanism is modified, the system framework can be assisted in identifying the part states, the CAN communication system has a line-off reconnecting mechanism, and the stability of all the nodes of the system is improved.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to an STM32-based primary and secondary core board CAN communication analysis system. Background technique [0002] CAN is the abbreviation of Controller Area Network (abbreviation: CAN), which is an ISO international standardized serial communication protocol, the earliest and most widely used field bus; [0003] Canopen: The most successful CAN application layer protocol defined by the CIA, which occupies a leading position in CAN-based automation systems, European standard EN-50325-4; [0004] CAN+Canopen: the most successful bus solution in the field of machine automation (MA); [0005] From the perspective of the OSI network model, the CAN (Controller Area Network) field bus only defines the first layer and the second layer (see ISO11898 standard). This development related software (Software) or firmware (Firmware). [0006] At the same time, CAN only defines the physi...

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): G05B19/418H04L12/40
CPCG05B19/4185H04L12/40006H04L2012/40215Y02P90/02
Inventor 黄铭谷江龙龙张强
Owner 成都泛美视界科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More