scieee AI-readable full text Open interactive document viewer

Binary Memory Implemented by Using Variable Gain Amplifiers With Multipliers

Petržela, Jiří; Šotner, Roman

Abstract

This work describes design process toward fully analogue binary memory where two coupled piecewise-linear (PWL) resistors are implemented using novel network topology with voltage gain amplifiers (VGA). These versatile active devices allow slopes of individual segments of ampere-voltage (AV) characteristics associated with PWL two-terminals to be electronically adjustable via external DC voltage. Numerical analysis of designed memory cell covers all mandatory parts: phase portraits, calculation of the largest Lyapunov exponent (LLE), basins of attraction for the typical strange attractors, and high resolution circuit-oriented bifurcation sequences. A transition from the stable states toward chaotic regime through metastability is proved via real measurement. The robustness of the generated chaotic attractors is verified by captured oscilloscope screenshots.

Full text

Received August 26, 2020, accepted October 19, 2020, date of publication October 29, 2020, date of current version November 11, 2020. Digital Object Identifier 10.1109/ACCESS.2020.3034665 Binary Memory Implemented by Using Variable Gain Amplifiers With Multipliers JIRI PETRZELA , AND ROMAN SOTNER , (Member, IEEE) SIX Research Center, Department of Radio Electronics, Brno University of Technology, 61600 Brno, Czech Republic Corresponding author: Roman Sotner ([email protected].cz) This work was supported by the Czech Science Foundation Project under Grant 19-22248S. ABSTRACT This work describes design process toward fully analogue binary memory where two coupled piecewise-linear (PWL) resistors are implemented using novel network topology with the voltage gain amplifiers (VGA). These versatile active devices allow slopes of individual segments of ampere-voltage (AV) characteristics associated with PWL two-terminals to be electronically adjustable via the external DC voltage. Numerical analysis of designed binary memory cell covers all mandatory parts: phase portraits, calculation of the largest Lyapunov exponent (LLE), basins of attraction for the typical strange attractors, and high-resolution circuit-oriented bifurcation sequences. A transition from the stable states toward chaotic regime through metastability is proved via real measurement. The robustness of the generated chaotic attractors is verified by captured oscilloscope screenshots. INDEX TERMS Analogue binary memory, bifurcation diagram, electronic tuning, chaos, Lyapunov exponent, piecewise-linear (PWL) resistors, strange attractor. I. INTRODUCTION It is well known that isolated dynamical systems having at least three degrees of freedom can exhibit complex, irregular, continuous, bounded in state space volume, random-looking, frequency-wideband motion known as a deterministic chaos. Chaos, as one of the possible solutions associated with given set of differential equations, can be understood as universal dynamic phenomena. It means that physical interpretation of individual state variables and internal system parameters are not important. Instead of this, global vector field geometry plays crucial role since folding and stretching mechanism caused by inevitable intrinsic system nonlinearity needs to apply on state trajectories simultaneously. Of course, not all trajectories can be affected since several different attractors can coexist. General properties of the chaotic motion are interesting, at the same time due to theoretical, educational and application perspectives. Robust chaotic system generates waveform that is sensitive to the small changes of initial conditions, contains continuous scale of periodic signals, provides dense strange attractor with the non-integer geometric dimension, chaotic waveforms have increased entropy, etc. This facts have been demonstrated within hundreds of dynamical systems among all fields and research branches of physics; The associate editor coordinating the review of this manuscript and approving it for publication was Pavlos I. Lazaridis . for example in classical mechanics [1]–[3], math description of the chemical reactions [4], [5] and fluid dynamics [6], [7], in frame of the simplified population growth models [8], during analysis of climate model [9]–[11], in optics [12], [13] and, of course, analogue electronics. However, all chaotic systems represent simplified models of the real situations with a finite number of state variables. It is well known that probability of chaotic steady state solution rises with increased order of analyzed system. Therefore, considering very complex behavior of real events, chaos probably belongs to relatively common motion. In the case of chaotic circuits, more detailed specification of chaos sources can be applied. Lumped analogue circuits were subject of research from the viewpoint of investigation of chaotic behavior for the last four decades. Robust strange attractors were reported in dynamics of standard structures of oscillators such as Colpitts [14], [15], Hartley [16], [17], Wien-bridge topology [18], [19], and many others. Regions with chaotic solution were detected in the phase locked loops [20], [21] and frequency filters [22], [23]. In the latter case, it turns out that both parameters of the input harmonic signal, amplitude and frequency, can continuously switch between chaotic and regular operational regimes of filtering two-port. Power electronics and switching circuits can be (and often are) subjects of nonlinear dynamics, unpredictable behavior, and chaos as well. Evolution of various strange attractors was revealed in the case of DC-DC converters 197276 This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ VOLUME 8, 2020 J. Petrzela, R. Sotner: Binary Memory Implemented by Using Variable Gain Amplifiers having different topologies [24]–[26]. Chaotic phenomena can be observed, both numerically and experimentally, inside simple nonlinear switched capacitors circuits [27], [28]. Logic networks and gates are not excluded from potentially chaotic systems [29]. Recent paper [30] presents evolution of chaos in fundamental class C amplifier having a single bipolar transistor modeled by admittance-type equivalent twoport. Several very simple chaotic circuits with one or two bipolar transistors and three accumulation elements are discussed in [31]. Of course, both Colpitts and Hartley oscillator topologies are members of this group of autonomous systems. Paper [32] shows that chaos in oscillating circuit can be detected thanks to the automatic gain control loop. Detailed study [33] suggests construction of robust chaotic system via closed loop of nonlinear active two-port and arbitrary realization (passive and active) of low-pass frequency filter. There, fundamental filter parameters, that is pole frequency and quality factor, are used as natural bifurcation parameters. This list of chaotic circuits is by no means complete; it continues to grow every day. Due to the problem topicality further investigation in this research area can be expected. This paper is organized as follows. Next section provides mathematical model of binary memory system and its linear analysis. Third section is focused to show numerical analysis results that are widely considered as common standard if new chaotic dynamical system is presented [34]. Fourth section describes individual analog building blocks that are utilized in design process of chaotic oscillator. Active realization of memory including limitations coming from utilization of the commercially available variable gain multipliers is subject of section five. This section also gives experimental verification of the binary memory via measured period doubling route- to-chaos scenario. Finally, open research areas are suggested and concluding remarks are stated; where overall properties of developed chaotic memory are summarized. II. MATHEMATICAL MODEL OF MEMORY One of the simplest circuit concepts of a multi-state memory system is based on series or anti-series connection of several resonant tunneling diodes (RTD) [35]–[37] as demonstrated in Fig. 1a). AV curve of RTD with properly adjusted bias point via voltage Vbias can be approximated by PWL function having following properties: 1) it is scalar function having at least three linear segments, 2) exhibits both positive and negative slopes, 3) is odd-symmetrical with respect to a non-zero center. Of course, number of linear segments determine maximal amount of the stable states of memory. Although configuration of static memory mentioned above is old chaos was discovered quite recently, see work [38] and [39] for details. Evolution of chaos is allowed if a very high-frequency models of micro-scale RTDs are considered [40]. In this case, connection of two ideal diodes with non-zero threshold voltage is supplemented by a lead inductance and two parasitic capacitances as depicted in Fig. 1b). Biasing voltage can be removed by introducing linear transformation of the coordinates, namely by using simple shift of FIGURE 1. Binary memory based on the coupled RTDs: a) fundamental concept, b) equivalent circuit with high-frequency models of both RTDs, c) rearrangement of real-valued components. the state space origin. Consequently, both active PWL resistors can be odd-symmetrical with respect to zero. Obviously, such shape of nonlinearity represents significant simplification of design process. Schematic provided in Fig. 1c) demonstrates simple lumped electronic circuit to be implemented in the upcoming section of this paper. Note that all accumulation elements are real-valued, i.e. denormalized to time constant τ=10 µs and utilize impedance norm ξ=1000. Note that both τand ξcan be chosen arbitrarily. Dynamics of this memory is described by following set of ordinary differential equations: C1 d dt v1=iL−f1(v1),(1a) C2 d dt v2=iL−f2(v2),(1b) Ld dt iL= −v1−v2,(1c) where scalar PWL functions are of the form: |vk|≤Vk sat Ak →fk(vk)=1−Ak Rkvk,(2a) vk>Vk sat Ak →fk(vk)=1 Rkvk−Vk sat Ak +1−Ak Rk ·Vk sat Ak ,(2b) vk<−Vk sat Ak →fk(vk)=1 Rkvk−Vk sat Ak −1−Ak Rk ·Vk sat Ak ,(2c) where formulas for saturation voltages Vk sat , slope resistors Rkand amplifications Akwill be defined later. Fixed points are all real solutions of a nonlinear algebraic problem dx/dt =0. Number and location of equilibria depends only VOLUME 8, 2020 197277 J. Petrzela, R. Sotner: Binary Memory Implemented by Using Variable Gain Amplifiers on the shape of AV curves of PWL resistors. Dynamical system (1) can possess one, three or five fixed points. Their locations are uniquely determined by solution for which holds: v1= −v2,(3a) iL=f1(v1)=f2(−v2).(3b) Obviously, we always have equilibrium located at state space origin, i.e. xe=(0, 0, 0)T. In fact, PWL functions divide state space into nine affine segments. Presence of the fixed point in each segment is conditioned by existence of solution of following equations: v1= −v2=R2 R1+R2−R1A2V1 sat ∧v1 >V1 sat A1 ∧|v2|<V2 sat A2 ,(4a) v1= −v2= − R2 R1+R2−R1A2V1 sat ∧v1 <−V1 sat A1 ∧|v2|<V2 sat A2 ,(4b) v1= −v2= − R1 R1+R2−R2A1V2 sat ∧|v1| <V1 sat A1 ∧v2>V2 sat A2 ,(4c) v1= −v2=R1 R1+R2−R2A1V2 sat ∧|v1| <V1 sat A1 ∧v2<−V2 sat A2 ,(4d) v1= −v2= − R1V2 sat −R2V1 sat R1+R2∧v1 >V1 sat A1 ∧v2>V2 sat A2 ,(4e) v1= −v2= − R1V2 sat +R2V1 sat R1+R2∧v1 <−V1 sat A1 ∧v2>V2 sat A2 ,(4f) v1= −v2=R1V2 sat +R2V1 sat R1+R2∧v1 >V1 sat A1 ∧v2<−V2 sat A2 ,(4g) v1= −v2=R1V2 sat −R2V1 sat R1+R2∧v1 <−V1 sat A1 ∧v2<−V2 sat A2 .(4h) Jacobi matrices for individual segments can be expressed as: Jinner inner =        1−A1 R1C1 01 C1 01−A2 R2C2 1 C2 −1 L−1 L0        ,(5a) Jouter inner =        1−A1 R1C1 01 C1 01 R2C2 1 C2 −1 L−1 L0        ,(5b) Jinner outer =        1 R1C1 01 C1 01−A2 R2C2 1 C2 −1 L−1 L0        ,(5c) Jouter outer =        1 R1C1 01 C1 01 R2C2 1 C2 −1 L−1 L0        .(5d) Subscript and superscript associated with the square matrix J mark segment of first and second PWL resistor, respectively. Characteristic polynomial can be expressed as follows: λ3−α1 R1C1 −α2 R2C2λ2+1 C1L+1 C2L+α1α2 R1R2C1C2λ− −R1α2+R2α1 R1R2C1C2L=0,(6) where αk=1 in the outer segment and αk=1 – Akin the inner segment of the k-th PWL resistor. Roots of polynomial (6) can be evaluated using Cardan rules, both symbolically and numerically form. Symbolic formulas are very complicated and will not be provided. However, numerical evaluation of roots of polynomial (6) is part of optimization routine as it will be clarified in upcoming section. III. NUMERICAL ANALYSIS Numerical results presented in this paper were obtained using three programs: Mathcad 15 mostly dedicated for graphical visualization, Matlab 2018 for implementation of calculation routines, and Orcad Pspice utilized for circuit simulations. For numerical integration process, fourth order Runge-Kutta method with the fixed time step was chosen. FIGURE 2. Different projections of a typical strange attractor produced by memory: v1vs v2plane (left), v1vs iLplane (middle), v2vs iLplane (right). Sensitivity to small changes of initial conditions: initial (green) and final (red) states after evolution time 100 µs, small plot is zoomed area v1∈(–10, 10) mV, v2∈(–10, 10) mV with 104randomly generated initial conditions with uniform distribution. Figure 2 demonstrates a typical shape of the ‘‘maximally complex„strange attractor generated by the binary memory. 197278 VOLUME 8, 2020 J. Petrzela, R. Sotner: Binary Memory Implemented by Using Variable Gain Amplifiers FIGURE 3. Rainbow-scaled contour plot of kinetic energy distribution, v1vs v2plane projection of typical chaotic attractor (black) and return maps (white dots) plotted for following list of Poincaré sections: iL=–7 mA, iL=–6 mA, iL=–5 mA, iL=–4 mA, iL=–3 mA, iL=–2 mA, iL=–1 mA, and iL=0 mA. This plot also shows a high degree of unpredictability of dynamical flow. Distribution of kinetic energy in state space occupied by the typical double-scroll attractor generated by memory is provided by means of Fig. 3. Here, low speed of system evolution is marked by blue colour, average kinetic energy is denoted by green areas, high and very high system movement can be expected in yellow and red regions. Note that only horizontal slices for the negative current iL are provided. It is because origin-centred symmetry of the vector field. This means that plots for the positive values of current iLlooks analogically. Figure 4 provides plots of LLE as two-dimensional functions of all combinations of the parameters in the hexagonal space. This six-dimensional hyperspace was dedicated for search-for-chaos routine where fitness function was suitable combination of three basic properties of a state attractor, namely: 1) boundedness of the attractor, 2) positive value of LLE, and 3) existence of three unstable fixed points. Optimization itself is based on a nongradient evolutionary-inspired algorithm. Stability of equilibrium points is tested via calculation of roots of (6). From the viewpoint of chaos formation third criterion seems to be irrelevant because many chaotic dynamical systems having degenerated equilibrium structures [41]–[43], with variable equilibrium [44] or even without equilibrium objects (points, lines, curves) [45] have been already discovered. It has been already proved that chaos is not restricted to unstable fixed points, see [46], [47] for details. On the other hand, existence of three fixed points represents situation that is close to the operation as common binary memory. Discovered strange attractors belong to the class of selfexcited, rendering a choice of initial conditions very simple: in the close neighbourhood of origin that is unstable for all combinations of system parameters considered during search procedure. Of course, Fig. 4 shows only a small fragment of parameter’s hyperspace addressed by optimization procedure used in this work. It is focused on area where robust chaos was finally localized. Set of numerical values that leads to a very dense double-folded strange attractor are: C1=110 nF, C2= 360 nF, L=1 mH, V1 sat =200 mV, A1=1.2, R1=14 , V2 sat =1 V, A2=3, R2=130 . Eigenvalues associated with fixed points in the outer regions of the vector field depends primarily on the slopes of PWL resistors. Used method for numerical calculation of LLE with Gram- Smith orthogonalization excludes wrong misinterpretation of the chaotic dynamics as numerical artefact or a long chaotic transient. Variations of solution with respect to the resistance R2is visualized by means of Fig. 5. In these plots, the initial conditions were chosen symmetrically as x0=(0.01, 0, 0)T and vector x0=(–0.01, 0, 0)Tfor orange and blue trajectory respectively. State orbits were integrated up to the final time 100 ms with fixed time step 1 µs. Intersections of plotted PWL functions mark v1coordinates of the fixed points. Note that mentioned qualitative change of memory behavior starts and ends with attraction fixed points. Between corner values of the resistance R2, that is 50 and 600 , several different limit cycles can be observed. Further increasing value of resistor R2does not admit turning dynamical system into chaotic regime. Also note that outer fixed points can be located within either inner or outer segments of second PWL function. For R2=50 eigenvalues associated with these equilibrium points are given by linearization matrix Jouter outer and numerical eigenvalues are λ1,2=–3.488·104±j·4.918·104, VOLUME 8, 2020 197279 J. Petrzela, R. Sotner: Binary Memory Implemented by Using Variable Gain Amplifiers FIGURE 4. Topographically scaled surface-contour plot of LLE as function of two circuit parameters taken from full set {A1,R1,V1 sat,A2,R2,V2 sat}, high-resolution plots with uniform parameter step 0.01. λ3=–6.351·105, i.e. a state orbit spirals toward outer fixed points quickly. Therefore, what we have here, is a true binary memory with two mirrored basins of attraction. Table 1 shows symbolically transitions between state space segments described above (situation a – first row). For chaos evolution, outer fixed points should be located within inner segment created by the second PWL resistor, i.e. where eigenvalues are defined by Jinner outer . For resistance R2larger than 70 state space geometry can be divided into nine affine segments and described by transitions in situation b (second line of Table 1). Obviously, chaotic orbit eventually visits all regions of the state space. For upper boundary R2=600 eigenvalues calculated for the outer equilibrium points are still defined by Jinner outer and one can obtain easily λ1,2=–2.479·103±j·5.197·104and λ3=–6.351·105, i.e. state orbit tends toward outer fixed points following spiral 197280 VOLUME 8, 2020 J. Petrzela, R. Sotner: Binary Memory Implemented by Using Variable Gain Amplifiers FIGURE 5. Bifurcation sequence based on change of single resistance R2(slope of second PWL resistor): a) 50 , b) 60 , c) 80 , d) 90 , e) 110 , f) 130 , g) 140 , h) 150 , i) 170 , j) 230 , k) 250 , l) 280 , m) 320 , n) 410 , and o) 600 . movement. In this case, transitions between segments could be characterized by situation c (third line of Table 1). Note that several different attractors coexist within dynamics of binary memory. Figure 5n) shows four different ω-limit sets: two fixed points and two mirrored limit cycles. Evolution of the latter cases is achieved by choosing initial conditions as x0=(0.1, 0, 0)Tfor brown colour and vector x0=(–0.1, 0, 0)Tfor red trajectory. The same limit cycles can be observed for the higher values of resistor R2. As part of numerical investigation, basin of attraction for chaotic and non-chaotic attractors was calculated. To do this, systematic state space grid of volume 10 V ×10 V ×10 mA having density 100 mV ×100 mV ×1 mA of the initial conditions was constructed. Doing so, it has been verified that robust strange attractor generated by sequent numerical values of passive and active elements: C1=110 nF, C2= 360 nF, L=1 mH, V1 sat =200 mV, A1=1.2, R1=14 , V2 sat =1 V, A2=3, R2=130 , is a global attracting set. However, question about existence of hidden attractors was not answered. To find answer, more sophisticated calculation of the initial states than generation of rough grid mentioned above needs to be performed. In fact, a pair of the hidden attractors can be expected due to the vector field symmetry. Because familiarity of analysed memory system with Chua’s oscillator it is very likely that hidden limit cycles coexist with strange attractors, similarly as it was proved for this famous chaotic oscillator in paper [48]. VOLUME 8, 2020 197281 J. Petrzela, R. Sotner: Binary Memory Implemented by Using Variable Gain Amplifiers TABLE 1. Transitions between state space segments. FIGURE 6. Principal configuration of fully analogue electronically adjustable active PWL resistor. IV. DESCRIPTION OF PWL BUILDING BLOCK Chaotic oscillator to be implemented contains three passive elements and two PWL resistors, as evident from Fig. 1c). Circuit realization of PWL resistor with two VGAs AD835 is depicted in Fig. 6 together with implementation of VGA using one multiplier and differential stage. Theoretical shape of AV characteristics is provided in Fig. 7. Design formulas important for synthesis of the analogue chaotic system or, more precisely speaking, for synthesis of PWL resistors, will be derived in this section. Position of breakpoint voltages is symmetrical with respect to origin, namely: ±Vbreak = ±V2 sat 1 A1A2 ∼ =±V2 sat VSETA1Rf1+Rf2 Rf1VSETA2 .(7) Because for AD835 holds relation V2 sat =Vinp ·VSETA2 we obtain immediately: ±Vbreak =±Vinp_ max VSET _A1Rf1+Rf2 Rf1.(8) FIGURE 7. PWL AV characteristics of designed active resistor including description math formulas. Note that this formula does not depend on the voltage VSETA2. Slope of PWL AV curve in the inner segment, i.e. if Vinp < ±Vbreak , can be expressed as: Rin_inner =1 gm_in_inner =RPWL 1−A1A2 ∼ =RPWL 1−VSET _A11+Rf2 Rf1VSET _A2 .(9) In the outer segments, namely for Vinp >±Vbreak where slope of AV characteristics is positive, equivalent resistance can be formulated as: Rin_outer =1 gm_in_outer =RPWL.(10) Using these formulas and parameters defined above leading to the so-called ‘‘chaotification’’ of a binary memory system, numerical values of both PWL resistors are provided via Table 2. AV characteristics of both PWL resistors ready 197282 VOLUME 8, 2020 J. Petrzela, R. Sotner: Binary Memory Implemented by Using Variable Gain Amplifiers TABLE 2. Theoretical and practical numerical values associated with implementation of both active PWL resistors. for implementation in the memory were experimentally confirmed via laboratory measurement. FIGURE 8. Measured AV curves of both designed PWL resistors: a) interesting numerical values within required state space volume, b) corresponding conductance slopes as functions of input voltage. Results are graphically summarized by means of Fig. 8. To preserve smooth, visually friendly shape of modelled chaotic attractor, segments of AV curves of both PWL resistors need to be straight lines without ripples or overshoots. Linearity is represented by constant derivatives, the input admittances of PWL blocks. To verify such feature, measurement was done using small step of input voltage, success visible in Fig. 8b). V. REALIZATION, SIMULATION, AND EXPERIMENTS Fully analogue circuit realization of binary memory cell is provided in Fig. 1c) where two PWL resistors described in Fig. 6 are utilized. Numerical values associated with AV FIGURE 9. Selected Orcad Pspice circuit simulation results associated with chaotic regime of binary memory: a) generated signals in time domain, b) corresponding plane projection. characteristics of both PWL resistors are given within Tab. 2. At the first stage, chaos in binary memory cell was confirmed by Orcad Pspice circuit simulator, see Fig. 9 for few selected results. Chaotic circuit was implemented using breadboard and fed by symmetrical ±5 V. This limited supply voltage is allowed thanks to the small state space volume occupied by desired strange attractor, check Fig. 2. Figure 10 illustrates one-dimensional bifurcation diagrams calculated with respect to three key internal parameters of PWL resistors. Chaotic waveforms v1and v2generated by the chaotic binary memory are visualized by means of Fig. 11. Evidently, chaotic motion is a combination (repetition) of two spiral movements. This corresponds to two saddle-spiral types of equilibrium points. Of course, dynamical system (1) can be implemented as the lumped circuit using alternative approach. For example, voltage mode [49] as well as current mode [50] chaotic circuit can be designed using analogue computer concept. VI. RESULTS AND DISCUSSION Firstly, this manuscript introduces elegant realization of low voltage two-terminal device having the odd-symmetrical VOLUME 8, 2020 197283 J. Petrzela, R. Sotner: Binary Memory Implemented by Using Variable Gain Amplifiers FIGURE 10. Calculated one-dimensional bifurcation diagrams and associated state attractors captured by oscilloscope: variable A1∈(0.8, 1.5) (upper plot), variable R1∈(10, 700) (middle plot), variable A2∈(2.55, 3.25) (lower plot). 197284 VOLUME 8, 2020