Abstract:The traditional fault diagnosis strategy is a method to generate the static diagnosis, which is difficult to be applied in the complex system and operating ambient. Based on the Quasi Depth First Search (QDFS) algorithm, this paper proposes a method of generating the diagnosis strategy under the condition constraints based on the improved QDFS algorithm (considering the uncertainty of the test). Firstly, the paper analyzes the possible condition constraints in the operating ambient, then gives the description method of the condition constraints, then according to the improved QDFS algorithm, gives the dynamic process of generating the diagnosis strategy. Finally a case is used to verify the effectiveness of the proposed method. The result shows that this method not only considers the influence of unreliable test, but also can be applied under the condition constraints of operating ambient. It is more adaptive and practical than the traditional static diagnosis strategy.