Chaos and Analog Signal Encryption

Similar documents
Signal Encryption Using a Chaotic Circuit

REVIEW OF CIRCUIT IMPLEMENTATION OF SYNCHRONIZED CHAOS WITH APPLICATION TO COMMUNICATION BY: ABHISHEK SINGH AND DIVYA GROVER

Chaotic Circuits and Encryption

Communicating using filtered synchronized chaotic signals. T. L. Carroll

OPERATIONAL AMPLIFIERS (OP-AMPS) II

Week 8 AM Modulation and the AM Receiver

Electric Circuit Fall 2016 Pingqiang Zhou LABORATORY 7. RC Oscillator. Guide. The Waveform Generator Lab Guide

Physics 303 Fall Module 4: The Operational Amplifier

ECE ECE285. Electric Circuit Analysis I. Spring Nathalia Peixoto. Rev.2.0: Rev Electric Circuits I

ELEC Deterministic Chaos in Circuitry

BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY

Infrared Communications Lab

Experiment 2: Transients and Oscillations in RLC Circuits

University of Pittsburgh

Practical Testing Techniques For Modern Control Loops

Laboratory 9. Required Components: Objectives. Optional Components: Operational Amplifier Circuits (modified from lab text by Alciatore)

Laboratory 6. Lab 6. Operational Amplifier Circuits. Required Components: op amp 2 1k resistor 4 10k resistors 1 100k resistor 1 0.

EL4089 and EL4390 DC Restored Video Amplifier

Positive Feedback and Oscillators

Motomatic Servo Control

The Operational Amplifier This lab is adapted from the Kwantlen Lab Manual

PHYS 536 The Golden Rules of Op Amps. Characteristics of an Ideal Op Amp

EXPERIMENTAL STUDY OF IMPULSIVE SYNCHRONIZATION OF CHAOTIC AND HYPERCHAOTIC CIRCUITS

Chaotic-Based Processor for Communication and Multimedia Applications Fei Li

Filters And Waveform Shaping

EE 3305 Lab I Revised July 18, 2003

Experiment 5.A. Basic Wireless Control. ECEN 2270 Electronics Design Laboratory 1

Rich Variety of Bifurcation and Chaos in a Simple Non-Source Free Electronic Circuit with a Diode

Communication using Synchronization of Chaos in Semiconductor Lasers with optoelectronic feedback

L02 Operational Amplifiers Applications 1

Nonlinear Dynamical Behavior in a Semiconductor Laser System Subject to Delayed Optoelectronic Feedback

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Linear Integrated Circuits Applications

Chapter 8. Natural and Step Responses of RLC Circuits

PI Controller Applied in a Signal Security System Using Synchronous Chaos of Chua's Circuit

LORENZ-BASED CHAOTIC SECURE COMMUNICATION SCHEMES

DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE MASSACHUSETTS INSTITUTE OF TECHNOLOGY CAMBRIDGE, MASSACHUSETTS 02139

EMG Electrodes. Fig. 1. System for measuring an electromyogram.

EE 233 Circuit Theory Lab 2: Amplifiers

Operational Amplifier

Lab 9 AC FILTERS AND RESONANCE

ECE3204 D2015 Lab 1. See suggested breadboard configuration on following page!

MAS.836 HOW TO BIAS AN OP-AMP

A Synthetic Inductor Implementation of Chua's Circuit

Lab 5 Second Order Transient Response of Circuits

Experiment VI: The LRC Circuit and Resonance

Chapter 9: Operational Amplifiers

An Analog Phase-Locked Loop

Laboratory Project 1a: Power-Indicator LED's

Series Resistance Compensation

ENGR 201 Homework, Fall 2018

Principles of Analog In-Circuit Testing

EE431 Lab 1 Operational Amplifiers

Class #8: Experiment Diodes Part I

AUDIO OSCILLATOR DISTORTION

