#### Abstract

In wind tunnel tests, cantilever stings are often used as model-mount in order to reduce flow interference on experimental data. In this case, however, large-amplitude vibration and low-frequency vibration are easily produced on the system, which indicates the potential hazards of gaining inaccurate data and even damaging the structure. This paper details three algorithms, respectively, Classical PD Algorithm, Artificial Neural Network PID (NNPID), and Linear Quadratic Regulator (LQR) Optimal Control Algorithm, which can realize active vibration control of sting used in wind tunnel. The hardware platform of the first-order vibration damping system based on piezoelectric structure is set up and the real-time control software is designed to verify the feasibility and practicability of the algorithms. While the PD algorithm is the most common method in engineering, the results show that all the algorithms can achieve the purpose of over 80% reduction, and the last two algorithms perform even better. Besides, self-tuning is realized in NNPID, and with the help of the Observer/Kalman Filter Identification (OKID), LQR optimal control algorithm can make the control effort as small as possible. The paper proves the superiority of NNPID and LQR algorithms and can be an available reference for vibration control of wind tunnel system.

#### 1. Introduction

In recent years, modern aircraft are gradually developing to light weight, high mobility, high speed, and high angle of attack, which apparently puts forward higher requirements for wind tunnel tests. And the quality of cantilever sting used in wind tunnel tests is the key point to obtain reliable data. However, when the model is exposed to aerodynamic loads from flow dynamic pressure, this flexible support system will easily produce low-frequency vibration and large-amplitude vibration, which will dramatically affect the accuracy of tests and even damage the structure. Therefore, in order to enhance the safety and accuracy of experiments, it is of vital importance to reduce the vibration of the sting.

National Transonic Facility (NTF) of NASA and the European Transonic Wind tunnel (ETW) were the first to start the research in related fields. The study by NTF began around 1990. In 1994, applying piezoelectric actuators as damping device, Wimmel [1] adopted a pure proportional control method to suppress the vibration of an F-18 aircraft model, and the experiment suppressed over 60% vibration amplitude. In 2007, Balakrishna et al. [1–3] proposed a scheme of embedding stacked piezoelectric actuators in the sting, and based on this thought, he had already developed three sets of vibration suppression systems until 2011. The related research in ETW can date back to 1996, and Hefer, in a patent, firstly proposed a device [4], which has six sets of piezoelectric ceramics encircled at the root or middle of the test sting to actively suppress the vibrations of the support system. On this basis, Fehren et al. [5] proposed an improved scheme in 2001 and increased the number of piezoelectric actuators to 14.

Besides, some other organizations are also concerned about the vibration of wind tunnel models. Up to now, a great many of convincing results has been obtained in thousands of attempts [6–15]. And in term of algorithms, classical PD is still the most popular and practical control algorithm in engineering although it has some limitations, especially when the control objects are different, the parameters of the controller are difficult to adjust automatically to adapt to the changing of the external environment. Last decade witnesses the popularity of artificial intelligence, and the applications of neural networks have gradually replaced the traditional methods. The artificial neural network PID has set off a new trend, and many examples of success prove its superiority in parameter self-tuning. Besides, when the control effect reaches the standard, engineers began to focus on finding more economical and optimized control method. Therefore optimal control theory emerges as the times require, which has made great progress in both depth and breadth so far. LQR theory is one of the earliest and most mature methods for state-space design in modern control theory. LQR optimal control can make the original system achieve better performance index with cheap control effort.

Some other studies have illustrated different controllers for active vibration control purpose [16–21]; however, these two mentioned algorithms have not been widely used in wind tunnel tests yet. In order to introduce new applications of the advanced algorithms, this paper presents the details of the design of PD, NNPID, and LQR controllers. Besides, the hardware platform of the vibration damping system is set up, and the real-time control software is designed to verify the feasibility and practicability of the whole system. The ground experiments, under the excitation of the exciter are carried out, and the effects of the three algorithms are compared. The results show the availability and superiority of the methods, which lays a foundation for the application in follow-up wind tunnel tests.

#### 2. Concepts and Approaches

##### 2.1. Structure of the System

In wind tunnel tests, the support system which is composed of a cantilever sting, a test balance and a model is exposed to wide frequency aerodynamic load, including static load and dynamic load, and the load produces dynamic bending along any section of the sting. In fact, the bending moment in pitch direction is much larger than that of the other two directions, so the primary target is to suppress the vibration in the direction of pitching.

