Abstract
Given the growing complexity and variability of application scenarios, coupled with increasing operational demands, unmanned aerial vehicles (UAVs) are prone to faults. To enhance diagnosability and reliability in this context, this study proposes a causal diagnosability optimization strategy based on the Maximum Mean and Covariance Discrepancy (MMCD) metric and the Grey Wolf Optimization (GWO) algorithm. First, a qualitative assessment method for causal diagnosability is introduced, leveraging structural analysis to evaluate the detectability and isolability of faults. Next, residuals are generated using Minimal Structurally Overdetermined (MSO) sets, and a quantitative diagnosability assessment framework is developed based on the MMCD metric. This framework measures the complexity of diagnosability through the analysis of residual deviations under fault conditions. Finally, a diagnosability optimization technique utilizing the GWO algorithm is proposed. This approach minimizes diagnostic system design costs while maximizing its performance. Simulation results for a UAV structural model demonstrate that the proposed strategy achieves a 100% fault detection rate and fault isolation rate while reducing design costs by 70.59%.
1. Introduction
With the continuous development of flight control technology, battery technology, intelligent learning, camera technology, sensor technology, communication technology, power technology, polymer material technology, cloud computing technology, and navigation technology, UAVs have been widely used in the fields of logistics and transportation [1], agricultural plant protection [2], communication relay [3], and military combat. Due to the escalating intensity and difficulty of missions, the requirements for UAVs have intensified in terms of their fulfillment, safety, and reliability. Influenced by factors such as materials, operation, environment, and software, UAVs can suffer from faults, which may lead to their failure [4]. Therefore, it is essential to improve the reliability and diagnosability of UAVs to ensure the fulfillment of their missions.
At present, improving the efficiency of diagnosis systems or the dependability of essential components represents the primary method to increase reliability. On one hand, enhancing the dependability of crucial parts raises the cost of design and does not wholly eliminate faults. Furthermore, the performance of diagnostic systems is often constrained by the limited or imprecise fault information they provide. Even the most precise fault diagnostic techniques are not helpful if the fault information is lacking or inadequate. Therefore, ensuring sufficient fault information is essential for increasing reliability. Diagnosability—like reliability—is a fundamental system design characteristic that reflects the effectiveness of fault diagnosis. Diagnosability not only involves fault information, but also ensures that fault diagnostic duties are completed as efficiently and cheaply as possible [5]. There are two types of diagnosability studies: diagnosability design and diagnosability assessment. Diagnosability assessment studies predominantly assess the advantages and disadvantages of the diagnosis system, while diagnosability design studies primarily refer to a series of optimization designs that improve the performance of the diagnosis system. Diagnosability assessment is a crucial method for evaluating the fault diagnosis ability, as it reflects the content and quality of fault information. It can generally be classified into two categories: qualitative and quantitative. Quantitative assessment largely gauges the complexity of diagnosing faults, whereas qualitative assessment primarily establishes whether a fault can be diagnosed.
Existing research on diagnosability in UAVs has mainly focused on the optimal design of fault diagnosis strategies. The fault diagnosis strategies for UAVs are divided into those relating to hardware and software redundancy [6]. Fault diagnosis based on hardware redundancy mainly ensures the detectability of the equipment by increasing hardware detection equipment. However, the system’s economic cost and structural complexity will increase, and the reliability of the system will be affected. Fault diagnosis methods based on software redundancy can be categorized into analytical model-based, signal processing-based, and knowledge-based methods [7]. However, given recent research progress, the fault diagnosis strategy of UAVs is mainly based on machine learning, artificial intelligence, or fusion algorithms. Iannace [8] proposed an artificial neural network-based fault diagnosis strategy for UAVs. By analyzing the acoustic characteristics of the UAV propellers, he successfully realized three states of the classification diagnosis, including balanced blades, single-tape imbalance, and double-tape imbalance, with 97.63% accuracy. Liang [9] proposed a data-driven fault diagnosis method for fixed-wing UAVs considering multiple operating conditions that significantly improved the fault detection rate and reduced the false alarm rate by incorporating an improved dynamic kernel principal component analysis and a sliding window denoising algorithm. Zhang [10] addressed the problem of fault-constrained flight data for fixed-wing UAVs and proposed a fault diagnosis strategy based on adaptive sharing and knowledge complementation, greatly improving the fault detection rate under small sample constraints. Hua [11] proposed a quadrotor UAV sensor fault diagnosis and fault-tolerant control method based on an improved genetic algorithm and BP neural network. Experiments comparing the three types of algorithms show that the proposed improved strategy has the highest detection rate in noisy environments. It can quickly and accurately identify the faults of sensor jamming and gain abnormality as well as other faults, significantly improving the safety and stability of the UAV system. Overall, existing research on UAV diagnosability has mainly focused on specific faults, complex environments, and algorithm performance improvement. First, all of the above studies have neglected a key issue: the content of fault information provided by the system. If the fault information provided by the system is insufficient or untrue, this leads to the fact that the fault itself cannot be detected and isolated. Thus, even the most accurate fault diagnosis strategy is not useful. Second, all of the above studies have been conducted to diagnose a single fault or a certain class of faults, and lack UAV-wide fault analyses. Therefore, in this paper, from the perspective of quantitative evaluation for the UAV system-wide faults and taking into account the causal constraints through the analysis and optimization of the system structural characteristics, to ensure that the system provides sufficient fault information, which in turn improves the fault diagnosis performance as well as the reliability of the UAV.
Extracting fault data from the system structure is the aim of the model-based fault detection technique known as structural analysis [12]. Through creating a structural model and utilizing the appropriate tools based on graph theory, the structural analysis method significantly lowers the computational cost of fault diagnosis in contrast to other model-based fault diagnosis techniques that necessitate the creation of an accurate mathematical model. This provides a significant benefit for the diagnosability of large-scale and complex control systems. Chen [13] proposed a hybrid structural analysis and convolutional neural network-based diagnosis system that compensates for the problem of fewer training samples for data-driven fault diagnosis methods through combining model-based and data-driven fault diagnosis methods. Cheng [14] proposed a structural analysis-based diagnosis scheme that is applicable to complex systems for short-circuit and sensor faults in the lithium battery system of a hybrid aircraft. Li [15] proposed a structure-based modeling method for real-time fault diagnosis of the pulse rectifier of the traction system. First, a structural analysis model of the traction system is established to examine structural isolation and detectability aspects. Second, the structural model is analyzed and optimized using the resolved redundancy relations under each fault condition, and the optimized model is used to obtain the minimal structurally overdetermined sets (MSOs) for isolating the faults. Finally, using the MSOs, sequence residuals are generated, and diagnostic decisions can be made using the cumulative sum algorithm. Due to its structural characteristics, the structural analysis method can assess diagnosability only from a qualitative perspective. In this study, the direct and sensitive relationship linking MSO to faults is transformed into an indirect connection that utilizes residuals as an intermediary step for fault detection, thereby addressing the limitations of the original approach. This quantitative assessment is achieved by measuring the difference in residuals between faulty and normal operating conditions. Standard measures of the difference between probability distributions include the energy distance [16], modified distance [17], Kullback–Leibler (K-L) scatter [18], Hausdroff distance [19], Ma’s distance [20], Jensen Shannon (JS) scatter [21], Bachmann’s distance [22], Fisher’s information distance [23], and Bayesian error rate [24]. These probability distribution measures generally use the parity space method to design the residuals and, thus, are susceptible to the influence of the window length and the selection of the left null space. As a novel probability distribution measure, MMCD not only compensates for the traditional maximum mean discrepancy (MMD) by incorporating the maximum covariance discrepancy (MCD) when measuring the sample covariance discrepancy, but also ensures the symmetry of the distance metric. Zhang [25] proposed a cross-domain distributional discrepancy assessment method based on MMCD and proved the effectiveness of MMCD in domain adaptation using image classification experiments. Yang [26] proposed an MMCD-based migration joint matching strategy in order to compensate for the MMD loss of statistical information in the migration learning strategy. Therefore, this work provides a quantitative assessment method based on MMCD to measure the ease of fault diagnosis.
The causal relationship embedded in MSO has an impact on residual design. Different redundancy equations are selected, or different perfect matching relationships are embedded in the MSO. When designing residuals, the causal relationship between dynamic variables also changes [27]. The causal relationship also affects the capability of fault diagnosis, to some extent. In residual design, if only the integral operation of dynamic variables occurs, the residual is considered to be integrally causal. Modeling bias, noise interference, beginning value uncertainty, and other issues all impact integral causal residuals, although these effects can be somewhat mitigated. In residual design, if only differential operations on dynamic variables are involved, the residual is considered to be differentially causal. Differential causal residuals are easily affected by system noise, and the higher the order of differentiation is, the greater the degree of influence of noise on the system. Therefore, differential causality should be avoided as much as possible. In residual design, if there are both differential and integral operations, the residual is considered to reflect mixed causality. Mixed causality can take advantage of both integral and differential causality. Thus, this research suggests a quantitative assessment technique for causality diagnosability, which depends on MMCD to quantify the impact of causality on residuals.
The number of MSOs increases exponentially with the structural redundancy of the system. Therefore, not all MSOs should be involved in diagnostic system design due to cost constraints. To balance the causal diagnosability requirement as well as the diagnostic system design cost, the MSOs with the best overall performance must be identified, essentially representing a combinatorial optimization problem. Intelligent algorithms are advantageous in solving optimization problems. At present, the widely used optimization algorithms include the genetic algorithm [28], simulated annealing algorithm [29], ant colony algorithm [30], particle swarm algorithm [31], and artificial bee colony algorithm [32]. The GWO algorithm—a novel intelligent optimization algorithm inspired by the social hierarchy and hunting behavior of gray wolves—performs optimization through processes such as tracking, chasing, encircling, harassing, and attacking the prey of wolves. These behaviors help to guide the algorithm’s search for the optimal solution [33]. To date, GWO algorithms have been developed for feature selection [34], parameter identification [35], reinforcement learning [36], and reliability optimization [37]. Therefore, this study introduces a strategy for optimizing diagnosability using a design approach grounded in the GWO algorithm. In summary, the key contributions of this study are as follows: first, a method for causal diagnosability analysis rooted in structural analysis is introduced; second, a quantitative evaluation strategy for causal diagnosability utilizing MMCD is presented; and, finally, an optimization design strategy for causal diagnosability based on the GWO algorithm is proposed.
To enhance the adaptability and reliability of UAVs performing missions in complex working environments, this study proposes a causal diagnosability optimization design strategy based on the MMCD and GWO algorithms. This strategy effectively guarantees the success rate of UAV execution under various mission requirements through enhancing the system’s fault diagnosis capability. The remainder of this paper is organized as follows. In Section 2, the optimization design strategy for UAV causal diagnosability based on the MMCD and GWO algorithms proposed in this paper is described in detail. First, based on structural analysis, a system structure model is established. Its structural characteristics are analyzed, and causal diagnosability evaluation indices are established. Second, residuals are designed based on MSO, and a quantitative diagnosability evaluation strategy based on the MMCD is proposed. Finally, to take into account the demand for diagnosability as well as the cost of diagnostic system design, a causal diagnosability optimization design model is established, and a diagnosability optimization design strategy based on the GWO algorithm is proposed. In Section 3, based on the UAV structural model, the causal diagnosability is analyzed and optimized from the perspective of quantitative evaluation to verify the reasonableness and effectiveness of the strategy proposed in this paper. Section 4 summarizes the main work of this paper.
2. Proposed Methodology
To improve the reliability as well as causal diagnosability of UAVs, this study proposes a diagnosability optimization design strategy based on the MMCD and GWO algorithms. The logic of the proposed approach is shown in Figure 1. First, based on structural analysis, the relevant graph theory tools of Dulmage–Mendelsohn (DM) decomposition and matching are used to analyze the structural characteristics of the system based on its structural characteristics and establish the evaluation index of causal diagnosability. Second, based on MSO-designed system residuals, the problem of quantitatively evaluating diagnosability is transformed into analyzing the probability distribution differences of residuals, and a quantitative diagnosability assessment strategy based on MMCD is proposed. Finally, a diagnosability optimization design strategy based on the GWO algorithm is proposed to reduce the cost of the diagnostic system.
Figure 1.
The logical lineage of the proposed strategy.
2.1. Causal Diagnosability Based on Structural Analysis
2.1.1. Structural Model
With its collection of variables , set of constraint equations , and edges , the structure of a system may be expressed as a graph . If variable appears in equation , it means that an edge exists between node and node of . The set of edges can be denoted as . For ease of presentation, can also be represented by its correlation matrix , where if an edge exists between nodes and , and otherwise.
The mathematical model of the system is expressed as:
where are the unknown state variables, are the system faults, and are the known variables. To distinguish between and in the structural model of , the constraint equations are added here:
of is shown in Figure 2. In Figure 2, the variables are represented by the columns of the association matrix of , and the rows indicate the equations. Among them, ‘•’ represents standard edges, ‘D’ represents edges related to in the added constraint equations, and ‘I’ represents edges related to in the added constraint equations. The structural analysis exclusively focuses on the structure associated with the unknown variable , i.e., the blue part in Figure 1. For ease of description, the structural model associated with is defined here as .
Figure 2.
The structural model of .
2.1.2. Causal Diagnosability
The DM decomposition method [38] is frequently employed for structural analysis. The association matrix is divided into an upper triangular form by the DM decomposition, as shown in Figure 3a. The shaded elements in Figure 3a contain ‘0’ and ‘1’, and the blanks contain only ‘0’. The light-colored dashed line in the figure represents the maximum matching [27]. Matching refers to a set of edge sets that are not in the same row and column in the structural model. is divided into three parts after DM decomposition: the structurally underdetermined part , where ; the structurally exactly determined part , where ; and the structurally overdetermined part , where . A set of Hall components exist in . Due to the resolved redundancy relations embedded in it [12], is the key to the structural analysis and the diagnostic focus. The DM decomposition of is shown schematically in Figure 3b, demonstrating that . Here, and are defined as the operators that obtain the structurally overdetermined and structurally exactly determined subsystems, respectively.
Figure 3.
DM decomposition. (a) DM decomposition diagram. (b) DM decomposition of .
is said to be properly structurally overdetermined (SO) if , where represents the unknown variables embedded in . If is SO, this implies that a structurally overdetermined portion is present in the DM decomposition. Further, if , it implies that is properly structurally overdetermined (PSO). If , for , , . This states that a subset of the proper structurally overdetermined set , PSO, exists. Furthermore, is said to be an MSO if is SO and there is no , such that is SO. The structural redundancy of MSO is 1, which is a minimal unit for diagnosability. Using the MSO method shown in the literature [39], the MSOs of can be obtained as , , , , .
Based on the MSO, the residuals are designed using the sequential residual method to analyze diagnosis. Taking as an example, residuals and are designed using and as redundant equations, respectively. Figure 4a and Figure 5a show the computation flow of and , where the circles represent variables, the bars represent constraint equations, the red bars represent dynamic equations, and the arrows represent the computation flow. As shown in Figure 4a, the calculation process of is as follows: first, use to solve for the unknown variable ; then use to solve for ; then use to solve for ; then use to solve for ; and finally use to obtain .
Figure 4.
Differential causal residual . (a) The computation flow of . (b) Differential matching.
Figure 5.
Differential causal residual . (a) The computation flow of . (b) Integral matching.
Figure 4b shows the structural model of , and it can be seen that . The Hall component in the black border in Figure 4b is its maximum matching, i.e., . Comparing the two panels in Figure 4, it is observed that the process of solving for the unknown variables in Figure 4a is consistent with the matching process shown in Figure 4b. The matching variables are the solution variables of the matching equations. Because the matching contains only the differential edge ‘D’, is differentially causal. Causality here refers to integral and differential operations between dynamic variables. When no fault occurs, . As appears in and appears in , when either or occurs. For ease of description, let ‘int’ denote integral causality, ‘der’ denote differential causality, and ‘mix’ denote mixed causality.
In the computational flow of shown in Figure 5a, two differential loops appear. One is the differential loop consisting of and , and the other is the differential loop consisting of and . Integral operations can break the differential loop. First, based on the differential loop , one obtains such that . Second, based on the differential loop , one obtains such that . Finally, based on the redundant equation , one obtains , which is expressed as follows:
Figure 5b shows the corresponding structural model of , which is structurally exactly determined. The Hall components of are and . Because and , differential loops exist for and . Since differential loops can only be broken by integral operations, is integrally causal. Because and involve the same constraint equations, the sensitivity of to faults is the same as that of .
For , when , , and are sequentially selected as the redundant equations, the causal matching relationship is shown in Figure 6. As shown in the figure, when is a redundant equation, is mixed causal. When is a redundant equation, is integrally causal. When is a redundant equation, is differentially causal. Therefore, the causality of MSO is related to its maximum matching. In addition to the matching edge ‘•’, if its maximal matching exists only in the differential edge ‘D’, it is differentially causal. If its maximal matching exists only in the integral edge ‘I’, it is integrally causal. If its maximal matching contains both integral and differential edges or only the standard edge ‘•’, then it is mixed causal. Equations (3) and (4) demonstrate that the duplicate MSO has the same sensitivity relation to faults, although its causal relations are different.
Figure 6.
Causal relation of . (a) Mixed causality. (b) Integral causality. (c) Differential causality.
Therefore, the fault is said to be structurally detectable if and only if
where is the equation affected by . For example, for , and . Further, the faults and are said to be structurally isolable if and only if
The is known, and the set of faults is . The fault signature matrix (FSM) is built based on Equation (5) as follows:
The fault isolation matrix (FIM) is built based on Equation (6) as follows:
Based on the FSM, the fault detection rate (FDR) can be obtained as follows:
where refers to the logical or operation between the i-th row of data in the FSM. Based on FIM, the fault isolation rate (FIR) can be obtained as follows:
Taking as an example, the MSOs in which integral causality is implied are , and their FSM and FIM are shown in Figure 7a and Figure 8a. Based on Equations (9) and (10), the FDR of under the integral causality condition is , and the FIR is . The MSOs of , which imply differential causality, are , and their FSM and FIM are shown in Figure 7b and Figure 8b. Based on Equations (9) and (10), it can be seen that the FDR under differential causality condition is and . The MSOs in that imply mixed causality are , and the FSM under mixed causality is shown in Figure 7c, in which . The FIM under mixed causality is shown in 8c, where . Here, the FDR is consistent under any causal constraints. The diagnosability results of mixed causality and differential causality are consistent, but the number of MSOs under different causal constraints is inconsistent.
Figure 7.
Fault signature matrix of . (a) Integral causality. (b) Differential causality. (c) Mixed causality.
Figure 8.
Fault isolability matrix of . (a) Integral causality. (b) Differential causality. (c) Mixed causality.
2.2. Quantitative Assessment of Diagnosability Based on MMCD
The structural analysis method can only qualitatively analyze the diagnosability. Thus, this paper proposes a quantitative assessment method based on MMCD by fusing the advantages of MMD and MCD. MMCD not only compensates for the defects of MMD in measuring the covariance differences but also ensures the symmetry of the distance metric.
2.2.1. MMCD
MMD and MCD are both metrics formulated within a reproducible Hilbert space . MMD quantitatively describes the distance between probability distributions by calculating the mean difference in Hilbert space.
Definition 1 (MMD).
It is known that random variables and on the inner volume space obey probability distributions and , respectively. Thus, the MMD between and is expressed as follows:
where
In addition, and denote the expectations of and , respectively; is the fundamental function of ; and represent the mean map of and on , respectively; , , , and are regenerated kernels of .
Through calculating the maximum covariance difference in Hilbert space, MCD provides a quantitative representation of the separation between probability distributions.
Definition 2 (MCD).
It is known that random variables and on the inner volume space obey probability distributions and , respectively. Thus, the MCD between and is expressed as follows:
where
In addition, ; is the orthonormal basis of ; is the covariance operator on ; is the Hilbert–Schmidt (HS) paradigm; and and are the finite number of observations sampled sequentially from distributions and , respectively.
Through combining the differences between MCD and MMD in Hilbert space, MMCD provides a quantitative description of the distance between probability distributions.
Definition 3 (MMCD).
It is known that random variables
and on the inner volume space obey probability distributions and , respectively. Thus, the MMCD between and is expressed as follows:
where .
Comparison of Equations (11), (14), and (17) shows that MMCD can take into account the mean difference and covariance difference of the probability distribution. Analyzing numerically, we find that and . Therefore, the MMCD can measure the probability distribution differences more fully. As , the MMCD also satisfies the symmetry constraint.
2.2.2. Quantitative Assessment
The sensitivity that exists between MSO and faults may be transformed into a leapfrog connection between residuals and faults using MSO design residuals. When there is no fault, the noise affects , and the probability distribution of and the noise are identical. When a fault occurs, is affected by the fault, and the distribution of is different. Subject to causality constraints, the distribution of is also different for causal relationships. Here, a quantitative assessment technique based on MMCD is suggested to gauge how sensitive residuals are to faults. Based on , the residuals are designed. The faults are known to be , such that represents the no-fault mode. Assume that the probability distribution of is when no fault occurs, which is denoted as , and the probability distribution of is when the fault occurs, which is denoted as . Relying on MMCD, the detection complexity of is expressed as follows:
The isolation complexity for and is expressed as follows:
Due to uncertainties such as noise and interference, cannot be used to determine whether occurs, and cannot determine whether and can be isolated. Thus, it is essential to establish the detectability limit and isolability limit to judge the diagnosability. In NF, the residual and of multiple repeated experiments are taken, and their probability distributions are and , respectively. The diagnosability limit is expressed as follows:
where indicates the maximum value taken from several experiments. Therefore, if , it means that can be detected, and the larger is, the more straightforward it is to detect . If , it means that the can be isolated from , and the larger is, the lower the isolation difficulty of and .
Based on Equation (19), a quantitative assessment matrix is established:
where indicates the detection complexity of the diagnostic system for , and indicates the isolation complexity of for and , . Given that MMCD has symmetry, . As a single fault itself does not need to be considered for isolation, . Based on Equations (20)~(22), the fault diagnosis matrix is established.
Based on , the FDR is expressed as follows:
The FIR is expressed as follows:
2.3. Diagnosability Optimization Design Using GWO Algorithm
2.3.1. Optimization Design Model
The number of MSOs grows exponentially with increasing redundancy in the system structure. Thus, to save design costs while designing the diagnostic system, it is necessary to optimize the optimal MSO from MSOs for diagnostic system design. Taking the causality constraints and diagnostic requirements into account, the steps of the diagnostic optimal design model are as follows:
- Step 1: Build the system structure model ;
- Step 2: Using the causal MSO algorithm from the literature [27], obtain the under different causal conditions;
- Step 3: Design the residual set that satisfies the diagnosability requirement;
- Step 4: Construct the vector ;
Then, the optimized diagnostic system is . Based on MMCD, a quantitative assessment matrix is established for .
- Step 5: Assume that the design cost of is . Then, the design cost of is expressed as follows:
In summary, the diagnostic optimization model can be expressed as follows:
where represents the quantitative demand matrix, typically the diagnosability limit .
2.3.2. Diagnosability Optimization Design Strategy Based on the GWO Algorithm
The GWO algorithm is a new type of pack intelligence optimization algorithm that mimics the hunting behavior and social hierarchy of gray wolf packs. Individual wolves are generally divided into four classes; namely, , , , and wolves. Among them, the wolf is the leader, representing the optimal solution in the population, and is the supreme ruler and manager of the wolf pack. The and wolves represent the second- and third-best solutions in the population, and the remaining solutions are regarded as wolves.
The optimization process of the GWO algorithm is divided into three steps: first, searching and tracking the prey; second, hunting and encircling the prey until the prey stops moving; and finally, attacking the prey. The position update formula for the wolves searching and surrounding prey is expressed as follows:
where
In the above equation, is the current iteration number, is the prey position, is the gray wolf position, and and are the coefficient vectors of the algorithm.
Here, and are random vectors between , and is the tuning parameter, which is expressed as follows:
where is the maximum number of iterations and , .
The position of the wolf is based on the positions of wolf, wolf, and wolf. Therefore, once the positions of wolf, wolf, and wolf have been determined, the location of the prey can be determined based on the distance between them.
Here, is the weighting factor for , , and wolves.
In the above equation, denotes the acclimatization value of the j-th gray wolf individual in the t-th generation.
The optimal design strategy for causal diagnosability based on the GWO algorithm is outlined below.
- Step 1: For parameter initialization, set the gray wolf population as , maximum iteration number , and parameters , , and . The parameters of MMCD are selected from the optimal parameter settings verified in the literature [40];
- Step 2: Based on Equation (26), initialize the position of the gray wolf population ;
- Step 3: If the constraints shown in Equation (29) are satisfied, calculate its fitness value based on Equation (28); otherwise, its fitness value is infinity. Second, determine the wolf, wolf, and wolf according to the merit of fitness;
- Step 4: Update the location of the gray wolf population based on Equation (35);
- Step 5: Update the parameters , , and ;
- Step 6: Judge whether the maximum number of iterations has been reached. If so, stop the algorithm and return as the optimal solution ; otherwise, return to step 3.
3. Results and Analysis
In this section, causal diagnosability is optimally designed based on the fixed-wing UAV structural model. Section 3.1 establishes the UAV structural model and analyzes its structural characteristics and its causal diagnosability. In Section 3.2, based on the MSO, the system residuals are designed, and the influencing factors of diagnosability are studied in a simulation scenario. In Section 3.3, based on the MMCD, the probability distribution difference of fault residuals is measured to evaluate quantitatively the system’s diagnosability. In Section 3.4, to minimize the cost of the diagnostic system design under the premise of maximizing the system’s diagnosability requirements, the optimal diagnostic system is optimized based on the GWO algorithm for the diagnosability of the UAV.
3.1. Causal Diagnosability of Fixed-Wing UAVs
For simulation verification in this research, the fixed-wing UAV model from the literature [27] is utilized, and the mathematical model is expressed as follows:
where are the system states, are the system inputs, are the system faults, and are the system outputs.
The structural model of and the DM decomposition schematic are shown in Figure 9. As shown in Figure 9a, the dynamic constraint equation shown in Equation (2) is also added to the structural model of . As shown in Figure 9b, .
Figure 9.
The structural analysis of . (a) Structural model. (b) DM decomposition.
Using the search method reported in the literature [27], the MSOs of can be obtained as shown in Figure 10. The rows of the matrix in Figure 10 illustrate the MSOs, the columns illustrate the equations, and the elements of the matrix contain {‘int’, ‘der’, ‘mixed’} as well as empty elements. The empty element of the matrix means that the equation corresponding to the column in which the position is located is not among the MSOs corresponding to its row. If the element of the matrix is not empty (i.e., {‘int’, ‘der’, ‘mixed’}), it means that the equation corresponding to the column where the position is located is in the MSO corresponding to the row. As an example, . Further, suppose the matrix element is ‘int’(‘der’, ‘mixed’). In this case, it means that when the equation corresponding to the column in which the position is located is selected as the redundant equation, MSO is integrally (differential, mixed) causal. Taking as an example, if , , and are selected as redundant equations, the causal relationships are shown in Figure 11. As shown in Figure 11a, when is chosen as the redundant equation, the maximum matching relation of contains only ‘D’ except for the normal edges, so it is differentially causal. Similarly, when is a redundant equation, is mixed causal; when is a redundant equation, is integrally causal.
Figure 10.
The MSOs and causality of .
Figure 11.
The causal matching relationships of . (a) Differential causal matching. (b) Mixed causal matching. (c) Integral causal matching.
Based on Figure 10, the integrally causal MSOs of are . Based on Equations (7) and (8), the FSM and FIM of are established as shown in Figure 12. The dot in the figure represents matrix element 1. As shown in Figure 12a, under the integral causality condition, . From Figure 12b, . Based on Figure 10, the differential causal MSOs are . The FSM and FIM of are shown in Figure 13, with and . Based on Figure 10, the mixed causal MSOs can be obtained as . The diagnosability result of is shown in Figure 14, with , and . It can be found that the diagnosability is different under different causal constraints, with the best diagnosability obtained under mixed causal constraints and the worst diagnosability obtained under integral causal constraints. This further validates the effect of causality on diagnosability.
Figure 12.
Diagnosability analysis results of . (a) Fault signature matrix. (b) Fault isolation matrix.
Figure 13.
Diagnosability analysis results of . (a) Fault signature matrix. (b) Fault isolation matrix.
Figure 14.
Diagnosability analysis results of . (a) Fault signature matrix. (b) Fault isolation matrix.
3.2. Diagnosability Impact Factor Analysis
To verify the diagnosability of different faults and the responsiveness linking MSOs to faults, the sequential residual method is used for residual design. Figure 15a displays the simulation results of without fault, where and are the reference input signals. When occurs, the simulation results of are shown in Figure 15b, and all the system faults are slope faults as shown in the figure. The used simulation software was MATLAB (2021b version). The initial state of the system is , and noise is not considered here. Based on (, ), (, ) is selected as the redundancy equation to design the residual (, ). As shown in Figure 10, the residuals are integrally causal, and Figure 16a displays each residual’s simulation results. Figure 16a shows that jumps when faults occur, which is consistent with the mapping relationship between and faults shown in Figure 12a. This further verifies the reasonableness and validity of the causal diagnosability. Comparing the residuals in the figure, it can be observed that when the fault occurs, the exact causal residuals are inconsistent in the degree of jump to the fault. For example, the magnitude and direction of the jumps of to are inconsistent. The larger the degree of the leap of the residual to the fault is, the stronger the diagnostic ability of the residual to the fault and the better the diagnosable performance.
Figure 15.
Simulation run results for . (a) Normal operation. (b) occurs.
Figure 16.
Diagnosability impact factor analysis. (a) Fault. (b) Causality. (c) MSO. (d) Residual.
To verify the effect of causality on diagnosability, here, based on , equations , , and are selected as redundant equations to design the residuals , , and , respectively. As shown in Figure 11, , , and are differentially causal, mixed causal, and integrally causal, respectively, and the simulation results are shown in Figure 16b. Figure 16b shows that the residuals with the same MSO design have different causality, and their sensitivity to faults differs. For , , and , the jump of is significantly more potent than the other two residuals. Therefore, is more sensitive to the fault than and . This means that the integral diagnosability of is stronger than the other causal diagnosability.
To verify the effect of MSO on diagnosability, the sensitivity relationships of residuals , , and to faults and are verified here, as shown in Figure 16c. Based on Figure 12a, the sensitivity relationship with and exists for , , and . Figure 16c shows that for and , the jump of is much more significant than that for and . This indicates that the sensitivity of different MSOs to the faults is not the same, and their diagnosability also differs.
To confirm how residuals affect diagnosability, the residuals , , and are designed based on , and equations , , and are selected as redundant equations, respectively. From Figure 9, , , and are differentially causal, and the simulation results of the residuals for , , and are shown in Figure 16d. Figure 13a shows that has a sensitive relationship with , , and . As shown in Figure 16d, when the selected redundancy equation is , the differential residual designed based on has the most significant jump and the strongest diagnostic performance. Therefore, different residuals have different impacts on diagnosability.
In summary, faults, causality, MSO, and residuals all have an impact on the diagnosability, and changes in any of these factors can alter the fault diagnostic ability of the residuals, which subsequently affects the diagnosability.
3.3. MMCD-Based Diagnosability Quantitative Assessment
Structural analysis can only qualitatively analyze the diagnosability, so this paper proposes a quantitative assessment method based on MMCD. As shown in Figure 12, there are a total of seven integral causal MSO; namely, . As shown in Figure 10, two integral causal residuals can be designed for each integral causal MSO. The integral causal residual of the is . Based on MMCD, the fault detection matrix for can be obtained, as shown in Figure 17a. The first seven columns reflect the faults, the final column represents the diagnosability limit (), and the rows of represent the residuals. For example, represents the diagnosability of for , and represents the diagnosability limit of . As , cannot diagnose . Further, as , can diagnose . The sensitivity of to the faults is . From a qualitative point of view, cannot diagnose fault . However, a coupling relationship exists between the states. When a fault occurs in one state, it affects the changes in other states because the fault is transmissible. Therefore, from a quantitative point of view, can diagnose . This also reflects the advantage of quantitative assessment.

