Shield tunnel sensor arrangement scheme optimization method and device based on swarm intelligence, electronic equipment and storage medium
Through the swarm intelligence-based shield tunnel sensor layout optimization method, chaotic mapping and dual population mechanisms are used to solve the problems of monitoring accuracy and cost in sensor layout, achieve efficient sensor layout optimization, and significantly improve search performance and accuracy. .
Patent Information
- Application Number
- CN202410754260.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing shield tunnel sensor layout reduces monitoring accuracy. The traditional layout optimization algorithm has insignificant effects. The multi-objective intelligent optimization algorithm has poor robustness and is prone to premature convergence and local optimal solutions. It is difficult to balance search speed and accuracy.
An optimization method for shield tunnel sensor layout based on swarm intelligence is adopted. An initial population is generated through numerical modeling and chaotic mapping, and dual populations are divided into iterative updates. Non-dominated sorting and crowding degree distance sorting are used to avoid premature convergence and improve the solution set. Diversity and optimized sensor layout.
It greatly saves search time, improves search performance, has high accuracy, optimizes sensor layout speed and has good convergence. The experimental results show that the root mean square error is less than 11.21, the average accuracy exceeds 95.72%, and the minimum accuracy reaches 84.61%, and Save 75% of computing time.
Smart Images

Figure CN118734686A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of shield tunnel monitoring, and in particular to a shield tunnel sensor arrangement scheme optimization method, device, electronic equipment and storage medium based on swarm intelligence. Background Art
[0002] In order to achieve real-time monitoring of the structural health of shield tunnels, it is necessary to arrange health monitoring sensors on the tunnel sections. At present, the layout of fiber Bragg grating sensors in shield tunnels is mostly uniformly arranged on the sections to be measured, which leads to the loss of monitoring accuracy due to the sensor array not being arranged in the area with the most serious deformation of the tunnel structure. Related studies rarely mention the impact of the sensor layout on the accuracy of shield tunnel structural morphology monitoring. The layout of fiber Bragg grating sensors (FBG) needs further research. How to reduce the monitoring cost while ensuring the overall monitoring performance of the system urgently requires relevant layout optimization research.
[0003] Through investigation, it is found that traditional layout optimization algorithms mostly improve the layout based on historical monitoring experience, which does not significantly improve the monitoring effect; multi-objective intelligent optimization algorithms work well in solving specific problems, but have poor robustness and generalization ability. The search method of ordinary optimization algorithms is simple, and it is easy to converge prematurely, search stagnation, and fall into local optimality, which affects the performance of the algorithm. It is difficult to balance the search speed and accuracy. The algorithm based on non-dominated sorting has a large amount of calculation, while the algorithm based on external archives has poor diversity of solution sets; therefore, it is urgent to improve the search mechanism of multi-objective optimization algorithms, avoid premature convergence, stagnation, and easy to fall into local optimal solutions, quickly and effectively search for the optimal solution, improve the diversity of solution sets, and apply the algorithm to the FBG sensor array layout optimization problem. Further research is needed. Summary of the invention
[0004] The purpose of the present invention is to provide a method, device, electronic device and storage medium for optimizing the layout of shield tunnel sensors based on swarm intelligence, which greatly saves search time, improves search performance, has high accuracy, and has good speed and convergence in optimizing sensor layout.
[0005] To achieve the above object, the present invention provides a method for optimizing the layout of shield tunnel sensors based on swarm intelligence, comprising:
[0006] Conduct numerical modeling of typical sections that need to be monitored, and collect strain data of tunnel sections to establish a data set for layout problems; transform the layout problem into a mathematical model and initialize all algorithm parameters;
[0007] Based on the chaotic map, the initial population P is generated, and the initial population P is divided into two sub-populations, namely population Pa and population Pb. The objective function values of the two populations are calculated, and then non-dominated sorting is performed, the initial external archive is updated, and the elite set is selected using crowding distance sorting;
[0008] Iteratively update the population, calculate the objective function values of all individuals, and update the external archive and elite set;
[0009] When the number of iterations is reached, the search is stopped, the Pareto frontier stored in the external archive is output, and the solution is converted into the corresponding sensor layout scheme, otherwise, the iteration continues.
[0010] Preferably, all parameters of the initialization algorithm, including population size, external archive size, maximum number of iterations t Max , solution space scope.
[0011] Preferably, the initial population P is generated based on the chaotic map,
[0012]
[0013]
[0014] In the formula, u k represents the chaos value generated for the kth time, u k+1 represents the chaotic value generated for the k+1th time, α represents the chaotic parameter, U represents the generated chaotic sequence, and u i is the element in the chaotic sequence U, the i-th chaotic value, N p Represents the number of populations, ub represents the upper bound of the solution space, lb represents the lower bound of the solution space, and p represents the individuals of the generated initial population.
[0015] Preferably, the objective function is the root mean square error value Re(X) and the layout cost C(X) of the strain curve reconstructed based on the radial basis function, as shown in equations (4) and (5):
[0016]
[0017] Among them, y i is the true strain value in the problem data set, y' i is the strain value reconstructed by radial basis function based on the data acquired based on the current sensor layout, N0 is the number of reconstructed strains, N is the number of sensors, and X is the selected layout scheme.
[0018] Preferably, the updated population is specifically
[0019] For population P a Perform global search and population P b Perform local search and update method as
[0020]
[0021] Among them, t represents the current iteration number, Elite is the elite individual selected from the elite set in the current t iteration, β1 and β2 are both random numbers between 0 and 1, and B i (t) is the value generated by Brownian motion, Z i (t) and Z i (t+1) are the individuals of the current generation and the individuals after the update, Z best (t) is the best individual in the current elite set, Z mean (t) is the centroid of the elite set, and the other parameters are calculated as shown in formulas (7)-(9).
[0022] M=DF·T (7)
[0023]
[0024] Preferably, formulas (4) and (5) are used to calculate the objective function values of the two populations.
[0025] Preferably, non-dominated sorting is performed according to the objective function values of the two populations, and the external archive is updated. If there is an overflow, the worst individual is deleted;
[0026] Calculate the crowding distance of all individuals in the archive and sort them, take out the best three individuals and update the archive average to form a new elite set.
[0027] Preferably, if the number of iterations has reached the set maximum number of iterations, the search is stopped; otherwise, under the premise that the number of Pb population is greater than zero, one individual is transferred from Pb population to Pa population, and if there is no individual in Pb, no more transfer is performed and iteration is continued.
[0028] A shield tunnel sensor layout optimization device based on swarm intelligence, comprising:
[0029] The data acquisition module is used to numerically model typical sections that need to be monitored and collect strain data of tunnel sections to establish a data set for layout problems;
[0030] The model conversion module is used to convert the layout problem into a mathematical model;
[0031] The parameter initialization module is used to initialize all parameters of the algorithm;
[0032] The population initialization module is used to generate the initial population P based on the chaotic map, divide the initial population P into two populations, namely population Pa and population Pb, calculate the objective function values of the two populations, and then perform non-dominated sorting, update the initial external archive, and select the elite set using crowding distance sorting;
[0033] The new population formation module is used to iteratively update the population, calculate the objective function values of all individuals, and update the external archive and elite set;
[0034] The solution output module is used to stop searching after reaching the number of iterations, output the Pareto frontier stored in the external archive, and convert the solution into the corresponding sensor layout solution, otherwise, continue the iteration.
[0035] A storage medium stores computer executable instructions, which, when loaded and executed by a processor, implement the steps of a method for optimizing a shield tunnel sensor layout scheme based on swarm intelligence.
[0036] Therefore, the present invention adopts the above-mentioned method, device, electronic device and storage medium for optimizing the arrangement of shield tunnel sensors based on swarm intelligence, and the technical effects are as follows:
[0037] (1) The algorithm of the present invention (MOSAO) converts the binary sensor layout into a decimal coded solution, making the discrete problem continuous and greatly saving the search time. The chaotic map is used to generate a uniformly distributed initial population, which improves the search performance. MOSAO can obtain a uniformly distributed Pareto frontier, and the average running time required for each run is extremely short.
[0038] (2) The introduction of radial basis functions can directly realize the accurate reconstruction of tunnel strain and the intuitive reflection of monitoring performance. On this basis, an objective function for measuring monitoring performance is proposed to search for the optimal layout of sensors. Compared with the traditional empirical layout, the obtained layout effect is good. The experimental results show that the root mean square error of reconstruction under various working conditions is less than 11.21, the average accuracy is above 95.72%, the minimum accuracy is above 84.61%, and the minimum goodness of fit is 0.9961. Even in the prototype experiment, its average accuracy is above 93.50%.
[0039] (3) The dual population mechanism and external archives are introduced. As the population is updated, more exploration is performed rather than development, avoiding the dilemma of falling into the local optimum. Compared with the SPEA-II (Strength Pareto Evolutionary Algorithm II) algorithm with similar convergence performance, this patented algorithm saves 75% of the operation time. The algorithm has good speed and convergence in optimizing sensor layout. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a flow chart of a method for optimizing the arrangement of shield tunnel sensors based on swarm intelligence according to the present invention;
[0041] Figure 2This is a schematic diagram of a shield tunnel sensor layout optimization device based on swarm intelligence;
[0042] Figure 3 To optimize the previous layout plan;
[0043] Figure 4 This is the optimized layout plan. DETAILED DESCRIPTION
[0044] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.
[0045] Unless otherwise defined, technical or scientific terms used in the present invention shall have the common meanings understood by one having ordinary skills in the field to which the present invention belongs.
[0046] Embodiment 1
[0047] like Figure 1 As shown, the present invention provides a method for optimizing the layout of shield tunnel sensors based on swarm intelligence. When performing health monitoring of shield tunnels, it is necessary to determine the layout of monitoring sensors to ensure system monitoring performance and reduce costs. Therefore, in order to maximize monitoring performance and minimize monitoring costs, this patent proposes a multi-objective snow ablation optimization method (Multi-objective Snow Ablation Optimization algorithm, MOSAO) for optimizing the layout of shield tunnel sensors. The sensor monitoring cost and the strain reconstruction error of the tunnel section are used as the two objective functions of the optimization problem. Chaotic mapping and decimal coding are used to generate a uniformly distributed initial population to reduce the algorithm operation complexity. An external archive is established to store the Pareto frontier searched - the optimal layout solution set, and a dynamically updated dual population mechanism is used for global and local search. An elite set is established to guide population updates. After continuous iterative solutions, the optimal sensor layout plan for the shield tunnel is finally obtained.
[0048] Taking the original layout of 28 sensors evenly distributed in the tunnel section as an example, the layout optimization is performed. The specific algorithm flow is as follows:
[0049] Establishing a data set for layout problems: Based on the geological survey report of the actual shield tunnel, numerical modeling is performed on the typical sections that need to be monitored, and strain data of the tunnel sections are collected to establish a data set for layout problems.
[0050] Convert the layout problem into a mathematical model: The solution to the problem of evenly arranged 28 sensors is a 28-bit binary number, where 1 represents the installation of a sensor and 0 represents the installation of no sensor. Therefore, the decimal solution corresponding to the original layout is 2 28 -1, the solution range is [0,2 28-1], such as Figure 3 shown.
[0051] Initialize the algorithm parameters: Set the algorithm's population size N p =100, total number of iterations t max = 1000, the external archive capacity is 30, the chaos parameter α = 0.479, the lower bound lb = 0 and the upper bound ub = 2 of the solution space 28 -1;
[0052] Population initialization: Chaotic mapping is used to generate a uniformly distributed initial population, and the individual values in the population range from [0,2 28 -1], where P represents the initial population generated, as shown in formula (3);
[0053]
[0054]
[0055] In the formula, u k represents the chaos value generated for the kth time, u k+1 represents the chaotic value generated for the k+1th time, α represents the chaotic parameter, U represents the generated chaotic sequence, and u i is the element in the chaotic sequence U, the i-th chaotic value, N p Represents the number of populations, ub represents the upper bound of the solution space, lb represents the lower bound of the solution space, and p represents the individuals in the generated initial population.
[0056] Dual population mechanism: The entire population is evenly divided into populations Pa and Pb, and the objective function values of all individuals are calculated. Objective function 1 is the reconstruction error function, which is the root mean square error value Re(X) of the strain curve reconstructed based on the radial basis function; objective function 2 is the monitoring cost function C(X), that is, the number of sensors N, as shown in formula (5);
[0057]
[0058] C(X)=N (5)
[0059] Among them, y i is the true strain value in the problem data set, y' i is the strain value obtained by using the radial basis function to reconstruct the data based on the current sensor layout p, N0 is the number of reconstructed strains, and X is the selected sensor layout. After calculating all individual objective function values, non-dominated sorting is performed, the initial external archive is updated, and the elite set is selected using crowding distance sorting.
[0060] Population update: Population P a Perform global search and population P bPerform local search and update as shown in formula (6);
[0061]
[0062] Where t represents the number of iterations, Elite(t) is the elite individual selected from the elite set in the current t-th iteration, β1 and β2 are both random numbers between 0 and 1, and B i (t) is the value generated by Brownian motion. i (t) and Z i (t+1) are the individuals of the current generation and the individuals after the update, Z best (t) is the best individual in the current elite set, Z mean (t) is the centroid of the elite set. The remaining parameters are calculated as in formulas (7)-(9);
[0063] M=DF·T (7)
[0064]
[0065] Calculate the objective function value: Calculate the objective function values of all individuals in the two populations according to formulas (4) and (5);
[0066] Update external archive and elite set: According to the calculated objective function values of all individuals, perform non-dominated sorting, update the external archive, and delete the worst individual if overflow occurs. Calculate the crowding distance of all individuals in the archive and sort them, take out the best three individuals and the archive average to update and form a new elite set;
[0067] End judgment: If the number of iterations has reached the set maximum number of iterations, stop searching; otherwise, under the premise that the number of Pb population is greater than zero, transfer one individual from Pb population to Pa population. If there is no individual in Pb, no more transfer will be made, and (6)-(9) will be executed repeatedly;
[0068] Output results: Output the Pareto frontier stored in the external archive and convert the solution into the corresponding sensor layout. Take the decimal optimal solution '10950898' with 13 sensors as an example, the corresponding layout is as follows Figure 4 shown.
[0069] like Figure 2 As shown, a shield tunnel sensor layout optimization device based on swarm intelligence includes:
[0070] The data acquisition module is used to numerically model typical sections that need to be monitored and collect strain data of tunnel sections to establish a data set for layout problems;
[0071] The model conversion module is used to convert the layout problem into a mathematical model;
[0072] The parameter initialization module is used to initialize all parameters of the algorithm;
[0073] The population initialization module is used to generate the initial population P based on the chaotic map, divide the initial population P into two populations, namely population Pa and population Pb, calculate the objective function values of the two populations, and then perform non-dominated sorting, update the initial external archive, and select the elite set using crowding distance sorting;
[0074] The new population formation module is used to iteratively update the population, calculate the objective function values of all individuals, and update the external archive and elite set;
[0075] The solution output module is used to stop searching after reaching the number of iterations, output the Pareto frontier stored in the external archive, and convert the solution into the corresponding sensor layout solution, otherwise, continue the iteration.
[0076] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.
[0077] The present application also provides a storage medium on which a computer program is stored, and when the computer program is executed, the steps provided in the above embodiment can be implemented. The storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0078] The present application also provides an electronic device, which may include a memory and a processor, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the steps provided in the above embodiment may be implemented. Of course, the electronic device may also include various network interfaces, power supplies and other components.
[0079] Therefore, the present invention adopts the above-mentioned method, device, electronic device and storage medium for optimizing the layout of shield tunnel sensors based on swarm intelligence, which greatly saves search time, improves search performance, has high accuracy, and has good speed and convergence in optimizing sensor layout.
[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for optimizing the layout of shield tunnel sensors based on swarm intelligence, characterized in that: include Conduct numerical modeling of typical sections that need to be monitored, and collect strain data of tunnel sections to establish a data set for layout problems; transform the layout problem into a mathematical model and initialize all algorithm parameters; Based on the chaotic map, the initial population P is generated, and the initial population P is divided into two sub-populations, namely population Pa and population Pb. The objective function values of the two populations are calculated, and then non-dominated sorting is performed, the initial external archive is updated, and the elite set is selected using crowding distance sorting; Iteratively update the population, calculate the objective function values of all individuals, and update the external archive and elite set; When the number of iterations is reached, the search is stopped, the Pareto frontier stored in the external archive is output, and the solution is converted into the corresponding sensor layout scheme, otherwise, the iteration continues.
2. The method for optimizing the layout of shield tunnel sensors based on swarm intelligence according to claim 1 is characterized in that: All parameters of the initialization algorithm, including population size, external archive size, maximum number of iterations t Max , solution space scope.
3. The method for optimizing the layout of shield tunnel sensors based on swarm intelligence according to claim 1 is characterized in that: Generate the initial population P based on the chaotic map, In the formula, u k represents the chaos value generated for the kth time, u k+1 represents the chaotic value generated for the k+1th time, α represents the chaotic parameter, U represents the generated chaotic sequence, and u i is the element in the chaotic sequence U, the i-th chaotic value, N p Represents the number of populations, ub represents the upper bound of the solution space, lb represents the lower bound of the solution space, and p represents the individuals of the generated initial population.
4. The method for optimizing the layout of shield tunnel sensors based on swarm intelligence according to claim 1 is characterized in that: The objective function is the root mean square error Re(X) and the layout cost C(X) of the strain curve reconstructed based on the radial basis function, as shown in equations (4) and (5): C(X)=N (5) Among them, y i is the true strain value in the problem data set, y' i is the strain value reconstructed by radial basis function based on the data acquired based on the current sensor layout, N0 is the number of reconstructed strains, N is the number of sensors, and X is the currently selected sensor layout scheme.
5. The method for optimizing the layout of shield tunnel sensors based on swarm intelligence according to claim 1 is characterized in that: Update population specifically: For population P a Perform global search and population P b Perform local search and update method as Among them, t represents the current iteration number, Elite is the elite individual selected from the elite set in the current t iteration, β1 and β2 are both random numbers between 0 and 1, and B i (t) is the value generated by Brownian motion, Z i (t) and Z i (t+1) are the individuals of the current generation and the individuals after the update, Z best (t) is the best individual in the current elite set, Z mean (t) is the centroid of the elite set, and the other parameters are calculated as shown in formulas (7)-(9). M=DF·T (7) 6. The method for optimizing the layout of shield tunnel sensors based on swarm intelligence according to claim 4 is characterized in that: Formulas (4) and (5) are used to calculate the objective function values of the two populations.
7. The method for optimizing the arrangement of shield tunnel sensors based on swarm intelligence according to claim 6 is characterized in that: According to the objective function values of the two populations, non-dominated sorting is performed, and the external archive is updated. If there is an overflow, the worst individual is deleted; Calculate the crowding distance of all individuals in the archive and sort them, take out the best three individuals and update the archive average to form a new elite set.
8. The method for optimizing the layout of shield tunnel sensors based on swarm intelligence according to claim 1 is characterized in that: If the number of iterations has reached the set maximum number of iterations, the search is stopped; otherwise, under the premise that the number of Pb population is greater than zero, one individual is transferred from Pb population to Pa population, and no more individuals are transferred from Pb population, and the iteration is continued.
9. The device for optimizing the arrangement of shield tunnel sensors based on swarm intelligence according to claim 1, characterized in that: include The data acquisition module is used to numerically model typical sections that need to be monitored and collect strain data of tunnel sections to establish a data set for layout problems; The model conversion module is used to convert the layout problem into a mathematical model; The parameter initialization module is used to initialize all parameters of the algorithm; The population initialization module is used to generate the initial population P based on the chaotic map, divide the initial population P into two populations, namely population Pa and population Pb, calculate the objective function values of the two populations, and then perform non-dominated sorting, update the initial external archive, and select the elite set using crowding distance sorting; The new population formation module is used to iteratively update the population, calculate the objective function values of all individuals, and update the external archive and elite set; The solution output module is used to stop searching after reaching the number of iterations, output the Pareto frontier stored in the external archive, and convert the solution into the corresponding sensor layout solution, otherwise, continue the iteration.
10. A storage medium, characterized in that: The storage medium stores computer executable instructions, which, when loaded and executed by the processor, implement the steps of a method for optimizing a shield tunnel sensor layout scheme based on swarm intelligence as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Structure health monitoring system for weak soil shield tunnel
CN108005725A
Multi-objective evolutionary algorithm based on double-population cooperation
CN111178485A
Directed sensor network coverage optimization method, system, equipment and medium
CN117042043A
Cited By
Construction site layout planning optimization method integrating BIM (Building Information Modeling) and GIS (Geographic Information System) advantages
CN119720358A
An Optimization Method for Construction Site Layout Planning Integrating the Advantages of BIM and GIS
CN119720358B
