Structural Damage Identification Based on the Wavelet Transform and Improved Particle Swarm Optimization Algorithm

A method based on the wavelet transform and improved particle swarm optimization (WIPSO) algorithm is proposed to identify the microdamage of structures. First, the singularity of wavelet coefficients is used to identify the structural damage location, and then, the improved particle swarm optimization (IPSO) algorithm is used to calculate the optimal solution of the objective function of the structural damage location to determine the structural damage severity. To study the performance of WIPSO, the structural microdamage severity is set within 10%, and a numerical simulation and experimental structure under different damage scenarios are considered. In addition, the ability of wavelet coefficients to identify the location of the structural damage under different noise levels is studied. To evaluate the performance of IPSO, the standard particle swarm optimization algorithm with an inertia weight factor of 0.8 (0.8PSO), the genetic algorithm (GA), and the bat algorithm (BA) are also considered.+e results show thatWIPSO can effectively and accurately identify the structural damage location and severity.Wavelet transform is very robust to the structural damage location. Compared with the standard 0.8PSO and other mainstream algorithms, IPSO has good convergence and performs more stable and more accurate in the identification of structural damage severity.


Introduction
During the service life of a structure, microdamages occur, which are difficult for direct visual identification; these microdamages will accumulate and eventually lead to structure failure or even collapse. erefore, research on structural microdamage has become increasingly urgent. Structural damage identification can not only evaluate whether the working state of a structure is safe but also provide a technical basis for structural reinforcement measures. In the investigation of large-scale structures, it is time-and labor-consuming to carry out nondestructive testing with visual inspection, and only part of the overall state information of a structure can be provided. However, damage identification based on structural vibration can be used to obtain complete structural information. e basic theory of damage identification based on the vibration response is that the damage causes changes in physical properties, such as stiffness, damping, and mass; furthermore, the damage affects the modal characteristics, i.e., modal damping, mode shape, and natural frequency. erefore, damage can be identified by analyzing changes in the structural vibration characteristics. In recent decades, experts and scholars in related fields used vibration responses as the basis for damage identification [1][2][3][4], and several approaches have been suggested [5,6]. For example, based on the natural frequency, the modal strain energy damage identification method of the displacement mode can be used, and the effectiveness of the method for identifying the damage location of complex structures was verified by numerical simulation [7]. In addition, because it is difficult to accurately measure freedom of rotation, the measured displacement mode information was expanded to obtain this information [8]. e natural frequency and mode shape are global parameters, and the local damage sensitivity to global parameters is low; thus, it is still difficult to use the natural frequency and mode shape to accurately locate and quantify damage. However, the strain mode has more information than the displacement mode.
In recent years, strain mode and displacement mode have been used to identify the structural damage, and research shows that the strain mode has stronger sensitivity to damage [9]. e curvature mode is affected by noise to some extent after the noise is added to the experiment data, but the strain mode can effectively avoid noise pollution [10]; therefore, a damage identification method with high accuracy and good noise resistance can be established based on the strain mode. At present, establishing a damage index is the main method of structural damage identification based on the strain mode, and the changes in the damage index before and after structural damage based on the strain mode are obtained to identify the damage. Both numerical simulation and experimental results demonstrate that the method of structural damage identification based on the strain mode can accurately identify the damage location, and the strain mode has better noise resistance than the displacement mode [11,12].
Due to the poor effect of using the dynamic structural parameters to identify the microdamage, signal processing and related technologies are proposed to assist with damage identification. Fourier transform analysis functions from the time-based domain to the frequency-based domain are used, but they lack resolution in the time domain, which makes it difficult to extract local information. Effective signal processing in the time-frequency domain to achieve high-resolution analysis has always been a research hotspot and challenge in related fields [2,13]. In recent years, many scholars have proposed various methods to solve the structural damage identification problem, but there are still some shortcomings. For example, the Hilbert-Huang transform can intuitively assess the structural damage by analyzing the natural mode function of the structural response signal and comparing the shape factors of the natural mode function of the response signal before and after damage [14]. However, the first IMF of the Hilbert-Huang transform may cover a wide frequency range, which will cause signal distortion and lead to errors [15]. To overcome these deficiencies, wavelet analysis was proposed because of its multiresolution analysis and good localization characteristics in the time-frequency domain. Wavelet analysis can effectively solve the resolution contradiction in the timefrequency domain and diagnose the vibration state of the structure, so it can be used for structural damage identification [16,17].
With the development of wavelet analysis in various fields, the identification of the structural damage based on wavelet analysis is also developing. e singularity principle of wavelet analysis enables the experimental modal parameters of the structure to obtain singularity of the experimental data after wavelet transformation; therefore, the structural damage location can be identified, and the damage severity can be defined by the relevant damage index (such as the Lipschitz index) [18]. It is a common method to transform the dynamic characteristic parameters of structures into corresponding damage indexes by wavelet transform. As one of the most commonly used damage indexes, the wavelet coefficient can be used not only as an index to identify local anomalies [19] but also as a component of the damage index [20,21]. e damage location can be directly reflected by a wavelet coefficient graph [22,23], which makes the damage location more intuitive. In addition, wavelet transform is used to process the modal data of damaged structures, and the difference with the damage approximate function is calculated to obtain the structural damage location [24]. Similar methods have been studied, such as calculating the modal vector differences of a structure by wavelet transform and taking the accumulated value of the modal vector differences as the damage index to identify the structural damage location [25]. He et al. [26] used wavelet transform to decompose the changes in the frequency component of a moving load from the total dynamic displacement response to locate the suspected damage area. All of the above methods are based on wavelet transform, which has good resolution in the time-frequency domain.
Although wavelet analysis can efficiently and accurately identify the location of the structural damage, it cannot directly identify damage severity. Recently, intelligent optimization algorithms have been a research hotspot to identify damage severity. Some experts and scholars have tried to apply intelligent algorithms to structural damage identification. e artificial immune algorithm, GA, and other algorithms have been successfully applied to damage identification in conduit platforms and bridges [4,27,28], and these algorithms have achieved good damage identification. Moreover, GA has also been used to solve the multiobjective optimization problem, and it was found that the method for damage location and quantification has a good application prospect. Tiachacht et al. [29] proposed a method of structural damage identification and quantification based on the modified Cornwell indicator (MCI) and GA, and they successfully identified the damage of two-dimensional truss and three-dimensional frame structures by GA-MCI. Tran-Ngoc et al. [30] applied a particle swarm optimization (PSO) algorithm and genetic algorithm (GA) to update the parameters of the Nam O Bridge model. e result shows that PSO not only provides a better accuracy between the numerical model and measurements but also reduces the computational cost compared to GA. In addition, with the in-depth study of neural network training, it is found that neural networks have strong abilities for structural damage identification [31] and high sensitivity for local damage identification [32]. For the damage identification of plate-shaped structures, Guedria [33] introduced the accelerated differential evolution algorithm, constructed the objective function using the flexibility matrix, solved the problem of damage identification, and verified the results by numerical simulation. Nobahari et al. [34] combined the residual force vector and GA to accurately identify the damage location and severity of truss structures in two steps; the work of calculating the damage severity of GA can be effectively reduced after the residual force vector is used to identify the damage location. Chatterjee et al. [35] improved the accuracy of the traditional learning algorithm training artificial neural network to identify the structural damage through PSO optimization of the optimal weight of the neural network selector. Zhao et al. [36] combined the tabu search method and chaos search method to optimize the artificial bee colony algorithm and improve the exploration and development ability of the algorithm. rough numerical simulation and testing, the method was proved to effectively identify the structural damage, and the method has good robustness when there are enough measurement data.
At present, scholars and research groups are trying to study how to combine wavelet analysis and intelligent algorithms to identify the location and severity of the structural damage. Dynamic parameter data of damaged structures can identify structural damage locations by wavelet transform [37], and the damage severity of the structures can be identified by intelligent algorithms [38]. e relevant case analysis combines wavelet analysis and intelligent algorithms to accurately identify the damage location and severity of the structure [39][40][41]. rough the damage identification of I-beams in relevant experiments, it is found that the method of damage location and severity identification of the I-beam in steel structures is divided into two steps that have high accuracy in theory and practice [42].
PSO originated from a biological mechanism and was proposed by Kennedy and Eberhard in 1995. PSO was originally used as an optimization technique for mathematical problems in the space [43]. Owing to the advantages of POS, such as ease of use, fast convergence, and good robustness, it is suitable for damage identification in engineering. However, PSO also has some disadvantages, such as prematurity in the search process and ease of falling into the local optimum. ere are some experts and scholars to study how to solve the balance between local search and global search [44,45]. Chen et al. [46] proposed a particle swarm optimization algorithm with crossover operation (PSOCO). By performing crossover on the personal historical best position of each particle, the effective guiding exemplars are constructed, and they maintain a good diversity. In turn, these high-quality exemplars are used to guide the evolution of particles.
rough adopting lots of benchmarks with different characteristics in the experiments, it is proved that PSOCO is a competitive PSO variant for some benchmark functions. Tran-Ngoc et al. [47] improved the calculation method of PSO's inertia weight factor by introducing contraction factor K to improve the disadvantage of premature convergence of PSO. en, the best local position of particles in PSO based on orthogonal diagonalization (OD) was arranged, which greatly reduced the calculation cost of PSO. e Guadalquivir bridge model in Spain is modified by using ODIPSO, which shows that ODIPSO not only improves the effectiveness of the PSO algorithm but also greatly reduces the computational time. Khatir et al. [48] proposed a new technique based on an artificial neural network (ANN) combined with particle swarm optimization (PSO) for damage quantification in laminated composite plates using the Cornwell indicator (CI). Isogeometric analysis (IGA) is used as a modeling technique, CI is used as the input data, and damage locations and severities are used as the output data. e numerical simulation result indicates that high accuracy of damage quantification is achieved using ANN-PSO-IGA-CI.
Furthermore, it is demonstrated that substantial savings in computational time are achieved when using ANN-PSO-IGA-CI compared with PSO-IGA-CI. According to the disadvantages of PSO, the calculation method of inertia weight of PSO is improved in this paper, which can balance the relationship between local search and global search of PSO, so as to avoid premature or local optimum in the process of PSO optimization calculation.
A simple, yet powerful, technique based on wavelet transform combined with the improved particle swarm optimization (WIPSO) algorithm for microdamage location and quantification in the structure is proposed, and the microdamage of the structure is defined within 10%. First, the structural strain mode is calculated by using the structural modal data, and the wavelet coefficient diagram is obtained by wavelet transform of the strain mode. According to the singularity of the wavelet coefficient, the structural damage location can be directly determined from the wavelet coefficient diagram. en, according to the known damage location of the structure, MATLAB is utilized to model the structure and calculate the parameters of the objective function. Finally, MATLAB is applied to run IPSO to calculate the optimal solution of the objective function of the structural damage location in order to calculate the damage severity of the structural damage location. IPSO improves the calculation method of the inertial weight of the standard PSO to balance the global and local searches of damage identification, so the IPSO will not fall into the local optimization and prematurity in research problems similar to those in this paper. rough numerical simulations of a fixed beam structure and a onestory one-span frame structure, the accuracy and running speed of structural damage identification by WIPSO are obtained. en, IPSO is compared with GA [44,49], 0.8PSO, and BA [50] to obtain the performance. e numerical simulation and experimental research under different damage scenarios show that WIPSO can quickly and accurately identify the structural damage and has great potential in damage identification of structures.

