Four-quadrant analog multiplier circuit based on memristor and control method

By designing a four-quadrant analog multiplier circuit based on memristor, using sign conversion and external control voltage, the complexity and signal limitations of existing analog multiplier circuits are solved, and simple multiplication operations and high accuracy are achieved.

CN118762732AActive Publication Date: 2024-10-11WUHAN INST OF TECH
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410984496.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-11
Estimated Expiration
2044-07-22

AI Technical Summary

Technical Problem

Existing two-quadrant analog multiplier circuits have limitations in signal selection and circuit structure, and the operation process is complex, making it difficult to effectively apply to analog multiplier design.

Method used

A four-quadrant analog multiplier circuit based on memristor is designed, which uses a sign conversion circuit, an external control circuit, a memristor control circuit, a Cascode current mirror circuit composed of NMOS tubes, and a Cascode current mirror circuit composed of PMOS tubes. Conversion and external control voltage to achieve signal multiplication.

Benefits of technology

The circuit structure and multiplication process are simplified, the range of input signals is expanded, and the linearity and accuracy of the analog multiplier are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762732A_ABST
    Figure CN118762732A_ABST
Patent Text Reader

Abstract

The invention discloses a four-quadrant analog multiplier circuit based on a memristor and a control method. The analog multiplier circuit based on the memristor mainly comprises a symbol conversion circuit, an external control circuit, a memristor control circuit, a Cascode current mirror circuit composed of NMOS (N-channel metal oxide semiconductor) tubes and a Cascode current mirror circuit composed of PMOS (P-channel metal oxide semiconductor) tubes, and the Cascode current mirror circuit composed of the NMOS tubes and the memristor control circuit form a quadrant memristor analog multiplier circuit. The Cascode current mirror circuit formed by the PMOS tubes and the memristor control circuit form a two-quadrant memristor analog multiplier circuit, and the symbol conversion circuit mainly converts an input signal into a one-quadrant signal and a two-quadrant signal and inputs the signal into the memristor analog multiplier circuit of the corresponding quadrant. And the external control circuit outputs a control voltage required by the memristor analog multiplier circuit after receiving a positive value input signal. Compared with an existing analog multiplier circuit, the memristor analog multiplier has high linearity and accuracy, and the circuit structure and the operation process are relatively simple.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field, and in particular to a memristor-based four-quadrant analog multiplier circuit and a control method. Background Art

[0002] As an emerging basic circuit component, memristor has the characteristics of small size, high integration and low energy consumption. It is mainly used in information storage, memristive logic circuits, memristive neural networks and other fields.

[0003] In order to more conveniently apply memristors to various fields of circuit design, research on combining memristors with traditional circuits has also been widely developed.

[0004] Multipliers are a basic computing circuit that is widely used in modern electronic circuits. At present, with the increasing research on new circuit elements, memristors, digital multiplier circuits based on memristor designs emerge in an endless stream. Compared with traditional digital multipliers, they have smaller delays and lower power consumption. However, there are few studies on analog multiplier circuits based on memristors. Most of the existing two-quadrant analog multiplier circuits use the multiplication operation relationship constructed by the square characteristics of MOS tubes, and their operation process is relatively complicated.

[0005] While some other analog multipliers with relatively large input and output signals have relatively complex circuit structures.

[0006] Furthermore, the existing two-quadrant analog multipliers mainly select voltage signals and current signals as input signals, which has certain limitations in the range and types of input signals. Summary of the invention

[0007] The object of the present invention is to provide a four-quadrant analog multiplier circuit based on a memristor and a control method to solve the problems raised in the above background technology.

[0008] To achieve the above object, the present invention provides the following technical solutions: a four-quadrant analog multiplier circuit based on a memristor, comprising a sign conversion circuit, an external control circuit, a memristor control circuit, a Cascode current mirror circuit composed of an NMOS tube and a Cascode current mirror circuit composed of a PMOS tube;

[0009] Features:

[0010] The input end of the sign conversion circuit receives two signals, and the output end of the sign conversion circuit outputs a positive signal to the Cascode current mirror circuit composed of the NMOS tube and a negative signal to the Cascode current mirror circuit composed of the PMOS tube;

[0011] The input terminal of the external control circuit receives another positive signal;

[0012] The output end of the external control circuit outputs a first control voltage to the Cascode current mirror circuit and the memristor control circuit formed by the NMOS tube;

[0013] The output end of the memristor control circuit is coupled to a Cascode current mirror circuit composed of an NMOS tube and a Cascode current mirror circuit composed of a PMOS tube;

[0014] The memristor control circuit, the Cascode current mirror circuit composed of the NMOS tube and the Cascode current mirror circuit composed of the PMOS tube output positive and negative voltages.

[0015] Preferably, the input end of the sign conversion circuit is connected to two input signals, the output end of the sign conversion circuit is connected to the input end of the Cascode current mirror circuit composed of two NMOS tubes and the Cascode current mirror circuit composed of a PMOS tube and provides an input signal source for the external control circuit, and the sign conversion circuit is used to convert the positive and negative signs of the two input signals into signs corresponding to the first and second quadrants, and input the signal that is always positive after conversion into the external control circuit, and input the other positive signal or negative signal into the corresponding Cascode current mirror circuit composed of the NMOS tube and the Cascode current mirror circuit composed of the PMOS tube.

[0016] Preferably, the external control circuit determines the required external control voltage for the output according to the input positive signal;

[0017] The input end of the Cascode current mirror circuit composed of the NMOS tube and the input end of the Cascode current mirror circuit composed of the PMOS tube are connected to the output end of the sign conversion circuit, and the output end of the Cascode current mirror circuit composed of the NMOS tube and the output end of the Cascode current mirror circuit composed of the PMOS tube are connected to the first and second control voltages of the external control circuit;

