Vous êtes sur la page 1sur 4

International Journal of Trend in Scientific

Research and Development (IJTSRD)


International Open Access Journal
ISSN No: 2456 - 6470 | www.ijtsrd.com | Volume - 2 | Issue – 5

Application of Adaptive Filter in Neural Network


S. Sree Ragavi, S. Ramadevi
Department of Mathematics
Mathematics, Vivekanandha College of Arts and Sciences for Women
(Autonomous), Elayampalayam
Elayampalayam, Thiruchengode, Namakkal, Tamil Nadu,
Nadu India

ABSTRACT
The snag of common linear filtered filtered-∈ Adaptive (𝑘)], 𝑓(0,0) = 0 
𝑥(𝑘 + 1) = 𝑓[𝑥(𝑘), 𝑢(𝑘
(1)
Inverse Control (AIC) method is modify to hold with 𝑦(𝑘) = ℎ[𝑥((𝑘)]
the characteristic of non-linear
linear object with time delay
and corresponding filtered ∈-adaptive
adaptive Algorithm Where 𝑓( . ) is a non-linear
linear function, 𝑢(𝑘) and 𝑦(𝑘)
based on Real-Time
Time Recurrent Learning (RTRL) is respect output and input variables, respectively. The
presented to identify the parameters and ddesign the principles of inverse control can be extended to deal
controller. The simulation result on a non
non-linear ship with non-linear
linear system, through non-linear
non system has
model of “The R.O.V. Zeefakkel” and Adaptive PID no strict inverse model. Whereas a linear system
control keeps the same dynamic response possesses a unique inverse, non-linear
non systems have
performance, and also mathematical model for ship only local inverses, valid in a bounded region of the
Course keeping be discussed. A neural network signal space. The non-linear
linear system is supposed to has
adaptive
ive filter is introduced for the removal of Bounded-Input
Input Bounded Output(BIBO) stability, i.e.,
impulse noise in digital images. there are existing constants 𝐶 and 𝐶 , and for the
input 𝑢(𝑘) ∈ 𝑠 , 𝑠 = {𝑢: ∣𝑢(𝑘 𝑘) ∣≤ 𝐶 , ∀𝑘 ≥ 𝑘 }, the
Keyword: Filtered-∈ Adaptive Inverse Control, Ship system output 𝑦(𝑘) satisfies: ∣y(k)∣≤ 𝐶 . If its
course keeping, impulse noise detection and removal. linearized system is observable at balance point
INTRODUCTION 𝑥 = 0, the non-linear
linear system described by (1) has
Adaptive Inverse Control (AIC) is novel approaches local NARMA (Non-linearlinear Auto-Regressive
Auto Average)
which can make a plant track the input command model as follows
signal with a controller whose transfer function 𝑦(𝑘 + 𝑑) = 𝐹[𝑦(𝑘),
𝐹 …
approximates the inverse of plant transfer function. 𝑦 𝑘 − 𝑛 , 𝑢(𝑘), … , 𝑢((𝑘 − 𝑛 )] (2)
Compared with traditional methods, AIC can achieve
specified
fied dynamic responses more easily and has Where 𝑛 and 𝑛 are the orders of input time series
better ability of disturbance rejection. Simulation and output time series respectively: 𝑛 < 𝑛 , 𝑑 is
comparison with previous scheme and adaptive PID system delay which can ensure the existence of
control are performed on the non non-linear ship system inverse model, and 𝐹(( . ) is certain non-linear
maneuvering to test the effect of improved algorithm. function. If 𝐹( . ) is monotonic change with (𝑘) ,
The impulse noise
oise detection and removal of impulse system (1)is invertible in the input spectrum 𝑆 . If the
noise while preserving the integrity of an image input signal is 𝑦 (𝑘 + 1)) at time(𝑘 + 1), the
expressed mathematically be discussed. controller can be expressed as
𝑢(𝑘) = 𝑔[𝑦 (𝑘 + 1), 𝑦(𝑘),( ) ……..,𝑦 𝑘 − 𝑛 +
The Improved Filtered-∈ Adaptive Inverse 1, 𝑢𝑘−1,………𝑢𝑘−𝑛𝑢+1(3)
Control
The Single Input Single Output (SISO) discrete
discrete-time
Function 𝐹( . ) and 𝑔( . ) are both unique. Under the
nonlinear system to be considered
idered is described by n
dreive of 𝑢(𝑘), the plant output will track the input
dimension state equations as below
signal of the inverse controller.

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 5 | Jul-Aug


Aug 2018 Page: 1991
International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470
2456
Identification of Delay Time Complexity Where 𝜇 and 𝜂 denote the step size and momentum
The output of a non-linear
linear system with timetime-lag co-efficient
efficient respectively, and ∇ (𝑘) represents the
characteristic can be described as below
ow form gradient of 𝐽 with respect to controller weights 𝑊 :
΄(
𝑦(𝑘) = 𝑓(𝑥(𝑘 − 𝑑), … , 𝑥(𝑘 − 𝑚 − 𝑑), )
∇ (𝑘) = =
𝑦(𝑘 − 1), … . . 𝑦(𝑘 − 𝑛)) (4)
( ( ) ( ∆)
= 𝜀 ΄ (𝑘)
Where 𝑥(𝑘) and 𝑦(𝑘) represent the input and output ( ∆)
of system at time 𝑘, 𝑚 and 𝑛 are the input and output = −𝜀 ΄ (𝑘) (7)
order , 𝑑 is system delay time, and 𝑓( . ) is the transfer
function of this non-linear system. Where
( ∆)
is the ∆ −delayed
delayed partial derivative of
If we use neural network to model such a non non-linear 𝐶 output 𝑢(𝑘) with respect to its weights 𝑤 at time 𝑘.
plant, the training effectiveness will be greatly It is updated by the chain rule:
influenced by the samples of input vector collected in 𝑑𝑢(𝑘)
different range. Therefore, such network can be used 𝑑𝑊
as delay-time
time identifier. Here a nonnon-linear auto- 𝜕𝑢(𝑘) 𝜕𝑢((𝑘)) 𝜕𝑟(𝑘 − 𝑛)
regressive with exogenous inputs ( NARX) network = +
𝜕𝑊 𝜕𝑟(𝑘 − 𝑛)𝑛 𝜕𝑊
is used, which can be described as
𝑥(𝑘) = [𝑥(𝑘), … . , 𝑥(𝑘 − 𝑎
𝑎), 𝑢(𝑘) 𝜕𝑢(𝑘 − 𝑚)
𝜕𝑢
𝑦(𝑘 − 1), … . 𝑦(𝑘 − 𝑏)] (5) +
𝜕𝑢(𝑘 − 𝑚) 𝜕𝑊
( ) ( ) ( )
Where a and b denotes the length of tapped delay = +∑ (8)
( )
lines of input and output feedback, respectively. The
plant input/output data pairs collected in certain time
period are used to train the NARX network, and many ( ) ( ) ( )
research result have demonstrated that the sa sample The terms , ( )
and ( )
are the direct
range of 𝑢(𝑘) changing from not including the first effect of a change in the weights, previous inputs and
delayed input signal 𝑎 = 𝑑 − 1 to including it, outputs on the current output respectively, and these
i.e.,𝑎 = 𝑑 − 1 → 𝑎 = 𝑑,, will cause the training partial derivatives may be computed directly using the
effectiveness having a great improvement, and hence back-propagation
propagation algorithm.
( )
is simply a
the delay time d of controlled plant can be confirmed.
( )
previously-calculated
ted and stored value of . For i
Improved Filtered-𝜺 Algorithm ()
The NARX filter is also used to the controller = 0, −1, −2, … . , are set to zero. We also note
modeling. For including self-feedback,
feedback, it must be that
( )
, the partial derivative of the input of 𝐶
adapted using a method such as Real-Time
Time Recurrent
Learning (RTRL) or Back-propogation
propogation Through Time with respect to its weights, is zero for all𝑘.
(BPTT). Considering the real-timetime requirement of
practical application, we propose the filtered
filtered-𝜀 SIMULATION RESEARCH
algorithm based on RTRL. To model𝐶 , RTRL usually We apply the improved Filtered-𝜀
Filtered AIC method
proposed in this paper to the control of non-linear
non ship
needs to obtain the error 𝜀 ∗ between 𝐶 and the ideal
maneuvering.. As a typical non-linear
non system with
controller outputs, and then 𝐶 parameters can be time-lag
lag characteristic, ship can be described by the
adjusted via the principle of gradient descent to non-linear model.
minimize the objective function 𝐽 = (𝜀𝜀 ∗ ) /2 , but 𝜀 ∗
𝑇𝜓̈ + 𝜓̇ + 𝛼𝜓̇ = 𝐾𝛿 + 𝜔 (9)
is unknown in practical AIC implementation. In
improved filtered-𝜀 algorithm, 𝜀 ∗ is replaced by
Where 𝜓 is the yaw angle, 𝛿 is the control rudder
system error 𝜀 ΄ which is filtered by 𝑃Δ to adapt 𝐶 angle,𝑇, 𝐾 and 𝛼 are the model parameter, and 𝜔 is
parameters. The update algorithm can be expressed as the external disturbance.
follows
𝑊 (𝑘 + 1) = 𝑊 (𝑘) ( ) The ship model used in the simulation study is
+𝜇(1 − 𝜂) −∇ (𝑘) + 𝜂𝑊 (𝑘) (6) adapted from Van Amerongen (1982). In this

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 5 | Jul-Aug


Aug 2018 Page: 1992
International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470
reference , “The R.O.V. Zeefakkel” is described by Where 𝛼 , 𝛽 represent the scale co-efficient of the first
the following set of parameters and the ship ‘R.O.V. and the third power of the rate of turning 𝜓̇ . Specific
Zeefakkel’ of 45 m length can be represented by the parameter value depends on the factors like ship type,
non-linear mathematical model and the model stowage, ship speed, etc. Taking 𝜓 as ship heading
parameters for a ship speed of 10 knots be Ship length angle, then 𝜓̇ = 𝑟 ; meanwhile, taking the frequently
𝐿 = 45m, service speed 𝑣 = 5.0m/s, gain constant influence from uncertain interference such as wind,
𝑘 = 0.5𝑠 , time constant 𝑇 = 31s, and Norrbin co- wave and current into consideration, the non-linear
efficients 𝑛 = 1.0, 𝑛 = 0.4(𝑠) . In order to evaluate dynamic equation of ship course-keeping system
the performance of the improved filtered-𝜀-AIC could be written as:
scheme, conventional filtered-𝜀 AIC and adaptive PID 𝜓̇ = 𝑟
control are also performed. In the simulation, the   (3)
sampling period 𝑟̇ = − (𝛼𝑟 + 𝛽𝑟 ) + 𝛿 + ∆ ,
𝑇 ΄ = 0.1 𝑠.
Where ∆ is the uncertain interference. According to
°
(a)Firstly the ship ±10 course-changing test is engineering practice, ∆ is usually bounded
performed without external disturbance, namely disturbance, assuming there is an unknown constant
𝜔 = 0. At 𝑘 = 300𝑠, the ship time constant constant could meet the equation (1) on the basis of hypothesis.
𝑇 changes from 31 s to 45 s. Clearly the conditional
filtered-𝜀 AIC has much better dynamic performances ∥△∥∞ ≤ 𝜌 , 𝜌 is a unknown positive constant.
than that of the adaptive PID control, but there (4)
existing static error in it for the influence of the
change of plant delay time. In contrast, the improved Impulse Noise Detection and Removal
scheme avoids static error and at the mean time, it has When an image is coded and transmitted over a noisy
kept the same dynamic performances as conventional channel or degraded by electrical sensor noise, as in a
filtered-𝜀 AIC method. vidiction TV camera, degradation appear as “salt
and-paper” noise (i.e., positive and negative
(a) The second simulation to be examined is the impulses). Two models have been proposed to
disturbance rejection ability. The external disturbance describe impulsive noise (Justusson, 1981). The first
is chosen as model assumes fixed values for all the impulses, and
𝜔 = 4.5° 𝐻 + 3.44° 𝐻 (10) the second model allows the impulses to follow a
random distribution. In this work, only the first model
Where 𝐻 and 𝐻 are normally distributed random is dealt with. The model is mathematically expressed
numbers with mean 0, varience 𝜎 = 1. The as
comparison of the response curves between improved 𝑑 𝑤𝑖𝑡ℎ 𝑝𝑟𝑜𝑏𝑎𝑏𝑖𝑙𝑖𝑡𝑦 𝑃
method and conventional ones. It can be clearly seen 𝑥 = 𝑑 𝑤𝑖𝑡ℎ 𝑝𝑟𝑜𝑏𝑎𝑏𝑖𝑙𝑖𝑡𝑦 𝑃  
that the improved scheme has better disturbance 𝑓 𝑤𝑖𝑡ℎ 𝑝𝑟𝑜𝑏𝑎𝑏𝑖𝑙𝑖𝑡𝑦 1 − (𝑃 + 𝑃 )
rejection ability.
Where 𝑓 denotes the uncorruped pixel values, 𝑑
Ship Course-Keeping Mathematical Model denotes the fixed value of the positive impulses, 𝑑
Equation (1) gives linear first-Order Nomoto model denotes the fixed value of the negative impulses, and
which is used for ship course-keeping 𝑥 denotes the pixel values of the degraded images.
𝜓̈ + 𝜓̇ = 𝛿, (1)
Noisy pixels can be characterized by their local
statistical properties. To extract features from local
Among these, 𝜓 is the ship heading angle, 𝛿 is the
statistics, a window is used to pass through the entire
rudder angle, 𝐾 is the steering gain index, 𝑇 is the
noise degraded image. Theoretically, the size of the
ship following index. It presents a Nomoto model
based responding type of non-linear mathematical window is arbitrary. However, a 3×3 window is good
enough in most applications. From the small window,
model, that is using a non-linear item (𝐾 /𝑇 )𝐻(𝜓̇) to
useful local features are obtained, such as mean,
replace 𝜓̇/𝑇 , and median, variance, range, and extreme range. Noise
𝐻(𝜓̇) = 𝜓̇ + 𝛽𝜓̇ , (2) detection is then treated as a pattern classification
problem. Assume that 𝑀 features are measured from

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 5 | Jul-Aug 2018 Page: 1993
International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470
each input pattern. Each set of 𝑀 features is CONCLUSION
considered as a vector in the M-dimensional feature In this paper, an improved nonlinear filtered-𝜀 method
space. Pattern classification is accomplished by a self- is introduced and adaptive PID control are performed
organising neural network which is capable of cluster on the control of non-linear ship maneuvering and
analysis for image data. also mathematical model for ship Course-Keeping and
impulsive noise be expressed.
The neural network proposed in this paper is a
simplified version of ART I (Carpenter & Gross berg, REFERENCE
1987). However, it is capable of grey – level 1. Widrow B, Walach E. Adaptive inverse control.
classification. It has two layers: the input layer and the Englewood cliffs, N J: Prentice-Hall press, 1996.
output layer. These layers are connected by feed
2. Zhang Y H, Liu S X. An adaptive automatic ship
forward paths. The nodes of output layer are lateral
steering system. Shipbuilding of china, 1991.
inhibitive to one another. They are designed as a
competitive network capable of choosing the winning 3. Nieminen, A., Heinonen, P., & Neuvo, Y. (1987).
node. The set of weights 𝑢 for any specific node A new class of detail-preserving filters for image
𝑖 constitute the prototype pattern for cluster𝑖. The processing. IEEE Transactions pattern Analysis
clustering algorithm starts from isolated patterns and Machine Intelligence.
coalesces the nearest patterns or groups according to a 4. Zhang Xianku, Lu Xiaofei, Guo Chen, Yang
threshold from the bottom up to form hierarchies. The Yansheng, Robust Neural Network Control for
essential point of this algorithm is to build up the Ship’s Course-Keeping, Journal of Ship
clusters using the Euclidean distance measure Mechanics, Vol. 10, Issue 5, 2006.
between the input 𝑠 and the weights𝑢 . Assume a
sequence of pattern samples 5. Du Gaang, Zhan Xingqun, Zhong Shan, Zhang
Weiming, Adaptive inverse control of non-linear
𝑠 = (𝑠 , 𝑠 ,….𝑠 ) 𝜖 𝑅
ship manueuvering based on Neural Networks,
and a set of weight vectors
Measuring and Testing Technique, Vol. 24 Issue
𝑢 = (𝑢 , 𝑢 , … , 𝑢 ) ∈ 𝑅
4, 2005.
It is well known that similarities exist between ART
and Kohonen’s self-organising map.

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 5 | Jul-Aug 2018 Page: 1994

Vous aimerez peut-être aussi