Swarm-Based Parallel Control of Adjacent Irregular Buildings Considering Soil–Structure Interaction

: Seismic behavior of tall buildings depends upon the dynamic characteristics of the structure, as well as the base soil properties. To consider these factors, the equations of motion for a multi-story 3D building are developed to include irregularity and soil–structure interaction (SSI). Inspired by swarm intelligence in nature, a new control method, known as swarm-based parallel control (SPC), is proposed in this study to improve the seismic performance and minimize the pounding hazards, by sharing response data among the adjacent buildings at each ﬂoor level, using a wireless-sensors network (WSN). The response of individual buildings is investigated under historic earthquake loads, and the e ﬃ ciencies of each di ﬀ erent control method are compared. To verify the e ﬀ ectiveness of the proposed method, the numerical example of a 15-story, 3D building is modeled, and the responses are mitigated, using semi-actively controlled magnetorheological (MR) dampers employing the proposed control algorithm and fuzzy logic control (FLC), as well as the passive-on / o ﬀ methods. The main discussion of this paper is the e ﬃ ciency of the proposed SPC over the independent FLC during an event where one building is damaged or uncontrolled, and an active control based upon the linear quadratic regulator (LQR) is considered for the purpose of having a benchmark ideal result. Results indicate that in case of failure in the control system, as well as the damage in the structural elements, the proposed method can sense the damage in the building, and update the control forces in the other adjacent buildings, using the modiﬁed FLC, so as to avoid pounding by minimizing the responses.


Introduction
Since the nature of an earthquake is its unpredictable characteristics, the traditional passive design approaches do not guarantee the minimum damages with economic designs [1][2][3]. Consequently, buildings and bridges are continuously getting smarter, using intelligent control devices, as well as state-of-the-art structural health monitoring technologies [4][5][6]. In the past decade, the vibration control of adjacent buildings under seismic and wind loads has gained significant attention. The most frequently proposed solution for controlling the adjacent building is to couple them with actuators or dampers, which involves the installation of the control devices, such as semi-active dampers between two buildings to improve the performances of both structures. New studies have also revealed the promising potentials of a special type of dampers, triangular-plate added damping and stiffness (TADAS), for seismic vibration control applications [7,8], which can be used for pounding hazard mitigation, as well.
A significant number of studies in the literature have used semi-active control algorithms, based on LQR [9], LQG [10] and FLC [11], to control magnetorheological (MR) dampers [12], and of particular interest are the optimal controls using metaheuristic and neural network algorithms [13][14][15]. Despite the advances, coupling adjacent buildings is not always the best solution, particularly when the dimensions, as well as the other dynamic properties, are not similar [16]. Besides, the second building resists the vibration induced in the first building, which may cause the collapse of both, in the case of miscalculations due to local failures under strong ground motions, particularly if one of the adjacent buildings is controlled using based-isolations [17].
Most of the recent studies have used simplified, one-dimensional shear frames or symmetric 3D buildings [18,19], neglecting the geometry and irregularity of structures, as well as bidirectional seismic loading. Earthquake loads can be applied in two directions that may cause simultaneous translational and torsional vibrations in buildings with considerable irregularity [20,21]. Such coupled vibrations can cause nonlinear behavior and severe damage in the external frame members, particularly, the corner columns and the bracing system [22,23]. Furthermore, for those structures built on a soft soil medium, different dynamic characteristics result in different responses due to the soil-structure interaction (SSI) [24][25][26]. Considering the SSI, Farshidifar and Soheili [27] studied the seismic response of actively controlled single and multi-story buildings; however, similar studies need to be carried out to consider the asymmetric properties of structures, as well as the pounding hazard of adjacent high-rise buildings. Therefore, despite the advantages of the proposed methods for regular buildings under the unidirectional seismic loads, such solutions are not always the best solution when two irregular buildings with different dynamic characteristics need to be controlled for possible pounding hazards.
As an alternative to a wired sensors network for smart structures, wireless sensor networks (WSNs) have attracted several researchers [28]. With lower cost, an array of WSNs can effectively be used for monitoring the structural deterioration, as well as controlling vibration during an earthquake, by using artificial neural networks [29,30]. The data that is acquired using WSNs is essentially the same as the traditional counterpart that has been challenged recently due to deployment difficulties, as well as reliability issues during an extreme event. Nowadays it is feasible to mimic the swarm behaviors in nature and share important response data with the adjacent buildings using a wireless sensors network and via cloud-based computing [31]. Keeping this in mind, the idea of swarm-based parallel control (SPC) of such buildings is proposed in this paper. With this approach, the response data from each wireless sensor is transferred to the adjacent buildings to update the responses without physical structural links. Figure 1 illustrates such information flow that is inspired by nature. Using the similar concept for adjacent buildings, the control force can be determined for each building with respect to the other surrounding structures, meaning that using the proposed algorithm, the optimal control forces are first determined based on the response of each building individually, and then, it is modified based on the responses of the other adjacent structures. In this study, the fuzzy inference system (FIS) is used to interpret the data using nonlinear mappings. The nature-inspired information flow among the swarms can be seen in Figure 1, while the information flow between each adjacent building is illustrated in Figure 2.   The goal of this study is to introduce and validate the performance of the proposed algorithm for adjacent buildings, using semi-active MR dampers that are wirelessly controlled by utilizing cloud-based computation. In addition, irregularity and soil-structure interactions are considered in this study. Two pairs of MR dampers are installed on each floor in two directions to suppress coupled translational-torsional motions, which are controlled by implementing the concept of the Internetof-Things (IoT) and wireless sensor networks (WSNs). Robustness of the proposed method is evaluated and verified using three example cases: a single multi-story building considering the SSI, two adjacent buildings coupled using MR dampers as well as active actuators, and five adjacent buildings controlled using the proposed SPC. The LQR-based active control system is considered to provide benchmark results for comparison purposes only, and the mechanism and advantages of the proposed method over the active tendon controller are not discussed in this study. Figure 3 shows a multi-story shear frame building considering the soil-structure interaction simulation. In three-dimensional space, a building can be idealized as a (3 × n Story + 5)-DOF system. This is because each story has three degrees of freedom, plus five degrees of freedom for the base of the structure, swaying motion in the x-and y-directions, rocking about the x and y-axes, and twisting about the z-axis. As shown in Figure 3, pairs of dashpots and springs are defined to consider the SSI effects in the simulations. In this figure, denotes the base displacement, represents the rocking motions about the y-axis, and the relative displacements of stories are shown as . Note that the settlement in the z-direction is not considered, and the twisting motion is not visible from the side view. The goal of this study is to introduce and validate the performance of the proposed algorithm for adjacent buildings, using semi-active MR dampers that are wirelessly controlled by utilizing cloud-based computation. In addition, irregularity and soil-structure interactions are considered in this study. Two pairs of MR dampers are installed on each floor in two directions to suppress coupled translational-torsional motions, which are controlled by implementing the concept of the Internet-of-Things (IoT) and wireless sensor networks (WSNs). Robustness of the proposed method is evaluated and verified using three example cases: a single multi-story building considering the SSI, two adjacent buildings coupled using MR dampers as well as active actuators, and five adjacent buildings controlled using the proposed SPC. The LQR-based active control system is considered to provide benchmark results for comparison purposes only, and the mechanism and advantages of the proposed method over the active tendon controller are not discussed in this study. Figure 3 shows a multi-story shear frame building considering the soil-structure interaction simulation. In three-dimensional space, a building can be idealized as a (3 × n Story + 5)-DOF system. This is because each story has three degrees of freedom, plus five degrees of freedom for the base of the structure, swaying motion in the xand y-directions, rocking about the x and y-axes, and twisting about the z-axis. As shown in Figure 3, pairs of dashpots and springs are defined to consider the SSI effects in the simulations. In this figure, x b denotes the base displacement, φ y represents the rocking motions about the y-axis, and the relative displacements of stories are shown as x i . Note that the settlement in the z-direction is not considered, and the twisting motion is not visible from the side view.