[0018] The memristors in the memristor control circuit are respectively connected to the output ends of the cascode current mirror circuits composed of different MOS tubes to form a one- and two-quadrant memristor analog multiplier. The memristor value in the memristor control circuit is the value of one of the positive signals output by the sign conversion circuit. The memristor value in the memristor control circuit is obtained by controlling the first to ninth control voltages of the external control circuit.

[0019] Preferably, the sign conversion circuit includes when two negative signals are input, the two negative signals are converted into two positive signals by the sign conversion circuit, and one of the positive values ​​is input into a Cascode current mirror circuit mainly composed of NMOS tubes, and the other positive value is input into an external control circuit;

[0020] When two positive signals are input, no sign conversion is performed. One of the positive values ​​is directly input into the Cascode current mirror circuit mainly composed of NMOS tubes through the sign conversion circuit.

[0021] Another positive value is input into the external control circuit;

[0022] When two signals, one positive and one negative, are input, no sign conversion is performed. The negative value is directly input into the Cascode current mirror circuit mainly composed of PMOS tubes through the sign conversion circuit, and the positive value is input into the external control circuit.

[0023] Preferably, the external control circuit includes a circuit operation mode, wherein the operation mode of the external control circuit is controlled by the voltages of the first to eighth output terminals, the first output terminal is connected to the output terminal of the Cascode current mirror circuit composed of the NMOS tube, and generates a first control voltage signal; the second output terminal is connected to the output terminal of the Cascode current mirror circuit composed of the PMOS tube, and generates a second control voltage signal; the third output terminal is connected to the control terminal of the first PMOS tube, and generates a third control voltage signal;

[0024] The fourth output terminal is connected to the control terminal of the second PMOS tube and generates a fourth control voltage signal; the fifth output terminal is connected to the control terminal of the third NMOS tube and generates a fifth control voltage signal; the sixth output terminal is connected to the control terminal of the fourth NMOS tube and generates a sixth control voltage signal; the seventh output terminal is connected to the control terminal of the fifth PMOS tube and generates a seventh control voltage signal; the eighth output terminal is connected to the control terminal of the sixth PMOS tube and generates an eighth control voltage signal.

[0025] Preferably, the memristor control circuit comprises a first PMOS tube, a second PMOS tube, a third NMOS tube, a fourth NMOS tube, a fifth PMOS tube, a sixth PMOS tube and a fixed voltage source, wherein one end of the first PMOS tube is connected to the fixed voltage source, the control end of the first PMOS tube is connected to the third control voltage signal, and the other end of the first PMOS tube is connected to one end of the third NMOS tube and one end of the fifth PMOS tube;

[0026] One end of the second PMOS tube is connected to a fixed voltage source, a control end of the second PMOS tube is connected to a fourth control voltage signal, and the other end of the second PMOS tube is connected to one end of a fourth NMOS tube;

[0027] One end of the third NMOS tube is connected to the other end of the first PMOS tube and one end of the sixth PMOS tube, the control end of the third NMOS tube is connected to the fifth control voltage signal, and the other end of the third NMOS tube is connected to the ground;

[0028] One end of the fourth NMOS tube is connected to one end of the second PMOS tube and one end of the sixth PMOS tube, the control end of the fourth NMOS tube is connected to the sixth control voltage signal, and the other end of the fourth NMOS tube is connected to the ground;

[0029] One end of the fifth PMOS tube is connected to the positive electrode of the memristor, the control end of the fifth PMOS tube is connected to the seventh control voltage signal, and the other end of the fifth PMOS tube is connected to one end of the first PMOS tube and one end of the third NMOS tube;

[0030] One end of the sixth PMOS tube is connected to the negative electrode of the memristor and one end of the eighth NMOS tube, the control end of the sixth PMOS tube is connected to the eighth control voltage signal, and the other end of the sixth PMOS tube is connected to one end of the second PMOS tube and one end of the fourth NMOS tube;

[0031] When the memristor control circuit works in a quadrant memristor analog multiplier, T5 and T6 are NMOS tubes, and their connection method is the same as that of the PMOS tube.

[0032] Preferably, the Cascode current mirror circuit composed of the NMOS tube includes a seventh NMOS tube, an eighth NMOS tube, a ninth NMOS tube, a tenth NMOS tube, a resistor R, a resistor R2 and a resistor R3, wherein: one end of the seventh NMOS tube is connected to one pole of the resistor R1, the control end of the seventh NMOS tube is connected to the control end of the eighth NMOS tube, and the other end of the seventh NMOS tube is connected to one end of the ninth NMOS tube; one end of the eighth NMOS tube is connected to one end of the resistor R3 and one end of the sixth PMOS tube, the control end of the eighth NMOS tube is connected to the control end of the seventh NMOS tube, and the other end of the eighth NMOS tube is connected to one end of the tenth NMOS tube; one end of the ninth NMOS tube is connected to one end of the seventh NMOS tube, and the The control end of the ninth NMOS tube is connected to the control end of the tenth NMOS tube, and the other end of the ninth NMOS tube is connected to the ground; one end of the tenth NMOS tube is connected to one end of the eighth NMOS tube, the control end of the tenth NMOS tube is connected to the control end of the ninth NMOS tube, and the other end of the tenth NMOS tube is connected to the ground; one pole of the resistor R1 is connected to the first positive voltage signal output by the signal processing circuit and one end of the fifth PMOS tube, and the other pole of the resistor R1 is connected to one end of the seventh NMOS tube; one pole of the resistor R2 is connected to the first control voltage of the external control circuit, and the other pole of the resistor R2 is connected to the positive pole of the memristor; one pole of the resistor R3 is connected to the negative pole of the memristor, and the other pole of the resistor R3 is connected to the other end of the eighth NMOS tube.