The system can be regarded as a mass spring system with multiple degrees of freedom and low damping. Under aerodynamic loads, the vibration equation of the system can be expressed aswhere is the mass matrix of the system, is the damping matrix, is the stiffness matrix, is the force vector of the system, and represents the displacement vector.

A piezoelectric actuator is applied to realize vibration control, the principle of the structure is shown in Figure 1: the piezoelectric stack is installed at the bottom of the sting and is actuated by control voltage, and then restoring moment is generated to offset the effect of loading moment. Thus, the vibration suppression in the direction of pitching is realized.

Figure 2 shows the structure of vibration damping system. When the sting begins to vibrate by aerodynamic load, the test balance together with the strain gauge begins to transform the mechanical signal into voltage signal. After smoothing by a low pass filter, the signal is sent to the controller. Then, the control signal is amplified by a power amplifier to generate the driving voltage. Finally, the piezoelectric stack is actuated by the driving voltage to suppress the vibration of the sting. Thus, a negative feedback control system is formed.

##### 2.2. Classical PD Algorithm

In order to realize PD control, the rational fraction polynomial fitting (levy) method is used to fit the transfer function according to the frequency response function of the vibration system, and the modal parameters such as frequency, damping ratio, and mode shape are obtained. Then, the PD control algorithm is proposed based on the fitted system function.

###### 2.2.1. Levy Method

Rational fraction polynomial method, also known as levy method, is one of the most widely used frequency domain identification methods in engineering. The basic idea is to fit the theoretical transfer function to the measured frequency response curve and minimize the error. In the process of recognition, a target function *J* is introduced to linearize the error function:

As for the experiment, first-order mode of the sting contributes most to vibration. According to the theory of single mode vibration, the model is a second-order system: . In order to find the coefficients , set the partial derivative of the equation (2) to zero, and the following equation can be found:where

The system transfer function can be obtained by calculating the parameters in the matrix. And final result for the damping system is

###### 2.2.2. Controller Design

PID (proportion, integral, and derivative) controller, as the earliest practical controller, has been used for nearly a hundred years and is still the most widely used industrial controller. Figure 3 shows the main diagram of digital PID controller.

The mathematical expression of the PID controller is

Its transfer function is . Because computer control is a discrete control, it can only work according to the deviation value of each sampling time. By backward finite differences, the discrete transfer function can be obtained:

Due to the characteristics of the vibration system, the structure will turn back to the original equilibrium point after attenuation, so there is no need to consider the steady-state error. Therefore, the proportional derivative (PD) control is adopted and the transfer function can be simplified as

Since the characteristic signal controlled by the system is a sinusoidal signal, it is necessary to calibrate the phase, especially the phase at the natural frequency. In engineering, a common method of phase correction is to set , where is the first-order frequency. Therefore the ratio and differential parameters of the PD controller should meet the following relation:where represents the desired amplitude ratio of input and output voltages while represents the desired phase difference. By manually adjusting the two parameters, different results of PD parameters can be gained.

##### 2.3. NNPID Algorithm

Among a large number of neural networks, back-propagated network (BP-NN), whose structure is clear and the learning method is simple, has the ability to fit any nonlinear function and is gradually developing to mature nowadays. Therefore, this paper adopts self-learning PID control algorithm based on BP neural network, and its structure is shown in Figure 4.

This paper uses adaptive linear neuron model, and the supervised error correction learning is realized by the gradient descent (Delta rule). The formula for the classical PID is . Where

Self-tuning is realized according to delta learning rules so that the recursive formula of weight value is

All the three weights use the same learning rate, and according to the chain rule, Equation (12) is established:where and because the change of is small, the equation is workable. Finally, the self-learning formula of neural network PID is obtained:

##### 2.4. LQR Algorithm

The optimal control method, as shown in Figure 5, is one of the most complete control algorithms in the modern control method theory system. In this section, the Linear Quadratic Regular (LQR) control algorithm is used to design the controller for active vibration control.

###### 2.4.1. The Observer/Kalman Filter Identification Method

In order to design the effective LQR controller, the state-space model of the system is essential. This paper adopts the Observer/Kalman Filter Identification (OKID) method together with Eigensystem Realization Algorithm (ERA) to get the state-space equation. OKID, which is proposed by Juang et al. [22, 23] and used convergence rate of the Markov parameters of the asymptotically stable observer acceleration system, has advantages of a little computational effort and high accuracy. Its process is as follow: firstly, obtain input and output data of the system by sampling. Secondly, calculate the Markov parameters of the observer. Thirdly, according to equation (14), use to calculate Markov parameter sequence of the computing system.

