Digital OR gate implementation method based on ternary memristor

By designing four OR gate circuit models based on ternary memristors, the problem of insufficient research on ternary logic gates in the existing technology is solved, and stable ternary logic operation and multi-valued logic operation capabilities are realized.

CN112818617BActive Publication Date: 2024-11-19HANGZHOU DIANZI UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011638894.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-31
Publication Date
2024-11-19
Estimated Expiration
2040-12-31

AI Technical Summary

Technical Problem

There is limited research on existing ternary memristor logic gates, and it is difficult to achieve stable and reliable ternary information and logic operations.

Method used

Four OR gate circuit models based on ternary memristors were designed, including forward-forward, reverse-forward, forward-reverse, and reverse-reverse ternary OR gate circuits. The resistance state of the memristor is used as the logic state variable, and logical operations are implemented through asymmetric ternary logic.

Benefits of technology

A reliable and stable ternary logic "OR" operation based on ternary memristors has been realized, which has important potential for multi-valued numerical logic operations and memristor cross array applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112818617B_ABST
    Figure CN112818617B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for realizing a digital OR gate based on a ternary memristor. The present invention designs a forward-forward ternary OR gate circuit, a reverse-forward ternary OR gate circuit, a forward-reverse ternary OR gate circuit, and a reverse-reverse ternary OR gate circuit, and the ternary memristor in the OR gate circuit is a voltage-controlled threshold ternary memristor. The present invention has a clear and simple structure and is easy to implement. The gate circuit model has important significance in the research of many application fields such as multi-valued numerical logic operations and memristor cross arrays.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of circuit design and relates to a digital OR gate realization method based on a ternary memristor. Background Art

[0002] Memristor is a new type of circuit element, which was first proposed theoretically by Professor Cai Shaotang in 1971 based on the completeness and symmetry of the circuit. Memristor describes the relationship between magnetic flux and charge, filling the gap between the relationship between the four basic circuit variables. However, due to the inability of the technological level at that time to meet the production requirements, memristor could not be physically realized for a long time.

[0003] In 2008, HP Labs successfully manufactured a physical memristor based on nanotechnology, which triggered a wave of research on memristors. As research continues to deepen, memristors have been proven to play an important role in various fields, such as non-volatile memory, digital logic circuits, artificial neural networks, chaotic circuits, etc.

[0004] Nowadays, the rapid development of integrated circuits has greatly promoted the advent of the information age. However, with the continuous improvement of integration, the increase of interconnects in integrated circuits has brought a series of problems, such as heat dissipation, short channel effect, quantum mechanical effect, etc. Therefore, it is necessary to invent a more efficient circuit design technology, and multi-valued logic circuits, especially three-valued logic circuits, can provide an effective solution for this. Obviously, the use of three-valued logic (0, 1, 2 or -1, 0, 1) can improve the density of integrated circuits and the ability to process information compared to two-valued logic.

[0005] Memristors can represent logical states by using resistance states instead of electrical levels. Each resistance state can represent a logical state, which can theoretically be used to store three-value information and perform three-value logic operations. However, there are few studies on the logic gates of three-value memristors, and it is somewhat difficult to perform three-value information and three-value logic operations through stable and reliable logic states. Therefore, it is necessary to design an OR gate circuit based on three-value memristors. Summary of the invention

[0006] In view of the deficiencies in existing research, the present invention proposes a digital OR gate implementation method based on a three-valued memristor to reliably and stably implement a three-valued logic "OR" operation.

[0007] The technical solution adopted by the present invention to solve the technical problem is as follows:

[0008] It includes a forward-forward three-value OR gate circuit, a reverse-forward three-value OR gate circuit, a forward-reverse three-value OR gate circuit, and a reverse-reverse three-value OR gate circuit.

[0009] The forward-forward three-value OR gate circuit is composed of three three-value memristors. The first three-value memristor R in1 and the second three-value memristor R in2 As the input memristor, the positive pole is connected to the power supply V, and the third three-value memristor R out Positive electrode and R in1 , R in2 The negative pole is connected, the positive pole is grounded, and serves as an output memristor.