[0033] Preferably, the cascode current mirror circuit (5) mainly composed of PMOS tubes comprises an eleventh PMOS tube, a twelfth PMOS tube, a thirteenth PMOS tube, a fourteenth PMOS tube, a resistor R4, a resistor R5 and a resistor R6, wherein:

[0034] One end of the eleventh PMOS tube is connected to one electrode of the resistor R4, the control end of the eleventh PMOS tube is connected to the control end of the twelfth PMOS tube, and the other end of the eleventh PMOS tube is connected to one end of the thirteenth PMOS tube;

[0035] One end of the twelfth PMOS tube is connected to one end of the resistor R6 and one end of the sixth PMOS tube, the control end of the twelfth PMOS tube is connected to the control end of the eleventh PMOS tube, and the other end of the twelfth NMOS tube is connected to one end of the fourteenth PMOS tube;

[0036] One end of the thirteenth PMOS tube is connected to one end of the eleventh PMOS tube, the control end of the thirteenth PMOS tube is connected to the control end of the fourteenth PMOS tube, and the other end of the thirteenth PMOS tube is connected to the ground; one end of the fourteenth PMOS tube is connected to one end of the eleventh PMOS tube, the control end of the fourteenth PMOS tube is connected to the control end of the thirteenth PMOS tube, and the other end of the fourteenth PMOS tube is connected to the ground; one pole of the resistor R4 is connected to the first negative voltage signal output by the signal processing circuit, and the other pole of the resistor R4 is connected to one end of the eleventh PMOS tube; one pole of the resistor R5 is connected to the second control voltage of the external control circuit and one end of the fifth PMOS tube, and the other pole of the resistor R5 is connected to the positive pole of the memristor; one pole of the resistor R6 is connected to the negative pole of the memristor, and the other pole of the resistor R6 is connected to the other end of the twelfth PMOS tube.

[0037] A control method for a four-quadrant analog multiplier circuit based on a memristor comprises the following steps:

[0038] The two received actual signals are converted into signals that can be multiplied in one quadrant or two quadrants by the symbol conversion circuit;

[0039] The external control circuit controls the change of the memristor value by using the third to eighth control voltages generated by the external control circuit for an input signal that is converted to be positive;

[0040] A Cascode current mirror circuit formed by an NMOS tube receives another positive voltage signal converted by the sign conversion circuit, or a Cascode current mirror circuit formed by a PMOS tube receives another negative voltage signal converted by the sign conversion circuit;

[0041] The Cascode current mirror circuit is controlled by the first control voltage and the second control voltage output by the external control circuit to perform multiplication operation on two input signals at its output terminal.

[0042] Compared with the prior art, the present invention has the following beneficial effects:

[0043] (1) The circuit structure is relatively simple and is mainly composed of MOS transistors and memristors.

[0044] (2) The multiplication process is relatively simple, and the operations involved when the multiplier works are relatively simple.

[0045] (3) The memristor value is innovatively used as an input signal of the analog multiplier, which increases the range of the input signal.

[0046] (4) The analog multiplier has high linearity and accuracy.

[0047] The above four aspects play a key role in the use of analog multipliers. At the same time, in the relevant control method, firstly, a positive input signal received is converted by a formula through an external control circuit, and then a control voltage is generated by the external control circuit, and then the memristor control circuit and the Cascode current mirror circuit are controlled, so as to realize the multiplication of two signals at the output end of the Cascode current mirror circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a block diagram of a four-quadrant analog multiplier circuit based on a memristor.

[0049] Figure 2 The present invention provides Figure 1 Schematic diagram of the symbol conversion circuit.

[0050] Figure 3 The present invention provides Figure 1 Schematic diagram of the structure of the external control circuit.

[0051] Figure 4 The present invention provides Figure 1 Schematic diagram of the structure of the memristor control circuit.

[0052] Figure 5 The present invention provides Figure 1 Schematic diagram of the cascode current mirror circuit composed of NMOS tubes.

[0053] Figure 6 The present invention provides Figure 1 Schematic diagram of the cascode current mirror circuit composed of PMOS tubes.

[0054] Figure 7 The present invention provides Figure 4 and Figure 5 The combined circuit diagram.

[0055] Figure 8 The present invention provides Figure 4 and Figure 6 The combined circuit diagram.

[0056] Fig. 9 The present invention provides Figure 1 Flowchart of the overall control method of the circuit.

[0057] Figure 1 In: 1. Sign conversion circuit; 2. External control circuit; 3. Memristor control circuit; 4. Cascode current mirror circuit composed of NMOS tube; 5. Cascode current mirror circuit composed of PMOS tube. DETAILED DESCRIPTION

[0058] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0059] See also Figure 1-Figure 9 The present invention provides a four-quadrant analog multiplier circuit and control method technical solution based on memristor: Figure 1As can be seen from the circuit structure diagram, the four-quadrant analog multiplier circuit based on memristor includes: a sign conversion circuit 1, an external control circuit 2, a memristor control circuit 3, a Cascode current mirror circuit 4 composed of an NMOS tube and a Cascode current mirror circuit 5 composed of a PMOS tube; wherein the sign conversion circuit 1 only needs to convert two negative signals into two positive signals, if the input signal is one positive and one negative or two positive signals, no conversion is required, and then the external control circuit 2 determines the output external control voltage through the input positive signal, the Cascode circuit composed of the NMOS tube receives another positive signal or the Cascode circuit composed of the PMOS tube receives another negative signal, and in the whole When the circuits are working, only one Cascode circuit will work. The memristor control circuit 3 uses an external control voltage to control the memristor to reach the value of the input positive signal. When the Cascode current mirror circuit 4 composed of NMOS is working, the circuit uses the received positive signal as the input voltage of the circuit input end, and the external control voltage realizes the multiplication of the memristor value and the input voltage at the output end of the current mirror circuit to obtain an output positive voltage; when the Cascode current mirror circuit 5 composed of PMOS tube is working, the circuit uses the received negative signal as the input voltage of the circuit input end, and the external control voltage realizes the multiplication of the memristor value and the input negative voltage at the output end of the current mirror circuit to obtain an output negative voltage. In the present invention, combined with Figure 2 Come and see, Figure 2 The present invention provides Figure 1 A schematic diagram of the structure of a symbol conversion circuit in FIG. 1 , wherein the symbol conversion circuit includes a symbol judgment circuit and an absolute value circuit, wherein:

[0060] When the two input signals are positive, there is no need to convert through an absolute value circuit, and the two signals are directly input into the external control circuit and the Cascode current mirror circuit composed of the NMOS tube; when the two input signals are one positive and one negative, there is no need to convert through an absolute value circuit, and the positive signal is directly input into the external control circuit, and the negative signal is input into the Cascode current mirror circuit composed of the PMOS tube; when the two input signals are both negative, the two signals are converted into positive signals through an absolute value circuit, one of the positive signals is input into the external control circuit, and the other signal is input into the Cascode current mirror circuit composed of the NMOS tube.

[0061] In the present invention, combined with Figure 3 Come and see, Figure 3 The present invention provides Figure 1A schematic diagram of the structure of an external control circuit in the embodiment of the present invention, wherein the external control circuit includes a control mode of the circuit, wherein: the control mode of the circuit includes a first output terminal, a second output terminal, a third output terminal, a fourth output terminal, a fifth output terminal, a sixth output terminal, a seventh output terminal and an eighth output terminal. The first output terminal is connected to the output terminal of the Cascode current mirror circuit composed of the NMOS tube and generates a first control voltage signal; the second output terminal is connected to the output terminal of the Cascode current mirror circuit composed of the PMOS tube and generates a second control voltage signal; the third output terminal is connected to the control terminal of the first PMOS tube and generates a third control voltage signal; the fourth output terminal is connected to the control terminal of the second PMOS tube and generates a fourth control voltage signal; the fifth output terminal is connected to the control terminal of the third NMOS tube and generates a fifth control voltage signal; the sixth output terminal is connected to the control terminal of the fourth NMOS tube and generates a sixth control voltage signal; the seventh output terminal is connected to the control terminal of the fifth PMOS tube and generates a seventh control voltage signal; the eighth output terminal is connected to the control terminal of the sixth PMOS tube and generates an eighth control voltage signal.

[0062] In the present invention, combined with Figure 4 Come and see, Figure 4 The present invention provides Figure 1A structural schematic diagram of a memristor control circuit in FIG. 1 , wherein the memristor control circuit includes a first PMOS tube T1, a second PMOS tube T2, a third NMOS tube T3, a fourth NMOS tube T4, a fifth PMOS tube T5 and a sixth PMOS tube T6, wherein: one end of the first PMOS tube is connected to a fixed voltage source, the control end of the first PMOS tube is connected to a third control voltage signal, and the other end of the first PMOS tube is connected to one end of the third NMOS tube and one end of the fifth PMOS tube; one end of the second PMOS tube is connected to a fixed voltage source, the control end of the second PMOS tube is connected to a fourth control voltage signal, and the other end of the second PMOS tube is connected to one end of the fourth NMOS tube; one end of the third NMOS tube is connected to the other end of the first PMOS tube and one end of the sixth PMOS tube, the control end of the third NMOS tube is connected to the fifth control voltage signal, and the third NMOS tube is connected to one end of the fourth NMOS tube. The other end of the OS tube is connected to the ground; one end of the fourth NMOS tube is connected to one end of the second PMOS tube and one end of the sixth PMOS tube, the control end of the fourth NMOS tube is connected to the sixth control voltage signal, and the other end of the fourth NMOS tube is connected to the ground; one end of the fifth PMOS tube is connected to the positive electrode of the memristor, the control end of the fifth PMOS tube is connected to the seventh control voltage signal, and the other end of the fifth PMOS tube is connected to one end of the first PMOS tube and one end of the third NMOS tube; one end of the sixth PMOS tube is connected to the negative electrode of the memristor and one end of the eighth NMOS tube, the control end of the sixth PMOS tube is connected to the eighth control voltage signal, and the other end of the sixth PMOS tube is connected to one end of the second PMOS tube and one end of the fourth NMOS tube; the positive electrode of the memristor is connected to one end of the fifth PMOS tube, and the negative electrode of the memristor is connected to one end of the sixth PMOS tube;

[0063] When the memristor control circuit works in the analog multiplier circuit in the first quadrant, T5 and T6 are NMOS tubes, and their connection method is the same as that of the PMOS tube.

[0064] The model description of the memristor of the present invention is as follows:

[0065] v(t)=i(t)R(t);

[0066]

[0067]

[0068] in:

[0069]

[0070]

[0071]

[0072] R(t), v(t), i(t) are the memristor, voltage and current at the tth moment respectively. on and R off is the minimum memristor value and the maximum memristor value.

[0073] ω(t) is the width of the doped region, D is the length of the memristor, μ v is the ion mobility, is the window function, which represents the nonlinearity in the memristor.

[0074] V T+ and V T- is the positive and negative threshold voltage, i0, i on ,i off is a constant and k is an intermediate variable.

[0075] Ignoring the on-voltage of the MOS tube, the quantitative relationship between time t, external voltage, control voltage and the memristor resistance can be derived based on the memristor model:

[0076]

[0077] The above formula expresses the accurate relationship between the memristor's memristance and the voltage application time t.