Exercise 3 Operational Amplifiers and feedback circuits

Operational Amplifiers: Part II

Optical Theremin Critical Design Review Yanzhe Zhao, Mason Story, Nicholas Czesak March

EE 233 Circuit Theory Lab 3: First-Order Filters

1. An engineer measures the (step response) rise time of an amplifier as. Estimate the 3-dB bandwidth of the amplifier. (2 points)

Pre-Lab. Introduction

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

CHAPTER 6 INPUT VOLATGE REGULATION AND EXPERIMENTAL INVESTIGATION OF NON-LINEAR DYNAMICS IN PV SYSTEM

Comparison of Signal Attenuation of Multiple Frequencies Between Passive and Active High-Pass Filters

ENGR-4300 Fall 2006 Project 3 Project 3 Build a 555-Timer

Chapter 9: Operational Amplifiers

Nonlinear Damping of the LC Circuit using Anti-parallel Diodes. Department of Physics and Astronomy, University of North Carolina at Greensboro,

ECE Lab #4 OpAmp Circuits with Negative Feedback and Positive Feedback

Component modeling. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Basic Electronics Learning by doing Prof. T.S. Natarajan Department of Physics Indian Institute of Technology, Madras

Figure 1: Closed Loop System

Testing Power Sources for Stability

Lab 10: Single Supply Amplifier

BME 3512 Bioelectronics Laboratory Five - Operational Amplifiers

Assignment 8 Analyzing Operational Amplifiers in MATLAB and PSpice

When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required.

INSTRUMENTATION BREADBOARDING (VERSION 1.3)


Unit WorkBook 1 Level 4 ENG U22 Electronic Circuits and Devices 2018 UniCourse Ltd. All Rights Reserved. Sample

Resonance in Circuits

Integrators, differentiators, and simple filters

Homework Assignment 03

Chapter 8: Field Effect Transistors

EE 210 Lab Exercise #5: OP-AMPS I

UNIT I. Operational Amplifiers

Laboratory Project 4: Frequency Response and Filters

Mechatronics. Analog and Digital Electronics: Studio Exercises 1 & 2

A chaotic lock-in amplifier

New Technique Accurately Measures Low-Frequency Distortion To <-130 dbc Levels by Xavier Ramus, Applications Engineer, Texas Instruments Incorporated

Name Date: Course number: MAKE SURE TA & TI STAMPS EVERY PAGE BEFORE YOU START EXPERIMENT 10. Electronic Circuits

Lab 2: Capacitors. Integrator and Differentiator Circuits

Test Your Understanding

Optimum PID Control of Multi-wing Attractors in A Family of Lorenz-like Chaotic Systems

332:223 Principles of Electrical Engineering I Laboratory Experiment #2 Title: Function Generators and Oscilloscopes Suggested Equipment:

ECE4902 C Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load

BENE 2163 ELECTRONIC SYSTEMS

PHYS225 Lecture 10. Electronic Circuits

Operational amplifiers

EK307 Active Filters and Steady State Frequency Response

BME/ISE 3512 Bioelectronics. Laboratory Five - Operational Amplifiers

Transcription:

Course: PHY42 Instructor: Dr. Ken Kiers Date: 0/2/202 Chaos and Analog Signal Encryption Talbot Knighton Abstract This paper looks at a method for using chaotic circuits to encrypt analog signals. Two chaotic circuits are forced to synchronize their outputs in a transmitter and receiver setup. Though synchronized, the circuits continue to output chaotic voltages that sound like white noise (when connected to a speaker). A small amplitude analog signal is added to the output of the transmitter circuit and hidden in the noise of the chaos. The synchronization of the transmitter and receiver circuits allows recovery of the signal. Extensions and usefulness of the encryption technique are discussed.

