The Real Time Implementation of a Chaotic System’s Synchronization for Secure Communication

: The chaotic systems are preferred in secure communication systems as well as used in many different implementation areas. Real time chaos synchronization is also required for secure communication systems. In this study, the Master – Slave synchronization of chaotic Chen system was performed on a real time implementation for the secure communication systems. Active control method was used in the design of controller required for the realization of synchronization. The successful realization of the Master - Slave synchronization of the Chen system by using the controller designed on MATLAB/Simulink was shown by the obtained simulation results. Moreover, by using analogue outputs of NI - DAQ card, the Master - Slave synchronization of the Chen system was obtained and secure communication was achieved on a real time basis under LabVIEW environment.

The trajectories of the same system operating at different initial conditions within chaotic systems will move away in time due to sensitive dependence on initial conditions. In 1990, after Pecora and Carroll showed that a chaotic system can be synchronized [17], various methods started to be used in order to converge these two different trajectories [18][19][20][21][22]. By using these methods, when two chaotic systems in the form of Master-Slave are defined, the Slave system will start to follow-up the Master system at any time required. This operation is called chaotic synchronization [17]. Thus the system consisting of receiver and transmitter will be able to be used in secure communication systems. Two chaotic systems as Master (Transmitter) and Slave (Receiver) constitute the two main parts of secure communication. In order to ensure the communication performed between these two main parts, the achievement of synchronization is required. Thus, it is needed to implement the synchronization of chaotic systems and to apply it on real time. Recently, studies both on the real time implementations of chaotic systems [23][24] and on the real time synchronization of chaotic systems [25][26] have started to be performed.
For real time implementations, LabVIEW program is preferred in many areas such as biomedical, control, communication etc. [27][28][29][30][31]. In this study, the reason of preferring the LabVIEW program is its graphic based structure and the ease provided to user in constituting interface. Moreover, the real time implementations are able to be performed easily by the hardware such as DAQ card and cRIO. Recently, both the simulation [32] and real time implementations [33] of chaotic systems have been achieved on LabVIEW environment.
In literature, the studies performed regarding chaotic systems are generally simulation based. But the studies performed for the real time implementations of such systems are limited. The real time implementations of chaotic systems had started to increase depending on technological developments. In this study, for the real time implementations of secure communication systems, the Master-Slave synchronization of the chaotic Chen system indicated in [4] was implemented by the active control method provided in [18][19], and their simulations and real time implementations were presented on MATLAB/Simulink and LabVIEW environment, respectively. Along with this introduction, chaotic Chen system was presented in Section 2, and suitable controller enabling chaotic synchronization by active control method was determined. In Section 3, by the designed controlled, the simulations and Master-Slave synchronization were performed on MATLAB/Simulink and on LabVIEW environment respectively, and the results of the real time Master-Slave synchronization of the Chen system were obtained and the secure communication was implemented by using a sample data signal. Finally, the results were discussed in Section 4.

Chaotic Chen System
The Chen system presented in [4] is a third degree non-linear autonomous system, and the state-space representation is defined as Eq. (1).
x a y x y c a x xz cy z xy bz where, a, b and c are positive system parameters, and x, y and z are state variables. The system defined in Eq. (1) is able to present chaotic behaviour depending on the system parameters [4]. State-space diagram on the x-y-z plain of the Chen system is given in Fig. 1.
As it is seen in Fig. 1, this system shows chaotic behaviour for a = 35, b = 3 and c = 28. These parameters were used in simulations and real time implementations obtained in the following sections.

The Master-Slave Synchronization of the Chen System via Active Control
In order to fulfil the chaotic synchronization of the Chen system by the active control method provided in [18][19], it will be required to obtain the error dynamic of its outputs at different initial conditions. In Eq. (2), the model of Master Chen system, and in (3), the models of the system consisting of Slave Chen system and control function are given.
If the control signals are selected to eliminate nonlinear components as the active control functions being V 1 (t) = -k 1 e 1 , V 2 (t) = -k 2 e 2 and V 3 (t) = -k 3 e 3 .
the error dynamic will turn to a linear structure given in Eq. (6).
by using the coefficient matrix of Eq. (7), the characteristic equation can be obtained as follows. Depending on the parameters of the Chen system, there are many active controller gain values which will enable all the eigenvalues of Eq. (8) to be on the left-half s-plane. If k 1 = 2, k 2 = 30 and k 3 = 10 are selected for the chaotic parameters of the system a = 35, b = 3 and c = 28, the eigenvalues of the error dynamic are obtained as λ 1 = -27.32, λ 2 = -11.67 and λ 3 = -13. Thus, the gain values of the controller achieved synchronization can be taken as selected values due to the stable error dynamic. In Fig. 2, by using active control, the block diagram of the Master-Slave synchronization of identical two chaotic Chen systems is shown.