[0078] In the present invention, the external control circuit receives the input positive signal, converts it through the above formula, and connects the specific voltage output by the external control circuit to the control end of the MOS tube in the memristor control circuit, thereby controlling the memristor to obtain the required positive signal. The specific control process is as follows:

[0079] When the input positive signal is less than the initial memristor value, the time t that the memristor needs to rise is determined by the above formula. At this time, the first PMOS tube T1 is disconnected, the second PMOS tube T2 is closed, the third NMOS tube T3 is closed, the fourth NMOS tube T4 is disconnected, the fifth PMOS tube is closed, and the sixth PMOS tube is closed. The external control circuit controls the time t that each MOS tube needs to be closed or disconnected. Then, the MOS tube of the memristor control circuit is disconnected after the memristor value rises for time t. At this time, the memristor value is the required value.

[0080] When the input positive signal is greater than the initial memristor value, the time t that the memristor needs to drop is determined by the above formula. At this time, the first PMOS tube T1 is closed, the second PMOS tube T2 is disconnected, the third NMOS tube T3 is disconnected, the fourth NMOS tube T4 is closed, the fifth PMOS tube is closed, and the sixth PMOS tube is closed. The external control circuit controls the time t that each MOS tube needs to be closed or disconnected. Then, the MOS tube of the memristor control circuit is disconnected after the memristor value drops for time t. At this time, the memristor value is the required value.

[0081] In the present invention, combined with Figure 5 Come and see, Figure 5 The present invention provides Figure 1 A schematic diagram of a structure of a Cascode current mirror circuit composed of NMOS tubes, wherein the Cascode current mirror circuit composed of the NMOS tubes includes a seventh NMOS tube, an eighth NMOS tube, a ninth NMOS tube, a tenth NMOS tube, R1, R2 and R3, wherein:

[0082] One end of the seventh NMOS tube is connected to one pole of R1, the control end of the seventh NMOS tube is connected to the control end of the eighth NMOS tube, and the other end of the seventh NMOS tube is connected to one end of the ninth NMOS tube; one end of the eighth NMOS tube is connected to one end of the resistor R3 and one end of the sixth PMOS tube, the control end of the eighth NMOS tube is connected to the control end of the seventh NMOS tube, and the other end of the eighth NMOS tube is connected to one end of the tenth NMOS tube; one end of the ninth NMOS tube is connected to one end of the seventh NMOS tube, the control end of the ninth NMOS tube is connected to the control end of the tenth NMOS tube, and the ninth NMOS tube is connected to one end of the seventh NMOS tube. The other end of the tube is connected to the ground; one end of the tenth NMOS tube is connected to one end of the eighth NMOS tube, the control end of the tenth NMOS tube is connected to the control end of the ninth NMOS tube, and the other end of the tenth NMOS tube is connected to the ground; one pole of the resistor R1 is connected to the first positive voltage signal output by the signal processing circuit and one end of the fifth PMOS tube, and the other pole of the resistor R1 is connected to one end of the seventh NMOS tube; one pole of R2 is connected to the first control voltage of the external control circuit, and the other pole of R2 is connected to the positive pole of the memristor; one pole of R3 is connected to the negative pole of the memristor, and the other pole of R3 is connected to the other end of the eighth NMOS tube;

[0083] In the present invention, combined with Figure 6 Come and see, Figure 6 The present invention provides Figure 1 The schematic diagram of the structure of the Cascode current mirror circuit composed of PMOS tubes, wherein the Cascode current mirror circuit composed of the PMOS tubes includes an eleventh PMOS tube, a twelfth PMOS tube, a thirteenth PMOS tube, a fourteenth PMOS tube, a resistor R4, a resistor R5 and a resistor R6, wherein:

[0084] One end of the eleventh PMOS tube is connected to one electrode of R4, the control end of the eleventh PMOS tube is connected to the control end of the twelfth PMOS tube, and the other end of the eleventh PMOS tube is connected to one end of the thirteenth PMOS tube; one end of the twelfth PMOS tube is connected to one end of the resistor R6 and one end of the sixth PMOS tube, the control end of the twelfth PMOS tube is connected to the control end of the eleventh PMOS tube, and the other end of the twelfth NMOS tube is connected to one end of the fourteenth PMOS tube; one end of the thirteenth PMOS tube is connected to one end of the eleventh PMOS tube, and the control end of the thirteenth PMOS tube is connected to the control end of the fourteenth PMOS tube, The other end of the thirteenth PMOS tube is connected to the ground; one end of the fourteenth PMOS tube is connected to one end of the eleventh PMOS tube, the control end of the fourteenth PMOS tube is connected to the control end of the thirteenth PMOS tube, and the other end of the fourteenth PMOS tube is connected to the ground; one pole of the resistor R4 is connected to the first negative voltage signal output by the signal processing circuit, and the other pole of the resistor R4 is connected to one end of the eleventh PMOS tube; one pole of the R5 is connected to one end of the PMOS tube of the external control circuit, and the other pole of the R5 is connected to the positive pole of the memristor; one pole of the R6 is connected to the negative pole of the memristor, and the other pole of the R6 is connected to the other end of the twelfth PMOS tube.

[0085] Combination Figure 5 and Figure 6 From the perspective of Figure 5 The Cascode current mirror circuit composed of NMOS tubes receives the signal and starts working; when the input signal is a negative signal, Figure 6 The Cascode current mirror circuit composed of the PMOS tube receives the signal and starts working. When a Cascode circuit starts working, the input signal is connected to the input end of the circuit as a voltage signal. At this time, the divided voltage of the MOS tube is 2V GS , and then the current at the input end can be obtained as:

[0086]

[0087] set up:

[0088] VDD2=2V GS

[0089] Because the working principle of the cascode current mirror is that the current at the input end is equal to the current at the output end, the current at the output end is:

[0090]

