An Intelligent Fault Analysis and Diagnosis System for Electromagnet Manufacturing Process Based on Fuzzy Fault Tree and Evidence Theory

: Because an electromagnet has a complex structure and manufacturing process, it is difﬁcult to analyze the overall failure of the electromagnet. In order to solve this problem, a fault intelligent analysis and diagnosis system based on fuzzy fault tree and evidence theory is proposed in this paper. First, the failure structure and fuzzy fault tree are generated according to the experience. Second, the probability of failure caused by basic events is obtained based on the data statistics of the insufﬁcient holding force of the electromagnet in the past. Then, the probability of the basic events is given by using the synthesis rules of evidence theory. Next, the belief interval of the basic event is set as the fuzzy number, and the intelligent analysis is completed by using the calculated fuzzy importance. Finally, the validity and feasibility of the proposed method is proved by using the failure of insufﬁcient retention force in the electromagnet manufacturing process as an example.


Introduction
Fault analysis and diagnosis are the most critical steps in quality and reliability optimization of the manufacturing process; therefore, many studies have focused on intelligent methods. The products' manufacturing process is the stage with the highest frequency of faults being generated, because the products have a complex structure and require high equipment accuracy. With the rapid development of advanced technology, many scholars have carried out extensive research on numerical techniques and analyses to solve mathematical models arising in all fields of science and engineering [1]. Therefore, the question of how to guarantee product quality and reliability has been an important research direction, and one which utilizes the technology of numerical simulation and experiment. The reliability of a product or system can be improved quickly based on the analysis of the fault analysis [2]. The electromagnet is a product that generates magnetic force through an energized coil to drive the movable iron core to complete the specified action. The advantage which is different from other mechanical structures is that the electromagnet can indirectly control the execution and strength of the action without manual operation. Because electromagnets have their own advantages and defects, electromagnet products are often used in some important fields such as transportation, medical security, and aerospace [3]. Compared with other mechanical structures, the structure of electromagnet products is more complex due to the interaction between electricity and magnetism in the working process. Once a fault of an electromagnet product occurs, it will cause very serious consequences. It is difficult to analyze its fault. Therefore, we should pay more attention in analyzing the realization of test tools, test processes, and methods of fault diagnosis. The rank sum method can be used to analyze the importance degree of fault influence factors and diagnosis methods; therefore, it is of great practical value in a statistical manner in many aspects [4]. At present, most of the fault analysis methods of electromagnet products are based on characteristic data of product failure and subjective analysis by engineers. The characteristic data come from a large number of experiments with a long time for fault analysis. A subjective analysis will lead to the inaccurate determination of the influencing factors of faults. Therefore, in order to solve the problem of fault analysis, this paper proposes a fault intelligent analysis method for the electromagnet manufacturing process based on fuzzy fault tree and evidence theory. Moreover, the intelligent diagnosis system will have great application prospects and practical significance.
On the one hand, the technology and methods of fault analysis have been widely applied in manufacturing process condition monitoring and reliability analysis. At present, the research methods of the intelligent fault analysis of complex systems include the binary decision diagram (BDD) [5], Petri net analysis [6], the Markov system [7], fault tree analysis [8], the Bayes network [9] and other methods, which are often used for fault analysis in combination with databases and experience. However, due to the obvious upper and lowerlevel relationship between electromagnet fault and influencing factors, and because there is a priority relationship between the influencing factors, the fault tree analysis method is often used for the fault analysis of electromagnets. The traditional fault tree analysis is based on the hierarchical relationship between the fault and its underlying influencing factors, until all influencing factors are found. The traditional fault is characterized by intuitive, clear thinking and strong logic. It can be used for qualitative analysis or quantitative analysis. Because of the unique characteristics of traditional fault, it is applied in many fields as a classic method. However, with the development of modern technology, some limitations have been found in the existing research of the traditional fault; for example, some mechanical mechanisms are not "or", "and", or "but" of a progressive relationship. The traditional fault tree cannot express this relationship. It has its limitations not only in a logic gate, but also in quantitative analysis. Take the electromagnet as an example; some electromagnet faults are not due to the complete failure of the parts, but due to the partial failure of parts or the failure to complete the specified action, so there is no definite failure rate for the influencing factors. In view of the defects of the traditional fault tree, many scholars have used scientific methods to improve standards. Yao Chengyu et al. [10] proposed a Takagi-Sugeno (T-S)-based dynamic fault tree analysis method for the defects of the traditional dynamic fault tree logic gate, which used the T-S gate based on the occurrence rules of the T-S model to optimize the dynamic fault. Then, the continuous time T-S dynamic fault tree analysis was proposed, the T-S dynamic door fault rules describing the failure caused by the continuous time operation of parts were defined, and the dynamic fault tree was further improved [11]. For the optimization of the fault tree, in addition to logic gates, some scholars have used fuzzy numbers as the language of the fault tree evaluation to form a new fault tree and fuzzy fault tree analysis method, which was used to deal with uncertain fault forms. Its advantage is, for example, that it can analyze and diagnose faults for some incomplete information systems. To understand the distinctions among different types, the fuzzy fault tree analysis method has been successfully applied in the all fields of the electric multiple unit (EMU) train [12], industrial robot [13], automobile, and so on [14,15].
On the other hand, the fuzzy fault tree is directly combined with the intelligent analysis database to determine the fault, which will cause any judgement attempts to fail with the ambiguous data. Therefore, some scholars have combined other methods with fuzzy fault tree analysis to improve the short board of traditional fault analysis methods. XiaoPing Bai et al. [16] established a new nonlinear programming mathematical optimization model based on the fuzzy number and grey correlation method to solve the problem of the dynamic reliability optimization of complex systems. The grey correlation was used between the occurrence law of underlying events and the occurrence trend of faults to judge the correlation [17]. In order to improve the reliability of the multifunctional sensors, Yang J [18] and others proposed a new data verification strategy, based on Knearest neighbor (KNN) and grey model GM (1,1), which deals with independent variables and related variables, respectively. It can be seen from the above documents that for the analysis of the fuzzy fault system, the combination of fault structure description and the uncertain information processing method is often used, but it can be seen that there is a gap in the information fusion of multiple information sources. For multiple information fusion, especially incomplete information, it is more reasonable to use the evidence theory for information fusion by Xiaowei Wang et al. [19]. Based on the evidence theory and fault tree, an adaptive fault detection method for a small current grounding system is proposed. Firstly, the current change data when the fault occurs is obtained, and then the importance of the basic events of the fault tree analysis is calculated through D-S (Dempster-Shafer) evidence theory. Finally, the fault comprehensive belief value is obtained, and the selection result is outputted, which is verified by simulation. The fault diagnosis method is accurate and reliable. Shang H et al. [20] proposed a fault diagnosis method based on a hypersphere multiclass support vector machine (HMSVM) and the improved D-S evidence theory. The improved D-S evidence theory combines the advantages of various diagnosis methods to improve the accuracy of fault diagnosis. In addition, many scholars apply the evidence theory to multi-attribute decision-making [21] and the multi-criteria evaluation method [22].
Based on the two methods of fuzzy fault tree analysis and evidence theory, this paper proposes an intelligent fault analysis and diagnosis system for the manufacturing process of electromagnets, to solve the problem that the failure rate of the electromagnets is unknown and cannot be analyzed. First, the failure structure of the electromagnet is expressed by using the information of the experience base, and the basic events that affect the fault are found. After the fuzzy fault tree of the electromagnet was formed, the problem of the fault analysis of the complex structural system will be solved. Then, based on the basic events obtained by the fuzzy fault tree analysis method, the identification model of the evidence theory is constructed, and the probability of failure caused by the basic events in the identification model is fused by using the evidence theory to obtain the belief interval of the basic events. Second, the belief interval of the basic events is used as the fuzzy number in the fault tree analysis, which solves the problem of too much subjectivity in the process of fuzzy fault tree analysis. Finally, the fuzzy importance of the electromagnet failure structure is calculated and sorted, and then the electromagnet is repaired to complete the fault intelligent analysis of the complex devices.
The research structure of this paper is as follows. The research background and significance of the product fault analysis and diagnosis methods are described briefly in Section 1. Section 2 introduces each module of the electromagnet fault intelligent analysis and diagnosis system and its function. In addition, it also describes the related concepts and calculation formulas of the fuzzy fault tree and evidence theory. Section 3 explains some of the details in the calculation process of the system through an example of the intelligent fault analysis of an electromagnet product. Section 4 verifies the objectivity of the analysis results of the system through simulation experiments. Section 5 summarizes the content of this paper.