[0010] The reverse-forward three-value OR gate circuit is composed of three three-value memristors. The first three-value memristor R in1 and the second three-value memristor R in2 As the input memristor, the negative pole is connected to the power supply V, and the third three-value memristor R out Positive electrode and R in1 , R in2 The positive electrode is connected, the negative electrode is grounded, and serves as an output memristor.

[0011] The forward-reverse three-value OR gate circuit is composed of three three-value memristors. The first three-value memristor R in2 and the second three-value memristor R in2 As the input memristor, the positive pole is connected to the power supply V, and the third three-value memristor R out Negative electrode and R in1 , R in2 The negative pole is connected, the positive pole is grounded, and serves as an output memristor.

[0012] The reverse-reverse three-value OR gate circuit is composed of three three-value memristors. The first three-value memristor R in2 and the second three-value memristor R in2 As the input memristor, the negative pole is connected to the power supply V, and the third three-value memristor R out Negative electrode and R in1 , R in2 The positive electrode is connected to the ground and serves as the output memristor.

[0013] The present invention designs a novel circuit model of an OR gate based on a three-value memristor, which has a clear and simple structure and is easy to implement. The gate circuit model is of great significance in the research of many application fields such as multi-value numerical logic operations and memristor crossbar arrays. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is the positive-positive three-value OR gate circuit of the present invention.

[0015] Figure 2 It is the reverse-forward three-value OR gate circuit of the present invention.

[0016] Figure 3It is the forward-reverse three-value OR gate circuit of the present invention.

[0017] Figure 4 It is the reverse-reverse three-value OR gate circuit of the present invention. DETAILED DESCRIPTION

[0018] The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0019] The three-value memristor model used in the design of the present invention is a voltage-controlled threshold three-value memristor, and its mathematical model is described by the following formula:

[0020]

[0021]

[0022]

[0023] Where a, b, c, d, and e are adjustable parameters in the model, x is the internal state variable of the system, v(t) represents the voltage across the memristor, i(t) represents the current flowing through the memristor, and v th1 and v th2 represents two different threshold voltages, R L , R M , R H They correspond to three different resistance states of the model from low to high.

[0024] Under the action of external voltage, the memristor model can show threshold characteristics. When v>v th2 When the memristor is set to R L When v th1 <v<v th2 If the state of the memristor model is R H It will quickly drop to R M Otherwise, the original state will remain unchanged. th1 <v<v th1 When -v th2 <v<-v th1 If the resistance of the memristor is less than R M will increase to R M , otherwise no change occurs. When v<-v th2 When the model is set to R H .

[0025] The four OR gate circuit models based on three-value memristors designed in the present invention are all composed of three three-value memristors, using the memristor value as the logic state variable and using asymmetric three-value logic, namely "0", "1" and "2" to realize the OR gate logic operation.L Represents logic "2", R M Represents logic "1", R H Represents logic "0". The various parameter settings of the LTSpice three-value memristor model used are as follows: th1 and v th2 Set to 0.9V and 1.1V respectively, a=e=10, b=10000, c=d=0.2, R L , R M and R H Set them to 100Ω, 1kΩ and 10kΩ respectively. For a three-valued OR gate, the OR logic is to find the maximum value of the two inputs, and the corresponding truth table is shown in the following table:

[0026] <![CDATA[R in1 ]]> <![CDATA[R in2 ]]> <![CDATA[R out ]]> 0 0 0 0 1 1 0 2 2 1 0 1 1 1 1 1 2 2 2 0 2 2 1 2 2 2 2

[0027] All three-value OR gates in this design are driven by an excitation voltage source V. Each operation of the logic gate can be divided into two stages. One is the initial stage, which corresponds to 0 to 10ms. In this stage, V outputs a small measurement voltage V MS , used to measure the initial state of each memristor, and to measure the resistance of the memristor by reading the voltage across the memristor and the current passing through it. For the four different logic OR gates, the output memristors in the initial stage are all set to 10kΩ (logic "0"). By using a smaller measurement voltage V MS , so that the voltage division on each memristor will not exceed the set threshold voltage, and therefore, the state of each memristor will not be changed. The second stage is the operation stage, corresponding to 10 to 20ms, during which V outputs a larger operating voltage V OP Used to perform logical operations.

