[go: up one dir, main page]

CN109581194B - A Dynamic Generation Method of Electronic System Fault Testing Strategy - Google Patents

A Dynamic Generation Method of Electronic System Fault Testing Strategy Download PDF

Info

Publication number
CN109581194B
CN109581194B CN201811550191.3A CN201811550191A CN109581194B CN 109581194 B CN109581194 B CN 109581194B CN 201811550191 A CN201811550191 A CN 201811550191A CN 109581194 B CN109581194 B CN 109581194B
Authority
CN
China
Prior art keywords
fault
cost
node
updated
measuring point
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.)
Active
Application number
CN201811550191.3A
Other languages
Chinese (zh)
Other versions
CN109581194A (en
Inventor
刘震
梅文娟
杜立
杨成林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201811550191.3A priority Critical patent/CN109581194B/en
Publication of CN109581194A publication Critical patent/CN109581194A/en
Application granted granted Critical
Publication of CN109581194B publication Critical patent/CN109581194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

本发明公开了一种电子系统故障测试策略动态生成方法,根据静态生成的搜索树和动态测试测点或故障的改变量,进行动态修改搜索树中节点搜索策略的代价,更新搜索策略中各个故障模糊集的最优测点,进而快速更新诊断树,得到优化测试方案,这样提高了整体测试的优化效率,降低搜索次数。

Figure 201811550191

The invention discloses a method for dynamically generating a fault test strategy of an electronic system. According to the statically generated search tree and the change amount of dynamic test points or faults, the cost of the node search strategy in the search tree is dynamically modified, and each fault in the search strategy is updated. The optimal test point of the fuzzy set is then quickly updated to obtain an optimized test plan, which improves the optimization efficiency of the overall test and reduces the number of searches.

Figure 201811550191

Description

一种电子系统故障测试策略动态生成方法A Dynamic Generation Method of Electronic System Fault Testing Strategy

技术领域technical field

本发明属于电路故障诊断技术领域,更为具体地讲,涉及一种电子系统故障测试策略动态生成方法。The invention belongs to the technical field of circuit fault diagnosis, and more particularly, relates to a dynamic generation method of an electronic system fault test strategy.

背景技术Background technique

随着电子技术的日益发展,电子系统的可测试性设计成为电子设计领域的重要组成部分。其中,及时准确地确定电路状态并隔离内部故障可以有效地缩短电子系统的研制、实验和发布时间。因此,故障测试方案设计在实际应用中具有重要的意义。With the development of electronic technology, the testability design of electronic system has become an important part in the field of electronic design. Among them, timely and accurate determination of circuit status and isolation of internal faults can effectively shorten the development, experiment and release time of electronic systems. Therefore, the design of fault test scheme is of great significance in practical applications.

现有的故障测试方案设计方法中,序贯测试基于初步设计给出的信号流图和相关性模型描述的电路关系,给出测试序列测试方法,减小测试产生的代价,可以有效地提高后期设计和验证评估的效率,因此,该技术被广泛应用于电子系统的可测性设计。In the existing fault test scheme design method, the sequential test is based on the signal flow diagram given by the preliminary design and the circuit relationship described by the correlation model, and the test sequence test method is given, which reduces the cost of the test and can effectively improve the later stage. Efficiency of design and verification evaluations, therefore, this technique is widely used in the design of electronic systems for testability.

然而在实际测试过程中,测试结果可能会导致故障传播模型的改变,对测试流程产生影响,因此动态测试优化方法在序贯测试的研究中具有极高的实际价值。However, in the actual test process, the test results may lead to the change of the fault propagation model and affect the test process. Therefore, the dynamic test optimization method has extremely high practical value in the research of sequential test.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于克服现有技术的不足,提供一种电子系统故障测试策略动态生成方法,基于电子系统的故障依赖信息及静态搜索策略生成动态状态下的故障诊断方法,具有优化策略代价小,搜索速度快等特点。The purpose of the present invention is to overcome the deficiencies of the prior art, and to provide a method for dynamically generating a fault test strategy for an electronic system, which generates a fault diagnosis method in a dynamic state based on the fault dependency information of the electronic system and a static search strategy, and has the advantages of low optimization strategy cost, Features such as fast search speed.

为实现上述发明目的,本发明提出并实现了一种电子系统故障测试策略动态生成方法,其特征在于,包括以下步骤:In order to achieve the above-mentioned purpose of the invention, the present invention proposes and implements a method for dynamically generating an electronic system fault test strategy, which is characterized in that it includes the following steps:

(1)、构建测试模型(1), build a test model

根据电路内部故障状态与电路中测点输出的关系,构建电路的测试模型H={D,C,P},其中,C={c1,c2,…,ci,…cM}为电路中设置的测点对应的代价构成的矩阵,ci表示电路中第i个测点的先验测试代价,M为可选测点总数;P={p1,p2,…,pj,…,pN}为电路系统中各个故障状态发生概率形成的矩阵,pj为第j个故障状态发生的概率,N为故障状态总数;D为故障依赖矩阵,具体表示为:According to the relationship between the internal fault state of the circuit and the output of the measuring points in the circuit, the test model H={D,C,P} of the circuit is constructed, where C={c 1 ,c 2 ,...,ci ,...c M } is The matrix formed by the cost corresponding to the test points set in the circuit, c i represents the a priori test cost of the i-th test point in the circuit, M is the total number of optional test points; P={p 1 ,p 2 ,...,p j ,...,p N } is the matrix formed by the probability of occurrence of each fault state in the circuit system, p j is the probability of occurrence of the jth fault state, N is the total number of fault states; D is the fault dependency matrix, specifically expressed as:

Figure BDA0001910439820000021
Figure BDA0001910439820000021

其中,dij表示第j个电路故障在第i个测点下的测试信息,dij的取值为0或1,dij=1表示第j个电路故障可以通过第i个测点测出,dij=0代表第j个故障不能通过第i个测点测出;Among them, d ij represents the test information of the j-th circuit fault at the i-th measuring point, the value of d ij is 0 or 1, and d ij =1 indicates that the j-th circuit fault can be detected by the i-th measuring point , d ij =0 means that the jth fault cannot be detected by the ith measuring point;

(2)、构建初始的搜索树(2), build the initial search tree

通过静态的启发式搜索方法构建初始的搜索树T={T1,T2,…,Tp,…,TP},其中,Tp代表搜索树中的第p个节点,T1为搜索树的根节点,P为搜索树中的节点总数;An initial search tree T={T 1 ,T 2 ,…,T p ,…,T P } is constructed by a static heuristic search method, where T p represents the p-th node in the search tree, and T 1 is the search tree. The root node of the tree, P is the total number of nodes in the search tree;

对于搜索树中的节点Tp,有Tp={Sr,topt,Costava,S0,S1},其中,Sr为节点的故障模糊集,Sr={sr1,sr2,…,srj,…,srM},srj为故障模糊集中包含的故障状态;topt为搜索树中的最优测点;tava={tava1,tava2,…,tavai,…,tavaL}为Sr对应的有效测点构成的集合,tavai为有效分离Sr的测点,L为有效测点个数;Costava={Costava1,Costava2,…,Costavai,…,CostavaL}为对应有效测点生成的测试方法代价,Costavai为对应有效测点tavai生成的测试方法的代价;S0和S1为根据topt分割Sr得到的子故障模糊集,其定义为:For a node T p in the search tree, there is T p ={S r ,t opt ,Cost ava ,S 0 ,S 1 }, where S r is the faulty fuzzy set of the node, S r ={s r1 ,s r2 ,…,s rj ,…,s rM }, s rj is the fault state contained in the fault fuzzy set; to opt is the optimal measurement point in the search tree; t ava ={t ava1 ,t ava2 ,…,t avai , ...,t avaL } is the set of valid measurement points corresponding to S r , t avai is the measurement point that effectively separates S r , and L is the number of valid measurement points; Cost ava = {Cost ava1 ,Cost ava2 ,...,Cost avai ,...,Cost avaL } is the cost of the test method generated by the corresponding valid measurement point, Cost avai is the cost of the test method generated by the corresponding valid measurement point t avai ; S 0 and S 1 are the sub-fault fuzzy obtained by dividing S r according to to opt set, which is defined as:

Figure BDA0001910439820000022
Figure BDA0001910439820000022

Figure BDA0001910439820000023
Figure BDA0001910439820000023

(3)、读入更新的测点

Figure BDA0001910439820000024
及该测点对应的代价变化量
Figure BDA0001910439820000025
或该测得对应的更新故障状态
Figure BDA0001910439820000026
及故障概率
Figure BDA0001910439820000027
(3), read in the updated measuring point
Figure BDA0001910439820000024
and the cost change corresponding to the measurement point
Figure BDA0001910439820000025
or the update fault state corresponding to this measurement
Figure BDA0001910439820000026
and failure probability
Figure BDA0001910439820000027

(4)、将搜索树的根节点T1作为更新过程的初始节点,将根节点的故障模糊集Sr作为搜索树中待更新节点的目标模糊集S;(4), take the root node T 1 of the search tree as the initial node of the update process, and take the fault fuzzy set S r of the root node as the target fuzzy set S of the node to be updated in the search tree;

(5)、根据故障依赖矩阵更新故障树(5), update the fault tree according to the fault dependency matrix

(5.1)、判断待更新节点的有效测点集合tava是否包含更新的测点

Figure BDA0001910439820000028
若tava中包含更新的测点
Figure BDA0001910439820000029
则进行步骤(5.2),否则跳至步骤(6);(5.1), determine whether the valid measurement point set tava of the node to be updated contains updated measurement points
Figure BDA0001910439820000028
If t ava contains updated measuring points
Figure BDA0001910439820000029
Then go to step (5.2), otherwise skip to step (6);

(5.2)、判断待更新节点当前的最优测点topt是否为更新的测点

Figure BDA0001910439820000031
若toptt为更新的测点
Figure BDA0001910439820000032
则进入步骤(5.3);否则跳至步骤(5.6);(5.2), determine whether the current optimal measurement point t opt of the node to be updated is the updated measurement point
Figure BDA0001910439820000031
If t optt is the updated measuring point
Figure BDA0001910439820000032
Then go to step (5.3); otherwise, skip to step (5.6);

(5.3)、更新最优测点topt的故障策略的总代价

Figure BDA0001910439820000033
(5.3), the total cost of updating the fault strategy of the optimal measurement point to opt
Figure BDA0001910439820000033

Figure BDA0001910439820000034
Figure BDA0001910439820000034

其中,pi为故障状态si对应的概率;Among them, pi is the probability corresponding to the fault state si ;

(5.4)、更新除最优测点topt外其余有效测点生成的故障策略代价;(5.4), update the fault strategy cost generated by the other valid measurement points except the optimal measurement point to opt ;

(5.4.1)、设有效测点t'为tava中的第一个有效测点;(5.4.1), set the effective measuring point t' as the first effective measuring point in tava ;

(5.4.2)、若t'是当前最优测点topt,则进行步骤(5.4.7);否则,根据t'的故障依赖信息,将故障集S分离为左子故障集St',0和右子故障集St',1:(5.4.2), if t' is the current optimal measurement point tot , go to step (5.4.7); otherwise, according to the fault dependency information of t', separate the fault set S into the left sub fault set S t' ,0 and the right sub-fault set S t',1 :

St',0={sj|djt'=0}S t',0 ={s j |d jt' =0}