Finally, the ERA is implemented. The algorithm begins by forming the block Hankel matrix which is given by

Defining a matrix and an matrix made up of identity and null matrices of the form. And then a discrete-time minimal order realization of the system can be written aswhere the matrices and are unitary matrices, is an diagonal matrix of positive singular values, and is the order of the system. And after calculation, the identified system is given as follows

###### 2.4.2. Controller Design

Define the quadratic performance index of the system:where the weighted matrix is a symmetric semidefinite matrix and is a symmetric positive definite matrix. It is worth mentioning that expresses the comprehensive error between the given state and the actual state of the system in the whole process of control, namely, the extent to which the state variable of the system leaves its equilibrium position, thus it reflects the control effect. And is related to the control vector , which describes the energy output in the whole control process and reflects the cost of control. It is obvious from equation (18) that these two integral terms are restricted to each other. Therefore, the minimum value of the sum of two integral terms is essentially the compromise of the control effect and the control effort in optimal sense.

The solution of the optimal control iswhere *K* is a state feedback matrix, satisfying , where is a positive definite matrix and satisfies the Riccati equation: .

##### 2.5. Experimental Setup

In order to verify the effectiveness of the control algorithm, a cantilever sting used in wind tunnel is processed and a measurement and control system is built. As shown in Figures 6(a) and 6(b), the front section of the sting is fitted with a test balance to obtain voltage signal aroused by exciter. The first-order natural frequency of the system is about 13.6 Hz, so that the exciter releases mechanical vibration of the same frequency to simulate the resonance situation in wind tunnel.

**(a)**

**(b)**

**(c)**

When the sting begins to vibrate, the strain signal in the balance emerges and starts to transmit by the wires. After handling by a strain gauge and an antialiasing filter, the signal is sent to the controller, where the control signal is calculated according to the algorithm formula. Then, the power amplifier works to amplify the control signal. At last, the final control signal is transferred to the piezoelectric stack at the bottom of the sting to suppress vibration.

Figure 6(c) outlines the construction of the piezoelectric device. This is a bilaterally symmetric structure with a pair of piezoelectric stacks fixed at the root. Thanks to reverse piezoelectric effect, the tips of the stacks will stretch slightly when external voltage is exerted and simultaneously push the surface of a flexure hinge, which is used to amplify the displacement so that the restoring moment is produced on the cantilever sting.

The control algorithm is programmed in LabVIEW2012. And a National Instruments-produced PXI-7841R board card is used to collect and release signal, which possesses 8 analog input and output channels and has a FPGA module. Thus, the hardware platform can achieve high speed acquisition so that it ensures the least delay of time.

#### 3. Results and Comparison

##### 3.1. Results of PD Algorithm

In the experiment, a vibration exciter is used to generate the vibration near the resonance frequency of the sting. By manually changing the parameters of the controller, namely and in equation (9), different results can be gained. When fixing at 0 and changing the value of , A group of the experimental results is shown in Table 1. In that case, and are dramatically changing with the varying of , and the effect of control is negatively related to the value of . However, when is too small, the algorithm would defect, so it is worth paying attention to choose suitable value of .

Table 2 shows a group of experimental results when is fixed at 0.2 while the value of is changing. It is easy to find that the peak-peak values change with the changing of ; however, the figures change slightly, and the results diverge when the value deviates far, which indicates that the influence of parameter is larger than that of .

After all, the results prove the stability and reliability of the algorithm. And the best result was obtained when is equal to 0.1 and is −20°, and in that case, the peak-to-peak value of the signal declines from 503.28 mV to 94.02 mV, and the power spectrum declines from −15.01 dB/Hz to −38.12 dB/Hz which indicates that more than 81% reduction of displacement response has been achieved.

##### 3.2. Results of NNPID Algorithm

The most appealing advantage of NNPID algorithm is the ability of self-tuning. As shown in Figure 7, when appropriate learning rate is set, the controller is supposed to find the most suitable parameters automatically. It is worth noting that the learning rate plays an important role. Table 3 provides the performance of NNPID controller with different value of : the overlarge learning rate might cause the control parameters to constantly change, which makes the control signal unstable and finally leads to failure. Otherwise, the time is longer and the effect of control will reduce.