[0028] In all gate circuits described in this design, the voltage V MS are all 0.5V, but for the operating voltage V OP For example, different values ​​need to be set in different gate circuits. The following is a detailed description of the specific voltage division of each memristor in different logic gates during simulation operation.

[0029] For a positive-positive ternary OR gate, see Figure 1 , the operating voltage used is V OP is 1.25V.

[0030] When the input is logic "0" and logic "0". In the initial stage, the total parallel resistance of the input memristor is 5kΩ, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.417V, and the output memristor R out The voltage across the two ends is 0.833V, which does not exceed the threshold voltage of 0.9V. Therefore, Rout The state of the output memristor will not change. In the second operation phase, the output memristor outputs logic "0".

[0031] When the input is logic "0" and logic "1". In the initial stage, the total parallel resistance of the input memristor is 909Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.104V, and the output R out The voltage across the two ends is 1.146V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 0.655V, which does not exceed the threshold voltage of 0.9V. Therefore, R out The state of the output memristor will not change, and the output memristor outputs logic "1".

[0032] When the input is logic "0" and logic "2". In the initial stage, the total parallel resistance of the input memristor is 99Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.012V, and the output R out The voltage across the two ends is 1.238V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 1.137V, which exceeds the threshold voltage of 1.1V. Therefore, R out The status of R will continue to change. out The value is set to R L , the output memristor outputs logic “2”.

[0033] When the input is logic "1" and logic "1". In the initial stage, the total parallel resistance of the input memristor is 500Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.060V, and the output R out The voltage across the two ends is 1.190V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 0.833V, which does not exceed the threshold voltage of 1.1V. Therefore, R out The state of the output memristor will not change, and the output memristor outputs logic "1".

[0034] When the input is logic "1" and logic "2". In the initial stage, the total parallel resistance of the input memristor is 90.9Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.011V, and the output Rout The voltage across the two ends is 1.239V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 1.146V, which exceeds the threshold voltage of 1.1V. Therefore, R out The status of R will continue to change. out The value is set to R L , the output memristor outputs logic “2”.

[0035] When the input is logic "2" and logic "2". In the initial stage, the total parallel resistance of the input memristor is 50Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.006V, and the output R out The voltage across the two ends is 1.244V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 1.190V, which exceeds the threshold voltage of 1.1V. Therefore, R out The status of R will continue to change. out The value is set to R L , the output memristor outputs logic “2”.

[0036] For a reverse-forward ternary OR gate, see Figure 2 , the operating voltage used is V OP is 1.25V.

[0037] When the input is logic "0" and logic "0". In the initial stage, the total parallel resistance of the input memristor is 5kΩ, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.417V, and the output memristor R out The voltage across the two ends is 0.833V, which does not exceed the threshold voltage of 0.9V. Therefore, R out The state of the output memristor will not change. In the second operation phase, the output memristor outputs logic "0".

[0038] When the input is logic "0" and logic "1". In the initial stage, the total parallel resistance of the input memristor is 909Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.104V, and the output R out The voltage across the two ends is 1.146V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R MAt this time, the voltage across the output memristor is 0.655V, which does not exceed the threshold voltage of 0.9V. Therefore, R out The state of the output memristor will not change, and the output memristor outputs logic "1".

[0039] When the input is logic "0" and logic "2". In the initial stage, the total parallel resistance of the input memristor is 99Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.012V, and the output R out The voltage across the two ends is 1.238V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 1.137V, which exceeds the threshold voltage of 1.1V. Therefore, R out The status of R will continue to change. out The value is set to R L , the output memristor outputs logic “2”.

[0040] When the input is logic "1" and logic "1". In the initial stage, the total parallel resistance of the input memristor is 500Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.060V, and the output R out The voltage across the two ends is 1.190V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 0.833V, which does not exceed the threshold voltage of 1.1V. Therefore, R out The state of the output memristor will not change, and the output memristor outputs logic "1".