St',1={sj|djt'=1}S t',1 ={s j |d jt' =1}

(5.4.3)、在搜索树中找到故障集为St',0对应的左子节点,将该节点作为待更新节点,然后按照步骤(5.1)~(5.3)所述方法计算出左子节点对应的最优解代价Costt',0;(5.4.3), find the left child node corresponding to the fault set S t',0 in the search tree, take this node as the node to be updated, and then calculate the left child according to the methods described in steps (5.1) to (5.3). The optimal solution cost corresponding to the node is Costt', 0;

(5.4.4)、在搜索树中找到故障集为St',1对应的右子节点,将该节点作为待更新节点,然后按照步骤(5.1)~(5.3)所述方法计算出右子节点对应的最优解代价Costt',1;(5.4.4), find the right child node corresponding to the fault set S t',1 in the search tree, take this node as the node to be updated, and then calculate the right child according to the methods described in steps (5.1) to (5.3). The optimal solution cost Costt', 1 corresponding to the node;

(5.4.5)、更新t'关于故障集S生成的最优解代价:(5.4.5), update t' with regard to the optimal solution cost generated by the fault set S:

Figure BDA0001910439820000035
Figure BDA0001910439820000035

(5.4.6)、判断tava中所有测点对应代价是否均被更新,若全部更新,则进入步骤(5.5);否则将t'设置为tava中下一个待更新的有效测点,再返回步骤(5.4.2);(5.4.6), determine whether the corresponding costs of all measuring points in t ava are updated, if all are updated, go to step (5.5); otherwise, set t' as the next valid measuring point to be updated in t ava , and then Return to step (5.4.2);

(5.5)、将Costava中最小值对应的测点记为新的最优测点topt,并将其对应的左子模糊集和右子模糊集设置为搜索树中该节点的左子模糊集S0和右子模糊集S1,然后进入步骤(6);(5.5), record the measurement point corresponding to the minimum value in Cost ava as the new optimal measurement point tot , and set its corresponding left sub-fuzzy set and right sub-fuzzy set as the left sub-fuzzy set of the node in the search tree Set S 0 and right sub-fuzzy set S 1 , then enter step (6);

(5.6)、更新代价变化的测点

Figure BDA0001910439820000036
对应的故障诊断总代价:(5.6), update the measuring points of the cost change
Figure BDA0001910439820000036
The corresponding total cost of fault diagnosis:

Figure BDA0001910439820000037
Figure BDA0001910439820000037

其中,

Figure BDA0001910439820000038
Figure BDA0001910439820000039
的初始代价,
Figure BDA00019104398200000310
Figure BDA00019104398200000311
分别为左子故障集和右子故障集的测试代价;in,
Figure BDA0001910439820000038
for
Figure BDA0001910439820000039
the initial cost of
Figure BDA00019104398200000310
and
Figure BDA00019104398200000311
are the test costs of the left sub-fault set and the right sub-fault set, respectively;

(5.7)、更新除代价变化测点外的其余有效测点生成的故障策略代价;(5.7), update the fault strategy cost generated by the remaining valid measurement points except the cost change measurement point;

(5.7.1)、设有效测点t'为tava中的第一个有效测点;(5.7.1), set the effective measuring point t' as the first effective measuring point in tava ;

(5.7.2)、若t'是

Figure BDA0001910439820000044
则进行步骤(5.7.6);否则,根据t'的故障依赖信息,将故障集S分离为左子故障集St',0和右子故障集St',1:(5.7.2), if t' is
Figure BDA0001910439820000044
Then go to step (5.7.6); otherwise, according to the fault dependency information of t', the fault set S is separated into the left sub-fault set S t',0 and the right sub-fault set S t',1 :