The Principle of Wavelet Singularity
Considering the function ψ(t) ∈ L 1 (R) ∩ L 2 (R) and +∞ −∞ ψ(t)dt � 0, ψ(t) is called a basic wavelet or a mother wavelet. ψ(t) is scaled and translated as where a and b are the scale factor and translation factor, respectively, and ψ a,b (t) is the wavelet function.
Defining ψ(t) as the basic wavelet, the continuous wavelet transform (CWT) of f(t) ∈ L 2 (R) is defined as where a ≠ 0, b, t is a continuous variable, and ψ * (t) is the complex conjugate of ψ(t). e convolution form of the wavelet transform is Advances in Civil Engineering where ψ |a| (t) � |a| −1 ψ * (−t/a).
Defining θ(t) as a smooth function and derivative, ψ(t) � dθ(t)/dt, of any low-pass function θ(t), is the bandpass function, which satisfies +∞ −∞ ψ(t)dt � 0, and the wavelet function with scale factor s is e continuous wavelet transform of the basic wavelet corresponding to function f on s is where s > 0, and equation (5) shows that the modulus maximum |Wf(s, u)| of the wavelet transform is the maximum of the first derivative of f smoothed by θ s and corresponds to the singular point of the signal.

Damage Location Identification
At the moment of damage, the mass of the beam structure with the microdamage is basically the same, so it can be considered that the structural damage is essentially the reduction of stiffness EI. e stiffness of both sides of the damaged location is not equal, i.e., EI(v + ) ≠ EI(v − ). When ] � x, the deformation condition and internal force balance condition of the position still meet the following conditions [18]: Vertical displacement: Rotation angle: Bending moment: Shearing force: where the superscripts + and − are used to denote the quantities just at the right and left of the discontinuous point. k is the curvature of the section, ρ(x) is the radius of curvature, M is the bending moment, ε is the strain, μ is the severity of deformation, and h is the distance from the point on the section to the neutral layer.
According to equations 8 and (9), microdamage will also cause the curvature mode and strain mode on both sides of the damage location to be unequal. In addition, the curvature mode and strain mode, far away from the damage location of the structure, will not change greatly, so the curvature mode and strain mode of the structure will mutate at the damage location. Previous research studies show that the strain mode is more sensitive to the microdamage of the structure, so the strain mode of the damaged structure will be analyzed by the continuous wavelet transform in this study, and the singular point (modulus maximum point) of the structural strain mode signal will be used to identify the damage location of the structure.