Analytical Equations of Motion Considering Soil-structure Interaction
The control devices placement is shown in Figure 4 for the MR devices, and due to the eccentricity with respect to the center of mass, d i , each device generate a moment to resists the torsional motion. Irregularity in plan and elevation is described by the mass eccentricity with respect to the center of rigidity, e x and e y . The control devices placement is shown in Figure 4 for the MR devices, and due to the eccentricity with respect to the center of mass, , each device generate a moment to resists the torsional motion. Irregularity in plan and elevation is described by the mass eccentricity with respect to the center of rigidity, and . The governing equations of motion for a controllable n-story building can be expressed as follows in general, where  The control devices placement is shown in Figure 4 for the MR devices, and due to the eccentricity with respect to the center of mass, , each device generate a moment to resists the torsional motion. Irregularity in plan and elevation is described by the mass eccentricity with respect to the center of rigidity, and .  The governing equations of motion for a controllable n-story building can be expressed as follows in general, where The governing equations of motion for a controllable n-story building can be expressed as follows in general, [M] .. x(t) and ..
x(t) are the relative (to the ground motion) displacement, velocity and acceleration vectors, respectively. [γ] is the coefficient matrix of the input controlling forces, and {δ} is the ground motion coefficient vector. The governing equation of motion can be re-written in state-space form as explained in [32]: . where It should be noted that the above-mentioned equations are in the continuous-time format; however, for the simulation with Matlab software, they are converted to the discrete-time format. A step-by-step procedure for computing the response of the system in the discrete-time domain is presented in the reference book by Cheng et al. [33]. The ground motions coefficients are given in {δ} for two directions, and the coefficient of the input controlling forces on each degree of freedom, including rotation, u(t) , can be described using the [γ] matrix as [32,34]: Then, the mass and stiffness matrices considering the SSI effects can be assembled as: where where [0] is a zero matrix, and [m] * i is the mass matrix of the ith story [32]. [m] In the above-mentioned equations, m i is the mass of the ith story, the mass moment inertia about each axis in three-dimension is defined as follows for a floor slab with dimensions of a × b, and coordinates of x m,j , y m,j . The center of the mass coordinate is given as (X m , Y m ).
The stiffness matrix of each floor is not diagonal like the mass matrix [32].
Similarly, the center of stiffness is located at (X k , Y k ), and that of the jth lateral resisting member with the coordinate x k,j , y k,j has the stiffness of k x,j , and k y,j in two directions. The jth column is assumed to have k x,j = k y,j = 12EI j /h 3 . Thus, the stiffness matrix is assembled as follows [32,34]: [K] soil = diag k x,s , k y,s , k t,s , k rx,s , k ry,s The damping matrix is constructed in the same way as for the stiffness matrix, but the superstructure damping is determined using Rayleigh's method [35] without SSI. The SSI parameters are determined using the equations given in [25,32,34], which are summarized in Table 1. In this study, two cases with and without SSI effects are investigated. The soft soil is assumed to have the Poisson's ratio of 0.33, the density of 2400 kg/m 2 , shear-wave velocity and modulus of 500 m/s and 6 × 108 N/m 2 , respectively. Details of the SSI models, as well as the methodology, are presented by Nazarimofrad and Zahrai [34]. Table 1. Dynamic properties of the springs and dashpots in the swaying, rocking and twisting directions for simulating soil-structure interaction (SSI) effects [32].

Swarm-Based Parallel Control (SPC)
In this study, three different control alternatives for adjacent buildings are presented and discussed. One most commonly used method is to control each building independently without any information flow (Case-I in this paper). Another approach is to couple two adjacent buildings side-by-side by actuators or additional dampers, such as hydraulic or MR dampers (Case-II in this paper). Both methods are discussed, and the results are compared with the proposed swarm-based parallel control (SPC), which is Case-III in this paper. The SPC algorithm is the FLC for each building, with an additional updating agent that is another FLC to consider the response of the other buildings simultaneously.
For Case-I, the behavior and control of a single building (in the east, Figure 4) are studied considering the soil-structure interaction (SSI) effects, and the performance of the different control algorithms are compared when the behavior of the adjacent structure is neglected. The response reduction ratio is considered as the performance index, and since the active control has a different control mechanism, the ideal condition is considered for this study. The linear quadratic regulator (LQR) algorithm is used for calculating the optimal control forces that can be applied to the structure through pairs of active tendons that can be installed at the same locations as for the MR dampers. Therefore, the advantages of FLC and SPC are not compared to the active control system. The fuzzy logic control (FLC) is used to efficiently control vibrations using semi-active MR dampers, which is illustrated in Figure 5. More details, and the background of LQR and FLC algorithms are available from refs. [32,36,37]. The weight matrices for the LQR method are selected as R = 10 −6 × I size([γ]) , and Q = 10 6 × I 2n , where I is an identity matrix.
J. Sens. Actuator Netw. 2020, 9, x FOR PEER REVIEW 7 of 24 Table 1. Dynamic properties of the springs and dashpots in the swaying, rocking and twisting directions for simulating soil-structure interaction (SSI) effects [32].

Swarm-Based Parallel Control (SPC)
In this study, three different control alternatives for adjacent buildings are presented and discussed. One most commonly used method is to control each building independently without any information flow (Case-I in this paper). Another approach is to couple two adjacent buildings sideby-side by actuators or additional dampers, such as hydraulic or MR dampers (Case-II in this paper). Both methods are discussed, and the results are compared with the proposed swarm-based parallel control (SPC), which is Case-III in this paper. The SPC algorithm is the FLC for each building, with an additional updating agent that is another FLC to consider the response of the other buildings simultaneously.
For Case-I, the behavior and control of a single building (in the east, Figure 4) are studied considering the soil-structure interaction (SSI) effects, and the performance of the different control algorithms are compared when the behavior of the adjacent structure is neglected. The response reduction ratio is considered as the performance index, and since the active control has a different control mechanism, the ideal condition is considered for this study. The linear quadratic regulator (LQR) algorithm is used for calculating the optimal control forces that can be applied to the structure through pairs of active tendons that can be installed at the same locations as for the MR dampers. Therefore, the advantages of FLC and SPC are not compared to the active control system. The fuzzy logic control (FLC) is used to efficiently control vibrations using semi-active MR dampers, which is illustrated in Figure 5. More details, and the background of LQR and FLC algorithms are available from refs. [32,36,37]. The weight matrices for the LQR method are selected as = 10 × ([ ]) , and = 10 × , where is an identity matrix.  Figure 4 shows five adjacent buildings with different dynamic properties. Instead of coupling buildings (Case-II), response data is shared among the controllers. Thus, an additional control fuzzy logic control layer is considered to avoid pounding, for which the input variables are the relative displacements and the directions. Using this strategy, the optimal required clearance distance can be decreased, which is critical in urban areas, where the cost of space and material is essential. Using this method, the adjacent buildings are not connected physically, and the response data are shared wirelessly. Thus, buildings are independently controlled, and then their relative performances are evaluated using a second fuzzy logic control algorithm. In this paper, the first fuzzy logic control, FIS1, determines the control forces for individual buildings independently, and the second fuzzy  Figure 4 shows five adjacent buildings with different dynamic properties. Instead of coupling buildings (Case-II), response data is shared among the controllers. Thus, an additional control fuzzy logic control layer is considered to avoid pounding, for which the input variables are the relative displacements and the directions. Using this strategy, the optimal required clearance distance can be decreased, which is critical in urban areas, where the cost of space and material is essential. Using this method, the adjacent buildings are not connected physically, and the response data are shared wirelessly. Thus, buildings are independently controlled, and then their relative performances are evaluated using a second fuzzy logic control algorithm. In this paper, the first fuzzy logic control, FIS1, determines the control forces for individual buildings independently, and the second fuzzy logic control, FIS2, determines the control forces based on the relative motions including the torsion in each irregular building. Finally, the optimal MR dampers input voltages are selected by comparing the outputs of FIS1 and FIS2.
The two surface plots of the outputs are shown in Figure 6 for FIS1 and FIS2 using the Gaussian membership functions for the variables. In Figure 7, the flowchart of the proposed swarm-based control (SPC) is described in summary. The flowchart includes the following steps: Step 1. Estimating the dynamic properties of the soil as well as the building (e.g., using data-drivenbased machine learning models [38]).
Step 2. Assembling the state-space model and equation of motions according to Equations (1)- (12).
Step 3. Calculating the response of each of the adjacent buildings, x(t) }, by solving the state-space equations in Step 3.
Step 4. Normalizing the state vector (i.e., measures responses, x(t) and calculating the control force using the fuzzy logic control FIS1.
Step 5. Updating the calculated control force in both directions, using the second fuzzy logic-based updating rules, FIS2, based on the relative displacements of two adjacent buildings. In this step, the outputs of FIS1 and FIS2 are compared, and if the FIS2 output is higher than the FIS1 output, the control force is adjusted based on the FIS2 results.
Step 6. Apply the calculated control force, u(t) , and continuing until the end of the last time-step. J. Sens. Actuator Netw. 2020, 9, x FOR PEER REVIEW  8 of 24 logic control, FIS2, determines the control forces based on the relative motions including the torsion in each irregular building. Finally, the optimal MR dampers input voltages are selected by comparing the outputs of FIS1 and FIS2. The two surface plots of the outputs are shown in Figure 6 for FIS1 and FIS2 using the Gaussian membership functions for the variables. In Figure 7, the flowchart of the proposed swarm-based control (SPC) is described in summary. The flowchart includes the following steps: Step 1. Estimating the dynamic properties of the soil as well as the building (e.g., using data-drivenbased machine learning models [38]).
Step 2. Assembling the state-space model and equation of motions according to Equations (1)- (12).
Step 3. Calculating the response of each of the adjacent buildings, { ( )}, by solving the state-space equations in Step 3.
Step 4. Normalizing the state vector (i.e., measures responses, { ( )} and calculating the control force using the fuzzy logic control FIS1.
Step 5. Updating the calculated control force in both directions, using the second fuzzy logic-based updating rules, FIS2, based on the relative displacements of two adjacent buildings. In this step, the outputs of FIS1 and FIS2 are compared, and if the FIS2 output is higher than the FIS1 output, the control force is adjusted based on the FIS2 results.
Step 6. Apply the calculated control force, { ( )}, and continuing until the end of the last time-step.

Building Models Discerptions
In this paper, four adjacent 15-story irregular steel frame buildings were designed and simulated in MATLAB ® (MathWorks, Inc., Nattick, MA, USA), based on the studies carried out by Kaveh et al. [39] and Azimi [32]. The 3D and plan views of the structures, as well as the mass and stiffness distributions, are visually illustrated in To ensure the accuracy of the simulation results, the building model simulation is verified, based on the study by Nazarimofrad et al. [34]. Figure 8 shows the top floor level response of the 10-story building model under the same ground motion, which indicates that the simulation results in this study are valid.

Building Models Discerptions
In this paper, four adjacent 15-story irregular steel frame buildings were designed and simulated in MATLAB ® (MathWorks, Inc., Nattick, MA, USA), based on the studies carried out by Kaveh et al. [39] and Azimi [32]. The 3D and plan views of the structures, as well as the mass and stiffness distributions, are visually illustrated in Figure 4. Two groups of columns, with the same stiffness in both directions, are connected rigidly to the floor diaphragm frames, k 1 = 2k 2 = 1200 kN/m . Each floor consists of 5 × 5 m 2 slabs that carry loads of m 1 g = 2m 2 g = 30 (kN/m 2 ) to simulate the eccentricity. Each story has a height of 3.0 m, except the first story, with a 3.2 m height. The four dampers of each floor are placed within the frames shown with red bold lines. To ensure the accuracy of the simulation results, the building model simulation is verified, based on the study by Nazarimofrad et al. [34]. Figure 8 shows the top floor level response of the 10-story building model under the same ground motion, which indicates that the simulation results in this study are valid.

Magneto-rheological (MR) Damper
The phenomenological model for the MR damper was first proposed by Spencer et al. [40], based on the Bouc-Wen model in 1997. Nowadays, the MR damper is one of the most reliable devices for seismic vibration control applications. The advantage of the MR damper is its role in the case of power loss, which provides minimum damping based on its shaft displacement and velocity. Using a semiactive control algorithm, the control command is the input voltage of the MR damper. The modified model of MR damper is given in Figure 9. The notation in Figure 9 and Equations (13)

Magneto-Rheological (MR) Damper
The phenomenological model for the MR damper was first proposed by Spencer et al. [40], based on the Bouc-Wen model in 1997. Nowadays, the MR damper is one of the most reliable devices for seismic vibration control applications. The advantage of the MR damper is its role in the case of power loss, which provides minimum damping based on its shaft displacement and velocity. Using a semi-active control algorithm, the control command is the input voltage of the MR damper. The modified model of MR damper is given in Figure 9. The notation x in Figure 9 and Equations (13)-(16) denotes the relative displacement of the two ends of each MR damper.

Magneto-rheological (MR) Damper
The phenomenological model for the MR damper was first proposed by Spencer et al. [40], based on the Bouc-Wen model in 1997. Nowadays, the MR damper is one of the most reliable devices for seismic vibration control applications. The advantage of the MR damper is its role in the case of power loss, which provides minimum damping based on its shaft displacement and velocity. Using a semiactive control algorithm, the control command is the input voltage of the MR damper. The modified model of MR damper is given in Figure 9. The notation in Figure 9 and Equations (13)-(16) denotes the relative displacement of the two ends of each MR damper.   More details are available in the literature regarding the history of the development of the analytical model of MR dampers. According to Spencer et al. [40], the nonlinear behavior of an MR damper can be described as follows .
where F is the nonlinear force of the MR damper (included in u(t) ), k 1 is the accumulator stiffness, and z is the evolutionary variable of the hysteretic, defined as: where γ, β and A are the shape parameters, and the α, c 0 and c 1 can be obtained using the following linear functions of the efficient voltage, u.
The parameters of the MR damper are given in Table 2.

Earthquake Loads
In this study, seven earthquake records have been selected to compare the performance of each control method. The characteristic properties of the records are given in Table 3. The elastic acceleration response spectra are shown in Figure 10, which is also used in the previous studies [32,36,37].

Results and Discussion
Irregularity in high-rise buildings is an important factor in evaluating the seismic responses, due to the higher modes effects under bidirectional seismic loads [32]. Under the bidirectional earthquake loads, it is clear that higher modes of an irregular structure will have a significant impact on the results, particularly considering the soil-structure interaction effect. In the following sections, the structural responses of the buildings are discussed in detail for the three chases.

Peak Responses
The peak responses of the Case-I building under the seven selected earthquake records are given in Table 4, which includes the maximum top floor transversal and rotational displacements, and also the accelerations in two directions. The optimal active control responses are obtained using a fullstate LQR controller. For the passive-min and passive-max cases, also known as passive-off and passive-on, the input voltage for each MR damper is constant and equal to 0 and 9 volts, respectively.

Results and Discussion
Irregularity in high-rise buildings is an important factor in evaluating the seismic responses, due to the higher modes effects under bidirectional seismic loads [32]. Under the bidirectional earthquake loads, it is clear that higher modes of an irregular structure will have a significant impact on the results, particularly considering the soil-structure interaction effect. In the following sections, the structural responses of the buildings are discussed in detail for the three chases.

Peak Responses
The peak responses of the Case-I building under the seven selected earthquake records are given in Table 4, which includes the maximum top floor transversal and rotational displacements, and also the accelerations in two directions. The optimal active control responses are obtained using a full-state LQR controller. For the passive-min and passive-max cases, also known as passive-off and passive-on, the input voltage for each MR damper is constant and equal to 0 and 9 volts, respectively. In the case of power loss, and under the seven earthquakes given in the table, the passive-min case offers 13%, 8%, 10%, 3%, 13%, 8% and 14% reduction in transversal displacements, when the building is on soft soil. The response reduction percentages are approximately 30% smaller for the same building on the rock base. The passive-max case, however, provides 40-50% more reduced compared with the passive-min control. Using the FLC offers even more maximum response reduction, which is about 60%, 40%, 55%, 38%, 47%, 38% and 52% for the building on soft soil under the seven selected earthquakes, respectively. For the building on a rock base, the FLC is 10% less efficient, however. Comparing the maximum responses for the active control scenario, where the controlling tendons are assumed to deliver the real-time control forces with minimum errors, reveals that this method does not provide the same performance under the Chi-Chi earthquake for the same building on rock and soft soil bases. Despite the 50-66% displacement response reduction for the building on the rock base, active control causes the displacement responses to be increased by 32% and 154% in two directions. In general, it can be seen that the peak responses are smaller for the buildings on the soft soil, except for the active control under the Chi-Chi earthquake. Therefore, the FLC offers reliable performance from this point of view, and it is used for the Parallel control of adjacent buildings.

Time-History Responses
The time-history responses provide a tool to understand the performance of any techniques during a seismic event [42]. Figure 11 shows the top floor displacement time-history in the x-, y-, and θdirections for the Case-I building considering SSI under the Chi-Chi earthquake. It is clear that the designed active control for a building on a rock base does not necessarily have similar performance for the same building, but on a soft soil base. This different behavior shows the sensitivity of the active control system, as well as the reliability of the FLC method. For all the seven earthquakes, the FLC provided a better performance with and without considering SSI. Another important fact, evident from the peak responses table and the time-history curves, is that for those buildings on a soft soil base, the peak responses are smaller. By implementing a properly designed FLC, the overall response can be reduced by 40% and 50% for near-and far-field earthquakes, respectively [32]. the same performance under the Chi-Chi earthquake for the same building on rock and soft soil bases. Despite the 50%-66% displacement response reduction for the building on the rock base, active control causes the displacement responses to be increased by 32% and 154% in two directions. In general, it can be seen that the peak responses are smaller for the buildings on the soft soil, except for the active control under the Chi-Chi earthquake. Therefore, the FLC offers reliable performance from this point of view, and it is used for the Parallel control of adjacent buildings.

Time-History Responses
The time-history responses provide a tool to understand the performance of any techniques during a seismic event [42]. Figure 11 shows the top floor displacement time-history in the x-, y-, and θ-directions for the Case-I building considering SSI under the Chi-Chi earthquake. It is clear that the designed active control for a building on a rock base does not necessarily have similar performance for the same building, but on a soft soil base. This different behavior shows the sensitivity of the active control system, as well as the reliability of the FLC method. For all the seven earthquakes, the FLC provided a better performance with and without considering SSI. Another important fact, evident from the peak responses table and the time-history curves, is that for those buildings on a soft soil base, the peak responses are smaller. By implementing a properly designed FLC, the overall response can be reduced by 40% and 50% for near-and far-field earthquakes, respectively [32].

Inter-Story Drift and Lateral Displacement Profiles
The inter-story drift profiles are typically used as a measure for the optimal placement of control devices, as well as estimating the potential damage locations. Smaller inter-story drifts, on the other hand, indicate that linear control algorithms can be satisfactory. Furthermore, P-∆ effects are reduced by decreasing the inter-story in the lower levels of a multi-story building. Smaller inter-story values for top floors makes it reasonable to use twin tuned mass dampers (TTMDs) instead of semi-active dampers, since the performance of semi-active devices is directly related to the relative displacement and velocity [37]. Figures 12 and 13 show the maximum inter-story drift profiles for the Case-I building in x-direction, under the bidirectional earthquakes loads. For this specific example, the active control using LQR algorithms shows a better performance in most of the cases.
The Chi-Chi earthquake is a good example to explain two different behaviors for the same controller, which highlights the importance of the additional five degrees of freedom (DOF) from the SSI. Similar differences can be seen under the El-Centro earthquake. From the displacement profiles, it is evident that in the case of power loss, Passive-Min, MR dampers still contribute to the response reduction by providing a small amount of damping [36]. The absolute displacement profiles provide useful tools to better understand the vibration control of adjacent buildings that are discussed in Case-II and Case-III buildings. and velocity [37]. Figures 12 and 13 show the maximum inter-story drift profiles for the Case-I building in x-direction, under the bidirectional earthquakes loads. For this specific example, the active control using LQR algorithms shows a better performance in most of the cases.
The Chi-Chi earthquake is a good example to explain two different behaviors for the same controller, which highlights the importance of the additional five degrees of freedom (DOF) from the SSI. Similar differences can be seen under the El-Centro earthquake. From the displacement profiles, it is evident that in the case of power loss, Passive-Min, MR dampers still contribute to the response reduction by providing a small amount of damping [36]. The absolute displacement profiles provide useful tools to better understand the vibration control of adjacent buildings that are discussed in Case-II and Case-III buildings.  Estimating the soil properties, as well as the dynamic characteristics of buildings, are not always accurate. To study the sensitivity of the structural responses, as well as the performance of the controller under uncertainties, a total of 120 random building models were generated, using 14 random variables for soil and structure models. The distribution of each random variable is assumed to be a Normal Gaussian with a coefficient of variation of 5%. In addition, 1% noise added to all the measurements. The results are provided in Figure 14, which includes the maximum lateral response profiles from each analysis, as well as the response reduction distribution for the top floor level in both directions. According to the results, it can be said that the FLC is less sensitive to the soil type based on the range of the histogram plots for the response reduction percentages for each case, however, the active control is highly sensitive to the estimated dynamic properties of the system. Therefore, fuzzy logic-based controllers are suitable for the proposed approach in this study. It is worth it to mention that the response variation in y-direction for the FLC controlled is higher than the x-direction, however, both have similar distribution as for the uncontrolled cases. Estimating the soil properties, as well as the dynamic characteristics of buildings, are not always accurate. To study the sensitivity of the structural responses, as well as the performance of the controller under uncertainties, a total of 120 random building models were generated, using 14 random variables for soil and structure models. The distribution of each random variable is assumed to be a Normal Gaussian with a coefficient of variation of 5%. In addition, 1% noise added to all the measurements. The results are provided in Figure 14, which includes the maximum lateral response profiles from each analysis, as well as the response reduction distribution for the top floor level in both directions. According to the results, it can be said that the FLC is less sensitive to the soil type based on the range of the histogram plots for the response reduction percentages for each case, however, the active control is highly sensitive to the estimated dynamic properties of the system. Therefore, fuzzy logic-based controllers are suitable for the proposed approach in this study. It is worth it to mention that the response variation in y-direction for the FLC controlled is higher than the x-direction, however, both have similar distribution as for the uncontrolled cases.

Uncontrolled
Active FLC Uncontrolled Active FLC

Advantages of WSNs in Case of Structural Damage or Control Failure
One of the main drawbacks of the traditional wired sensor networks, is that they are not always reliable in case of fire, or due to the failure of signal lines at lower floor levels under large deformations. On the other hand, IoT and cloud-based computation, along with wireless sensor networks, make each device independently controllable and more reliable. The effect of the failure in the signal line in the traditional wired and wireless network are compared in Figure 15. In the wired sensor network, expecting that the main controlling computer remains safe and secured during an earthquake, the signal line is assumed to be broken at either the 4th or 6th floor, which would put the upper floors controlling devices in passive-min mode. However, using the IoT concept with a wireless sensors network, only the specified floor dampers are removed from the control algorithm. The overall structural responses of the building on the top floor in x-, y-, and θ-directions using the FLC indicate the superior performance of a wireless sensor network as part of the IoT. Comparing the responses also reveals that placing MR dampers at the first lower floors offers more resistance and damping during an earthquake, which is reasonable referring to the inter-story drift profiles.

Advantages of WSNs in Case of Structural Damage or Control Failure
One of the main drawbacks of the traditional wired sensor networks, is that they are not always reliable in case of fire, or due to the failure of signal lines at lower floor levels under large deformations. On the other hand, IoT and cloud-based computation, along with wireless sensor networks, make each device independently controllable and more reliable. The effect of the failure in the signal line in the traditional wired and wireless network are compared in Figure 15. In the wired sensor network, expecting that the main controlling computer remains safe and secured during an earthquake, the signal line is assumed to be broken at either the 4th or 6th floor, which would put the upper floors controlling devices in passive-min mode. However, using the IoT concept with a wireless sensors network, only the specified floor dampers are removed from the control algorithm. The overall structural responses of the building on the top floor in x-, y-, and θ-directions using the FLC indicate the superior performance of a wireless sensor network as part of the IoT. Comparing the responses also reveals that placing MR dampers at the first lower floors offers more resistance and damping during an earthquake, which is reasonable referring to the inter-story drift profiles.

Pounding Hazard Mitigation by Coupling (Case-II)
Design of a vibration control algorithm, when at least one of the two adjacent buildings is irregular, is a challenging task that needs knowledge and experience. To reveal one of the main challenges of designing an active control using active tendons to couple two buildings, which includes the optimal selection of the weights, the vibration responses of the two adjacent buildings, in the east (irregular) and the center (regular), are given in Figure 16. As it is clear from the figure, under the Northridge earthquake loads, the vibration of both buildings decreases significantly, as well as a considerable decrease in the minimum clear distance between the two buildings, considering the irregularity. These results are obtained when the parameters of the LQR algorithm is selected by an optimization technique. With this technique, the irregular building in the east passes a portion of lateral loads to the regular building to reduce the overall response of both, which can be seen from the results that indicate a minimum reduction in the peak displacement in the directions to the adjacent structure.

Pounding Hazard Mitigation by Coupling (Case-II)
Design of a vibration control algorithm, when at least one of the two adjacent buildings is irregular, is a challenging task that needs knowledge and experience. To reveal one of the main challenges of designing an active control using active tendons to couple two buildings, which includes the optimal selection of the weights, the vibration responses of the two adjacent buildings, in the east (irregular) and the center (regular), are given in Figure 16. As it is clear from the figure, under the Northridge earthquake loads, the vibration of both buildings decreases significantly, as well as a considerable decrease in the minimum clear distance between the two buildings, considering the irregularity. These results are obtained when the parameters of the LQR algorithm is selected by an optimization technique. With this technique, the irregular building in the east passes a portion of lateral loads to the regular building to reduce the overall response of both, which can be seen from the results that indicate a minimum reduction in the peak displacement in the directions to the adjacent structure.

Pounding Hazard Mitigation by Coupling (Case-II)
Design of a vibration control algorithm, when at least one of the two adjacent buildings is irregular, is a challenging task that needs knowledge and experience. To reveal one of the main challenges of designing an active control using active tendons to couple two buildings, which includes the optimal selection of the weights, the vibration responses of the two adjacent buildings, in the east (irregular) and the center (regular), are given in Figure 16. As it is clear from the figure, under the Northridge earthquake loads, the vibration of both buildings decreases significantly, as well as a considerable decrease in the minimum clear distance between the two buildings, considering the irregularity. These results are obtained when the parameters of the LQR algorithm is selected by an optimization technique. With this technique, the irregular building in the east passes a portion of lateral loads to the regular building to reduce the overall response of both, which can be seen from the results that indicate a minimum reduction in the peak displacement in the directions to the adjacent structure.  Figure 17, on the other hand, clearly shows that using an LQR-based active control for two coupled regular-irregular buildings are sensitive to the initial assessment of the dynamic properties of the system, as well as the selection of the LQR parameters. In this figure, two curves illustrate how the minimum clear distance between the two buildings increases as the weight coefficient on the response of specific DOFs in a direction changes, without updating the response weights in the other two directions. In this example, the response weight corresponding to the DOFs in the x-direction, as well as another direction (y or θ), is given a unit coefficient, while the response weights of the DOFs in the third direction changes. Comparing the two curves shows that restricting the rotational vibration would result in more increase in the minimum clear distance required to avoid pounding, compared to the response in the perpendicular direction. Therefore, an optimized solution needs to be achieved using the evolutionary algorithms, if active control is an option for controlling coupled buildings with irregularity and SSI effects. Another major concern with coupling two buildings (Case-II) is that larger relative displacements may not be suitable for the application of MR dampers that are sensitive to shaft displacement and velocity. Due to such reasons, the application of MR dampers, as the connectors of two coupled buildings, is not recommended for this specific case study.

Advantages of SPC over Traditional FLC (Case-III)
The proposed SPC includes two FLCs in the main control flowchart, however, there are some advantages for the SPC, which a typical FLC may not be able to consider. Figure 18 shows the top floor displacement response of the five adjacent buildings under the bidirectional loads of the Northridge earthquake. The first row of the figure corresponds to the responses in the x-direction, which includes the buildings in the west, center and east (information flow in west-east direction). Similarly, the second row represents the responses in the y-direction, which shows the information flow among the buildings in the north, center and south. According to the information flow rule  Figure 17, on the other hand, clearly shows that using an LQR-based active control for two coupled regular-irregular buildings are sensitive to the initial assessment of the dynamic properties of the system, as well as the selection of the LQR parameters. In this figure, two curves illustrate how the minimum clear distance between the two buildings increases as the weight coefficient on the response of specific DOFs in a direction changes, without updating the response weights in the other two directions. In this example, the response weight corresponding to the DOFs in the x-direction, as well as another direction (y or θ), is given a unit coefficient, while the response weights of the DOFs in the third direction changes. Comparing the two curves shows that restricting the rotational vibration would result in more increase in the minimum clear distance required to avoid pounding, compared to the response in the perpendicular direction. Therefore, an optimized solution needs to be achieved using the evolutionary algorithms, if active control is an option for controlling coupled buildings with irregularity and SSI effects. Another major concern with coupling two buildings (Case-II) is that larger relative displacements may not be suitable for the application of MR dampers that are sensitive to shaft displacement and velocity. Due to such reasons, the application of MR dampers, as the connectors of two coupled buildings, is not recommended for this specific case study.  Figure 17, on the other hand, clearly shows that using an LQR-based active control for two coupled regular-irregular buildings are sensitive to the initial assessment of the dynamic properties of the system, as well as the selection of the LQR parameters. In this figure, two curves illustrate how the minimum clear distance between the two buildings increases as the weight coefficient on the response of specific DOFs in a direction changes, without updating the response weights in the other two directions. In this example, the response weight corresponding to the DOFs in the x-direction, as well as another direction (y or θ), is given a unit coefficient, while the response weights of the DOFs in the third direction changes. Comparing the two curves shows that restricting the rotational vibration would result in more increase in the minimum clear distance required to avoid pounding, compared to the response in the perpendicular direction. Therefore, an optimized solution needs to be achieved using the evolutionary algorithms, if active control is an option for controlling coupled buildings with irregularity and SSI effects. Another major concern with coupling two buildings (Case-II) is that larger relative displacements may not be suitable for the application of MR dampers that are sensitive to shaft displacement and velocity. Due to such reasons, the application of MR dampers, as the connectors of two coupled buildings, is not recommended for this specific case study.

Advantages of SPC over Traditional FLC (Case-III)
The proposed SPC includes two FLCs in the main control flowchart, however, there are some advantages for the SPC, which a typical FLC may not be able to consider. Figure 18 shows the top floor displacement response of the five adjacent buildings under the bidirectional loads of the Northridge earthquake. The first row of the figure corresponds to the responses in the x-direction, which includes the buildings in the west, center and east (information flow in west-east direction). Similarly, the second row represents the responses in the y-direction, which shows the information flow among the buildings in the north, center and south. According to the information flow rule

15-story, Coupled, Active, Northridge
Building Center (Regular) Building East (Irregular) Difference Min. clear distance Figure 17. Minimum Clear distance required to avoid pounding using active control with respect to different response weights.

Advantages of SPC over Traditional FLC (Case-III)
The proposed SPC includes two FLCs in the main control flowchart, however, there are some advantages for the SPC, which a typical FLC may not be able to consider. Figure 18 shows the top floor displacement response of the five adjacent buildings under the bidirectional loads of the Northridge earthquake. The first row of the figure corresponds to the responses in the x-direction, which includes the buildings in the west, center and east (information flow in west-east direction). Similarly, the second row represents the responses in the y-direction, which shows the information flow among the buildings in the north, center and south. According to the information flow rule among the adjacent buildings for the proposed SPC, it is obvious that for regular adjacent buildings, the control algorithms are independents in two directions; however, for the current case (Case-III), controlling the vibrations in one direction influences the response in the other direction through torsional vibrations in the top floors. Since the stronger component of the Northridge earthquake is applied in the x-direction, the differences in the responses are obvious in this direction.
J. Sens. Actuator Netw. 2020, 9, x FOR PEER REVIEW 20 of 24 among the adjacent buildings for the proposed SPC, it is obvious that for regular adjacent buildings, the control algorithms are independents in two directions; however, for the current case (Case-III), controlling the vibrations in one direction influences the response in the other direction through torsional vibrations in the top floors. Since the stronger component of the Northridge earthquake is applied in the x-direction, the differences in the responses are obvious in this direction. To investigate the performance of the proposed SPC algorithm in the case of damage, the buildings are excited under the Northridge earthquake. Based on the obtained lateral drift profiles, it is assumed that the first five floors of the building in the center lose the lateral stiffness in a way that the maximum and minimum damages in a range of 50%~25%, respectively, occur in the first and fifth floor. Besides, the control system of the building is shut down at the 5th second after the activation, when the drifts reach approximately maximum values. Therefore, the minimum damping capacities of the dampers are used for the rest of the excitation. Under this situation, it is expected that using the proposed SPC algorithm, the adjacent buildings will change their behavior to avoid pounding hazards. Figure 19 shows the response time-histories for the buildings with and without consideration of damage in the central building. It is clear that the top floor displacements of the building in the center are increased in both directions; however, the adjacent buildings behave differently, but with a reduction in the responses. To investigate the performance of the proposed SPC algorithm in the case of damage, the buildings are excited under the Northridge earthquake. Based on the obtained lateral drift profiles, it is assumed that the first five floors of the building in the center lose the lateral stiffness in a way that the maximum and minimum damages in a range of 50%~25%, respectively, occur in the first and fifth floor. Besides, the control system of the building is shut down at the 5th second after the activation, when the drifts reach approximately maximum values. Therefore, the minimum damping capacities of the dampers are used for the rest of the excitation. Under this situation, it is expected that using the proposed SPC algorithm, the adjacent buildings will change their behavior to avoid pounding hazards. Figure 19 shows the response time-histories for the buildings with and without consideration of damage in the central building. It is clear that the top floor displacements of the building in the center are increased in both directions; however, the adjacent buildings behave differently, but with a reduction in the responses.

Summary and Conclusion
The majority of the studies in seismic vibration control of three-dimensional tall buildings have not considered the irregularity and soil-structure interaction effects on the vibration response. In this paper, a novel bio-inspired seismic vibration control algorithm, called swarm-based parallel control (SPC), is proposed to use the advantages of fuzzy logic-based rules to consider the response of the individual adjacent building in determining the control forces for the group of buildings during extreme events, such as earthquake or wind loads. The main merits of the proposed SPC system can be summarized as: 1. Despite the other control approaches, such as using coupling devices, the need for the structural links to couple the two adjacent buildings, as well as the complexity, can be eliminated. 2. Each building can sense and consider the responses of the adjacent building in determining the optimal control force of semi-active devices; therefore, in the case of damage in a building, the other adjacent buildings update the control forces, accordingly. 3. The proposed SPC can be modified for individual buildings according to the deployed control strategy and devices.
To address the above-mentioned advantages of the proposed controller, numerical simulations are carried out under the seismic loads of seven historic earthquakes. Vibration responses of an irregular 15-story building are studied considering the soil-structure interaction (SSI) effect, as well as the effectiveness of different control methods (Case-I). A sensitivity analysis is also considered to study the performance of each control approach, considering uncertainties in estimating the soil and structural properties. In addition, the idea of coupling two adjacent regular-irregular buildings is discussed using an ideal active control, regardless of the control device type, and the limitations are highlighted (Case-II). It should be noted that for the active control system, the results are obtained based on the LQR algorithm to have a benchmark result for comparison, and the ideal conditions are assumed for either method. Finally, five adjacent buildings with different dynamic properties and no structural connections, considering the SSI effects, are modeled to verify the performance of the proposed SPC algorithm (Case-II).
The results prove that the proposed method has the potential to be paid attention in future developments as part of the bigger concept of the Internet-of-Things (IoT) and smart structures.

Summary and Conclusions
The majority of the studies in seismic vibration control of three-dimensional tall buildings have not considered the irregularity and soil-structure interaction effects on the vibration response. In this paper, a novel bio-inspired seismic vibration control algorithm, called swarm-based parallel control (SPC), is proposed to use the advantages of fuzzy logic-based rules to consider the response of the individual adjacent building in determining the control forces for the group of buildings during extreme events, such as earthquake or wind loads. The main merits of the proposed SPC system can be summarized as:

1.
Despite the other control approaches, such as using coupling devices, the need for the structural links to couple the two adjacent buildings, as well as the complexity, can be eliminated.

2.
Each building can sense and consider the responses of the adjacent building in determining the optimal control force of semi-active devices; therefore, in the case of damage in a building, the other adjacent buildings update the control forces, accordingly.

3.
The proposed SPC can be modified for individual buildings according to the deployed control strategy and devices.
To address the above-mentioned advantages of the proposed controller, numerical simulations are carried out under the seismic loads of seven historic earthquakes. Vibration responses of an irregular 15-story building are studied considering the soil-structure interaction (SSI) effect, as well as the effectiveness of different control methods (Case-I). A sensitivity analysis is also considered to study the performance of each control approach, considering uncertainties in estimating the soil and structural properties. In addition, the idea of coupling two adjacent regular-irregular buildings is discussed using an ideal active control, regardless of the control device type, and the limitations are highlighted (Case-II). It should be noted that for the active control system, the results are obtained based on the LQR algorithm to have a benchmark result for comparison, and the ideal conditions are assumed for either method. Finally, five adjacent buildings with different dynamic properties and no structural connections, considering the SSI effects, are modeled to verify the performance of the proposed SPC algorithm (Case-II).
The results prove that the proposed method has the potential to be paid attention in future developments as part of the bigger concept of the Internet-of-Things (IoT) and smart structures. Funding: This project did not receive funding.