St',0={sj|djt'=0}S t',0 ={s j |d jt' =0}

St',1={sj|djt'=1}S t',1 ={s j |d jt' =1}

(5.7.3)、在搜索树中找到故障集为St',0对应的左子节点,将该节点作为待更新节点,然后按照步骤(5.1)~(5.3)所述方法计算出左子节点对应的最优解代价Costt',0;(5.7.3), find the left child node corresponding to the fault set S t',0 in the search tree, take this node as the node to be updated, and then calculate the left child according to the methods described in steps (5.1) to (5.3). The optimal solution cost corresponding to the node is Costt', 0;

(5.7.4)、在搜索树中找到故障集为St',1对应的右子节点,将该节点作为待更新节点,然后按照步骤(5.1)~(5.3)所述方法计算出右子节点对应的最优解代价Costt',1;(5.7.4), find the right child node corresponding to the fault set S t',1 in the search tree, take this node as the node to be updated, and then calculate the right child according to the methods described in steps (5.1) to (5.3). The optimal solution cost Costt', 1 corresponding to the node;

(5.7.5)、更新t'关于故障集S生成的最优解代价:(5.7.5), update the optimal solution cost generated by t' with respect to the fault set S:

Figure BDA0001910439820000041
Figure BDA0001910439820000041

(5.7.6)、判断tava中所有测点对应代价是否均被更新,若全部更新,则进入步骤(5.8);将t'设置为tava中下一个待更新的有效测点,再返回步骤(5.7.2);(5.7.6), determine whether the corresponding costs of all measuring points in t ava are updated, if all are updated, go to step (5.8); set t' as the next valid measuring point to be updated in t ava , and then return step (5.7.2);

(5.8)、将Costava中最小值对应的测点为新的最优测点topt,并将其对应的左子模糊集和右子模糊集设置为搜索树中该节点的左子模糊集S0和右子模糊集S1,然后进入步骤(6);(5.8), take the measurement point corresponding to the minimum value in Cost ava as the new optimal measurement point tot , and set its corresponding left sub-fuzzy set and right sub-fuzzy set as the left sub-fuzzy set of the node in the search tree S 0 and the right sub-fuzzy set S 1 , then enter step (6);

(6)、判断待更新节点的故障集中是否包含更新的故障状态

Figure BDA0001910439820000042
若更新节点的故障集中包含待更新的故障状态
Figure BDA0001910439820000043
则进行步骤(7),否则跳转至步骤(9);(6), determine whether the fault set of the node to be updated contains the updated fault state
Figure BDA0001910439820000042
If the fault set of the update node contains the fault status to be updated
Figure BDA0001910439820000043
Then go to step (7), otherwise jump to step (9);

(7)、更新可用测点tava对应的测试代价(7), update the test cost corresponding to the available measurement point tava

(7.1)、设有效测点t'为tava中的第一个有效测点;(7.1), set the effective measuring point t' as the first effective measuring point in tava ;

(7.2)、根据t'的故障依赖信息,将故障集S分离为左子故障集St',0和右子故障集St',1 (7.2) According to the fault dependency information of t', separate the fault set S into the left sub-fault set S t',0 and the right sub-fault set S t',1

St',0={sj|djt'=0}S t',0 ={s j |d jt' =0}

St',1={sj|djt'=1}S t',1 ={s j |d jt' =1}

(7.3)、在搜索树中找到故障集为St',0对应的左子节点,若St',0中包含更新的故障状态

Figure BDA0001910439820000051
则将该节点作为待更新节点,然后按照步骤(5.1)~(5.3)所述方法计算出左子节点对应的最优解代价Costt',0;否则将搜索树中的左子节点的代价作为最优解代价Costt',0;(7.3), find the left child node corresponding to the fault set S t',0 in the search tree, if S t',0 contains the updated fault state
Figure BDA0001910439820000051
Then take the node as the node to be updated, and then calculate the optimal solution cost Costt', 0 corresponding to the left child node according to the methods described in steps (5.1) to (5.3); otherwise, take the cost of the left child node in the search tree as The optimal solution cost Costt', 0;

(7.4)、在搜索树中找到故障集为St',1对应的右子节点,若St',1中包含更新的故障状态

Figure BDA0001910439820000052
则将该节点作为待更新节点,然后按照步骤(5.1)~(5.3)所述方法计算出右子节点对应的最优解代价Costt',1;否则将搜索树中的左子节点的代价作为最优解代价Costt',1;(7.4) Find the right child node corresponding to the fault set S t',1 in the search tree, if S t',1 contains the updated fault state
Figure BDA0001910439820000052
Then take the node as the node to be updated, and then calculate the optimal solution cost Costt',1 corresponding to the right child node according to the methods described in steps (5.1) to (5.3); otherwise, take the cost of the left child node in the search tree as The optimal solution cost Costt', 1;

(7.5)、更新t'关于故障集S生成的最优解代价:(7.5), update t' to generate the optimal solution cost of fault set S:

Figure BDA0001910439820000053
Figure BDA0001910439820000053

(7.6)、若tava中所有有效测点对应代价均被更新,则进入步骤(8),否则将t'设置为tava的下一个待更新有效测点,再返回步骤(7.2);(7.6), if the corresponding cost of all valid measurement points in t ava is updated, then enter step (8), otherwise set t' to the next valid measurement point to be updated in t ava , and then return to step (7.2);

(8)、更新当前有效节点的最优节点信息及最优代价,更新完成后,将Costava中最小值对应的测点设为新的最优测点topt,并将其对应的左子模糊集和右子模糊集设置为搜索树中该最优测点的左子模糊集S0和右子模糊集;(8) Update the optimal node information and optimal cost of the current effective node. After the update is completed, set the measurement point corresponding to the minimum value in Cost ava as the new optimal measurement point tot , and set the corresponding left child The fuzzy set and the right sub-fuzzy set are set as the left sub-fuzzy set S 0 and the right sub-fuzzy set of the optimal measurement point in the search tree;

(9)、返回当前最优测点的最优节点信息及最优测试代价,从而动态生成电子系统故障测试策略。(9), return the optimal node information and optimal test cost of the current optimal measurement point, so as to dynamically generate the electronic system fault test strategy.

本发明的发明目的是这样实现的:The purpose of the invention of the present invention is achieved in this way:

本发明一种电子系统故障测试策略动态生成方法,根据静态生成的搜索树和动态测试测点或故障的改变量,进行动态修改搜索树中节点搜索策略的代价,更新搜索策略中各个故障模糊集的最优测点,进而快速更新诊断树,得到优化测试方案,这样提高了整体测试的优化效率,降低搜索次数。The present invention is a method for dynamically generating a fault testing strategy of an electronic system. According to the statically generated search tree and the changes of dynamic test points or faults, the cost of the node search strategy in the search tree is dynamically modified, and each fault fuzzy set in the search strategy is updated. The optimal test point is then quickly updated to obtain an optimized test plan, which improves the optimization efficiency of the overall test and reduces the number of searches.

同时,本发明一种电子系统故障测试策略动态生成方法还具有以下有益效果:At the same time, a method for dynamically generating an electronic system fault test strategy of the present invention also has the following beneficial effects:

(1)、本发明根据动态状态下故障模型中的改变量修正静态诊断方法,相比于重新建立诊断树的传统方法能更好地利用静态搜索中得到的先验知识,有效提高生成最优诊断树的效率。(1) The present invention corrects the static diagnosis method according to the change in the fault model in the dynamic state. Compared with the traditional method of rebuilding the diagnosis tree, it can better utilize the prior knowledge obtained in the static search, and effectively improve the generation of optimal Efficiency of diagnostic trees.