[0041] When the input is logic "1" and logic "2". In the initial stage, the total parallel resistance of the input memristor is 90.9Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.011V, and the output R out The voltage across the two ends is 1.239V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 1.146V, which exceeds the threshold voltage of 1.1V. Therefore, R out The status of R will continue to change. out The value is set to R L , the output memristor outputs logic “2”.

[0042] When the input is logic "2" and logic "2". In the initial stage, the total parallel resistance of the input memristor is 50Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.006V, and the output R out The voltage across the two ends is 1.244V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 1.190V, which exceeds the threshold voltage of 1.1V. Therefore, R out The status of R will continue to change. out The value is set to R L , the output memristor outputs logic “2”.

[0043] For a forward-reverse ternary OR gate, see Figure 3 , the operating voltage used is V OP is -1.25V.

[0044] When the input is logic "0" and logic "0". In the initial stage, the total parallel resistance of the input memristor is 5kΩ, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.417V, and the output memristor R out The voltage across the two ends is 0.833V, which does not exceed the threshold voltage of 0.9V. Therefore, R out The state of the output memristor will not change. In the second operation phase, the output memristor outputs logic "0".

[0045] When the input is logic "0" and logic "1". In the initial stage, the total parallel resistance of the input memristor is 909Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.104V, and the output R out The voltage across the two ends is 1.146V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 0.655V, which does not exceed the threshold voltage of 0.9V. Therefore, R out The state of the output memristor will not change, and the output memristor outputs logic "1".

[0046] When the input is logic "0" and logic "2". In the initial stage, the total parallel resistance of the input memristor is 99Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.012V, and the output R out The voltage across the two ends is 1.238V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, Rout The value is set to R M At this time, the voltage across the output memristor is 1.137V, which exceeds the threshold voltage of 1.1V. Therefore, R out The status of R will continue to change. out The value is set to R L , the output memristor outputs logic “2”.

[0047] When the input is logic "1" and logic "1". In the initial stage, the total parallel resistance of the input memristor is 500Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.060V, and the output R out The voltage across the two ends is 1.190V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 0.833V, which does not exceed the threshold voltage of 1.1V. Therefore, R out The state of the output memristor will not change, and the output memristor outputs logic "1".

[0048] When the input is logic "1" and logic "2". In the initial stage, the total parallel resistance of the input memristor is 90.9Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.011V, and the output R out The voltage across the two ends is 1.239V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 1.146V, which exceeds the threshold voltage of 1.1V. Therefore, R out The status of R will continue to change. out The value is set to R L , the output memristor outputs logic “2”.

[0049] When the input is logic "2" and logic "2". In the initial stage, the total parallel resistance of the input memristor is 50Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.006V, and the output R out The voltage across the two ends is 1.244V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 1.190V, which exceeds the threshold voltage of 1.1V. Therefore, R out The status of R will continue to change. out The value is set to RL , the output memristor outputs logic “2”.

[0050] For the reverse-reverse ternary OR gate, see Figure 4 , the operating voltage used is V OP is -1.25V.

[0051] When the input is logic "0" and logic "0". In the initial stage, the total parallel resistance of the input memristor is 5kΩ, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.417V, and the output memristor R out The voltage across the two ends is 0.833V, which does not exceed the threshold voltage of 0.9V. Therefore, R out The state of the output memristor will not change. In the second operation phase, the output memristor outputs logic "0".

[0052] When the input is logic "0" and logic "1". In the initial stage, the total parallel resistance of the input memristor is 909Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.104V, and the output R out The voltage across the two ends is 1.146V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 0.655V, which does not exceed the threshold voltage of 0.9V. Therefore, R out The state of the output memristor will not change, and the output memristor outputs logic "1".

[0053] When the input is logic "0" and logic "2". In the initial stage, the total parallel resistance of the input memristor is 99Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.012V, and the output R out The voltage across the two ends is 1.238V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 1.137V, which exceeds the threshold voltage of 1.1V. Therefore, R out The status of R will continue to change. out The value is set to R L , the output memristor outputs logic “2”.

