Font Size: a A A

Design And Implementation Of Fault Injection Software Based On Boundary Scan Test Chain

Posted on:2022-08-20Degree:MasterType:Thesis
Country:ChinaCandidate:J ChengFull Text:PDF
GTID:2518306524979299Subject:Instrument Science and Technology
Abstract/Summary:PDF Full Text Request
With the rapid development and progress of society,the reliability and fault tolerance of circuits and systems have attracted more and more attention from developers.In the evaluation of system fault tolerance,fault injection technology has been widely used because of its convenience,speed and effectiveness.The ground is used.Traditional fault injection methods based on boundary scan testing theory often need to combine boundary scan hardware controllers to send and receive instructions or data.The purpose of fault injection is achieved by modifying the data of the bus,registers and memory,and the method is more complicated because of the need for hardware cooperation.,The hardware cost is high,software and hardware instructions are involved,and the timing is complicated.In response to the above-mentioned problems,this paper,with the support of a certain ministerial project "Development of XXX Equipment Fault Diagnosis System",has developed a fault injection method based on boundary scan test chains based on actual problems,and designed a specific method.The fault injection method does not depend on the hardware controller,and the fault injection is convenient and fast,which reduces the cost.The paper mainly carried out the following work:(1)Design the overall software process plan.The software is divided into netlist file and boundary scan file processing module,transparent component model and boundary scan test chain generation module,fault injection and optimization module.The software generates a boundary scan test chain model through relevant file information,classifies different networks according to chain information,modifies the network architecture according to different networks,generates a new network structure,and simulates the fault injection of interconnection short-circuit faults.(2)Design and implement file processing module.In-depth research and analysis of the format and related specifications of netlist files and boundary scan files,according to the characteristics of different files,designed a method of using regular expressions to match key paragraphs to obtain relevant information,and developed a common version of parsing and processing solutions.(3)Create a transparent component model,design a database table,design and implement an algorithm for generating a boundary scan test chain model.Research the concept and characteristics of transparent components,save the transparent component model in the agreed format,create a transparent component library;establish a database structure model,design a database table for storing data;propose and implement an algorithm for generating a boundary scan test chain model,including The generation of single chain and the generation of multiple chains.(4)A new fault injection method is proposed and designed and implemented by software.The fault injection method in this article is to use the boundary scan test chain as the backbone of the testability design,classify the network on the circuit board according to chain information and pin information,and then implement fault injection for different types of networks.Fault injection is to change the original network structure and recombine the network according to certain rules to simulate a permanent interconnection short-circuit fault.Finally,a recommended algorithm for optimizing fault injection points is designed to optimize fault injection.(5)Test and verify software functions.Taking the actual circuit board as a test example,the functions of different modules of the software have been tested and verified many times.The verification of the fault injection module uses two different boundary scan test systems and implements a variety of different methods of fault injection to verify the effect of the injection.,The injection failures are all successfully detected.The test result shows that the fault injection software has perfect functions,and the fault injection effect of the software is consistent with the jumper cap and DIP switch,and the fault injection result is reliable.
Keywords/Search Tags:Fault injection, boundary scan chain, netlist file, boundary scan file
PDF Full Text Request
Related items