(2)、本发明通过在搜索过程中对节点的筛选,避免不受改变量影响的节点的搜索,缩小了搜索的空间,提高了搜索的效率。(2) In the present invention, by screening nodes in the search process, the search of nodes not affected by the change amount is avoided, the search space is reduced, and the search efficiency is improved.

附图说明Description of drawings

图1是本发明一种电子系统故障测试策略动态生成方法流程图;Fig. 1 is a kind of flow chart of the dynamic generation method of electronic system fault test strategy of the present invention;

图2是测点代价改变后通过本发明生成的诊断树;Fig. 2 is the diagnosis tree generated by the present invention after measuring point cost is changed;

图3是故障概率改变后通过本发明生成的诊断树。Fig. 3 is a diagnosis tree generated by the present invention after the failure probability is changed.

具体实施方式Detailed ways

下面结合附图对本发明的具体实施方式进行描述,以便本领域的技术人员更好地理解本发明。需要特别提醒注意的是,在以下的描述中,当已知功能和设计的详细描述也许会淡化本发明的主要内容时,这些描述在这里将被忽略。The specific embodiments of the present invention are described below with reference to the accompanying drawings, so that those skilled in the art can better understand the present invention. It should be noted that, in the following description, when the detailed description of known functions and designs may dilute the main content of the present invention, these descriptions will be omitted here.

实施例Example

图1是本发明一种电子系统故障测试策略动态生成方法流程图。FIG. 1 is a flow chart of a method for dynamically generating a fault test strategy for an electronic system according to the present invention.

在本实施例中,如图1所示,本发明一种电子系统故障测试策略动态生成方法,包括以下步骤:In this embodiment, as shown in FIG. 1 , a method for dynamically generating a fault test strategy for an electronic system of the present invention includes the following steps:

S1、构建测试模型S1. Build a test model

根据电路内部故障状态与电路中测点输出的关系,构建电路的测试模型H={D,C,P},其中,C={c1,c2,…,ci,…cM}为电路中设置的测点对应的代价构成的矩阵,ci表示电路中第i个测点的先验测试代价,M为可选测点总数;P={p1,p2,…,pj,…,pN}为电路系统中各个故障状态发生概率形成的矩阵,pj为第j个故障状态发生的概率,N为故障状态总数;D为故障依赖矩阵,具体表示为:According to the relationship between the internal fault state of the circuit and the output of the measuring points in the circuit, the test model H={D,C,P} of the circuit is constructed, where C={c 1 ,c 2 ,...,ci ,...c M } is The matrix formed by the cost corresponding to the test points set in the circuit, c i represents the a priori test cost of the i-th test point in the circuit, M is the total number of optional test points; P={p 1 ,p 2 ,...,p j ,...,p N } is the matrix formed by the probability of occurrence of each fault state in the circuit system, p j is the probability of occurrence of the jth fault state, N is the total number of fault states; D is the fault dependency matrix, specifically expressed as:

Figure BDA0001910439820000061
Figure BDA0001910439820000061

其中,dij表示第j个电路故障在第i个测点下的测试信息,dij的取值为0或1,dij=1表示第j个电路故障可以通过第i个测点测出,dij=0代表第j个故障不能通过第i个测点测出;Among them, d ij represents the test information of the j-th circuit fault at the i-th measuring point, the value of d ij is 0 or 1, and d ij =1 indicates that the j-th circuit fault can be detected by the i-th measuring point , d ij =0 means that the jth fault cannot be detected by the ith measuring point;

S2、构建初始的搜索树S2. Build the initial search tree

通过静态的启发式搜索方法构建初始的搜索树T={T1,T2,…,Tp,…,TP},其中,Tp代表搜索树中的第p个节点,T1为搜索树的根节点,P为搜索树中的节点总数;An initial search tree T={T 1 ,T 2 ,…,T p ,…,T P } is constructed by a static heuristic search method, where T p represents the p-th node in the search tree, and T 1 is the search tree. The root node of the tree, P is the total number of nodes in the search tree;

对于搜索树中的节点Tp,有Tp={Sr,topt,Costava,S0,S1},其中,Sr为节点的故障模糊集,Sr={sr1,sr2,…,srj,…,srM},srj为故障模糊集中包含的第j个故障状态;topt为搜索树中的最优测点;tava={tava1,tava2,…,tavai,…,tavaL}为Sr对应的有效测点构成的集合,tavai为有效分离Sr的测点,L为有效测点个数;Costava={Costava1,Costava2,…,Costavai,…,CostavaL}为对应有效测点生成的测试方法代价,Costavai为对应有效测点tavai生成的测试方法的代价;S0和S1为根据topt分割Sr得到的子故障模糊集,其定义为:For a node T p in the search tree, there is T p ={S r ,t opt ,Cost ava ,S 0 ,S 1 }, where S r is the faulty fuzzy set of the node, S r ={s r1 ,s r2 ,...,s rj ,...,s rM }, s rj is the j-th fault state included in the fault fuzzy set; to opt is the optimal measurement point in the search tree; t ava ={t ava1 ,t ava2 ,..., t avai ,...,t avaL } is the set of valid measurement points corresponding to S r , t avai is the measurement point that effectively separates S r , and L is the number of valid measurement points; Cost ava = {Cost ava1 ,Cost ava2 ,… ,Cost avai ,...,Cost avaL } is the cost of the test method generated by the corresponding valid measurement point, Cost avai is the cost of the test method generated by the corresponding valid measurement point t avai ; S 0 and S 1 are obtained by dividing S r according to to opt Subfault fuzzy set, which is defined as:

Figure BDA0001910439820000071
Figure BDA0001910439820000071

Figure BDA0001910439820000072
Figure BDA0001910439820000072

S3、读入更新的测点

Figure BDA0001910439820000073
及该测点对应的代价变化量
Figure BDA0001910439820000074
或该测得对应的更新故障状态
Figure BDA0001910439820000075
及故障概率
Figure BDA0001910439820000076
S3. Read in the updated measuring point
Figure BDA0001910439820000073
and the cost change corresponding to the measurement point
Figure BDA0001910439820000074
or the update fault state corresponding to this measurement
Figure BDA0001910439820000075
and failure probability
Figure BDA0001910439820000076

S4、将搜索树的根节点T1作为更新过程的初始节点,将根节点的故障模糊集Sr作为搜索树中待更新节点的目标模糊集S;S4, take the root node T1 of the search tree as the initial node of the update process, and take the fault fuzzy set S r of the root node as the target fuzzy set S of the node to be updated in the search tree;

S5、根据故障依赖矩阵更新故障树S5. Update the fault tree according to the fault dependency matrix

S5.1、判断待更新节点的有效测点集合tava是否包含更新的测点

Figure BDA0001910439820000077
若tava中包含更新的测点
Figure BDA0001910439820000078
则进行步骤S5.2,否则跳至步骤S6;S5.1. Determine whether the valid measurement point set tava of the node to be updated contains updated measurement points
Figure BDA0001910439820000077
If t ava contains updated measuring points
Figure BDA0001910439820000078
Then go to step S5.2, otherwise skip to step S6;

S5.2、判断待更新节点当前的最优测点topt是否为更新的测点

