Академический Документы
Профессиональный Документы
Культура Документы
http://www.cisjournal.org
ABSTRACT
In this paper, wavelet based PID controller is studied. There are two different approaches by which a frequency analysis of
a time dependent signal can be affected, locally in time. The first procedure is the short-time FT, the second is the ‘wavelet
Transform' in which high frequency component are studied with sharper time resolution than low frequency components.
The similarities and differences between these two are studied. The principle of PID control system is simple and function
is robust if it were well tuned, however it tends to fall in sustaining oscillations state because of bad tuning in actual plant.
The non-linear and time-varying natures of the process together with the large disturbances of several types were the key
challenge for the control design. A controller based on multi- resolution decomposition using wavelets is presented in the
paper. The controller is similar to proportional integral derivative controller in principle and application. The principle of
PID control system is simple and function is robust if it were well tuned, however, it tends to fall in sustaining oscillation
state because of bad tuning in actual plant. Also, the output from a control system represents the cumulative effect of
uncertainties such as measurement noise, frictional variations and external torque disturbances which manifest at different
scales. These scales are then used to compensate for the uncertainties in the plant. The wavelet is used to decompose the
error signal into signals at different scales. These signals are then used to compensate for the uncertainties in the plant.
http://www.cisjournal.org
frequency ‘f’. this means that major portion of this signal functions obtained by shifting and dilating the graph of a
is composed of frequency f. If the integration result is a wavelet.
small value, then this means that the signal does not have a ψa,b (τ) = 1/√a ψ ( (t−b)/a) ,..(1.3)
major frequency component of frequency in it. If this
integration result is zero, then the signal does not contain Where b is the shift or center of ψa,b , and a is
the frequency at all. So, the information provided by the the scale. Alternatively, the scaling factor 1/a may be used.
integral, corresponds to all time instances, since the If a > 1, then ψa,b is obtained by stretching the graph of ψ,
integration from minus infinity to plus infinity overtime. It and if a < 1, then the graph of ψ is contracted. The value a
follows that no matter where in time the component with corresponds to the notion of frequency in Fourier analysis.
frequency ‘f’ appears, it will affect the result of integration Wavelet transform can treat time and frequency
as well. This is why Fourier transform is not suitable if the simultaneously in time-frequency domain. The wavelet
signal has time varying frequency i.e. the signal is non- transform seems to provide another vehicle in developing
stationary.[3] high performance controllers based on PID principles.
Fourier transforms (transformation to frequency The basic idea of multi-resolution analysis is to
domain) and wavelet transform (transformation to time- represent a function as a limit of successive
frequency domain) are carried out to compare these two approximations.[3][4] Each of these successive
transformations. The case of Fourier transform is a power approximations is a smoother version of the original
spectrum with 2-dimensional coordinate system where function with more and more of the finer details added.
frequency (or period) at the abscissa axis and power Consider a continuous signal f (t) and generate the
(square of amplitude) at the ordinate axis is drawn in the following sequence of approximation. The continuous
frequency domain where the time factor is lost. wavelet transform was computed by changing the scale of
On the other hand, in case of wavelet transform, analysis window, shifting the window in time, multiplying
3-dimensional information (containing time factor)is by the signal, and integrating over all times. In multi
provided, where time at the abscissa axis, frequency(or resolution analysis, filters of different cut-off frequencies
period) at the ordinate axis and amplitude intensity by are used to analyze the signal at different scales. The
contour lines with different hues are presented. signal is passed through a series of high pass filters to
analyze the high frequencies, and it is passed through a
II.2 Wavelets and Multi -Resolution series of low pass filters to analyse the low frequencies.
Decomposition The resolution of the signal, which is a measure of the
A wavelet is defined like a wave of very short amount of detail information in the signal, is changed by
duration. The wavelet function ψ(t) is called mother the filtering operations, and the scale is changed by the up
wavelet because different wavelets are generated from it, sampling and down sampling operations. Each
by its dilation to contraction and translation, these are approximation is expressed as a weighted sum of the
called daughter wavelet ψ a.b (τ) and its mathematical shifted versions of the same function.
representation is Subsampling a signal corresponds to reducing the
ψ a.b (τ) = ψ(t-b) a>0; a,b₃R;τ=(t-b)/a..(1.2) sampling rate, or removing some of the samples of the
signal. For example, subsampling by two refers to
Where a is the dilation variable and b is the translation dropping every other sample of the signal. Subsampling
variable. There are different mother wavelets like: Haar, by a factor n reduces the number of samples in the signal n
Mexican Hat, Morlet, Meyer, Daubechies, Rasp1 and times. Upsampling a signal corresponds to increasing the
others more. sampling rate of a signal by adding new samples to the
Some well-known wavelets are: signal.for example, upsampling by two refers to adding a
new sample, usually a zero or an interpolated
1. Mexican hat: useful for detection in computer value,between every two samples of the
vision. It is the second derivative of a Gaussian signal.Upsampling a signal by a factor of n increasesthe
function. number to samples in the signal by a factor of n.
2. Haar: The first wavelet, introduced in 1909. Although it not the only possible choice, DWT
Its simple definition is helpful for computing coefficients are usually sampled from the CWT on a
wavelet transforms, but because it is not dyadic grid, i.e., s0 = 2 and τ 0 = 1, yielding s=2j and τ
continuous, it is not as useful as other wavelets =k*2j. This sequence will be denoted by x[n], where n is
for analyzing continuous signals. an integer. The procedure starts with passing this signal
3. Daubechies-2p: Wavelets with p vanishing (sequence) through a half band digital lowpass filter with
moments, to represent poly-nomials of degree impulse response h[n]. Filtering a signal corresponds to
at most p − 1. A Daubechies-2 wavelet is the mathematical operation of convolution of the signal
equivalent to the Haar wavelet. As p increases, with the impulse response of the filter.
signals can be represented using fewer The convolution operation in discrete time is
coefficients, due to fewer scales being required. defined as follows:
http://www.cisjournal.org
P out= K p e(t)
A half band lowpass filter removes all A high proportional gain results in a large change
frequencies that are above half of the highest frequency in in the output for a given change in the error. If the
the signal. proportional gain is too high, the system can become
unstable. In contrast, a small gain results in a small output
response to a large input error, and a less responsive (or
sensitive) controller. If the proportional gain is too low,
the control action may be too small when responding to
system disturbances. Summing the instantaneous error
over time (integrating the error) gives the accumulated
offset that should have been corrected previously. The
accumulated error is then multiplied by the integral gain
and added to the controller output. The magnitude of the
contribution of the integral term to the overall control
action is determined by the integral gain,
Ki.
The integral term is given by:
I out = K i ∫e(t)
19
Volume 2 Special Issue ISSN 2079-8407
Journal of Emerging Trends in Computing and Information Sciences
http://www.cisjournal.org
taken "offline" for tuning, and the response time of the PID controllers, when used alone, can give poor
system. If the system can be taken offline, the best tuning performance when the PID loop gains must be reduced so
method often involves subjecting the system to a step that the control system does not overshoot, oscillate about
change in input, measuring the output as a function of the control set point value. They also have difficulties in
time, and using this response to determine the control the presence of non-linearity, may trade off regulation
parameters. versus response time, do not react to changing process
TABLE 1 behaviour , and have lag in responding to large
disturbances.
III.2 Limitations of PID control Each of these components are scaled by their
respective gains and then added together to generate the
While PID controllers are applicable to many control signal u or Applying wavelet decomposition to the
control problems, and often perform satisfactorily without error signal, as well as the cumulative effect of many
any improvements or even tuning, they can perform underlying phenomenon such as measurement noise and
poorly in some applications, and do not in general provide effects of external disturbances, which manifest on
optimal control. The fundamental difficulty with PID different scales.
control is that it is a feedback system, with constant Then each one of these components is scaled by
parameters, and no direct knowledge of the process, and its respective gain and then added together to generate the
thus overall performance is reactive and a compromise – control signal (u).
while PID control is the best controller with no model of
the process, better performance can be obtained by u =K H e H + K M1 e M1 + . . . +K MN-1 +K L e L (1.8)
incorporating a model of the process.
The most significant improvement is Unlike a PID controller, which has three tuning
to incorporate feed-forward control with knowledge about parameters (Kp, K i , K d ), an MRPID can have two or
the system, and using the PID only to control error. more parameters based on the no. of decomposition levels
Alternatively, PIDs can be modified in more minor ways, performed on the error signal.
such as by changing the parameters, improving
measurement (higher sampling rate, precision, and
accuracy, and low-pass filtering if necessary), or
cascading multiple PID controllers.
20
Volume 2 Special Issue ISSN 2079-8407
Journal of Emerging Trends in Computing and Information Sciences
http://www.cisjournal.org
REFERENCES
[1] Shahid Parvez and Zhiqiang Gao, “A wavelet based
multi-resolution PID Controller,” IEEE Trans. on
industry application, vol. 41, no. 2, pp. 537-543,
mar 2005.
21