[0091] When the memristor control circuit controls Rm to change to the input value, the voltage division of the output terminals Rm, R2 and R3 is:

[0092]

[0093] The multiplied output voltage is thus:

[0094]

[0095] Combine the following Figure 7 and Figure 8 To explain in detail the overall circuit structure of the four-quadrant analog multiplier based on memristor, the overall structure of the four-quadrant analog multiplier circuit based on memristor is as follows:

[0096] When the input signal is two positive signals or two negative signals, such as Figure 7 The circuit shown starts to work. First, a positive signal received is calculated by the external control circuit through a formula. The external third to eighth control voltages change the switch states of MOS tubes T1-T6 to control the memristor value to obtain the value of the positive signal. Then, the first external control voltage is used to control the application time of VDD1. While the first external control voltage is applied, another positive signal is connected to the input end of the Cascode current mirror circuit. Figure 7 Where is the input voltage Vin1. Through the principle that the current at both ends of the current mirror circuit is equal, the value after the multiplication of the two signals can be obtained at the output end, and the value is a positive value, such as Figure 7 The output voltage Vout1 in.

[0097] When the input signal is two signals, one positive and one negative, such as Figure 8 The circuit shown starts to work. First, the external control circuit calculates the time required for the memristor value to change by using a formula for one of the received positive signals. The external third to eighth control voltages control the memristor value to obtain the value of the positive signal by changing the switch states of the MOS tubes T1-T6. Then, the second external control voltage controls the application time of VDD3. While the second external control voltage is being applied, another negative signal is connected to the input end of the Cascode current mirror circuit. Figure 8 Where is the input voltage Vin2. Through the principle that the current at both ends of the current mirror circuit is equal, the value after the multiplication of the two signals can be obtained at the output end, and the value after the operation is a negative value, such as Figure 8 The output voltage Vout2 in.

[0098] The present invention provides a control method for a four-quadrant analog multiplier based on a memristor, Figure 1 Come and see, Fig. 9 A schematic flow chart of a control method of a memristor-based four-quadrant analog multiplier provided by the present invention includes steps S1 to S3, wherein:

[0099] In step S1, the input positive signal is converted into a control voltage output by an external control circuit through the formula conversion of R(t).

[0100] In step S2, the memristor value is adjusted to the same value as the input signal through the control output of the external control circuit.

[0101] In step S3, after the memristor value is adjusted, another input signal is connected to the corresponding Cascode current mirror circuit, and the first and second control voltages of the external control circuit are applied to the output end of the corresponding current mirror circuit, and an output voltage is obtained at the output end after multiplication.

[0102] In the present invention, the input signal is first processed or input into the corresponding next step circuit, and then the third to sixth control voltages output by the external control circuit control the memristor control circuit according to the input positive signal, so that the memristor value takes the value of the input positive signal, and then another positive or negative signal is connected to the corresponding Cascode current mirror circuit, wherein the circuit corresponding to the positive value is a Cascode current mirror circuit composed of NMOS tubes, and the circuit corresponding to the negative signal is a Cascode current mirror circuit composed of PMOS tubes. Finally, when the other input signal is positive, the first control voltage output by the external control circuit controls the Cascode current mirror circuit composed of NMOS tubes to perform multiplication at the output end to obtain a positive output voltage, and when the other input signal is negative, the second control voltage output by the external control circuit controls the Cascode current mirror circuit composed of PMOS tubes to perform multiplication at the output end to obtain a negative output voltage.

[0103] The external control voltages specifically included in the above step S2 are a third control voltage, a fourth control voltage, a fifth control voltage, a sixth control voltage, a seventh control voltage and an eighth control voltage, wherein:

[0104] When the input signal received by the external control circuit is greater than the current memristor value, Figure 4 As shown, at this time, the third control voltage output is a high-level voltage, which controls the disconnection of the T1PMOS tube; the fourth control voltage output is a low-level voltage, which controls the closing of the T2PMOS tube; the fifth control voltage output is a high-level voltage, which controls the closing of the T3NMOS tube; the sixth control voltage output is a low-level voltage, which controls the disconnection of the T4NMOS tube; the seventh control voltage output is a low-level voltage, which controls the closing of the T5PMOS tube; the eighth control voltage output is a low-level voltage, which controls the closing of the T6PMOS tube, and disconnects all MOS tubes after a certain period of time, so that the memristor value rises to the value of the input signal.

[0105] When the input signal received by the external control circuit is smaller than the current memristor value, Figure 4 As shown, at this time, the third control voltage output is a low-level voltage, which controls the closing of the T1PMOS tube; the fourth control voltage output is a high-level voltage, which controls the disconnection of the T2PMOS tube; the fifth control voltage output is a low-level voltage, which controls the disconnection of the T3NMOS tube; the sixth control voltage output is a high-level voltage, which controls the closing of the T4NMOS tube; the seventh control voltage output is a low-level voltage, which controls the closing of the T5PMOS tube; the eighth control voltage output is a low-level voltage, which controls the closing of the T6PMOS tube, and disconnects all MOS tubes after a certain period of time, so that the memristor value drops to the value of the input signal.

[0106] The external control voltage specifically included in the above step S3 is a first control voltage and a second control voltage, wherein:

[0107] When the other input signal after the sign conversion circuit is positive, the Cascode current mirror circuit composed of the NMOS tube starts to work. After the memristor value is adjusted, the first control voltage is applied to the output end of the current mirror circuit, and a positive voltage is output after multiplication with the memristor value.

[0108] When the other input signal after the sign conversion circuit is negative, the Cascode current mirror circuit composed of the PMOS tube starts to work. After the memristor value is adjusted, the second control voltage is applied to the output end of the current mirror circuit and outputs a negative voltage after multiplication with the memristor value.

