[go: up one dir, main page]

CN110197688A - A kind of memristor circuit - Google Patents

A kind of memristor circuit Download PDF

Info

Publication number
CN110197688A
CN110197688A CN201910325862.4A CN201910325862A CN110197688A CN 110197688 A CN110197688 A CN 110197688A CN 201910325862 A CN201910325862 A CN 201910325862A CN 110197688 A CN110197688 A CN 110197688A
Authority
CN
China
Prior art keywords
resistance
pin
module
resistor
control module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910325862.4A
Other languages
Chinese (zh)
Other versions
CN110197688B (en
Inventor
林弥
李路平
吴巧
汪兰叶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Electronic Science and Technology University
Original Assignee
Hangzhou Electronic Science and Technology University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Electronic Science and Technology University filed Critical Hangzhou Electronic Science and Technology University
Priority to CN201910325862.4A priority Critical patent/CN110197688B/en
Publication of CN110197688A publication Critical patent/CN110197688A/en
Application granted granted Critical
Publication of CN110197688B publication Critical patent/CN110197688B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C13/00Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
    • G11C13/0002Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
    • G11C13/0021Auxiliary circuits

Landscapes

  • Relay Circuits (AREA)

Abstract

本发明公开了一种忆阻器电路,包括输入模块,单片机模块U1,开关模块U2,电阻网络,滞回控制模块U3。其中,输入模块与单片机模块U1相连,用于配置忆阻器的阈值电压及电阻值;单片机模块U1与开关模块U2相连接,用于控制开关模块U2以实现对忆阻器的阈值电压及电阻值控制;开关模块U2分别与输入端Vin、单片机模块U1和电阻网络相连接,用于根据单片机模块U1的控制指令实现对电阻网络不同通道的选择;电阻网络的一端与开关模块U2相连接,另一端与滞回控制模块U3相连接,用于输出相应阻值的电阻;滞回控制模块U3与电阻网络、地连接,用于模拟忆阻器双向滞回特性曲线的产生。

The invention discloses a memristor circuit, which comprises an input module, a single-chip microcomputer module U1, a switch module U2, a resistance network and a hysteresis control module U3. Wherein, the input module is connected with the single-chip microcomputer module U1, and is used to configure the threshold voltage and resistance value of the memristor; the single-chip microcomputer module U1 is connected with the switch module U2, and is used to control the switch module U2 to realize the threshold voltage and resistance value control; the switch module U2 is respectively connected with the input terminal Vin, the single-chip microcomputer module U1 and the resistance network, and is used to realize the selection of different channels of the resistance network according to the control command of the single-chip microcomputer module U1; one end of the resistance network is connected with the switch module U2, The other end is connected with the hysteresis control module U3, which is used to output the resistance of the corresponding resistance value; the hysteresis control module U3 is connected with the resistor network and the ground, and is used for simulating the generation of the bidirectional hysteresis characteristic curve of the memristor.

Description

一种忆阻器电路A memristor circuit

技术领域technical field

本发明属于电路设计技术领域,涉及一种忆阻器电路,具体涉及实现符合忆阻器电压、电流关系的硬件模拟电路。The invention belongs to the technical field of circuit design, and relates to a memristor circuit, in particular to a hardware analog circuit for realizing the relationship between voltage and current of the memristor.

背景技术Background technique

忆阻器是用来描述磁通量和电荷关系的二端无源器件,是一种具有记忆功能的新型非线性电阻,它的电阻大小由流经其内部电荷的方向和数量决定,所以能记忆每时每刻流经的电荷量,从而具备了记忆性。由于拥有超小的尺寸,极快的擦写速度,超高的擦写寿命,多阻态开关特性和良好的CMOS兼容性,忆阻器在非易失性存储器、大规模集成电路、人工神经网络和人工智能等方向有着巨大的研究潜能。忆阻器的出现对数字电路有着巨大的影响。因此探索忆阻器等效模型并能够实际运用到电路设计中,显得尤为重要。Memristor is a two-terminal passive device used to describe the relationship between magnetic flux and charge. It is a new type of non-linear resistor with memory function. Its resistance is determined by the direction and quantity of charges flowing through it. The amount of electric charge that flows through every moment, thus possessing memory. Due to its ultra-small size, extremely fast erasing speed, ultra-high erasing life, multi-resistive switching characteristics and good CMOS compatibility, memristors are used in non-volatile memories, large-scale integrated circuits, and artificial nerves. Network and artificial intelligence have huge research potential. The advent of memristors has had a huge impact on digital circuits. Therefore, it is particularly important to explore the equivalent model of memristor and apply it to circuit design.

目前,虽然已有忆阻器等效电路研究成功,但总体研究以仿真模型为主。极少的几个由硬件电路构成的忆阻器等效电路,却因其原理较为复杂,导致难以应用到实际电路中;或者因为电路数据误差较大,难以精确模拟实际忆阻器的电压、电流特性。因此,设计一种原理简单、精确的忆阻器等效电路模拟实际的TiO2忆阻器将具有重要的意义。At present, although the equivalent circuit of the memristor has been successfully studied, the overall research is mainly based on the simulation model. Few memristor equivalent circuits composed of hardware circuits are difficult to apply to actual circuits because of their complex principles; or because of large circuit data errors, it is difficult to accurately simulate the actual memristor voltage, current characteristics. Therefore, it will be of great significance to design a simple and accurate memristor equivalent circuit to simulate the actual TiO2 memristor.

发明内容Contents of the invention

针对现在技术和研究成本上存在的问题,本发明提供了一种忆阻器电路,采用继电器及外围电路模拟忆阻器以及通过单片机实现阈值及阻值的可控,从而方便地实现TiO2忆阻器的伏安特性,可代替实际忆阻器进行实验测试和应用研究。Aiming at the problems existing in current technology and research cost, the present invention provides a memristor circuit, which uses relays and peripheral circuits to simulate memristors and realizes controllable threshold and resistance values through single-chip microcomputers, thereby conveniently realizing TiO 2 memristors. The volt-ampere characteristics of the resistor can replace the actual memristor for experimental testing and application research.

本发明解决技术问题所采取的技术方案如下:The technical solution adopted by the present invention to solve the technical problems is as follows:

一种忆阻器电路,包括输入模块,单片机模块U1,开关模块U2,电阻网络,滞回控制模块U3,其中,滞回控制模块U3进一步包括第一滞回控制模块U3-1和第二滞回控制模块U3-2。输入模块与单片机模块U1相连,用于配置忆阻器的阈值电压及电阻值;单片机模块U1与开关模块U2相连接,用于控制开关模块U2以实现对忆阻器的阈值电压及电阻值控制;开关模块U2分别与输入端Vin、单片机模块U1和电阻网络相连接,用于根据单片机模块U1的控制指令实现对电阻网络不同通道的选择;电阻网络的一端与开关模块U2相连接,另一端与滞回控制模块U3相连接,用于输出相应阻值的电阻;滞回控制模块U3与电阻网络、地连接,用于模拟忆阻器双向滞回特性曲线的产生。A memristor circuit, comprising an input module, a single-chip microcomputer module U1, a switch module U2, a resistor network, and a hysteresis control module U3, wherein the hysteresis control module U3 further includes a first hysteresis control module U3-1 and a second hysteresis control module U3-1 Back to control module U3-2. The input module is connected with the single-chip microcomputer module U1 for configuring the threshold voltage and resistance value of the memristor; the single-chip microcomputer module U1 is connected with the switch module U2 for controlling the switch module U2 to realize the threshold voltage and resistance value control of the memristor ;The switch module U2 is respectively connected with the input terminal Vin, the single-chip microcomputer module U1 and the resistance network, and is used to realize the selection of different channels of the resistance network according to the control command of the single-chip microcomputer module U1; one end of the resistance network is connected with the switch module U2, and the other end It is connected with the hysteresis control module U3, and is used to output the resistance of the corresponding resistance value; the hysteresis control module U3 is connected with the resistance network and the ground, and is used for simulating the generation of the bidirectional hysteresis characteristic curve of the memristor.

所述输入模块中的按键K1、K2分别与单片机模块U1中STC89C51芯片的第10引脚、第11引脚连接,按键K1、K2的另一端接地。The keys K1 and K2 in the input module are respectively connected to the tenth and eleventh pins of the STC89C51 chip in the single-chip module U1, and the other ends of the keys K1 and K2 are grounded.

所述单片机模块U1中STC89C51芯片的第39引脚、第38引脚、第37引脚分别与U2开关模块CD4051的第11引脚、第10引脚、第9引脚相连;单片机芯片其他管脚按照单片机最小系统模块进行正常连接即可。The 39th pin, the 38th pin, and the 37th pin of the STC89C51 chip in the single-chip microcomputer module U1 are connected to the 11th pin, the 10th pin, and the 9th pin of the U2 switch module CD4051 respectively; The pins can be connected normally according to the minimum system module of the single chip microcomputer.

所述的电阻网络包括第二电阻R2、第三电阻R3、第四电阻R4、第五电阻R5、第六电阻R6、第七电阻R7、第八电阻R8、第九电阻R9,以上所有电阻的一端与滞回控制模块U3相连,另一端接入开关模块U2。The resistor network includes a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, and a ninth resistor R9, all of the above resistors One end is connected to the hysteresis control module U3, and the other end is connected to the switch module U2.

所述开关模块CD4051芯片的第16引脚VDD和第7引脚VEE分别接入正负电源VCC与-VCC,第6引脚、第8引脚接地,第3引脚接输入端Vin,第1引脚与第六电阻R6的一端连接,第2引脚与第八电阻R8的一端连接,第4引脚与第九电阻R9的一端连接,第5引脚与第七电阻R7的一端连接,第12引脚与第五电阻R5的一端连接,第13引脚与第二电阻R2的一端连接,第14引脚与第三电阻R3的一端连接,第15引脚与第四电阻R4的一端连接。The 16th pin VDD and the 7th pin VEE of the switch module CD4051 chip are respectively connected to the positive and negative power supplies V CC and -V CC , the 6th pin and the 8th pin are grounded, and the 3rd pin is connected to the input terminal Vin , the first pin is connected to one end of the sixth resistor R6, the second pin is connected to one end of the eighth resistor R8, the fourth pin is connected to one end of the ninth resistor R9, the fifth pin is connected to the seventh resistor R7 One end is connected, the 12th pin is connected to one end of the fifth resistor R5, the 13th pin is connected to one end of the second resistor R2, the 14th pin is connected to one end of the third resistor R3, the 15th pin is connected to the fourth resistor Connect one end of R4.

所述滞回控制模块U3以SRD-5VDC-SL-C型继电器为主要器件;其中第一滞回控制模块U3-1电路中还包含D1二极管4007,D1的正极与第二电阻R2的另一端、第三电阻R3的另一端、第四电阻R4的另一端、第五电阻R5的另一端、第六电阻R6的另一端、第七电阻R7的另一端、第八电阻R8的另一端、第九电阻R9的另一端连接,D1的负极与第一电阻R1的一端、继电器第4引脚连接,第一电阻R1的另一端与继电器第1引脚连接;第二滞回控制模块U3-2电路中同样包括SRD-5VDC-SL-C和D2二极管4007,D2的负极与第二电阻R2的另一端、第三电阻R3的另一端、第四电阻R4的另一端、第五电阻R5的另一端、第六电阻R6的另一端、第七电阻R7的另一端、第八电阻R8的另一端、第九电阻R9的另一端连接,D2的正极与第十一电阻R11的一端、继电器的第4引脚连接,第十一电阻R11的另一端与继电器的第1引脚连接;第一滞回控制模块U3-1和第二滞回控制模块U3-2的继电器第2引脚、第5引脚接地。The hysteresis control module U3 uses a SRD-5VDC-SL-C relay as the main device; wherein the first hysteresis control module U3-1 circuit also includes a D1 diode 4007, the positive pole of D1 and the other end of the second resistor R2 , the other end of the third resistor R3, the other end of the fourth resistor R4, the other end of the fifth resistor R5, the other end of the sixth resistor R6, the other end of the seventh resistor R7, the other end of the eighth resistor R8, the other end of the The other end of nine resistors R9 is connected, the negative pole of D1 is connected with one end of the first resistor R1 and the 4th pin of the relay, and the other end of the first resistor R1 is connected with the 1st pin of the relay; the second hysteresis control module U3-2 The circuit also includes SRD-5VDC-SL-C and D2 diode 4007, the cathode of D2 is connected to the other end of the second resistor R2, the other end of the third resistor R3, the other end of the fourth resistor R4, and the other end of the fifth resistor R5 One end, the other end of the sixth resistor R6, the other end of the seventh resistor R7, the other end of the eighth resistor R8, and the other end of the ninth resistor R9 are connected, the positive pole of D2 is connected to one end of the eleventh resistor R11, the second end of the relay 4-pin connection, the other end of the eleventh resistor R11 is connected to the first pin of the relay; the second pin and the fifth pin of the relay of the first hysteresis control module U3-1 and the second hysteresis control module U3-2 pin to ground.

上述技术方案中,本发明设计了一种能够实现单片机控制的阈值电压及电阻值可调型忆阻器等效模拟电路。该模拟电路含有滞回控制模块,输入模块,一个CD4051开关芯片,一个单片机芯片,构造简洁。在目前甚至在未来如果无法获得单个纳米级TiO2忆阻器件的情况下,用来代替实际的忆阻器可运用到相关电路设计中,对忆阻器的特性应用及领域范围研究具有重大意义。Among the above technical solutions, the present invention designs an equivalent analog circuit of a memristor with adjustable threshold voltage and resistance value that can be controlled by a single-chip microcomputer. The analog circuit includes a hysteresis control module, an input module, a CD4051 switch chip, and a single-chip microcomputer chip, and the structure is simple. In the case that a single nanoscale TiO 2 memristor cannot be obtained at present or even in the future, the actual memristor used to replace it can be used in related circuit design, which is of great significance for the application of memristor characteristics and field research .

与现有技术相比,本发明实现忆阻器的模拟电路,从而能方便地实现TiO2忆阻器的伏安特性,可代替实际忆阻器进行实验测试和应用研究。本发明主要以滞回控制模块U3中继电器线圈吸合释放衔铁进行转变触点的过程引起整个电路的电流发生变化,模拟实际TiO2忆阻器件的伏安特性。利用继电器及外围电路实现忆阻器的滞回特性,其中第一滞回控制模块U3-1和第二滞回控制模块U3-2主要实现对输入信号正负半波的获取及滞回产生。单片机模块通过输入模块实现对开关芯片的控制,选择不同的负载通道,从而改变忆阻器模型电阻的不同阻值,实现忆阻器阈值变化的效果,改变模拟电路的忆阻器伏安特性。Compared with the prior art, the present invention realizes the analog circuit of the memristor, so that the volt-ampere characteristic of the TiO2 memristor can be realized conveniently, and it can replace the actual memristor for experimental testing and application research. In the present invention, the current of the whole circuit is changed mainly by the process of the relay coil in the hysteresis control module U3 pulling in and releasing the armature to change the contact, and simulating the volt-ampere characteristic of the actual TiO 2 memristive device. The hysteresis characteristic of the memristor is realized by using the relay and the peripheral circuit, wherein the first hysteresis control module U3-1 and the second hysteresis control module U3-2 mainly realize the acquisition of the positive and negative half-waves of the input signal and the hysteresis generation. The single-chip microcomputer module realizes the control of the switch chip through the input module, and selects different load channels, thereby changing the different resistance values of the memristor model resistors, realizing the effect of changing the threshold value of the memristor, and changing the volt-ampere characteristics of the memristor of the analog circuit.

附图说明Description of drawings

图1是本发明的电路结构框图。Fig. 1 is a block diagram of the circuit structure of the present invention.

图2是本发明忆阻器等效模拟电路原理图。Fig. 2 is a schematic diagram of the equivalent analog circuit of the memristor of the present invention.

图3是本发明忆阻器等效模拟硬件电路测试图Fig. 3 is a memristor equivalent analog hardware circuit test diagram of the present invention

具体实施方式Detailed ways

下面结合附图对本发明实例作详细说明。The examples of the present invention will be described in detail below in conjunction with the accompanying drawings.

由图1所示,本发明忆阻器电路的原理框图,包括输入模块、单片机模块U1、电阻网络、开关模块U2和滞回控制模块U3组成。滞回控制模块U3中的第一滞回控制模块U3-1和第二滞回控制模块U3-2配合电阻网络中的负载电阻产生具有开关特性的双向滞回单元。单片机模块U1则是通过输入模块中的按键输入信号给单片机,然后作用于开关芯片,从而调整电阻网络中的负载阻值。以上四个模块均为实验室常见元器件,在硬件电路上较易实现,能够以一种简单的电路结构实现阈值及电阻值可控型忆阻器模拟电路。As shown in FIG. 1 , the functional block diagram of the memristor circuit of the present invention includes an input module, a single-chip microcomputer module U1, a resistor network, a switch module U2 and a hysteresis control module U3. The first hysteresis control module U3-1 and the second hysteresis control module U3-2 in the hysteresis control module U3 cooperate with the load resistance in the resistor network to form a bidirectional hysteresis unit with switching characteristics. The single-chip microcomputer module U1 inputs signals to the single-chip microcomputer through the buttons in the input module, and then acts on the switch chip to adjust the load resistance in the resistor network. The above four modules are common components in the laboratory, which are relatively easy to realize on the hardware circuit, and can realize the threshold and resistance controllable memristor analog circuit with a simple circuit structure.

如图2所示为本发明忆阻器电路的电路原理图,其中,输入模块中的按键K1、K2分别与单片机模块U1中STC89C51芯片的第10引脚、第11引脚连接,按键K1、K2的另一端接地。As shown in Figure 2, it is the circuit principle diagram of the memristor circuit of the present invention, wherein, the buttons K1 and K2 in the input module are respectively connected with the 10th pin and the 11th pin of the STC89C51 chip in the single-chip microcomputer module U1, and the buttons K1, The other end of K2 is grounded.

STC89C51芯片的第39引脚、第38引脚、第37引脚分别与U2开关模块CD4051的第11引脚、第10引脚、第9引脚相连。The 39th, 38th and 37th pins of the STC89C51 chip are respectively connected to the 11th, 10th and 9th pins of the U2 switch module CD4051.

电阻网络包括第二电阻R2、第三电阻R3、第四电阻R4、第五电阻R5、第六电阻R6、第七电阻R7、第八电阻R8、第九电阻R9,以上所有电阻的一端与滞回控制模块U3相连,另一端接入开关模块U2。The resistor network includes a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, and a ninth resistor R9. It is connected to the control module U3, and the other end is connected to the switch module U2.

CD4051芯片的第16引脚VDD和第7引脚VEE分别接入正负电源VCC与-VCC,第6引脚、第8引脚接地,第3引脚接输入端Vin,第1引脚与第六电阻R6的一端连接,第2引脚与第八电阻R8的一端连接,第4引脚与第九电阻R9的一端连接,第5引脚与第七电阻R7的一端连接,第12引脚与第五电阻R5的一端连接,第13引脚与第二电阻R2的一端连接,第14引脚与第三电阻R3的一端连接,第15引脚与第四电阻R4的一端连接。The 16th pin VDD and the 7th pin VEE of the CD4051 chip are connected to the positive and negative power supply V CC and -V CC respectively, the 6th pin and the 8th pin are grounded, the 3rd pin is connected to the input terminal Vin, the 1st pin The pin is connected to one end of the sixth resistor R6, the second pin is connected to one end of the eighth resistor R8, the fourth pin is connected to one end of the ninth resistor R9, the fifth pin is connected to one end of the seventh resistor R7, and the second pin is connected to one end of the eighth resistor R8. The 12th pin is connected to one end of the fifth resistor R5, the 13th pin is connected to one end of the second resistor R2, the 14th pin is connected to one end of the third resistor R3, and the 15th pin is connected to one end of the fourth resistor R4 .

滞回控制模块U3的第一滞回控制模块U3-1电路中包含SRD-5VDC-SL-C型继电器、D1二极管4007,D1的正极与第二电阻R2的另一端、第三电阻R3的另一端、第四电阻R4的另一端、第五电阻R5的另一端、第六电阻R6的另一端、第七电阻R7的另一端、第八电阻R8的另一端、第九电阻R9的另一端连接,D1的负极与第一电阻R1的一端、继电器第4引脚连接,第一电阻R1的另一端与继电器第1引脚连接。The first hysteresis control module U3-1 circuit of the hysteresis control module U3 includes a SRD-5VDC-SL-C type relay, a D1 diode 4007, the positive pole of D1 and the other end of the second resistor R2, and the other end of the third resistor R3 One end, the other end of the fourth resistor R4, the other end of the fifth resistor R5, the other end of the sixth resistor R6, the other end of the seventh resistor R7, the other end of the eighth resistor R8, and the other end of the ninth resistor R9 , the negative pole of D1 is connected to one end of the first resistor R1 and the fourth pin of the relay, and the other end of the first resistor R1 is connected to the first pin of the relay.

第二滞回控制模块U3-2电路包括SRD-5VDC-SL-C型继电器、D2二极管4007,D2的负极与第二电阻R2的另一端、第三电阻R3的另一端、第四电阻R4的另一端、第五电阻R5的另一端、第六电阻R6的另一端、第七电阻R7的另一端、第八电阻R8的另一端、第九电阻R9的另一端连接,D2的正极与第十一电阻R11的一端、继电器的第4引脚连接,第十一电阻R11的另一端与继电器的第1引脚连接;第一滞回控制模块U3-1和第二滞回控制模块U3-2的继电器第2引脚、第5引脚接地。The second hysteresis control module U3-2 circuit includes a SRD-5VDC-SL-C type relay, D2 diode 4007, the negative pole of D2 and the other end of the second resistor R2, the other end of the third resistor R3, and the fourth resistor R4. The other end, the other end of the fifth resistor R5, the other end of the sixth resistor R6, the other end of the seventh resistor R7, the other end of the eighth resistor R8, and the other end of the ninth resistor R9 are connected, and the positive pole of D2 is connected to the tenth resistor R9. One end of a resistor R11 is connected to the fourth pin of the relay, and the other end of the eleventh resistor R11 is connected to the first pin of the relay; the first hysteresis control module U3-1 and the second hysteresis control module U3-2 The 2nd and 5th pins of the relay are grounded.

上述电路的工作原理如下:The working principle of the above circuit is as follows:

滞回控制模块U3中的第一滞回控制模块U3-1,通过二极管D1使输入继电器第4引脚的信号转变为半波正弦信号。在半波信号的驱动下,继电器线圈工作,第一电阻R1经继电器内部由第1引脚到第2引脚再到地,与第4引脚到第5引脚再到地两条通路并联,由于继电器本身线圈电阻为70欧,整个第一滞回控制模块U3-1在并联后整体阻值约为65欧左右。由继电器工作手册知,当输入信号大于3.75V,电磁铁线圈吸引衔铁,使继电器内部触点发生转变,由原来的第2引脚转变为第3引脚,即图2所示U3-1单元继电器的第1引脚与第2引脚相连的内部初始连接转变为第1引脚和第3引脚相连,使U3-1单元由初始的并联电路转变成仅流经线圈到地的一条通路。当输入信号小于0.5V电压时,继电器的电磁铁线圈无法牢固吸引衔铁,所以经过极短暂的时间,触点又回到原位,使电路又回到初始状态。通过输入端Vin输入幅值为5V,频率为100HZ的正弦信号,滞回控制模块U3-1中继电器线圈吸合释放衔铁进行转变触点的过程引起整个电路的电流发生变化,从而产生正向滞回特性。如果搭配合适的负载阻值能够提高输入端Vin输入信号的频率。第二滞回控制模块U3-2原理与第一滞回控制模块U3-1相同,在二极管D2的作用下将会产生反向滞回特性。The first hysteresis control module U3-1 in the hysteresis control module U3 converts the signal input to the fourth pin of the relay into a half-wave sine signal through the diode D1. Driven by the half-wave signal, the relay coil works, and the first resistor R1 passes through the interior of the relay from the first pin to the second pin and then to the ground, and is connected in parallel with the two paths from the 4th pin to the 5th pin and then to the ground. , since the coil resistance of the relay itself is 70 ohms, the overall resistance of the first hysteresis control module U3-1 after parallel connection is about 65 ohms. According to the relay work manual, when the input signal is greater than 3.75V, the electromagnet coil attracts the armature, so that the internal contact of the relay changes, from the original 2nd pin to the 3rd pin, which is the U3-1 unit shown in Figure 2 The internal initial connection between the first pin and the second pin of the relay is changed to the first pin and the third pin, so that the U3-1 unit is changed from the initial parallel circuit to a path that only flows through the coil to the ground . When the input signal is less than 0.5V, the electromagnet coil of the relay cannot firmly attract the armature, so after a very short time, the contacts return to their original positions and the circuit returns to its initial state. The sinusoidal signal with an amplitude of 5V and a frequency of 100HZ is input through the input terminal Vin. The process of the relay coil in the hysteresis control module U3-1 pulling in and releasing the armature to change the contact causes the current of the entire circuit to change, thereby generating positive hysteresis. Back features. If matched with a suitable load resistance, the frequency of the input signal at the input terminal Vin can be increased. The principle of the second hysteresis control module U3-2 is the same as that of the first hysteresis control module U3-1, and will generate reverse hysteresis characteristics under the action of the diode D2.

图3(a),(b),(c)为电阻网络中的负载阻值逐渐增大时得到的测试结果图。因此通过单片机控制改变电阻网络中的负载阻值的大小,实现调节此忆阻器的高低阻值变化的功能,同时也可以达到阈值变化的效果。在此模块基础上,如果把继电器第4引脚接入一定的可调电阻值,仍然能够达到调节效果。Fig. 3 (a), (b), (c) are the test result diagrams obtained when the load resistance value in the resistor network gradually increases. Therefore, the value of the load resistance in the resistor network is changed through the control of the single-chip microcomputer to realize the function of adjusting the change of the high and low resistance of the memristor, and at the same time, the effect of changing the threshold value can also be achieved. On the basis of this module, if the 4th pin of the relay is connected to a certain adjustable resistance value, the adjustment effect can still be achieved.

单片机模块U1与开关模块U2在整个电路中起到调节忆阻器阈值以及电阻值的作用。STC89C51芯片的第39引脚、第38引脚、第37引脚分别与CD4051开关芯片的第11引脚、第10引脚和第9引脚连接,在按下按键后,单片机在程序的作用下通过第39引脚、第38引脚、第37引脚选择CD4051开关芯片通道,以此调节电阻网络中接入电路的负载电阻值。当负载阻值发生变化时,整体电路的电流和滞回模块的电压将会发生变化,以而影响继电器模块的滞回特性,在整体电路上实现可调阈值电压和电阻值的效果。开关芯片CD4051的第16引脚VCC、第7引脚-VCC此时分别输入电压5V和-5V,但输入电压-VCC、VCC的值还受CD4051芯片第3引脚Out/In的输入信号电压控制,即第16引脚VCC、第7引脚-VCC输入电压必须大于等于输入信号的幅值电压。The single-chip microcomputer module U1 and the switch module U2 play a role in adjusting the threshold value and the resistance value of the memristor in the whole circuit. The 39th pin, 38th pin, and 37th pin of the STC89C51 chip are respectively connected to the 11th pin, the 10th pin, and the 9th pin of the CD4051 switch chip. Next, select the channel of the CD4051 switch chip through the 39th pin, the 38th pin, and the 37th pin to adjust the load resistance value of the connected circuit in the resistor network. When the load resistance changes, the current of the overall circuit and the voltage of the hysteresis module will change, thereby affecting the hysteresis characteristics of the relay module, and realizing the effect of adjustable threshold voltage and resistance value on the overall circuit. The 16th pin V CC and the 7th pin -V CC of the switch chip CD4051 respectively input voltages of 5V and -5V at this time, but the values of the input voltages -V CC and V CC are also affected by the 3rd pin Out/In of the CD4051 chip. The input signal voltage control, that is, the input voltage of the 16th pin V CC and the 7th pin -V CC must be greater than or equal to the amplitude voltage of the input signal.

本领域的普通技术人员应当认识到,以上实施例仅是用来验证本发明,而并非作为对本发明的限定,只要是在本发明的范围内,对以上实施例的变化、变形都将落在本发明的保护范围内。Those of ordinary skill in the art should recognize that the above embodiments are only used to verify the present invention, rather than as a limitation of the present invention, as long as they are within the scope of the present invention, changes and deformations to the above embodiments will fall within the scope of the present invention. Within the protection scope of the present invention.

Claims (5)

1. a kind of memristor circuit, which is characterized in that including input module, one-chip computer module U1, switch module U2, resistance net Network, hysteresis control module U3, wherein hysteresis control module U3 further comprises the first hysteresis control module U3-1 and the second hysteresis Control module U3-2;Input module is connected with one-chip computer module U1, for configuring the threshold voltage and resistance value of memristor;Monolithic Machine module U1 is connected with switch module U2, and threshold voltage and the resistance value control of memristor are realized for control switch module U2 System;Switch module U2 is connected with input terminal Vin, one-chip computer module U1 and resistor network respectively, for according to one-chip computer module The control instruction of U1 realizes the selection to resistor network difference channel;One end of resistor network is connected with switch module U2, The other end is connected with hysteresis control module U3, for the resistance according to the state output respective resistance values of switch module U2;Hysteresis Control module U3 and resistor network and connect, for simulating the generation of the two-way hysteretic characteristic curve of memristor;
Hysteresis control module U3 is realized using relay.
2. memristor circuit according to claim 1, which is characterized in that hysteresis control module U3 uses SRD-5VDC-SL-C Type relay.
3. memristor circuit according to claim 1, which is characterized in that one-chip computer module U1 uses STC89C51 chip.
4. memristor circuit according to claim 1, which is characterized in that U2 switch module uses CD4051 chip.
5. memristor circuit according to claim 1, which is characterized in that key K1, K2 in input module respectively with monolithic 10th pin of STC89C51 chip, the connection of the 11st pin in machine module U1, the other end ground connection of key K1, K2;
39th pin of STC89C51 chip, the 38th pin, the 37th pin respectively with the 11st pin of U2 switch module CD4051, 10th pin, the 9th pin are connected;
Resistor network includes second resistance R2,3rd resistor R3, the 4th resistance R4, the 5th resistance R5, the 6th resistance R6, the 7th electricity R7, the 8th resistance R8, the 9th resistance R9 are hindered, one end of all of above resistance is connected with hysteresis control module U3, other end access Switch module U2;
16th pin VDD of CD4051 chip and the 7th pin VEE are respectively connected to positive-negative power VCCWith-VCC, the 6th pin, the 8th are drawn Foot ground connection, the 3rd pin meets input terminal Vin, and the 1st pin is connect with one end of the 6th resistance R6, the 2nd pin and the 8th resistance R8's One end connection, the 4th pin are connect with one end of the 9th resistance R9, and the 5th pin is connect with one end of the 7th resistance R7, the 12nd pin It is connect with one end of the 5th resistance R5, the 13rd pin is connect with one end of second resistance R2, and the 14th pin is with 3rd resistor R3's One end connection, the 15th pin are connect with one end of the 4th resistance R4;
It include SRD-5VDC-SL-C type relay, D1 diode 4007, the anode of D1 in first hysteresis control module U3-1 circuit With the other end of second resistance R2, the other end of 3rd resistor R3, the other end of the 4th resistance R4, the 5th resistance R5 it is another End, the other end of the 6th resistance R6, the other end of the 7th resistance R7, the other end of the 8th resistance R8, the 9th resistance R9 it is another End connection, the cathode of D1 are connect with one end of first resistor R1, the 4th pin of relay, the other end and relay of first resistor R1 The connection of the 1st pin of device;
Second hysteresis control module U3-2 circuit includes SRD-5VDC-SL-C type relay, D2 diode 4007, the cathode of D2 with The other end of second resistance R2, the other end of 3rd resistor R3, the other end of the 4th resistance R4, the 5th resistance R5 the other end, The other end of 6th resistance R6, the other end of the 7th resistance R7, the other end of the 8th resistance R8, the 9th resistance R9 the other end connect Connect, D2 anode connect with the 4th pin of one end of eleventh resistor R11, relay, the other end of eleventh resistor R11 and 1st pin of relay connects;The relay the 2nd of first hysteresis control module U3-1 and the second hysteresis control module U3-2 draw Foot, the 5th pin ground connection.
CN201910325862.4A 2019-04-23 2019-04-23 A memristor circuit Expired - Fee Related CN110197688B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910325862.4A CN110197688B (en) 2019-04-23 2019-04-23 A memristor circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910325862.4A CN110197688B (en) 2019-04-23 2019-04-23 A memristor circuit

Publications (2)

Publication Number Publication Date
CN110197688A true CN110197688A (en) 2019-09-03
CN110197688B CN110197688B (en) 2020-10-16

Family

ID=67752076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910325862.4A Expired - Fee Related CN110197688B (en) 2019-04-23 2019-04-23 A memristor circuit

Country Status (1)

Country Link
CN (1) CN110197688B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910457A (en) * 2021-01-21 2021-06-04 西南大学 Memristor-based data selector and IC topological structure thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8113437B2 (en) * 2009-12-23 2012-02-14 Hynix Semiconductor, Inc. RFID device with memory unit having memristor characteristics
CN103219983A (en) * 2013-04-16 2013-07-24 杭州电子科技大学 Memristor equivalent simulation circuit
CN103297025A (en) * 2013-05-02 2013-09-11 杭州电子科技大学 Memristor emulator
CN103324979A (en) * 2013-06-28 2013-09-25 电子科技大学 Programmable threshold value circuit
CN103729518A (en) * 2014-01-08 2014-04-16 电子科技大学 Simple memristor emulator
US9129676B2 (en) * 2009-07-31 2015-09-08 William Marsh Rice University Electronic devices containing switchably conductive silicon oxides as a switching element and methods for production and use thereof
CN108109654A (en) * 2016-11-25 2018-06-01 李晓兵 A kind of programmable analog circuit based on memristor
CN108736559A (en) * 2017-04-24 2018-11-02 西华大学 A kind of solar storage battery charging-discharging controller based on memristor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9129676B2 (en) * 2009-07-31 2015-09-08 William Marsh Rice University Electronic devices containing switchably conductive silicon oxides as a switching element and methods for production and use thereof
US8113437B2 (en) * 2009-12-23 2012-02-14 Hynix Semiconductor, Inc. RFID device with memory unit having memristor characteristics
CN103219983A (en) * 2013-04-16 2013-07-24 杭州电子科技大学 Memristor equivalent simulation circuit
CN103297025A (en) * 2013-05-02 2013-09-11 杭州电子科技大学 Memristor emulator
CN103324979A (en) * 2013-06-28 2013-09-25 电子科技大学 Programmable threshold value circuit
CN103729518A (en) * 2014-01-08 2014-04-16 电子科技大学 Simple memristor emulator
CN108109654A (en) * 2016-11-25 2018-06-01 李晓兵 A kind of programmable analog circuit based on memristor
CN108736559A (en) * 2017-04-24 2018-11-02 西华大学 A kind of solar storage battery charging-discharging controller based on memristor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910457A (en) * 2021-01-21 2021-06-04 西南大学 Memristor-based data selector and IC topological structure thereof

Also Published As

Publication number Publication date
CN110197688B (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN106374912B (en) A kind of logical operation circuit and operating method
CN103281082B (en) A kind of analog to digital conversion circuit based on memory resistor
CN108846215B (en) Extremely simple floating ground load control memristor circuit simulation model
CN110197688A (en) A kind of memristor circuit
CN104332124A (en) Nixie tube driving circuit and control method thereof
CN203366699U (en) Nixie tube driving circuit
CN202168062U (en) On-chip terminal resistor and calibration loop
CN209297245U (en) A kind of control chip power breaking device
CN117278020A (en) A programmable resistive circuit based on resistive switching elements
CN107064781A (en) A kind of simple resistor network automatic test approach
CN209448466U (en) A kind of charging circuit and charging equipment
Gao et al. Memristor-based logic gate circuit
CN201663585U (en) Programmable Filter Based on Multiplier and Current Feedback Amplifier
CN112787657B (en) Programmable memristor logic circuit
CN104794261A (en) Model and memory method of resistive random access memory with reset function
CN110175384B (en) Secondary smooth flow control memristor simulation circuit
CN204068684U (en) For the current foldback circuit of power device
CN108376108A (en) A kind of reset circuit based on house dog
CN109061290B (en) High-precision compensation system and compensation method for high-voltage electric energy metering device
CN104636548B (en) Variable resistor simulation modeling circuit in a kind of RRAM storage units
CN113054986B (en) Three-terminal controllable memristor simulation circuit
CN208569365U (en) A kind of automobile cloud diagnosis simulation signal generator
CN115083833B (en) A five-layer relay hardware connection architecture
CN221239428U (en) Power supply maintaining module of full flash memory
CN206506627U (en) A kind of building talkback terminating machine for possessing gateway function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201016