Abstract

The paper studies a kind of piecewise-linear memristor-based chaotic system. Based on a novel and complicated piecewise-linear memristor model, a chaotic system is constructed; then a random sequence extraction approach on the basis of the given memristor-based chaotic system is designed; at last the random sequence test is carried out to show the potential application value in encryption field of the new memristor-based chaotic system.

1. Introduction

Chaos phenomenon in circuit was first reported by Leon O. Chua at Waseda University in 1983. Since then, chaos gets a number of attentions from scholars for its potential application in chaotic synchronization [1, 2], secret communication [3, 4], image’s encryption [5, 6], and so on.

In 1971, Chua first proposed the concept of memristor [7], which was regarded as the fourth element in electronic circuits. Although the technique to produce the real memristor is not mature so far, memristor model can be used to construct chaotic circuit system. At present, a number of investigations on memristor-based chaotic system have been carried out [812]. For example, the chaotic circuit with one memristor is studied in [13, 14], the chaotic circuit with two memristors is concerned in [15, 16], the integer order chaotic memristor circuit is investigated in [17, 18], and the fractional chaotic memristor circuit is researched in [19, 20]. However for the existing piecewise-linear memristive chaotic circuits, the nonlinear device usually adopts Chua’s piecewise-linear memristor model, and there are seldom other kinds of piecewise-linear memristor model for selection.

Random number generator is one important application field of chaotic system [21, 22], and how to generate a random sequence with better performance has always been a challenging issue. Although some approaches to extract random sequence based on memristive chaotic system have been proposed up to now, corresponding random sequences are easy to analyze by attackers with the well-known prior knowledge of memristive chaotic system. Hence it is meaningful to build the memristive chaotic system on the basis of the new and complicated memristor model. All these motive our research.

The organization of the paper is as follows: a chaotic system based on a novel piecewise-linear memristor model will be proposed in Section 2, and corresponding analysis will also be provided; then the random sequence test will be carried out in Section 3; the conclusion will be presented in Section 4.

2. Memristor-Based Chaotic System

In this section, a novel memristor-based system is proposed as follows:where is the constructed memristor model, which satisfies When , initial value is , and the system dynamics are displayed in Figures 1 and 2.

Remark 1. Figure 1(a) displays the time response of state variable x(t). Figure 1(b) displays the time response of state variable y(t). Figure 1(c) displays the time response of state variable w(t). It can be seen that the state variables of the memristor-based system look chaotic and disorganized visually.

Remark 2. Figure 2(a) displays the phase diagram of y-w. Figure 2(b) displays the phase diagram of x-w. Figure 2(c) displays the phase diagram of x-z. It can be seen that the state variables of the memristor-based system keep moving in a certain attractor and do not converge to a point or diverge to infinity.

Firstly, consider the system dissipativity:When , one can getWhen , one can getWhen , one can getWhen , one can getFrom the above it can be concluded that , which means that the memristor-based system is dissipative.

Next, by adjusting parameter , consider the dynamics of the given memristor-based system. The simulations are displayed in Figure 3.

Remark 3. Figure 3(a) displays the Lyapunov exponent diagram of the memristor-based system. Figure 3(b) displays the bifurcation diagram of the memristor-based system. It can be seen that the given memristor-based system is in the chaotic state when .

3. Random Sequence

In this section, we design a new random sequence extraction approach on the basis of the given memristor-based system as follows.

Step 1. Let X=[x,y,z,w]. Set the initial variable of the given memristor-based chaotic system X0=, the threshold value m=4, and the sequence label j=0.

Step 2. Carry out iterations 1000 times based on the given memristor-based chaotic system, corresponding system state variable is denoted as X(j), and set the sequence label j=1.

Step 3. Carry out an iterative operation based on the given memristor-based chaotic system, and set the sequence label j=j+1.

Step 4. Determine i:
i = REM (z(j),2),
where REM (.) is the remainder operation.

Step 5. Determine :
when > 4, =1;
otherwise, =0;
where denotes the value of ith decimal place of w(j).

Step 6. Determine the mapping variable M(j) according to i:
if i=0, M(j)=x(j);
if i=1, M(j)=y(j).

Step 7. Determine :
when > 4,=1;
otherwise, =0.
where denotes the value of ith decimal place of .

Step 8. Determine
= XOR ((j), );
where XOR (.) is the exclusive-or operation.

Step 9. Carry out circulation from Step 3 to Step 8 10 million times; one can obtain the binary random sequence:

where j=N, and N=10000000 is the required sequence length.

Set the sampling time T as 0.001s, and . Extract a binary random sequence with 10 million bits, which is divided into 100 groups and put into a software test kit, NIST, and the NIST test results of random sequences are displayed in Table 1.

Remark 4. Table 1 displays NIST test results of random sequences. The significance level of each test in NIST is set to 0.01, and P value 0.01 means that the sequence would be random with a confidence of 0.99. It can be noted that P values of all tests on the proposed sequence are all bigger than 0.01, which means our sequence can be regarded as random. In addition, it can be seen that, compared with Chua’s system [23], the sequence based on the new memristor-based chaotic system has bigger P value in Frequency test, Block Frequency test, Cumulative Sums test, Runs test, Longest Run test, Rank test, Approximate Entropy test, Serial test, and Linear Complexity test; hence the proposed sequence has the better overall random statistic characteristics.

Next, the statistic test on 100000 bits of sequence based on Beker and Piper method [24] is carried out. Corresponding test results are shown in Table 2.

Remark 5. Table 2 shows the statistic test results of sequences based on Beker and Piper method. Frequency test, Serial test, Poker test, and Runs test are included in Beker and Piper approach to measure the relative frequencies of ‘0’ and ‘1’ in a section of sequence. The confidence level is set as 0.95, and threshold is introduced to determine the confidence of test results. It can be seen that all results are less than the preset threshold, which means that all tests are passed successfully, and the sequences can be regarded as random signal. In addition, it can be seen that the numerical values of Frequency test, Serial test, Poker test, and Runs test based on the proposed sequence are less than the ones based on Chua’s system. More importantly, the proposed sequence is on the basis of chaotic system with the novel piecewise-linear memristor model, which will increase the security of corresponding cryptosystem for its unusual mechanism.

4. Conclusion

In this paper, based on a proposed complicated piecewise-linear memristor model, a new chaotic system has been constructed; then an extraction method on the basis of the given memristor-based system has been designed to obtain the random sequence; finally the random sequence test is carried out to show the potential application value of the new memristor-based chaotic system in encryption field.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The author declares that there are no conflicts of interests regarding the publication of this paper.

Acknowledgments

This work is partially supported by the Key Laboratory of Fluid and Power Machinery of the Ministry of Education and the National Natural Science Foundation of China (61703150, 11626093).