In the experiment, the best result is gained when the learning rate is set at 0.016, and the time-domain signal and power spectrum of which are demonstrated in Figures 8 and 9, respectively. It is easy to find that with the NNPID control on, the peak-to-peak value of the signal declines from 502.12 mV to 58.24 mV, and the power spectrum declines from −14.91 dB/Hz to −33.32 dB/Hz. More than 88% reduction of vibration has been achieved which indicates that the sting is effectively controlled under continuous load.

##### 3.3. Results of LQR Algorithm

As far as LQR controller is considered, in order to get the optimal result in the experiment, the selection of parameter *Q* and *R* is of vital importance. Since *Q* determines the importance of the control performance and *R* determines that of the control effort, when the control performance is satisfactory, it is necessary to set *R* relatively small to save energy. The optimal values for *Q* and *R* are typically obtained by trial-and-error. Generally, *R* is determined by and , where is a scalar parameter. Thus, the choosing of *Q* and *R* is realized by changing the value of . In this experiment, the best result comes out when is below 1. And several experimental data are shown in Table 4.

When is equal to 0.04 and the control gain matrix was calculated using to give , the p-p value of the output fell to a minimum, which represents the best result in this experiment.

Figures 10 and 11 show the diagrams of the best result. It is easy to find that with the LQR control on, the peak-to-peak value of the signal declines from 503.86 mV to 69.4 mV and the power spectrum declines from −13.11 dB/Hz to −29.33 dB/Hz. More than 86% reduction of vibration is realized. Furthermore, due to the characteristics of optimal control theory, when the control effect is guaranteed, the output power during the whole process ought to be the least, that is to say, the experiment realizes the least of control effort.

##### 3.4. Comparison of Three Control Algorithms

As shown in Figure 5, the results indicate that all the three algorithms can effectively achieve the goal of reducing vibration. As the most widely used method in engineering, PD algorithm achieves 81% of vibration damping in 1.5 s. The principle of PD is simple, and its application is already mature. However, once the structure changes, the repetition for system identification processing is in dispensable in order to find available control parameters, which is inconvenient and time-wasting.

The experiments prove the feasibility and advancement of NNPID algorithm. By finding the most appropriate learning rate, NNPID can realize the self-tuning of the control parameters. Different from the traditional PD algorithm, there is no need to launch system identification processing in NNPID, which means a significant convenience for different engineering occasions. Besides, the NNPID algorithm achieves the largest percentage of vibration damping (88%) in 1.2 s, which is also faster than PD algorithm (Table 5).

And on the premise of guaranteeing the effect of control, LQR optimal control algorithm shows the highest cost-saving ability, though the one of the most obvious drawbacks of LQR is that the modeling process is complicated and many of the parameters need to be set. However, it has the potential to work in large power consumption conditions or power-limited situations, like in high-power wind tunnels, which saves a huge amount of energy.

#### 4. Conclusions

In this paper, a wind tunnel cantilever sting, with a pair of piezoelectric actuators embedded at the end is processed, and a measurement and control system based on LabVIEW-FPGA module is built to verify the effectiveness of three algorithms. A classical PD, a NNPID, and a LQR controller have been designed in detail. In active damping evaluation tests, it is shown that, for all the controllers, over than 80% of displacement response of the sting mode can be eliminated. Typically, the NNPID and LQR even achieve nearly 90% reduction of vibration. The success of the experiments proves new application area of the algorithms, and it foreshadows innovative methods for wind tunnel test, which can be an available reference for wind tunnel study.

Need to say, the experiments in this paper contribute to reduce the vibration of only the first order of the system. Results could be better when the order increases, which would be the deeper research in the future.

#### Data Availability

The experimental data used to support the findings of this study may be released upon application to the Yuke Dai, who can be contacted at [email protected]. The details of the structure used to support the findings of this study (including the balance, the model, and the sting) were supplied by China Aerodynamics Research and Development Center, which is confidential so cannot be made freely available. We are applying for a patent, which includes the details of the software program used to support the findings of this study so just a few parts of the program is available, which are on https://pan.baidu.com/s/1pHm-leBIDiN5zXXg0ua9bg (the code is ajqp). For more information, please contact Yuke Dai at [email protected].

#### Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

#### Acknowledgments

This study was funded by the National Natural Science Foundation of China (No. 11872207) and Jiangsu Innovation Program for Graduate Education (No. KYLX15_0245).