I. INTRODUCTION Chaotic systems are identified by their sensitivity to initial conditions. That is, given infinitesimally different starting conditions, the states of identical chaotic systems diverge exponentially with time. Surprisingly, chaos is exhibited by deterministic systems. A system of three gravitationally attracted planets, the weather, and a driven pendulum can all be chaotic [], [2], [3]. For such systems, even very accurate measurements are often not enough to predict their states very far in the future. This discussion of chaos will require some specific vocabulary. Degrees of freedom associated with any system are said to make up a phase space. The system follows a trajectory through this space. An attractor is a final trajectory approached by the system after transient motion dies out. The attractor for a linearly damped bead moving on a wire is a single point. A stable cyclic population trajectory for a predator-prey model is also an attractor. Non-chaotic systems have simple attractors. The attractors of chaotic systems, however, are often infinitely complex fractal structures. Attractors and trajectories may be used to describe chaotic systems. One important aspect of chaotic systems is their ability to synchronize [4]. Though they still behave chaotically, similar systems may be forced to match each other s trajectory. In this paper, two chaotic circuits in a transmitter-receiver configuration are forced to synchronize. The chaotic output of the transmitter circuit is used to encrypt a superimposed analog signal. This signal is decrypted by subtracting the output of the receiver circuit from the superposition. The remainder of this paper presents results from a variation of the circuit designed by Kiers, Schmidt, and Sprott [5]. Most of this work was done by a former student of Taylor University, Kevin Little [6]. A paper written by Chris Fink, another former Taylor student, was also helpful [7]. Due to the time limitations of this capstone project, it was difficult to go beyond Little s work. The return map in Figs. (5) and (0) is new. Section II discuses the transmitter circuit in Fig. (). It shows how the behavior of the circuit varies from periodic to chaotic with the adjustment of a single parameter. Experimental measurements are compared to theoretical results. Section III discusses the coupling of transmitter and receiver circuits. These are used to encrypt and recover a signal in in Sec. IV. Extensions for the project are discussed in Sec. V. Conclusions and acknowledgments follow in Sec. VI. Appendix A contains a derivation of the differential equation governing the circuit. Appendix B, gives useful hints for future students attempting to recreate the circuit. II. CHAOTIC CIRCUIT The transmitter circuit in Fig. () is essentially an analog computer that solves the following differential equation: x = A ẍ + A 2 ẋ + A 3 x + A 4 min(x, 0), () 2

where the A i s are constants. The full equation, derived in Appendix A, is x = ( + ) ẍ + ẋ C R 5 + R 6 R 8 R 7 R C C 2 G D(x) +. (2) R 2 R R 2 C C 2 C 3 R 9 R R 2 C C 2 C 3 Note the non-linearity, which is necessary (but not sufficient) for chaotic solutions. It is provided by the D(x) block in the circuit diagram. Due to the speed of the MC33078P operational amplifiers used in the circuit, we may treat this section as a black box modeling the function D(x) = 6 min(x, 0). Figure (2) shows the measured voltage characteristic of the D(x) functional unit. Depending on the resistance value of R 6, the solutions to Eq. (2) may be either periodic or chaotic. For low values of the variable resistor, the circuit has a simple trajectory in phase space with one peak voltage per oscillation. This is a period- oscillation that looks much like a sine wave. As R 6 increases, the solutions bifurcate. The voltage at node x now reaches two peak values per oscillation. This is called a period-2 solution. In general, if x encounters n local maxima per oscillation, then the circuit is exhibiting a period-n solution to the differential equation. The bifurcation plot in Fig. (3) shows the expected periodicity of solutions for given values of R 6. Table I shows the excellent agreement between theory and experiment for several bifurcation points. TABLE I: Comparison of theoretical and experimental bifurcation values for total resistance of IC2A feedback loop: (R 5 + R 6 ) R 8 (where parallel resistance is denoted by the operator). Period Transition Measured Value [kω] Theoretical Value [kω] % Difference 2 5. 5.0 0.67 2 4 8.55 8.64 0.47 4 8 9.2 9.28 0.36 3 6 22.72 22.87 0.66 5 0 24.62 24.78 0.65 Experimentally, x (t) may be determined by applying the node equation to pin 6 of IC2B in the circuit diagram (Fig. ()) and measuring V 6 : x (t) = R 2 C 3 V 6. (3) This allows us to plot experimental phase portraits for the system. Figure (4) compares theory to experiment for several values of R 6. Note the progression from periodicity to chaos. For periodic solutions, the experimental peak voltages differ from theoretical values by at most 0. V, yielding a maximum of 3 to 8 percent difference. A first return map shows surprising a surprising structure in the oscillations. This map is a plot of the (n + ) th local maxima vs. the n th local maxima of x. 3

