A wall-climbing robot permanent magnet adsorption device structural parameter optimization method

By combining the Halbach array magnet structure and the Chebyshev polynomial surrogate model with the DBO algorithm, the problem of time-consuming and labor-intensive design of permanent magnet adsorption devices is solved, enabling rapid calculation of magnetic adsorption force and design of minimum weight magnets, which is suitable for multi-parameter nonlinear applications.

CN116362055BActive Publication Date: 2026-11-24HEBEI UNIV OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310418814.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-19
Publication Date
2026-11-24
Estimated Expiration
2043-04-19

AI Technical Summary

Technical Problem

Existing permanent magnet adsorption device designs require repeated 3D model modifications and simulations, which is time-consuming and labor-intensive. They cannot be effectively applied to situations with multiple parameters and high nonlinearity, and cannot quickly calculate magnetic adsorption force and achieve maximum magnetic adsorption force with minimum weight magnets.

Method used

A minimum magnetic attraction force model is established by adopting a Halbach array magnet structure and combining it with the structure of a wall-climbing robot. A magnetic attraction force prediction model is established using a Chebyshev polynomial surrogate model, and the DBO algorithm is used for optimization and solution to quickly calculate the magnetic attraction force and reduce the design time of permanent magnets.

Benefits of technology

It achieves rapid and efficient magnet structure design, can calculate magnetic attraction force in multi-parameter and nonlinear situations, reduces permanent magnet design time, and enables the smallest weight magnet to generate the largest magnetic attraction force.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116362055B_ABST
    Figure CN116362055B_ABST
Patent Text Reader

Abstract

This invention discloses a method for optimizing the structural parameters of a permanent magnet adsorption device for a wall-climbing robot. This method employs a quasi-static force analysis approach to mathematically model the required magnetic adsorption force, establishing a Chebyshev polynomial surrogate model of the coupling relationship between the structural parameters and the adsorption force. The DBO algorithm is then used to solve the optimization problem, yielding a Pareto optimal solution. This method is applicable to permanent magnet structures designed using the Halbach Array method. It provides a clear functional expression between the magnetic adsorption force and each parameter, allowing for rapid calculation of the magnetic adsorption force based on the structural parameters. This avoids the time-consuming and laborious process of blindly performing three-dimensional permanent magnet simulations, significantly reducing the design time and enabling the generation of the maximum magnetic adsorption force with the minimum weight magnet. This method is of great significance for the rapid and efficient design of magnet structures in engineering.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of permanent magnet adsorption device structural design technology, specifically a method for optimizing the structural parameters of a permanent magnet adsorption device for a wall-climbing robot. This method is applicable to wall-climbing robot equipment employing magnetic adsorption structures, such as magnetic adsorption wall-climbing robots working on magnetically conductive walls like ship facades, offshore wind turbine tower facades, large steel facades, aircraft, and large storage tank metal surfaces. Background Technology

[0002] The magnetically conductive outer walls of large ships, offshore wind turbine towers, and large petrochemical storage tanks are susceptible to rust and damage due to water, weathering corrosion, and biological contamination. Currently, the cleaning, corrosion prevention, and inspection of metal surfaces on large ships and offshore wind turbine towers in my country are mostly carried out manually. Manual labor is labor-intensive, has low safety, long turnaround times, low efficiency, is greatly affected by weather conditions, and causes environmental pollution. To reduce heavy physical labor and eliminate inspection and maintenance work in harsh environments, wall-climbing robots have become essential to replace manual labor. Due to their stable wall adhesion and motion characteristics, wall-climbing robots can be equipped with various maintenance tools, enabling machines to replace manual labor in high-altitude vertical surface operations, and have broad application prospects in various industries. Compared to other adsorption methods, such as thrust adsorption, negative pressure adsorption, and composite adsorption, permanent magnet adsorption is widely used due to its simple structure, stable adsorption, and lack of external power supply. However, the structural dimensions of permanent magnet adsorption devices are generally designed using empirical methods and finite element simulation. While the permanent magnet adsorption device obtained using this method can meet the requirement of minimum adsorption force, it requires multiple adjustments to the structural parameters and multiple simulations based on actual requirements, and its weight cannot be minimized. To change this situation, some scholars have proposed some optimization design methods for magnetic circuits. Patent (CN113239604 B) proposes a magnetic circuit optimization method, and patent (CN 104008251 B) proposes a magnetic circuit optimization design method for a magnetic flux leakage detection system based on orthogonal experiments. Obviously, these methods are not applicable to the embodiments of this invention. In their paper "The multi-objective optimization design for the magnetic adsorption unit of wall-climbing robot," Zhao Zhihao et al. from Hebei University of Technology used a second-order response surface surrogate model to obtain the relationship formula between the magnetic force of the magnets in the two magnetic circuits and the optimization variables, and then used the NSGA-II multi-objective optimization algorithm for optimization, obtaining satisfactory results. The response surface surrogate model has good global approximation performance, simple form, and good transparency, but it is mainly used in low-dimensional problems with low nonlinearity. When there are many design variables, the anti-interference ability and local fitting ability are poor, and it cannot be guaranteed that the response surface passes through all sample points, so there is a certain error. Summary of the Invention

