Time Multiplexing CNN Simulator Using RK7 (5) : R I 1, M J 1, N
Time Multiplexing CNN Simulator Using RK7 (5) : R I 1, M J 1, N
Time Multiplexing CNN Simulator Using RK7 (5) : R I 1, M J 1, N
1,2
Osama H. Abdelwahed
1
2
Department of Computer Science, Faculty of Computers and Informatics, Suez Canal University, Egypt
-************************Abstract
RK7(5) is a numerical method was used to minimize the local truncation error using selection step size algorithm.
Time multiplexing CNN simulator was modied using RK7(5) to improve the performance of the simulator and the
quality of the output image for edge detection. The results showed better performance than those in the literature.
Keywords Cellular neural network; Image processing; CNN simulator; RK7(5); Local truncation error
-************************-
Introduction
Page 171
X
dxij
(t) = xij (t) +
A(i; j; k, l)ykl (t)+
dt
C(k,l)
X
B(i; j; k, l)ukl (t) + Iij
(6)
C(k,l)
f (x) =
1
(|x + 1| |x 1|)
2
(3)
B
Eij
=
3
X
(7)
i=1
Where,
Iyx
1
=
f (xij )
Ry
(4)
1
(|xij (t) + 1| |xij (t) 1|)
2
(5)
3
X
(8)
i=1
Page 172
6. End
The most important point of the above steps will be the
proposed numerical integration algorithm RK7(5) that
will be presented in section (4.1). The main purpose of
this algorithm is to reduce the CPU time or simulation
time and to improve the edge detection results.
4
Figure 3: The structure of time multiplexing CNN simulator [9]
4.1
Page 173
k1ij = f (xij (n ))
1 ij
k
18 1
0
1
k3ij = f (xij (n )) + k1ij
9
0
1
1
k4ij = f (xij (n )) + k1ij + k2ij
24
8
0
2183971
k5ij = f (xij (n )) +
k ij
4000000 1
8340813 ij 3968421 ij
k +
k
4000000 3
2000000 4
0
695768212 ij
k6ij = f (xij (n ))
k
746374411 1
1803549175 ij 3474507053 ij
k +
k
7007942496 3
6790877290 4
2188198899 ij
+
k
15264927763 5
0
118949348557 ij
k
k7ij = f (xij (n ))
8390623634 1
53094780276 ij 8415376229 ij
+
k
k
9800512003 3
2277049503 4
18647567697 ij 275514944893 ij
k +
k
10138317907 5
11905950217 6
0
30828057951 ij
k
k8ij = f (xij (n ))
7654644085 1
4511704 ij 16217851618 ij
k +
k
324729 3
1651177175 4
282768186839 ij 104400780537 ij
+
k
k
40694064384 5
15869257619 6
5409241639 ij
k
+
9600177208 7
0
133775720546 ij
k9ij = f (xij (n ))
k
26753383835 1
49608695511 ij 5989647201 ij
k
k
+
4066590848 3
7901259813 4
48035527651 ij 86266718551 ij
k +
k
5727379426 5
10188951048 6
7751618114 ij 2289274942 ij
k +
k
23575802495 7
8464405725 8
0
k2ij = f (xij (n )) +
hn+1 = f1 hn
tolerance
errn
1
q+1
(10)
errn '
yn yn
hn
(11)
Simulation Results
The input image which is used for testing is the Mona Lisa
image. The edge detection results are shown in Fig. (4).
The input image and the edge detection results are shown
in Fig. (4a) and Fig. (4b) respectively.
597988726 ij
k +
12374436915 1
3138312158 ij
480882843 ij
988558885 ij
k4 +
k5 +
k +
11968408119
7850665645
3512253271 6
5302636961 ij
1259489433 ij
1016647712 ij
k7 +
k8 +
k
26425940286
12163586030
23899101975 9
(9)
xij ((n + 1) ) = xij (n ) +
Page 174
Conclusion
References
From these results we notice that the value of the step
size h using our method is higher than those in the related
work. Hence the simulation time for the proposed method
is decreased. . We notice that the value of h is considered
to have a value to be increased to some range in order to
avoid the divergence status. On the other hand, the value
of h should be not very small because this implies more
computation time as in the case of using Euler method.
Method
Euler
RK-Gill
RK-Butcher
RK 6(4)
EA
0.785
0.676
0.543
0.329
EB
0.885
0.764
0.551
0.428
[1] M. Bader. A comparative study of new truncation error estimates and intrinsic accuracies of some
higher order runge-kutta algorithms. Computers and
Biomedical Research Chemistry, pages 121124, 1987.
[2] M. Bader. A new technique for the early detection of
stiness in coupled dierential equations and application to standard runge-kutta algorithms. Theoretical
Chemistry Accounts, pages 215219, 1988.
[3] L. O. Chua and L. Yang. Cellular neural networks:
Theory and applications. IEEE Trans. Circuits and
Systems, 1988.
[4] T. E. Hull, W. H. Enright, B. M. Fellen, and A. E.
Sedgwick. Comparing numerical methods for ordinary dierential equations. Comparing numerical
methods for ordinary dierential equations, 9:603
637, 1972.
[5] C.C. Lee and JP. de. Gyvez. Single-layer cnn simulator. In IEEE International Symposium on Circuits
and Systems, 1994.
Page 175
[9] V. Murugesh and K. Murugesan. Simulation of timemultiplexing cellular neural networks with numerical
integration algorithms. In Lecture Notes in Computer
Science, volume 3991, pages 457464, 2006.
[10] S.C. Oliveira. Evaluation of eectiveness factor of
immobilized enzymes using rungekutta-gill method:
how to solve mathematical undetermination at particle center point? Bio Process Engineering, 20, 1999.
[11] L. F. Shampine. Some practical runge-kutta formulas.
Math. Comp., 46:135150, 1986.
[12] CH. Tsitouras and S. N. Papakostas. Cheap error
estimation for rungekutta methods. SIAM J. Sci.
Comput., 20(6):20672088, 1999.
Page 176