!"#$%&'(()"*+'",-'(*.-$#//),()0*2*3(4)"*%),('3$%5* 6),)'7)"*+'",-'(* FIG. : Coupled chaotic circuits. The transmitter circuit in the top block (without R5 connected to ground) is considered in this section. The D(x) portion provides the nonlinearity necessary for chaos. Note: There are two small mistakes in this circuit diagram. The order displayed in Fig. (5) is a characteristic of the differential equation and contrasts starkly with the chaotic solutions that generate it. This map may be a key to decrypting intercepted signals as discussed in the encryption and recovery section (Sec. V). differential equation. 4

FIG. 2: Ideal behavior of the non-linear D(x) function. The input voltage, x, is on the horizontal axis, and D(x) is on the vertical axis. FIG. 3: Theoretical bifurcation plot for the transmitter circuit. This shows the local maxima attained by x for different values of the variable resistor. This data was actually calculated using analogous part values from the receiver circuit. No resistor analogous to R 5 was tied to ground. III. COUPLED CHAOTIC CIRCUITS Synchronization of chaotic systems is shown to by possible under certain circumstances by Pecora and Carroll [4]. The coupling circuit in Fig. () is designed to synchronize the transmitter and receiver circuits. Remarkably, when the two are coupled, their voltages match nearly perfectly (if their resistance and capacitance values are closely matched, and if no extra signal is added to the transmitter circuit output). This effect is shown in Fig. (6). The coupling circuit injects an admixture of the transmitter and receiver circuit 5

FIG. 4: Experimental and theoretical phase portraits for Transmitter Circuit. Note the period doubling R 6 increases. The solid lines are theoretical predictions and the dots show experimental data. (This data was actually generated and measured using the resistance and capacitor values shown on the receiver circuit in Fig. (), but the values match those of the transmitter circuit very closely). outputs (x and x s, respectively) and the encrypted signal σ (where σ x) back into the feedback loop of the receiver circuit. In order not to change the scale of the nonlinear function of the receiver circuit, it is important to normalize this admixture. Therefore, resistance values are chosen such that coupling(x, σ, x s ) = ( ɛ)(x + σ) + ɛx s (4) where ɛ = 0.2. Other values for ɛ also work, but anything too far from this point causes the circuits to decouple. Figure (7) shows how quickly the circuits are expected to synchronize for the resistance values given in Fig. (). IV. SIGNAL ENCRYPTION AND RECOVERY There are two criteria for a good encryption.. The input σ x. If x is not sufficiently greater than σ, the input signal can be heard in spite of the chaotic noise. 2. The frequency range for the input signal must fall within the range of chaotic noise for the encryption circuit. If the frequency of the signal falls outside the 6

FIG. 5: First return map for oscillations in chaotic region. This compares theoretical (small dots) with experimental (large dots) data. Note that the experimental data seems to have some added structure on the right side of the plot. FIG. 6: Synchronized chaotic output of transmitter and receiver circuits. The output of the receiver circuit has been vertically offset so that both signals are visible. noise of the circuit, a Fourier transform of x + σ reveals the signal (see Fig. (8)). If these two conditions are met, then we might have a strong encryption. Since the noise is chaotic, it seems difficult to eliminate it without knowledge of the original circuit. If further time were available, it would be interesting to search for alternative methods to extract the signal and to test the encryption strength. The function of the signal recovery portion of the circuit may be expressed as follows: [ (x + σ) x s ] σ (5) where x s is the output of the receiver circuit and σ is the encrypted signal. Adding a small signal to the output of the transmitter circuit prevents the receiver circuit from being able to sync exactly. Remarkably, it is still the case that x s x. By subtracting the receiver output from the (x + σ) voltage, it is possible to recover the original signal. It is easy to extract a periodic waveform from the circuit (such as a sine wave). Using an average reading on the oscilloscope gives a very clear picture of 7

FIG. 7: Shows the synchronization of transmitter and receiver circuits after they are coupled at t = 00 ms. Simulations for bad values of ɛ were performed but are not shown. something close to the original signal. Other signals, such as a sound file (we played Winter Winds by Mumford and Sons), may also be recovered with some clarity. The song and words are understandable, but the recovered signal is not pleasing to listen to. Figure (9) shows input and recovered signals for both types of input. V. PROJECT EXTENSIONS The transmitter and receiver circuits in Fig. () need not be connected. Note that the transmitter circuit is totally independent of the coupling, receiver, and signal recovery components. This is because the node to which it connects is virtually grounded by the summing op-amp, ICB. Thus, it should be possible to dislocate the receiver from the transmitter circuit, and to store and transmit encrypted data wirelessly. This would be a natural extension for the project, and if there were more time, is something we would attempt. It is easy to pass pulses through the circuit. Thus, the it could be used to transmit digital data. Further research can be done on the fastest reliable bit rate at which the circuit could transfer information. Multiple pulse voltage levels can be used, each level corresponding to more than bit of information. It should be possible to send two or three bits per pulse (requiring 4 or 8 distinct pulse levels respectively). The research could be done at the upper-undergraduate level. In order to asses the strength of this chaotic encryption method, let us take another look at the first return plot. Figure (0) shows that the plot is only slightly distorted by an added signal (which, as discussed in the previous section, must be small). Thus, it is reasonable to assume that intercepted data would allow a fairly accurate extrapolation of the original first return plot. If this structure is unique to the encrypting circuit, there may be a way to work backwards and recreate the circuit from from the plot. If the plot is not unique, then perhaps other circuits with similar first return characteristics could synchronize with the transmitter circuit and decrypt the data. Both scenarios challenge the merit of this method and further research is required to answer these questions. 8

FIG. 8: Shows several Fourier transformed signals for Winter Winds by Mumford and Sons. The song and lyrics were recognizable after encryption, but not pleasing to listen to. Note that the song falls a little above the chaos on the frequency spectrum. The small amplitude of the signal still hid it among the chaotic noise. This data was taken over approximately second. 9

FIG. 9: Shows several Fourier transformed signals for Winter Winds by Mumford and Sons. The song and lyrics were recognizable after encryption, but not pleasing to listen to. Note that the song falls a little above the chaos on the frequency spectrum. The small amplitude of the signal still hid it among the chaotic noise. This data was taken over approximately second. FIG. 0: Compares first return plots with and without the encrypted signal. The measured data is shown by the large points. VI. CONCLUSIONS AND EXTENSIONS Electronic circuits provide a cheap method for studying chaos. They are ideal in that they can be designed to operate very close to theoretical predictions (see Sec. 0

II). Chaotic systems may be coupled to cause synchronization (Sec. III). In the case of electric circuits, this synchronization may be used to encrypt and decode an analog wave-form (Sec. IV). Section V discusses the possibility of wireless and digital data transfer, but it also presents some challenges to the strength of the encryption method. The author would like to thank Dr. Kiers and Prof. Daily for their teaching and trouble-shooting help. Also, the documentation left by previous students and provided by Dr. Kiers expedited the circuit diagramming and bread-boarding process immensely. Appendices A. DERIVATION OF NODE VOLTAGES This section derives Eq. (2). Applying the node equation at all virtual grounds in the transmitter circuit is an easy way to find the voltage equation for the circuit. Let parallel resistors x and y be denoted as x y. Part names refer to the schematic in Fig. (). Several of the nodes are virtually grounded by the op-amps. Thus V 2 = V 3 = V 5 = V 7 = 0. Writing the node equations for each of these yields 0 = V 2 = V + V 6 + D(V 8), (6) R R 7 R 2 0 = V 3 = V R 4 + V 4 (R 5 + R 6 ) R 8 + C V 4 + G R 9, (7) 0 = V 5 = V 4 R + C 2 V 6, and (8) 0 = V 7 = V 6 R 2 + C 3 V 8. (9) Letting x = V 8, we can solve for each voltage in terms of x. We have and V 6 = R 2 C 3 ẋ (0) V 4 = R R 2 C 2 C 3 ẍ. () Now, eliminating V from (6) and (7) above and substituting for V 6 and V 4 gives R 2 C 3 ẋ R 7 + D(x) R 2 = R R 2 C 2 C 3 ẍ (R 5 + R 6 ) R 8 R R 2 C C 2 C 3 x + G R 9. (2) We find x to be x = ẍ + ẋ C (R 5 + R 6 ) R 8 R 7 R C C 2 G D(x) +. (3) R 2 R R 2 C C 2 C 3 R 9 R R 2 C C 2 C 3

Or, written explicitly in the form of Eq. (2), we have x = ( + ) ẍ + ẋ C R 5 + R 6 R 8 R 7 R C C 2 G D(x) +. (4) R 2 R R 2 C C 2 C 3 R 9 R R 2 C C 2 C 3 B. USEFUL TIPS The following is a list of useful tips and solutions to challenges encountered while building the circuit:. If things are not working right, start taking parts out and measuring them. The values will be needed anyway and rebuilding the circuit helps fix mistakes. 2. When taking data, make sure to write down where the probes were placed and the name of the data file. 3. If there is a DC offset between synchronized transmitter and receiver circuit outputs, try recalculating the values of the coupling circuit resistors. There are essentially three equations for the mixing parameter ɛ. All of these must be satisfied, so check that this is the case. If that fails, rebuild the circuit more compactly. We did both before realizing the problem had ended, so I do not know which step was the winner. 4. It is helpful to use variable resistors for R8, R9, and R20. These may be fine tuned to reduce the audible noise in the recovered signal. However, the fine-tuned values are very close to the theoretically predicted ones. So, if there is a significant lack of synchronization, it is best to recheck resistor values and calculations for the coupling circuit to make sure all conditions are being met. [] Percival, I. (993) Chaos: A Science for the Real World. In N. I. Hall (Ed.), Exploring Chaos: a guide to the new science of disorder (pp. 7). W. W. Norton & Company, Inc. [2] Tritton, D. (993) Chaos in the Swinging of a Pendulum. In N. I. Hall (Ed.), Exploring Chaos: a guide to the new science of disorder (pp. 22-32). W. W. Norton & Company, Inc. [3] Palmer, M. (993) A Weather Eye on Unpredictability. In N. I. Hall (Ed.), Exploring Chaos: a guide to the new science of disorder (pp. 22-32). W. W. Norton & Company, Inc. [4] L.M. Pecora & T.L. Carroll, Physical Review Letters 64, 82 (990) [5] K. Kiers, D. Schmidt, & J.C. Sprott, American Journal of Physics 72, (2004) [6] Kevin J. Little, The Masking and Detection of Analog Waveforms with Identical Chaotic Circuits, (2008) 2

[7] Chris Fink, Chaotic Synchronization and Encryption Utilizing Two Electrical Circuits, (2007) 3