Figure 17.
MMCD-based quantitative assessment of diagnosability. (a) Integral causality. (b) Differential and mixed causation. (c) Causal comparison. (d) Diagnosability quantitative assessment.
As shown in Figure 17a, comparing the fault diagnostic values of the residuals of the same MSO design, it can be found that the diagnosability is the same for the integrally causal residuals based on . However, the diagnosability of the integrally causal residuals based on designs is different. For comparative analysis, the mixed causal residual is designed based on . The differentially causal residual and the mixed causal residual are designed based on . The fault diagnosis matrix for residual is shown in Figure 17b. The comparative analysis reveals that the fault diagnosis capabilities of , , and are different. Therefore, most of the fault diagnosis capabilities in the same causal residuals based on the same MSO design are inconsistent.
To further verify the effect of causality on diagnosability, here, based on , , , and are selected as redundant equations, and the differential causal residuals , the mixed causal residuals , and the integral causal residuals are sequentially designed. The fault diagnostic capability matrix of is shown in Figure 17c. As , the fault diagnosis capability of is more potent than that of and . Therefore, the influence of causality must be taken into account in the design of the diagnostic system.
When in Figure 17a is selected as the diagnostic system, the fault diagnosis matrix of is displayed in Figure 17d. Here, the detectability limit , and the isolability limit . As , can diagnose all faults except , which is consistent with the sensitivity of and to faults, as shown in Figure 12a. The fault detection rate of is . As fault diagnosis is a prerequisite for fault isolation, and are meaningless. As , , and , the fault isolation rate of is . As shown in Figure 11a, from a qualitative assessment point of view, does not guarantee that the faults are isolated from each other or that the faults are isolated from each other. However, from the perspective of quantitative assessment, the faults in and are isolated from each other. As shown in Figure 16, the sensitivity of the same residuals to different faults and the degree of jump of different residuals when the same fault occurs are different. Based on MMCD, this difference can be quantitatively characterized, which is not possible with qualitative assessment.
3.4. Diagnosability Optimization Design Based on the GWO Algorithm
To fully consider the causal diagnosability difference of the residuals of the same MSO design, it is necessary to determine the residuals with the most considerable diagnosability ability in the residual set of the same MSO design based on MMCD before optimization of the diagnosability design. First, based on each in , take any one of the equations design residuals in turn. Second, based on MMCD, calculate the fault detection matrix of . Then, calculate the fault diagnostic capability of the residual .
Here,
Then, the residual corresponding to the maximum value in is found. Finally, the set of candidate residuals is obtained as . The causality of and the selected redundancy equations are shown in Figure 18a, and Figure 18b displays its fault diagnosis performance matrix . The matrix , as shown in Figure 18a, has rows representing each MSO and columns representing causality. For example, indicates that when chooses as the redundant equation, the diagnostic performance of the designed residual is maximized, and the residual is integrally causal. Here, the optimal residuals are mixed causal except for the optimal residuals of , which are integrally causal.
Figure 18.
Causal diagnosability of . (a) Causality. (b) Fault diagnosis matrix of .
To fulfill the diagnosability and the cost of the diagnostic system, this paper uses the diagnosability optimization design strategy based on the GWO algorithm and selects the residual set of with the best comprehensive performance. For comparison and evaluation, this study employs the simulated annealing (SA), genetic (GA), and sine-cosine (SCA) algorithms for analysis. Let , and the diagnosability optimization results are illustrated in Figure 19.
Figure 19.
Diagnosability optimization results based on the GWO algorithm. (a) Fitness curves. (b) Fault signature matrix. (c) Fault isolation matrix. (d) Diagnosability quantitative assessment matrix. (e) Fault diagnosis matrix.
Figure 19a shows the fitness curves of each algorithm. The GWO algorithm achieves the optimal value in the second iteration, which is advantageous in terms of the optimization searching speed compared with other algorithms. In terms of optimization accuracy, both the GWO algorithm and the SCA achieved the optimal value. Figure 19b,c show the FSM and FIM of the MSO corresponding to the optimized residuals. Combined with Figure 18a, it can be observed that the GWO algorithm optimizes the to design the residuals , and all the residuals are mixed causal except for , which is integrally causal. From a qualitative assessment point of view, based on Figure 19b, can be obtained. Based on Figure 19c, can be obtained.
Using MMCD, the quantitative assessment matrix of can be obtained as shown in Figure 19d, where the detectability limit and the isolation limit . Based on and Equation (27), its fault diagnosis matrix is established as shown in Figure 19e. Therefore, from the perspective of quantitative assessment, and can be obtained. Comparing Figure 19e with Figure 19c, it is observed that are not isolated from each other in the qualitative assessment. However, in the quantitative assessment, they can indeed be isolated. This is mainly due to the fact that the residuals are not sensitive to the faults. From the causality of the optimized residuals, it can be seen that mixed causality accounts for 80% of the residuals, which further reflects the advantage of mixed causality. From the results of the quantitative optimization, the overall cost of optimization is reduced by 70.59%, and the system achieves a 100% fault detection rate and fault isolation rate. This further demonstrates the advantages of the quantitative assessment.
4. Summary
To improve UAV reliability and diagnosability, this study suggested a causal diagnosability optimization design approach based on the MMCD and GWO algorithms. First, this study offers a qualitative approach to causal diagnosability evaluation based on structural analysis; second, to measure the ease of fault diagnosis, it presents a quantitative approach to causal diagnosability evaluation using the MMCD; and third, to balance the need for diagnosability and the cost of diagnostic system design, it suggests a design strategy to maximize causal diagnosability using the GWO algorithm. According to simulation findings, the enhanced diagnostic system maintains 100% fault isolation and detection rates while reducing design costs by 70.59%.
Furthermore, the findings of the causal diagnosability evaluation indicate that, first, the diagnosability varies depending on the causality. Under mixed causal constraints, diagnosability performs the best among them. Second, different evaluation techniques have various diagnoses. This is mostly because faults and residuals have different sensitivity levels, and the quantitative evaluation successfully captures and quantifies these sensitivity variations. This explains why the quantitative assessment isolates flaws that the qualitative review cannot identify.
Future studies might examine how interference and noise affect diagnosability. Furthermore, optimizing the diagnosability of the structurally precise and poorly defined subsystems is possible.
Author Contributions
Conceptualization, X.G. and X.S.; formal analysis, X.G. and X.S.; investigation, X.G. and X.S.; writing—original draft preparation, X.G. and X.S.; writing—review and editing, X.G. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding authors.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Mohsan, S.A.H.; Khan, M.A.; Noor, F.; Ullah, I.; Alsharif, M.H. Towards the Unmanned Aerial Vehicles (UAVs): A Comprehensive Review. Drones 2022, 6, 147. [Google Scholar] [CrossRef]
- del Cerro, J.; Cruz Ulloa, C.; Barrientos, A.; de León Rivas, J. Unmanned Aerial Vehicles in Agriculture: A Survey. Agronomy 2021, 11, 203. [Google Scholar] [CrossRef]
- Ghamari, M.; Rangel, P.; Mehrubeoglu, M.; Tewolde, G.S.; Sherratt, R.S. Unmanned Aerial Vehicle Communications for Civil Applications: A Review. IEEE Access 2022, 10, 102492–102531. [Google Scholar] [CrossRef]
- Zuo, Z.; Liu, C.; Han, Q.-L.; Song, J. Unmanned Aerial Vehicles: Control Methods and Future Challenges. IEEE/CAA J. Autom. Sin. 2022, 9, 601–614. [Google Scholar] [CrossRef]
- Gu, X.; Shi, X. A review of research on diagnosability of control systems. Energy Rep. 2024, 11, 2174–2188. [Google Scholar] [CrossRef]
- Fourlas, G.K.; Karras, G.C. A Survey on Fault Diagnosis Methods for UAVs. In Proceedings of the 2021 International Conference on Unmanned Aircraft Systems (ICUAS), Athens, Greece, 15–18 June 2021; pp. 394–403. [Google Scholar] [CrossRef]
- Fourlas, G.K.; Karras, G.C. A Survey on Fault Diagnosis and Fault-Tolerant Control Methods for Unmanned Aerial Vehicles. Machines 2021, 9, 197. [Google Scholar] [CrossRef]
- Iannace, G.; Ciaburro, G.; Trematerra, A. Fault Diagnosis for UAV Blades Using Artificial Neural Network. Robotics 2019, 8, 59. [Google Scholar] [CrossRef]
- Liang, S.; Zhang, S.; Huang, Y.; Zheng, X.; Cheng, J.; Wu, S. Data-driven fault diagnosis of FW-UAVs with consideration of multiple operation conditions. ISA Trans. 2022, 126, 472–485. [Google Scholar] [CrossRef]
- Zhang, Y.; Li, S.; Zhang, A.; An, X. FW-UAV fault diagnosis based on knowledge complementary network under small sample. Mech. Syst. Signal Process. 2024, 215, 111418. [Google Scholar] [CrossRef]
- Hua, L.; Zhang, J.; Li, D.; Xi, X.; Shah, M.A. Sensor Fault Diagnosis and Fault Tolerant Control of Quadrotor UAV Based on Genetic Algorithm. J. Sens. 2022, 2022, 8626722. [Google Scholar] [CrossRef]
- Gu, X.; Shi, X. A Review of Research on Diagnosability of Control Systems Based on Structural Analysis. Appl. Sci. 2023, 13, 12241. [Google Scholar] [CrossRef]
- Chen, Z.; Xu, J.; Peng, T.; Yang, C. Graph Convolutional Network-Based Method for Fault Diagnosis Using a Hybrid of Measurement and Prior Knowledge. IEEE Trans. Cybern. 2022, 52, 9157–9169. [Google Scholar] [CrossRef] [PubMed]
- Cheng, Y.; D’Arpino, M.; Rizzoni, G. Fault Diagnosis in Lithium-ion Battery of Hybrid Electric Aircraft based on Structural Analysis. In Proceedings of the 2022 IEEE Transportation Electrification Conference & Expo (ITEC), Anaheim, CA, USA, 15–17 June 2022; pp. 997–1004. [Google Scholar] [CrossRef]
- Li, X.; Xu, J.; Chen, Z.; Xu, S.; Liu, K. Real-Time Fault Diagnosis of Pulse Rectifier in Traction System Based on Structural Model. IEEE Trans. Intell. Transp. Syst. 2022, 23, 2130–2143. [Google Scholar] [CrossRef]
- Yin, C.; He, Z.; Wang, J.; Zhou, H. A method for fault diagnosability evaluation of spacecraft control system. In Proceedings of the 2016 Joint International Information Technology, Mechanical and Electronic Engineering, Xi’an, China, 4–5 October 2016; Xu, B., Chen, Y.N., Zhao, L.H., Eds.; Atlantis Press: Paris, France, 2016; Volume 59, pp. 611–614. [Google Scholar]
- Cui, Y.; Shi, J.; Wang, Z. System-level operational diagnosability analysis in quasi real-time fault diagnosis: The probabilistic approach. J. Process Control 2014, 24, 1444–1453. [Google Scholar] [CrossRef]
- Cheng, Y.; Liu, Y.; Yang, S.; Wu, J. Multi-sensor optimal placement of rotor-bearing system based on fault diagnosability. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2023, 237, 1510–1521. [Google Scholar] [CrossRef]
- Reppa, V.; Timotheou, S.; Polycarpou, M.M.; Panayiotou, C. Performance Index for Optimizing Sensor Fault Detection of a Class of Nonlinear Systems. IFAC-PapersOnLine 2018, 51, 1387–1394. [Google Scholar] [CrossRef]
- Fu, F.; Xue, T.; Wu, Z.; Wang, D. A Fault Diagnosability Evaluation Method for Dynamic Systems Without Distribution Knowledge. IEEE Trans. Cybern. 2022, 52, 5113–5123. [Google Scholar] [CrossRef]
- Wang, Z.; Tang, Z.; Chen, F. Quantitative Evaluation of Sensor Fault Diagnosability of F-16 High Maneuvering Fighter. In Proceedings of the 2022 IEEE 5th International Conference on Automation, Electronics and Electrical Engineering (AUTEEE), Shenyang, China, 18–20 November 2022; pp. 102–108. [Google Scholar] [CrossRef]
- Liu, Q.; Wang, Z.; Zhang, J.; Zhou, D. Necessary and Sufficient Conditions for Fault Diagnosability of Linear Open- and Closed-Loop Stochastic Systems Under Sensor and Actuator Faults. IEEE Trans. Autom. Control 2022, 67, 4178–4185. [Google Scholar] [CrossRef]
- Qu, R.; Jiang, B.; Cheng, Y. Research on the Diagnosability of a Satellite Attitude Determination System on a Fault Information Manifold. Appl. Sci. 2022, 12, 12835. [Google Scholar] [CrossRef]
- Stiefelmaier, J.; Gienger, A.; Böhm, M.; Sawodny, O.; Tarín, C. A Bayesian Approach to Fault Diagnosability Analysis in Adaptive Structures. IFAC-PapersOnLine 2022, 55, 347–352. [Google Scholar] [CrossRef]
- Zhang, W.; Zhang, X.; Lan, L.; Luo, Z. Maximum Mean and Covariance Discrepancy for Unsupervised Domain Adaptation. Neural Process Lett. 2020, 51, 347–366. [Google Scholar] [CrossRef]
- Yang, C.; Jia, M.; Li, Z.; Gabbouj, M. Enhanced hierarchical symbolic dynamic entropy and maximum mean and covariance discrepancy-based transfer joint matching with Welsh loss for intelligent cross-domain bearing health monitoring. Mech. Syst. Signal Process. 2022, 165, 108343. [Google Scholar] [CrossRef]
- Gu, X.; Shi, X. Diagnosability-optimization design of fixed-wing unmanned aerial vehicle based on causal matching and tree seed algorithm. Meas. Control 2024, 00202940241307629. [Google Scholar] [CrossRef]
- Katoch, S.; Chauhan, S.S.; Kumar, V. A review on genetic algorithm: Past, present, and future. Multimed. Tools Appl. 2021, 80, 8091–8126. [Google Scholar] [CrossRef]
- Cunha, M.; Marques, J. A New Multiobjective Simulated Annealing Algorithm—MOSA-GR: Application to the Optimal Design of Water Distribution Networks. Water Resour. Res. 2020, 56, e2019WR025852. [Google Scholar] [CrossRef]
- Li, W.; Yan, X.; Huang, Y. Cooperative-Guided Ant Colony Optimization with Knowledge Learning for Job Shop Scheduling Problem. Tsinghua Sci. Technol. 2024, 29, 1283–1299. [Google Scholar] [CrossRef]
- Gad, A.G. Particle Swarm Optimization Algorithm and Its Applications: A Systematic Review. Arch. Comput. Methods Eng. 2022, 29, 2531–2561. [Google Scholar] [CrossRef]
- Kaya, E.; Gorkemli, B.; Akay, B.; Karaboga, D. A review on the studies employing artificial bee colony algorithm to solve combinatorial optimization problems. Eng. Appl. Artif. Intell. 2022, 115, 105311. [Google Scholar] [CrossRef]
- Qiu, Y.; Yang, X.; Chen, S. An improved gray wolf optimization algorithm solving to functional optimization and engineering design problems. Sci. Rep. 2024, 14, 14190. [Google Scholar] [CrossRef]
- Pan, H.; Chen, S.; Xiong, H. A high-dimensional feature selection method based on modified Gray Wolf Optimization. Appl. Soft Comput. 2023, 135, 110031. [Google Scholar] [CrossRef]
- Wang, J.; Xu, Y.-P.; She, C.; Xu, P.; Bagal, H.A. Optimal parameter identification of SOFC model using modified gray wolf optimization algorithm. Energy 2022, 240, 122800. [Google Scholar] [CrossRef]
- Emary, E.; Zawbaa, H.M.; Grosan, C. Experienced Gray Wolf Optimization Through Reinforcement Learning and Neural Networks. IEEE Trans. Neural Netw. Learn. Syst. 2018, 29, 681–694. [Google Scholar] [CrossRef] [PubMed]
- Kumar, A.; Pant, S.; Ram, M. System Reliability Optimization Using Gray Wolf Optimizer Algorithm. Qual. Reliab. Eng. Int. 2017, 33, 1327–1335. [Google Scholar] [CrossRef]
- Dulmage, A.L.; Mendelsohn, N.S. Coverings of Bipartite Graphs. Can. J. Math. 1958, 10, 517–534. [Google Scholar] [CrossRef]
- Krysander, M.; Aslund, J.; Nyberg, M. An Efficient Algorithm for Finding Minimal Overconstrained Subsystems for Model-Based Diagnosis. IEEE Trans. Syst. Man Cybern. A 2008, 38, 197–206. [Google Scholar] [CrossRef]
- Gu, X.; Shi, X. Diagnosability-optimized design of unmanned aerial vehicles based on structural analysis and maximum mean covariance differences. Measurement 2024, 238, 115334. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).