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.

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 , so that its stress-strain relationship isIf the piston length of the MR damper is , the inner diameter of the cylinder is , the active area of the piston is , damping hole width is , and the displacement of the piston relative to the cylinder is ; the damping force formula of the MR damper can be expressed as

In addition, the shear yield stress is relevant to the magnetic field strength, so is a function of the control current. The relationship between them can be expressed as

In this formula, , , and are the coefficients of the performance of magnetorheological fluids and is a natural constant.

The structural parameters of the MR damper this paper adopts are shown in Table 1.

The MR damper that this paper develops is shown as Figure 1.

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 Figure 2.

As seen from Figure 2, 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 Figure 3.

The 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 Figure 4.

The 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 , . Then, the damping force-current relationship can be expressed as

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 Figure 5.

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, a comparison between the model calculation and the experimental results is shown in Figure 6.

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, a comparison between the model calculation and experimental results is shown in Figure 7.

As seen from Figures 5, 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: (very small), S (small), M (middle), B (big), and VB (very .

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. Figures 8, 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.

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 Table 2.

The basic domain of the input and output variables is discretized into five levels: . 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.

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 , 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

In (5), represents the displacement response of the structure layer and represents the maximum displacement response of the uncontrolled structure.

In (6), represents the acceleration response of the structure layer and represents the maximum acceleration response of the uncontrolled structure.

To simplify, this paper chooses (7) as the fitness function of the genetic algorithm.

In (7), represents the peak value of the structural relative displacement response and 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 Figure 11.

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 of the matrix element is , so the coding for the particles is

(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 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 directly affects the searching ability of the algorithm. A larger is helpful to improve the global searching ability of the algorithm, but a smaller is helpful to improve the local searching ability. The value of in this paper refers to the maximal element in Table 2, shown as

(3) Memory Database. The memory database that is used to store the optimal particles in the process of evolution performs iteration according to

In (10), is the inertia weight, whose size determines the current speed that the particles inherit; and are learning factors, usually , ; and are random numbers between ; is the coordinates of the th-dimension individual extremum of the particle; and are the coordinates of the th-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 rules , , , , and 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 Figure 12.

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 of  kg,  kg, and kg, stiffness of each layer of , , and , and heights of each layer of , , and . 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 Centro wave (1940, NS) and Taft 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 . For the controlled structure, the basic domain of the structure displacement response is 0~h/200 under a basic fortification intensity, where 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 Figure 13.

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 , an acceleration constant , a real number , a particle swarm size of 100, a maximal number of iterations of 100, and the range of the optimizing parameters is . 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.

Figure 14 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.

Figures 15, 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.

Table 7 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.

In Table 7,; . , represent the structure displacement and acceleration response under the action of control, while , represent the structure displacement and acceleration response without control.

Figure 21 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.

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.

Conflicts of Interest

The authors declare no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.

Acknowledgments

The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: this research was supported by the Science Challenge Project of China (Grant no. JCKY2016212A506-0104).