Intelligent Analysis and Diagnosis System for Electromagnet Fault
The fault intelligent analysis system proposed in this paper can be divided into the four steps of data acquisition, data processing, intelligent diagnosis, and result processing, which are shown in Figure 1. First of all, the production workshop is mainly responsible for data collection. The production process is divided into several quality collection points, according to certain production processes. Sensors, high-speed cameras, and recording equipment are arranged in the quality acquisition point to collect text, photos, data, and other information. Second, the collected data are processed and fused. Then, the intelligent analysis platform performs the intelligent analysis based on historical database, evidence theory, and fuzzy fault tree analysis. Finally, the analysis results are verified by simulation and transmitted to the workshop management system to issue the adjustment task.
On the other hand, the experience base divides the top events into levels and structures, making qualitative analyses to determine the basic events affecting the fault during the intelligent analysis. If the bottom events cannot be obtained, the scope of division needs to be reduced until all basic events are found. Secondly, according to the cause analysis data of previous failed electromagnets, the basic probability of the electromagnet failure caused by each basic event is determined. Then, the belief interval of the basic events is obtained through the synthesis rules of evidence theory, and the belief interval is set as the fuzzy number of basic events in the fuzzy fault tree. Finally, the quantitative analysis algorithm of the fuzzy number and fuzzy fault tree is combined to obtain the fuzzy importance of each basic event by ranking its importance, and then the repair of the overall fault of the electromagnet can be performed. First of all, the production workshop is mainly responsible for data collection. The production process is divided into several quality collection points, according to certain production processes. Sensors, high-speed cameras, and recording equipment are arranged in the quality acquisition point to collect text, photos, data, and other information. Second, the collected data are processed and fused. Then, the intelligent analysis platform performs the intelligent analysis based on historical database, evidence theory, and fuzzy fault tree analysis. Finally, the analysis results are verified by simulation and transmitted to the workshop management system to issue the adjustment task.
On the other hand, the experience base divides the top events into levels and structures, making qualitative analyses to determine the basic events affecting the fault during the intelligent analysis. If the bottom events cannot be obtained, the scope of division needs to be reduced until all basic events are found. Secondly, according to the cause analysis data of previous failed electromagnets, the basic probability of the electromagnet failure caused by each basic event is determined. Then, the belief interval of the basic events is obtained through the synthesis rules of evidence theory, and the belief interval is set as the fuzzy number of basic events in the fuzzy fault tree. Finally, the quantitative analysis algorithm of the fuzzy number and fuzzy fault tree is combined to obtain the fuzzy importance of each basic event by ranking its importance, and then the repair of the overall fault of the electromagnet can be performed. The fuzzy number finally obtained in this paper is the belief interval obtained by the fusion of the evidence theory, which describes the fault occurrence probability through triangular fuzzy numbers or other fuzzy numbers. Therefore, this paper directly combines the occurrence probability of basic events between logic gates in the fuzzy fault tree.
Suppose bottom event X i fuzzy number is (a i , b i ), the calculation expression in a logic gate is as follows: The probability expression in or gate is: where i = 1, · · · , n. The probability expression in and gate is: The operation rules of multiplication, addition, and subtraction used in Equations (1) and (2) are shown in the following: , similarly X 2 is the same, but if it is 0, it will not participate in the calculation.
(2) Qualitative and quantitative analysis of fuzzy fault tree The purpose of qualitative analysis is to find the law of fault occurrence and its factors, that is, qualitative analysis. The main content is to calculate the minimum cut set, and then conduct qualitative analysis according to the order of the minimum cut set and the number of bottom events, so as to obtain the weak points of the whole system [23].
The quantitative analysis is to quantify the whole fault structure by introducing relevant fault data as support after the qualitative analysis. On the one hand, the probability of the top event is calculated according to the logical relationship of the logic gate. On the other hand, the importance of each bottom event is calculated, and the weak links of the system are improved according to the importance, so as to make the protection in the product manufacturing process more targeted [24].

