Professional Documents
Culture Documents
Rk4 Method PDF Free
Rk4 Method PDF Free
ABSTRACT 1. INTRODUCTION
The dual deterministic-stochastic behavior of chaotic
CS have produced a deep change in our vision of nature
systems (CS) makes them extremely interesting in elec-
because of two opposite properties they have: (a) they
tronic engineering as CS may replace noise sources in
are deterministic because their dynamics is governed by
different applications. Consequently it is convenient to
a known mathematical model and (b) they are extremely
have hardware implementations for both, analog and dig-
sensitive to initial conditions, and consequently their long
ital versions. Discrete components, Micro Controllers,
term dynamics is unpredictable for finite precision im-
Digital Signal Processors (DSP) and Field Programmable
plementations, and it is better described by means of
Gate Arrays (FPGAs) are possible choices.
statistical tools. In summary, CS must be included in
For digital realizations the Ordinary Differential Equa-
the class of deterministic systems and also in the class
tions (ODE’s) are replaced by a discrete time system.
of stochastic systems.
Furthermore numerical values are expressed in a numer-
The deterministic-stochastic duality makes CS spe-
ical representation. It is well known that these two dis-
cially interesting for electronic engineering applications,
cretization processes may strongly affect the chaotic be-
since the signals generated by CS can be used as con-
havior of the system.
trolled noise sources; this is a strong motivation to study
In previous contributions we considered the use of
hardware implementations of CS.
the Euler’s algorithm in two different numerical repre-
It is important to remark that any digital realization
sentations: (a) integer arithmetics and (b) single floating
of CS requires both the time and the state variables to
point IEEE-754 standard. For applications that require a
be discrete. Time discretization forces the use of al-
good agreement between the analog chaotic system and
gorithms to replace the ordinary differential equations
its digital counterpart, more involved algorithms and/or
modelling the continuous system. State variables dis-
numerical representations must be used.
cretization is made by a numerical system selection. Dis-
Guided by numerical simulations, in this paper we
cretization of time and finite precision, can completely
propose an improvement replacing the Euler’s algorithm
change the dynamics of the system even destroying the
by the fourth order Runge Kutta algorithm (RK4). In
chaotic behavior [1, 2, 3].
order to diminish the required hardware a method based
Micro controllers, Digital Signal Processors and FPGAs
on blocks’ reusing is proposed. The procedure is exem-
may be used to design digital implementations of CS
plified on a Lorenz CS.
[4, 5, 6, 7, 8, 9, 10]. For simplicity we studied in pre-
The whole design was implemented onto a FPGA
c vious papers FPGA realizations of CS using the Euler
EP 3C120F 7 by Altera� , using only 12 % of its logic
algorithm with both integer arithmetics [11] and float-
elements, 13% of its embedded multipliers and 34 % of
ing point number representation [12]. If one is interested
its memory bits. The smallest Ciclone III device where
in a closer approximation of the continuous chaotic at-
our design fits is the EP 3C40U 484I7.
tractor, more involved algorithms are required. In this
The authors are CONICET researchers. This work have the fi- paper we choose the simplest improvement over the Eu-
nancial support of CONICET and Universidad Nacional de Mar del ler algorithm: the fourth order Runge-Kutta algorithm
Plata.
(RK4).
RK4 is a reasonably simple and robust integration
algorithm and in general it is a good candidate for the
186
(1) (2) (3) (4)
clk 1/(34*4) produces the output 1/6 (k• + 2k• + k• + k• ) sent
1/34 to the second Adder to obtain the new value of x1 . Iden-
x(n)y(n)z(n) tical blocks are used for variables y and z. Once x1 , y1
c0=clk/34
Field c1=c0/4 1/6(k1+2k2+2k3+k4)
k +
function Slope + and z1 are known they are sent to the block Register and
generator f() Step1:k1
generator
the cycle starts again with Step 1.
Blocks k-generator and Field-function of Fig. 1 con-
Step1:0 34 cycles Step2: k2
Step2:k1/2 Step3: k3
187
c
Fig. 3. Timming diagram of the simulation in Quartus II� environment
188
[6] G. Mazzini, G. Setti, and R. Rovatti, “Chaotic complex
spreading sequences for aynhchronous ds-cdma-part 1:
System modeling and results,” IEEE Trans. Circuits Sys.
1, vol. 44, no. 10, pp. 937–947, 1997.
[7] G. Setti, M. Balestra, and R. Rovatti, “Experimental ver-
ification of enhanced electromagnetic compatibility in
chaotic fm clock signals,” in Proceedings of ISCAS’00.
IEEE Circuits and Systems Society, 2000, pp. III–229–
232.
[8] S. Callegari, R. Rovatti, and G. Setti, “Chaos-based fm
signals: application and implementation issues,” IEEE
Transactions on Circuits and Systems I: Fundamental
Theory and Applications, vol. 50, no. 8, pp. 1141–1147,
Agosto 2003.
[9] L. De Micco, R. A. Petrocelli, and H. A. Larrondo, “Con-
Fig. 5. Lorenz time series. stant envelope wideband signals using arbitrary chaotic
maps,” Proceedings of XII RPIC, 2007.
[10] L. De Micco, R. A. Petrocelli, D. O. Carrica, and H. A.
�� Larrondo, “Muestreo catico para la adquisicin de seales
��
de baja frecuencia con ruido de alta frecuencia,” Pro-
ceedings de la XII Reunin de Trabajo en Procesamiento
��
de la Informacin y Control, 2007.
��
[11] C. M. González, H. A. Larrondo, C. A. Gayoso, and
�� L. J. Arnone, “Generación de secuencias binarias pseudo
�
[5] A. Ali-Pacha, N. Hadj-Said, A. M’Hamed, and A. Belgo- [18] T. Ueta and G. Chen, “Bifurcation analysis of chen’s at-
raf, “Lorenz’s attractor applied to the stream cipher (ali- tractor,” Int. J. Bifurcation and Chaos, vol. 10, pp. 1917–
pacha generator),” Chaos, Solitons and Fractals, vol. 33, 1931, 2000.
no. 5, pp. 1762 – 1766, 2007. [Online]. Available: [19] S. Lu, “Attractors for nonautonomous reactiondiffusion
http://www.sciencedirect.com/science/article/B6TJ4- systems with symbols without strong translation com-
4JYKMN1-1/2/7b1aa936c2c11a007b8967c3121d393a pactness,” Asymptotic Analysis, vol. 54, no. 3-4, pp. 197–
210, 2007.
189
[20] J. C. Sprott, “Lyapunov exponent and 2008.
dimension of the lorenz attractor,” [23] ALTERA, Quartus II Handbook Version 9.1, 2009.
http://sprott.physics.wisc.edu/chaos/lorenzle.htm, 2005.
[24] O. A. Rosso, L. De Micco, H. A. Larrondo, M. T. Martı́n,
[21] E. N. Lorenz, “Deterministic non periodic flow,” Jour- and A. Plastino, “Generalized statistical complexity mea-
nal of the Atmospheric Sciences, vol. 20, pp. 130 – 141, sure: a new tool for dynamical systems,” International
1963. Journal of Bifurcation and Chaos, vol. 20, no. 3, pp.
[22] J. C. Butcher, Numerical Methods for Ordinary Differ- 775–785, 2010.
ential Equations, 2nd ed., L. John Wiley & Sons, Ed.,
190