Strain Mode
Strain is the first derivative of displacement, so each displacement mode corresponds to the corresponding strain mode, and the strain mode reflects the inherent characteristics of the structure. To measure strain, the curvature mode can be used for indirect measurement. According to the material mechanics, the bending static relation of the beam can be obtained as where i is the section position of measuring point i, M i is the bending moment of section i, E i I i is the flexural rigidity of section i, d i is the radius of curvature at section i, and ρ i is the curvature of section i. According to the approximate equation of bending deformation of the beam, where x is the coordinate along the length direction of the straight beam and y is the bending deflection of the beam. According to equations (10) and (11), the difference equation of three equidistant continuous measuring points along the beam can be obtained: where i − 1, i, and i + 1 are three adjacent continuous measuring points with equal distance along the beam, ρ i is the curvature of section i, y i is the bending deflection of section i, y i+1 and y i−1 are the bending deflections of section i − 1 and section i + 1 of the measuring points, respectively, and Δ is the bending deflection of two adjacent measuring points. e strain ε i of the measuring point i of the beam can be expressed as where h is the distance between the surface of the measuring point on the beam and the neutral layer, and equation (13) shows the direct relationship between the curvature mode and the strain mode of the beam. Advances in Civil Engineering to use, converges quickly, and so on. When PSO is used to solve the optimization problem, finite possible solutions of the optimization problem can be initialized to the particle swarm, and the individual fitness and average fitness of the whole population will be continuously improved by an iterative process. After the individual fitness of the particles in the group no longer change significantly or the optimal particle position in the solution space is found, the whole group will stop the iteration, and the optimal position or optimal solution of the optimization problem in the current whole group will be output. e particle swarm is defined to find the optimal solution in an M-dimensional solution space, and the swarm is initialized with N random particles, the position X i of the i particle is N, and x and v are the components of X and V in different dimensions, respectively. In the iterative optimization process, the particles will evaluate the current position by the established fitness function f(x), and the individual optimal position p best � (p i 1 , p i 12 , . . . , p iM ) of each particle in the current group and the global extreme value of the whole group are evaluated according to equations (14) and (15):