Figure BDA0001910439820000079
若toptt为更新的测点
Figure BDA00019104398200000710
则进入步骤S5.3;否则跳至步骤S5.6;S5.2. Determine whether the current optimal measurement point t opt of the node to be updated is the updated measurement point
Figure BDA0001910439820000079
If t optt is the updated measuring point
Figure BDA00019104398200000710
Then go to step S5.3; otherwise, skip to step S5.6;

S5.3、更新最优测点topt的故障策略的总代价

Figure BDA00019104398200000711
S5.3. The total cost of updating the fault strategy of the optimal measurement point to opt
Figure BDA00019104398200000711

Figure BDA00019104398200000712
Figure BDA00019104398200000712

其中,pi为故障状态si对应的概率;Among them, pi is the probability corresponding to the fault state si ;

S5.4、更新除最优测点topt外其余有效测点生成的故障策略代价;S5.4, update the cost of the fault strategy generated by the other valid measurement points except the optimal measurement point to opt ;

S5.4.1、设有效测点t'为tava中的第一个有效测点; S5.4.1 . Set the effective measuring point t' as the first effective measuring point in tava;

S5.4.2、若t'是当前最优测点topt,则进行步骤S5.4.7;否则,根据t'的故障依赖信息,将故障集S分离为左子故障集St',0和右子故障集St',1:S5.4.2. If t' is the current optimal measurement point tot , go to step S5.4.7 ; otherwise, according to the fault dependency information of t', separate the fault set S into left sub-fault sets S t',0 and right Sub-fault set S t',1 :

St',0={sj|djt'=0}S t',0 ={s j |d jt' =0}

St',1={sj|djt'=1}S t',1 ={s j |d jt '=1}

S5.4.3、在搜索树中找到故障集为St',0对应的左子节点,将该节点作为待更新节点,然后按照步骤S5.1~S5.3所述方法计算出左子节点对应的最优解代价Costt',0;S5.4.3. Find the left child node corresponding to the fault set S t ', 0 in the search tree, take the node as the node to be updated, and then calculate the corresponding left child node according to the method described in steps S5.1 to S5.3 The optimal solution cost Costt',0;

S5.4.4、在搜索树中找到故障集为St',1对应的右子节点,将该节点作为待更新节点,然后按照步骤S5.1~S5.3所述方法计算出右子节点对应的最优解代价Costt',1;S5.4.4. Find the right child node corresponding to the fault set S t ', 1 in the search tree, take the node as the node to be updated, and then calculate the corresponding right child node according to the method described in steps S5.1 to S5.3 The optimal solution cost Costt',1;

S5.4.5、更新t'关于故障集S生成的最优解代价:S5.4.5. Update t' to generate the optimal solution cost of fault set S:

Figure BDA0001910439820000081
Figure BDA0001910439820000081

S5.4.6、判断tava中所有测点对应代价是否均被更新,若全部更新,则进入步骤S5.5;否则将t'设置为tava中下一个待更新的有效测点,再返回步骤S5.4.2;S5.4.6. Determine whether the corresponding costs of all measuring points in t ava have been updated, if all, go to step S5.5; otherwise, set t' as the next valid measuring point to be updated in t ava , and then return to step S5.4.2;

S5.5、将Costava中最小值对应的测点记为新的最优测点topt,并将其对应的左子模糊集和右子模糊集设置为搜索树中该节点的左子模糊集S0和右子模糊集S1,然后进入步骤S6; S5.5 . Record the measurement point corresponding to the minimum value in Cost ava as the new optimal measurement point tot , and set its corresponding left sub-fuzzy set and right sub-fuzzy set as the left sub-fuzzy set of the node in the search tree Set S 0 and right sub-fuzzy set S 1 , then enter step S6;

S5.6、更新代价变化的测点

Figure BDA0001910439820000082
对应的故障诊断总代价:S5.6, update the measuring points of the cost change
Figure BDA0001910439820000082
The corresponding total cost of fault diagnosis:

Figure BDA0001910439820000083
Figure BDA0001910439820000083

其中,

Figure BDA0001910439820000084
Figure BDA0001910439820000085
的初始代价,
Figure BDA0001910439820000086
Figure BDA0001910439820000087
分别为左子故障集和右子故障集的测试代价;in,
Figure BDA0001910439820000084
for
Figure BDA0001910439820000085
the initial cost of
Figure BDA0001910439820000086
and
Figure BDA0001910439820000087
are the test costs of the left sub-fault set and the right sub-fault set, respectively;

S5.7、更新除代价变化测点外的其余有效测点生成的故障策略代价;S5.7. Update the fault strategy cost generated by the remaining valid measurement points except the cost change measurement point;

S5.7.1、设有效测点t'为tava中的第一个有效测点; S5.7.1 . Set the effective measuring point t' as the first effective measuring point in tava;

S5.7.2、若t'是

Figure BDA0001910439820000088
则进行步骤S5.7.6;否则,根据t'的故障依赖信息,将故障集S分离为左子故障集St',0和右子故障集St',1:S5.7.2, if t' is
Figure BDA0001910439820000088
Then go to step S5.7.6; otherwise, according to the fault dependency information of t', the fault set S is separated into the left sub-fault set S t ', 0 and the right sub-fault set S t ', 1 :

St',0={sj|djt'=0}S t ', 0 ={s j |d jt '=0}

St',1={sj|djt'=1}S t ', 1 ={s j |d jt '=1}

S5.7.3、在搜索树中找到故障集为St',0对应的左子节点,将该节点作为待更新节点,然后按照步骤S5.1~S5.3所述方法计算出左子节点对应的最优解代价Costt',0;S5.7.3. Find the left child node corresponding to the fault set S t ', 0 in the search tree, take the node as the node to be updated, and then calculate the corresponding left child node according to the method described in steps S5.1 to S5.3 The optimal solution cost Costt',0;

S5.7.4、在搜索树中找到故障集为St',1对应的右子节点,将该节点作为待更新节点,然后按照步骤S5.1~S5.3所述方法计算出右子节点对应的最优解代价Costt',1;S5.7.4. Find the right child node corresponding to the fault set S t',1 in the search tree, take this node as the node to be updated, and then calculate the corresponding right child node according to the methods described in steps S5.1 to S5.3 The optimal solution cost Costt',1;

S5.7.5、更新t'关于故障集S生成的最优解代价:S5.7.5. Update t' to generate the optimal solution cost of fault set S:

Figure BDA0001910439820000091
Figure BDA0001910439820000091

S5.7.6、判断tava中所有测点对应代价是否均被更新,若全部更新,则进入步骤S5.8;将t'设置为tava中下一个待更新的有效测点,再返回步骤S5.7.2;S5.7.6, determine whether the corresponding costs of all measuring points in t ava are updated, if all are updated, then go to step S5.8; set t' as the next valid measuring point to be updated in t ava , and then return to step S5 .7.2;

S5.8、将Costava中最小值对应的测点为新的最优测点topt,并将其对应的左子模糊集和右子模糊集设置为搜索树中该节点的左子模糊集S0和右子模糊集S1,然后进入步骤S6; S5.8 . Set the measurement point corresponding to the minimum value in Cost ava as the new optimal measurement point tot , and set its corresponding left sub-fuzzy set and right sub-fuzzy set as the left sub-fuzzy set of the node in the search tree S 0 and the right sub-fuzzy set S 1 , then enter step S6;

S6、判断待更新节点的故障集中是否包含更新的故障状态

Figure BDA0001910439820000092
若更新节点的故障集中包含待更新的故障状态
Figure BDA0001910439820000093
则进行步骤S7,否则跳转至步骤S9;S6. Determine whether the fault set of the node to be updated contains the updated fault state
Figure BDA0001910439820000092
If the fault set of the update node contains the fault status to be updated
Figure BDA0001910439820000093
Then go to step S7, otherwise jump to step S9;