Evidence Theory
Evidence theory, also known as D-S evidence theory, is a series of papers published by A.P. Dempster, a mathematician at Harvard University. His student G. Shafer further popularized and developed the evidence theory and formed a set of mathematical methods using "evidence" and "combination" to deal with uncertain problems. Because the prior probability required by evidence theory is more intuitive and easier to obtain than other probabilistic reasoning methods, and the Dempster synthesis rule can summarize and calculate the data of multiple information sources, it is suitable for incomplete information fusion, multi-attribute decision-making, intelligence analysis, and other fields [25].
(1) Basic concepts of evidence theory The following concepts need to be pointed out in evidence theory, namely basic probability assignment (BPA), belief function (BEL), plausibility function (PL), and belief interval [26]. The BPA of recognition framework or hypothetical space Θ is a function m of 2 Θ ∈ [0, 1]. The function m is called mass function, and is also known as the basic probability assignment function, satisfies m(Θ) = 0 and ∑ A⊆Θ m(A) = 1), where m(A) is the basic probability number of A. A is called the recognition framework or the hypothesis space Θ of the focal element in the work of [27].

(ii) Belief Function
In recognition framework Θ, the belief function of m(A) based on BPA on is: B in Equation (6) is a subset of focal elements A, m (B) is the basic probability of B.