Improved Particle Swarm Optimization Algorithm
where k is the number of current iteration steps, i � 1, 2, . . . , N, m � 1, 2, . . . , M, and w is the inertia weight factor, which controls the search range. When w is large, PSO focuses on global search, while when w is small, PSO focuses on local search. c 1 and c 2 are nonnegative acceleration factors (or learning factors) that control the selflearning ability and social learning ability of particles, respectively; r 1 and r 2 are the random values in [0, 1]. Individual extremum p best and global extremum g best are tracked by equations (14) and (15), respectively, and the velocity V and position X of particles in the group are updated iteratively by equations (16) and (17), so the algorithm starts the next iteration cycle. PSO terminates the iteration and outputs the optimal particle position in the current group when the particle obtains the optimal solution of the fitness function or the algorithm meets the iteration stop condition.

Improved Particle Swarm Optimization (IPSO) Algorithm.
Although PSO has advantages in solving complex optimization and combination problems, there are many disadvantages of PSO, such as its poor local search ability, low search accuracy, and ease of falling into the local minimum. ese problems are all due to the dependence of PSO on parameters and the imperfection of the algorithm theory. PSO improvement can be summed up with the following two aspects: (1) improve the theory of PSO and improve the parameters on which it depends to overcome its own shortcomings; (2) introduce other excellent theories and algorithms, through the combination with PSO, to overcome the shortcomings of PSO.
In this paper, we improve the parameters of PSO by the first approach to overcome the problem that PSO has easy precocity and falls into the local optimum. In PSO, choosing the right parameters to optimize the performance of the algorithm is a complex problem. e main control parameters of PSO include population size N, inertia weight factor w, acceleration factors c 1 , c 2 , maximum speed, stopping criterion, neighborhood structure setting, and boundary condition processing strategy. e number of population size number N in these parameters affects the convergence speed of the algorithm and whether the algorithm easily falls into the local optimum. e value of N is set smaller, and the convergence speed of the algorithm is faster; however, it easily falls into the local optimum. When the value of N is set larger, the PSO optimization ability is good, and the convergence speed of the algorithm is slow. When the number of particles increases to a certain level, the increase no longer has a significant effect. erefore, according to the setting of specific problems, the value of N generally ranges from 10 to 50. For more complex problems, the value of N can be 100 or more. Learning factors c 1 , c 2 have the ability to selfsummarize and learn from the excellent individuals in the group, which regulates the maximum step length of particles flying in the individual optimal direction and the group optimal direction, respectively. When the learning factor is small, particles may wander far from the target area, while when the learning factor is large, particles move quickly to the target area or even cross the target. erefore, in order to balance the individual experience and group experience of particles, c 1 , c 2 can generally be taken as 2. In equation (16), the inertia weight w indicates to what extent the original speed is retained. If w is larger, the global search ability is stronger, and if w is smaller, the local search ability is stronger. According to different calculation methods of inertia weight, different functional PSOs can be devolved.
In this paper, the calculation method of inertia weight factor w in equation (16) is improved to enhance the convergence performance of PSO; however, the value of w is not a fixed value or a linearly increasing and decreasing value to achieve the purpose of optimizing PSO.
us, the dynamic adjustment method is considered. PSO will converge faster in the early stage while calculating. To maintain a certain level of particle search speed, according to the relationship between the maximum number of iterations and the current number of iterations, as well as the output value of the current objective function and the average value of all the current Advances in Civil Engineering calculated objective functions, a calculation method of w can be established to achieve the purpose of PSO. e calculation method of w for IPSO is as follows: where w max and w min are the maximum and minimum values of inertia weight, with values of 0.9 and 0.4, respectively. T is the maximum number of iterations, and t is the current number of iterations. F is the current objective function value, and F avg is the average objective function value of all particles. When the target value of each particle tends to be the same or local optimum, the inertia weight increases, and when the target value of each particle is relatively scattered, the inertia weight decreases. e steps required for IPSO to identify the severity of the structural damage are as follows:

Establishing the Unknown Function.
e method of element stiffness reduction is used to simulate the damage severity c i of the structural damage element, and the unknown value c of the objective function is constructed by taking c i of all structural damage elements to be identified as an unknown component. In this paper, the method of reducing the element stiffness is used to simulate the damage. If the stiffness of the damaged element is EI, the damage severity is c, and the stiffness of the damaged element is EI i : Since the damage is set as a minor damage, it is assumed that the mass and modulus of elasticity E of the damaged element do not change before and after damage, but the moment of inertia of the element changes. According to the method of setting the element damage, the height of the element changes before and after damage in this paper.