S7、更新可用测点tava对应的测试代价S7, update the test cost corresponding to the available test point tava

S7.1、设有效测点t'为tava中的第一个有效测点; S7.1 . Set the effective measuring point t' as the first effective measuring point in tava;

S7.2、根据t'的故障依赖信息,将故障集S分离为左子故障集St',0和右子故障集St',1 S7.2. According to the fault dependency information of t', separate the fault set S into a left sub-fault set S t',0 and a right sub-fault set S t',1

St',0={sj|djt'=0}S t',0 ={s j |d jt' =0}

St',1={sj|djt'=1}S t',1 ={s j |d jt' =1}

S7.3、在搜索树中找到故障集为St',0对应的左子节点,若St',0中包含更新的故障状态

Figure BDA0001910439820000094
则将该节点作为待更新节点,然后按照步骤S5.1~S5.3所述方法计算出左子节点对应的最优解代价Costt',0;否则将搜索树中的左子节点的代价作为最优解代价Costt',0;S7.3. Find the left child node corresponding to the fault set S t',0 in the search tree, if S t',0 contains the updated fault state
Figure BDA0001910439820000094
Then take the node as the node to be updated, and then calculate the optimal solution cost Costt',0 corresponding to the left child node according to the method described in steps S5.1 to S5.3; otherwise, take the cost of the left child node in the search tree as The optimal solution cost Costt', 0;

S7.4、在搜索树中找到故障集为St',1对应的右子节点,若St',1中包含更新的故障状态

Figure BDA0001910439820000095
则将该节点作为待更新节点,然后按照步骤S5.1~S5.3所述方法计算出右子节点对应的最优解代价Costt',1;否则将搜索树中的左子节点的代价作为最优解代价Costt',1;S7.4. Find the right child node corresponding to the fault set S t',1 in the search tree, if S t',1 contains the updated fault state
Figure BDA0001910439820000095
Then take the node as the node to be updated, and then calculate the optimal solution cost Costt',1 corresponding to the right child node according to the method described in steps S5.1 to S5.3; otherwise, take the cost of the left child node in the search tree as The optimal solution cost Costt', 1;

S7.5、更新t'关于故障集S生成的最优解代价:S7.5. Update t' to generate the optimal solution cost of the fault set S:

Figure BDA0001910439820000096
Figure BDA0001910439820000096

S7.6、若tava中所有有效测点对应代价均被更新,则进入步骤S8,否则将t'设置为tava的下一个待更新有效测点,再返回步骤S7.2;S7.6, if the corresponding costs of all valid measuring points in t ava are updated, then enter step S8, otherwise set t' as the next valid measuring point to be updated in t ava , and then return to step S7.2;

S8、更新当前有效节点的最优节点信息及最优代价,更新完成后,将Costava中最小值对应的测点设为新的最优测点topt,并将其对应的左子模糊集和右子模糊集设置为搜索树中该最优测点的左子模糊集S0和右子模糊集;S8. Update the optimal node information and optimal cost of the current effective node. After the update is completed, set the measurement point corresponding to the minimum value in Cost ava as the new optimal measurement point tot , and set its corresponding left sub-fuzzy set and the right sub-fuzzy set are set as the left sub-fuzzy set S 0 and the right sub-fuzzy set of the optimal measurement point in the search tree;

S9、返回当前最优测点的最优节点信息及最优测试代价,从而动态生成电子系统故障测试策略。S9. Return the optimal node information and optimal test cost of the current optimal measurement point, so as to dynamically generate an electronic system fault test strategy.

实例example

为说明本发明的技术效果,采用反坦克系统为例对本发明进行验证,其机械电子部分共涉及13个系统状态以及12个可用测点,故障依赖矩阵、每个系统状态对应的先验概率以及每个测点的测试代价如表1所示。分别改变t1,t7的代价值和s3,s6的发生概率来模拟动态过程中参量的变化,为验证本发明提出算法的效果,选取反坦克系统作为实例,同时,传统AO*算法作为对比算法一起计算该实例。In order to illustrate the technical effect of the present invention, an anti-tank system is used as an example to verify the present invention. Its mechatronic part involves a total of 13 system states and 12 available measuring points, a fault dependency matrix, a priori probability corresponding to each system state, and The test cost of each measuring point is shown in Table 1. The cost value of t 1 , t 7 and the occurrence probability of s 3 and s 6 are respectively changed to simulate the change of parameters in the dynamic process. In order to verify the effect of the algorithm proposed by the present invention, the anti-tank system is selected as an example. The instance is computed together as a contrast algorithm.

表1是反坦克系统的故障-依赖矩阵;Table 1 is the failure-dependency matrix of the anti-tank system;

Figure BDA0001910439820000101
Figure BDA0001910439820000101

表1Table 1

当c1增加0.8后通过本发明构造的诊断树如图2所示,由图2可看出本发明生成了可以有效隔离全部故障的诊断方法。AO*和本方法在测点代价变化情况下生成的故障树总代价及生成所用时间如表2所示。通过表2可得AO*和本发明均能在测点代价变化的情况下生成测试代价最优的诊断方法。然而,本发明在生成时间上较AO*算法有明显的优势。When c1 is increased by 0.8, the diagnosis tree constructed by the present invention is shown in Fig. 2. It can be seen from Fig. 2 that the present invention generates a diagnosis method that can effectively isolate all faults. Table 2 shows the total cost of the fault tree generated by AO* and this method when the cost of the measurement point changes. It can be obtained from Table 2 that both AO* and the present invention can generate the optimal diagnostic method of the test cost under the condition of the change of the test point cost. However, the present invention has obvious advantages over the AO* algorithm in generation time.

Figure BDA0001910439820000111
Figure BDA0001910439820000111

表2Table 2

当p3减小0.02后通过本发明构造的诊断树如图3所示,由图3可看出本发明生成了可以有效隔离全部故障的诊断方法。AO*和本方法在故障概率变化情况下生成的故障树总代价及生成所用时间如表3所示。通过表3可得AO*和本发明均能在测点代价变化的情况下生成测试代价最优的诊断方法。然而,本发明在生成时间上较AO*算法有明显的优势。When p3 is reduced by 0.02, the diagnostic tree constructed by the present invention is shown in FIG. 3 . It can be seen from FIG. 3 that the present invention generates a diagnostic method that can effectively isolate all faults. Table 3 shows the total cost and generation time of the fault tree generated by AO* and this method when the fault probability changes. It can be obtained from Table 3 that both AO* and the present invention can generate a diagnostic method with the optimal test cost under the condition that the test point cost changes. However, the present invention has obvious advantages over the AO* algorithm in generation time.

Figure BDA0001910439820000112
Figure BDA0001910439820000112

表3table 3

尽管上面对本发明说明性的具体实施方式进行了描述,以便于本技术领域的技术人员理解本发明,但应该清楚,本发明不限于具体实施方式的范围,对本技术领域的普通技术人员来讲,只要各种变化在所附的权利要求限定和确定的本发明的精神和范围内,这些变化是显而易见的,一切利用本发明构思的发明创造均在保护之列。Although the illustrative specific embodiments of the present invention have been described above to facilitate the understanding of the present invention by those skilled in the art, it should be clear that the present invention is not limited to the scope of the specific embodiments. For those skilled in the art, As long as various changes are within the spirit and scope of the present invention as defined and determined by the appended claims, these changes are obvious, and all inventions and creations utilizing the inventive concept are included in the protection list.