IMPLEMENTATION OF THE MASTER-SLAVE SYNCHRONIZATION OF CHEN SYSTEM BY USING LabVIEW
In this section, the simulation of the chaotic Chen system on MATLAB/Simulink and real time synchronization of the chaotic Chen system under LabVIEW environment were implemented by using the obtained controller's parameters in order to ensure Master-Slave synchronization. Moreover, an example for secure communication was performed. For this, while taking the initial conditions of the Master system as (xm(0), y m (0), z m (0)) = (0.1, 0, 0), the initial conditions of the Slave system were selected close to each other as (x s (0), y s (0), z s (0)) = (0.1001, 0, 0). If the difference in between the initial conditions of the Master and the Slave system is looked at closely, it is 1/1000.

The Simulation Results of the Master-Slave Synchronization on MATLAB/Simulink
First of all, the Master and Slave parts of chaotic Chen system were constituted on MATLAB/Simulink and the simulation was achieved for the synchronization of the system. In the simulations, the controller was activated in 22 nd second and the synchronization was tried to be performed. The changes of the Master and the Slave systems for each state variable and the error in between them are shown in Fig. 3 and 4 respectively.
As it is seen, the Slave system follows the Master system in a short time due to the controller which is activated in 22 nd second. Since all the eigenvalues of the error dynamic are on the left-half s-plane and on σ axis for these controller gains, the error goes to zero exponentially.

The Real Time Results of the Master-Slave Synchronization on LabVIEW
NI-6009 DAQ card was used for real time implementation of the Chen systems. NI-6009 DAQ card having 8 analogue inputs (14-bit, 48 kS/s), 2 analogue outputs (12-bit, 150 S/s) and 12 digital I/O, and 32-bit counter was used in the real time implementation of the chaotic Chen system. In this implementation, since the analogue output of DAQ card is able to provide a voltage of 0-5 V, the z-state variable output was weakened by 20 times and a DC component signal of 0.1 V was added to this signal in order to prevent the signal to go to negative. The general appearance of the designed experimental system is shown in Fig. 5.  The Master and Slave parts of chaotic Chen system were constituted on LabVIEW environment. The program of the implemented system was given in Fig. 6. For the synchronization of the system, the parameters of the designed controller in the previous section were integrated to this system. In Fig. 7, the obtained state-space diagrams of the chaotic master system in real time were given for the x-y, x-z and y-z planes.
The oscilloscope view obtained before and after the synchronization of Master and Slave system of the z-state variable was given in Fig. 8. In this figure, the real time master and slave systems were represented as yellow and blue lines, respectively. Also, in the same figure, the change of error between these two systems of the z-state variable obtained on the oscilloscope was shown as red line. Responses of the Master system (yellow), the Slave system (blue) and the error between these systems (red) of the z-state variable in real-time.
As it is seen, the output of Slave system of the z-state variable has started to follow-up the Master system by the activation of controller. In addition, the change of error between these two systems exponentially goes to zero.

Figure 9
The sample data signal (yellow) and the demodulated signal (blue).
In addition, the secure communication example was performed by using Master-Slave synchronization system. A data signal was chosen for sinusoidal signal with 0.2 Hz frequency and 0.1 V amplitude. The sample data signal for the secure communication system was modulated with the signal obtained from Master system. Then, the transmitted signal was demodulated with Slave system. The variations of sample data signal and the demodulated signal were given in Fig. 9 and the modulated and the demodulated signal in Fig 10.

Figure 10
The modulated signal (yellow) and the demodulated signal (blue) As can be seen from these figures, although the modulated signal was demodulated signal with Slave system signal, the data signal was not obtained until the controller was active.

DISCUSSION AND CONCLUSIONS
Generally, simulation studies have been performed regarding chaotic systems. However the studies performed for the real time implementations of such systems are few. By the software and hardware facilitating the real time implementations such as LabVIEW, the possibility of implementing chaotic systems has increased. In this study, a controller was designed to use the Master-Slave synchronization of the chaotic Chen system with the active control method in secure communication systems. By using this controller, the Master-Slave synchronization of the Chen system on MATLAB/Simulink environment was simulated, and it was observed that for all three state variables, the Slave systems followed the Master system in a short time while after the activation of the controller, and that the error in between two systems has gone to zero exponentially. In addition, using the designed controller on LabVIEW, the synchronization of the Chen system was obtained on a real time by DAQ card. At the output of DAQ card, the error signal between the Master and Slave systems was obtained, and the implementation of the real time synchronization was observed. Moreover, a secure communication example was achieved by using the Master-Slave system.
Consequently, according to the obtained results, it is considered that the LabVIEW environment will provide significant ease in the performance of real-time implementation of various chaotic systems of such secure communication.