Constructing the Objective Function.
Based on the comprehensive consideration of the global and local structural properties, the objective function shown in equation (20) is constructed by using the regularized frequency variation function and the weighted sum of the displacement mode variation function: where F ω and F ϕ are weighting factors, which are set as 1, f test i and f cal i are the measured and calculated i-th order natural frequencies, respectively, ϕ test ij and ϕ cal ij are the measured and calculated displacement modes of the i-th order j-th node, respectively, after normalization, m is the order of the natural frequency, n is the order of the displacement mode, and k is the node number. e unknown value c of the minimum value of the objective function min F is the set of damage severity c i of all damage elements of the structure.

Establishing the Fitness Function.
In this study, min F is taken as the fitness function FIT1 of IPSO to identify the damage severity of the structure, i.e., FIT1 � min F. e particles of the group also search for the optimal solution in the solution space based on the minimum value of min F.

Establishing IPSO and Solving the Fitness Function.
Before solving min F with IPSO, the relevant parameters of the algorithm are set. e value of particle n ranges from 0 to 0.9, and the number of particles N ranges from 50 to 100; w is calculated with equation (18), the values of c 1 and c 2 are set as 2, the value of the maximum number of iterations T ranges from 100, and the value of accuracy error e for the optimal solution is set as 0.0001.
After setting the relevant parameters, it is necessary to adjust the mode parameters of the model according to the test data, so as to eliminate the modeling errors as much as possible. en, the IPSO code is debugged according to the optimization problem to determine the parameter settings to complete identification of the structural damage.
e flowchart of structural damage identification by combining the wavelet transform with IPSO is shown in Figure 1, which shows the combination of the wavelet and the intelligent algorithm to identify the structural damage.

Numerical Simulation
To verify the ability of WIPSO proposed in this study, a wavelet analysis and four kinds of intelligent algorithms are used to identify the location and severity of the structural damage under two damage scenarios. Scenario 1 uses a fixed beam as the object. Scenario 2 uses a one-story one-span frame structure as the object. Figure 2.

Scenario 1. A fixed beam model is shown in
e fixed beam span is 1118 mm, the section size is b × h � 60 mm × 80 mm, Q235 steel is used, the material density is ρ � 7800 kg/m 3 , Poisson's ratio is μ � 0.3, and the elastic modulus is E � 2.1 × 10 11 N/m 2 . According to structural parameters, ANSYS finite element software is used to model the fixed beam. Point A and point B of the beam end adopt the form of fixed support, so the beam end has no displacement in any direction, as shown in Figure 2. e finite element model of the fixed beam is divided into 43 elements in the order of A − B, as shown in Figure 2, and the element nodes are coded in turn. e damaged elements and damage severity of the fixed beam are set as follows: the damage severity of element 12 is 4%, the damage severity of element 25 is 20%, and the damage severity of element 38 is 10%. e method of reducing the element stiffness is adopted in the damage simulation, and the damage form is transfixion notch along the thickness direction. By comparing the accuracy and running time of the structural damage identified by four intelligent algorithms, the calculation speed, accuracy, and stability of IPSO can be obtained.

Identification of the Damage Location.
e finite element model of the fixed beam structure is established by ANSYS finite element software. According to scenario 1, elements 12, 25, and 38 are set as damage elements, and the displacement mode of the structure is calculated by ANSYS. According to the calculation method of the strain mode Step 1: predict the damage location of the structure Obtain the modal data of the damaged structure Use wavelet transform of modal data to obtain wavelet coefficient graph Predict the damage location through singular points of wavelet coefficient Step 2: calculate the damage severity Construct the structure model without damage by MATLAB Calculate the modal shape of the damage location Input modal data of the damaged structure into calculation program Use MATLAB to run IPSO Randomly initialize the velocity and position of each particle Evaluate p best of the particle Evaluate g best of the particle Update the velocity of the particle according to equation (16) Update the position of the particle according to equation (17) Satisfy predefined stopping criteria Advances in Civil Engineering described in Section 4, the second-order derivation of the displacement mode is carried out by MATLAB to obtain the strain mode of the structure. en, the wavelet toolbox in MATLAB is used to select the DB wavelet to transform the strain modal data, and the wavelet coefficient shown in Figure 3 can be obtained. It can be seen from Figure 3 that the wavelet coefficient diagram of the fixed beam structure suddenly changes near points 10, 23, and 36. e strain mode data calculated by the second-order derivation of the displacement mode with MATLAB will be reduced by two. erefore, points 10, 23, and 36 in the wavelet coefficient diagram actually correspond to elements 12, 25, and 38 in the fixed beam structure model. ere will be mutations around the damage location that are affected by the damage, but the maximum value point of the modulus corresponds to the damage location. According to the above statement, fixed beam structure damage occurs in elements 12, 25, and 38, which is consistent with the damage element setting of the finite element model of the fixed beam. erefore, the wavelet singularity principle can accurately identify the structural damage location. Figure 2, the fixed beam is modeled with MATLAB, and the beam structure is divided into 43 elements according to the order of A − B. Point A is taken as point 1 and point B is taken as point 44 to number the element nodes in turn. According to the number sequence, the element stiffness is assembled to obtain the overall stiffness, thus completing the modeling. e codes of IPSO, 0.8PSO, GA, and BA are compiled by MATLAB, respectively. Since the damage location has been identified, only the damage severity of the damage element needs to be taken as the unknown value of the fitness function. MATLAB is utilized to calculate the natural frequency and displacement mode shape of the model according to the beam model, which is substituted into the fitness function to calculate the damage severity, as shown in the calculation flowchart in Figure 1. To reduce the randomness of the algorithm, the four intelligent algorithms will run on the same computer ten times. Because of the randomness of the calculated results in each operation, the maximum and minimum values will not be removed from the calculated results to ensure the fairness of each calculated result.

