Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Bit flip fault injection method and system for CAN (Controller Area Network) bus data link layer

A technology of data link layer and CAN bus, applied in the field of fault injection test of CAN bus node, can solve problems such as increasing test cost, and achieve the effect of low test cost and reduced test time and energy

Inactive Publication Date: 2017-05-10
CHINA ELECTRONICS PROD RELIABILITY & ENVIRONMENTAL TESTING RES INST
View PDF1 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When performing fault injection tests on the electrical layer, additional controller control circuits, relay drive circuits, and relay circuits need to be built to directly or indirectly simulate different faults on the electrical layer, which increases the cost of testing

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
  • Bit flip fault injection method and system for CAN (Controller Area Network) bus data link layer
  • Bit flip fault injection method and system for CAN (Controller Area Network) bus data link layer
  • Bit flip fault injection method and system for CAN (Controller Area Network) bus data link layer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In one embodiment, a bit flipping fault injection method of CAN bus data link layer, such as figure 1 shown, including the following steps:

[0024] Step S130: Display the fault injection interface, and detect in real time whether the information frame transmitted by the CAN node under test is received.

[0025] The fault injection interface is used for testers to perform bit flip fault injection operations, and the fault injection mode is started by displaying the fault injection interface. The method of detecting the information frame transmitted by the CAN node under test is not unique. In this embodiment, detecting whether the information frame transmitted by the CAN node under test is received in real time includes: constantly checking the receiving buffer by means of polling, and detecting whether there is The information frame transmitted by the CAN node under test is received. Specifically, two or more CAN channels can be set to send and receive information fr...

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 a bit flip fault injection method and system for a CAN (Controller Area Network) bus data link layer. A fault injection interface is displayed and whether an information frame transmitted by a tested CAN node is received or not is detected in real time. If the information frame transmitted by the tested CAN node is detected, whether a fault injection instruction acting on the fault injection interface is received or not is judged; and if the fault injection instruction is received, a bit flip fault value is generated according to the fault injection instruction, the bit flip fault value is injected into the information frame, and the information frame into which the bit flip fault value is injected is output. Real hardware fault injection is replaced by software fault injection and a bit flip error caused by an electrical layer of the tested CAN node is simulated in a software fault injection mode, so the trouble of setting up a hardware fault injection simulation circuit is omitted to a great extent, the test cost is low and the test time and vigor of a test engineer are reduced.

Description

technical field [0001] The invention relates to the technical field of fault injection testing of CAN bus nodes, in particular to a method and system for bit flipping fault injection of CAN bus data link layer. Background technique [0002] CAN (Controller Area Network, Controller Area Network) bus has the advantages of high reliability, good real-time performance, and reasonable cost. It has been widely used in the fields of automobiles, ships, aerospace, medical, industrial measurement and control, and industrial automation. One of the most widely used field buses in the world. During the actual operation of the CAN bus, there will be many excitations in abnormal states, and the response of the CAN bus and the stability of its data transmission under extreme conditions cannot be expected. Therefore, in the CAN bus development process, in order to verify the reliability, fault tolerance and fault status of the CAN bus as much as possible, it is necessary to introduce the f...

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/26H04L12/40
CPCH04L43/50H04L12/40H04L2012/40215
Inventor 谢浪雄杨春晖林军吴蕾陈彦彰
Owner CHINA ELECTRONICS PROD RELIABILITY & ENVIRONMENTAL TESTING RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products