(iii) Plausibility Function
In recognition framework Θ, the plausibility function of m(A) based on BPA on is: The set B in Equation (7) refers to any set whose intersection with focal element A is not an empty set, m (B) is the basic probability of B.
(iv) Belief interval In evidence theory, for the identification framework Θ, the focal element is A. According to BPA, the belief function Bel(A) and plausibility function Pl(A) of the focal element are calculated to form the belief interval [Bel(A), Pl(A)], respectively, which represent the credibility of focal element A.
(2) Synthesis rules of evidence theory Evidence theory synthesis rules, also known as the Dempster synthesis formula, are defined as follows: in the identification framework or hypothesis space Θ On, for ∀A ⊆ Θ. Now identify the framework or hypothetical space Θ which has two pieces of evidence, m 1 and m 2 [28]. Then the Dempster synthesis rule of m 1 (A) and m 2 (A) on the two pieces of evidence is: where m 1,2 (B) and m 1,2 (C) indicate basic probability of B, C of evidence m 1 and m 2 , respectively. The two intersections are the set basic probability of focal element A, K is the normalization constant. The calculation formula is as follows: If ∀A ⊆ Θ identify frames or hypothetical spaces Θ and have m 1 , m 2 , · · · evidence, then Dempster composition rule is: where m n (A n ) represents evidence m n , intersections of n are the set basic probability of focal element A, K is the normalization constant for evidence. The calculation formula is as follows:

Composite of Fuzzy Fault Tree and Evidence Theory
Importance refers to the impact on the top event when each bottom event or minimum cut set in the fault tree fails. Generally speaking, the greater the importance of the bottom event or minimum cut set, the easier it is easy to cause the top event to fail. On the other hand, importance also makes up for the subjective errors of engineers when building the fault tree. Due to the different understandings or different workflows, there will be some subjective errors such as different level settings or a different number of bottom events. Therefore, the introduction of the concept of importance can improve this situation to a certain extent. This paper uses fuzzy importance (FIM) to judge the importance of each bottom event. Before calculating the fuzzy importance, it is necessary to calculate the probability of the top event. The calculation formula is as follows [29]: where P n represents the occurrence probability of the basic event n. Secondly, calculate the probability of the top event when X event does not occur, expressed by P(X), and its calculation formula is as follows: Equation (13) is to assume P(X) = 0 when Equation (12) is used to solve the probability of the top event occurrence. The result is the probability of the top event occurrence when X event does not occur.
Ultimately, the exact probability of the top event occurrence is required in the importance analysis, so the fuzzy probability of the top event occurrence should be clarified. The commonly used clarification methods are maximum subordination method, maximum subordination average method, area average method, and center of gravity method, among which the maximum subordination average method is the simplest and most convenient. Therefore, this method is used to clarify the fuzzy probability of the top event; assuming that the fuzzy probability of the top event occurrence is α = (a, b), then the maximum mean subordination formula is [30]: According to Equations (12)- (14), the fuzzy importance of X event can be calculated as follows [31,32]: In Equation (15), P(α) refers to the failure rate of the top event and P(X) refers to the failure rate of X the event. Because the final importance ranking results need to be simulated and checked in this paper, the operation guide of the simulation software is given, as described in [33].