Identification of Damage Severity. According to
(1) e structural damage severity graph and calculation error graph, calculated by 0.8PSO, are shown in Figures 4 and 5, respectively. Figures 4 and 5 show that the accuracy of 0.8PSO in identifying the structural damage severity is relatively low, and its maximum error reaches 1%. is indicates that the particle swarm optimization algorithm with fixed inertia weight factor may fall into premature or local optimal solution, which caused high identification error. (2) e structural damage severity graph and calculation error graph, calculated by GA, are shown in Figures 6  and 7, respectively. e accuracy of GA in identifying the structural damage severity is high, and the evaluation errors are within 0.5%, as shown in Figures 6 and 7. e higher  Advances in Civil Engineering the damage severity is, the smaller the damage error fluctuation is. (3) e structural damage severity graph and calculation error graph, calculated by BA, are shown in Figures 8  and 9, respectively. e accuracy of BA in identifying the structural damage severity is high, and its error is within 0.4%, as shown in Figures 8 and 9. e higher the damage severity is, the smaller the damage error is. (4) e structural damage severity graph and calculation error graph, calculated by IPSO, are shown in Figures 10 and 11, respectively, and it can be found that the accuracy of IPSO in identifying the damage severity of the structure is very high, and the evaluation errors are within 0.25%. e higher the damage severity is, the smaller the damage error fluctuation is. Figure 12 shows the running time ratio of GA, BA, 0.8PSO, and IPSO to IPSO′, and IPSO′ is the average of the running time of IPSO. Figure 12 shows that GA takes the longest time to identify beams with three damage areas, while BA takes the shortest time, and IPSO takes slightly more time than BA. Figures 13(a) and 13(b) illustrate the curves of the objective functions and iteration times obtained by randomly selecting 0.8PSO and IPSO to run for ten times. Table 1 shows the iterations and objective function values of 0.8PSO and IPSO running for ten times. It can be seen from Figure 13 and Table 1 that although the iteration curve of 0.8PSO is similar to that of IPSO, the number of iterations of 0.8PSO in each operation reaches T max � 100, while that of IPSO in each operation is T < 100. e objective function value min F calculated by 0.8PSO is much larger than that calculated by IPSO. e above analysis indicates that IPSO is effective for the improvement of inertia weight, and there is    It can be seen from the above analysis that although IPSO takes 1/3 more time to identify the structural damage than BA, its identification accuracy is higher than BA, and the error fluctuation of IPSO in identifying the structural damage is the smallest with 0.25%.

Scenario 2.
A one-story one-span frame structure is depicted in Figure 14. A rigid connection is adopted between the beams and columns of the frame structure, and the connection between the columns and the ground is a fixed connection. e beam span and column height are 4500 mm, the section size is b × h � 300 mm × 500 mm, Q235 steel is used, the material density is ρ � 7800 kg/m 3 , Poisson's ratio is μ � 0.3, and the elastic modulus is E � 2.1 × 10 11 N/m 2 . According to the above parameters, ANSYS finite element software is used to model the one-story one-span frame structure. Point A and point D of the frame structure adopt the form of fixed support so that the frame structure end has no displacement in any direction, as shown in Figure 14. e finite element model of the frame structure is divided into 450 elements in the order of A − B − C − D, as shown in Figure 14, and the element nodes are coded in turn. e damaged elements and damage severity of the frame structure are set as follows: the damage severity of element 116 is 9%, the damage severity of element 203 is 3%, and the damage severity of element 391 is 7%. e method of reducing the element stiffness is adopted in the damage simulation, and the damage form is transfixion notch along the thickness direction. By comparing the accuracy and running time of the structural damage identified by four intelligent algorithms, the calculation speed, accuracy, and stability of IPSO can be obtained.

Identification of the Damage Location.
e finite element model of the one-story one-span frame structure is established by ANSYS finite element software. According to scenario 2, elements 116, 203, and 391 are set as damage elements, and the displacement mode of the structure is calculated by ANSYS. According to the calculation method of the strain mode described in Section 4, the second-order derivation of the displacement mode is carried out by MATLAB to obtain the strain mode of the structure. en, the wavelet toolbox in MATLAB is used to select the DB wavelet to transform the strain modal data, and the wavelet coefficient shown in Figure 15 can be obtained.
It can be seen from Figure 15 that the wavelet coefficient diagram of the one-story one-span frame structure suddenly changes near points 114, 201, and 389. e data of the strain mode calculated by the second-order derivation of the displacement mode with MATLAB will be reduced by two. erefore, points 114, 201, and 389 in the wavelet coefficient diagram actually correspond to elements 116, 203, and 391 in the frame structure model. ere will be mutations around the damage location that are affected by the damage, but the  maximum value point of the modulus corresponds to the damage location. According to the above statement, frame structure damage occurs in elements 116, 203, and 391, which is consistent with the damage element setting of the finite element model of the one-story one-span frame structure. erefore, the wavelet singularity principle can accurately identify the structural damage location. Figure 14, the one-story one-span frame structure is modeled with MATLAB, and the frame structure is divided into 450 elements according to the order of A − B − C − D. Point A is taken as point 1 and point D is taken as point 451 to number the element nodes in turn. According to the number sequence, the element stiffness is assembled to obtain the overall stiffness, thus completing the modeling. e codes of IPSO, 0.8PSO, GA, and BA are compiled by MATLAB, respectively. Since the damage location has been identified, only the damage severity of the damage element needs to be taken as the unknown value of the objective function. MATLAB is utilized to calculate the natural frequency and displacement mode shape of the model according to the frame structure model, which is substituted into the fitness function to calculate the damage severity, as shown in the calculation flowchart in Figure 1.

Identification of Damage Severity. According to
To reduce the randomness of the algorithm, the four intelligent algorithms will run on the same computer ten times. Because of the randomness of the calculated results in each operation, the maximum and minimum values will not be removed from the calculated results to ensure the fairness of each calculated result.
(1) e structural damage severity graph and calculation error graph, calculated by 0.8PSO, are shown in Figures 16 and 17, respectively. Figures 16 and 17 show that the maximum error of 0.8PSO in identifying the structural damage severity is 0.6%, and the identification accuracy is slightly higher than that of the fixed beam; however, the error is still high. (2) e structural damage severity graph and calculation error graph, calculated by GA, are shown in Figures 18  and 19, respectively.   Advances in Civil Engineering e accuracy of GA in identifying the structural damage severity is high, and the evaluation errors are within 0.3%, as shown in Figures 18 and 19. e higher the damage severity is, the smaller the damage error fluctuation is.
(3) e structural damage severity graph and calculation error graph, calculated by BA, are shown in Figures 20  and 21, respectively. e accuracy of BA in identifying the structural damage severity is high, and its error is within 0.35%, as shown in Figures 20 and 21. e higher the damage severity is, the smaller the damage error is. (4) e structural damage severity graph and calculation error graph, calculated by IPSO, are shown in Figures 22 and 23, respectively. e accuracy of IPSO in identifying the structural damage severity is high, and its error is within 0.3%, as

12
Advances in Civil Engineering shown in Figures 22 and 23, respectively. e higher the damage severity is, the smaller the damage error is. e running time ratios of GA, BA, 0.8PSO, and IPSO to IPSO′ are shown in Figure 24, and IPSO′ is the average of the running time of IPSO. Figure 24 shows that GA takes the longest time to identify the frame structure with three damage areas, while BA takes the shortest time, and IPSO takes slightly more time than BA. Figures 25(a) and 25(b) illustrate the curves of the objective functions and iteration times obtained by randomly selecting 0.8PSO and IPSO to run for ten times. Table 2 shows the iterations and objective function values of 0.8PSO and IPSO running for ten times. It can be seen from Figure 25 and Table 2 that although the iteration curve of 0.8PSO is similar to that of IPSO, the number of iterations of 0.8PSO in each operation reaches T max � 100, while that of IPSO in each operation is T < 100. e objective function value min F calculated by 0.8PSO is much larger than that Advances in Civil Engineering 13 calculated by IPSO. e above analysis indicates that IPSO is effective for the improvement of inertia weight, and there is no premature or local optimization of IPSO in the identification problem. It can be seen from the above analysis that although IPSO takes slightly more time to identify the structural damage than BA, its identification accuracy is higher than BA, and the error fluctuation of IPSO in identifying the structural damage is the smallest and is the same as that of GA.
In conclusion, in the stage of structural damage location identification, singular points of wavelet coefficients can effectively show the structural damage location. In the stage of structural damage severity identification, IPSO takes much less time to identify the damage than GA and slightly more than BA. However, IPSO has the highest damage identification accuracy and the least error fluctuation. is result shows that IPSO can effectively identify structural damage severity and that the accuracy and time of damage identification can reach the level of the current mainstream algorithms. e convergence and damage identification accuracy of IPSO are much better than 0.8PSO, which shows that the improvement of IPSO is effective. erefore, in the theoretical study, WIPSO can accurately and efficiently identify the structural damage, and IPSO will not premature and fall into the local optimum in damage severity identification of the fixed beam and the frame structure with three damage areas.

Verification of Noise Effect on the Proposed Method.
e influence of noise in recorded signals is unavoidable in real life. erefore, to investigate the effect of noise on the proposed method, white Gaussian noise is added to the numerical simulation signal to simulate the influence of noise in the experimental situation. In this study, the effect of different noise levels on damage location identification is investigated by applying SNRs 2 and 10 dB.
Using scenario 1 of the numerical simulation as the object, Figure 26 illustrates the wavelet coefficient of three damage areas of the fixed beam without noise. Figures 27(a) and 27(b) show the wavelet coefficient graph with SNRs 2 and 10 dB, respectively. Figures 27(a) and 27(b) show that noise has certain interference on the wavelet coefficient, but the damage location can be easily determined relative to the noise. Figures 27(c) and 27(d) show that the damage location can be easily identified after a certain severity of white noise denoising. erefore, the method can identify the damage location when a certain severity of noise interference occurs.

Experimental Verification
To verify the effectiveness of the proposed method, an experimental study on the beam with fixed support was conducted, as shown in Figure 28. e transfixion damage along the thickness is shown in Figure 29, which is manufactured by a milling machine. A vibration experiment is carried out on a steel beam with a span length of 1300 mm, section size of b × h � 60 mm × 80 mm, material density of ρ � 7800 kg/m 3 , Poisson's ratio of μ � 0.3, and elastic modulus of E � 2.1 × 10 11 N/m 2 . e effective experimental length and detailed scenario of the beam are shown in Table 3, and stiffness reduction is used to simulate the damage severity. In the experiment, the beam is excited by percussion with a hammer, and the striking position is 20mm-40 mm near the beam end. e experimental device and sensor layout are shown in Figure 28.  Advances in Civil Engineering e middle point of the beam is taken as the symmetrical point to divide the element at both ends. After the element is divided, the end node of the first element at one end is taken as node 1 to the last element at the other end for node numbering in turn. Sixteen sensors were used for data acquisition. Point 1 is taken as the reference point, and the sensors are arranged on the central axis of the upper surface of the beam according to the node number successively from point 1, as shown in Figures 28(a) and 28(b), which show the schematic diagram of node numbering and sensor layout of scenario 1 in Table 3. e node numbering rule and sensor arrangement rule of scenario 2 are the same as those of scenario 1. e data collected are processed by the DH5922D analysis system. In Table 3, damage depth d is calculated according to the following equation: where I i is the moment of inertia of the damaged section. Figure 30shows the wavelet coefficient graph of the modal data of the damaged steel beam. e prominent position of the wavelet coefficient is the singularity, which corresponds to the damage location of the beam. Due to the interference of the surrounding measurement noise in the experiment, after a certain amount of data denoising, larger singular values occur in the damage points, and there are also smaller singular values in other elements without damage. In addition, the damage information of element 12 in scenario 2 is covered by noise, which indicates that the damage information is easily affected by noise in the microdamage identification experiment.

Experimental Results.
Since scenario 1 is included in scenario 2, 0.8PSO, GA, BA, and IPSO are used to calculate the damage severity of the beam in scenario 2. As the data are polluted by noise, the minimum errors of IPSO, 0.8PSO, GA, and BA in identifying the damage severity of structures are 1.423%, 2.214%, 1.636%, and 1.572%, respectively, after denoising by the denoising tool in the MATLAB wavelet toolbox.     According to the identification results of the damage severity of the fixed beam, the damage severity calculated by IPSO in scenario 2 was used for reverse calculation to obtain the height h i of the damage section. e calculation equation of h i is shown in equation (22), and the calculation results are shown in Table 4. Table 4 shows that the error of the height h i of the damaged section is within 10%, which indicates that IPSO can effectively identify the structural damage severity.
By comparing experimental results with the numerical simulation results, the wavelet analysis in theory and experiment can effectively identify structural damage locations. IPSO in damage identification tests results in errors that are greater than those in the numerical simulation research, which is mainly due to the large influence of the environmental noise and smaller damage severity setting. erefore, it is necessary to improve the denoising methods in future research. e experimental results show that IPSO can effectively identify the structural damage severity, and the calculation results have significant reference value.

Conclusion
Combining the advantages of wavelet analysis and IPSO, a structural microdamage identification method based on WIPSO is proposed in this study. In the first step, the microdamage location is accurately identified by the singularity and the maximum value of the wavelet coefficient, which is calculated by the strain mode of the structure. e results of the numerical simulation and experiment completely verify that wavelet coefficients can quickly and accurately identify structural damage locations and that noise has little interference on the accuracy of identification. After the damage location is identified, IPSO can calculate the structural damage severity by MATLAB. In numerical simulation, IPSO, GA, BA, and 0.8PSO are used to identify the damage severity of the structure. By comparing the damage identification results of these four intelligent algorithms, we can see that IPSO could accurately identify the damage severity, and the identification efficiency and running performance surpass some mainstream algorithms. Moreover, IPSO does not end prematurely and fall into local optimization during damage severity identification in this study, which indicated that IPSO is effective in improving the calculation method of inertia weight. rough two scenarios' experiments of fixed beam, the results show as the following: (1) WIPSO can easily and accurately identify the structural damage, (2) the wavelet coefficient as a damage index is intuitionistic and has antinoise performance, (3) the improvement of IPSO on the calculation method of inertia weight is effective, which improves the accuracy and efficiency of IPSO in identifying the structural damage, and(4) deviation exists in the identification of damage severity by WIPSO with the high influence of environmental noise, but the damage identification result is still of great value. e proposed method shows great potential in theory and experiment; however, in application, the beam damage cannot be entirely transfixion damage along the thickness direction. Additionally, the damage severity is not always the same as the damage severity determined in the experiment. In a future study, we need to reduce the crack width and carry out damage experiments on nonuniform crack identification. e damage severity identification result is not ideal with the large environmental noise effect in the experiment, which indicates that further research involving effectively removing the noise is necessary. e above problems are practical problems that require further study so that WIPSO can be reliably applied to actual structures.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request. e IPSO codes are available from the provided network address: https://pan.baidu. com/s/1RlllyawBdSQg-zXKgQKaYw, extraction code: 2f2i.

Conflicts of Interest
e authors declare that they have no conflicts of interest regarding the publication of this paper.