Claims (1)

1. A dynamic generation method for an electronic system fault test strategy is characterized by comprising the following steps:
(1) and constructing a test model
According to the relation between the internal fault state of the circuit and the output of a measuring point in the circuit, a test model H of the circuit is constructed, wherein C is { D, C, P }, and C is { C }1,c2,…,ci,…cMIs a generation corresponding to a measuring point arranged in the circuitA matrix of valence formations, ciThe prior test cost of the ith test point in the circuit is represented, and M is the total number of the selectable test points; p ═ P1,p2,…,pj,…,pNIs a matrix formed by the probability of each fault state in the circuit system, pjThe probability of occurrence of the jth fault state is shown, and N is the total number of the fault states; d is a fault dependency matrix, which is specifically expressed as:
Figure FDA0002467159360000011
wherein d isijRepresents the test information of the jth circuit fault at the ith test point, dijIs 0 or 1, dij1 means that the jth circuit fault can be detected at the ith test point, dij0 represents that the jth fault cannot be detected by the ith measuring point;
(2) building an initial search tree
Constructing an initial search tree T ═ { T ] through a static heuristic search method1,T2,…,Tp,…,TPIn which T ispRepresenting the p-th node, T, in the search tree1Is the root node of the search tree, and P is the total number of nodes in the search tree;
for node T in search treepHaving a value of Tp={Sr,topt,Costava,S0,S1In which S isrIs a fuzzy set of faults of a node, Sr={sr1,sr2,…,srj,…,srM},srjFault states contained in the fuzzy set of faults; t is toptSearching for an optimal measuring point in the tree; t is tava={tava1,tava2,…,tavai,…,tavaLIs SrSet of corresponding valid measurement points, tavaiTo separate S effectivelyrL is the number of effective measuring points; costava={Costava1,Costava2,…,Costavai,…,CostavaLCost of the test method generated for the corresponding valid test points, CostavaiTo correspond to the effective measuring point tavaiCost of the generated test method; s0And S1Is according to toptSplitting SrThe resulting fuzzy set of sub-faults, which is defined as:
Figure FDA0002467159360000012
Figure FDA0002467159360000013
(3) reading in the updated measurement point
Figure FDA0002467159360000014
And the cost variation corresponding to the measuring point
Figure FDA0002467159360000015
Or the updated fault state corresponding to the measuring point
Figure FDA0002467159360000021
And probability of failure
Figure FDA0002467159360000022
(4) Will search the root node T of the tree1As an initial node of the updating process, a fault fuzzy set S of a root node is setrA target fuzzy set S as a node to be updated in the search tree;
(5) updating the fault tree according to the fault dependency matrix
(5.1) judging the effective measuring point set t of the node to be updatedavaWhether or not to include updated measurement points
Figure FDA0002467159360000023
If tavaIncluding updated measurement points
Figure FDA0002467159360000024
Then step (5.2) is carried out, otherwise step is jumped to(6);
(5.2) judging the current optimal measuring point t of the node to be updatedoptWhether it is an updated measurement point
Figure FDA0002467159360000025
If topttFor updated measuring point
Figure FDA0002467159360000026
Entering step (5.3); otherwise, jumping to the step (5.6);
(5.3) updating the optimal measuring point toptTotal cost of fault strategy of
Figure FDA0002467159360000027
Figure FDA0002467159360000028
Wherein p isiIs a fault state siA corresponding probability;
(5.4) updating and dividing the optimal measuring point toptThe cost of the fault strategy generated by the other effective measuring points;
(5.4.1) the effective measuring point t' is tavaThe first active station in (a);
(5.4.2) if t' is the current optimal measuring point toptThen go to step (5.4.7); otherwise, according to the fault dependency information of t', the fault set S is separated into a left sub-fault set St',0And right sub-fault set St',1:
St',0={sj|djt'=0}
St',1={sj|djt'=1}
(5.4.3) finding the fault set S in the search treet',0Taking the corresponding left child node as a node to be updated, and then calculating the optimal solution cost Costt' 0 corresponding to the left child node according to the method in the steps (5.1) - (5.3);
(5.4.4) finding the fault set S in the search treet',1Corresponding right child nodeTaking the node as a node to be updated, and then calculating the optimal solution cost Costt' 1 corresponding to the right child node according to the methods in the steps (5.1) - (5.3);
(5.4.5), updating t' the optimal solution cost generated by the fault set S:
Figure FDA0002467159360000029
(5.4.6) determination of tavaWhether the corresponding costs of all the measuring points are updated or not is judged, and if the corresponding costs of all the measuring points are updated, the step (5.5) is carried out; otherwise, set t' to tavaReturning to the step (5.4.2) when the next effective measuring point to be updated is reached;
(5.5) CostavaThe measuring point corresponding to the minimum value is marked as a new optimal measuring point toptAnd setting the corresponding left sub-fuzzy set and right sub-fuzzy set as the left sub-fuzzy set S of the node in the search tree0And the right sub-fuzzy set S1Then entering the step (6);
(5.6) updating the measurement points with changed cost
Figure FDA0002467159360000031
The corresponding total cost of fault diagnosis:
Figure FDA0002467159360000032
wherein,
Figure FDA0002467159360000033
is composed of
Figure FDA0002467159360000034
The initial cost of (a) of (b),
Figure FDA0002467159360000035
and
Figure FDA0002467159360000036
are each left childTesting costs of the fault set and the right sub-fault set;
(5.7) updating the fault strategy cost generated by the other effective measuring points except the cost change measuring point;
(5.7.1) the effective measuring point t' is tavaThe first active station in (a);
(5.7.2) if t' is
Figure FDA0002467159360000037
Then step (5.7.6) is performed; otherwise, according to the fault dependency information of t', the fault set S is separated into a left sub-fault set St',0And right sub-fault set St',1:
St',0={sj|djt'=0}
St',1={sj|djt'=1}
(5.7.3) finding the fault set S in the search treet',0Taking the corresponding left child node as a node to be updated, and then calculating the optimal solution cost Costt' 0 corresponding to the left child node according to the method in the steps (5.1) - (5.3);
(5.7.4) finding the fault set in the search tree as St',1Taking the corresponding right child node as a node to be updated, and then calculating the optimal solution cost Costt' 1 corresponding to the right child node according to the method in the steps (5.1) - (5.3);
(5.7.5), updating t' the optimal solution cost generated about the fault set S:
Figure FDA0002467159360000038
(5.7.6) determination tavaWhether the corresponding costs of all the measuring points are updated or not is judged, and if the corresponding costs of all the measuring points are updated, the step (5.8) is carried out; setting t' to tavaReturning to the step (5.7.2) when the next effective measuring point to be updated is reached;
(5.8) CostavaThe measuring point corresponding to the minimum value is a new optimal measuring point toptAnd setting the corresponding left sub-fuzzy set and right sub-fuzzy set as the left sub-fuzzy set of the node in the search treeCollection S0And the right sub-fuzzy set S1Then entering the step (6);
(6) judging whether the fault set of the nodes to be updated contains the updated fault state
Figure FDA0002467159360000039
If the fault set of the updating node contains the fault state to be updated
Figure FDA00024671593600000310
Step (7) is carried out, otherwise, step (9) is skipped;
(7) updating the available measuring point tavaCorresponding test cost
(7.1) setting an effective measuring point t' as tavaThe first active station in (a);
(7.2) according to the fault dependency information of t', separating the fault set S into a left sub-fault set St',0And right sub-fault set St',1
St',0={sj|djt'=0}
St',1={sj|djt'=1}
(7.3) finding the fault set S in the search treet',0Corresponding left child node, if St',0Including updated fault conditions
Figure FDA0002467159360000041
Taking the node as a node to be updated, and then calculating the optimal solution cost Costt' 0 corresponding to the left child node according to the method in the steps (5.1) - (5.3); otherwise, taking the cost of the left child node in the search tree as the optimal solution cost Costt', 0;
(7.4) finding the fault set S in the search treet',1The corresponding right child node, if St',1Including updated fault conditions
Figure FDA0002467159360000043
Then the node is taken as the node to be updated, and then the right child node is calculated according to the methods of the steps (5.1) - (5.3)The corresponding optimal solution cost Costt', 1; otherwise, taking the cost of the left child node in the search tree as the optimal solution cost Costt', 1;
(7.5) updating t' about the optimal solution cost generated by the fault set S:
Figure FDA0002467159360000042
(7.6) if tavaIf all the cost corresponding to the effective measuring points are updated, the step (8) is carried out, otherwise, t' is set as tavaThen returning to the step (7.2);
(8) updating the optimal node information and the optimal Cost of the current effective node, and after the updating is finished, using the CostavaSetting the measuring point corresponding to the minimum value as a new optimal measuring point toptAnd setting the corresponding left sub-fuzzy set and right sub-fuzzy set as the left sub-fuzzy set S of the optimal measuring point in the search tree0And a right sub-fuzzy set;
(9) and returning the optimal node information and the optimal test cost of the current optimal test point, thereby dynamically generating a fault test strategy of the electronic system.
CN201811550191.3A 2018-12-18 2018-12-18 A Dynamic Generation Method of Electronic System Fault Testing Strategy Active CN109581194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811550191.3A CN109581194B (en) 2018-12-18 2018-12-18 A Dynamic Generation Method of Electronic System Fault Testing Strategy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811550191.3A CN109581194B (en) 2018-12-18 2018-12-18 A Dynamic Generation Method of Electronic System Fault Testing Strategy

Publications (2)

Publication Number Publication Date
CN109581194A CN109581194A (en) 2019-04-05
CN109581194B true CN109581194B (en) 2020-08-11

Family

ID=65930818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811550191.3A Active CN109581194B (en) 2018-12-18 2018-12-18 A Dynamic Generation Method of Electronic System Fault Testing Strategy

Country Status (1)

Country Link
CN (1) CN109581194B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457776B (en) * 2019-07-22 2022-06-14 电子科技大学 Test strategy rapid generation method based on fault decision network
CN111274540A (en) * 2020-02-24 2020-06-12 电子科技大学 A Fault Diagnosis Tree Generation Method Based on Information Entropy and Dynamic Programming

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831792A (en) * 2012-07-20 2012-12-19 国家电网公司 Distribution network fault simulation system and simulation method thereof
US9003248B2 (en) * 2013-06-17 2015-04-07 Mentor Graphics Corporation Fault-driven scan chain configuration for test-per-clock
CN105182212A (en) * 2015-07-26 2015-12-23 薛雪东 System and method for detecting and appraising circuit boards for repair
CN105629156A (en) * 2016-03-10 2016-06-01 电子科技大学 Genetic programming-based analog circuit fault test optimal sequential search method
CN106469908A (en) * 2015-08-19 2017-03-01 中国电力科学研究院 The static security synthesis aid decision-making method that a kind of multiple faults is coordinated
CN108255649A (en) * 2017-11-30 2018-07-06 中国航空综合技术研究所 A kind of Diagnosis Strategy Design method based on modeling and simulating Cooperative Analysis

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7188003B2 (en) * 1994-12-30 2007-03-06 Power Measurement Ltd. System and method for securing energy management systems
CN103308824B (en) * 2013-05-31 2015-06-03 东北大学 Power system fault diagnostic method based on probability Petri net
JP6719082B2 (en) * 2016-07-04 2020-07-08 パナソニックIpマネジメント株式会社 Decision tree generation device, decision tree generation method, decision tree generation program, and question system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831792A (en) * 2012-07-20 2012-12-19 国家电网公司 Distribution network fault simulation system and simulation method thereof
US9003248B2 (en) * 2013-06-17 2015-04-07 Mentor Graphics Corporation Fault-driven scan chain configuration for test-per-clock
CN105182212A (en) * 2015-07-26 2015-12-23 薛雪东 System and method for detecting and appraising circuit boards for repair
CN106469908A (en) * 2015-08-19 2017-03-01 中国电力科学研究院 The static security synthesis aid decision-making method that a kind of multiple faults is coordinated
CN105629156A (en) * 2016-03-10 2016-06-01 电子科技大学 Genetic programming-based analog circuit fault test optimal sequential search method
CN108255649A (en) * 2017-11-30 2018-07-06 中国航空综合技术研究所 A kind of Diagnosis Strategy Design method based on modeling and simulating Cooperative Analysis

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Dynamic fault tree analysis based on Petri nets;Xiaojie Zhang 等;《2009 8th International Conference on Reliability, Maintainability and Safety》;20090929;138-142页 *
可视化故障诊断方法的研究;赵林度等;《汽轮机技术》;20000831;第42卷(第4期);197-201页 *

Also Published As

Publication number Publication date
CN109581194A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN109581190B (en) Optimal diagnosis tree generation method for circuit fault diagnosis
CN115391553B (en) Method for automatically searching time sequence knowledge graph completion model
CN102163300A (en) Method for optimizing fault diagnosis rules based on ant colony optimization algorithm
CN105913323A (en) PullRequest reviewer recommend method of GitHub open source community
CN113361279A (en) Medical entity alignment method and system based on double neighborhood map neural network
CN117686937B (en) Method for estimating health state of single battery in battery system
CN109581194B (en) A Dynamic Generation Method of Electronic System Fault Testing Strategy
CN107330519A (en) Fault Locating Method based on deep neural network
CN104486222B (en) Small time delay defect test critical path system of selection based on ant colony optimization algorithm
CN118536550B (en) Optimization method for large language models based on layer-by-layer parameter editing
CN102289408B (en) regression test case sequencing method based on error propagation network
CN104331569B (en) Small-delay fault testing channel selection method for large-scale integrated circuit based on selection of critical nodes and ant colony optimization algorithm
CN111274540A (en) A Fault Diagnosis Tree Generation Method Based on Information Entropy and Dynamic Programming
CN115407217A (en) Online estimation method and system for state of charge of lithium battery of electric vehicle
CN108038211A (en) A kind of unsupervised relation data method for detecting abnormality based on context
CN107622144B (en) Multidisciplinary reliability Optimum Design method under the conditions of bounded-but-unknown uncertainty based on sequential method
CN110457776B (en) Test strategy rapid generation method based on fault decision network
CN113221496B (en) Fault diagnosis method based on three-dimensional testability analysis model
CN114021619A (en) Classification method and device based on graph structure evolution
CN117422005A (en) Method for automatically controlling simulation errors of analog circuit and application
CN116980946A (en) Sensor network fault diagnosis method based on improved pso-Hkelm
CN118091426B (en) Power battery state of charge prediction method and system based on multi-intelligent algorithm combination
WO2025218046A9 (en) Fault analysis method and apparatus, computer device, and storage medium
CN118865052A (en) A method for prefabricated component detection and graph attention reasoning model construction
CN117764028A (en) Integrated circuit block simulation method based on signal flow and graph analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant