Professional Documents
Culture Documents
Yahui Wang , Chaojie Ma, Chong Wang, Huipeng Zhang and Suxiang Fan
Abstract
Large redundant metal structures have high stability with large cost. An excellent mechanical structure should have the
lower weight when satisfying its stability. Aiming at the large redundancy of the main beam metal structure of the double-
beam bridge crane, the paper extracts six important parameters to determine its quality, and the corresponding value is set.
The orthogonal test table is designed to calculate the strength and stiffness. In order to avoid resonance, the fixed vibration
frequency and excitation frequency are calculated. The experimental results are fitted to obtain the six parameters of the
quality, strength, stiffness, and natural frequency. Moreover, particle swarm optimization algorithm is used to solve the
multi-objective optimization mathematical model with the design quality as the goal and the stiffness, strength, and easy
resonance interval as constraints. In view of the long calculation time and poor convergence of particle swarm optimization
algorithm, a module that limits the particle forward speed is added and the generation conditions of particles are redefined.
The improved particle swarm algorithm shows that the first-order vibration frequency of the main beam increases from
18 Hz to 27.55 Hz. It improves the stability of the overall structure and avoids resonance with the motor frequency. Under
the condition of satisfying the stability of the main beam, the quality of the main beam is reduced from 1.23 tons to 0.53 tons,
with a reduction of 6%.
Keywords
Bridge crane, stiffness calculation, strength calculation, finite element analysis, orthogonal test, particle swarm optimization
Introduction
Bridge crane is an important lifting and handling equipment that widely used in heavy machinery workshop.1 Early
mechanical structure design of cranes mostly relies on experience. In order to be safe, mechanical structures with large
redundant coefficients are usually designed.2 Metal structures with large redundancy tend to have optimal stability, and their
cost is relatively high. This is a burden for heavy machinery manufacturers such as agricultural machinery and steelmaking
industries, where cranes are in high demand. With the outbreak of the third industrial Revolution in the 1940s and 1950s, the
high-tech industry represented by electronic computer technology rose rapidly. After decades of development, computers
have been widely used in mechanical design and optimization.3 Zhu and Liu4 used HyperMesh pre-processing software and
OptiStruct solver to optimize the main beam design of bridge cranes for multiple working conditions. Based on an
embedded disturbance mechanism, Lu et al. 5 used an improved artificial fish swarm algorithm to optimize the main beam
dosing of a bridge crane. Based on the finite element analysis of the strength, stiffness, and stability of the main beam of the
overhead traveling crane, Yu et al.6 used an intelligent optimization algorithm-mirror reflection algorithm to optimize the
design parameters of the crane metal structure to reduce the quality of the structure.
School of Mechanical Engineering, North China University of Water Resources and Electric Power, Zhengzhou, Henan, China
Corresponding author:
Yahui Wang, School of Mechanical Engineering, North China University of Water Resources and Electric Power, No. 136, Jinshui East Road, Zhengzhou
450046, China.
Email: wangyahui6@yeah.net
Creative Commons CC BY: This article is distributed under the terms of the Creative Commons Attribution 4.0 License
(https://creativecommons.org/licenses/by/4.0/) which permits any use, reproduction and distribution of the work without
further permission provided the original work is attributed as specified on the SAGE and Open Access pages (https://us.sagepub.com/
en-us/nam/open-access-at-sage).
2 Journal of Low Frequency Noise, Vibration and Active Control 0(0)
The main beam of the overhead traveling crane is a box structure that contains several size factors. Each size will affect
the strength and weight of the structure. In recent years, many optimization algorithms such as swarm algorithms and bat
algorithms 7–8 are widely used in the optimization of crane structures. How to design the optimization algorithm and reduce
the mass of the main beam by adjusting the parameters so as to ensure the stability of the structure in the state is the key idea
of optimization. Based on the response surface method, the lightweight design of an open hydraulic pre-bending machine
was carried out, and the quality of the pre-bending machine was reduced by 8330 kg after optimization.9 Based on the same
method, the lightweight design of the main beam of the bridge crane was carried out, and the quality of the main beam is
reduced by 17% after optimization. Therefore, lightweight design reduces the quality under the premise of ensuring stability
and has great economic benefits.10
Aiming at the problems of low efficiency and low precision of traditional optimization methods in the structural
optimization of the crane beam, a structural optimization method based on an improved particle swarm optimization
algorithm is proposed. Under the condition of satisfying the deformation and stress, the structure is optimized and the
lightweight design is carried out to reduce the production cost. Moreover, based on the original particle swarm
algorithm, an improved particle swarm optimization algorithm is designed to improve the running speed and op-
timization effect. It can effectively ensure the stability of the structure and adjust various parameters to minimize the
quality of the main beam.
First, the software SOLIDWORKS is used to establish the main beam, end beam, and car model of the crane.
Second, the static mechanical analysis of the bridge crane is carried out to verify the structural stiffness in static state.
Third, the modal analysis, weak part searching, optimal parameter selection, and orthogonal experiment design are
carried out. Finally, the mathematical model is established, and the improved particle swarm optimization algorithm is
used for fitting. On the basis of ensuring the dynamic and static performance, the quality of the main beam and the
maximum deformation are reduced, and the natural frequency is improved. In addition, the performance of the whole
machine is also improved accordingly.
Y¼ (1)
48B
In equation (1),the sizes of L and B are shown in Figure 4. B is the effective stiffness of the section.12 The effective
stiffness calculation equation is defined as follows:
4 Journal of Low Frequency Noise, Vibration and Active Control 0(0)
B ¼ λB1 þ B2 (2)
In equation (2), λ is the reduction coefficient in the range of 0–1, λ mainly considers the impact of shear deformation of
web on stiffness.
According to the drawings, the three-dimensional drawing software SOLIDWORKS is used to accurately model the
crane beam, end beam, and trolley. The general assembly diagram is shown in Figure 5.
Using the quality evaluation function of SolidWorks, the mass of the main beam, end beam and trolley frame is 1.23 tons,
0.24 tons, and is 0.66 tons, respectively, it is 98% similar to the weight marked on the drawing.
The loads that cause the variation of crane deflection can be divided into two types. One is the equidistant mid-span
distributed loads brought by lifting heavy objects and trolley mechanisms, and these loads are evenly distributed on P1 and
P2. The other is the uniformly distributed load caused by the dead weight of the main beam. Under the mid-span distributed
load, the deflection value is set as Y1. Under uniform load, the calculated deflection is set as Y2. Total deflection Y3=Y1+Y2.
According to equations (1) and (2), the deflection of main beam under different working conditions can be calculated, as
shown in Table 1.
The dead weights of the single main beam and trolley running mechanism are 1.23 tons and 1.25 tons, respectively. The
length of the upper wing plate is a = 350 mm; the thickness of the upper wing plate is B = 8 mm; the thickness of the web
plate is C = 6 mm; the height of the web plate is D = 700 mm; the distance between the two webs is E = 290 mm; and the
thickness of the lower wing plate is F = 6 mm. The distance in the longitudinal center plane of the beams at both ends is L =
9258 mm, and Q is 1964N/m under uniform distributed load.
The shear stress should be considered when calculating the strength of the second stress concentration point so that the
static moment Sz of the lower flange plate to the neutral axis should be calculated first. The static moment is the product of
the area of a graph and its centroid to a coordinate axis, shown as equation (3).
Z
SZ ¼ ydA (3)
A
In this case, equation (6) can be obtained according to the combined stress theory
pffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
σ ¼ σx2 þ σy2 σy ∗ σx þ 3 ∗ τx2 (6)
1 17.557 The two main beams swing horizontally in opposite directions along the X axis
2 18.6 The two main beams swing horizontally along the X axis in the same direction
3 26.507 The two beams swing up and down the y axis in the same direction
4 28.32 The two beams swing up and down in opposite directions along the Y axis
5 48.043 The two beams twist horizontally around their centers in opposite directions
6 52.996 The two beams are twisted horizontally around their centers in the same direction
a/(mm) b(mm) c(mm) d(mm) e(mm) f(mm) M(t) σ(MPa) Y(mm) Fn(Hz)
1. Determination of the objective function. It can be seen from the above, the study aims to make the main beam has
lighter weight while ensuring the stability of the structure. Therefore, the main beam mass M is the first objective
function. After optimization, it is also necessary to ensure that the natural frequency is far away from the excitation
frequency. It is defined that the ratio of solid vibration frequency Fn to the excitation frequency F0 is between
21
0.9 and 1.1 and the resonance is strong so that the ratio should be as far as away from the range. Then the dual
problem can be expressed as follows: F ¼ 0:1 abs 1 F0 and F is the second target function.
Fn
Wang et al. 9
2. Determination of the design variables. It can be seen from the above, the design variables are the upper wing length
a, the upper wing thickness b, the web thickness c, the web height d, the spacing between the two webs e, and the
thickness of the lower wing f.
3. Determination of the constraint conditions. It can be seen from the above, there are many constraint conditions in this
paper, including the value range of variables a, b, c, d, e, and f, and the limit range of σ and Y, respectively. From
Table 3, the variables a, b, c, d, e, and f is in the range of [300,400], [3,10], [3,10] [400,900], [240,350], and [3,10],
respectively. If the safety factor of the mechanism is 1.5, the metal structure is Q235 B, and the yield stress σs is
235 MPa. The allowable stress is156.67 MPa, and the limit range of σ is 0 < σ ≤ 156.67 MPa. The bridge crane is
lifting equipment with high accuracy requirements, and its deflection is required to be less than 1/1000. Since the
span of the main beam is 9m, its maximum allowable deformation is 9 mm, and its maximum deformation range is
0 < Y ≤ 9 mm. For Fn, it is the solid vibration frequency with the same vibration direction and similar vibrations. The
frequencies of the three vibration sources are 16 Hz, 20 Hz, and 25 Hz, respectively. When Fn is at (0,18) Hz, the
10 Journal of Low Frequency Noise, Vibration and Active Control 0(0)
limiting condition is 1.1 ≤ Fn/16 and Fn/16 ≤ 0.9. When Fn is between (18, 22.5), the limiting condition is 1.1 ≤ Fn/
20 and Fn/20 ≤ 0.9. When Fn is between (22.5, ∞), the limiting condition is 1.1 ≤ Fn/25 and Fn/25 ≤ 0.9. Therefore,
the value of Fn is in the range of (0,14.4) [ (17.6,18) [ (22,22.5) [ (27.5,∞).The mathematical model is established
as equation (8):
8
>
> V minFðxÞ ¼ ½M ðxÞ, FðxÞ
>
>
>
>
>
> Fn
>
> FðxÞ ¼ 0:1 abs 1
>
>
>
>
F0
>
>
>
> x ¼ ½a, b, c, d, e, f
>
>
>
>
>
> 0 ≤ σðxÞ ≤ 156:67
>
>
>
>
>
> 0 ≤ Y ðxÞ ≤ 9
>
>
>
>
>
> 0 ≤ FnðxÞ ≤ 14:4 f 0 ¼ 16
>
>
>
>
>
>
< 17:6 ≤ FnðxÞ ≤ 18 f 0 ¼ 16
(8)
>
> 22 ≤ FnðxÞ ≤ 22:5 f 0 ¼ 20
>
>
>
>
>
> 27:5 ≤ FnðxÞ f 0 ¼ 25
>
>
>
>
>
> 300 ≤ a ≤ 400
>
>
>
>
>
> 3 ≤ b ≤ 10
>
>
>
>
>
> 3 ≤ c ≤ 10
>
>
>
>
>
> 400 ≤ d ≤ 900
>
>
>
>
>
> 240 ≤ e ≤ 350
>
>
>
>
: 3 ≤ f ≤ 10
where R is the penalty factor and its value decreases from large to small in the calculation. Since the reduction of R
cannot be too large, and it takes a long time to solve. In particle swarm optimization (PSO), for each iteration, the particle
will update its speed and position through the individual and group extreme value, and its updating equation is as
equation (10)26:
where V is iteration speed; C1 and C2 are coefficients; and r1 and r2 are random terms.
The main flow chart of improved particle swarm optimization is shown in Figure 12
Wang et al. 11
The calculation time of PSO algorithm increases with the increase of constraint functions and design variables. In this
paper, there are 6 design variables and 16 constraint functions. Therefore, in the early stages of the algorithm, an ap-
proximate optimal solution by generating random numbers takes a long time and requires multiple runs. In order to solve the
problem that PSO algorithm runs for a long time, and sometimes it is easy to fall into local optimal solution and cannot
continue to iterate, the PSO algorithm is optimized.
During the optimization, there are two important conditions. The first is to have a sufficiently large particle swarm. The
size of the result directly influences the quality of particle swarm optimization. If the particle swarms have small number,
poor quality, high optimization starting point, and large optimal type of the local optimal solution in the later stage. The
impact on the global optimization is also large and it is easy to find the optimal solution. The second is that the speed of the
particles is appropriate, and the local optimization is obtained by setting the speed of particle swarm. If the speed is small, its
optimal quality is high. If the speed is big, it is difficult to find the local optimal solution. Therefore, the right particle speed
is the key to optimization. In order to optimize the original PSO algorithm, this paper first changes the way that the swarm
finds the correct particles, replacing the original model of randomly generated particles. Then, the particle swarm that
satisfies the constraints is converted into a particle swarm that first constrained and then judges whether each constraint is
satisfied. This change will greatly improve the efficiency of obtaining suitable particles. Large quantities of high-quality
particles can be obtained in a short time. This paper also adds a new function module to limit the forward speed of particles.
This module aims to limit the speed of the particle swarm to a range that not too high, while maintaining its forward speed.
The original PSO algorithm is to optimize the multiple repeated operations of a small initial population, and the newly
generated particle swarm has small cycles. If the initial population is more or the new particle swarm has a large number of
loop traversals, the operation result is slow. The improved PSO algorithm limits the generation speed of new particles. It can
carry out more initial population and more circular traversals for new particle swarms so as to optimize multiple qualified
particle swarm optimization, improve the operation efficiency, and avoid falling into local optimum(see appendix for
specific code)
The improved particle swarm optimization algorithm has slow convergence in the early stage and mainly pays attention
to the global search ability. In order to avoid falling into the local optimum area, the convergence speed in the middle stage
will be focused first and then the gentle convergence so as to achieve a balance between the global search ability and the
local search ability.
The iteration curve of the optimal solution of the PSO algorithm before modification is shown in Figure 13, and the
distribution of it is shown in Figure 14. It can be seen that the optimized algorithm not only takes less time but also obtains a
better optimal solution. The running time of the modified code is only 8.6 seconds. The iteration curve of its optimal
solution is shown in Figure 15, and the distribution of particle swarm is shown in Figure 16.
The original algorithm has fewer initial populations and low evolutionary generation, and mainly relies on repeated
calculations for optimization. It has many iterations and long running time. The improved algorithm selects a large initial
population and sets a larger number of evolutions. Particle swarm optimization has strong local optimization ability, fewer
program iterations, shorter running time, and higher quality of the optimal solution.
The first step is to design the orthogonal test, and use the Workbench platform to calculate the simulation data under each
case of the orthogonal test to obtain the simulation test data. The second step is to fit the data according to the results of the
orthogonal test. The independent variables of the fitting function are six design variables, and the dependent variables of the
fitting function are mass, natural frequency and maximum deformation. Three fitting functions are fitted respectively. The
third step, the optimization objectives are determined, including six design variables and constraints, upon using the
improved particle swarm optimization algorithm, after iterative optimization for getting the optimal solution under the
improved particle swarm optimization, which are the optimized six independent variables, as shown in Figure17.
After 1500 iterations, the optimal solution is 0.53, and the optimal parameters are six [313.07, 5, 3, 581.57, 259.24, 5.11].
The parameters before and after optimization are shown in Table 4.
It can be seen from Table 4, the mass of the optimized main beam is 0.52 tons, which decreases by 58% compared with
before optimization. Meanwhile, the maximum stress of the main beam increases to 96.78 MPa, and the maximum
deformation of the main beam increases to 9 mm. The natural vibration frequency avoids the excitation frequency, and the
structural redundancy is greatly reduced.
The model is carried out according to the optimized data, and the finite element analysis and modal analysis are
conducted according to the above method. The maximum deformation results are shown in Figure 18; the maximum stress
results are shown in Figure 19, and the modal analysis results are shown in Figure 20.
From Figure 18, Figure 19 and Figure 20, the maximum deformation and maximum stress of the optimized main beam
are about 8.92 mm and 98.94 MPa, respectively. The solid vibration frequency is 27.77 Hz, which is not much different
from the fitting calculation data. The accuracy of the previous optimization results is verified. At the same time, the vibration
frequency of the main beam is higher than the excitation frequency of the motor, which can effectively avoid the resonance.
Conclusion
In this paper, in order to solve the problem of the large redundant coefficient of the main beam structure of the bridge crane,
an orthogonal test table is designed. The required data are obtained by combining the calculation with finite element
analysis, and the data are fitted. The functional relationship between the dependent and respective variables is obtained, and
the optimization mathematical model is designed. Finally, the improved particle swarm algorithm is used to solve this
model, and the optimal fitness value and a set of optimal independent variables are obtained. The analysis and solution
results show that the maximum stress of the main beam increases from 63.32 MPa to 96.51 MPa, and the maximum
deformation of the main beam increases from 4.97 mm to 8.93 mm. The first-order vibration frequency of the main beam
increases from 18 Hz to 27.55 Hz, and the second-order vibration frequency of the main beam increases from 28 Hz to
33.43 Hz. The mass of the main beam decreases from 1.23 tons to 0.53 tons. The analysis and optimization results show that
the quality, cost, and steel waste of the main beam are reduced largely when the parameters of the main beam meet the
stability requirements.
16 Journal of Low Frequency Noise, Vibration and Active Control 0(0)
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: The
project was supported by Henan Province Science and Technology Project (212102210051), Research on Key Technologies of Digital
Design of High-speed Horizontal Machining Center.
ORCID iD
Yahui Wang https://orcid.org/0000-0002-4016-7871
References
1. Fan XN and Luo ZH. Damage identification of bridge crane girder based on contour method. Chinese J Construction Machinery
2021; 19(2): 170–175. DOI: 10.15999/j.cnki.311926.2021.02.014.
2. Lian XY. Lightweight design of bridge crane main girder with D-S theory reliability constraint. Taiyuan, China: Taiyuan University
of Science and Technology, 2020.
3. Gao L, Yang RG, Zhao GL, et al. Lightweight design of bridge crane main girder based on radial basis neural network and ASA-
MMFD algorithm. Mech Design Res 2020; 36(4): 171–177. DOI: 10.13952/j.cnki.jofmdr.2020.0170.
4. Zhu Q and Liu JX. Research on Topology Optimization Design of Multiple Loading Conditions of Bridge-Type Crane Bias-Rail
Girder. Machinery Design Manufacture 2021; 5: 20–23. DOI: 10.19356/j.cnki.1001-3997.2021.05.005.
5. Lu FY, Ren C, and Xu GN. Improved artificial fish swarm algorithm based on embedded interference mechanism and its application.
Machinery Design Manufacture 2020; 11: 69–72. DOI: 10.19356/j.cnki.1001-3997.2020.11.018.
6. Yu YN, Qi QS, Dong Q, et al. Finite element analysis and optimal design of bridge cranes under multiple operating conditions. Sci
Technology Eng 2021; 21(31): 13334–13341.
7. Latif MA and Saka MP. Optimum design of tied-arch bridges under code requirements using enhanced artificial bee colony al-
gorithm. Advances Eng Software 2019; 135: 102685, DOI: 10.1016/j.advengsoft.2019.102685.
8. Savković MM, Bulatović RR, Gašić MM, et al. Optimization of the box section of the main girder of the single-girder bridge crane
by applying biologically inspired algorithms. Eng Structures 2017; 148: 452–465, DOI: 10.1016/j.engstruct.2017.07.004.
9. Liu ZG, Guan DZ, Bai SW, et al. Lightweight design of open prebending machine based on response surface analysis. Forging
Technology 2018; 43(10): 135–140. DOI: 10.13330/j.issn.1000-3940.2018.10.022.
10. Zhang LY, Wang YH, Ju C, et al. Lightweight design of bridge crane girder based on response surface analysis. J China Eng
Machinery 2021; 19(5): 462–465. DOI: 10.15999/j.cnki.311926.2021.05.016.
11. Ma DY. Static and Dynamic Characteristics Analysis and Optimization of Bridge Crane Structure. Wuhan, China: Huazhong
University of Science and Technology, 2018.
12. Nie JG, Li FX, and Fan JS. Effective stiffness method for calculating deflection of corrugated web girder. Eng Mechanics 2012;
29(08): 71–79.
13. Hu ZW, Wang XY, and Wang CS. Design and Application of Crane. Beijing, China: China Machine Press, 2009, pp. 15–45.
14. Ma X. Research on fatigue life assessment and monitoring system of overhead crane structure. Minneapolis, Minnesota: North
Central University, 2021.
15. Wu BW. Simulation study on dynamic characteristics of overhead crane. Zhengzhou, China: Zhengzhou University, 2019.
16. Ganguly K, Ranjeet R, and Roy H. Operator based finite element modelling of viscoelastic cracked Propeller shaft: a comparative
study. Sadhana 2020; 45: 180. DOI: 10.1007/s12046-020-01412-3.
17. Feng LX, Xiang ZY, and Chen WY. Finite Element Modal and Harmonic Response of Double-girder Bridge Crane. J Machine
Design 2018; 35(7): 85–91. DOI: 10.13841/j.cnki.jxsj.2018.07.015.
18. Zhang D and Yu QX. Optimized Design of Box Girder of Bridge Crane Based on Improved Genetic Algorithms. Machinery
Electronics 2015; 9: 21–23.
19. Xu YQ, Zhang HY, Cheng F, et al. Research on the data processing of hydro-pneumatic suspension characteristic experiment based
on matlab. Hydraulics Pneumatics & Seals 2017; 37(01): 39–42.
20. Gao HL. Multi-objective Optimization design of girder structure of 480T bridge crane. Heilongjiang, China: Harbin University of
Science and Technology, 2019.
21. Sui SH and Li C. Finite Element Analysis of Bending and Vibration of Pipeline. J Dynamics Control 2021.
Wang et al. 17
22. Moeini A and Zargarabadi MR. Genetic algorithm optimization of film cooling effectiveness over a rotating blade. International
J Thermal Sciences 2018; 125: 248–255, DOI: 10.1016/j.ijthermalsci.2017.11.030.
23. Hu QG, Du CC, Wu MQ, et al. Optimization Design of Penalty Function Particle Swarm Optimization algorithm for Angular
Contact Ball Bearing. J Chongqing Jiaotong University (Natural Science) 2021; 40(9): 145–150.
24. Fan H. Research on Lightweight Design of Girder of Bridge Crane Based on Improved Fruit Fly Algorithm. Taiyuan, China: North
University of China, 2017.
25. Liu Z, Jin SJ, and Wang Q. Mobile Robot 2d Path Planning Based on Improved Ant Colony Algorithm. Transducer Microsystem
Technologies 2020; 39(10): 149–152. DOI: 10.13873/J.1000-9787(2020)10-0149-04.
26. Yoon KY and Baek SW. Robust Design Optimization with Penalty Function for Electric Oil Pumps with Bldc Motors. Energies
2019; 12(1): 153, DOI: 10.3390/en12010153.
Appendix
clear;
clc;
global c1 c2 wkmax N
c1=0.;
c2=0.5;
w=0.9;
kmax=1500;
N=500;
gbs=[];
v3=[300 400;3 10;3 10;400 900;240 350;3 10];
i=0;
while i<N
x1(1)=300+100*rand;
x1(2)=3+7*rand;
x1(3)=3+7*rand;
x1(4)=400+500*rand;
x1(5)=240+110*rand;
x1(6)=3+7*rand;
if0.2637*x1(1)+5.2318*x1(2)+5.8853*x1(3)+0.1762*x1(4)+0.0271*x1(5)+1.2212*x1(6)338.8933<0&&0.014*x1(1)
+0.1961*x1(2)+0.2994*x1(3)+0.0172*x1(4)+0.0074*x1(5)+0.3139*x1(6)-28.7872<0&&0.2637*x1(1)+5.2318
*x1(2)+5.8853*x1(3)+0.1762*x1(4)+0.0271*x1(5)+1.2212*x1(6)-338.8933<0&&0.014*x1(1)+0.1961*x1(2)
+0.2994*x1(3)+0.0172*x1(4)+0.0074*x1(5)+0.3139*x1(6)-28.7872<=0&&-0.2637*x1(1)-5.2318*x1(2)-
5.8853*x1(3)-0.1762*x1(4)-0.0271*x1(5)-1.2212*x1(6)+338.8933-156<0&&-0.014*x1(1)-0.1961*x1(2)
0.2994*x1(3)-0.0172*x1(4)-0.0074*x1(5)-0.3139*x1(6)+28.7872-9<0 %Particles are generated under the
conditions of stiffness and strength
i=i+1;
x0(i,1)=x1(1);
x0(i,2)=x1(2);
x0(i,3)=x1(3);
x0(i,4)=x1(4);
x0(i,5)=x1(5);
x0(i,6)=x1(6);
v0(i,1)=rand;
v0(i,2)=rand;
v0(i,3)=rand;
v0(i,4)=rand;
v0(i,5)=rand;
v0(i,6)=rand;
end
end
gbss=[];
18 Journal of Low Frequency Noise, Vibration and Active Control 0(0)
pbx=x0;
gbx=x0(1,:);
gb=goal(gbx);
fori=1:N
pb(i)=goal(pbx(i,:)); if pb(i)<gb
gb=pb(i); gbx=pbx(i,:); end
end
fori=1:kmax
for j=1:N
v0p(j,:)=w*v0(j,:)+c1*rand*(pbx(j,:)-x0(j,:))+c2*rand*(gbx-x0(j,:)); %Update speed
v0p(j,:)=restrain(v0p(j,:),v3); %Limit the speed value to prevent excessive step size
x0p=x0(j,:)+v0p(j,:); %Update the individual
if fpen_in_fun1(x0p)
x0(j,:)=x0p; v0(j,:)=v0p(j,:);
end
g=goal(x0(j,:));
f=fn(x0(j,:));
if 0<f<14.4||17.6<f<18||22<f<22.5||27.5<f %Limited resonance interval
if g<pb(j)
pb(j)=g;
pbx(j,:)=x0(j,:);
if g<gb
gb=g;
gbx=x0(j,:);
end
end
end
end
gbss=[gbssgb];
end
plot(gbss,‘;.’)
x=gbx
result=gb
xlabel(‘Number of Iterations’)
ylabel(‘Optimization solution’)
plot(x0,‘.’)
function fc=fpen_in_fun1(x)
c=[ 0.2637*x(1)+5.2318*x(2)+5.8853*x(3)+0.1762*x(4)+0.0271*x(5)+1.2212*x(6)-338.8933
0.014*x(1)+0.1961*x(2)+0.2994*x(3)+0.0172*x(4)+0.0074*x(5)+0.3139*x(6)-28.7872
-0.2637*x(1)-5.2318*x(2)-5.8853*x(3)-0.1762*x(4)-0.0271*x(5)-1.2212*x(6)+182.8933
-0.014*x(1)-0.1961*x(2)-0.2994*x(3)-0.0172*x(4)-0.0074*x(5)-0.3139*x(6)+19.7872
x(1)-400
x(2)-10
x(3)-10
x(4)-900
x(5)-350
x(6)-10
-x(1)+300
-x(2)+3
-x(3)+3
-x(4)+400
-x(5)+240
-x(6)+3
];
Wang et al. 19