[0054] When the input is logic "1" and logic "1". In the initial stage, the total parallel resistance of the input memristor is 500Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.060V, and the output R outThe voltage across the two ends is 1.190V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 0.833V, which does not exceed the threshold voltage of 1.1V. Therefore, R out The state of the output memristor will not change, and the output memristor outputs logic "1".

[0055] When the input is logic "1" and logic "2". In the initial stage, the total parallel resistance of the input memristor is 90.9Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.011V, and the output R out The voltage across the two ends is 1.239V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 1.146V, which exceeds the threshold voltage of 1.1V. Therefore, R out The status of R will continue to change. out The value is set to R L , the output memristor outputs logic "2". When the input is logic "2" and logic "2". In the initial stage, the total parallel resistance of the input memristor is 50Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.006V, and the output R out The voltage across the two ends is 1.244V, which exceeds the threshold voltage of 0.9V. Therefore, R out The state of will change. In the second operation stage, R out The value is set to R M At this time, the voltage across the output memristor is 1.190V, which exceeds the threshold voltage of 1.1V. Therefore, R out The status of R will continue to change. out The value is set to R L , the output memristor outputs logic “2”.

[0056] Those skilled in the art should realize that the above embodiments are only used to verify the present invention, and are not intended to limit the present invention. As long as they are within the scope of the present invention, any changes or modifications to the above embodiments will fall within the protection scope of the present invention.

Claims

1. Digital OR gate implementation method based on ternary memristor, Features: The ternary memristor used is a voltage-controlled threshold ternary memristor, and its mathematical model is described by the following formula: Where a, b, c, d, and e are adjustable parameters in the model, x is the internal state variable of the system, v(t) represents the voltage across the memristor, i(t) represents the current flowing through the memristor, and v th1 and v th2 represents two different threshold voltages, R L , R M , R H They correspond to the three different resistance states of the model from low to high, representing "2", "1", and "0" of three-valued logic respectively; The digital OR gate is formed by using three of the above three-valued memristors, using the memristor value as a logic state variable, and using asymmetric three-valued logic, namely "0", "1" and "2" to implement the OR gate logic operation and store three-valued information; The form of the digital or gate is: Forward-forward three-value OR gate circuit: The first three-value memristor R in1 and the second three-value memristor R in2 As the input memristor, the positive pole is connected to the power supply V, and the third three-value memristor R out Positive electrode and R in1 , R in2 The negative pole is connected, the positive pole is grounded, and serves as an output memristor; Reverse-forward three-value OR gate circuit: The first three-value memristor R in1 and the second three-value memristor R in2 As the input memristor, the negative pole is connected to the power supply V, and the third three-value memristor R out Positive electrode and R in1 , R in2 The positive electrode is connected, the negative electrode is grounded, and serves as an output memristor; Forward-reverse three-value OR gate circuit: the first three-value memristor R in2 and the second three-value memristor R in2 As the input memristor, the positive pole is connected to the power supply V, and the third three-value memristor R out Negative electrode and R in1 , R in2 The negative pole is connected, the positive pole is grounded, and serves as an output memristor; Reverse-reverse three-value OR gate circuit: the first three-value memristor R in2 and the second three-value memristor R in2 As the input memristor, the negative pole is connected to the power supply V, and the third three-value memristor R out Negative electrode and R in1 , R in2 The positive electrodes are connected, the positive electrodes are grounded, and serve as output memristors; Assume R in1 and R in2 Both are input memristors, R out is the output memristor, V is the DC power supply; the truth table of the digital OR gate logic is shown in the following table: The digital OR gate works in two stages: The first stage is the initial stage, during which the DC power supply V outputs a small measurement voltage V MS , used to measure the initial state of each memristor, and to calculate the resistance of the memristor by reading the voltage across the memristor and the current flowing through the memristor, wherein the output memristor in the initial stage is set to logic "0"; the measured voltage V MS The voltage division on each memristor will not exceed the set threshold voltage, so the memristor will not change its state; The second stage is the operation stage, the DC power supply V outputs the operating voltage V OP Used to perform logical operations.

