CN1862266A - Method for testing product fault-tolerant performance and fault inserting device thereof - Google Patents
Method for testing product fault-tolerant performance and fault inserting device thereof Download PDFInfo
- Publication number
- CN1862266A CN1862266A CN 200510072436 CN200510072436A CN1862266A CN 1862266 A CN1862266 A CN 1862266A CN 200510072436 CN200510072436 CN 200510072436 CN 200510072436 A CN200510072436 A CN 200510072436A CN 1862266 A CN1862266 A CN 1862266A
- Authority
- CN
- China
- Prior art keywords
- fault
- signal
- control
- module
- product
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Tests Of Electronic Circuits (AREA)
Abstract
本发明提供了一种产品容错性测试方法及其故障插入装置,通过产生故障模拟信号对产品进行容错性测试,所述方法在产品内部设置故障插入装置,由故障插入装置产生不同类型的故障模拟信号,通过产品内部的CPU控制接口选通故障插入装置的通信控制模块,对通信控制模块的控制寄存器进行内容控制,有选择性地将不同类型的故障模拟信号插入任意的芯片输入/输出管脚或直接插入芯片内部的功能模块,从而模拟产品内部单元部分失效或全部失效。本方法可以为电子产品提供一种简单、功能强大的在线故障插入手段,可完成多种类型信号故障的模拟,全面模拟各种故障模式,提高了单板测试覆盖面和重复性,丰富了容错性测试方法,改善了测试效果。
The invention provides a product fault tolerance test method and a fault insertion device thereof. The fault tolerance test is performed on the product by generating a fault simulation signal. The method sets a fault insertion device inside the product, and the fault insertion device generates different types of fault simulations. Signal, select the communication control module of the fault insertion device through the CPU control interface inside the product, control the content of the control register of the communication control module, and selectively insert different types of fault analog signals into any chip input/output pins Or directly insert the functional modules inside the chip to simulate the failure of some or all of the internal units of the product. This method can provide a simple and powerful online fault insertion method for electronic products, which can complete the simulation of various types of signal faults, comprehensively simulate various fault modes, improve the coverage and repeatability of single-board testing, and enrich fault tolerance. The test method has improved the test effect.
Description
技术领域technical field
本发明涉及电子产品可靠性测试,特别涉及一种产品容错性测试方法及其故障插入装置。The invention relates to reliability testing of electronic products, in particular to a product fault tolerance testing method and a fault insertion device thereof.
背景技术Background technique
现代电子类产品的设计越来越复杂,在人们生活中所占地位也越来越重要,对产品可靠性方面的要求日益严格,一旦产品出现故障,例如高端通信产品,将给用户带来很大的损失。因此电子产品中容错的可靠性设计变得日趋重要,针对产品可靠性设计的产品容错性测试也随之变得日益重要。The design of modern electronic products is becoming more and more complex, and their role in people's lives is becoming more and more important. The requirements for product reliability are becoming increasingly strict. Once a product fails, such as a high-end communication product, it will bring great harm to the user. Big loss. Therefore, the reliability design of fault tolerance in electronic products has become increasingly important, and the product fault tolerance test for product reliability design has also become increasingly important.
容错性测试是模拟产品内部的某个芯片失效,内部时钟信号丢失,内部状态信号错误等情况下,产品是否可以采取正确的保护、报警措施,以及错误恢复后产品是否可以恢复到正确的工作状态。产品容错可靠性测试一方面可以通过测试来验证产品可靠性设计是否能够正确实现,另一方面在于通过故障插入发现产品容错设计方面的问题,以期在产品初期就可以采取相应措施,修改产品容错方面的问题,提高产品的可靠性。产品容错性测试的核心在于故障模拟信号的插入模式。The fault tolerance test is to simulate the failure of a certain chip inside the product, the loss of the internal clock signal, the error of the internal state signal, etc., whether the product can take correct protection and alarm measures, and whether the product can return to the correct working state after the error is recovered . On the one hand, the product fault-tolerant reliability test can verify whether the product reliability design can be implemented correctly through testing, and on the other hand, it can find problems in the product fault-tolerant design through fault insertion, so that corresponding measures can be taken at the initial stage of the product to modify the product fault-tolerant aspect problems and improve product reliability. The core of product fault tolerance testing lies in the insertion mode of the fault simulation signal.
目前,故障模拟信号的插入方式基本上都是采取外部探针插入故障信号的方式,如中国专利号为02108648的专利所采用的方法是使用外部电子单元产生高、低、脉冲等错误信号,输出到外部探针上,再将探针附在产品内部的信号点上,进行故障插入。At present, the method of inserting the fault analog signal basically adopts the method of inserting the fault signal by an external probe. For example, the method adopted in the Chinese patent No. 02108648 is to use an external electronic unit to generate error signals such as high, low, and pulse, and output to the external probe, and then attach the probe to the signal point inside the product for fault insertion.
但是,该现有技术存在以下几个方法的问题:But, there is the problem of following several methods in this prior art:
1、需要额外的错误信号发生单元,成本较高,还要考虑如何使探针和信号点紧密接触,技术实现较为复杂,通用性不强;1. An additional error signal generation unit is required, and the cost is high. It is also necessary to consider how to make the probe and the signal point in close contact. The technical implementation is relatively complicated and the versatility is not strong;
2、可操作性较差,需要放置探针等人工操作,对于内部信号点很多的复杂产品,这种需要人工操作的测试效率相对不高;2. The operability is poor, and manual operations such as placing probes are required. For complex products with many internal signal points, the test efficiency that requires manual operations is relatively low;
3、由于是采用将外部信号叠加在产品内部原信号上的方式,在内部信号驱动较强的情况下,外部信号的插入有时只能使产品内部信号失真,另外对于高频信号来说,即使外加的探针上没有故障信号插入,也会对信号质量产生很大影响,这些情况下就不能正确判断预期的故障插入信号对产品造成的影响,不能得到正确的故障插入测试效果;3. Since the external signal is superimposed on the original internal signal of the product, when the internal signal drive is strong, the insertion of the external signal can sometimes only distort the internal signal of the product. In addition, for high-frequency signals, even if There is no fault signal insertion on the external probe, which will also have a great impact on the signal quality. In these cases, the impact of the expected fault insertion signal on the product cannot be correctly judged, and the correct fault insertion test effect cannot be obtained;
4、通过外部插入方式无法模拟信号断路(高阻态)下的故障模式,仍然只能采用人工断开产品内部通路的方法进行测试。4. It is impossible to simulate the failure mode of the signal disconnection (high resistance state) through the external insertion method, and it is still only possible to manually disconnect the internal path of the product for testing.
发明内容Contents of the invention
本发明的目的在于克服现有技术可操作性较差、测试效率低、测试效果不准确、以及无法模拟信号断路(高阻态)下的故障模式的缺陷,从而提供一种产品容错测试方法及其故障插入装置。The purpose of the present invention is to overcome the defects of poor operability, low test efficiency, inaccurate test effect and inability to simulate the fault mode under signal disconnection (high impedance state) in the prior art, thereby providing a product fault-tolerant test method and It's a faulty plug-in device.
为解决上述技术问题,本发明的技术方案所提供的产品容错性测试方法在产品内部产生不同类型的故障模拟信号,通过对故障模拟信号进行控制,自动确定故障模拟信号插入类型和插入位置,从而实现模拟产品内部功能单元部分或全部失效。In order to solve the above technical problems, the product fault tolerance test method provided by the technical solution of the present invention generates different types of fault simulation signals inside the product, and automatically determines the insertion type and insertion position of the fault simulation signal by controlling the fault simulation signal, thereby Realize partial or complete failure of internal functional units of simulated products.
所述故障模拟信号由故障插入装置产生,故障模拟信号包括:长高、长低、高阻态、周期脉冲、单脉冲或个数可调的群脉冲信号。The fault simulation signal is generated by the fault insertion device, and the fault simulation signal includes: long high, long low, high impedance state, periodic pulse, single pulse or group pulse signal with adjustable number.
故障插入装置位于芯片内部的信号接口和芯片功能模块之间,并且与芯片信号接口和芯片功能模块之间具有双向信号通路,通过产品内部通讯接口的控制,故障模拟信号能够有选择性地插入芯片的信号接口和芯片功能模块之间的信号流。The fault insertion device is located between the signal interface inside the chip and the chip function module, and has a bidirectional signal path with the chip signal interface and the chip function module. Through the control of the internal communication interface of the product, the fault analog signal can be selectively inserted into the chip The signal flow between the signal interface and the chip function module.
故障插入装置还可以位于可编程逻辑器件中,并且与可编程逻辑器件的信号接口之间具有双向信号通路,通过产品内部通讯接口的控制,故障模拟信号能够有选择性地插入可编程逻辑器件的信号接口和所述芯片信号接口之间的信号流。The fault insertion device can also be located in the programmable logic device, and has a bidirectional signal path with the signal interface of the programmable logic device. Through the control of the internal communication interface of the product, the fault analog signal can be selectively inserted into the programmable logic device. signal flow between the signal interface and the chip signal interface.
故障模拟信号插入的步骤包括:The steps of fault analog signal insertion include:
(1)确定需要插入的故障类型;(1) Determine the type of fault that needs to be inserted;
(2)确定需要插入的故障位置;(2) Determine the fault location that needs to be inserted;
(3)使能故障插入,检查测试对象的工作情况是否符合预期结果,如果不符合则进行相关记录和分析;(3) Enable fault insertion, check whether the working conditions of the test object meet the expected results, and if not, carry out relevant records and analysis;
(4)配置故障插入停止,检查测试对象的工作情况是否符合预期结果,如果不符合则进行相关记录和分析。(4) Configure fault insertion to stop, check whether the working conditions of the test object meet the expected results, and if not, carry out relevant records and analysis.
所述故障插入装置是采用硬件语言的描述方式实现的单元实体。The fault insertion device is a unit entity implemented in a hardware language description manner.
本发明提供的一种故障插入装置,其特征在于包括通信控制模块、故障信号产生模块和故障插入选择模块,通信控制模块分别与故障信号产生模块和故障插入选择模块相连;通信控制模块将相关控制信号传递给故障信号产生模块和故障插入选择模块,以确定故障模拟信号的插入类型和插入位置,从而模拟产品内部功能单元部分或全部失效。A fault insertion device provided by the present invention is characterized in that it includes a communication control module, a fault signal generation module and a fault insertion selection module, and the communication control module is connected to the fault signal generation module and the fault insertion selection module respectively; the communication control module controls the relevant The signal is transmitted to the fault signal generation module and the fault insertion selection module to determine the insertion type and insertion position of the fault analog signal, thereby simulating the failure of some or all of the internal functional units of the product.
所述通信控制模块包括控制信号接口和控制寄存器,CPU控制总线通过控制信号接口对控制寄存器进行读写操作,控制故障信号产生模块产生的故障信号类型以及故障插入选择模块的故障信号插入使能和插入位置。Described communication control module comprises control signal interface and control register, CPU control bus carries out read and write operation to control register through control signal interface, control the fault signal type that fault signal generation module produces and the fault signal insertion enabling and fault insertion selection module of fault signal insert position.
所述控制寄存器包括故障信号产生控制寄存器和故障插入选择控制寄存器;The control registers include a fault signal generation control register and a fault insertion selection control register;
所述故障信号产生控制寄存器包括:The fault signal generation control register includes:
用于控制故障信号产生模块输出故障信号类型的故障类型控制寄存器;A fault type control register for controlling the fault signal generation module to output the fault signal type;
用于控制脉冲宽度的输出脉冲宽度控制寄存器;和an output pulse width control register for controlling the pulse width; and
用于控制脉冲数量的输出脉冲数量控制寄存器;Output pulse number control register for controlling the number of pulses;
所述故障插入选择控制寄存器控制故障插入选择模块的故障信号插入使能和插入位置。The fault insertion selection control register controls the fault signal insertion enable and insertion position of the fault insertion selection module.
所述故障信号产生模块对故障类型控制寄存器的内容进行译码,得到故障信号多路转换器的控制信号,控制多路转换器选通相应的待插入故障信号,并送入故障插入选择模块中。The fault signal generation module decodes the content of the fault type control register to obtain the control signal of the fault signal multiplexer, controls the multiplexer to gate the corresponding fault signal to be inserted, and sends it to the fault insertion selection module .
所述故障插入选择模块对故障插入选择控制寄存器的内容进行译码,产生选择控制信号,控制故障信号的插入位置和故障信号的插入和恢复。The fault insertion selection module decodes the content of the fault insertion selection control register to generate a selection control signal to control the insertion position of the fault signal and the insertion and recovery of the fault signal.
所述故障信号产生模块直接采用芯片的工作时钟,或利用芯片和可编程逻辑器件多余管脚从外部引入时钟产生各种类型的故障模拟信号。The fault signal generation module directly adopts the working clock of the chip, or uses the extra pins of the chip and the programmable logic device to introduce clocks from the outside to generate various types of fault analog signals.
本发明的优点在于,通过在产品内部设置故障插入装置,从而在产品内部实现长高、长低、高阻态、脉冲信号、周期信号等全面的故障信号产生和插入,模拟产品内部单元部分失效或全部失效,可以进行产品容错的在线测试,为故障信号类型的控制和插入提供了简单、方便的控制接口,提高了容错性测试的自动化测试程度,进而从整体上提高容错类可靠性测试效率和降低测试成本。The advantage of the present invention is that by installing a fault insertion device inside the product, comprehensive fault signal generation and insertion such as long height, long low, high impedance state, pulse signal, and periodic signal are realized inside the product, simulating partial failure of internal units of the product or all failures, the online test of product fault tolerance can be carried out, which provides a simple and convenient control interface for the control and insertion of fault signal types, improves the automation test degree of fault tolerance test, and then improves the efficiency of fault tolerance reliability test as a whole and reduce testing costs.
附图说明Description of drawings
图1为故障插入装置在芯片内部嵌入的示意框图;FIG. 1 is a schematic block diagram of a fault insertion device embedded in a chip;
图2为通过可编程逻辑器件实现专用芯片故障插入测试的示意框图;Fig. 2 is the schematic block diagram that realizes special-purpose chip fault insertion test by programmable logic device;
图3为故障插入装置的接口示意图;Fig. 3 is a schematic diagram of the interface of the fault insertion device;
图4为故障插入装置的结构框图;Fig. 4 is a structural block diagram of a fault insertion device;
图5为故障信号的类型图;Fig. 5 is the type diagram of fault signal;
图6为故障信号产生模块的结构框图;Fig. 6 is the structural block diagram of fault signal generation module;
图7为故障插入选择模块的结构框图;Fig. 7 is the structural block diagram of fault insertion selection module;
图8为故障插入操作流程图。Figure 8 is a flow chart of the fault insertion operation.
具体实施方式Detailed ways
如图1所示,我们在产品内部的可编程芯片或自行设计的专用芯片内部嵌入一个故障信号插入单元,需要进行故障插入的信号由该模块处理后再接到相应功能单元,该故障单元可对芯片接口的输入输出信号和芯片内部功能模块间的信号进行故障插入处理,但并不限制于在芯片I/O管脚处使用,也可用于芯片内部信号故障的插入,如芯片的内部模块A和内部模块B间接口信号的故障插入,也可用于模拟芯片内部如锁相环、业务处理模块、CPU通信控制模块等芯片部分功能模块的失效。As shown in Figure 1, we embed a fault signal insertion unit in the programmable chip inside the product or a dedicated chip designed by ourselves. The signal that needs to be inserted into the fault is processed by this module and then connected to the corresponding functional unit. Fault insertion processing is performed on the input and output signals of the chip interface and the signals between the internal functional modules of the chip, but it is not limited to use at the I/O pins of the chip, and can also be used for the insertion of internal signal faults of the chip, such as the internal modules of the chip The fault insertion of the interface signal between A and internal module B can also be used to simulate the failure of some functional modules of the chip, such as phase-locked loop, business processing module, CPU communication control module, etc. inside the chip.
如图2所示,对于不能直接嵌入故障插入装置的芯片,我们可以将其接口信号引入可编程逻辑器件,在可编程逻辑器件中实现对其故障插入。As shown in Figure 2, for chips that cannot be directly embedded in fault insertion devices, we can introduce their interface signals into programmable logic devices, and implement fault insertion in programmable logic devices.
故障插入装置与芯片的信号接口和芯片功能模块之间具有双向信号通路,通过产品内部CPU控制接口的控制,可以将故障模拟信号有选择性地插入芯片的信号接口和芯片功能模块之间的信号流,也就是说,故障插入装置可以任意选择在向芯片功能处理模块方向的芯片管脚输入信号,或向芯片外部接口方向的芯片管脚输出信号,以及芯片内部功能模块A和功能模块B间的内部接口信号上插入故障信号。故障插入装置目前采用VHDL和Verilog HDL等硬件语言的描述方式,嵌入在可编程逻辑芯片或自行设计的芯片中产生单元实体。There is a two-way signal path between the fault insertion device and the signal interface of the chip and the chip function module. Through the control of the internal CPU control interface of the product, the fault analog signal can be selectively inserted into the signal between the signal interface of the chip and the chip function module. That is to say, the fault insertion device can arbitrarily choose to input signals to the chip pins in the direction of the chip function processing module, or output signals to the chip pins in the direction of the external interface of the chip, and between the internal function module A and the function module B of the chip. The fault signal is inserted on the internal interface signal of the Fault insertion devices are currently described in hardware languages such as VHDL and Verilog HDL, and are embedded in programmable logic chips or self-designed chips to generate unit entities.
如图3所示,故障插入装置接口包括:As shown in Figure 3, the fault insertion device interface includes:
(1)地址/数据输入总线,片选和读写控制等CPU控制总线。(1) Address/data input bus, CPU control bus such as chip selection and read and write control.
(2)工作时钟信号输入。(2) Working clock signal input.
(3)待插入故障信号输入。(3) To be inserted into the fault signal input.
(4)经故障处理单元处理后的信号输出。(4) The signal output after being processed by the fault processing unit.
由故障插入装置控制是将原信号送出,或在信号上插入模拟的故障信号。Controlled by the fault insertion device is to send out the original signal, or insert a simulated fault signal on the signal.
如图4所示,故障插入装置包括通信控制模块,故障信号产生模块和故障插入选择模块等部分。As shown in Figure 4, the fault insertion device includes a communication control module, a fault signal generation module, and a fault insertion selection module.
通信控制模块部分包括地址、数据总线和片选、读写控制等CPU控制信号接口和故障信号产生控制寄存器、故障插入选择控制等控制寄存器。该部分可等同看待为产品内部的一个功能组成部分,通过直接使用产品内部芯片的通信接口,可对故障插入装置内部控制寄存器进行读写操作。通过对故障插入装置内部控制寄存器的内容控制,实现对故障信号产生模块产生的故障信号类型控制,以及实现对故障插入选择模块故障信号插入是否使能和插入位置的控制。The communication control module part includes address, data bus, chip selection, read and write control and other CPU control signal interfaces, fault signal generation control registers, fault insertion selection control and other control registers. This part can be regarded as a functional component inside the product. By directly using the communication interface of the internal chip of the product, the internal control register of the fault insertion device can be read and written. By controlling the content of the internal control register of the fault insertion device, the type of fault signal generated by the fault signal generation module is controlled, and the fault signal insertion of the fault insertion selection module is enabled and the insertion position is controlled.
如图5所示,故障信号产生模块根据通信控制模块中故障信号产生控制寄存器的内容,控制产生下列各种故障模式:As shown in Figure 5, the fault signal generation module generates the following fault modes according to the content of the fault signal generation control register in the communication control module:
(1)电平长高;(1) The level is high;
(2)电平长低;(2) The level is long and low;
(3)信号线高阻态;(3) The high-impedance state of the signal line;
(4)脉宽可调周期脉冲信号;(4) Periodic pulse signal with adjustable pulse width;
(5)脉宽可调的单脉冲信号;(5) Single pulse signal with adjustable pulse width;
(6)个数可调、脉冲宽度可调的群脉冲信号。(6) A group pulse signal with adjustable number and adjustable pulse width.
如图6和图7所示,故障信号产生模块直接可以采用芯片的工作时钟,或利用芯片和可编程逻辑器件多余管脚从外部引入时钟,并可在内部对其进行分频,其产生的脉冲宽度变化范围可以方便的根据需要进行设置。故障信号产生控制寄存器包括故障类型控制寄存器、输出脉冲宽度和输出数量控制寄存器。通过对故障类型控制寄存器译码控制选通相应的待插入故障信号。在输出脉冲类信号时,输出脉冲宽度和输出数量控制寄存器控制脉冲的宽度和脉冲的个数。故障信号产生模块将产生的故障信号送到故障插入选择模块中的多路转换器(MUX)的一端,由故障插入选择模块控制是否在接口信号上插入故障信号。As shown in Figure 6 and Figure 7, the fault signal generation module can directly use the working clock of the chip, or use the redundant pins of the chip and the programmable logic device to introduce the clock from the outside, and divide it internally. The pulse width variation range can be conveniently set as required. The fault signal generation control register includes fault type control register, output pulse width and output quantity control register. The corresponding fault signal to be inserted is controlled and selected by decoding the fault type control register. When outputting a pulse signal, the output pulse width and output quantity control register controls the width of the pulse and the number of pulses. The fault signal generation module sends the generated fault signal to one end of the multiplexer (MUX) in the fault insertion selection module, and the fault insertion selection module controls whether to insert the fault signal on the interface signal.
故障插入选择模块根据CPU通信控制接口中故障插入选择控制寄存器的内容,译码产生选择控制信号,送到接口上的多路转换器的控制端上,决定故障信号的插入位置以及接口信号上输出原信号或是故障信号,从而实现故障信号的插入和恢复。The fault insertion selection module decodes the content of the fault insertion selection control register in the CPU communication control interface to generate a selection control signal, which is sent to the control terminal of the multiplexer on the interface to determine the insertion position of the fault signal and output on the interface signal The original signal or the fault signal, so as to realize the insertion and restoration of the fault signal.
如此我们就可以通过写故障插入装置内部寄存器的方式,很方便的实现芯片接口的故障插入,如图8所示,其操作步骤如下:In this way, we can easily realize the fault insertion of the chip interface by writing the internal register of the fault insertion device, as shown in Figure 8, and the operation steps are as follows:
1、配置好测试环境,准备测试。此时产品处于正常工作状态,业务正常。1. Configure the test environment and prepare for the test. At this time, the product is in normal working condition and the business is normal.
2、通过待插入故障芯片的CPU控制接口,和故障插入装置通信控制模块进行信息传递,将相关设置信息写入故障插入装置内部故障插入选择模块的故障插入选择控制寄存器,配置好需要插入的故障位置,即在那个信号上进行故障插入。2. Through the CPU control interface of the chip to be inserted into the fault, and the communication control module of the fault insertion device, the relevant setting information is written into the fault insertion selection control register of the internal fault insertion selection module of the fault insertion device, and the fault to be inserted is configured. position, that is, on which signal to perform fault insertion.
3、通过待插入故障芯片的CPU控制接口,和故障插入装置通信控制模块进行信息传递,将相关设置信息写入故障插入装置内部故障信号产生模块的故障信号产生控制寄存器,配置好需要插入的故障类型(高、低、高阻、脉冲等)。如果插入脉冲故障信号的话,同时还需要配置故障信号产生模块的脉冲高低电平宽度控制寄存器,脉冲数量控制寄存器。3. Through the CPU control interface of the faulty chip to be inserted and the communication control module of the fault insertion device, information is transmitted, and the relevant setting information is written into the fault signal generation control register of the internal fault signal generation module of the fault insertion device, and the fault to be inserted is configured. Type (High, Low, Hi-Z, Pulse, etc.). If a pulse fault signal is inserted, it is also necessary to configure the pulse high and low level width control register and pulse quantity control register of the fault signal generation module.
4、通过待插入故障芯片的CPU控制接口,和故障插入装置通信控制模块进行信息传递,将相关设置信息写入故障插入装置内部故障插入选择模块的故障插入选择控制寄存器,使能故障插入。4. Through the CPU control interface of the fault chip to be inserted and the communication control module of the fault insertion device, information is transmitted, and the relevant setting information is written into the fault insertion selection control register of the internal fault insertion selection module of the fault insertion device to enable fault insertion.
5、检查测试对象工作情况是否符合预期结果,不符合的话进行相关记录和分析。5. Check whether the working condition of the test object meets the expected results, and if it does not meet the relevant records and analysis.
6、通过待插入故障芯片的CPU控制接口,和故障插入装置通信控制模块进行信息传递,将相关设置信息写入故障插入装置内部故障插入选择模块的故障插入选择控制寄存器,停止故障插入。如果插入的是脉冲故障信号的话,脉冲输出完成后将自动停止故障插入。6. Through the CPU control interface of the faulty chip to be inserted and the communication control module of the fault insertion device, information is transmitted, and the relevant setting information is written into the fault insertion selection control register of the internal fault insertion selection module of the fault insertion device, and the fault insertion is stopped. If the pulse fault signal is inserted, the fault insertion will be stopped automatically after the pulse output is completed.
7、检查测试对象工作情况是否符合预期结果,不符合的话进行相关记录和分析。7. Check whether the working condition of the test object meets the expected results, and if it does not meet the relevant records and analysis.
8、继续测试的话,重复1-7步骤,进行下一个故障插入测试。8. To continue the test, repeat steps 1-7 to perform the next fault insertion test.
从上述对本发明的具体描述可以看出,通过本发明的方法可以提高单板的可测性,丰富容错性测试方法,为容错测试提供了一种简单、功能强大的在线故障插入手段,可完成以下多种类型信号故障的模拟,As can be seen from the above detailed description of the present invention, the method of the present invention can improve the testability of the single board, enrich the fault tolerance test method, and provide a simple and powerful online fault insertion means for the fault tolerance test, which can complete Simulation of various types of signal faults as follows,
(1)信号线长高;(1) The length and height of the signal line;
(2)信号线长低;(2) The length of the signal line is low;
(3)信号线断路(高阻);(3) The signal line is disconnected (high resistance);
(4)信号线单脉冲插入;(4) Signal line single pulse insertion;
(5)信号线群脉冲信号插入;(5) Signal line group pulse signal insertion;
(6)信号线状态连续振荡;(6) The state of the signal line oscillates continuously;
从而完成产品内部芯片、功能单元部分失效或全部失效故障模拟,不需要额外的错误信号发生单元,降低了成本;插入的故障微观可控,可重复性好,可以保证插入预期的错误信号,每次插入的故障信号一致。能很好的解决外部人工故障插入时控制精度低,故障信号一致性不好,信号线状态和预期不一致(如时钟信号无法完全拉低)等问题。提高了测试效果;可操作性好,无需摆放探针和焊接等人工操作,提高了测试效率;使用方便,软件通过故障插入装置的CPU接口实现对故障插入装置模块的控制,可以任意指定对哪个信号进行故障插入,插入的故障类型,插入的故障持续时间,封装好的测试项目可以很好的融入自动化测试;故障插入装置模块的可移植性好,其内部一个核心错误信号产生模块,产生的信号可以供所有管脚共享,占用资源很少,与单板以及逻辑本身实现的功能无关,只要单板内部芯片具有CPU接口,就可以采用本方法。In this way, the failure simulation of partial failure or complete failure of internal chips and functional units of the product is completed, and no additional error signal generation unit is required, which reduces the cost; the inserted fault is microscopically controllable and has good repeatability, which can ensure that the expected error signal is inserted every time The fault signal of the second insertion is consistent. It can well solve the problems of low control accuracy when external manual faults are inserted, poor consistency of fault signals, inconsistent signal line status and expectations (such as clock signals cannot be completely pulled down), etc. The test effect is improved; the operability is good, there is no need for manual operations such as placing probes and welding, and the test efficiency is improved; it is easy to use, and the software realizes the control of the fault insertion device module through the CPU interface of the fault insertion device. Which signal is used for fault insertion, the type of fault inserted, the duration of the fault inserted, and the packaged test items can be well integrated into automated testing; the fault insertion device module has good portability, and a core error signal generation module inside it, which generates The signal can be shared by all pins, occupies very little resources, and has nothing to do with the functions realized by the board and the logic itself. As long as the internal chip of the board has a CPU interface, this method can be used.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2005100724362A CN100439930C (en) | 2005-05-11 | 2005-05-11 | Product Fault Tolerance Test Method and Fault Insertion Device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2005100724362A CN100439930C (en) | 2005-05-11 | 2005-05-11 | Product Fault Tolerance Test Method and Fault Insertion Device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1862266A true CN1862266A (en) | 2006-11-15 |
| CN100439930C CN100439930C (en) | 2008-12-03 |
Family
ID=37389737
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2005100724362A Expired - Fee Related CN100439930C (en) | 2005-05-11 | 2005-05-11 | Product Fault Tolerance Test Method and Fault Insertion Device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100439930C (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009127160A1 (en) * | 2008-04-17 | 2009-10-22 | 华为技术有限公司 | Disaster-tolerant testing method, apparatus and server |
| CN102832791A (en) * | 2011-06-15 | 2012-12-19 | 电力集成公司 | Method and apparatus for programming power converter controller with external programming terminal |
| CN110632408A (en) * | 2018-06-25 | 2019-12-31 | 北京天诚同创电气有限公司 | Electronic equipment testing method and device for simulating power grid fault |
| CN117539703A (en) * | 2024-01-10 | 2024-02-09 | 长城信息股份有限公司 | Memory bank anti-reverse-insertion device and method |
| CN118075315A (en) * | 2024-04-22 | 2024-05-24 | 南京仁芯科技有限公司 | Vehicle-mounted SerDes chip, vehicle-mounted data transmission system including same, and vehicle |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI463153B (en) * | 2012-03-30 | 2014-12-01 | Atomic Energy Council | Triple-redundant failure auto-detector of analog output module |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4875209A (en) * | 1988-04-04 | 1989-10-17 | Raytheon Company | Transient and intermittent fault insertion |
| US6108807A (en) * | 1997-07-28 | 2000-08-22 | Lucent Technologies Inc. | Apparatus and method for hybrid pin control of boundary scan applications |
| CN1231768C (en) * | 2002-04-08 | 2005-12-14 | 华为技术有限公司 | Signal fault injection machine |
| CN1192525C (en) * | 2002-04-08 | 2005-03-09 | 华为技术有限公司 | Multi-function fault implanting machine |
| CN1230885C (en) * | 2002-05-28 | 2005-12-07 | 华为技术有限公司 | Fault-telerance method and system of testing chip for boundary scanning |
| CN100406899C (en) * | 2003-05-10 | 2008-07-30 | 华为技术有限公司 | A power simulation device for testing |
-
2005
- 2005-05-11 CN CNB2005100724362A patent/CN100439930C/en not_active Expired - Fee Related
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009127160A1 (en) * | 2008-04-17 | 2009-10-22 | 华为技术有限公司 | Disaster-tolerant testing method, apparatus and server |
| CN101262370B (en) * | 2008-04-17 | 2011-09-14 | 华为技术有限公司 | Disaster tolerance rehearsal method, device and server |
| CN102832791A (en) * | 2011-06-15 | 2012-12-19 | 电力集成公司 | Method and apparatus for programming power converter controller with external programming terminal |
| US9287786B2 (en) | 2011-06-15 | 2016-03-15 | Power Integrations, Inc. | Method and apparatus for programming a power converter controller with an external programming terminal having multiple functions |
| CN110632408A (en) * | 2018-06-25 | 2019-12-31 | 北京天诚同创电气有限公司 | Electronic equipment testing method and device for simulating power grid fault |
| CN117539703A (en) * | 2024-01-10 | 2024-02-09 | 长城信息股份有限公司 | Memory bank anti-reverse-insertion device and method |
| CN117539703B (en) * | 2024-01-10 | 2024-04-23 | 长城信息股份有限公司 | Memory bank anti-reverse-insertion device and method |
| CN118075315A (en) * | 2024-04-22 | 2024-05-24 | 南京仁芯科技有限公司 | Vehicle-mounted SerDes chip, vehicle-mounted data transmission system including same, and vehicle |
Also Published As
| Publication number | Publication date |
|---|---|
| CN100439930C (en) | 2008-12-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6247147B1 (en) | Enhanced embedded logic analyzer | |
| US6286114B1 (en) | Enhanced embedded logic analyzer | |
| US8281280B2 (en) | Method and apparatus for versatile controllability and observability in prototype system | |
| US8607174B2 (en) | Verification module apparatus to serve as a prototype for functionally debugging an electronic design that exceeds the capacity of a single FPGA | |
| CN101191819B (en) | FPGA, FPGA configuration, debugging system and method | |
| CN100351638C (en) | Boundary scan testing device for integrated circuit | |
| CN1818912A (en) | Scalable reconfigurable prototyping system and method | |
| US10678976B2 (en) | Generic protocol analyzer for circuit design verification | |
| US10203371B2 (en) | Methods and systems for generating functional test patterns for manufacture test | |
| US20220120811A1 (en) | High-speed functional protocol based test and debug | |
| CN112349336B (en) | Memory testing device | |
| CN105760612A (en) | Assertion detection device, method, system and chip for post-silicon chip verification | |
| CN114624564B (en) | Portable chip testing method and device based on FPGA | |
| CN112698994A (en) | Partial bit stream read-back technology for FPGA internal resource test | |
| CN1862266A (en) | Method for testing product fault-tolerant performance and fault inserting device thereof | |
| CN1230885C (en) | Fault-telerance method and system of testing chip for boundary scanning | |
| US9946624B1 (en) | Systems and methods to capture data signals from a dynamic circuit | |
| US20120060140A1 (en) | Methods and Apparatus For Single Testing Stimulus | |
| EP1233341B1 (en) | Embedded logic analyser | |
| Gruwell et al. | High-speed programmable FPGA configuration through JTAG | |
| CN103163451B (en) | Super computing system oriented self-gating boundary scan test method and device | |
| CN107526585B (en) | Scala-based FPGA development platform and its debugging and testing methods | |
| US7188277B2 (en) | Integrated circuit | |
| CN115292760A (en) | Chip verification system, method and computer readable storage medium | |
| CN115421020A (en) | A method for generating and testing an integrated circuit test signal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081203 Termination date: 20160511 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |