# Optimization of Fuzzy Control for Magnetorheological Damping Structures

Authors: Jianguo Ding; Xin Sun; Lifeng Zhang; Jiaoyan Xie
Journal: Shock and Vibration
 (2017)

---

## Abstract

Due to the influence of nonlinearity and time-variation, it is difficult to establish an accurate model of a magnetorheological damping structure that adopts semiactive control. Fuzzy control is a relatively appropriate control method, but fuzzy control design is susceptible to human subjective experience, which will decrease the control effect. This paper proposes new fuzzy control rules based on a genetic algorithm (GA) and particle swarm optimization (PSO) and performs a numerical simulation for a three-layer reinforced concrete frame structure under conditions of an uncontrolled structure, fuzzy control, fuzzy control optimized by GA, fuzzy control optimized by PSO, and GA-optimized FLC control (GA-FLC) proposed by Ali and Ramaswamy (2008). The results show that (1) the fitness values of the convergence of the two types of optimized fuzzy control are close. The speed of the convergence of the fuzzy control optimized by PSO is faster than that of the fuzzy control optimized by GA, but its running speed is slower. (2) Comparing the acceleration and displacement of the structure under the conditions of three different seismic waves, the effect of the optimized fuzzy control is better than that of the human experience fuzzy control and GA-FLC.


---

## Body

## 1. Introduction

Earthquakes seriously threaten the safety of civil engineering structures. The search for an effective control method to reduce the response of engineering structures under seismic action and improving the structural aseismic ability is always a significant research subject in the field of civil engineering. Magnetorheological dampers (MR dampers) are vibration dampers that take a magnetorheological liquid as the working medium, and it can adjust the magnetic field strength through changing the magnet exciting the coil current and then changing the shear stress of the magnetorheological liquid and the damping force of the MR damper. MR dampers have a wide damping force adjustment range, low power consumption, fast response speed, simple structure, and other advantages, so they have promising prospects of application in the field of civil engineering.The parameters of the MR damper change with the external magnetic field in a strongly nonlinear manner, so it is difficult to establish an accurate model, and it is hard to meet practical engineering needs when adopting a traditional control algorithm to control the MR damper [1]. Fuzzy control is a control algorithm that does not need an accurate model for the controlled object, is not sensitive to changes in the parameters, and possesses good robustness. For a magnetorheological damping structure, fuzzy control is a relatively ideal control method. Bitaraf et al. [2] utilized fuzzy control to control the MR damper, and the results show that fuzzy control can effectively decrease the displacement and acceleration responses of the system. Kim and Roschke [3] carried out isolation control for a bridge by applying an MR damper with fuzzy control, and the effect is remarkable. Ali and Ramaswamy [4] utilized fuzzy control to control an MR damper, and his numerical simulation achieved great results.The membership function of the fuzzy control and the fuzzy rules generally depend on the knowledge and experience of the experts, and output is obtained by fuzzy reasoning, so fuzzy control cannot completely reflect the relationship between the input and output, and this will influence the effect of the control. To improve the effect of the fuzzy control, it is necessary to perform optimization. Ahlawat and Ramaswamy [5], Dounis et al. [6], and Ali and Ramaswamy [7] utilized GA to optimize fuzzy control under the premise of the same fuzzy control rules, and the effects, as shown by a numerical simulation of the magnetorheological damping structure, are remarkable. Ranjani and Murugesan [8] utilized PSO to optimize the parameters of fuzzy control and achieved obvious effects in the velocity control. Marinaki et al. [9] utilized PSO to optimize fuzzy control and performed a numerical simulation of smart beams. The result shows that the effect of the optimized fuzzy control is much better than that of the human experience fuzzy control.The genetic algorithm (GA) and particle swarm optimization (PSO) are both random intelligent search algorithms, but the way in which they determine their next generation is different. The genetic algorithm will code the question parameters as chromosomes and perform selection, crossover, and mutation to generate chromosomes that conform to the goal of the optimization. Particle swarm optimization is easy to operate and implement and can take advantage of the cooperation and competition between particles to optimize the search. These two methods do not rely significantly on the question and can obtain global optimal solutions, so they can be used to optimize the fuzzy control and provide strong help for establishing the fuzzy control system.This paper proposes new control algorithms based on the genetic algorithm (GA) and particle swarm optimization (PSO) to optimize the fuzzy control rules and performs a numerical simulation on a three-layer reinforced concrete frame structure under conditions of an uncontrolled structure, fuzzy control, fuzzy control optimized by GA, and fuzzy control optimized by PSO.


### 1.1. Mechanical Model for MR Damper