2. The digital OR gate implementation method based on a ternary memristor according to claim 1, Features: Let a=e=10,b=10000,c=d=0.2 in the mathematical model, and the threshold voltage v th1 and v th2 Set to 0.9V and 1.1V respectively; R H , R M , R L are 10kΩ, 1kΩ, and 100Ω respectively, and the first three-value memristor R in1 and the second three-value memristor R in2 As the input memristor, the positive pole is connected to the DC power supply V, and the third three-value memristor R out The positive electrode and the first three-value memristor R in1 , the second three-value memristor R in2 The negative pole is connected, the positive pole is grounded, and serves as an output memristor; The operating voltage of the digital OR gate is V OP At 1.25V: When the input is logic "0" and logic "0"; in the initial stage, the total parallel resistance of the input memristor is 5kΩ, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.417V, and the output memristor R out The voltage across the two ends is 0.833V, which does not exceed the threshold voltage of 0.9V, so the output memristor R out The state will not change; during the operation phase, the output memristor outputs logic "0"; When the input is logic "0" and logic "1", in the initial stage, the total parallel resistance of the input memristor is 909Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.104V, and the output memristor R out The voltage across the two ends is 1.146V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M , at this time, the voltage across the output memristor is 0.655V, which does not exceed the threshold voltage of 0.9V, so the output memristor R out The state of will not change, and the output memristor outputs logic "1"; When the input is logic "0" and logic "2", in the initial stage, the total parallel resistance of the input memristor is 99Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.012V, and the output memristor R out The voltage across the two ends is 1.238V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M At this time, the voltage across the output memristor is 1.137V, which exceeds the threshold voltage of 1.1V. Therefore, the output memristor R out The state of the output memristor R out The value is set to R L , the output memristor outputs logic "2"; When the input is logic "1" and logic "1"; in the initial stage, the total parallel resistance of the input memristor is 500Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.060V, and the output R out The voltage across the two ends is 1.190V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M , at this time, the voltage across the output memristor is 0.833V, which does not exceed the threshold voltage of 1.1V, so the output memristor R out The state of will not change, and the output memristor outputs logic "1"; When the input is logic "1" and logic "2", in the initial stage, the total parallel resistance of the input memristor is 90.9Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.011V, and the output memristor R out The voltage across the two ends is 1.239V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M At this time, the voltage across the output memristor is 1.146V, which exceeds the threshold voltage of 1.1V. Therefore, the output memristor R out The state of the output memristor R out The value is set to R L , the output memristor outputs logic "2"; When the input is logic "2" and logic "2"; in the initial stage, the total parallel resistance of the input memristor is 50Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.006V, and the output memristor R out The voltage across the two ends is 1.244V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M , at this time, the voltage across the output memristor is 1.190V, which exceeds the threshold voltage of 1.1V, so the output memristor R out The state of the output memristor R out The value is set to R L , the output memristor outputs logic "2".

3. The digital OR gate implementation method based on a ternary memristor according to claim 1, Features: Let a=e=10,b=10000,c=d=0.2 in the mathematical model, and the threshold voltage v th1 and v th2 Set to 0.9V and 1.1V respectively; R H , R M , R L are 10kΩ, 1kΩ, and 100Ω respectively, and the first three-value memristor R in1 and the second three-value memristor R in2 As the input memristor, the negative pole is connected to the DC power supply V, and the third three-value memristor R out The positive electrode and the first three-value memristor R in1 , the second three-value memristor R in2 The positive electrode is connected, the negative electrode is grounded, and serves as an output memristor; The operating voltage of the digital OR gate is V OP At 1.25V: When the input is logic "0" and logic "0"; in the initial stage, the total parallel resistance of the input memristor is 5kΩ, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.417V, and the output memristor R out The voltage across the two ends is 0.833V, which does not exceed the threshold voltage of 0.9V, so the output memristor R out The state will not change; during the operation phase, the output memristor outputs logic "0"; When the input is logic "0" and logic "1", in the initial stage, the total parallel resistance of the input memristor is 909Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.104V, and the output memristor R out The voltage across the two ends is 1.146V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M , at this time, the voltage across the output memristor is 0.655V, which does not exceed the threshold voltage of 0.9V, so the output memristor R out The state of will not change, and the output memristor outputs logic "1"; When the input is logic "0" and logic "2", in the initial stage, the total parallel resistance of the input memristor is 99Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.012V, and the output memristor R out The voltage across the two ends is 1.238V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M At this time, the voltage across the output memristor is 1.137V, which exceeds the threshold voltage of 1.1V. Therefore, the output memristor R out The state of the output memristor R out The value is set to R L , the output memristor outputs logic "2"; When the input is logic "1" and logic "1"; in the initial stage, the total parallel resistance of the input memristor is 500Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.060V, and the output memristor R out The voltage across the two ends is 1.190V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M , at this time, the voltage across the output memristor is 0.833V, which does not exceed the threshold voltage of 1.1V, so the output memristor R out The state of will not change, and the output memristor outputs logic "1"; When the input is logic "1" and logic "2", in the initial stage, the total parallel resistance of the input memristor is 90.9Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.011V, and the output memristor R out The voltage across the two ends is 1.239V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M At this time, the voltage across the output memristor is 1.146V, which exceeds the threshold voltage of 1.1V. Therefore, the output memristor R out The state of the output memristor R out The value is set to R L , the output memristor outputs logic "2"; When the input is logic "2" and logic "2"; in the initial stage, the total parallel resistance of the input memristor is 50Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.006V, and the output memristor R out The voltage across the two ends is 1.244V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M , at this time, the voltage across the output memristor is 1.190V, which exceeds the threshold voltage of 1.1V, so the output memristor R out The state of the output memristor R out The value is set to R L , the output memristor outputs logic "2".

4. The digital OR gate implementation method based on a ternary memristor according to claim 1, Features: Let a=e=10,b=10000,c=d=0.2 in the mathematical model, and the threshold voltage v th1 and v th2 Set to 0.9V and 1.1V respectively; R H , R M , R L are 10kΩ, 1kΩ, and 100Ω respectively, and the first three-value memristor R in2 and the second three-value memristor R in2 As the input memristor, the positive pole is connected to the DC power supply V, and the third three-value memristor R out The negative electrode and the first three-value memristor R in1 , the second three-value memristor R in2 The negative pole is connected, the positive pole is grounded, and serves as an output memristor; The operating voltage of the digital OR gate is V OP At -1.25V: When the input is logic "0" and logic "0"; in the initial stage, the total parallel resistance of the input memristor is 5kΩ, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.417V, and the output memristor R out The voltage across the two ends is 0.833V, which does not exceed the threshold voltage of 0.9V, so the output memristor R out The state will not change; during the operation phase, the output memristor outputs logic "0"; When the input is logic "0" and logic "1", in the initial stage, the total parallel resistance of the input memristor is 909Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.104V, and the output memristor R out The voltage across the two ends is 1.146V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M , at this time, the voltage across the output memristor is 0.655V, which does not exceed the threshold voltage of 0.9V, so the output memristor R out The state of will not change, and the output memristor outputs logic "1"; When the input is logic "0" and logic "2", in the initial stage, the total parallel resistance of the input memristor is 99Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.012V, and the output memristor R out The voltage across the two ends is 1.238V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M At this time, the voltage across the output memristor is 1.137V, which exceeds the threshold voltage of 1.1V. Therefore, the output memristor R out The state of the output memristor R out The value is set to R L , the output memristor outputs logic "2"; When the input is logic "1" and logic "1"; in the initial stage, the total parallel resistance of the input memristor is 500Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.060V, and the output memristor R out The voltage across the two ends is 1.190V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M , at this time, the voltage across the output memristor is 0.833V, which does not exceed the threshold voltage of 1.1V, so the output memristor R out The state of will not change, and the output memristor outputs logic "1"; When the input is logic "1" and logic "2", in the initial stage, the total parallel resistance of the input memristor is 90.9Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.011V, and the output memristor R out The voltage across the two ends is 1.239V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M At this time, the voltage across the output memristor is 1.146V, which exceeds the threshold voltage of 1.1V. Therefore, the output memristor R out The state of the output memristor R out The value is set to R L , the output memristor outputs logic "2"; When the input is logic "2" and logic "2"; in the initial stage, the total parallel resistance of the input memristor is 50Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is -0.006V, and the output memristor R out The voltage across the two ends is 1.244V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M , at this time, the voltage across the output memristor is 1.190V, which exceeds the threshold voltage of 1.1V, so the output memristor R out The state of the output memristor R out The value is set to R L , the output memristor outputs logic "2".

