The invention discloses a fault detection modeling and
detection rate calculation method based on SysML, and belongs to the technical field of
testability. The method comprises the following steps: firstly, determining a failure mode needing to be tested of a
system to be researched, product functions and performance parameters associated with the failure mode, a
test point, a built-in
test item and external
test item information, and then establishing an initial function parameter cross-linking model consisting of
product function composition and performance parameter composition of a
structural unit by using a SysML module definition diagram; on the basis of the model, supplementing a fault mode and a cross-linking relation of a product, supplementing a relation between the fault mode and a test category and supplementing a
test item to obtain a designed fault detection model, then calculating a
fault detection rate of the fault detection model, judging whether the
fault detection rate reaches the standard or not, outputting the fault detection model if the
fault detection rate reaches the standard, and otherwise, continuing to adjust. According to the invention, the normalization and consistency of fault detection modeling are ensured, the obtained detection scheme can improve the efficiency and accuracy of fault detection, and the requirements of a high-complexity
system are met.