Fault simulation system and method for serial bus

A technology of serial bus and fault simulation, applied in faulty hardware testing methods, detecting faulty computer hardware, instruments, etc., can solve the problem of low real-time performance and achieve high real-time performance

Active Publication Date: 2018-12-07
HARBIN INST OF TECH
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention provides a serial bus fault simulation system and a simulation method to solve the pr...

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
  • Fault simulation system and method for serial bus
  • Fault simulation system and method for serial bus
  • Fault simulation system and method for serial bus

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach 1

[0036] Specific implementation mode one: combine figure 1 This embodiment is described, the serial bus fault simulation system provided in this embodiment includes a control machine and a fault injector;

[0037] The control machine provides a human-computer interaction mode, generates a fault command according to user requirements, sends the fault command to the fault injector, and receives the injection result and the target system state fed back by the fault injector (that is, the state of the bus during the fault injection process) , and feed it back to the user;

[0038] The fault injector adopts field programmable logic device FPGA, and according to the fault command from the control machine, all parameters required for fault injection are set, and after receiving the data from the serial bus, it sends data to the data according to the set parameters. Inject faults in it, send the modified data to the serial bus, and return the injection results and target system status...

specific Embodiment approach 2

[0039] Embodiment 2: The difference between this embodiment and Embodiment 1 is that the control machine includes: a parameter generation module, a command generation module, a communication module, and a control machine result recovery module;

[0040] The parameter generation module generates fault parameters that can be recognized by the fault injector according to user requirements; the parameter generation module should generate a specific value for all registers inside the fault injector; during the fault injection process, the parameter generation module only needs to generate Just inject the value of the relevant register once.

[0041] The command generation module obtains all generated fault parameter values ​​from the parameter generation module, packs these values ​​into a fault command, and stores all fault commands in the sending data cache, waiting for the communication module to send to fault injector;

[0042] The communication module is responsible for commu...

specific Embodiment approach 3

[0045] Specific embodiment three: the difference between this embodiment and specific embodiment one or two is that the fault injector includes: a serial port communication module, a main control module, a fault injection module, a time control module, a bus communication module, and injector result recovery module;

[0046] The serial port communication module, the serial port communication module is a connection channel between the fault injector and the control machine, and is used to communicate with the control machine; the serial port communication module receives the fault command from the control machine, passes the fault command to the main control module, and Transfer the injection result sent by the injector result recovery module and the target system state to the control machine;

[0047] The serial communication module is divided into three parts: receiving data sub-module, data processing sub-module and sending data sub-module, such as figure 2 shown. The rec...

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 provides a fault simulation system and method for a serial bus, and belongs to the technical field of computer reliability evaluation. The fault simulation system for the serial bus in the invention comprises a control machine and a fault injector; the control machine generates a fault command according to user requirements, sends the fault command to the fault injector, receives aninjection result and a target system state fed back by the fault injector, and feeds back the injection result and the target system state to a user; and the fault injector sets all parameters required by fault injection according to the fault command from the control machine by adoption of a field programmable logic device FPGA, injects a fault into data after receiving the data from the serial bus, sends the modified data to the serial bus, and returns the obtained injection result and the target system state to the control machine. By means of the fault simulation system and method for theserial bus in the invention, the problem that the real-time property is low when the existing bus fault injection is used for verifying the reliability of a computer can be solved; and the fault simulation system and method for the serial bus in the invention can be used for bus fault simulation.

Description

technical field [0001] The invention relates to a bus fault simulation system and a simulation method, and belongs to the technical field of computer reliability performance evaluation. Background technique [0002] At present, computers have been widely used in the industrial and military fields, but the computers used in the industrial and military fields often break down due to the impact of harsh environments, causing huge economic losses and even casualties. Therefore, in these fields, high-reliability systems are particularly important. [0003] Buses such as RS422 / RS485 are widely used in industrial communication systems because of their high real-time and flexibility. In practical applications, because the communication process of the bus is often affected by the harsh external environment, the probability of failures within the system and between systems is very high, which has a great impact on the reliability of the computer. The bottleneck of reliability, the r...

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): G06F11/22G06F11/26
CPCG06F11/221G06F11/2273G06F11/261
Inventor 董剑左德承刘宏伟罗丹彦张森张展舒燕君吴晋
Owner HARBIN INST OF TECH
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