A Case Study
In this case study, an electronic technology company is expected to produce a rotating electromagnet for medical blood collection instruments. The specific part drawing and finished product drawing are shown in Figure 2. This rotating electromagnet is normally open. When it is energized in the forward direction, it is opposite to the magnetic pole of the permanent magnet. According to the principle of opposite repulsion, the movable iron core will start to move and reach the specified position. The opposite occurs when it is energized in the reverse direction. In the same manner as the magnetic pole of the permanent magnet, according to the principle of mutual attraction in the same direction, the movable iron core will return to the original position, and the rotating electromagnet will complete one action. The current fault is that the movable iron core cannot reach the specified position or reach the specified position when it is energized in the forward direction, but returns to the original position when it is not energized in the forward direction (i.e., insufficient retention force). After analyzing the fault, the engineer believes that there may be two reasons: one is the problem in the design of the permanent magnet, and the other is the problem in the external coordination relationship of the permanent magnet. The specific size or fit relationship is shown in Figure 3.  The current fault is that the movable iron core cannot reach the specified position or reach the specified position when it is energized in the forward direction, but returns to the original position when it is not energized in the forward direction (i.e., insufficient retention force). After analyzing the fault, the engineer believes that there may be two reasons: one is the problem in the design of the permanent magnet, and the other is the problem in the external coordination relationship of the permanent magnet. The specific size or fit relationship is shown in Figure 3. The current fault is that the movable iron core cannot reach the specified positio reach the specified position when it is energized in the forward direction, but retur the original position when it is not energized in the forward direction (i.e., insuffi retention force). After analyzing the fault, the engineer believes that there may be reasons: one is the problem in the design of the permanent magnet, and the other i problem in the external coordination relationship of the permanent magnet. The spe size or fit relationship is shown in Figure 3.    According to the experience base, the analysis interval of the fault is determined as the coordination relationship between the permanent magnet and the external permanent magnet. Then, the causes affecting the fault are divided hierarchically in the interval until According to the experience base, the analysis interval of the fault is determined as the coordination relationship between the permanent magnet and the external permanent magnet. Then, the causes affecting the fault are divided hierarchically in the interval until all the basic events are found, and the appropriate logic gate is selected for connection to draw the fault tree of the rotating electromagnet fault, as shown in Figure 5.
Mathematics 2022, 10, x FOR PEER REVIEW all the basic events are found, and the appropriate logic gate is selected for conne draw the fault tree of the rotating electromagnet fault, as shown in Figure 5.  Table 1. According to the production records of similar products from the first quart fourth quarter of 2021, the engineers have obtained the basic probability of failure by each basic event, based on the cause database of insufficient retention. The st method is used to export the required data directly through the company's c complaint website by using data statistical analysis. In order to rule out the po that some other products caused the failure, the engineers count two similar pro E1 and E2, and the statistical data are shown in Table 2. For example, the numb failures of product E1 in the four quarters is 9800, 9978, 9659, and 9119, respective a total of 38,556. Other data can be obtained in the same way. It should be noted h if the customers are not sure about the cause of the faults, the company's website them to upload the failure reason, and then the engineers of the company should the failure reason to understand the specific failure mode. Because the annual o E1 and E2 products is more than 70 million, the data sample is large, which can that the analysis results are more objective. Similar products refer to the mature p  Table 1. According to the production records of similar products from the first quarter to the fourth quarter of 2021, the engineers have obtained the basic probability of failure caused by each basic event, based on the cause database of insufficient retention. The statistical method is used to export the required data directly through the company's customer complaint website by using data statistical analysis. In order to rule out the possibility that some other products caused the failure, the engineers count two similar products as E1 and E2, and the statistical data are shown in Table 2. For example, the number of X1 failures of product E1 in the four quarters is 9800, 9978, 9659, and 9119, respectively, with a total of 38,556. Other data can be obtained in the same way. It should be noted here that if the customers are not sure about the cause of the faults, the company's website will ask them to upload the failure reason, and then the engineers of the company should analyze the failure reason to understand the specific failure mode. Because the annual output of E1 and E2 products is more than 70 million, the data sample is large, which can ensure that the analysis results are more objective. Similar products refer to the mature products similar to the design, structure, materials, manufacturing, and performance of the rotating electromagnets. In the product development stage, the statistics of the similar products are the most commonly used method for reliability prediction and fault analysis. From Table 2, the basic events of X4 and X5 indicate that the fault cause is caused by both X4 and X5 events, and the intermediate events Y1 and Y2 are set as two identification frames or hypothesis spaces Θ 1 and Θ 2 . So, Θ 1 = {X1, X2, X3} , Θ 2 = {X4, X5, X6, X7}, then calculate the failure rate of the basic events. For example, in the similar product E1, the failure rate of the basic event X1 is P(X1) = 38,556 459,000 = 0.08. Similarly, the failure rate of the other basic events can be obtained, as shown in Table 3. According to Table 3 and the re-combination Equation (9), we can produce: = 1 − [m E1X1 * m E2X2 + · · · + m E2X3 * m E1X2 ] = 1 − (0.08 * 0.04 + 0.08 * 0.04 + 0.08 * 0.12 + · · · + 0.04 * 0.08) = 0.930 Similarly, K2 is obtained by the same calculation. In the above calculation, m E1X1 represents the basic probability distribution of the similar product E1 at X1. Similarly, m E2X1 represents the basic probability distribution of the similar product E2 at X1. From the combined Equation (7), K1 and K2 are obtained. The mass function value of the mass function fused with each basic event can be calculated; for example, the combined mass function of X1 is: 0.930 (0.08 * 0.12 + · · · + 0.12 * 0.04) = 0.032 The combined mass function of the other focal elements is calculated in the same way as the combined mass function of X1. The results are shown in Table 4. According to the concepts of Equations (6) and (7) of the belief function and plausibility function, the belief function values of X1 are Bel(X1) = 0.032, Pl(X1) = 0.057 + 0.002 = 0.034, so the belief interval of X1 is (0.032, 0.034). Similarly, the belief interval for other basic events can be obtained, as shown in Table 5. Because the fault trees of this fault are connected by "or" gates, according to Equations (1) and (12), the probability of the top event is: The calculation rules used in calculating the occurrence probability of the top event are shown in Equations (3)-(5), and 1 in the calculation process is substituted into the calculation in the form of (1, 1). According to Equation (13), calculate the probability of the top event under the ideal condition that a basic event does not fail. For example, when X1 failure rate is 0, the probability of the top event is: Similarly, the fuzzy importance of the other basic events is calculated and normalized, and the results are shown in Table 6. It can be seen from the fuzzy importance that the importance of each basic event to the top event is as follows: These results show that X 4 is the most important event, and the working principle of the product is used to the magnetic pole generated by the permanent magnet magnetic pole and the energizing coil. The same pole repels each other, and the different pole attracts each other. If the position of the permanent magnet moves up or down, the magnetic induction lines generated by the coil cannot act on the permanent magnet, and the retention force naturally cannot meet the design requirements. In addition, according to the assembly drawing, the permanent magnet is embedded in the plastic mold when the enterprise is not sure of the cause of the fault. After the distance between the permanent magnet and the guide rod was checked, the inspection is convenient and fast, and the fault data can be uploaded without identifying the possible causes of the failure of the permanent magnet. Moreover, the results from the working principle and subsequent simulation experiments showed that X 4 is the most important event.