[0003] To address the limitations of existing magnetic circuit optimization design methods, which require repeated 3D model modifications and simulations—a time-consuming and labor-intensive process that is unsuitable for applications with multiple parameters and higher nonlinearities—this invention proposes a structural parameter optimization method for permanent magnet adsorption devices in wall-climbing robots. This method is applicable to magnet structures in Halbach Array multi-magnetic circuit designs, enabling rapid calculation of magnetic adsorption force based on structural parameters. It avoids the need for time-consuming and labor-intensive 3D permanent magnet simulations, significantly reducing permanent magnet design time and achieving maximum magnetic adsorption force with minimal magnet weight. This invention is of great significance for the rapid and efficient design of magnet structures in engineering.

[0004] To achieve the above objectives, the technical solution adopted by this invention is as follows: A method for optimizing the structural parameters of a permanent magnet adsorption device for a wall-climbing robot is designed, characterized in that the permanent magnet in the permanent magnet adsorption device is a Halbach array magnet. The method includes the following steps:

[0005] Step 1: Based on the structure of the wall-climbing robot, establish the required minimum magnetic attraction force model:

[0006]

[0007] Among them, F t The minimum required magnetic attraction force, k is the safety factor, and F g Where G is the load weight, G is the weight of the wall-climbing robot, and μ is the coefficient of friction. The angle of inclination of the wall;

[0008] Using MATLAB simulation calculations, F was obtained. t The value of F is obtained based on the number N of permanent magnets in the wall-climbing robot; the required magnetic attraction force F for a single permanent magnet is obtained. t '≥F t / N;

[0009] Step 2: The permanent magnet is a square structure composed of a yoke and three permanent magnets. The yoke is placed on top of the three permanent magnets, which are arranged side by side. The permanent magnets on both sides are the same size and serve as the main magnets, while the one in the middle is the auxiliary magnet. The three permanent magnets have the same height and width, and the yoke has the same width as the permanent magnets. The length of the yoke is equal to the sum of the lengths of the three permanent magnets. Based on the permanent magnet structure, an optimization model for a single permanent magnet structure is established:

[0010] Find X

[0011]

[0012] Where G(X) = (2w2 + w3)·l·h1·ρ1 + (2w2 + w3)·l·h2·ρ2 is the weight of the permanent magnet; X is the optimization variable, X = (w2, w3, h1, h2, l), where w2 is the length of the main magnet, w3 is the length of the secondary magnet, h1 is the height of the yoke, l is the overall width, and h2 is the height of the main magnet; ρ1 is the density of the yoke material, and ρ2 is the density of the permanent magnet material; F(X) is the magnetic attraction force when the size parameter of the permanent magnet is X.

[0013] Step 3: Within the range of values ​​for each parameter, extract Q samples using the optimized Latin hypercube as the training sample set for the optimization variable X; based on the extracted samples, modify the parameters of the 3D model of the permanent magnet structure and simulate it using simulation software to obtain the response value of the corresponding sample, i.e., the magnetic adsorption force F(X); the range of values ​​for each parameter is: 37mm≤2w2+w3≤65mm, w3≤w2, 10mm≤h1+h2≤34mm, 5mm≤h1≤10mm, 14mm≤h2≤30mm, 27mm≤l≤37mm;

[0014] Step 4: Establish an alternative prediction model using the Chebyshev multinomial surrogate model and verify the accuracy of the surrogate model. The specific process is as follows:

[0015] Step 4.1: Randomly and without repetition, select m samples from the training sample set in Step 3 as the initial reference point set; let P be the reference deviation of the Chebyshev polynomial A(x) on the initial reference point set, and let the quotients of each order of A(x) be linear functions of P; since A(x) is an m-th degree polynomial, its (m+1)th order quotient is equal to 0, thus the reference deviation P can be calculated; then, according to A(u i Find the reference polynomial A(x) by the quotients of each order of difference of u. i For a sample in the initial reference point set, u i= (w 2i ,w 3i ,h 1i ,h 2i ,l i ), 1≤i≤m;

[0016] Step 4.2: Let δ be the maximum approximation error of the reference Chebyshev polynomial A(x) on the training sample set in Step 3, where δ is the maximum approximation error of A(x). q )-F(X q The maximum absolute value of F(X) on the training sample set, 1≤q≤Q. q () is the sample X in step 3 qThe corresponding magnetic attraction force; if δ = P, then A(x) is the desired fitted Chebyshev function polynomial, that is, the magnetic attraction force prediction model F*(X) for the optimization variable X; if δ > P, then the point X corresponding to the maximum approximation error δ is used. j Replace the initial reference point set at X j Recently and with A(X) j )-F(X j Points with the same sign are used to form a new set of reference points. Then, steps 4.1 and 4.2 are repeated on the new set of reference points. If the corresponding maximum approximation error is not equal to the corresponding reference deviation, the set of reference points is updated again, and steps 4.1 and 4.2 are repeated again. This process is repeated until the corresponding maximum approximation error is equal to the corresponding reference deviation. The fitted Chebyshev function polynomial at this time is used as the magnetic adsorption force prediction model F*(X) for the optimization variable X.

[0017] Step 4.3: Validate the accuracy of the magnetic attraction force prediction model F*(X) on the training sample set using RMSE and R0. 2 As an evaluation metric, when the RMSE value is less than 0.1 and R... 2 The value is greater than 0.9, which verifies that the magnetic adsorption force prediction model F*(X) is an effective model;

[0018] Step 5: The DBO algorithm is used to optimize the magnetic adsorption force prediction model F*(X) obtained in Step 4 to obtain the Pareto optimal solution. The specific process is as follows:

[0019] Step 5.1: Set the population size n, the maximum number of iterations, and the lower bound of the iteration range for the optimization variable X = (w2, w3, h1, h2, l) as [5, 5, 26, 12, 4.5] and [12, 29, 37, 30, 21.5]; the number of optimization parameters is 5; the constraint functions are: w2 ≥ w3, 37mm ≤ 2w2 + w3 ≤ 65mm, 10 ≤ h1 + h2 ≤ 34; the constraint condition is F*(X) ≥ F t / N;

[0020] Step 5.2: Within the iterative range of the optimization variables and in accordance with the constraint functions and conditions, initialize the population using a random value method, and calculate the fitness of the initial dung beetle population. The fitness function is set as follows:

[0021] f(X)=G(X)=(2w2+w3)·l·h1·ρ1+(2w2+w3)·l·h2·ρ2

[0022] The initial dung beetle population matrix is:

[0023]

[0024] Then the fitness matrix F corresponding to the initial population Y for:

[0025]

[0026] In the formula, (x n,1 ,x n,2 ,x n,3 ,x n,4 ,…..,x n,d ) represents dung beetle x n The location, f(x) n,1 ,x n,2 ,x n,3 ,x n,4 ,…..,x n,d ) for dung beetle x n The fitness of the variable is the optimization variable X = (x n,1 ,x n,2 ,x n,3 ,x n,4 ,…..,x n,d The weight of the permanent magnet at that time is the fitness value. The smaller the fitness value, the smaller the weight of the permanent magnet, and the better the location of the dung beetle.

[0027] Step 5.3: Sort the initial dung beetle population according to fitness, and then update their positions according to the formulas for ball-rolling behavior, dancing behavior, reproductive behavior, foraging behavior, and stealing behavior, in ascending order of fitness. Select the top pNum dung beetles with better positions to perform ball-rolling or dancing behavior, and then update the positions of the next PNum+1 dung beetles to the nth dung beetle. i Only foraging behavior is performed, nth i From the +1st to the popth dung beetle, they reproduce; from the pop+1th to the nth dung beetle, they steal; the top pNum dung beetles in better positions perform rolling ball or dancing behaviors with a certain probability.

[0028]

[0029] That is, randomly select no more than 90% of the first pNum items to perform the rolling ball behavior, and randomly select no less than 90% of them to perform the dancing behavior;

[0030] Step 5.4: Based on the iteration range, constraint function and limiting conditions of the optimization variable X in Step 5.1, determine whether all the dung beetles that have completed the position update in Step 5.3 have exceeded the boundary. If they have exceeded the boundary, remove the dung beetle. The initial dung beetle population completes one iteration update and obtains the current global optimal solution and the corresponding fitness value.

[0031] Step 5.5: Calculate the fitness of the dung beetle population that did not exceed the boundary in Step 5.4, and continue the process of Steps 5.3-5.4 to obtain the global optimal solution and the corresponding fitness value after this iteration update;

[0032] Step 5.6: Repeat steps 5.3-5 continuously. When the number of iterations reaches the preset value, output the current global optimal solution and obtain the value with the minimum fitness value and the corresponding position information. That is, obtain the global optimal value of the permanent magnet size parameter and the corresponding minimum weight parameter.

[0033] Compared with existing technologies, the beneficial effects of this invention are as follows: The structural parameter optimization method for the permanent magnet adsorption device of the wall-climbing robot designed in this invention uses a quasi-static force analysis method to mathematically model the required magnetic adsorption force, establishes a Chebyshev polynomial surrogate model of the coupling relationship between the structural parameters of the permanent magnet adsorption device and the adsorption force, and uses the DBO algorithm to solve the optimization problem to obtain the Pareto optimal solution. This invention is applicable to permanent magnet structures designed using the Halbach Array method. Compared with traditional simulation optimization design methods, this invention can obtain a clear functional expression between the magnetic adsorption force and each parameter, and can quickly calculate the magnetic adsorption force based on the structural parameters, avoiding blindly performing time-consuming and laborious three-dimensional permanent magnet simulations, greatly reducing the design time of permanent magnets, and enabling the minimum weight magnet to generate the maximum magnetic adsorption force. This invention has very important significance for the rapid and effective design of magnet structures in engineering. Attached Figure Description

[0034] Figure 1 This is a front view of the permanent magnet in one embodiment of the method for optimizing the structural parameters of a permanent magnet adsorption device for a wall-climbing robot according to the present invention.

[0035] Figure 2 for Figure 1 A schematic diagram of the side structure of the permanent magnet in the image.

[0036] Figure 3 This is a quasi-static force model diagram of a dual-track wall-climbing robot. Detailed Implementation

[0037] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, this embodiment is only a part of the embodiments of the present invention, and not all of them.

[0038] In this embodiment, the Halbach array magnet is a square structure composed of a yoke and three permanent magnets, such as... Figure 1-2The yoke 1 is positioned above three permanent magnets arranged side-by-side. The two permanent magnets on either side are identical in size and are designated as main magnets 2 (size W2 × h2). The middle permanent magnet is designated as auxiliary magnet 3 (size W3 × h2). The three permanent magnets have the same height (h2) and width (l), and the yoke has the same width as the permanent magnets. The length W1 of the yoke is equal to the sum of the lengths of the three permanent magnets. The method of this invention is used to optimize the dimensional parameters of the Hellbeck array magnet.

[0039] This invention provides a method for optimizing the structural parameters of a permanent magnet adsorption device for a wall-climbing robot. The method is characterized by using a Halbach array magnet as the permanent magnet in the adsorption device. The method includes the following steps:

[0040] Step 1: Based on the structure of the wall-climbing robot, establish the required minimum magnetic attraction force model:

[0041]

[0042] Among them, F t The minimum required magnetic attraction force, k is the safety factor, and F g Where G is the load weight, G is the weight of the wall-climbing robot, and μ is the coefficient of friction. The angle of inclination of the wall.

[0043] Using MATLAB simulation calculations, F was obtained. t The value of F is obtained based on the number N of permanent magnets in the wall-climbing robot; the required magnetic attraction force F for a single permanent magnet is obtained. t '≥F t / N.

[0044] like Figure 3 This is a quasi-static force model for a dual-tracked wall-climbing robot. The values ​​of relevant parameters are determined based on the parameters of different wall-climbing robots. In this embodiment, G = 150N, F... g =150N, μ=0.5, k=1.4.

[0045] Using MATLAB simulation calculations, F was obtained. t ≥939.1N, the dual-tracked wall-climbing robot in the embodiment has 8 permanent magnets distributed in it, therefore the magnetic attraction force F required for a single permanent magnet is ≥939.1N. t ≥117.4N.

[0046] Step 2: Establish a structural optimization model for a single permanent magnet:

[0047] Find X

[0048]

[0049] Where G(X) = (2w2 + w3)·l·h1·ρ1 + (2w2 + w3)·l·h2·ρ2 is the weight of the permanent magnet; X is the optimization variable, X = (w2, w3, h1, h2, l), where w2 is the length of the main magnet, w3 is the length of the secondary magnet, h1 is the height of the yoke, l is the overall width, and h2 is the height of the main magnet; ρ1 is the density of the yoke material, and ρ2 is the density of the permanent magnet material; F(X) is the magnetic attraction force when the size parameter of the permanent magnet is X.

[0050] The range of values ​​for each size parameter is determined according to the size of the applicable wall-climbing robot. The permanent magnet within the size range set by this invention is applicable to most wall-climbing robots. For wall-climbing robots in special cases, the range of values ​​for the relevant parameters of the permanent magnet can be set according to their own size requirements. The method of setting the range of values ​​is not within the technical protection scope of this invention.

[0051] Step 3: Within the defined range of values ​​for each parameter, the optimized variable X = (w2, w3, h1, h2, l) is sampled using the optimized Latin hypercube to extract Q samples (100 samples in this embodiment) as the training sample set. Based on the extracted samples, the parameters of the 3D model of the permanent magnet structure are modified, and simulation software (such as Ansys Maxwell) is used to simulate it to obtain the response value of the corresponding sample, i.e., the magnetic adsorption force F(X).

[0052] like Figure 1 This is a schematic diagram of a Halbach array three-magnetic-circuit magnet structure. This structure is designed based on the Halbach Array magnetic circuit design method. The values ​​and ranges of the optimization variable X = (w2, w3, h1, h2, l) depend on the different structural dimensions of the wall-climbing robot. In this embodiment:

[0053] 37mm≤2w2+w3≤65mm, w3≤w2, 10mm≤h1+h2≤34mm, 5mm≤h1≤10mm, 14mm≤h2≤30mm, 27mm≤l≤37mm.

[0054] Step 4: Establish an alternative prediction model using the Chebyshev multinomial surrogate model and verify the accuracy of the surrogate model. The specific process is as follows:

[0055] Step 4.1: Randomly and without repetition, select m samples (m not less than Q / 4) from the training sample set in Step 3 as the initial reference point set. Let P be the reference deviation of the reference Chebyshev polynomial A(x) on the initial reference point set, and let the quotients of each order of A(x) be linear functions of P. Since A(x) is an m-th degree polynomial, its (m+1)th order quotient is equal to 0, thus the reference deviation P can be calculated. Then, according to A(u iFind the reference polynomial A(x) by the quotients of each order of difference of u. i For a sample in the initial reference point set, u i =(w 2i ,w 3i ,h 1i ,h 2i ,l i ), 1≤i≤m.

[0056] Step 4.2: Let δ be the maximum approximation error of the reference Chebyshev polynomial A(x) on the training sample set in Step 3, where δ is the maximum approximation error of A(x). q )-F(X q The maximum absolute value of F(X) on the training sample set, 1≤q≤Q. q ) for X q The corresponding magnetic adsorption force; if δ = P, then A(x) is the desired fitted Chebyshev function polynomial, i.e., the magnetic adsorption force prediction model F*(X) for the optimization variable X. If δ > P, then the point X corresponding to the maximum approximation error δ is used. j Replace the initial reference point set at X j Recently and with A(X) j )-F(X j Points with the same sign (the sign here refers to the positive or negative of the calculation result) are used to form a new set of reference points. Then, steps 4.1 and 4.2 are repeated on the new set of reference points. If the corresponding maximum approximation error is not equal to the corresponding reference deviation, the set of reference points is updated again, and steps 4.1 and 4.2 are repeated again. This process is repeated until the corresponding maximum approximation error is equal to the corresponding reference deviation. The fitted Chebyshev function polynomial at this point is then used as the magnetic adsorption force prediction model F*(X) for the optimization variable X.

[0057] The above steps involve sampling point X. i =(w 2i ,w 3i ,h 1i ,h 2i ,l i ) and the corresponding magnetic attraction force F(X) i The input can be easily and quickly fed into the Chebyshev function in the Python library for function fitting.

[0058] Explanation of the Chebyshev polynomial fitting method:

[0059] Given n sample points: (X) i ,Y i ), i = 1, 2, ..., n, Y i =F(X)i Find the m-th degree polynomial P. m (X) = a1 + a2X + ... + a m X m This minimizes the maximum deviation at n given points.

[0060] In this embodiment, the training sample set consists of 100 sample points, and 30 distinct points u1, u2, ..., u3 are selected. 30 As the initial reference point set. Let u1, u2, ..., u be the initial reference point set. 30 Above, the deviation of the reference Chebyshev polynomial A(x) is P, that is, the value of the reference polynomial A(x) on the initial point set is:

[0061] A(u i )=F(u i )+(-1) i-1 P, i = 1, 2, ..., 30

[0062] Among them, A(u i The difference quotients of each order of ) are linear functions of P, u i =(w 2i ,w 3i ,h 1i ,h 2i ,l i ), 1≤i≤30.

[0063] Since A(x) is a 29th-degree polynomial, its 30th-order difference quotient is equal to 0, thus P can be calculated. Then, according to A(u... i Find the expression for A(x) by taking the quotients of each order of difference:

[0064] A(X) = a1 + a2X + ... + a m X m

[0065] In the above formula, a1, a2, ..., a m The coefficient parameters are obtained by fitting the initial reference point set with the corresponding magnetic attraction force values ​​using the Chebyshev function. m is the number of samples in the initial reference point set. In this embodiment, m = 30.

[0066] Calculate the maximum approximation error δ over the entire training sample set:

[0067]

[0068] If δ = P, then A(x) = F*(X), which is the desired fitted Chebyshev function polynomial.

[0069] If δ>P, then use the point X that makes the maximum approximation error δ reach its maximum value.j Replace the initial reference point set at X j Recently and has with A(X) j )-F(X j Points with the same sign are identified to form a new set of reference points. The above steps are repeated using this set of reference points. If the corresponding maximum approximation error equals the corresponding reference deviation, then the fitted Chebyshev function polynomial obtained in this calculation is the desired magnetic adsorption force prediction model F*(X) for the optimization variable X. Otherwise, the reference point set is updated again, and this process is repeated until the corresponding maximum approximation error equals the corresponding reference deviation.

[0070] Step 4.3: Validate the accuracy of the magnetic adsorption force prediction model F*(X) on the training sample set using the root mean square error (RMSE) and correlation coefficient (R²). 2 As an evaluation metric, when the RMSE value is less than 0.1 and R... 2 The value is greater than 0.9, which verifies that the magnetic adsorption force prediction model F*(X) is an effective model.

[0071] Generally, the closer the RMSE value is to 0, the higher its fitting accuracy; it is typically less than 0.1. 2 The closer the value is to 1, the higher its fitting accuracy, which is generally greater than 0.9.

[0072] Root mean square error (RMSE) and correlation coefficient (R²) 2 The formula for calculating ) is:

[0073]

[0074]

[0075] Where F(X) i ) is the sample X i The accurate adsorption force value, F * (X i ) is the sample X i The predicted adsorption force value obtained by the magnetic adsorption force prediction model F*(X), F·(X) i ) represents the mean of the accurate adsorption force values ​​of all samples in the training sample set, and n is the number of sample points in the training sample set.

[0076] The errors of the obtained Chebyshev polynomial surrogate model (i.e., the magnetic adsorption force prediction model F*(X)) and the second-order response surface surrogate model were compared on the training sample set, and the results are shown in Table 1.

[0077] Table 1 Error results for different proxy models

[0078]

[0079] As can be seen from the results in Table 1, the Chebyshev polynomial surrogate model proposed in this invention has higher prediction accuracy.

[0080] Step 5: Use the DBO algorithm to optimize and solve the magnetic adsorption force prediction model F*(X) obtained in Step 4 to obtain the Pareto optimal solution.

[0081] The problem then becomes finding the minimum value of G(X), with the constraint that F(X) ≥ 117.4 N. This means that the magnetic attraction force predicted by the magnetic attraction force prediction model F*(X) is not less than 117.4 N, which can also be interpreted as the constraint F*(X) ≥ 117.4 N. The values ​​of the variables are: 37 mm ≤ 2w² + w³ ≤ 65 mm, w³ ≤ w², 10 mm ≤ h¹ + h² ≤ 34 mm. The variable values ​​are: 5 mm ≤ h¹ ≤ 10 mm, 14 mm ≤ h² ≤ 30 mm, 27 mm ≤ l ≤ 37 mm. The result is accurate to two decimal places.

[0082] The DBO algorithm is inspired by the dung beetle's ball-rolling, dancing, foraging, stealing, and reproductive behaviors. This algorithm balances global exploration and local exploitation, and features fast convergence and high solution accuracy.

[0083] The specific process is as follows:

[0084] Step 5.1: Set the population size n = 100, the maximum number of iterations to 1000, the lower limit of the iteration range of the optimization variable X = (w2, w3, h1, h2, l) to [5, 5, 26, 12, 4.5], the lower limit of the iteration range to [12, 29, 37, 30, 21.5], and the number of optimization parameters to 5; constraint functions: w2 ≥ w3, 37 mm ≤ 2w2 + w3 ≤ 65 mm, 10 ≤ h1 + h2 ≤ 34; the constraint condition is F*(X) ≥ 117.4N.

[0085] Step 5.2: Within the iterative range of the optimization variables and in accordance with the constraint functions and conditions, initialize the population using a random value method, and calculate the fitness of the initial dung beetle population. The fitness function is set as follows:

[0086] f(X)=G(X)=(2w2+w3)·l·h1·ρ1+(2w2+w3)·l·h2·ρ2

[0087] The initial dung beetle population matrix is:

[0088]

[0089] In this embodiment, d = 5, n = 100, then the fitness matrix F corresponding to the initial population is... Y for:

[0090]

[0091] In the formula, (x n,1 ,x n,2 ,x n,3 ,x n,4 ,…..,x n,d ) represents dung beetle x n The location, f(x) n,1 ,x n,2 ,x n,3 ,x n,4 ,…..,x n,d ) for dung beetle x n The fitness of the variable is the optimization variable X = (x n,1 ,x n,2 ,x n,3 ,x n,4 ,…..,x n,d The weight of the permanent magnet at that time is the fitness value. The smaller the fitness value, the smaller the weight of the permanent magnet, and the better the location of the dung beetle.

[0092] Step 5.3: Sort the initial dung beetle population according to fitness, and then update their positions according to the formulas for ball-rolling behavior, dancing behavior, reproductive behavior, foraging behavior, and stealing behavior, in ascending order of fitness. Select the first pNum = n × Percent dung beetles in good positions to perform ball-rolling or dancing behavior, and then update the positions of the next PNum+1 dung beetles to the nth dung beetle. i Only foraging behavior is performed, nth i From the +1th to the popthth, they reproduce; from the pop+1th to the nth, they steal.

[0093] In this embodiment, the total dung beetle population is set to 100, the proportion of dung beetles rolling or dancing is set to 0.2, the proportion of foraging dung beetles is 0.2, the proportion of breeding dung beetles is 0.4, and the proportion of thieving dung beetles is 0.2. That is, in each iteration, the top 20 dung beetles in better positions are selected to perform rolling or dancing behavior, the 21st to 60th dung beetles perform foraging behavior, the 61st to 80th dung beetles perform breeding behavior, and the 81st to 100th dung beetles perform thieving behavior.

[0094] The first pNum dung beetles in better positions will perform rolling ball or dancing behaviors with a certain probability:

[0095]

[0096] That is, randomly select no more than 90% of the first pNum to perform the rolling ball behavior, and randomly select no less than 90% of them to perform the dancing behavior.

[0097] For the rolling ball behavior, update the dung beetle x of the rolling ball according to the following formula. i The location.

[0098]

[0099]

[0100] Where α is a number taking the value -1 or 1; k is a random number between 0 and 0.2; b is a constant taking the value (0, 1); x worst This represents the worst-case position for the dung beetle globally; Δx represents the change in simulated light intensity. i t For dung beetle x i At the position after the t-th iteration update, x i t+1 For dung beetle x i The position after completing the (t+1)th iteration update, and so on.

[0101] In this embodiment, k = 0.1 and b = 0.3. α is set to 1 or -1 using a probability method; in this embodiment, the probability is set to 0.1. When the probability is greater than 0.1, α = 1; otherwise, α = -1.

[0102] For the dancing behavior, update the dancing dung beetle x according to the following formula. i The location.

[0103]

[0104] For the nth i The breeding behavior of +1 to the popth dung beetle is updated according to the following formula: x = breeding dung beetle. i Location:

[0105] Lb * =max(X * ×(1-R),Lb)

[0106] Ub * =max(X * ×(1+R),Ub)

[0107] Among them, X * Lb represents the current globally optimal position. * and Ub * These represent the lower and upper boundaries of spawning, respectively. In this example, [Lb] is used. * Ub * ]=[Lb,Ub],R=1-t / Max iter Max iter Let represent the maximum number of iterations, 1000, and t represent the number of iterations completed. Lb and Ub represent the upper and lower bounds of the optimization problem, respectively. Lb = [5, 5, 26, 12, 4.5], Ub = [12, 29, 37, 30, 21.5], therefore the update is as follows:

[0108]

[0109] Where, x i t It's a dung beetle. i After completing the t-th iteration, the position information, b1 and b2, are two independent random vectors of size 1×D. D represents the dimension of the optimization problem, which is 5 in this example.

[0110] For the PNum+1th only up to the nth i The foraging behavior of a single dung beetle is updated according to the following formula: x i The location.

[0111] Lb b =max(X b ×(1-R),Lb)

[0112] Ub b =max(X b ×(1+R),Ub)

[0113] Among them, X b This represents the current local optimum (i.e., from the PNum+1th to the nth position). i (the optimal position among them), Lb b and Ub b These represent the lower and upper bounds of the optimal foraging area, respectively. In this example, [Lb] is used. b Ub b ] = [Lb, Ub], Lb = [5, 5, 26, 12, 4.5], Ub = [12, 29, 37, 30, 21.5], therefore the update is as follows:

[0114]

[0115] Where, x i t It's a dung beetle. i The position information after the t-th iteration is given by C1, which represents a random number that follows a normal distribution, and C2, which represents a random vector in the range (0, 1).

[0116] For the theft actions of the (pop+1)th to the nth dung beetle, update the theft count x according to the following formula. i Location:

[0117]

[0118] Where, x i t It's a dung beetle. i The position information after completing the t-th iteration, X *X represents the current globally optimal position. b Let represent the current local optimum (i.e., the optimum position among pop+1 to nth), g represent a 1×D dimensional random vector following a normal distribution, and S be a constant. In this embodiment, S = 0.5 is used.

[0119] In the position update formulas for rolling behavior, dancing behavior, reproductive behavior, foraging behavior, and stealing behavior, dung beetle x i It refers only to any one of the current behavioral groups; the individuals referred to may differ in different behavioral groups.

[0120] Step 5.4: Based on the iteration range, constraint function and limiting conditions of the optimization variable X in Step 5.1, determine whether all dung beetles that have completed the position update in Step 5.3 have exceeded the boundary. If they have exceeded the boundary, remove the dung beetle. The initial dung beetle population completes one iteration update, and the current global optimal solution and the corresponding fitness value are obtained.

[0121] Step 5.5: Calculate the fitness of the dung beetle population that did not exceed the boundary in Step 5.4, and continue the process of Steps 5.3-5.4 to obtain the global optimal solution and the corresponding fitness value after this iteration update.

[0122] Step 5.6: Repeat steps 5.3-5 continuously. When the number of iterations reaches the preset value, output the current global optimal solution and obtain the value with the minimum fitness value and the corresponding position information. That is, obtain the global optimal value of the permanent magnet size parameter and the corresponding minimum weight parameter.

[0123] Any aspects not covered in this invention are applicable to existing technologies.

Claims

1. A method for optimizing the structural parameters of a permanent magnet adsorption device for a wall-climbing robot, characterized in that, The permanent magnet in the permanent magnet adsorption device is a Halbach array magnet, and the method includes the following steps: Step 1: Based on the structure of the wall-climbing robot, establish the required minimum magnetic attraction force model: Among them, F t The minimum required magnetic attraction force, k is the safety factor, and F g Where G is the load weight, G is the weight of the wall-climbing robot, and μ is the coefficient of friction. The angle of inclination of the wall; Using MATLAB simulation calculations, F was obtained. t The value of F is obtained based on the number N of permanent magnets in the wall-climbing robot; the required magnetic attraction force F for a single permanent magnet is obtained. t '≥F t / N; Step 2: The permanent magnet is a square structure composed of a yoke and three permanent magnets. The yoke is placed on top of the three permanent magnets, which are arranged side by side. The permanent magnets on both sides are the same size and serve as the main magnets, while the one in the middle is the auxiliary magnet. The three permanent magnets have the same height and width, and the yoke has the same width as the permanent magnets. The length of the yoke is equal to the sum of the lengths of the three permanent magnets. Based on the permanent magnet structure, an optimization model for a single permanent magnet structure is established: Find X Where G(X) = (2w2 + w3)·l·h1·ρ1 + (2w2 + w3)·l·h2·ρ2 is the weight of the permanent magnet; X is the optimization variable, X = (w2, w3, h1, h2, l), where w2 is the length of the main magnet, w3 is the length of the secondary magnet, h1 is the height of the yoke, l is the overall width, and h2 is the height of the main magnet; ρ1 is the density of the yoke material, and ρ2 is the density of the permanent magnet material; F(X) is the magnetic attraction force when the size parameter of the permanent magnet is X. Step 3: Within the range of values ​​for each parameter, extract Q samples using the optimized Latin hypercube as the training sample set for the optimization variable X; based on the extracted samples, modify the parameters of the 3D model of the permanent magnet structure and simulate it using simulation software to obtain the response value of the corresponding sample, i.e., the magnetic adsorption force F(X); the range of values ​​for each parameter is: 37mm≤2w2+w3≤65mm, w3≤w2, 10mm≤h1+h2≤34mm, 5mm≤h1≤10mm, 14mm≤h2≤30mm, 27mm≤l≤37mm; Step 4: Build an alternative prediction model using the Chebyshev multinomial surrogate model and verify the accuracy of the surrogate model. The specific process is as follows: Step 4.1: Randomly and without repetition, select m samples from the training sample set in Step 3 as the initial reference point set; let P be the reference deviation of the Chebyshev polynomial A(x) on the initial reference point set, and let the quotients of each order of A(x) be linear functions of P; since A(x) is an m-th degree polynomial, its (m+1)th order quotient is equal to 0, thus the reference deviation P can be calculated; then, according to A(u i Find the reference polynomial A(x) by the quotients of each order of difference of u. i For a sample in the initial reference point set, u i =(w 2i ,w 3i ,h 1i ,h 2i ,l i ), 1≤i≤m; Step 4.2: Let δ be the maximum approximation error of the reference Chebyshev polynomial A(x) on the training sample set in Step 3, where δ is the maximum approximation error of A(x). q )-F(X q The maximum absolute value of F(X) on the training sample set, 1≤q≤Q. q () is the sample X in step 3 q The corresponding magnetic attraction force; if δ = P, then A(x) is the desired fitted Chebyshev function polynomial, that is, the magnetic attraction force prediction model F*(X) for the optimization variable X; if δ > P, then the point X corresponding to the maximum approximation error δ is used. j Replace the initial reference point set at X j Recently and with A(X) j )-F(X j Points with the same sign are used to form a new set of reference points. Then, the process of steps 4.1 and 4.2 is repeated on the new set of reference points. If the corresponding maximum approximation error is not equal to the corresponding reference deviation, the set of reference points is updated again, and the process of steps 4.1 and 4.2 is repeated again. This process is repeated until the corresponding maximum approximation error is equal to the corresponding reference deviation. The fitted Chebyshev function polynomial at this time is used as the magnetic adsorption force prediction model F*(X) for the optimization variable X. Step 4.3: Validate the accuracy of the magnetic attraction force prediction model F*(X) on the training sample set using RMSE and R0. 2 As an evaluation metric, when the RMSE value is less than 0.1 and R... 2 The value is greater than 0.9, which verifies that the magnetic adsorption force prediction model F*(X) is an effective model; Step 5: The DBO algorithm is used to optimize the magnetic adsorption force prediction model F*(X) obtained in Step 4 to obtain the Pareto optimal solution. The specific process is as follows: Step 5.1: Set the population size n, the maximum number of iterations, and the lower bound of the iteration range for the optimization variable X = (w2, w3, h1, h2, l) as [5, 5, 26, 12, 4.5] and [12, 29, 37, 30, 21.5]; the number of optimization parameters is 5; the constraint functions are: w2 ≥ w3, 37mm ≤ 2w2 + w3 ≤ 65mm, 10 ≤ h1 + h2 ≤ 34; the constraint condition is F*(X) ≥ F t / N; Step 5.2: Within the iterative range of the optimization variables and in accordance with the constraint functions and conditions, initialize the population using a random value method, and calculate the fitness of the initial dung beetle population. The fitness function is set as follows: f(X)=G(X)=(2w2+w3)·l·h1·ρ1+(2w2+w3)·l·h2·ρ2 The initial dung beetle population matrix is: Then the fitness matrix F corresponding to the initial population Y for: In the formula, (x n,1 ,x n,2 ,x n,3 ,x n,4 ,…..,x n,d ) represents dung beetle x n The location, f(x) n,1 ,x n,2 ,x n,3 ,x n,4 ,…..,x n,d ) for dung beetle x n The fitness of the variable is the optimization variable X = (x n,1 ,x n,2 ,x n,3 ,x n,4 ,…..,x n,d The weight of the permanent magnet at that time is the fitness value. The smaller the fitness value, the smaller the weight of the permanent magnet, and the better the location of the dung beetle. Step 5.3: Sort the initial dung beetle population according to fitness, and then update their positions according to the formulas for ball-rolling behavior, dancing behavior, reproductive behavior, foraging behavior, and stealing behavior, in ascending order of fitness. Select the top pNum dung beetles with better positions to perform ball-rolling or dancing behavior, and then update the positions of the next PNum+1 dung beetles to the nth dung beetle. i Only foraging behavior is performed, nth i From the +1st to the popth dung beetle, they reproduce; from the pop+1th to the nth dung beetle, they steal; the top pNum dung beetles in better positions perform rolling ball or dancing behaviors with a certain probability. That is, randomly select no more than 90% of the first pNum items to perform the rolling ball behavior, and randomly select no less than 90% of them to perform the dancing behavior; Step 5.4: Based on the iteration range, constraint function and limiting conditions of the optimization variable X in Step 5.1, determine whether all the dung beetles that have completed the position update in Step 5.3 have exceeded the boundary. If they have exceeded the boundary, remove the dung beetle. The initial dung beetle population completes one iteration update and obtains the current global optimal solution and the corresponding fitness value. Step 5.5: Calculate the fitness of the dung beetle population that did not exceed the boundary in Step 5.4, and continue the process of Steps 5.3-5.4 to obtain the global optimal solution and the corresponding fitness value after this iteration update; Step 5.6: Repeat steps 5.3-5 continuously. When the number of iterations reaches the preset value, output the current global optimal solution and obtain the value with the minimum fitness value and the corresponding position information. That is, obtain the global optimal value of the permanent magnet size parameter and the corresponding minimum weight parameter.

2. The method for optimizing the structural parameters of a permanent magnet adsorption device for a wall-climbing robot according to claim 1, characterized in that, In step 3, the number of samples Q in the training sample set is 100.

3. The method for optimizing the structural parameters of a permanent magnet adsorption device for a wall-climbing robot according to claim 1, characterized in that, In step 4.1, the number of samples m in the initial reference point set shall not be less than Q / 4.

4. The method for optimizing the structural parameters of a permanent magnet adsorption device for a wall-climbing robot according to claim 3, characterized in that, In step 4.1, the number of samples m in the initial reference point set is 30.

5. The method for optimizing the structural parameters of a permanent magnet adsorption device for a wall-climbing robot according to claim 1, characterized in that, In step 5.1, the population size is set to 100 and the maximum number of iterations is set to 1000.

6. The method for optimizing the structural parameters of a permanent magnet adsorption device for a wall-climbing robot according to claim 1, characterized in that, In step 5.3, the proportion of dung beetles that engage in rolling or dancing behavior is 20% of the population, the proportion of dung beetles that engage in foraging behavior is 20% of the population, the proportion of dung beetles that engage in reproductive behavior is 40% of the population, and the proportion of dung beetles that engage in stealing behavior is 20% of the population.

7. The method for optimizing the structural parameters of a permanent magnet adsorption device for a wall-climbing robot according to claim 1, characterized in that, In step 1, G = 150 N, F g =150N, μ=0.5, k=1.4; using MATLAB simulation calculation, F is obtained. t ≥939.1N; The wall-climbing robot has 8 permanent magnets distributed throughout, therefore the required magnetic attraction force F for a single permanent magnet is ≥939.1N. t ≥117.4N.

Citation Information

Patent Citations

  • A Magnetic Circuit Optimization Design Method for a Magnetic Flux Leakage Detection System Based on Orthogonal Experiment

    CN104008251B

  • A magnetic circuit optimization method

    CN113239604B