The Bingham model considers an MR damper to be equivalent to a friction element and a viscous damper in parallel, and it can adequately reflect the nonlinear force-displacement and force-velocity characteristics; this paper adopts the Bingham model. Hypothetically, the shear stress isτ, the magnetorheological kinetic viscosity coefficient is η, the shear strain rate is γ˙, and the shear yield stress that is relevant to the magnetic field strength is τy, so that its stress-strain relationship is(1)τ=ηγ˙+τysgn⁡γ˙.If the piston length of the MR damper is L, the inner diameter of the cylinder is D, the active area of the piston is Ap, damping hole width is Dh, and the displacement of the piston relative to the cylinder is ut; the damping force formula of the MR damper can be expressed as(2)F=12ηLAp2πDDh3u˙t+3LτyApDhsgn⁡u˙t.In addition, the shear yield stressτy is relevant to the magnetic field strength, so τy is a function of the control current. The relationship between them can be expressed as(3)τy=A1e-I+A2ln⁡I+e+A3I.In this formula,A1, A2, and A3 are the coefficients of the performance of magnetorheological fluids and e is a natural constant.The structural parameters of the MR damper this paper adopts are shown in Table1.Table 1
Structural parameters of the MR damper.
Parameter
Value
Piston lengthL
400 mm
Inner diameter of the cylinderD
100 mm
Active area of the pistonAp
6.6
×
1
0
3
m
m
2
Damping hole widthDh
2 mm
Apparent density of the MR fluidsη
1.0 Pa⋅sThe MR damper that this paper develops is shown as Figure1.Figure 1
Picture of the MR damper.


## 1.1. Mechanical Model for MR Damper

The Bingham model considers an MR damper to be equivalent to a friction element and a viscous damper in parallel, and it can adequately reflect the nonlinear force-displacement and force-velocity characteristics; this paper adopts the Bingham model. Hypothetically, the shear stress isτ, the magnetorheological kinetic viscosity coefficient is η, the shear strain rate is γ˙, and the shear yield stress that is relevant to the magnetic field strength is τy, so that its stress-strain relationship is(1)τ=ηγ˙+τysgn⁡γ˙.If the piston length of the MR damper is L, the inner diameter of the cylinder is D, the active area of the piston is Ap, damping hole width is Dh, and the displacement of the piston relative to the cylinder is ut; the damping force formula of the MR damper can be expressed as(2)F=12ηLAp2πDDh3u˙t+3LτyApDhsgn⁡u˙t.In addition, the shear yield stressτy is relevant to the magnetic field strength, so τy is a function of the control current. The relationship between them can be expressed as(3)τy=A1e-I+A2ln⁡I+e+A3I.In this formula,A1, A2, and A3 are the coefficients of the performance of magnetorheological fluids and e is a natural constant.The structural parameters of the MR damper this paper adopts are shown in Table1.Table 1
Structural parameters of the MR damper.
Parameter
Value
Piston lengthL
400 mm
Inner diameter of the cylinderD
100 mm
Active area of the pistonAp
6.6
×
1
0
3
m
m
2
Damping hole widthDh
2 mm
Apparent density of the MR fluidsη
1.0 Pa⋅sThe MR damper that this paper develops is shown as Figure1.Figure 1
Picture of the MR damper.


## 2. Test of the MR Damper Performance

The MR damper this paper adopts is tested under conditions of different control currents, different loading amplitudes, and different loading frequencies, and the force-displacement and force-velocity hysteresis curves of the MR damper are acquired. In the test, the input displacement changes as a sine wave.


### 2.1. Analysis of the MR Damper Performance

Under the following three sets of experimental conditions, data on the force, displacement, and velocity of the MR damper are acquired, and the mechanical characteristic curves are plotted.When the loading amplitude is 9 mm, the loading frequency is 0.5 Hz, and the input currents are 0 A, 0.5 A, 1 A, 1.5 A, and 2 A, the force-displacement and force-velocity hysteresis curves of the MR damper are shown as Figure2.Figure 2
Force-displacement and force-velocity hysteresis curves for different currents.
(a)
Force-displacement curve
(b)
Force-velocity curveAs seen from Figure2, the peak damping force of the MR damper increases with the current. When the current increases from 0 A to 2 A, the peak damping force increases from 3.66 kN to 14.37 kN, but the rate of increase is gradually reduced. Hence, the magnetorheological fluid tends to a saturated shear yield strength with the increasing current, and the damping force of the MR damper gradually tends to a maximum.When the input current is 1 A, the loading frequency is 0.5 Hz, and the loading amplitudes are 3 mm, 6 mm, and 9 mm, the force-displacement and force-velocity hysteresis curves of the MR damper are shown as Figure3.Figure 3
Force-displacement and force-velocity hysteresis curves for different amplitudes.
(a)
Force-displacement curve
(b)
Force-velocity curveThe peak damping force of the MR damper hardly changes as the loading amplitude increases. When the loading amplitudes are 3 mm, 6 mm, and 9 mm, the peak damping forces of the MR damper are, respectively, 10.74 kN, 10.85 kN, and 10.92 kN.When the loading amplitude is 9 mm, the input current is 1 A, and the loading frequencies are 0.2 Hz, 0.5 Hz, and 1 Hz, the force-displacement and force-velocity hysteresis curves of the MR damper are shown in Figure4.Figure 4
Force-displacement and force-velocity hysteresis curves for different frequencies.
(a)
Force-displacement curve
(b)
Force-velocity curveThe peak damping force of the MR damper changes only slightly as the loading frequency increases. When the loading frequencies are 0.2 Hz, 0.5 Hz, and 1 Hz, the peak damping forces of the MR damper are 10.54 kN, 10.92 kN, and 11.53 kN, respectively, and the hysteresis loop of the force-velocity curve is greatly affected.


## 2.1. Analysis of the MR Damper Performance

Under the following three sets of experimental conditions, data on the force, displacement, and velocity of the MR damper are acquired, and the mechanical characteristic curves are plotted.When the loading amplitude is 9 mm, the loading frequency is 0.5 Hz, and the input currents are 0 A, 0.5 A, 1 A, 1.5 A, and 2 A, the force-displacement and force-velocity hysteresis curves of the MR damper are shown as Figure2.Figure 2
Force-displacement and force-velocity hysteresis curves for different currents.
(a)
Force-displacement curve
(b)
Force-velocity curveAs seen from Figure2, the peak damping force of the MR damper increases with the current. When the current increases from 0 A to 2 A, the peak damping force increases from 3.66 kN to 14.37 kN, but the rate of increase is gradually reduced. Hence, the magnetorheological fluid tends to a saturated shear yield strength with the increasing current, and the damping force of the MR damper gradually tends to a maximum.When the input current is 1 A, the loading frequency is 0.5 Hz, and the loading amplitudes are 3 mm, 6 mm, and 9 mm, the force-displacement and force-velocity hysteresis curves of the MR damper are shown as Figure3.Figure 3
Force-displacement and force-velocity hysteresis curves for different amplitudes.
(a)
Force-displacement curve
(b)
Force-velocity curveThe peak damping force of the MR damper hardly changes as the loading amplitude increases. When the loading amplitudes are 3 mm, 6 mm, and 9 mm, the peak damping forces of the MR damper are, respectively, 10.74 kN, 10.85 kN, and 10.92 kN.When the loading amplitude is 9 mm, the input current is 1 A, and the loading frequencies are 0.2 Hz, 0.5 Hz, and 1 Hz, the force-displacement and force-velocity hysteresis curves of the MR damper are shown in Figure4.Figure 4
Force-displacement and force-velocity hysteresis curves for different frequencies.
(a)
Force-displacement curve
(b)
Force-velocity curveThe peak damping force of the MR damper changes only slightly as the loading frequency increases. When the loading frequencies are 0.2 Hz, 0.5 Hz, and 1 Hz, the peak damping forces of the MR damper are 10.54 kN, 10.92 kN, and 11.53 kN, respectively, and the hysteresis loop of the force-velocity curve is greatly affected.


## 3. Determining the Parameters of the Mechanical Model

Based on the above experimental results, (2) and (3) can be fit by the least squares method, and the results are A1=-1895, A2=2030A3=193.5. Then, the damping force-current relationship can be expressed as(4)F=12ηLAp2πDDh3u˙t+3LτyApDhsgn⁡u˙t,τy=-1895e-I+2030ln⁡I+e+193.5I.To verify the validity of the model, the model calculation and the experimental result are compared.When the loading amplitude is 9 mm, the loading frequency is 0.5 Hz, and the input currents are 0 A, 0.5 A, 1 A, 1.5 A, and 2 A, a comparison between the model calculation and the experimental result is shown in Figure5.Figure 5
Comparison between model calculation and experimental result for different currents.
(a)
Force-velocity curve
(b)
Force-displacement curveWhen the input current is 1 A, the loading frequency is 0.5 Hz, and the loading amplitudes are 3 mm, 6 mm, and 9 mm, a comparison between the model calculation and the experimental results is shown in Figure6.Figure 6
Comparison between model calculation and experimental results for different amplitudes.
(a)
Force-velocity curve
(b)
Force-displacement curveWhen the loading amplitude is 9 mm, the input current is 1 A and the loading frequencies are 0.2 Hz, 0.5 Hz, and 1 Hz, a comparison between the model calculation and experimental results is shown in Figure7.Figure 7
Comparison between model calculation and experimental results for different frequencies.
(a)
Force-velocity curve
(b)
Force-displacement curveAs seen from Figures5, 6, and 7, although the damping force-velocity curve of the model calculation cannot describe the hysteresis loop, the trends of the damping force-velocity curve and damping force-displacement curve of the model calculation and the experimental results are approximately the same. This comparison result shows that the fitting of the damping force formula is reasonable.


## 4. The Fuzzy Control of the Magnetorheological Damper

In this paper, the inputs of the fuzzy control are the seismic ground acceleration and the top-layer horizontal displacement, and the output is the input current of the MR damper. According to the basic domain of the inputs and the output and considering the calculation precision and simplicity, their fuzzy domains are, respectively, defined as 0~4, 0~6, and 0~2. Then, each variable is divided into five levels:{VS (very small), S (small), M (middle), B (big), and VB (very big)}.According to the selection rules of the membership function and the features of the various types of membership function, the membership functions of the seismic acceleration and displacement adopt a nonlinear trapezoidal character that responses sensitively, while that of the MR damper input current adopts a linear triangular form. Figures8, 9, and 10, respectively, are the input displacement membership function curve, the input seismic acceleration membership function curve, and the output current membership function curve.Figure 8
Displacement membership function curve.Figure 9
Seismic acceleration membership function curve.Figure 10
Current membership function curve.In this paper, the value of the control current is small when the seismic acceleration response and the displacement response are small, and its value is large when either the seismic acceleration response or displacement response is large. According to the rules above, a control rule table that consists of 25 fuzzy condition statements is developed as shown in Table2.Table 2
Fuzzy control rule table (current).
Displacement
Seismic acceleration
VS
S
M
B
VB
VS
VS
S
M
B
VB
S
S
M
B
B
VB
M
M
B
B
VB
VB
B
B
B
VB
VB
VB
VB
VB
VB
VB
VB
VBThe basic domain of the input and output variables is discretized into five levels:{1,2,3,4,5}. According to Table 2, which adopts the Mamdani minimax method to perform fuzzy inference and uses a gravity method for the defuzzification, the fuzzy control rule base is produced as shown in Table 3.Table 3
Fuzzy control rule table (current).
Displacement
Seismic acceleration
1
2
3
4
5
1
1
2
3
4
5
2
2
3
4
4
5
3
3
4
4
5
5
4
4
4
5
5
5
5
5
5
5
5
5


## 5. Optimization of Fuzzy Control

This paper uses GA and PSO to optimize the fuzzy control rules, respectively, and compares the results with those from modern control theory. The greatest advantage of these optimization algorithms is that choosing the fitness function is easier and the fitness function is not affected by state parameters, so the results are more reliable. The algorithm design is accomplished using MATLAB and Direct Search Toolbox [10].


### 5.1. Fuzzy Control Optimized by GA

(
1) Coding Scheme. The fuzzy control rule base contains a total of 25 elements. The 25 elements are sequenced into a list of numbers from left to right and top to bottom, and these numbers represent individuals in the population. This paper uses binary encoding to improve the algorithm running speed, so each element can be represented as 001…011…100…, and the whole rule base can thus be represented by 75 characters. According to the setting of the output discretization, the value range of every output number is limited to 1~5.(
2) Setting of the Initial Population. According to the binary encoding rules, a certain number of individuals are randomly generated, and then the best individual is picked to join the initial population. Iterations are performed constantly in this manner until the size of the initial population has reached the preset.(
3) Selection of the Fitness Function. A genetic algorithm usually carries out genetic manipulation according to a fitness function that is selected by the control target. The final target of the designed control strategies in the paper for the MR damper is to effectively reduce the structure displacement and acceleration response. The control target of the genetic algorithm is the peak value of the displacement acceleration response peak value. The fitness function of the displacement response peak can be expressed as(5)Φ1=maxt⁡xtxunct.In (5), x(t) represents the displacement response of the structure layer t and xunc(t) represents the maximum displacement response of the uncontrolled structure.(6)Φ2=maxt⁡x¨tx¨unct.In (6), x¨(t) represents the acceleration response of the structure layer t and x¨unc(t) represents the maximum acceleration response of the uncontrolled structure.To simplify, this paper chooses (7) as the fitness function of the genetic algorithm.(7)Φ=Φ1+Φ2.In (7), Φ1 represents the peak value of the structural relative displacement response and Φ2 represents the peak value of the structural relative acceleration response.(4) Genetic Manipulation. The genetic manipulation of the genetic algorithm includes selection, crossover, and mutation.The selection of the operators adopts the stochastic uniform method based on the layout of a straight line, where each parent, individual, occupies a part of the line in proportion to its fitness value. The algorithm moves along the line using a uniform step size, and in each step, the algorithm verifies an individual’s parents according to the position of the stop.The dispersion crossover function is selected as the crossover function. The operator creates a binary encoding vector whose length is equal to the length of the individual binary encoding. If a certain position in this vector has a value of 1, the corresponding position gene of the offspring individual is from its first parent; otherwise, the gene is from its second parent.An adaptive function that randomly generates a mutation direction and quantity for each individual gene according to its individual fitness value is selected as the variation function. The genetic variance is limited in the range of the set of the genetic algorithm.The flow chart of the fuzzy control optimized by GA is shown in Figure11.Figure 11
Flow chart of the fuzzy control optimized by GA.


### 5.2. Fuzzy Control Optimized by PSO

(
1) Coding Scheme. The fuzzy control rule base is a 5 × 5 real matrix, as shown in Table 3. The coding uses real number coding. The 25 elements in the matrix are sorted into a one-dimensional vector that can be regarded as a particle. Hypothetically, line i of the matrix element is aij, so the coding for the particles is(8)a1j,a2j,a3j,a4j,a5jj=1,2,…,5.(
2) Setting of the Initial Population. To achieve the control purpose of the initial population and enable a more meaningful evaluation in the process of evolution, this paper adds a random real number between [-c,c] to each element of the binary encoding that is based on Table 3, and then the initial population is generated. Iterations are done continuously in this way until the optimum solution is identified. The value of c directly affects the searching ability of the algorithm. A larger c is helpful to improve the global searching ability of the algorithm, but a smaller c is helpful to improve the local searching ability. The value of c in this paper refers to the maximal element (aij)max in Table 2, shown as(9)c<aijmaxi=1,2,…,5;j=1,2,…,5.(
3) Memory Database. The memory database that is used to store the optimal particles in the process of evolution performs iteration according to(10)vd=ωvd+c1∗r1∗pbestd-xd+c2∗r2∗gbestgd-xd(11)xd+1=xd+vd+1.In (10), ω is the inertia weight, whose size determines the current speed that the particles inherit; c1 and c2 are learning factors, usually c1, c2∈[0,4]; r1 and r2 are random numbers between [0,1]; pbestd is the coordinates of the dth-dimension individual extremum of the particle; and gbestgd are the coordinates of the dth-dimension global extremum of the population.(
4) Selection of Fitness Function. The final target of the designed control strategies in the paper for the MR damper is effectively reducing the structure displacement and acceleration response, so the displacement and acceleration are chosen to evaluate the individual performance. The fitness functions still use (5), (6), and (7).(
5) Process of Optimization Design. The bridge between particle swarm optimization and the Simulink model is the particle (fuzzy control rules) and the fitness of the particle (performance of the control system).Particle swarm optimization generates a particle swarm whose particles are assigned in a sequence according to fuzzy control rulesa1j, a2j, a3j, a4j, and a5j(j=1,2,…,5) and then the performances in correspondence with this group of parameters are obtained from operating the Simulink model. The performances are transmitted to the particle swarm optimization as fitness, ultimately judging whether or not to exit the program.The flow chart of the fuzzy control optimized by PSO is shown in Figure12.Figure 12
Flow chart of the fuzzy control optimized by PSO.Both FGA and FPSO enhance the control effects by optimizing fuzzy control rules, but the fuzzy control rules of the two control strategies are different for the same building. Meanwhile, for different building structures, the two control strategies will generates different and proper fuzzy control rules which have no reference to the loads of seismic waves.


## 5.1. Fuzzy Control Optimized by GA

(
1) Coding Scheme. The fuzzy control rule base contains a total of 25 elements. The 25 elements are sequenced into a list of numbers from left to right and top to bottom, and these numbers represent individuals in the population. This paper uses binary encoding to improve the algorithm running speed, so each element can be represented as 001…011…100…, and the whole rule base can thus be represented by 75 characters. According to the setting of the output discretization, the value range of every output number is limited to 1~5.(
2) Setting of the Initial Population. According to the binary encoding rules, a certain number of individuals are randomly generated, and then the best individual is picked to join the initial population. Iterations are performed constantly in this manner until the size of the initial population has reached the preset.(
3) Selection of the Fitness Function. A genetic algorithm usually carries out genetic manipulation according to a fitness function that is selected by the control target. The final target of the designed control strategies in the paper for the MR damper is to effectively reduce the structure displacement and acceleration response. The control target of the genetic algorithm is the peak value of the displacement acceleration response peak value. The fitness function of the displacement response peak can be expressed as(5)Φ1=maxt⁡xtxunct.In (5), x(t) represents the displacement response of the structure layer t and xunc(t) represents the maximum displacement response of the uncontrolled structure.(6)Φ2=maxt⁡x¨tx¨unct.In (6), x¨(t) represents the acceleration response of the structure layer t and x¨unc(t) represents the maximum acceleration response of the uncontrolled structure.To simplify, this paper chooses (7) as the fitness function of the genetic algorithm.(7)Φ=Φ1+Φ2.In (7), Φ1 represents the peak value of the structural relative displacement response and Φ2 represents the peak value of the structural relative acceleration response.(4) Genetic Manipulation. The genetic manipulation of the genetic algorithm includes selection, crossover, and mutation.The selection of the operators adopts the stochastic uniform method based on the layout of a straight line, where each parent, individual, occupies a part of the line in proportion to its fitness value. The algorithm moves along the line using a uniform step size, and in each step, the algorithm verifies an individual’s parents according to the position of the stop.The dispersion crossover function is selected as the crossover function. The operator creates a binary encoding vector whose length is equal to the length of the individual binary encoding. If a certain position in this vector has a value of 1, the corresponding position gene of the offspring individual is from its first parent; otherwise, the gene is from its second parent.An adaptive function that randomly generates a mutation direction and quantity for each individual gene according to its individual fitness value is selected as the variation function. The genetic variance is limited in the range of the set of the genetic algorithm.The flow chart of the fuzzy control optimized by GA is shown in Figure11.Figure 11
Flow chart of the fuzzy control optimized by GA.


## 5.2. Fuzzy Control Optimized by PSO

(
1) Coding Scheme. The fuzzy control rule base is a 5 × 5 real matrix, as shown in Table 3. The coding uses real number coding. The 25 elements in the matrix are sorted into a one-dimensional vector that can be regarded as a particle. Hypothetically, line i of the matrix element is aij, so the coding for the particles is(8)a1j,a2j,a3j,a4j,a5jj=1,2,…,5.(
2) Setting of the Initial Population. To achieve the control purpose of the initial population and enable a more meaningful evaluation in the process of evolution, this paper adds a random real number between [-c,c] to each element of the binary encoding that is based on Table 3, and then the initial population is generated. Iterations are done continuously in this way until the optimum solution is identified. The value of c directly affects the searching ability of the algorithm. A larger c is helpful to improve the global searching ability of the algorithm, but a smaller c is helpful to improve the local searching ability. The value of c in this paper refers to the maximal element (aij)max in Table 2, shown as(9)c<aijmaxi=1,2,…,5;j=1,2,…,5.(
3) Memory Database. The memory database that is used to store the optimal particles in the process of evolution performs iteration according to(10)vd=ωvd+c1∗r1∗pbestd-xd+c2∗r2∗gbestgd-xd(11)xd+1=xd+vd+1.In (10), ω is the inertia weight, whose size determines the current speed that the particles inherit; c1 and c2 are learning factors, usually c1, c2∈[0,4]; r1 and r2 are random numbers between [0,1]; pbestd is the coordinates of the dth-dimension individual extremum of the particle; and gbestgd are the coordinates of the dth-dimension global extremum of the population.(
4) Selection of Fitness Function. The final target of the designed control strategies in the paper for the MR damper is effectively reducing the structure displacement and acceleration response, so the displacement and acceleration are chosen to evaluate the individual performance. The fitness functions still use (5), (6), and (7).(
5) Process of Optimization Design. The bridge between particle swarm optimization and the Simulink model is the particle (fuzzy control rules) and the fitness of the particle (performance of the control system).Particle swarm optimization generates a particle swarm whose particles are assigned in a sequence according to fuzzy control rulesa1j, a2j, a3j, a4j, and a5j(j=1,2,…,5) and then the performances in correspondence with this group of parameters are obtained from operating the Simulink model. The performances are transmitted to the particle swarm optimization as fitness, ultimately judging whether or not to exit the program.The flow chart of the fuzzy control optimized by PSO is shown in Figure12.Figure 12
Flow chart of the fuzzy control optimized by PSO.Both FGA and FPSO enhance the control effects by optimizing fuzzy control rules, but the fuzzy control rules of the two control strategies are different for the same building. Meanwhile, for different building structures, the two control strategies will generates different and proper fuzzy control rules which have no reference to the loads of seismic waves.


## 6. An Example Analysis of the Magnetorheological Damping Structure

Consider a three-layer reinforced concrete frame structure with a hypothetical seismic fortification intensity of 8 degrees, a type of site of type II, masses of each layer ofm1=20310 kg, m2=18980 kg, and m3=16950kg, stiffness of each layer of k1=1.536×107N/m, k2=2.018×107N/m, and k3=2.018×107N/m, and heights of each layer of h1=4m, h2=3.3m, and h3=3.3m. Each layer of the structure is set as an MR damper.This paper performs a numerical simulation [10] for the structure under the conditions of the uncontrolled structure (UNC), fuzzy control (F), fuzzy control optimized by GA (FGA), and fuzzy control optimized by PSO (FPSO). Then, the simulation consequence is compared with that of GA-optimized FLC control (GA-FLC) proposed by Ali and Ramaswamy [7] to verify the effectiveness of FGA and FPSO. GA-FLC uses a restart genetic algorithm-based optimization strategy to promote the fuzzy system properties like the fuzzy rule base, prescale gains, membership function type, and parameters at every simulation step [7].To reflect the real working state of the reinforced concrete structure in the elastoplastic region under cyclic loading, the stiffness degradation model of reinforced concrete suggested by Clough is used to analyse the elastoplastic deformation of the structure. Two natural seismic waves{El Centro wave (1940, NS) and Taft wave} and an artificial seismic wave (Nanjing wave) whose peaks are all adjusted to 400 mm/s2 were chosen, so that the domain of the seismic acceleration may be determined as 0~0.4 m/s2. For the controlled structure, the basic domain of the structure displacement response is 0~h/200 under a basic fortification intensity, where h is the layer height. The duration and time step are set to 15 s and 0.02 s, respectively.The flow chart of the structure simulation program under seismic action is shown as Figure13.Figure 13
Flow chart of structure simulation program under seismic action.The initial population size of the genetic algorithm is set to 100, the genetic generations is 100, and the crossover probability is 0.6. The parameters of the particle swarm optimization are an inertial multiplier ofω=0.6, an acceleration constant c1=c2=2, a real number c=5, a particle swarm size of 100, a maximal number of iterations of 100, and the range of the optimizing parameters is [1,5]. The two types of optimization algorithm both choose (5) as the fitness function. Running the program above can obtain the fuzzy control rule base of fuzzy control optimized by GA and the fuzzy control rule base of fuzzy control optimized by PSO, shown in Tables 4 and 5, respectively.Table 4
Fuzzy control rule table of fuzzy control optimized by GA (current).
Displacement
Seismic acceleration
1
2
3
4
5
1
3
4
1.87
3.27
3.78
2
3.74
2.38
3.17
2.37
2.98
3
2.98
3.78
4.17
4.67
4.01
4
4.75
4.96
2.87
5
5
5
5
4.21
3.58
5
5Table 5
Fuzzy control rule table of fuzzy control optimized by PSO (current).
Displacement
Seismic acceleration
1
2
3
4
5
1
2.5
3.6
1.2
4.6
3.3
2
2.3
3.1
3.3
2.2
4.0
3
3.5
3.1
2.7
3.3
4.6
4
3.7
2.3
5.0
4.7
3.4
5
4.0
4.5
3.9
5.0
5.0Figure14 expresses the convergence circumstance of the FGA and FPSO optimization algorithms, and Table 6 shows the program running time and the fitness of these two optimization algorithms. As shown in Figure 12 and Table 6, the convergence fitness of these two optimization algorithms is close (FGA: 1.687801; FPSO: 1.679326), but the speed of convergence of the fuzzy control optimized by PSO is significantly faster, while the running time of FGA is clearly shorter (FGA: 37.308 × 103 s; FPSO: 45.015 × 103 s). Therefore, when the program running time is limited or when optimizing huge building structures, FGA should be better than FPSO.Table 6
Running time and fitness of the two optimization algorithms.
Control conditions
Running time (s)
Fitness value
FGA
37.308 × 103
1.687801
FPSO
45.015 × 103
1.679326Figure 14
Convergence situation of the two optimization algorithms.Figures15, 16, and 17 are the top-layer displacement response curve of the uncontrolled structure (UNC), fuzzy control (F), fuzzy control optimized by GA (FGA), fuzzy control optimized by PSO (FPSO), and GA-optimized FLC control (GA-FLC) under the action of the El Centro wave, Taft wave, and Nanjing wave, respectively. Figures 18, 19, and 20 are the top-layer acceleration response curves of UNC, F, FGA, FPSO, and GA-FLC under the action of the El Centro wave, Taft wave, and Nanjing wave, respectively. As shown in the figure, upon comparing the displacement and acceleration of the structure, the effects of fuzzy control optimized by GA, fuzzy control optimized by PSO, and GA-optimized FLC control (GA-FLC) are much better than that of human experience fuzzy control. For the control of displacement, the effects of FGA and FPSO are similar to that of GA-FLC. Meanwhile, for the control of acceleration, the effects of FGA and FPSO are superior to that of GA-FLC.Figure 15
Top-layer displacement response curve under the action of the El Centro wave.Figure 16
Top-layer displacement response curve under the action of the Taft wave.Figure 17
Top-layer displacement response curve under the action of the Nanjing wave.Figure 18
Top-layer acceleration response curve under the action of the El Centro wave.Figure 19
Top-layer acceleration response curve under the action of the Taft wave.Figure 20
Top-layer acceleration response curve under the action of the Nanjing wave.Table7 lists each layer’s peak displacement and peak acceleration under the actions of the three types of seismic wave, together with the average values for all three waves. As shown in the table, the damping effects of the two optimized fuzzy controls are clearly better than those of the fuzzy control and close to those of the GA-FLC.Table 7
Each layer’s peak displacement and acceleration control effect under the three types of seismic wave.
Evaluation index
J
1
J
2
Floor
1
2
3
1
2
3
El Centro wave
F
51.86
46.73
44.37
37.29
30.72
27.02
FGA
71.77
69.41
52.44
50.62
42.22
43.18
FPSO
64.27
63.54
49.80
30.72
41.33
42.35
GA-FLC
62.78
60.22
48.06
40.82
33.76
34.82
Taft wave
F
39.93
35.13
32.22
9.30
33.10
12.39
FGA
57.33
59.49
39.48
22.00
39.57
22.14
FPSO
53.30
55.18
38.77
14.37
37.90
17.21
GA-FLC
49.92
52.49
36.80
18.82
36.58
17.64
Nanjing wave
F
37.01
33.02
30.30
40.03
38.28
6.55
FGA
50.85
54.83
39.37
48.53
50.76
27.50
FPSO
48.92
53.32
40.59
46.85
46.62
29.55
GA-FLC
38.26
40.72
33.63
42.72
43.31
16.51
Average value
F
43.13
38.44
35.77
29.43
46.62
15.22
FGA
60.14
61.31
43.95
42.80
44.83
31.13
FPSO
55.65
57.62
43.25
39.62
42.43
30.08
GA-FLC
50.32
51.14
39.50
34.12
37.88
22.99In Table7,J1=(maxxct/maxxunct)×100%; J2=(maxx¨ct/maxx¨unct)×100%. xc(t), x¨c(t) represent the structure displacement and acceleration response under the action of control, while xunc(t), x¨unc(t) represent the structure displacement and acceleration response without control.Figure21 expresses each structural layer’s peak displacement and the average peak displacement in the five control conditions under the action of the El Centro wave, Taft wave, and Nanjing wave. Figure 22 expresses each structural layer’s peak acceleration and the average peak acceleration in the five control conditions under the action of the El Centro wave, Taft wave, and Nanjing wave. The figures show that the optimized fuzzy controls reduce each layer’s peak displacement and acceleration, and the average peak displacement and acceleration of the three seismic waves are more efficient than those under human experience fuzzy control.Figure 21
Each layer’s displacement response peak under the action of three seismic waves.Figure 22
Each layer’s acceleration response peak under the action of three seismic waves.


## 7. Conclusion

(1) This paper proposes new fuzzy control rules based on the genetic algorithm (GA) and particle swarm optimization (PSO) and performs a numerical simulation on a three-layer reinforced concrete frame structure under conditions of an uncontrolled structure, fuzzy control, fuzzy control optimized by GA, and fuzzy control optimized by PSO. The control effect is great.(2) Analysing the convergence process and program running time, the convergence fitness values of these two optimization algorithms are close (FGA: 1.687801; FPSO: 1.679326), but the convergence speed of the fuzzy control optimized by PSO is clearly faster than that of the fuzzy control optimized by GA; in addition, the running time of FGA is clearly shorter than that of FPSO (FGA: 37.308 × 103 s; FPSO: 45.015 × 103 s).(3) Analysing the results of the numerical simulation, the optimized fuzzy controls are more efficient than the human experience fuzzy control in reducing each layer’s peak displacement and acceleration and the average peak displacement and acceleration of the three seismic waves. Comparing with GA-FLC proves that FGA and FPSO are effective.



---

*Source: 4341025-2017-08-09.xml*