[0109] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0110] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A four-quadrant analog multiplier circuit based on a memristor, comprising a sign conversion circuit (1), an external control circuit (2), a memristor control circuit (3), a cascode current mirror circuit (4) composed of an NMOS tube, and a cascode current mirror circuit (5) composed of a PMOS tube; Features: The input end of the sign conversion circuit (1) receives two signals, and the output end of the sign conversion circuit (1) outputs a positive signal to a Cascode current mirror circuit (4) formed by an NMOS tube and outputs a negative signal to a Cascode current mirror circuit (5) formed by a PMOS tube; The input terminal of the external control circuit (2) receives another positive signal; The output end of the external control circuit (2) outputs a first control voltage to a cascode current mirror circuit (4) formed by an NMOS tube and a memristor control circuit (3); The output end of the memristor control circuit (3) is coupled to a Cascode current mirror circuit (4) formed by an NMOS tube and a Cascode current mirror circuit (5) formed by a PMOS tube; The memristor control circuit (3), the Cascode current mirror circuit (4) formed by the NMOS tube, and the Cascode current mirror circuit (5) formed by the PMOS tube output positive and negative voltages.

2. A memristor-based four-quadrant analog multiplier circuit according to claim 1, Features: The input end of the sign conversion circuit is connected to two input signals, the output end of the sign conversion circuit (1) is connected to the input end of a Cascode current mirror circuit (4) composed of two NMOS tubes and a Cascode current mirror circuit (5) composed of a PMOS tube and provides an input signal source for an external control circuit (2), and the sign conversion circuit (1) is used to convert the positive and negative signs of the two input signals into signs corresponding to the first and second quadrants, and input the signal that is always positive after conversion into the external control circuit (2), and input another positive signal or negative signal into the corresponding Cascode current mirror circuit (4) composed of the NMOS tube and the Cascode current mirror circuit (5) composed of the PMOS tube.

3. A memristor-based four-quadrant analog multiplier circuit according to claim 2, Features: The external control circuit (2) determines the external control voltage required for the output according to the positive input signal; The input end of the Cascode current mirror circuit (4) composed of the NMOS tube and the input end of the Cascode current mirror circuit (5) composed of the PMOS tube are connected to the output end of the sign conversion circuit, and the output end of the Cascode current mirror circuit (4) composed of the NMOS tube and the output end of the Cascode current mirror circuit (5) composed of the PMOS tube are connected to the first and second control voltages of the external control circuit (2); The memristors in the memristor control circuit (3) are respectively connected to the output ends of the cascode current mirror circuits formed by different MOS tubes to form a memristor analog multiplier of the first and second quadrants. The memristor value in the memristor control circuit (3) is the value of one of the positive signals output by the sign conversion circuit (1). The memristor value in the memristor control circuit (3) is obtained by controlling the first to ninth control voltages of the external control circuit (2).

4. A memristor-based four-quadrant analog multiplier circuit according to claim 1, Features: The sign conversion circuit (1) includes: when two negative signals are input, the two negative signals are converted into two positive signals through the sign conversion circuit (1), and one of the positive values ​​is input into a Cascode current mirror circuit (4) mainly composed of NMOS tubes, and the other positive value is input into an external control circuit (2); When two positive signals are input, no sign conversion is performed, and one of the positive values ​​is directly input into the Cascode current mirror circuit (4) mainly composed of NMOS tubes through the sign conversion circuit (1), and the other positive value is input into the external control circuit (2); When two signals, one positive and one negative, are input, no sign conversion is performed, and the negative value is directly input into the cascode current mirror circuit (5) mainly composed of PMOS tubes through the sign conversion circuit (1), and the positive value is input into the external control circuit (2).

5. A memristor-based four-quadrant analog multiplier circuit according to claim 1, Features: The external control circuit (2) includes a circuit operation mode, wherein the operation mode of the external control circuit (2) is controlled by voltages of the first to eighth output terminals, the first output terminal is connected to the output terminal of the Cascode current mirror circuit (4) composed of an NMOS tube, and generates a first control voltage signal; the second output terminal is connected to the output terminal of the Cascode current mirror circuit (5) composed of a PMOS tube, and generates a second control voltage signal; the third output terminal is connected to the control terminal of the first PMOS tube, and generates a third control voltage signal; The fourth output terminal is connected to the control terminal of the second PMOS tube and generates a fourth control voltage signal; The fifth output terminal is connected to the control terminal of the third NMOS tube and generates a fifth control voltage signal; the sixth output terminal is connected to the control terminal of the fourth NMOS tube and generates a sixth control voltage signal; the seventh output terminal is connected to the control terminal of the fifth PMOS tube and generates a seventh control voltage signal; the eighth output terminal is connected to the control terminal of the sixth PMOS tube and generates an eighth control voltage signal.

6. The memristor-based four-quadrant analog multiplier circuit according to claim 1, Features: The memristor control circuit (3) comprises a first PMOS tube, a second PMOS tube, a third NMOS tube, a fourth NMOS tube, a fifth PMOS tube, a sixth PMOS tube and a fixed voltage source, wherein one end of the first PMOS tube is connected to the fixed voltage source, the control end of the first PMOS tube is connected to a third control voltage signal, and the other end of the first PMOS tube is connected to one end of the third NMOS tube and one end of the fifth PMOS tube; One end of the second PMOS tube is connected to a fixed voltage source, a control end of the second PMOS tube is connected to a fourth control voltage signal, and the other end of the second PMOS tube is connected to one end of a fourth NMOS tube; One end of the third NMOS tube is connected to the other end of the first PMOS tube and one end of the sixth PMOS tube, the control end of the third NMOS tube is connected to the fifth control voltage signal, and the other end of the third NMOS tube is connected to the ground; One end of the fourth NMOS tube is connected to one end of the second PMOS tube and one end of the sixth PMOS tube, the control end of the fourth NMOS tube is connected to the sixth control voltage signal, and the other end of the fourth NMOS tube is connected to the ground; One end of the fifth PMOS tube is connected to the positive electrode of the memristor, the control end of the fifth PMOS tube is connected to the seventh control voltage signal, and the other end of the fifth PMOS tube is connected to one end of the first PMOS tube and one end of the third NMOS tube; One end of the sixth PMOS tube is connected to the negative electrode of the memristor and one end of the eighth NMOS tube, the control end of the sixth PMOS tube is connected to the eighth control voltage signal, and the other end of the sixth PMOS tube is connected to one end of the second PMOS tube and one end of the fourth NMOS tube. When the memristor control circuit works in a quadrant memristor analog multiplier, T5 and T6 are NMOS tubes, and their connection method is the same as that of the PMOS tube.