Simulation Experiment Verification
In this paper, the JMAG-designer20.0 simulation software is used to analyze and verify the calculation results. The simulation test is carried out by controlling a single variable. The range of the simulation division of each basic event is shown in Table 7. The codes are shown in Table 7, A = Permanent magnet length, B = Permanent magnet width, C = Permanent magnet thickness, D = Distance between magnet and coil, E = Angle between magnets, F = Distance between magnets, and G = Distance between magnet and guide rod.
In the simulation test, except for the single variable controlled, the other variables are the original size. For the single variable controlled, divide the size into several data of equal proportion within the reference range to participate in the simulation. The material of each component in the simulation test is shown in Table 8. Set the supply voltage of the electromagnet product to 24 V, the turns of the coil to 636 turns, the resistance to 38.4 Ohm, the switch to closed for the first 3 seconds and open for the last 3 seconds, and the size of the grid to 0.01 mm, as is shown in Figure 6.
Fixed core S10C Set the supply voltage of the electromagnet product to 24 V, the turns of th 636 turns, the resistance to 38.4 Ohm, the switch to closed for the first 3 seconds a for the last 3 seconds, and the size of the grid to 0.01 mm, as is shown in Figure 6   Similarly, the other simulation results are obtained and shown in Table 9.  Through the simulation test, the size of the retaining force and the total change of the difference of the retaining force under each parameter are calculated. For example, in the first simulation experiment, the thickness of the permanent magnet is set as a single variable and divided into 11 sizes of 3, 3.1, 3.2, . . . , and 4. The remaining variables are designed as the original size. When the thickness of the permanent magnet is 3 mm, the simulation results are shown in Figure 7.
Set the supply voltage of the electromagnet product to 24 V, the turns of th 636 turns, the resistance to 38.4 Ohm, the switch to closed for the first 3 seconds a for the last 3 seconds, and the size of the grid to 0.01 mm, as is shown in Figure 6   Similarly, the other simulation results are obtained and shown in Table 9.  Similarly, the other simulation results are obtained and shown in Table 9. The codes in Table 9 have the same meaning as those in Table 7. In Table 9, the force refers to the holding force of the electromagnet under the specified conditions. For example, in Table 9, the holding force in the second row is the result under the parameter A in the first row. In Table 9, the unit of the distance is mm, the unit of the angle is degrees, and the unit of the holding force is N.
Then the absolute value of the difference between the holding forces under each parameter is calculated, which is the holding force after the parameter changes minus the minimum holding force in the parameter. The calculation results are shown in Table 10. From the sum of the differences, it can be seen that the influence of various parameters on the retention force is ranked (from large to small) as the distance between the magnet and guide rod, magnet size (length), magnet and coil distance, distance between magnets, and magnet size (thickness), as well as including the angle between the magnets and the magnet size (width). This is roughly the same as the result calculated by this method, only the ranking of the last two factors is slightly different, and the error is within the control range.

