Escolar Documentos
Profissional Documentos
Cultura Documentos
Chapter 1
Introduction..............................................................................................................................................4
1.1Background .........................................................................................................................................4
1.2 Motivation..........................................................................................................................................6
1.3 Aim and Objective .............................................................................................................................7
1.4 Literature Review ..............................................................................................................................7
1.5 Problem Definition ............................................................................................................................9
1.6 Scope..................................................................................................................................................9
Chapter 2
2.1 Introduction......................................................................................................................................11
2.1.1 Structure ........................................................................................................................................11
2.1.2 Sensor ...........................................................................................................................................12
2.1.3 Controllers ....................................................................................................................................12
2.1.4 Actuators .......................................................................................................................................13
2.2 Experimental Study .........................................................................................................................13
2.2.1. Sensor ..........................................................................................................................................13
2.2.2 Controller ......................................................................................................................................13
2.2.3 Accelerometer ...............................................................................................................................14
2.2.4 Amplifier.......................................................................................................................................14
2.5 Experimental setup ..........................................................................................................................15
2.6 Development of Open loop system ..................................................................................................15
2.7 Development of closed loop system ................................................................................................16
2.8 Results and Discussion ....................................................................................................................16
Chapter 3
3.1 Dynamic modelling of the smart cantilever beam ...........................................................................18
3.2 Finite element modelling .................................................................................................................19
3.3 Modal Analysis of cantilever beam .................................................................................................20
3.4 Convergence study...........................................................................................................................20
3.5 State space modelling ......................................................................................................................21
3.6 Simulation results of modal analysis of cantilever beam ................................................................22
3.7 Open loop Transient Response Analysis of Smart cantilever Beam using MATLAB Software- ...................25
3.8 Closed loop Transient Response Analysis of Smart CantileverBeam using MATLAB Software- .................26
Appendix................................................................................................................................................28
References ..............................................................................................................................................35
1
LIST OF FIGURES
3.4 mode 1 22
3.5 mode 2 23
3.6 mode 3 23
3.7 mode 4 24
2
LIST OF TABLES
3
Chapter 1
Introduction
1.1 Background
Undesired vibrations are a major cause of problems in the diverse areas like space and aircraft
structures, satellites, bridges, etc. The effect of such vibrations is varied. Minor effects may include
annoyance due to noise in automobile, machine etc. Major effects are felt in areas like space structures
where precise behaviours of the structure are desired and any deviation from the required behaviour
may prove expensive. An example of the detrimental effects of vibrations is the collapse of Tacoma
narrows bridge near Washington State on November 7 ,1940. Hence the control of noise and vibrations
has become a relevant technological challenge.
4
In particular, active vibration control using smart materials is generating much interest around
the world. Active vibration control is the process of using smart materials for controlling
vibrations in real time. Smart materials are materials that respond with significant change in a
property upon application of an external driving force. Such materials can act as sensors, which
sense the disturbances in the structures, and as actuators which are capable of applying the
controlling force. The examples of smart materials are piezoelectric materials, shape memory
alloys and ionic polymer metal composites. The construction of mathematical model for
complicated real-life dynamic structures is very difficult and time consuming. In present study,
the mathematical model required for the analysis is extracted from the results of modal analysis
of cantilever beam model done on ANSYS©. This mathematical model is used to optimally
design the controller based on state feedback control for active vibration control of cantilever
beam.
Types of vibration
Different approaches have been applied to suppress or reduce unwanted vibrations in the
engineering field. Traditionally, isolators and passive dampers are used to attenuate mechanical
vibration, leading to so called passive vibration control. Recent advancements of digital signal
processing in sensors and actuators have prompted interest in active vibration control.
One of the basic methods of vibration isolation is stopping the waves coming from the source
to the object. As per the practical perspective, two methods are used namely forced vibration
isolation and displacement vibration isolation. The main motive of the former is the isolation
of the dynamic force generated by the object and transmit it to the ground. In displacement
vibration isolation, the vibration suppressing system has to isolate the object from the source
of the undesired dynamic displacement which is coming from the ground. The passive methods
which suppress the vibration uses the following methods:
Prevention of vibration occurrence,
Vibration isolation.
5
B. Active vibration control
Better results can be obtained using the active vibration control methods, which amount to
structural changes or parametric changes using external source of power supply. These methods
solve the problem such as high machine efficiency, low vibration level, dynamic stability and
rigidity. In active methods, controlled source of external power can take or give energy in a
specific way from different parts of the machine. The drive (hydraulic, pneumatic, and electric)
added to the vibration isolated object generates opposite force to the unwanted dynamic
displacement. The control strategy of the force generator set by controller is based on
information about the system coming from the sensor. The measurement system gives the
specified force to damp the vibration including transducers, amplifiers and pre-equalization
elements. On the basis of drive (hydraulic, electromagnetic pneumatic, and hybrid), active
vibration isolation systems are differentiated.
1.2 Motivation
6
1.3 Aim and Objective
The aim and objective of present study discussed in this section are as follows: -
1.3.1 Aim
To design and develop suitable controller for active vibration control of a cantilever beam.
1.3.2 Objective
1. To control the Vibrations of cantilever beam by using PZT patches.
2. To find-out the suitable controller for effective vibration control of cantilever beam with
minimum control input.
S.X. Xu and T. S. Koko [1] (2002) studied the finite element analysis and design of actively
controlled piezoelectric smart structures. The structure modeling of sensors and actuators made
of piezoelectric materials was performed in MATLAB ©. The design of active control system
was carried out in state space form. The Aluminium beam (508×25.4×0.8mm) with four
piezoelectric sensor (27×13×0.028mm), and two piezoelectric actuators (76.2×25.4×0.305mm)
was used for the experimental study. The results of the experimental study were compared with
the theoretical values.
[2]
H. Karagulle (2004) studied the active vibration control of smart structure by using PID
controller. The mathematical modelling of system for two degrees of freedom was performed
in MATLAB©. The solution required for mathematical modelling was extracted from the modal
analysis in ANSYS©. Four actuators with different dimensions were analysed. The natural
frequencies for the undamped system were calculated. SOLID45 element was used for metal
part and SOLID5 element was used for piezoelectric part of the structure. The error signal was
calculated by subtracting the instantaneous value of sensor quantity from the reference
quantity. Instantaneous value of the actuator voltage was calculated by multiplying error signal
to control gain.
7
W. K. Ramesh Kumar and S. Narayanan[3] (2010) studied the optional placement of
piezoelectric sensor and actuator patches for active control of vibrations of beams. For optimal
placement, the point of maximum strain in the vibrating beam were found and the patches were
placed there for optimal displacement control of the vibrating beam. The eigen vectors were
extracted from ANSYS© into MATLAB© to form the corresponding system model. The
reduced model was formed by sorting the DC gains of the models and eliminating models with
significantly lower DC gains values viz. fewer contributing models. The transient and
frequency responses of full and reduced model are compared, to ascertain the degree of
accuracy of reduced model. The PID controller was designed to control the vibrations of the
system.
K. Dhanalakshmi [ 4] (2010) studied the vibration control of smart cantilever beam using Shape
Memory Alloy (SMA) as actuator and piezo-sensed flexible beam . The vibration was
controlled using the interactive force of a pair of almost identical SMA wires connected in an
antagonistic manner, arranged in parallel on both sides of the cantilever beam structure.
Standard Proportional (P) and proportional plus integral (PI) controllers have been used to
control the first mode of vibration of the flexible beam.
[5]
SM Khot (2011) studied active vibration control of smart structure using piezoelectric
sensor/actuator and PID based output feedback controller. In the approach, the first step
involved was the modal analysis of the cantilever beam. The modal analysis was done in
ANSYS©. The mathematical model of the beam required for designing the controller was
extracted in MATLAB©. Further, the Model reduction was performed and responses of full and
reduced models were compared and they were closely matched.
SM Khot [6 ] (2012) studied the model extraction from the FEA model for designing controller
for active vibration control of dynamic systems. Further, the approach to the simulation study
of the system using optimal control strategy with feedback control law was demonstrated using
MATLAB© and ANSYS© .
8
1.5 Problem Definition
Problem definition for this project is “Active vibration control of cantilever beam using
Piezoelectric transducers” .
1.6 Scope
9
Chapter 2
2.1 Introduction
In active vibration control technique, the response of system is directly sensed using sensor-
transducer devices and control action of specified values are applied to desired locations of
system. Objective of active vibration control is to reduce the vibration of a mechanical system
by automatically modifying the system's structural response. Active vibration control technique
uses the concept of closed loop system to control vibration. Closed loop system uses the
concept of feedback and the system response becomes relatively insensitive to internal and
external disturbances.
2.1.1 Structure
The structure or plant is the main element in a closed loop system. Structure may be an
equipment or a set of machine elements functioning together, the purpose of which is to
perform a particular operation. A typical smart cantilever beam (structure) with piezoelectric
sensor and actuator is shown in the fig 2.1.
11
Fig. 2.1 Smart cantilever beam
2.1.2 Sensor
A sensor is used in a closed loop system to measure the output of the structure, which has to
be controlled. Depending upon the type of variable to be measured, a suitable sensor is selected.
The piezoelectric sensor which is widely used for industrial purpose is shown in the fig.2.2.
2.1.3 Controllers
Selection and design of controllers for a control system mainly depends on the structural system
dynamics. Mathematical modelling of the structure is used for designing controllers. Some of
the widely used industrial controllers are On-Off controllers. Proportional (P) controllers.
Proportional plus Derivative (PD) controllers, Proportional plus Integral (PI) controllers and
Proportional plus Integral plus Derivative (PID) controllers.
12
2.1.4 Actuators
In a closed loop system, the controller output is given to the actuator. If the magnitude of the
controller signal is very small, an amplifier is to be used to magnify the controller signal.
According to the signal from the controller, the actuator will perform the actuation so that the
output of the structure will be within the set values. Piezoelectric sensor and actuator are
mounted on the cantilever beam. Sensor senses the voltage developed due to the disturbance in
the system. The sensed voltage is compared with the reference voltage, i.e. the voltage
developed by the sensor when the beam is in steady or in equilibrium position to obtain the
error signal. The error signal is led into the controller and the control signal is then amplified
in the amplifier to the required level to actuate the actuator. The actuator will perform the
required action to control the vibration of the beam.
2.2.1. Sensor
Sensor used for the experimental work is PZT-SP-5H of size (76.2×25.4×1 mm). The
piezoelectric sensor is embedded on the Aluminium cantilever beam. When the beam is
vibrating, the PZT sensor will sense the vibration and will produce corresponding analog
voltage. The sensed signal is given to the controller. The output of the controller is applied to
the actuator and the actuator will control the vibration of the structure.
2.2.2 Controller
Selection and design of controller for a control system mainly depends upon the structural
system dynamics. Mathematical modelling of the structure is the criteria for the design of the
controllers. Some of the widely used industrial controllers are On-Off controllers, Proportional
(P) controllers, Proportional plus Derivative (PD) controllers, Proportional plus Integral (PI)
controllers, Proportional Plus Integral Plus Derivative (PID).
13
2.2.2.1 PID Controller
The PID controller is used to generate the control signal for the active vibration control of the
cantilever beam. The signal from the sensor is sent to the comparator, where the error signal
is calculated. The error signal is then processed to generate the control signal. The PID
controller is developed in Arduino IDE. The processing value; i.e., the gain for the control
signal is determined from the simulation study. The gain values are adjusted by trial and error
for getting accurate iterations. The block diagram of PID controller is shown in fig. 2.3
2.2.3 Accelerometer
Accelerometer is attached at the tip of the cantilever beam to measure the acceleration of
cantilever beam, when subjected to external vibration. In this study, MPU6050 accelerometer
is used.
2.2.4 Amplifier
The magnitude of the controller output is very small, which cannot actuate the piezoelectric
actuator because the voltage required for the PZT actuator is high. So a high-speed bipolar
voltage amplifier is used for this purpose. The bi-polar amplifier is having an amplification
factor of 10, 20 and 50. For the present study, the amplification factor is selected as 50. The
controller output is amplified by using bi-polar amplifier.
14
2.5 Experimental setup
Components-
The required parts for the active control of vibration i.e. cantilever beam with piezoelectric
patches mounted on it, controller, and the amplifier are prepared. The connections of the sensor
and controller are made, the output of the controller is given to the amplifier and the output of
the amplifier is connected to the actuator. Initially, the open loop testing of the system is done,
i.e. without switching On the control system. The fig.2.6 shows the response of the system in
Open loop. It can be seen from the graph that the settling time of the system is around 19
seconds, which is almost same as the transient response in simulation study.
15
Fig. 2.6 Uncontrolled response of the system
The fig.2.7 shows the transient response of the system in closed loop with control system
switched On. It can be seen from the graph that in controlled transient response, the system
almost settles at 7 seconds. Due to some spurious signals from the controller and external
disturbances, the system is excited. Error signals are generated and these errors are amplified
by the amplifier and system starts vibrating. To overcome this problem, programming of PID
controller is modified accordingly and then system settles.
A tip displacement of 60 mm was given using servomotor to the beam and the uncontrolled
and controlled response of the beam was tracked using the accelerometer. The obtained
values were processed in MATLAB© software and the corresponding graphs were plotted.
16
The settling time for uncontrolled system was found to be 19 seconds. The controlled and
uncontrolled response of the system is shown in fig 2.8. It can be seen from the graph that the
settling time of the system is 7 seconds which is almost 50% of the settling time for the
uncontrolled system.
17
Chapter 3
A Simulation study has been carried out to validate the result obtained by experimental work.
Initially the eigen values and eigen vectors are extracted, which are used to create state space
model in MATLAB©. A Proportional-Integral and Derivative controller is implemented in a
closed loop system to control the vibration of the smart cantilever beam.
An integrated structure is developed with piezoelectric sensor and actuator mounted on the
Aluminium cantilever beam. For better vibration control of the structure, the actuator is
mounted at the root of the cantilever beam. Modal analysis has to be carried out by which eigen
values and eigen vectors are generated, which can be used to create state space model. In order
to perform modal analysis, a finite element model is created in ANSYS ©.
18
3.2 Finite element modelling
A finite element model of the Smart structure is modelled in ANSYS ©. The three-dimensional
material properties are then assigned. The piezoelectric material properties are defined in
ANSYS©. SOL1D45 elements are used for the metal part and SOLID5 elements are used for
the piezoelectric part of the smart structure. The size of the Aluminium beam is 550×25.4×1
mm and piezoelectric sensor/actuator is 76.2×25.4×1 mm. The configuration of the smart
cantilever beam is shown in the fig. 3.1. Piezoelectric sensor and actuator is firmly bonded on
the Aluminium beam.
The actuator and sensor are fixed, where ‘l’ is the distance from the fixed end. It is taken as
20mm. Fixed boundary conditions are defined for the nodes at x=0. The degree of freedom,
VOLT is coupled for the nodes at the top and bottom surfaces of the actuator by the command
cp. The material properties of the Aluminium beam and piezoelectric sensor/actuator is as
follows:
Width=25.4mm
Thickness=1mm
Poisson’s ratio=0.3
Density=2770 kg/m3
19
Lead Zirconate Titanate (PZT):- Length= 76.2mm
Width=25.4mm
Thickness=1mm
The modal analysis of the cantilever beam is performed with a mesh size of 40×4×1.
(hz) (hz)
1 2.5 2.53
From the above table, it can be observed that there is a scope of improvement which means
that the result can be improved by selecting proper mesh size. The selection of proper mesh
size is called Convergence study.
In order to get accurate results of modal analysis by using finite element method, selection of
mesh size is important. The appropriate mesh size is derived through Convergence study
results. Convergence study in terms of natural frequency is formed in order to select the best
possible mesh size. The natural frequencies for different mesh size from the convergence study
is given in table 3.2.
20
The exact natural frequency of the cantilever beam can be obtained from the following equation
𝐸𝐼
𝜔 = 𝛽2 √𝐴𝜌
𝐴2 𝐸𝐼
𝑓 = 2𝜋 √𝑤𝑙4
In state-space modelling, three types of variables are constructed that are involved in the
modelling of dynamic system, which are input variable, output variable and state variable.
21
Where the coefficients aij, bij, cij and dij are constant, some of which may be zero. This equation
can be written in matrix expression as,
𝑥̇ = 𝐴𝑥 + 𝐵𝑢 ……………………………….…….………(iii)
𝑦̇ = 𝐶𝑥 + 𝐷𝑢 ………………………………………......….(iv)
Where,
The physical model of the cantilever beam is made in Autodesk inventor and then it is imported
to ANSYS© Workbench. The further modal analysis is conducted in order to get the respective
frequency values.
22
The meshed view is obtained in ANSYS© in order to obtain accurate frequency values.
The below fig. 3.4 indicates the modal analysis results for mode 1. (frequency 0.8097 Hz)
23
The below fig.3.5 indicates the modal analysis results for mode 2. (frequency 5.19Hz)
The below fig.3.6 indicates the modal analysis results for mode 3. (frequency 14.22 Hz)
24
The below fig.3.7 indicates the modal analysis results for mode 4. (frequency 27.933) Hz
The transient response is observed by simulating transient analysis on the cantilever beam to
which the piezoelectric patch is attached. The result shows that the beam has a settling time of
18 seconds.
25
3.8 Closed loop Transient Response Analysis of Smart Cantilever
Beam using MATLAB Software-
A closed loop system is implemented with a PID controller and closed loop transient response
of the structure is obtained. The closed loop transient response is shown in the fig3.9. The
closed loop response shows the settling down of the beam with a settling time of 6 sec.
26
Chapter 4
Conclusion
27
Appendix
#include <Servo.h>
Servo myServo;y[[[[[pppppp
int pos=0;
void setup() {
// put your setup code here, to run once:
myServo.attach(9);
myServo.write(110);
delay(5000);
for (pos = 110; pos >= 0; pos -= 1) { // goes from 0 degrees to 180 degrees
// in steps of 1 degree
myServo.write(pos); // tell servo to go to position in variable 'pos'
#include<Wire.h>
const int MPU6050_addr=0x68;
int16_t AccX,AccY,AccZ,Temp,GyroX,GyroY,GyroZ;
void setup(){
Wire.begin();
Wire.beginTransmission(MPU6050_addr);
Wire.write(0x6B);
Wire.write(0);
28
Wire.endTransmission(true);
Serial.begin(9600);
}
void loop(){
Wire.beginTransmission(MPU6050_addr);
Wire.write(0x3B);
Wire.endTransmission(false);
Wire.requestFrom(MPU6050_addr,14,true);
AccX=Wire.read()<<8|Wire.read();
AccY=Wire.read()<<8|Wire.read();
AccZ=Wire.read()<<8|Wire.read();
Temp=Wire.read()<<8|Wire.read();
GyroX=Wire.read()<<8|Wire.read();
GyroY=Wire.read()<<8|Wire.read();
GyroZ=Wire.read()<<8|Wire.read();
Serial.print("AccX = "); Serial.print(AccX);
Serial.print(" || AccY = "); Serial.print(AccY);
Serial.print(" || AccZ = "); Serial.print(AccZ);
Serial.print(" || Temp = "); Serial.print(Temp/340.00+36.53);
Serial.print(" || GyroX = "); Serial.print(GyroX);
Serial.print(" || GyroY = "); Serial.print(GyroY);
Serial.print(" || GyroZ = "); Serial.println(GyroZ);
delay(100);
}
[numdof, num_modes_total]=size(xn);
in_node=numdof;
out_node=numdof;
x=xn;
f=freqvec;
w = (f*2*pi);
29
w2=w.^2;
alpha=0.687;
beta = 2.89*1e-4;
for cnt=1:num_modes_total
zeta(cnt,1)=(alpha+beta*w2(cnt))/(2*w(cnt));
w(cnt);
end;
format long
zw=2*(zeta.*w);
asize=2*num_modes_total;
a=zeros(asize);
for col=2:2:asize
row=col-1;
a(row, col)=1;
end;
for col=1:2:asize
row=col+1;
a(row, col)=-w2((col+1)/2);
end;
for col=2:2:asize
row=col;
a(row, col)=-zw(col/2);
end;
f_physical=zeros(numdof,1);
f_physical(numdof)=1;
f_principal=x'*f_physical;
b=zeros(2*num_modes_total,1);
for cnt=1:num_modes_total
b(2*cnt)=f_principal(cnt);
30
end;
for col=1:2:2*num_modes_total
for row=1:numdof
c(row, col)=x(row, ceil(col/2));
cvel(row, col)=0;
end
end
for col=2:2:2*num_modes_total
for row=1:numdof
c(row, col)=0;
cvel(row, col)=x(row,(col/2));
end
end
d=[0];
sysp=ss(a,b,c(out_node,:),d);
figure(1);
dt=0.0005;
ttotal=2;
t=linspace(0,ttotal,ttotal/dt);
u_ex=zeros(size(t));
u_ex(1)=1;
[disptip, ts]=lsim(sysp, u_ex,t);
plot(ts, disptip,'r.-');
hold on;
grid on;
xlabel('Time(s)');
ylabel('Displacement(m)');
freqlo=1;
freqhi=100000;
31
flo=log10(freqlo);
fhi=log10(freqhi);
f=logspace(flo,fhi,200);
frad=f*2*pi;
[magdisptip, phsdisptip]=bode(sysp, frad);
magdisptipdb=20*log10(magdisptip);
figure(2);
semilogx(f, magdisptipdb(1,:),'r.-');
hold on;
grid on;
xlabel('log w');
ylabel('20logM');
order=6;
accn=filtfilt(b1,a1,acc);
vel=cumtrapz(time,accn);
vel1=filtfilt(b1,a1,vel);
disp=cumtrapz(time,vel1);
plot(time,disp);
xlabel('time (s)');
ylabel('Displacement(m)');
32
5. ARDUINO code for PID controller
#include <Servo.h>
Servo myServo;
int pos=0;
#include <PID_v1.h>
#define PIN_INPUT A0
#define PIN_OUTPUT A1
//Define Variables we'll be connecting to
double Setpoint, Input, Output;
// in steps of 1 degree
myServo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}}
void loop()
33
{if(analogRead(PIN_INPUT)<400 && analogRead(PIN_INPUT)>700)
{Input = analogRead(PIN_INPUT);
Serial.println(Input);
myPID.Compute();
analogWrite(PIN_OUTPUT, Output);
}
else
{analogWrite(PIN_OUTPUT, 0);
}}
34
References
35