7. The memristor-based four-quadrant analog multiplier circuit according to claim 1, Features: The cascode current mirror circuit (4) composed of NMOS tubes comprises a seventh NMOS tube, an eighth NMOS tube, a ninth NMOS tube, a tenth NMOS tube, a resistor R1, a resistor R2 and a resistor R3, wherein: one end of the seventh NMOS tube is connected to one electrode of the resistor R1, the control end of the seventh NMOS tube is connected to the control end of the eighth NMOS tube, and the other end of the seventh NMOS tube is connected to one end of the ninth NMOS tube; one end of the eighth NMOS tube is connected to one end of the resistor R3 and one end of the sixth PMOS tube, the control end of the eighth NMOS tube is connected to the control end of the seventh NMOS tube, and the other end of the eighth NMOS tube is connected to one end of the tenth NMOS tube; one end of the ninth NMOS tube is connected to one end of the seventh NMOS tube, and ... control end of the eighth NMOS tube is connected to one end of the tenth NMOS tube. The control end of the ninth NMOS tube is connected to the control end of the tenth NMOS tube, and the other end of the ninth NMOS tube is connected to the ground; one end of the tenth NMOS tube is connected to one end of the eighth NMOS tube, the control end of the tenth NMOS tube is connected to the control end of the ninth NMOS tube, and the other end of the tenth NMOS tube is connected to the ground; one pole of the resistor R1 is connected to the first positive voltage signal output by the signal processing circuit and one end of the fifth PMOS tube, and the other pole of the resistor R1 is connected to one end of the seventh NMOS tube; one pole of the resistor R2 is connected to the first control voltage of the external control circuit, and the other pole of the resistor R2 is connected to the positive pole of the memristor; one pole of the resistor R3 is connected to the negative pole of the memristor, and the other pole of the resistor R3 is connected to the other end of the eighth NMOS tube.

8. The memristor-based four-quadrant analog multiplier circuit according to claim 1, Features: The cascode current mirror circuit (5) mainly composed of PMOS tubes comprises an eleventh PMOS tube, a twelfth PMOS tube, a thirteenth PMOS tube, a fourteenth PMOS tube, a resistor R4, a resistor R5 and a resistor R6, wherein: One end of the eleventh PMOS tube is connected to one electrode of the resistor R4, the control end of the eleventh PMOS tube is connected to the control end of the twelfth PMOS tube, and the other end of the eleventh PMOS tube is connected to one end of the thirteenth PMOS tube; One end of the twelfth PMOS tube is connected to one end of the resistor R6 and one end of the sixth PMOS tube, the control end of the twelfth PMOS tube is connected to the control end of the eleventh PMOS tube, and the other end of the twelfth NMOS tube is connected to one end of the fourteenth PMOS tube; One end of the thirteenth PMOS tube is connected to one end of the eleventh PMOS tube, the control end of the thirteenth PMOS tube is connected to the control end of the fourteenth PMOS tube, and the other end of the thirteenth PMOS tube is connected to the ground; one end of the fourteenth PMOS tube is connected to one end of the eleventh PMOS tube, the control end of the fourteenth PMOS tube is connected to the control end of the thirteenth PMOS tube, and the other end of the fourteenth PMOS tube is connected to the ground; one pole of the resistor R4 is connected to the first negative voltage signal output by the signal processing circuit, and the other pole of the resistor R4 is connected to one end of the eleventh PMOS tube; one pole of the resistor R5 is connected to the second control voltage of the external control circuit and one end of the fifth PMOS tube, and the other pole of the resistor R5 is connected to the positive pole of the memristor; one pole of the resistor R6 is connected to the negative pole of the memristor, and the other pole of the resistor R6 is connected to the other end of the twelfth PMOS tube.

9. The control method of a four-quadrant analog multiplier circuit based on a memristor according to claim 1, Features: The steps include: The two received actual signals are converted into signals that can be multiplied in one quadrant or two quadrants by means of the symbol conversion circuit (1); The external control circuit (2) controls the change of the memristor value by generating the third to eighth control voltages (2) of an input signal converted into a positive value through the external control circuit (2); A Cascode current mirror circuit (4) formed by an NMOS tube receives another positive voltage signal converted by the sign conversion circuit (1), or a Cascode current mirror circuit (5) formed by a PMOS tube receives another negative voltage signal converted by the sign conversion circuit; The cascode current mirror circuit is controlled by the first control voltage and the second control voltage output by the external control circuit (2) to perform multiplication operation on two input signals at its output end.

Citation Information

Patent Citations

  • Current mode four-quadrant CMOS analog multiplication circuit

    CN104901674A

  • Analog multiplier-accumulators

    CN108536422A

  • Output continuous adjustable current source based on memristor and control method

    CN116895318A

  • General purpose 4-quadrant analog-digital multiplier

    KR1020020092000A

  • Multi-quadrant analog current-mode multipliers for artificial intelligence

    US10832014B1