Result Discussion
In this paper, we find that the new intelligent fault analysis and diagnosis system based on the fuzzy fault tree and the evidence theory can better solve the dilemmas faced by the electromagnet manufacturing process. This paper also comes to a good conclusion, which corresponds to the actual case. Moreover, applying these theories and methods to open the complicated connection of actual production data and the electromagnet manufacturing process is the value of this article.
Furthermore, the situation without any information fusion means that only lots of failed products with determined failure modes are used to calculate the importance of each bottom event, as shown in Table 11. It can be seen that the final calculation results with the approved method show a very good agreement with the failure rules in reality. Compared to other methods, the new method has many advantages. The experimental results for the electromagnet manufacturing process indicate that the proposed method improves the fault analysis and diagnosis performance as compared with other related methods. Moreover, the method in this paper has the advantages of a simple algorithm, short run time, and high efficiency. The analysis results also have preferable regularity, and this may be referenced for other related engineering and technical personnel. Therefore, the new method obtained through comparative analysis is practical and objective.

Conclusions
Compared with the traditional fault tree, the fuzzy fault tree retains the advantage of intuitively describing the overall structure of the fault mode. Moreover, the fuzzy fault tree can reduce the loss of data effectiveness in the process of information conversion, and it is also possible to analyze faults based on fuzzy data without converting the fuzzy data into definite data. For electromagnet products, it is difficult to describe the faults with accurate data because of coil wrapping and other process fault problems. In this paper, the fuzzy fault tree can play a good role in different test environments during the electromagnet product manufacturing stage.
On the other hand, the evidence theory can be used to fuse the data of similar products with the poor processing data in the product manufacturing process. The D-S evidence theory is one of the most common means in data fusion, and its objectivity is beyond doubt. In this paper, the D-S evidence theory is combined with the fuzzy fault tree to solve the defect of the subjective division of the fuzzy interval. Moreover, the evidence theory can integrate the occurrence probability of basic events between similar products to ensure objectivity and credibility.
Furthermore, the intelligent analysis and diagnosis system can be proved to have a high reference value based on the case analysis and a large number of simulation test results. Moreover, the new fault analysis system can cope with the complex assembly environment to ensure the assembly accuracy in an increasingly complex manufacturing environment. In addition, the fault analysis system can reduce the time of the simulation verification for the fault diagnosis at the product manufacturing phase. This approved method can also be applied to the fault analysis of different kinds of electrical products.