5. The digital OR gate implementation method based on a ternary memristor according to claim 1, Features: Let a=e=10,b=10000,c=d=0.2 in the mathematical model, and the threshold voltage v th1 and v th2 Set to 0.9V and 1.1V respectively; R H , R M , R L are 10kΩ, 1kΩ, and 100Ω respectively, and the first three-value memristor R in2 and the second three-value memristor R in2 As the input memristor, the negative pole is connected to the DC power supply V, and the third three-value memristor R out The negative electrode and the first three-value memristor R in1 , the second three-value memristor R in2 The positive electrode is connected to the ground and serves as an output memristor; FF The operating voltage of the digital OR gate is V OP At -1.25V: When the input is logic "0" and logic "0"; in the initial stage, the total parallel resistance of the input memristor is 5kΩ, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.417V, and the output memristor R out The voltage across the two ends is 0.833V, which does not exceed the threshold voltage of 0.9V, so the output memristor R out The state will not change; during the operation phase, the output memristor outputs logic "0"; When the input is logic "0" and logic "1", in the initial stage, the total parallel resistance of the input memristor is 909Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.104V, and the output memristor R out The voltage across the two ends is 1.146V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M , at this time, the voltage across the output memristor is 0.655V, which does not exceed the threshold voltage of 0.9V, so the output memristor R out The state of will not change, and the output memristor outputs logic "1"; When the input is logic "0" and logic "2", in the initial stage, the total parallel resistance of the input memristor is 99Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.012V, and the output R out The voltage across the two ends is 1.238V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M At this time, the voltage across the output memristor is 1.137V, which exceeds the threshold voltage of 1.1V. Therefore, the output memristor R out The state of the output memristor R out The value is set to R L , the output memristor outputs logic "2"; When the input is logic "1" and logic "1"; in the initial stage, the total parallel resistance of the input memristor is 500Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.060V, and the output memristor R out The voltage across the two ends is 1.190V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M , at this time, the voltage across the output memristor is 0.833V, which does not exceed the threshold voltage of 1.1V, so the output memristor R out The state of will not change, and the output memristor outputs logic "1"; When the input is logic "1" and logic "2", in the initial stage, the total parallel resistance of the input memristor is 90.9Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.011V, and the output memristor R out The voltage across the two ends is 1.239V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M At this time, the voltage across the output memristor is 1.146V, which exceeds the threshold voltage of 1.1V. Therefore, the output memristor R out The state of the output memristor R out The value is set to R L , the output memristor outputs logic "2"; When the input is logic "2" and logic "2"; in the initial stage, the total parallel resistance of the input memristor is 50Ω, and the resistance of the output memristor is 10kΩ. At this time, the voltage across the input memristor is 0.006V, and the output memristor R out The voltage across the two ends is 1.244V, which exceeds the threshold voltage of 0.9V, so the output memristor R out The state of the output memristor R out The value is set to R M , at this time, the voltage across the output memristor is 1.190V, which exceeds the threshold voltage of 1.1V, so the output memristor R out The state of the output memristor R out The value is set to R L , the output memristor outputs logic "2".

Citation Information

Patent Citations

  • Three-valued digital logic gate circuit based on memristor

    CN111046617A

  • Threshold type binary memristor implementation method based on LTspice model

    CN111339674A

  • Threshold type ternary memristor implementation method based on LTspice model

    CN111400880A