CN110910723B - A Memristor-Based Pavlovian Dual-Mode Switching Learning and Memory Circuit - Google Patents
A Memristor-Based Pavlovian Dual-Mode Switching Learning and Memory Circuit Download PDFInfo
- Publication number
- CN110910723B CN110910723B CN201911340520.6A CN201911340520A CN110910723B CN 110910723 B CN110910723 B CN 110910723B CN 201911340520 A CN201911340520 A CN 201911340520A CN 110910723 B CN110910723 B CN 110910723B
- Authority
- CN
- China
- Prior art keywords
- learning
- voltage
- module
- selection
- signal
- 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.)
- Active
Links
- 230000013016 learning Effects 0.000 title claims abstract description 386
- 230000000007 visual effect Effects 0.000 claims abstract description 66
- 230000005284 excitation Effects 0.000 claims abstract description 42
- 230000001629 suppression Effects 0.000 claims description 73
- 230000000638 stimulation Effects 0.000 claims description 68
- 238000012545 processing Methods 0.000 claims description 31
- 230000005764 inhibitory process Effects 0.000 abstract description 77
- 230000031836 visual learning Effects 0.000 description 85
- 238000010586 diagram Methods 0.000 description 9
- 230000009471 action Effects 0.000 description 7
- 230000007423 decrease Effects 0.000 description 7
- 238000004088 simulation Methods 0.000 description 7
- 101100064324 Arabidopsis thaliana DTX48 gene Proteins 0.000 description 6
- 101100478887 Arabidopsis thaliana SUMO6 gene Proteins 0.000 description 6
- 101150112492 SUM-1 gene Proteins 0.000 description 5
- 101150096255 SUMO1 gene Proteins 0.000 description 5
- 238000000034 method Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000012549 training Methods 0.000 description 4
- 101100204393 Arabidopsis thaliana SUMO2 gene Proteins 0.000 description 3
- 101100311460 Schizosaccharomyces pombe (strain 972 / ATCC 24843) sum2 gene Proteins 0.000 description 3
- 230000006399 behavior Effects 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000002401 inhibitory effect Effects 0.000 description 3
- 101100272412 Arabidopsis thaliana BIA1 gene Proteins 0.000 description 2
- 101100388296 Arabidopsis thaliana DTX51 gene Proteins 0.000 description 2
- 101100534682 Arabidopsis thaliana SUMO4 gene Proteins 0.000 description 2
- 101100478889 Arabidopsis thaliana SUMO8 gene Proteins 0.000 description 2
- 239000002253 acid Substances 0.000 description 2
- 101100534673 Arabidopsis thaliana SUMO3 gene Proteins 0.000 description 1
- 101100534685 Arabidopsis thaliana SUMO5 gene Proteins 0.000 description 1
- 101100322033 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) ABM1 gene Proteins 0.000 description 1
- 101100116390 Schizosaccharomyces pombe (strain 972 / ATCC 24843) ded1 gene Proteins 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000004791 biological behavior Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 210000005036 nerve Anatomy 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 210000003296 saliva Anatomy 0.000 description 1
- 210000000225 synapse Anatomy 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B19/00—Teaching not covered by other main groups of this subclass
- G09B19/06—Foreign languages
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Physics & Mathematics (AREA)
- Educational Administration (AREA)
- Educational Technology (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
本发明提出了一种基于忆阻器的巴甫洛夫双模式切换的学习记忆电路,包括相互学习抑制的第一记忆模块和第二记忆模块,第一记忆模块和第二记忆模块相连接;第一记忆模块包括第一学习电压选择模块、第一学习模块和第一学习抑制模块;第二记忆模块包括第二学习电压选择模块、第二学习模块和第二学习抑制模块;第一激励信号源和第一学习模块的输出端均与第一或门相连接,第二激励信号源和第二学习模块的输出端均与第二或门相连接。本发明利用学习激励信号来调用听觉模块与视觉模块,听觉模式学习与视觉模式学习可进行模式切换,达到双模式切换学习的目的,解决了学习记忆电路只能进行单一模式学习的问题。
The invention provides a learning and memory circuit based on memristor Pavlovian dual-mode switching, comprising a first memory module and a second memory module for mutual learning and inhibition, and the first memory module and the second memory module are connected; The first memory module includes a first learning voltage selection module, a first learning module and a first learning inhibition module; the second memory module includes a second learning voltage selection module, a second learning module and a second learning inhibition module; the first excitation signal Both the source and the output of the first learning module are connected with the first OR gate, and both the second excitation signal source and the output of the second learning module are connected with the second OR gate. The invention utilizes the learning excitation signal to call the auditory module and the visual module, and the auditory mode learning and the visual mode learning can be switched between modes, so as to achieve the purpose of dual-mode switching learning, and solve the problem that the learning and memory circuit can only perform single-mode learning.
Description
技术领域technical field
本发明涉及数模电路的技术领域,尤其涉及一种基于忆阻器的巴甫洛夫双模式切换的学习记忆电路。The invention relates to the technical field of digital-analog circuits, in particular to a learning and memory circuit based on memristor Pavlovian dual-mode switching.
背景技术Background technique
2008年惠普公司在实验室制备出了一种具有记忆性质的电阻,被证实是多年前提出的第五种被动电子元器件---忆阻器。作为一种新型元件,世界各国学者越来越多的关注并开始从各个方面来研究忆阻器。随着人们对于忆阻器概念理解的深入,发现忆阻器的特性非常类似于生物神经中的突触,可以对大脑的部分功能进行模仿,从而进行生物行为的仿真记忆学习。从现有文献来看,生物记忆行为的电路仿真已经成为忆阻器研究极其重要的一部分。In 2008, Hewlett-Packard Company prepared a resistor with memory properties in the laboratory, which was confirmed to be the fifth passive electronic component proposed many years ago, the memristor. As a new type of component, scholars from all over the world pay more and more attention and begin to study the memristor from various aspects. With the deepening of people's understanding of the concept of memristors, it is found that the characteristics of memristors are very similar to the synapses in biological nerves, and they can imitate some functions of the brain to simulate memory learning of biological behaviors. From the existing literature, circuit simulation of biological memory behavior has become an extremely important part of memristor research.
目前很多基于忆阻器的学习记忆电路仿真模型被提出,这对于之后忆阻器的广泛应用提供了更大的可能性。申请号为201611256568.5的发明专利申请公开了一种基于忆阻的巴普洛夫联想记忆的人工神经网络电路,电路虽然实现了学习、遗忘、再次学习、再次遗忘和自然遗忘,但是整个电路只是传统的听觉模式训练,未涉及到双模式训练。由于目前基于忆阻器的学习记忆行为的单模式训练太过于简单与理想化,所以越来越多的学者开始重视更为复杂与客观的双模式训练。相信在不久的将来,基于忆阻器的生物记忆学习行为研究发展会更好。At present, many simulation models of learning and memory circuits based on memristors have been proposed, which provides a greater possibility for the wide application of memristors in the future. The invention patent application with application number 201611256568.5 discloses an artificial neural network circuit based on memristive Pavlovian associative memory. Although the circuit realizes learning, forgetting, re-learning, re-forgetting and natural forgetting, the entire circuit is only a traditional auditory mode training, no dual mode training is involved. Because the current single-mode training based on memristor learning and memory behavior is too simple and ideal, more and more scholars begin to pay attention to more complex and objective dual-mode training. It is believed that in the near future, the research and development of memristor-based biological memory learning behavior will be better.
发明内容SUMMARY OF THE INVENTION
针对听觉模式是巴甫洛夫联想记忆的传统学习模式,但是单一的模式学习无法实际反应生活中学习记忆的多样性的技术问题,本发明提出一种基于忆阻器的巴甫洛夫双模式切换的学习记忆电路,不仅可以实现听觉与视觉模式的学习记忆,还可以进行听觉与视觉双模式的切换学习记忆,真正意义上实现了学习记忆的多样性。同时根据学习过程的实际情况,本发明探究了不同学习模式之间的抑制关系,并且将其在电路中实现。Aiming at the technical problem that the auditory mode is the traditional learning mode of Pavlovian associative memory, but the single mode learning cannot actually reflect the diversity of learning and memory in life, the present invention proposes a Pavlovian dual mode based on memristor The switched learning and memory circuit can not only realize the learning and memory of auditory and visual modes, but also can switch learning and memory of auditory and visual modes, which truly realizes the diversity of learning and memory. At the same time, according to the actual situation of the learning process, the present invention explores the inhibition relationship between different learning modes, and implements it in the circuit.
为了达到上述目的,本发明的技术方案是这样实现的:一种基于忆阻器的巴甫洛夫双模式切换的学习记忆电路,包括相互学习抑制的第一记忆模块和第二记忆模块,第一记忆模块和第二记忆模块相连接,第一记忆模块与第一激励信号源相连接,第二记忆模块与第二激励信号源相连接;所述第一记忆模块包括第一学习电压选择模块、第一学习模块和第一学习抑制模块,第一激励信号源分别与第一学习电压选择模块、第一学习模块和第一学习抑制模块的输入端相连接,第一学习电压选择模块的输出端分别与第二记忆模块和第一学习模块的输入端相连接,第一学习模块的输出端与第一学习电压选择模块相连接,第一学习抑制模块的输入端与第二记忆模块的输出端相连接,第一学习抑制模块的输出端与第一学习电压选择模块的输入端相连接;所述第二记忆模块包括第二学习电压选择模块、第二学习模块和第二学习抑制模块,第二激励信号源分别与第二学习电压选择模块、第二学习模块和第二学习抑制模块相连接,第二学习模块的输出端与第二学习电压选择模块的输入端相连接,第二学习电压选择模块的输出端分别与第二学习模块、第一学习抑制模块的输入端相连接,第一学习电压选择模块与第二学习抑制模块的输入端相连接,第二学习抑制模块的输出端与第二学习电压选择模块的输入端相连接;所述第一激励信号源和第一学习模块的输出端均与第一或门相连接,第一或门的输出端输出第一学习记忆信号,所述第二激励信号源和第二学习模块的输出端均与第二或门相连接,第二或门的输出端输出第二学习记忆信号。In order to achieve the above object, the technical scheme of the present invention is achieved as follows: a learning and memory circuit based on memristor Pavlovian dual-mode switching, comprising a first memory module and a second memory module that inhibit mutual learning, the A memory module is connected with the second memory module, the first memory module is connected with the first excitation signal source, and the second memory module is connected with the second excitation signal source; the first memory module includes a first learning voltage selection module , the first learning module and the first learning suppression module, the first excitation signal source is respectively connected with the input terminals of the first learning voltage selection module, the first learning module and the first learning suppression module, and the output of the first learning voltage selection module The terminals are respectively connected with the input terminals of the second memory module and the first learning module, the output terminal of the first learning module is connected with the first learning voltage selection module, and the input terminal of the first learning suppression module is connected with the output terminal of the second memory module. The output terminal of the first learning suppression module is connected with the input terminal of the first learning voltage selection module; the second memory module includes a second learning voltage selection module, a second learning module and a second learning suppression module, The second excitation signal source is respectively connected with the second learning voltage selection module, the second learning module and the second learning suppression module, the output terminal of the second learning module is connected with the input terminal of the second learning voltage selection module, and the second learning voltage selection module is connected to the second learning voltage selection module. The output end of the voltage selection module is respectively connected with the input end of the second learning module and the first learning suppression module, the first learning voltage selection module is connected with the input end of the second learning suppression module, and the output end of the second learning suppression module is connected with the input end of the second learning voltage selection module; the first excitation signal source and the output end of the first learning module are both connected with the first OR gate, and the output end of the first OR gate outputs the first learning memory signal , the second excitation signal source and the output end of the second learning module are both connected with the second OR gate, and the output end of the second OR gate outputs the second learning and memory signal.
所述第一记忆模块为听觉模块,第二记忆模块为视觉模块,所述第一激励信号源包括食物信号F1和听觉刺激信号L1,食物信号F1分别与第一学习电压选择模块、第一或门和第一学习抑制模块相连接,听觉刺激信号L1分别与第一学习电压选择模块、第一学习模块和第一学习抑制模块相连接;所述第二激励信号源包括食物信号F2和视觉刺激信号S1,食物信号F2分别与第二学习电压选择模块、第二或门和第二学习抑制模块相连接,视觉刺激信号S1分别与第二学习电压选择模块、第二学习模块和第二学习抑制模块。The first memory module is an auditory module, the second memory module is a visual module, the first excitation signal source includes a food signal F 1 and an auditory stimulation signal L 1 , and the food signal F 1 is respectively associated with the first learning voltage selection module, The first OR gate is connected with the first learning suppression module, and the auditory stimulation signal L1 is respectively connected with the first learning voltage selection module, the first learning module and the first learning suppression module; the second excitation signal source includes food signals F2 and visual stimulation signal S1 , food signal F2 are respectively connected with the second learning voltage selection module, the second OR gate and the second learning inhibition module, the visual stimulation signal S1 is respectively connected with the second learning voltage selection module, the second learning voltage selection module, the second learning voltage selection module A second learning module and a second learning inhibition module.
所述第一学习电压选择模块和第二学习电压选择模块均包括第一与门、第一非门、第一电压绝对值器件、第一电压求和器件、第一忆阻器,食物信号F1或食物信号F2、听觉刺激信号L1或视觉刺激信号S1分别与第一与门的两个输入端相连接,第一与门输出学习电压选择的第一输出端;第一与门与第一电压选择电路相连接,听觉刺激信号L1或视觉刺激信号S1与第一选择电路相连接,第一学习模块或第二学习模块的输出端与第二选择电路相连接,第一选择电路和第二选择电路均与第一电压求和器件相连接,第一电压求和器件与第一忆阻器相连接,第一忆阻器与第一电压跟随电路相连接,第一电压跟随电路的输出端分别与第一电压绝对值器件和第一电压选择电路相连接,第一电压绝对值器件与第一电压选择电路相连接,第一电压选择电路的输出端与第二电压求和器件的一个输入端相连接,第一学习抑制模块或第二学习抑制模块与第二电压求和器件的另一个输入端相连接,第二电压求和器件的输出端输出学习电压选择的第二输出端;听觉刺激信号L1或视觉刺激信号S1通过第一非门与第三选择电路相连接,第三选择电路的输出端输出学习电压选择的第三输出端。The first learning voltage selection module and the second learning voltage selection module each include a first AND gate, a first NOT gate, a first voltage absolute value device, a first voltage summation device, a first memristor, and a food signal F. 1 or the food signal F 2 , the auditory stimulation signal L 1 or the visual stimulation signal S 1 are respectively connected with the two input ends of the first AND gate, the first AND gate outputs the first output end selected by the learning voltage; the first AND gate It is connected with the first voltage selection circuit, the auditory stimulation signal L1 or the visual stimulation signal S1 is connected with the first selection circuit, the output end of the first learning module or the second learning module is connected with the second selection circuit, the first The selection circuit and the second selection circuit are both connected with the first voltage summing device, the first voltage summing device is connected with the first memristor, the first memristor is connected with the first voltage follower circuit, the first voltage The output terminals of the follower circuit are respectively connected with the first voltage absolute value device and the first voltage selection circuit, the first voltage absolute value device is connected with the first voltage selection circuit, and the output terminal of the first voltage selection circuit is connected with the second voltage selection circuit. It is connected with one input end of the device, the first learning suppression module or the second learning suppression module is connected with the other input end of the second voltage summing device, and the output end of the second voltage summing device outputs the first selected by the learning voltage. Two output terminals; the auditory stimulation signal L1 or the visual stimulation signal S1 is connected to the third selection circuit through the first NOT gate, and the output terminal of the third selection circuit outputs the third output terminal selected by the learning voltage.
所述第一学习抑制模块和第二学习抑制模块均包括抑制信号单元和抑制电压选择单元,抑制信号单元和抑制电压选择单元相连接;所述抑制信号单元包括第四选择电路、第五选择电路、第六选择电路、第三电压求和器件、第二忆阻器、第二电压跟随电路和第二电压绝对值器件,所述第二学习电压选择模块或第一学习电压选择模块的学习电压选择的第一输出端与第四选择电路相连接,听觉刺激信号L1或视觉刺激信号S1与第五选择电路相连接,第四选择电路和第五选择电路的输出端均与第三电压求和器件相连接,第三电压求和器件与第二忆阻器相连接,第二忆阻器与第二电压跟随电路相连接,第二电压跟随电路通过第二电压绝对值器件与第六选择电路的输入端相连接,第六选择电路的输出端与第二与门的一个输入端相连接,听觉刺激信号L1或视觉刺激信号S1分别与第二与门的另一输入端和第三与门的一个输入端相连接,食物信号F1或食物信号F2与第三与门的另一个输入端相连接;所述抑制电压选择单元包括第七选择电路、反相比例放大器、第三电压绝对值器件,第二与门的输出端与第七选择电路相连接,第七选择电路与反相比例放大器相连接,反相比例放大器的输出端分别与第三电压绝对值器件、第二电压选择电路的输入端相连接,第三电压绝对值器件的输出端与第二电压选择电路相连接;所述第二与门和第三与门输出端均与第四与门相连接,第四与门与第二电压选择电路相连接,第二电压选择电路的输出端与第一学习电压选择模块或第二学习电压选择模块的第二电压求和器件的输入端相连接。The first learning suppression module and the second learning suppression module both include a suppression signal unit and a suppression voltage selection unit, and the suppression signal unit and the suppression voltage selection unit are connected; the suppression signal unit includes a fourth selection circuit and a fifth selection circuit , the sixth selection circuit, the third voltage summation device, the second memristor, the second voltage follower circuit and the second absolute value device of the voltage, the learning voltage of the second learning voltage selection module or the first learning voltage selection module The selected first output terminal is connected to the fourth selection circuit, the auditory stimulation signal L1 or the visual stimulation signal S1 is connected to the fifth selection circuit, and the output terminals of the fourth selection circuit and the fifth selection circuit are both connected to the third voltage The summing device is connected, the third voltage summing device is connected with the second memristor, the second memristor is connected with the second voltage follower circuit, and the second voltage follower circuit is connected with the sixth voltage follower through the second absolute value device. The input end of the selection circuit is connected, the output end of the sixth selection circuit is connected with one input end of the second AND gate, the auditory stimulation signal L1 or the visual stimulation signal S1 is respectively connected with the other input end of the second AND gate and One input end of the third AND gate is connected, and the food signal F1 or the food signal F2 is connected to the other input end of the third AND gate ; the suppression voltage selection unit includes a seventh selection circuit, an inverse proportional amplifier, The third voltage absolute value device, the output end of the second AND gate is connected with the seventh selection circuit, the seventh selection circuit is connected with the inverse proportional amplifier, and the output end of the inverse proportional amplifier is respectively connected with the third voltage absolute value device, The input terminal of the second voltage selection circuit is connected, the output terminal of the third voltage absolute value device is connected to the second voltage selection circuit; the output terminals of the second AND gate and the third AND gate are both connected to the fourth AND gate , the fourth AND gate is connected to the second voltage selection circuit, and the output terminal of the second voltage selection circuit is connected to the input terminal of the first learning voltage selection module or the second voltage summing device of the second learning voltage selection module.
所述第一学习模块和第二学习模块均包括第三非门、电压处理元器件、第三忆阻器、第三电压跟随电路、第四电压求和器件和电压比较电路,听觉刺激信号L1或视觉刺激信号S1通过第三非门与第四电压求和器件的一个输入端相连接,第一学习电压选择模块或第二学习电压选择模块的学习电压选择的第三输出端与第三忆阻器相连接,第三忆阻器与第三电压跟随电路相连接,第三电压跟随电路与电压处理元器件的一个输入端相连接,第一学习电压选择模块或第二学习电压选择模块的学习电压选择的第二输出端与电压处理元器件的另一个输入端相连接,电压处理元器件的输出端与第四电压求和器件的另一个输入端相连接,第四电压求和器件的输出端与电压比较电路相连接,电压比较电路输出端为第一学习模块或第二学习模块的输出端。The first learning module and the second learning module both include a third NOT gate, a voltage processing component, a third memristor, a third voltage follower circuit, a fourth voltage summing device and a voltage comparison circuit, and the auditory stimulation signal L 1 or the visual stimulation signal S1 is connected to one input end of the fourth voltage summing device through the third NOT gate, and the third output end of the learning voltage selection of the first learning voltage selection module or the second learning voltage selection module is connected to the first learning voltage selection module. The three memristors are connected, the third memristor is connected with the third voltage follower circuit, the third voltage follower circuit is connected with an input end of the voltage processing component, the first learning voltage selection module or the second learning voltage selection module The second output terminal of the learning voltage selection of the module is connected with the other input terminal of the voltage processing component, the output terminal of the voltage processing component is connected with the other input terminal of the fourth voltage summing device, and the fourth voltage summing device The output end of the device is connected with the voltage comparison circuit, and the output end of the voltage comparison circuit is the output end of the first learning module or the second learning module.
所述第一电压选择电路和第二电压选择电路均包括选择开关I、选择开关II和第二非门,第二非门和选择开关II分别与输入控制信号相连接,第二非门与选择开关I相连接,选择开关I和选择开关II的电压输入端分别与不同的电压信号相连接,选择开关I和选择开关II的输出端连接后作为电压选择电路的输出端;选择开关I和选择开关II均为二输入一输出的第一选择开关,第一选择开关的两个输入端分别与输入控制信号和电压输入信号相连接,第一选择开关的输出端根据输入控制信号选择是否输出电压输入信号,第一选择开关的另一端接地。The first voltage selection circuit and the second voltage selection circuit both include a selection switch I, a selection switch II and a second NOT gate, the second NOT gate and the selection switch II are respectively connected with the input control signal, and the second NOT gate is connected to the selection switch. The switch I is connected, the voltage input terminals of the selection switch I and the selection switch II are respectively connected with different voltage signals, and the output terminals of the selection switch I and the selection switch II are connected as the output terminal of the voltage selection circuit; the selection switch I and the selection switch Switch II is a first selection switch with two inputs and one output. The two input terminals of the first selection switch are respectively connected with the input control signal and the voltage input signal. The output terminal of the first selection switch selects whether to output voltage according to the input control signal. Input signal, the other end of the first selection switch is grounded.
所述第一选择电路、第二选择电路、第三选择电路、第四选择电路、第五选择电路、第六选择电路和第七选择电路均包括一输入一输出的第二选择开关,第二选择开关的一个输入端接地、一个输入端与第一电源的正极相连接,第一电源的负极接地,第二选择开关的另一个输入端与输入控制信号相连接,第二选择开关的输出端根据输入控制信号输出相应的电压信号;所述第二选择开关的输出端连接有保护电阻,保护电阻的另一端接地。The first selection circuit, the second selection circuit, the third selection circuit, the fourth selection circuit, the fifth selection circuit, the sixth selection circuit and the seventh selection circuit all include a second selection switch with an input and an output, and the second selection switch One input terminal of the selection switch is grounded, one input terminal is connected to the positive pole of the first power supply, the negative pole of the first power supply is grounded, the other input terminal of the second selection switch is connected to the input control signal, and the output terminal of the second selection switch is connected to the ground. The corresponding voltage signal is output according to the input control signal; the output end of the second selection switch is connected with a protection resistor, and the other end of the protection resistor is grounded.
所述第一电压跟随电路、第二电压跟随电路和第三电压跟随电路均包括第一运算放大器,第一运算放大器的同相输入端接地,第一运算放大器的反相输入端通过第一电阻与第一运算放大器的输出端相连接;所述反相比例放大器包括第二运算放大器,第二运算放大器的同相输入端接地,第二运算放大器的反相输入端分别与第二电阻和第三电阻相连接,第二电阻与输入信号相连接,第三电阻与第二运算放大器的输出端相连接;所述电压比较电路包括第三运算放大器,第三运算放大器的反相输入端与输入信号相连接,第三运算放大器的同相输入端与第二电源的正极相连接,第二电源的负极接地,第三运算放大器的输出端输出第一学习模块或第二学习模块的输出信号。The first voltage follower circuit, the second voltage follower circuit and the third voltage follower circuit all include a first operational amplifier, the non-inverting input terminal of the first operational amplifier is grounded, and the inverting input terminal of the first operational amplifier is connected to the first operational amplifier through a first resistor. The output terminal of the first operational amplifier is connected; the inverting proportional amplifier includes a second operational amplifier, the non-inverting input terminal of the second operational amplifier is grounded, and the inverting input terminal of the second operational amplifier is respectively connected with the second resistor and the third resistor The second resistor is connected to the input signal, and the third resistor is connected to the output terminal of the second operational amplifier; the voltage comparison circuit includes a third operational amplifier, and the inverting input terminal of the third operational amplifier is in phase with the input signal. The non-inverting input terminal of the third operational amplifier is connected to the positive pole of the second power supply, the negative pole of the second power supply is grounded, and the output terminal of the third operational amplifier outputs the output signal of the first learning module or the second learning module.
与现有技术相比,本发明的有益效果:听觉模块与视觉模块两个学习模块。通过学习激励信号来调用听觉模块与视觉模块,听觉模块负责听觉模式的学习,视觉模块负责视觉模式的学习,听觉模式学习与视觉模式学习可进行模式切换,达到双模式切换学习的目的。当进行双模式切换学习时,学习记忆电路会对输入的信号进行处理,学习电压逻辑单元开始响应。学习过程中,不同的学习模式之间会产生学习抑制信号,在学习过程中对另一模式的学习速率进行抑制。本发明引入了双模式学习记忆,解决了现有的学习记忆模式太过于单一的问题,对于忆阻器的生物记忆领域和学习记忆电路的拓展具有十分重要的现实意义。Compared with the prior art, the present invention has the beneficial effects of two learning modules: an auditory module and a visual module. The auditory module and the visual module are called by learning the excitation signal. The auditory module is responsible for the learning of the auditory mode, and the visual module is responsible for the learning of the visual mode. When performing dual-mode switching learning, the learning and memory circuit will process the input signal, and the learning voltage logic unit will start to respond. During the learning process, a learning inhibition signal is generated between different learning modes, and the learning rate of another mode is inhibited during the learning process. The invention introduces dual-mode learning and memory, solves the problem that the existing learning and memory mode is too single, and has very important practical significance for the expansion of the biological memory field of the memristor and the learning and memory circuit.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative efforts.
图1为本发明的电路原理图。FIG. 1 is a circuit schematic diagram of the present invention.
图2为图1中听觉学习电压选择模块的电路图。FIG. 2 is a circuit diagram of the auditory learning voltage selection module in FIG. 1 .
图3为图1中视觉学习电压选择模块的电路图。FIG. 3 is a circuit diagram of the visual learning voltage selection module in FIG. 1 .
图4为图1中听觉学习抑制模块的电路图。FIG. 4 is a circuit diagram of the auditory learning inhibition module in FIG. 1 .
图5为图1中视觉习抑制模块的电路图。FIG. 5 is a circuit diagram of the visual habit suppression module in FIG. 1 .
图6为图1中听觉学习模块的电路图。FIG. 6 is a circuit diagram of the auditory learning module in FIG. 1 .
图7为图1中视觉学习模块的电路图。FIG. 7 is a circuit diagram of the visual learning module in FIG. 1 .
图8为本发明的先听觉后视觉模式仿真电路图。FIG. 8 is a circuit diagram of a simulation circuit of the hearing first and then vision mode of the present invention.
图9为本发明的先视觉后听觉模式仿真电路图。FIG. 9 is a circuit diagram of a simulation circuit of the visual first and then hearing mode of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
一种基于忆阻器的巴甫洛夫联想记忆的双模式切换的学习记忆电路,包括相互学习抑制的第一记忆模块和第二记忆模块,第一记忆模块和第二记忆模块相连接,第一记忆模块与第一激励信号源相连接,第二记忆模块与第二激励信号源相连接;所述第一记忆模块包括第一学习电压选择模块、第一学习模块和第一学习抑制模块,第一激励信号源分别与第一学习电压选择模块、第一学习模块和第一学习抑制模块的输入端相连接,第一学习电压选择模块的输出端分别与第二记忆模块和第一学习模块的输入端相连接,第一学习模块的输出端与第一学习电压选择模块相连接,第一学习抑制模块的输入端与第二记忆模块的输出端相连接,第一学习抑制模块的输出端与第一学习电压选择模块的输入端相连接;所述第二记忆模块包括第二学习电压选择模块、第二学习模块和第二学习抑制模块,第二激励信号源分别与第二学习电压选择模块、第二学习模块和第二学习抑制模块相连接,第二学习模块的输出端与第二学习电压选择模块的输入端相连接,第二学习电压选择模块的输出端分别与第二学习模块、第一学习抑制模块的输入端相连接,第一学习电压选择模块与第二学习抑制模块的输入端相连接,第二学习抑制模块的输出端与第二学习电压选择模块的输入端相连接;所述第一激励信号源和第一学习模块的输出端均与第一或门相连接,第一或门的输出端输出第一学习记忆信号,所述第二激励信号源和第二学习模块的输出端均与第二或门相连接,第二或门的输出端输出第二学习记忆信号。A dual-mode switching learning and memory circuit based on memristor Pavlovian associative memory, comprising a first memory module and a second memory module for mutual learning and inhibition, the first memory module and the second memory module are connected, and the first memory module and the second memory module are connected. A memory module is connected to the first excitation signal source, and the second memory module is connected to the second excitation signal source; the first memory module includes a first learning voltage selection module, a first learning module and a first learning inhibition module, The first excitation signal source is respectively connected with the input terminals of the first learning voltage selection module, the first learning module and the first learning suppression module, and the output terminals of the first learning voltage selection module are respectively connected with the second memory module and the first learning module. The input end of the first learning module is connected with the first learning voltage selection module, the input end of the first learning suppression module is connected with the output end of the second memory module, the output end of the first learning suppression module is connected with is connected with the input end of the first learning voltage selection module; the second memory module includes a second learning voltage selection module, a second learning module and a second learning suppression module, and the second excitation signal source is selected from the second learning voltage The module, the second learning module and the second learning suppression module are connected, the output terminal of the second learning module is connected with the input terminal of the second learning voltage selection module, and the output terminal of the second learning voltage selection module is respectively connected with the second learning module. , the input end of the first learning suppression module is connected, the first learning voltage selection module is connected with the input end of the second learning suppression module, and the output end of the second learning suppression module is connected with the input end of the second learning voltage selection module ; The output end of the first excitation signal source and the first learning module are all connected with the first OR gate, and the output end of the first OR gate outputs the first learning memory signal, the second excitation signal source and the second learning The output ends of the modules are all connected with the second OR gate, and the output end of the second OR gate outputs the second learning and memory signal.
如图1所示,所述第一记忆模块可以是听觉模块,第二记忆模块可以是视觉模块,听觉模块和视觉模块相连接。听觉模块包括听觉学习电压选择模块、听觉学习模块和听觉学习抑制模块,听觉学习电压选择模块、听觉学习模块和听觉学习抑制模块的输入端均与第一激励信号源相连接,听觉学习模块的输入端与听觉学习电压选择模块的输出端相连接,听觉学习抑制模块的输出端相连接,听觉学习电压选择模块的输出端与听觉学习模块的输入端相连接,听觉学习抑制模块的输出端与听觉学习电压选择模块的输入端相连接,听觉学习抑制模块用于抑制听觉学习电压选择模块的工作,视觉模块与听觉学习抑制模块相连接;所述视觉模块包括视觉学习电压选择模块、视觉学习模块和视觉学习抑制模块,视觉学习电压选择模块、视觉学习模块和视觉学习抑制模块的输入端均与第二激励信号源相连接,视觉学习模块的输入端与视觉学习电压选择模块的输出端相连接,听觉学习电压选择模块的输出端与视觉学习抑制模块的输入端相连接,视觉学习抑制模块的输出端与视觉学习电压选择模块相连接,即听觉学习电压选择模块工作时,会把信号发送至视觉学习抑制模块,通过视觉学习抑制模块抑制视觉学习电压选择模块的工作,同理视觉学习电压选择模块工作时,会把信号发送至听觉学习抑制模块,通过听觉学习抑制模块抑制听觉学习电压选择模块的工作,也就是听觉学习和视觉学习两种模式切换工作。听觉学习模块的输出端输出听觉学习完成的信号,视觉学习模块的输出端输出视觉学习完成的信号。As shown in FIG. 1 , the first memory module may be an auditory module, the second memory module may be a visual module, and the auditory module and the visual module are connected. The auditory module includes an auditory learning voltage selection module, an auditory learning module and an auditory learning inhibition module. The input terminals of the auditory learning voltage selection module, the auditory learning module and the auditory learning inhibition module are all connected with the first excitation signal source. The input of the auditory learning module The output terminal of the auditory learning voltage selection module is connected to the output terminal of the auditory learning voltage selection module, the output terminal of the auditory learning suppression module is connected to the output terminal of the auditory learning voltage selection module, and the output terminal of the auditory learning voltage selection module is connected to the input terminal of the auditory learning module. The input end of the learning voltage selection module is connected, the auditory learning inhibition module is used to inhibit the work of the auditory learning voltage selection module, and the visual module is connected with the auditory learning inhibition module; the visual module includes a visual learning voltage selection module, a visual learning module and a visual learning module. The visual learning inhibition module, the input terminals of the visual learning voltage selection module, the visual learning module and the visual learning inhibition module are all connected with the second excitation signal source, and the input terminal of the visual learning module is connected with the output terminal of the visual learning voltage selection module, The output terminal of the auditory learning voltage selection module is connected with the input terminal of the visual learning inhibition module, and the output terminal of the visual learning inhibition module is connected with the visual learning voltage selection module, that is, when the auditory learning voltage selection module works, it will send a signal to the visual The learning inhibition module suppresses the work of the visual learning voltage selection module through the visual learning inhibition module. Similarly, when the visual learning voltage selection module works, it will send a signal to the auditory learning inhibition module, and the auditory learning inhibition module inhibits the auditory learning voltage selection module. Work, that is, switching between two modes of auditory learning and visual learning. The output terminal of the auditory learning module outputs a signal of completion of auditory learning, and the output terminal of the visual learning module outputs a signal of completion of visual learning.
所述第一激励信号源和第二激励信号源分别用于控制听觉学习电压选择模块、视觉学习电压选择模块和听觉学习抑制模块、视觉学习抑制模块。第一激励信号源包括食物信号F1和听觉刺激信号L1,食物信号F1分别与第一学习电压选择模块、第一或门和第一学习抑制模块相连接,听觉刺激信号L1分别与第一学习电压选择模块、第一学习模块和第一学习抑制模块相连接;所述第二激励信号源包括食物信号F2和视觉刺激信号S1,食物信号F2分别与第二学习电压选择模块、第二或门和第二学习抑制模块相连接,视觉刺激信号S1分别与第二学习电压选择模块、第二学习模块和第二学习抑制模块。食物信号F1分别连接听觉学习电压选择模块和听觉学习抑制模块的输入端。听觉刺激信号L1分别连接听觉学习电压选择模块、听觉学习模块和听觉学习抑制模块的输入端。食物信号F2分别连接视觉学习电压选择模块和视觉学习抑制模块的输入端。视觉刺激信号S1分别连接视觉学习电压选择模块、视觉学习模块和视觉学习抑制模块的输入端。The first excitation signal source and the second excitation signal source are respectively used to control the auditory learning voltage selection module, the visual learning voltage selection module, the auditory learning suppression module and the visual learning suppression module. The first excitation signal source includes a food signal F 1 and an auditory stimulation signal L 1 , the food signal F 1 is respectively connected with the first learning voltage selection module, the first OR gate and the first learning inhibition module, and the auditory stimulation signal L 1 is respectively connected with the first learning voltage selection module, the first OR gate and the first learning inhibition module. The first learning voltage selection module, the first learning module and the first learning inhibition module are connected; the second excitation signal source includes the food signal F 2 and the visual stimulation signal S 1 , and the food signal F 2 is selected from the second learning voltage respectively The module, the second OR gate and the second learning inhibition module are connected, and the visual stimulation signal S1 is respectively connected with the second learning voltage selection module, the second learning module and the second learning inhibition module. The food signal F1 is respectively connected to the input terminals of the auditory learning voltage selection module and the auditory learning inhibition module. The auditory stimulation signal L1 is respectively connected to the input terminals of the auditory learning voltage selection module, the auditory learning module and the auditory learning inhibition module. The food signal F2 is connected to the input terminals of the visual learning voltage selection module and the visual learning inhibition module, respectively. The visual stimulation signal S1 is respectively connected to the input terminals of the visual learning voltage selection module, the visual learning module and the visual learning inhibition module.
食物信号F1与听觉刺激信号L1均输出高电平,听觉模式进行,听觉学习电压选择模块与视觉学习抑制模块开始响应。听觉学习电压选择模块开始产生听觉学习电压,视觉学习抑制模块中的视觉学习抑制信号单元开始产生视觉学习抑制信号。食物信号F1与听觉刺激信号L1输出低电平,食物信号F2与视觉刺激信号S1输出高电平,听觉模式停止,视觉模式进行。视觉学习电压选择模块、听觉学习抑制模块开始响应,视觉学习抑制信号开始消退。视觉学习电压和视觉学习抑制电压选择完成后一起输出到视觉学习模块。激励信号不断变化,学习模式不断切换,直到听觉学习模块和视觉学习模块输出高电平。The food signal F1 and the auditory stimulation signal L1 both output a high level, the auditory mode is in progress, and the auditory learning voltage selection module and the visual learning inhibition module start to respond. The auditory learning voltage selection module starts to generate the auditory learning voltage, and the visual learning inhibition signal unit in the visual learning inhibition module starts to generate the visual learning inhibition signal. The food signal F1 and the auditory stimulation signal L1 output a low level, the food signal F2 and the visual stimulation signal S1 output a high level, the auditory mode is stopped, and the visual mode is performed. The visual learning voltage selection module and the auditory learning inhibition module began to respond, and the visual learning inhibition signal began to fade. The visual learning voltage and the visual learning inhibition voltage are output to the visual learning module together after the selection is completed. The excitation signal is constantly changing, and the learning mode is constantly switched, until the auditory learning module and the visual learning module output a high level.
听觉学习或视觉学习的电压选择模块均包括三个输入端和三个输出端,三个输入端分别与第一激励信号源或第二激励信号源的两个激励信号和听觉或视觉学习模块的输出信号相连接,三个输出端相连接其中一个与对应的学习抑制模块相连接即听觉学习电压选择模块的输出端与视觉学习抑制模块的输入端相连接、视觉学习电压选择模块的输出端与听觉学习抑制模块的输入端相连接;电压选择模块的另外两个输出端均与相应的学习模块相连接。单独的抑制模块包括三个输入端和一个输出端,三个输入端分别与第一激励信号源或第二激励信号源的两个激励信号和对应电压选择模块的一个输出端相连接,输出端与相应的电压选择模块相连接。单独的学习模块包括三个输入端和一个输出端,三个输入端分别与听觉刺激信号L1或视觉刺激信号S1及相应的电压选择模块相连接,输出端与相应的电压选择模块相连接。听觉学习电压选择模块的输出端和听觉学习抑制模块的输出端通过电压求和器件连接后接听觉学习模块的电压输入端,视觉学习电压选择模块的输出端与视觉学习抑制模块输出端通过电压求和器件连接后接视觉学习模块的电压输入端。两个学习模块输出端输出学习完成的信号。所述食物信号F1和听觉学习模块的输出端均与第一或门相连接,第一或门的输出端输出第一学习记忆信号,食物信号F2和视觉学习模块的输出端均与第二或门相连接,第二或门的输出端输出第二学习记忆信号。第一学习记忆信号与第二学习记忆信号代表唾液信号。The voltage selection modules of auditory learning or visual learning all include three input terminals and three output terminals, and the three input terminals are respectively connected with the two excitation signals of the first excitation signal source or the second excitation signal source and the two excitation signals of the auditory or visual learning module. The output signals are connected, and the three output terminals are connected, and one of them is connected with the corresponding learning inhibition module, that is, the output terminal of the auditory learning voltage selection module is connected with the input terminal of the visual learning inhibition module, and the output terminal of the visual learning voltage selection module is connected to the input terminal of the visual learning inhibition module. The input terminals of the auditory learning inhibition module are connected; the other two output terminals of the voltage selection module are both connected with the corresponding learning modules. The separate suppression module includes three input terminals and one output terminal, the three input terminals are respectively connected with the two excitation signals of the first excitation signal source or the second excitation signal source and an output terminal of the corresponding voltage selection module, and the output terminal Connect with the corresponding voltage selection module. The separate learning module includes three input terminals and one output terminal, the three input terminals are respectively connected with the auditory stimulation signal L1 or the visual stimulation signal S1 and the corresponding voltage selection module, and the output terminal is connected with the corresponding voltage selection module. . The output terminal of the auditory learning voltage selection module and the output terminal of the auditory learning inhibition module are connected through a voltage summation device and then connected to the voltage input terminal of the auditory learning module. Connect to the device and then connect to the voltage input terminal of the visual learning module. The two learning module output terminals output learning completion signals. The output end of the food signal F 1 and the auditory learning module are all connected with the first OR gate, the output end of the first OR gate outputs the first learning and memory signal, and the output end of the food signal F 2 and the visual learning module are both connected with the first OR gate. The two OR gates are connected, and the output end of the second OR gate outputs a second learning and memory signal. The first learning and memory signal and the second learning and memory signal represent saliva signals.
所述第一学习电压选择模块和第二学习电压选择模块均包括第一与门、第一非门、第一电压绝对值器件、第一电压求和器件、第一忆阻器,食物信号F1或食物信号F2、听觉刺激信号L1或视觉刺激信号S1分别与第一与门的两个输入端相连接,第一与门输出学习电压选择的第一输出端;第一与门与第一电压选择电路相连接,听觉刺激信号L1或视觉刺激信号S1与第一选择电路相连接,第一学习模块或第二学习模块的输出端与第二选择电路相连接,第一选择电路和第二选择电路均与第一电压求和器件相连接,第一电压求和器件与第一忆阻器相连接,第一忆阻器与第一电压跟随电路相连接,第一电压跟随电路的输出端分别与第一电压绝对值器件和第一电压选择电路相连接,第一电压绝对值器件与第一电压选择电路相连接,第一电压选择电路的输出端与第二电压求和器件的一个输入端相连接,第一学习抑制模块或第二学习抑制模块与第二电压求和器件的另一个输入端相连接,第二电压求和器件的输出端输出学习电压选择的第二输出端;听觉刺激信号L1或视觉刺激信号S1通过第一非门与第三选择电路相连接,第三选择电路的输出端输出学习电压选择的第三输出端。The first learning voltage selection module and the second learning voltage selection module each include a first AND gate, a first NOT gate, a first voltage absolute value device, a first voltage summation device, a first memristor, and a food signal F. 1 or the food signal F 2 , the auditory stimulation signal L 1 or the visual stimulation signal S 1 are respectively connected with the two input ends of the first AND gate, the first AND gate outputs the first output end selected by the learning voltage; the first AND gate It is connected with the first voltage selection circuit, the auditory stimulation signal L1 or the visual stimulation signal S1 is connected with the first selection circuit, the output end of the first learning module or the second learning module is connected with the second selection circuit, the first The selection circuit and the second selection circuit are both connected with the first voltage summing device, the first voltage summing device is connected with the first memristor, the first memristor is connected with the first voltage follower circuit, the first voltage The output terminals of the follower circuit are respectively connected with the first voltage absolute value device and the first voltage selection circuit, the first voltage absolute value device is connected with the first voltage selection circuit, and the output terminal of the first voltage selection circuit is connected with the second voltage selection circuit. It is connected with one input end of the device, the first learning suppression module or the second learning suppression module is connected with the other input end of the second voltage summing device, and the output end of the second voltage summing device outputs the first selected by the learning voltage. Two output terminals; the auditory stimulation signal L1 or the visual stimulation signal S1 is connected to the third selection circuit through the first NOT gate, and the output terminal of the third selection circuit outputs the third output terminal selected by the learning voltage.
如图2所示,第一学习电压选择模块即听觉学习电压选择模块包括第一与门A1、第一非门D2、第一电压绝对值器件ABS1、第一电压求和器件SUM1和第一忆阻器M2,食物信号F1和听觉刺激信号L1分别与第一与门A1的两个输入端相连接,第一与门A1的输出端为学习电压选择的第一输出端V(A1);听觉刺激信号L1与第一选择电路相连接,第一选择电路包括一输入一输出的第二选择开关S1,第二选择开关S1控制听觉激励电压的生成,第二选择开关S1的一个输入端接地、一个输入端与第一电源V1的正极相连接,第一电源V1的负极接地,第二选择开关S1的导通信号输入端与输入控制信号即听觉刺激信号L1相连接,第二选择开关S1的输出端根据输入控制信号即听觉刺激信号L1输出相应的电压信号;第二选择开关S1的输出端连接有保护电阻R1,保护电阻R1的另一端接地;第二选择开关S1的输出端与第一电压求和器件SUM1的一个输入端相连接。听觉学习模块的输出端V(N1)与第二选择电路即一输入一输出的第二选择开关S2的导通信号输入端相连接,第二选择开关S2控制听觉学习反馈电压的生成,第二选择开关S2的一个输入端接地、另一个输入端与第一电源V2的正极相连接,第一电源V2的负极接地,第二选择开关S2的输出端与保护电阻R2相连接,保护电阻R2的另一端接地。第二选择开关S2的输出端与第一电压求和器件SUM1的另一个输入端相连接,第一电压求和器件SUM1实现了第二选择开关S1和第二选择开关S2输出信号的累加。本发明电压求和器件SUM1- SUM8采用型号为SUM50N03的电压求和器件。当第一电压求和器件SUM1的输出电压值小于第一忆阻器M2的阈值电压,第一忆阻器M2的电阻值维持在100Ω;当第一电压求和器件SUM1的输出电压值大于第一忆阻器M2的阈值电压,第一忆阻器M2的电阻值快速上升到200Ω。第一电压求和器件SUM1的输出端与第一忆阻器M2的正端相连接,第一忆阻器M2的负端与第一电压跟随器的第一运算放大器OP1的反相输入端相连接,第一运算放大器OP1的同相输入端接地,第一运算放大器OP1的相连接反相输入端通过第一电阻R3与第一运算放大器OP1的输出端相连接,第一运算放大器OP1的输出端分别与第一电压选择电路和第一电压绝对值器件ABS1相连接,第一电压绝对值器件ABS1的输出端与第一电压选择电路的另一输入端相连接。第一电压绝对值器件ABS1的输出电压为正值,即学习电压。第一忆阻器M2为反接。本发明电压绝对值器件ABS1-ABS6采用型号为ABS05的电压绝对值器件,输出电压为输入电压的绝对值。第一电压选择电路包括选择开关IS3、选择开关IIS4和第二非门D1,第二非门D1和选择开关IIS4分别与输入控制信号相连接,输入控制信号为第一输出端V(A1)的输出信号,第二非门D1与选择开关I S3相连接,选择开关I S3和选择开关II S4的电压输入端分别与不同的电压信号相连接,即选择开关I S3导通信号输入端与第二非门D1的输出端相连接,选择开关IIS4的导通信号输入端与第一与门A1的输出端相连接,选择开关I S3的电压输入端与第一运算放大器OP1的输出端相连接,选择开关II S4的电压输入端与第一电压绝对值器件ABS1的输出端相连接,选择开关I S3和选择开关II S4的输出端连接后作为电压选择电路的输出端;第二非门D1控制选择开关I S3和选择开关II S4的导通,第一电压选择电路的作用是实现听觉学习或者遗忘信号的输出。选择开关IS3和选择开关II S4均为二输入一输出的第一选择开关,第一选择开关的两个输入端分别与输入控制信号和电压输入信号相连接,第一选择开关的输出端根据输入控制信号选择是否输出电压输入信号,第一选择开关的另一端接地。选择开关I S3和选择开关II S4的输出端与第二加法电压求和器件SUM2的IN1输入端相连接,第二加法电压求和器件SUM2的IN2输入端连接听觉抑制模块的输出端VSUM2(IN2)相连接、输出端VSUM2(out)与听觉学习模块相连接。听觉刺激信号L1通过第一非门D2与第三选择电路的一输入一输出的第二选择开关S5的导通信号输入端相连接,第二选择开关S5的另两个输入端分别与地和第一电源V3的正极相连接,第一电源V3的负极接地,第二选择开关S5的输出端V(S5)为学习电压选择的第三输出端,输出端V(S5)与听觉学习模块的输入端相连接。As shown in FIG. 2 , the first learning voltage selection module, namely the auditory learning voltage selection module, includes a first AND gate A 1 , a first NOT gate D 2 , a first voltage absolute value device ABS 1 , and a first voltage summation device SUM 1 and the first memristor M 2 , the food signal F 1 and the auditory stimulation signal L 1 are respectively connected with the two input terminals of the first AND gate A 1 , and the output terminal of the first AND gate A 1 is the first one selected by the learning voltage. An output terminal V(A 1 ); the auditory stimulation signal L 1 is connected to the first selection circuit, the first selection circuit includes an input-output second selection switch S 1 , and the second selection switch S 1 controls the auditory excitation voltage. Generated, one input terminal of the second selection switch S1 is grounded, one input terminal is connected to the positive pole of the first power supply V1, the negative pole of the first power supply V1 is grounded, and the conduction signal input terminal of the second selection switch S1 is connected to the The input control signal, that is, the auditory stimulation signal L1, is connected, and the output end of the second selection switch S1 outputs a corresponding voltage signal according to the input control signal, that is, the auditory stimulation signal L1 ; the output end of the second selection switch S1 is connected with a protection resistor. R 1 , the other end of the protection resistor R 1 is grounded; the output end of the second selection switch S 1 is connected to an input end of the first voltage summing device SUM 1 . The output terminal V (N 1 ) of the auditory learning module is connected to the second selection circuit, namely the conduction signal input terminal of the second selection switch S2 with one input and one output, and the second selection switch S2 controls the generation of the auditory learning feedback voltage , one input terminal of the second selection switch S2 is grounded, the other input terminal is connected to the positive pole of the first power supply V2 , the negative pole of the first power supply V2 is grounded, and the output terminal of the second selection switch S2 is connected to the protection resistor R 2 - phase connection, the other end of the protection resistor R2 is grounded. The output terminal of the second selection switch S2 is connected to the other input terminal of the first voltage summation device SUM1, and the first voltage summation device SUM1 realizes the output signal of the second selection switch S1 and the second selection switch S2. accumulate. The voltage summation devices SUM 1 to SUM 8 of the present invention use voltage summation devices with a model of SUM50N03. When the output voltage value of the first voltage summing device SUM1 is less than the threshold voltage of the first memristor M2, the resistance value of the first memristor M2 is maintained at 100Ω; when the output voltage value of the first voltage summing device SUM1 is greater than the first memristor M2 A threshold voltage of the memristor M2, the resistance value of the first memristor M2 rapidly rises to 200Ω. The output terminal of the first voltage summation device SUM1 is connected to the positive terminal of the first memristor M2 , and the negative terminal of the first memristor M2 is connected to the inverse of the first operational amplifier OP1 of the first voltage follower. The phase input terminals are connected to each other, the non-inverting input terminal of the first operational amplifier OP1 is grounded, and the phase-inverting input terminal of the first operational amplifier OP1 is connected to the output terminal of the first operational amplifier OP1 through the first resistor R3 , The output terminals of the first operational amplifier OP 1 are respectively connected with the first voltage selection circuit and the first voltage absolute value device ABS 1 , and the output terminal of the first voltage absolute value device ABS 1 is connected with another input terminal of the first voltage selection circuit connected. The output voltage of the first voltage absolute value device ABS1 is a positive value, that is, a learning voltage. The first memristor M2 is reversely connected. The voltage absolute value devices ABS 1 to ABS 6 of the present invention use voltage absolute value devices whose model is ABS05, and the output voltage is the absolute value of the input voltage. The first voltage selection circuit includes a selection switch IS 3 , a selection switch IIS 4 and a second NOT gate D 1 , the second NOT gate D 1 and the selection switch IIS 4 are respectively connected with an input control signal, and the input control signal is the first output terminal The output signal of V(A 1 ), the second NOT gate D 1 is connected to the selection switch IS 3 , and the voltage input terminals of the selection switch IS 3 and the selection switch II S 4 are respectively connected with different voltage signals, that is, the selection switch IS 3 The turn-on signal input terminal is connected to the output terminal of the second NOT gate D1, the turn-on signal input terminal of the selection switch IIS4 is connected to the output terminal of the first AND gate A1, and the voltage input terminal of the selection switch IS3 It is connected to the output end of the first operational amplifier OP 1 , the voltage input end of the selection switch II S 4 is connected to the output end of the first voltage absolute value device ABS 1 , the output end of the selection switch IS 3 and the selection switch II S 4 After connection, it is used as the output terminal of the voltage selection circuit ; the second NOT gate D1 controls the conduction of the selection switch IS 3 and the selection switch II S4, and the function of the first voltage selection circuit is to realize the output of auditory learning or forgetting signals. The selection switch IS 3 and the selection switch II S 4 are both first selection switches with two inputs and one output. The two input terminals of the first selection switch are respectively connected with the input control signal and the voltage input signal. The output terminal of the first selection switch Whether to output the voltage input signal is selected according to the input control signal, and the other end of the first selection switch is grounded. The output terminals of the selection switch IS 3 and the selection switch II S 4 are connected to the IN 1 input terminal of the second addition voltage summation device SUM 2 , and the IN 2 input terminal of the second addition voltage summation device SUM 2 is connected to the auditory suppression module. The output terminal VSUM 2 (IN 2 ) is connected, and the output terminal VSUM 2 (out) is connected with the auditory learning module. The auditory stimulation signal L1 is connected to the conduction signal input end of the second selection switch S5 of one input and one output of the third selection circuit through the first NOT gate D2, and the other two input ends of the second selection switch S5 It is respectively connected to the ground and the positive pole of the first power supply V3 , the negative pole of the first power supply V3 is grounded, and the output terminal V ( S5 ) of the second selection switch S5 is the third output terminal of the learning voltage selection, and the output terminal V (S 5 ) is connected to the input terminal of the auditory learning module.
如图3所示,视觉学习电压选择模块包括第一与门A5、第一非门D6、第一电压绝对值器件ABS4、第一电压求和器件SUM5、第一忆阻器、第二电压求和器件SUM6及选择开关S12组成的第一选择电路、选择开关S13组成的第二选择电路、选择开关S14和选择开关S15组成的第一电源选择电路压、选择开关S16组成的第三选择电路、第一运算放大器OP6组成的第一电压跟随器,第一与门A5的输入端接食物信号F2与视觉刺激信号S1的输出端,第一与门A5的输出端V(A5)与听觉学习抑制模块的输入端相连接,第一与门A5的输出端分别接第一非门D5的输入端与选择开关S15的导通信号输入端。第一与门A5的输出端接选择开关S14的导通信号输入端。第一非门D6的输入端接视觉刺激信号S1的输出端,第一非门D6的输出端接选择开关S16的导通信号输入端,选择开关S16的另两个输入端分别接地和第一电源V11的正极,第一电源V11的负极接地,即选择开关S16的电压输入端接第一电压源V11,选择开关S16的输出端V(S16)为其第三输出端与视觉学习模块的输入端相连接。电压绝对值器件ABS4的输入端接第一运算放大器OP6的输出端,电压绝对值器件ABS4的输出端接选择开关S15的电压输入端。忆阻器M4的输入端接SUM5的输出端、输出端接第一运算放大器OP6的负极输入,第一运算放大器OP6的负极通过第一电阻R16与第一运算放大器OP6的输出端相连接,实现电压比例变化的作用。第一运算放大器OP6正极输入接地,输出端接电压绝对值器件ABS4的输入端和选择开关S14的电压输入端。选择开关S12导通信号输入端接视觉刺激信号S1的输出端,电压输入端接电压源V9,电压输出端接第一电压求和器件SUM5的IN1输入端。选择开关S13的导通信号输入端接视觉刺激信号S1,选择开关S12的电压输入端接第一电压源V9的正极,选择开关S12的电压输出端接第一电压求和器件SUM5的IN2输入端和保护电阻R14,保护电阻R14的另一端接地。选择开关S13的导通信号输入端接视觉学习模块的输出端V(N2),选择开关S13的电压输入端接第一电压源V10的正极,选择开关S13的电压输出端接第一电压求和器件SUM5的IN2输入端和保护电阻R15,保护电阻R15的另一端接地。选择开关S14的导通信号输入端接第一非门D5的输出端、电压输入端接第一运算放大器OP6的输出端、电压输出端接第二电压求和器件SUM6的IN1输入端。选择开关S15导通信号输入端接第一与门A5的输出端、电压输入端接电压绝对值器件ABS4的输出端,电压输出端接第二电压求和器件SUM6的IN1输入端。第二电压求和器件SUM6的IN2输入端与视觉抑制模块的输出端相连接。As shown in FIG. 3 , the visual learning voltage selection module includes a first AND gate A 5 , a first NOT gate D 6 , a first voltage absolute value device ABS 4 , a first voltage summation device SUM 5 , a first memristor, The first selection circuit composed of the second voltage summation device SUM 6 and the selection switch S12 , the second selection circuit composed of the selection switch S13 , the first power selection circuit composed of the selection switch S14 and the selection switch S15 voltage, selection The third selection circuit composed of the switch S16 , the first voltage follower composed of the first operational amplifier OP6 , the input end of the first AND gate A5 is connected to the output end of the food signal F2 and the visual stimulation signal S1, the first The output end V (A 5 ) of the AND gate A 5 is connected with the input end of the auditory learning inhibition module, and the output end of the first AND gate A 5 is respectively connected with the input end of the first NOT gate D 5 and the lead of the selection switch S 15 . signal input terminal. The output terminal of the first AND gate A5 is connected to the turn-on signal input terminal of the selection switch S14 . The input end of the first NOT gate D6 is connected to the output end of the visual stimulus signal S1, the output end of the first NOT gate D6 is connected to the conduction signal input end of the selection switch S16 , and the other two input ends of the selection switch S16 Ground and the positive pole of the first power supply V 11 respectively, and the negative pole of the first power supply V 11 is grounded, that is, the voltage input terminal of the selection switch S 16 is connected to the first voltage source V 11 , and the output terminal V (S 16 ) of the selection switch S 16 is The third output terminal is connected with the input terminal of the visual learning module. The input terminal of the voltage absolute value device ABS4 is connected to the output terminal of the first operational amplifier OP6 , and the output terminal of the voltage absolute value device ABS4 is connected to the voltage input terminal of the selection switch S15 . The input terminal of the memristor M4 is connected to the output terminal of the SUM 5 , and the output terminal is connected to the negative input of the first operational amplifier OP6 , and the negative terminal of the first operational amplifier OP6 is connected with the first operational amplifier OP6 through the first resistor R16 . The output terminals are connected to realize the effect of voltage proportional change. The positive input of the first operational amplifier OP6 is grounded, and the output terminal is connected to the input terminal of the voltage absolute value device ABS4 and the voltage input terminal of the selection switch S14 . The selection switch S12 turns on the signal input end connected to the output end of the visual stimulation signal S1, the voltage input end connected to the voltage source V9, and the voltage output end connected to the IN1 input end of the first voltage summation device SUM5 . The turn-on signal input terminal of the selection switch S13 is connected to the visual stimulation signal S1, the voltage input terminal of the selection switch S12 is connected to the positive pole of the first voltage source V9 , and the voltage output terminal of the selection switch S12 is connected to the first voltage summing device The IN 2 input terminal of SUM 5 is connected to the protection resistor R 14 , and the other terminal of the protection resistor R 14 is grounded. The on-signal input terminal of the selection switch S13 is connected to the output terminal V(N 2 ) of the visual learning module, the voltage input terminal of the selection switch S13 is connected to the positive pole of the first voltage source V10 , and the voltage output terminal of the selection switch S13 is connected to The IN 2 input terminal of the first voltage summing device SUM 5 is connected to the protection resistor R 15 , and the other terminal of the protection resistor R 15 is grounded. The turn- on signal input end of the selection switch S14 is connected to the output end of the first NOT gate D5, the voltage input end is connected to the output end of the first operational amplifier OP6 , and the voltage output end is connected to the IN1 of the second voltage summing device SUM6 input. The selection switch S15 turns on the signal input terminal and is connected to the output terminal of the first AND gate A5, the voltage input terminal is connected to the output terminal of the voltage absolute value device ABS4 , and the voltage output terminal is connected to the IN 1 input of the second voltage summation device SUM6 end. The IN 2 input of the second voltage summing device SUM 6 is connected to the output of the visual suppression module.
所述第一学习抑制模块和第二学习抑制模块均包括抑制信号单元和抑制电压选择单元,抑制信号单元和抑制电压选择单元相连接。所述抑制信号单元包括第四选择电路、第五选择电路、第六选择电路、第三电压求和器件、第二忆阻器、第二电压跟随电路和第二电压绝对值器件,所述第二学习电压选择模块或第一学习电压选择模块的学习电压选择的第一输出端与第四选择电路相连接,听觉刺激信号L1或视觉刺激信号S1与第五选择电路相连接,第四选择电路和第五选择电路的输出端均与第三电压求和器件相连接,第三电压求和器件与第二忆阻器相连接,第二忆阻器与第二电压跟随电路相连接,第二电压跟随电路通过第二电压绝对值器件与第六选择电路的输入端相连接,第六选择电路的输出端与抑制电压选择单元的第二与门的一个输入端相连接;所述抑制电压选择单元包括第七选择电路、反相比例放大器、第三电压绝对值器件,听觉刺激信号L1或视觉刺激信号S1分别与第二与门的另一输入端和第三与门的一个输入端相连接,食物信号F1或食物信号F2与第三与门的另一个输入端相连接;第二与门的输出端与第七选择电路相连接,第七选择电路与反相比例放大器相连接,反相比例放大器的输出端分别与第三电压绝对值器件、第二电压选择电路的输入端相连接,第三电压绝对值器件的输出端与第二电压选择电路相连接;所述第二与门和第三与门输出端均与第四与门相连接,第四与门与第二电压选择电路相连接,第二电压选择电路的输出端与第一学习电压选择模块或第二学习电压选择模块的第二电压求和器件的输入端相连接。The first learning suppression module and the second learning suppression module both include a suppression signal unit and a suppression voltage selection unit, and the suppression signal unit and the suppression voltage selection unit are connected. The suppression signal unit includes a fourth selection circuit, a fifth selection circuit, a sixth selection circuit, a third voltage summing device, a second memristor, a second voltage follower circuit, and a second voltage absolute value device. The second learning voltage selection module or the first output terminal of the learning voltage selection of the first learning voltage selection module is connected to the fourth selection circuit, the auditory stimulation signal L1 or the visual stimulation signal S1 is connected to the fifth selection circuit, and the fourth selection circuit The output terminals of the selection circuit and the fifth selection circuit are both connected with the third voltage summing device, the third voltage summing device is connected with the second memristor, and the second memristor is connected with the second voltage follower circuit, The second voltage follower circuit is connected to the input end of the sixth selection circuit through the second voltage absolute value device, and the output end of the sixth selection circuit is connected to an input end of the second AND gate of the suppression voltage selection unit; the suppression The voltage selection unit includes a seventh selection circuit, an inverse proportional amplifier, a third voltage absolute value device, and the auditory stimulation signal L1 or the visual stimulation signal S1 is respectively connected with the other input end of the second AND gate and one of the third AND gates The input terminal is connected, the food signal F1 or the food signal F2 is connected with the other input terminal of the third AND gate ; the output terminal of the second AND gate is connected with the seventh selection circuit, and the seventh selection circuit is proportional to the inverse phase. The amplifier is connected with the amplifier, the output end of the inverse proportional amplifier is respectively connected with the third voltage absolute value device and the input end of the second voltage selection circuit, and the output end of the third voltage absolute value device is connected with the second voltage selection circuit; The output terminals of the second AND gate and the third AND gate are both connected to the fourth AND gate, the fourth AND gate is connected to the second voltage selection circuit, and the output terminal of the second voltage selection circuit is connected to the first learning voltage selection module or The input terminal of the second voltage summing device of the second learning voltage selection module is connected.
如图4所示,听觉学习抑制模块包括听觉学习抑制信号单元与听觉学习抑制电压选择单元,听觉学习抑制信号单元包括第三电压求和器件SUM4、第二忆阻器M3、第一运算放大器OP4和第一电阻R9构成的第二电压跟随电路和第二电压绝对值器件ABS2,选择开关S6组成的第四选择电路、选择开关S7组成的第五选择电路、选择开关S8组成的第六选择电路。视觉学习电压选择模块的输出端V(A5)与选择开关S6的导通信号输入端相连接,选择开关S6的电压输入端与第一电压源V4的正极相连接,第一电压源V4的负极接地,选择开关S6的电压输出端分别与第三电压求和器件SUM4的IN1输入端和保护电阻R7相连接,保护电阻R7的另一端接地。听觉刺激信号L1与选择开关S7的导通信号输入端相连接,选择开关S7的电压输入端与第一电压源V5的正极相连接,第一电压源V5的负极接地,选择开关S7的电压输出端分别与第三电压求和器件SUM4的IN2输入端和保护电阻R8相连接,保护电阻R8的另一端接地。第二忆阻器M3的阻值在正电压下作用下不断降低,正电压越小阻值下降速度越快;在负电压下作用下不断上升,负电压越小阻值上升速度越慢。第二忆阻器M3的负端接第三电压求和器件SUM4的输出端,第二忆阻器M3的正端接第一运算放大器OP4的负相输入端,第一运算放大器OP4的正极输入端接地,第一运算放大器OP4的负相输入端通过和第一电阻R9与其输出端相连接,第一运算放大器OP4的输出端接第二电压绝对值器件ABS2的输入端,第二电压绝对值器件ABS2的输出端接选择开关S8的导通信号输入端。选择开关S8的导通信号输入端接第二电压绝对值器件ABS2的输出端,选择开关S8的电压输入端接电压源V6的正极、电压输出端接的听觉学习抑制电压选择单元第二与门的输入端。电压源V6的负极,选择开关S8的电压输出端与保护电阻R10相连接,选择开关S8的另一个输入端、电压源V6的负极和保护电阻R10接地。As shown in FIG. 4 , the auditory learning inhibition module includes an auditory learning inhibition signal unit and an auditory learning inhibition voltage selection unit, and the auditory learning inhibition signal unit includes a third voltage summation device SUM 4 , a second memristor M 3 , a first arithmetic operation A second voltage follower circuit composed of an amplifier OP 4 and a first resistor R 9 , a second voltage absolute value device ABS 2 , a fourth selection circuit composed of a selection switch S 6 , a fifth selection circuit composed of a selection switch S 7 , and a selection switch The sixth selection circuit composed of S8 . The output terminal V (A 5 ) of the visual learning voltage selection module is connected with the turn-on signal input terminal of the selection switch S 6 , the voltage input terminal of the selection switch S 6 is connected with the positive pole of the first voltage source V 4 , and the first voltage The negative pole of the source V4 is grounded, and the voltage output terminal of the selection switch S6 is respectively connected to the IN1 input terminal of the third voltage summing device SUM4 and the protection resistor R7 , and the other terminal of the protection resistor R7 is grounded. The auditory stimulation signal L1 is connected to the conduction signal input end of the selection switch S7 , the voltage input end of the selection switch S7 is connected to the positive electrode of the first voltage source V5 , the negative electrode of the first voltage source V5 is grounded, and the selection The voltage output terminal of the switch S7 is respectively connected to the IN2 input terminal of the third voltage summing device SUM4 and the protection resistor R8 , and the other terminal of the protection resistor R8 is grounded. The resistance value of the second memristor M3 decreases continuously under the action of positive voltage, the smaller the positive voltage is, the faster the resistance value decreases; under the action of negative voltage, the resistance value increases continuously, the smaller the negative voltage is, the slower the resistance value increases speed. The negative terminal of the second memristor M3 is connected to the output terminal of the third voltage summing device SUM 4 , and the positive terminal of the second memristor M3 is connected to the negative phase input terminal of the first operational amplifier OP4 , and the first operational amplifier OP The positive input terminal of OP 4 is grounded, the negative input terminal of the first operational amplifier OP 4 is connected to its output terminal through the first resistor R 9 , and the output terminal of the first operational amplifier OP 4 is connected to the second voltage absolute value device ABS 2 . The input terminal, the output terminal of the second voltage absolute value device ABS2 is connected to the turn-on signal input terminal of the selection switch S8 . The on-signal input terminal of the selection switch S8 is connected to the output terminal of the second voltage absolute value device ABS2, the voltage input terminal of the selection switch S8 is connected to the positive pole of the voltage source V6 , and the voltage output terminal is connected to the auditory learning suppression voltage selection unit The input of the second AND gate. The negative terminal of the voltage source V6 , the voltage output terminal of the selection switch S8 is connected to the protection resistor R10, the other input terminal of the selection switch S8 , the negative terminal of the voltage source V6 and the protection resistor R10 are grounded.
听觉学习抑制电压选择单元包括第二与门A2、第三与门A3、第四与门A4、选择开关S9组成的第七选择电路、第三电压绝对值器件ABS3、第一运算放大器OP5组成的反相比例放大器及第一非门D4、选择开关S10和选择开关S11组成的第二电压选择电路。第二与门A2的输入端分别同听觉刺激信号L1、选择开关S8的电压输出端相连接,第二与门A2的输出端同选择开关S9的导通信号输入端、第四与门A4的输入端相连接。第三与门A3的输入端分别同食物信号F1、听觉刺激信号L1相连接,第三与门A3的输出端与第四与门A4的输入端相连接,即第四与门A4的输入端分别同第二与门A2的输出端、第三与门A3的输出端相连接,第四与门A4的输出端与第一非门D4的输入端、选择开关S11的导通信号输入端相连接。第一非门D4的输出端与选择开关S10的导通信号输入端相连接。选择开关S9的导通信号输入端与第二与门A2的输出端相连接,选择开关S9的电压输入端接第一电压源V7,选择开关S9的电压输出端与保护电阻R11相连接,选择开关S9的另一个输入端、第一电压源V7的负极、保护电阻R11的另一端接地,选择开关S9的电压输出端与反相比例放大器相连接。反相比例放大器包括第二运算放大器OP5,第二运算放大器OP5的反相输入端分别与第二电阻R12、第三电阻R13相连接,第二电阻R12与选择开关S9的电压输出端相连接,第三电阻R13与第二运算放大器OP5的输出端相连接,第二运算放大器OP5的输出端分别与第三电压绝对值器件ABS3的输入端、选择开关S10的电压输入端相连接,选择开关S10的电压输出端接SUM2的IN2输入端。选择开关S11的导通信号输入端接第一非门D4的输出端、电压输入端接第三电压绝对值器件ABS3的输出端,电压输出端接第二电压求和器件SUM2的IN2输入端,选择开关S10和选择开关S11的另一输入端接地。The auditory learning inhibition voltage selection unit includes a second AND gate A 2 , a third AND gate A 3 , a fourth AND gate A 4 , a seventh selection circuit composed of a selection switch S 9 , a third voltage absolute value device ABS 3 , a first An inverse proportional amplifier composed of an operational amplifier OP 5 and a second voltage selection circuit composed of a first NOT gate D 4 , a selection switch S 10 and a selection switch S 11 . The input end of the second AND gate A2 is respectively connected with the auditory stimulation signal L1 and the voltage output end of the selection switch S8 , and the output end of the second AND gate A2 is connected with the conduction signal input end of the selection switch S9 , the first Four AND gate A4 is connected to the input. The input end of the third AND gate A3 is connected with the food signal F1 and the auditory stimulation signal L1 respectively, and the output end of the third AND gate A3 is connected with the input end of the fourth AND gate A4, that is, the fourth AND gate is connected with the input end of the fourth AND gate A4. The input end of the gate A4 is respectively connected with the output end of the second AND gate A2, the output end of the third AND gate A3, the output end of the fourth AND gate A4 is connected with the input end of the first NOT gate D4 , The ON signal input terminal of the selection switch S11 is connected. The output end of the first NOT gate D4 is connected to the turn-on signal input end of the selection switch S10 . The turn-on signal input terminal of the selection switch S9 is connected to the output terminal of the second AND gate A2, the voltage input terminal of the selection switch S9 is connected to the first voltage source V7 , and the voltage output terminal of the selection switch S9 is connected to the protection resistor R11 is connected, the other input terminal of the selection switch S9 , the negative terminal of the first voltage source V7 , and the other terminal of the protection resistor R11 are grounded, and the voltage output terminal of the selection switch S9 is connected to the inverting proportional amplifier. The inverting proportional amplifier includes a second operational amplifier OP 5 , and the inverting input terminal of the second operational amplifier OP 5 is respectively connected with the second resistor R 12 and the third resistor R 13 , and the second resistor R 12 is connected with the selection switch S 9 . The voltage output terminal is connected, the third resistor R13 is connected with the output terminal of the second operational amplifier OP5, and the output terminal of the second operational amplifier OP5 is respectively connected with the input terminal of the third voltage absolute value device ABS3 , the selection switch S The voltage input terminal of 10 is connected to each other, and the voltage output terminal of the selection switch S10 is connected to the IN 2 input terminal of SUM 2 . The turn-on signal input terminal of the selection switch S11 is connected to the output terminal of the first NOT gate D4, the voltage input terminal is connected to the output terminal of the third voltage absolute value device ABS3 , and the voltage output terminal is connected to the output terminal of the second voltage summation device SUM2. IN 2 input terminal, the other input terminals of the selection switch S10 and the selection switch S11 are grounded.
如图5所示,视觉学习抑制模块包括视觉学习抑制信号单元与视觉学习抑制电压选择单元,视觉学习抑制信号单元包括第三电压求和器件SUM8、第二忆阻器M6、第一运算放大器OP9构成的第二电压跟随电路、第二电压绝对值器件ABS5,三个选择开关S17、S18、S19分别组成的第四选择电路、第五选择电路和第六选择电路。第二忆阻器M6的正端接第三电压求和器件SUM8的输出端,负端接第一运算放大器OP9的反相输入端。第一运算放大器OP9的正相输入端接地,第一运算放大器OP9的反相输入端通过电阻R22与第一运算放大器OP9的输出端相连接,第一运算放大器OP9的输出端接第二电压绝对值器件ABS5的输入端,第二电压绝对值器件ABS5的输出端接选择开关S19的导通信号输入端。选择开关S17的导通信号输入端接视觉学习电压选择模块的第一与门A5的输出端V(A5)、电压输入端接电压源V12,电压输出端分别接保护电阻R20和第三电压求和器件SUM8的IN1输入端,保护电阻R20、电压源V12的负极、选择开关S17的另一输入端均接地。选择开关S18的导通信号输入端接视觉刺激信号S1、电压输入端接电压源V13、电压输出端分别接保护电阻R21和SUM8的IN2输入端,保护电阻R21、电压源V13的负极、选择开关S18的另一输入端均接地。选择开关S19的电压输入端接电压源V14、电压输出端接视觉学习抑制电压选择单元的第六与门的输入端,选择开关S19的电压输出端接保护电阻R23,保护电阻R23、电压源V14的负极接地。As shown in FIG. 5 , the visual learning inhibition module includes a visual learning inhibition signal unit and a visual learning inhibition voltage selection unit, and the visual learning inhibition signal unit includes a third voltage summation device SUM 8 , a second memristor M 6 , a first operation The second voltage follower circuit formed by the amplifier OP9, the second voltage absolute value device ABS5 , and the three selection switches S17 , S18 , S19 respectively comprise the fourth selection circuit, the fifth selection circuit and the sixth selection circuit. The positive terminal of the second memristor M6 is connected to the output terminal of the third voltage summing device SUM8, and the negative terminal is connected to the inverting input terminal of the first operational amplifier OP9. The non-inverting input terminal of the first operational amplifier OP 9 is grounded, the inverting input terminal of the first operational amplifier OP 9 is connected to the output terminal of the first operational amplifier OP 9 through the resistor R 22 , and the output terminal of the first operational amplifier OP 9 is connected to the ground. It is connected to the input end of the second voltage absolute value device ABS5 , and the output end of the second voltage absolute value device ABS5 is connected to the turn-on signal input end of the selection switch S19 . The turn-on signal input terminal of the selection switch S17 is connected to the output terminal V(A5 ) of the first AND gate A5 of the visual learning voltage selection module, the voltage input terminal is connected to the voltage source V12 , and the voltage output terminal is respectively connected to the protection resistor R20 The IN 1 input terminal of the third voltage summing device SUM 8 , the protection resistor R 20 , the negative terminal of the voltage source V 12 and the other input terminal of the selection switch S 17 are all grounded. The turn-on signal input terminal of the selection switch S18 is connected to the visual stimulation signal S1, the voltage input terminal is connected to the voltage source V13 , and the voltage output terminal is connected to the protection resistor R21 and the IN2 input terminal of the SUM8 respectively . The protection resistor R21 , the voltage The negative terminal of source V 13 and the other input terminal of select switch S 18 are both grounded. The voltage input terminal of the selection switch S19 is connected to the voltage source V14 , the voltage output terminal is connected to the input terminal of the sixth AND gate of the visual learning suppression voltage selection unit, the voltage output terminal of the selection switch S19 is connected to the protection resistor R23 , and the protection resistor R 23. The negative electrode of the voltage source V14 is grounded.
视觉学习抑制电压选择单元包括第二与门A6、第三与门A7、第四与门A8、第三电压绝对值器件ABS6、第二放大器OP10组成的反相比例放大器、选择开关S20组成的第七选择电路、第一非门D8、选择开关S21、选择开关S22组成的第二电压选择电路。第二与门A6输入端分别同视觉刺激信号S1、选择开关S19的电压输出端相连接,第二与门A6输出端同选择开关S20的导通信号输入端、第四与门的A8输入端相连接。第三与门A7的输入端分别同食物信号F2、视觉刺激信号S1相连接,第三与门A7的输出端与第四与门A8输入端相连接。第四与门A8的输入端分别同第二与门A6的输出端、第三与门A7的输出端相连接,第四与门A8的输出端与第一非门D8输入端、选择开关S22的导通信号输入端相连接。第一非门D8输入端与第四与门A8的输出相连接、输出端与选择开关S21的导通信号输入端相连接。选择开关S20的导通信号输入端接第二与门A6的输出端、电压输入端接电压源V15、电压输出端与反相比例放大器相连接,反相比例放大器包括第二运算放大器OP10,第二运算放大器OP10的同相输入端接地,第二运算放大器OP10的反相输入端分别与第二电阻R25和第三电阻R26相连接,第二电阻R25与选择开关S20的电压输出端相连接,第三电阻R26与第二运算放大器OP10的输出端相连接。选择开关S21的导通信号输入端接第一非门D8的输出端、电压输入端接第二运算放大器OP10的输出端、电压输出端接第二电压求和器件SUM6的IN2输入端。选择开关S22的导通信号输入端接第四与门A8输出端、电压输入端接第三电压绝对值器件ABS6的输出端,电压输出端接第二电压求和器件SUM6的IN2输入端。The visual learning inhibition voltage selection unit includes an inverse proportional amplifier composed of a second AND gate A 6 , a third AND gate A 7 , a fourth AND gate A 8 , a third voltage absolute value device ABS 6 , and a second amplifier OP 10 . A seventh selection circuit composed of a switch S20 , a first NOT gate D8 , a selection switch S21, and a second voltage selection circuit composed of a selection switch S22 . The input end of the second AND gate A6 is respectively connected with the visual stimulation signal S1 and the voltage output end of the selection switch S19 , the output end of the second AND gate A6 is connected with the turn - on signal input end of the selection switch S20, the fourth AND gate The A8 input of the gate is connected. The input terminal of the third AND gate A7 is respectively connected with the food signal F2 and the visual stimulation signal S1, and the output terminal of the third AND gate A7 is connected with the input terminal of the fourth AND gate A8 . The input end of the fourth AND gate A8 is respectively connected with the output end of the second AND gate A6 and the output end of the third AND gate A7 , and the output end of the fourth AND gate A8 is input to the first NOT gate D8 terminal and the turn-on signal input terminal of the selection switch S22 are connected. The input end of the first NOT gate D8 is connected to the output of the fourth AND gate A8 , and the output end is connected to the turn-on signal input end of the selection switch S21. The turn- on signal input end of the selection switch S20 is connected to the output end of the second AND gate A6, the voltage input end is connected to the voltage source V15 , and the voltage output end is connected to an inverse proportional amplifier, which includes a second operational amplifier OP 10 , the non-inverting input terminal of the second operational amplifier OP 10 is grounded, the inverting input terminal of the second operational amplifier OP 10 is respectively connected to the second resistor R 25 and the third resistor R 26 , and the second resistor R 25 is connected to the selection switch The voltage output terminal of S20 is connected, and the third resistor R26 is connected to the output terminal of the second operational amplifier OP10 . The turn-on signal input terminal of the selection switch S21 is connected to the output terminal of the first NOT gate D8 , the voltage input terminal is connected to the output terminal of the second operational amplifier OP10 , and the voltage output terminal is connected to the IN2 of the second voltage summing device SUM6 input. The turn-on signal input end of the selection switch S22 is connected to the output end of the fourth AND gate A8 , the voltage input end is connected to the output end of the third voltage absolute value device ABS6 , and the voltage output end is connected to the IN of the second voltage summing device SUM6 2 inputs.
所述第一学习模块和第二学习模块均包括第三非门、电压处理元器件、第三忆阻器、第三电压跟随电路、第四电压求和器件和电压比较电路,听觉刺激信号L1或视觉刺激信号S1通过第三非门与第四电压求和器件的一个输入端相连接,第一学习电压选择模块或第二学习电压选择模块的学习电压选择的第三输出端与第三忆阻器相连接,第三忆阻器与第三电压跟随电路相连接,第三电压跟随电路与电压处理元器件的一个输入端相连接,第一学习电压选择模块或第二学习电压选择模块的学习电压选择的第二输出端与电压处理元器件的另一个输入端相连接,电压处理元器件的输出端与第四电压求和器件的另一个输入端相连接,第四电压求和器件的输出端与电压比较电路相连接,电压比较电路输出端为第一学习模块或第二学习模块的输出端。The first learning module and the second learning module both include a third NOT gate, a voltage processing component, a third memristor, a third voltage follower circuit, a fourth voltage summing device and a voltage comparison circuit, and the auditory stimulation signal L 1 or the visual stimulation signal S1 is connected to one input end of the fourth voltage summing device through the third NOT gate, and the third output end of the learning voltage selection of the first learning voltage selection module or the second learning voltage selection module is connected to the first learning voltage selection module. The three memristors are connected, the third memristor is connected with the third voltage follower circuit, the third voltage follower circuit is connected with an input end of the voltage processing component, the first learning voltage selection module or the second learning voltage selection module The second output terminal of the learning voltage selection of the module is connected with the other input terminal of the voltage processing component, the output terminal of the voltage processing component is connected with the other input terminal of the fourth voltage summing device, and the fourth voltage summing device The output end of the device is connected with the voltage comparison circuit, and the output end of the voltage comparison circuit is the output end of the first learning module or the second learning module.
如图6所示,听觉学习模块包括第三非门D3、电压处理元器件ABM1、第四电压求和器件SUM3、第三忆阻器M1、第一运算放大器OP2组成的第三电压跟随电路、第三运算放大器OP3组成电压比较电路。第三非门D3输入端与听觉刺激信号L1的输出端相连接、输出端与第四电压求和器件SUM3的IN2输入端相连接。第三忆阻器M3的正端同听觉学习电压选择模块的第二电压求和器件SUM2的输出端相连接,第三忆阻器M3的输出端的负端接第一运算放大器OP2的负相输入端,第一运算放大器OP2的同相输入端接地,第一运算放大器OP2的负相输入端通过第一电阻R5与第一运算放大器OP2的输出端相连接,第一运算放大器OP2的输出端与电压处理元器件ABM1的IN1输入端相连接。电压处理元器件ABM1的IN1输入端接第一运算放大器OP2输出端、IN2输入端同第二电压求和器件SUM2的输出端相连接,电压处理元器件ABM1的输出端与第四电压求和器件SUM3的IN1输入端相连接。放大器OP3的负极输入端接,正极输入端接电压源V12,输出端接S2的导通信号输入端。电压处理元器件ABM1的输出电压等于IN2输入端电压除以IN1输入端电压的绝对值,即M1/R5。当第一忆阻器M1的阻值降低时,电压处理元器件ABM1的输出电压随之降低。电压处理元器件ABM1的输出电压降低到阈值时,第三运算放大器OP3的正极电压大于负极电压,输出信号。As shown in FIG. 6 , the auditory learning module includes a third NOT gate D 3 , a voltage processing component ABM 1 , a fourth voltage summing device SUM 3 , a third memristor M 1 , and a first operational amplifier OP 2 . The three voltage follower circuits and the third operational amplifier OP 3 form a voltage comparison circuit. The input terminal of the third NOT gate D3 is connected to the output terminal of the auditory stimulation signal L1, and the output terminal is connected to the IN2 input terminal of the fourth voltage summing device SUM3 . The positive terminal of the third memristor M3 is connected to the output terminal of the second voltage summing device SUM2 of the auditory learning voltage selection module, and the negative terminal of the output terminal of the third memristor M3 is connected to the first operational amplifier OP2 The negative phase input terminal of the first operational amplifier OP 2 is grounded, the negative phase input terminal of the first operational amplifier OP 2 is connected to the output terminal of the first operational amplifier OP 2 through the first resistor R 5 , the first The output terminal of the operational amplifier OP 2 is connected to the IN 1 input terminal of the voltage processing element ABM 1 . The IN 1 input terminal of the voltage processing component ABM 1 is connected to the output terminal of the first operational amplifier OP 2 , the IN 2 input terminal is connected to the output terminal of the second voltage summation device SUM 2 , and the output terminal of the voltage processing component ABM 1 is connected to the output terminal of the second voltage
电压比较电路包括第三运算放大器OP3,第三运算放大器OP3的反相输入端与输入信号即第四电压求和器件SUM3的输出端相连接,第三运算放大器OP3的同相输入端与第二电源V8的正极相连接,第二电源V8的负极接地,第三运算放大器OP3的输出端为输出端V(N1),听觉学习模块的输出信号,。The voltage comparison circuit includes a third operational amplifier OP 3 , the inverting input terminal of the third operational amplifier OP 3 is connected with the input signal, that is, the output terminal of the fourth voltage summing device SUM 3 , and the non-inverting input terminal of the third operational amplifier OP 3 It is connected to the positive pole of the second power supply V8 , the negative pole of the second power supply V8 is grounded, the output terminal of the third operational amplifier OP3 is the output terminal V(N1 ) , the output signal of the auditory learning module.
如图7所示,视觉学习模块包括第三非门D7、电压处理元器件ABM2、第四电压求和器件SUM7、第三忆阻器M4和第一运算放大器OP7组成的第三电压跟随电路,第三运算放大器OP8组成的电压比较电路。第三非门D7输入端与视觉刺激信号S1相连接、输出端与第四电压求和器件SUM7的IN2输入端相连接。第三忆阻器M4的正端同第二电压求和器件SUM6的输出端、选择开关S16的电压输出端相连接,第三忆阻器M4的负端接第一运算放大器OP7的反相输入端,第一运算放大器OP7的同相输入端接地,第一运算放大器OP7的反相输入端通过电阻R18与第一运算放大器OP7的输出端相连接,第一运算放大器OP7的输出端与电压处理元器件ABM2的IN1输入端相连接。电压处理元器件ABM2的IN1输入端接第一运算放大器OP7的输出端,压处理元器件ABM2的IN2输入端接同第二电压求和器件SUM6的输出端、选择开关S16的电压输出端相连接,电压处理元器件ABM2的输出端与第四电压求和器件SUM7的IN1输入端相连接相连接。第三运算放大器OP8的反相输入端接第四电压求和器件SUM7的输出端,第三运算放大器OP8的同相输入端接电压源V16,第三运算放大器OP8的输出端接选择S13的导通信号输入端。As shown in FIG. 7 , the visual learning module includes a third NOT gate D 7 , a voltage processing component ABM 2 , a fourth voltage summing device SUM 7 , a third memristor M 4 and a first operational amplifier OP 7 . Three voltage follower circuits and a voltage comparison circuit composed of a third operational amplifier OP 8 . The input terminal of the third NOT gate D 7 is connected to the visual stimulation signal S 1 , and the output terminal is connected to the IN 2 input terminal of the fourth voltage summing device SUM 7 . The positive terminal of the third memristor M4 is connected to the output terminal of the second voltage summing device SUM6 and the voltage output terminal of the selection switch S16 , and the negative terminal of the third memristor M4 is connected to the first operational amplifier OP The inverting input terminal of 7 , the non-inverting input terminal of the first operational amplifier OP 7 is grounded, the inverting input terminal of the first operational amplifier OP 7 is connected to the output terminal of the first operational amplifier OP 7 through the resistor R 18 , and the first operational amplifier OP 7 The output of the amplifier OP 7 is connected to the IN 1 input of the voltage processing element ABM 2 . The IN 1 input terminal of the voltage processing component ABM 2 is connected to the output terminal of the first operational amplifier OP 7 , and the IN 2 input terminal of the voltage processing component ABM 2 is connected to the output terminal and the selection switch S of the second voltage summing device SUM 6 The voltage output terminal 16 is connected to each other, and the output terminal of the voltage processing component ABM 2 is connected to the IN 1 input terminal of the fourth voltage summing device SUM 7 . The inverting input terminal of the third operational amplifier OP 8 is connected to the output terminal of the fourth voltage summing device SUM 7 , the non-inverting input terminal of the third operational amplifier OP 8 is connected to the voltage source V 16 , and the output terminal of the third operational amplifier OP 8 is connected to Select the turn-on signal input of S13 .
本发明包括两个学习模块,听觉模块与视觉模块,分别代表听觉学习模式与视觉学习模式。听觉模块包括听觉学习电压选择模块、听觉学习模块和视觉学习抑制模块,视觉学习抑制模块包括视觉学习抑制信号模块和视觉学习抑制电压选择模块。视觉模块包括视觉学习电压选择模块、视觉学习模块和视觉学习抑制模块,听觉学习抑制模块包括听觉学习抑制信号单元和听觉学习抑制电压选择单元。听觉刺激信号L1与食物信号F1输出高电平,听觉学习模式开始。听觉学习电压选择模块、听觉学习模块和视觉学习抑制信号单元被调用,听觉学习的同时产生视觉学习抑制信号。听觉刺激信号L1与食物信号F1输出低电平,视觉刺激信号S1与食物信号F2输出高电平,听觉学习模式停止,视觉学习模式开始。视觉学习电压选择模块、视觉学习模块、听觉学习抑制信号单元、视觉学习抑制信号单元和视觉学习抑制电压选择模块被调用,视觉学习模块处在视觉学习电压选择模块和视觉学习抑制选择电压模块的双重作用下。视觉学习的同时产生听觉学习抑制信号和消除视觉学习抑制的信号。The present invention includes two learning modules, an auditory module and a visual module, respectively representing the auditory learning mode and the visual learning mode. The auditory module includes an auditory learning voltage selection module, an auditory learning module and a visual learning inhibition module, and the visual learning inhibition module includes a visual learning inhibition signal module and a visual learning inhibition voltage selection module. The visual module includes a visual learning voltage selection module, a visual learning module and a visual learning inhibition module, and the auditory learning inhibition module includes an auditory learning inhibition signal unit and an auditory learning inhibition voltage selection unit. The auditory stimulation signal L1 and the food signal F1 output high level, and the auditory learning mode starts. The auditory learning voltage selection module, the auditory learning module and the visual learning inhibitory signal unit are called, and the visual learning inhibitory signal is generated at the same time as the auditory learning. The auditory stimulation signal L1 and the food signal F1 output a low level, the visual stimulation signal S1 and the food signal F2 output a high level , the auditory learning mode stops, and the visual learning mode starts. The visual learning voltage selection module, the visual learning module, the auditory learning inhibition signal unit, the visual learning inhibition signal unit and the visual learning inhibition voltage selection module are called, and the visual learning module is in the dual of the visual learning voltage selection module and the visual learning inhibition selection voltage module. under the action. Visual learning simultaneously generates auditory learning inhibition signals and cancels visual learning inhibition signals.
具体的说,本发明的电路结构可以完成小狗听觉模式与视觉模式的切换模式学习功能。小狗在食物信号F1和听觉刺激信号L1的作用下,进行听觉模式的学习。正常情况下学习T秒,小狗就可以单独在听觉信号作用下流出口水,即听觉学习完成。小狗在食物信号F2和视觉刺激信号S1的作用下,进行视觉模式的学习。正常情况下学习W秒,小狗就可以单独在视觉信号作用下流出口水,即视觉学习完成。双模式切换学习,小狗首先进行A秒的听觉模式学习,然后进行A秒的视觉模式学习,学习模式不断切换直到学习都完成为止,且A<W<T。Specifically, the circuit structure of the present invention can complete the switching mode learning function of the dog's auditory mode and visual mode. Under the action of food signal F 1 and auditory stimulation signal L 1 , the puppy learns auditory patterns. Under normal circumstances, after learning T seconds, the puppy can salivate under the action of auditory signals alone, that is, auditory learning is completed. Under the action of food signal F 2 and visual stimulus signal S 1 , puppy learns visual patterns. Under normal circumstances, after learning W seconds, the puppy can salivate under the action of visual signals alone, that is, the visual learning is completed. Dual-mode switching learning, the puppy first learns the auditory mode for A seconds, and then performs the visual mode learning for A seconds. The learning mode is continuously switched until the learning is completed, and A<W<T.
具体的说,模式切换学习第一步,食物信号F1和听觉刺激信号L1输出高电平,视觉刺激信号S1与食物信号F2输出低电平,进行听觉学习与视觉学习抑制。听觉学习:选择开关S1导通,电压源V1向第一忆阻器M2输出电压,经过第一运算放大器OP1作用后,通过绝对值器件ABS1进行变换。选择开关S4导通,绝对值器件ABS1输出电压到第二电压求和器件SUM2的IN1输入端,即VSUM2(IN1)输出端。第二电压求和器件SUM2输出电压VSUM2(out)到第三忆阻器M1和电压处理元器件ABM1的IN2输入端,第三忆阻器M1上的电压经过原酸放大器OP2作用后施加到电压处理元器件ABM1的IN1输入端。电压处理元器件ABM1输出电压VABM1(out)到第四电压求和器件SUM3的IN1输入端,第四电压求和器件SUM3输出电压到运算放大器OP3的负极输入。视觉学习抑制:选择开关S17导通,电压源V12开始向第二忆阻器M6输出电压,第二忆阻器M6的电压被运算放大器OP9转化后,经绝对值器件ABS5进行绝对值计算,然后作为选择开关S19的导通电压。随着第二忆阻器M6忆阻值的降低,导通电压逐渐升高。当选择开关S19的导通电压大于选择开关S19的阈值电压时,电压源V19开始输出电压,即视觉学习抑制信号VS19(out)。Specifically, in the first step of mode switching learning, the food signal F1 and auditory stimulation signal L1 output high level, and the visual stimulation signal S1 and food signal F2 output low level for auditory learning and visual learning inhibition. Auditory learning: the selection switch S 1 is turned on, the voltage source V 1 outputs a voltage to the first memristor M 2 , and after the first operational amplifier OP 1 acts, the absolute value device ABS 1 converts the voltage. The selection switch S4 is turned on, and the absolute value device ABS1 outputs the voltage to the IN1 input terminal of the second voltage summing device SUM2 , that is, the VSUM2 (IN1 ) output terminal. The second voltage summing device SUM 2 outputs the voltage VSUM 2 (out) to the IN 2 input of the third memristor M 1 and the voltage processing device ABM 1 , the voltage on the third memristor M 1 is passed through the ortho-amplifier OP 2 is applied to the IN 1 input of the voltage processing component ABM 1 after being applied. The voltage processing element ABM 1 outputs the voltage VABM 1 (out) to the IN 1 input of the fourth voltage summing device SUM 3 , and the fourth voltage summing device SUM 3 outputs the voltage to the negative input of the operational amplifier OP 3 . Visual learning inhibition: the selection switch S 17 is turned on, the voltage source V 12 starts to output voltage to the second memristor M 6 , the voltage of the second memristor M 6 is converted by the operational amplifier OP 9 , and the absolute value device ABS 5 The absolute value is calculated and then used as the turn-on voltage of the selection switch S19 . As the memristor value of the second memristor M6 decreases, the turn-on voltage gradually increases. When the turn-on voltage of the selection switch S19 is greater than the threshold voltage of the selection switch S19 , the voltage source V19 starts to output a voltage, that is, the visual learning inhibition signal VS19 (out).
第二步,听觉刺激信号L1与食物信号F1输出低电平,视觉刺激信号S1与食物信号F2输出高电平,模式切换开始,进行视觉学习、听觉学习抑制与视觉学习抑制消除。视觉学习:选择开关S12导通,电压源V9向第一忆阻器M5输出电压,经过原酸放大器OP6作用后,通过电压绝对值器件ABS4进行变换。选择开关S15导通,电压绝对值器件ABS4输出电压到电压求和器件SUM6的IN1输入端,即VSUM6(IN1)。与门D6输出高电平,选择开关S20导通,电压源V15输出电压,经过运算放大器OP10作用后,通过绝对值器件ABS6进行变换。选择开关S22导通,绝对值器件ABS6输出电压到电压求和器件电压处理元器件SUM6的IN2输入端,即VSUM6(IN2)。电压求和器件SUM6输出电压VSUM6(out)到忆阻器M4和ABM2的IN2输入端,忆阻器M4上的电压经过放大器OP7作用后施加到电压处理元器件ABM2的IN1输入端。电压处理元器件ABM2输出电压VABM1(out)到电压求和器件SUM3的IN1输入端,电压求和器件SUM3输出电压到运算放大器OP3的负极输入。听觉学习抑制:选择开关S6导通,电压源V4开始向第二忆阻器M3输出电压,第二忆阻器M3的电压被运算放大器OP4转化后,经电压绝对值器件ABS2进行绝对值计算,然后作为选择开关S8的导通电压。随着第二忆阻器M3忆阻值的降低,导通电压逐渐升高。当选择开关S8的导通电压大于选择开关S8的阈值电压时,电压源V6开始输出电压,即听觉学习抑制信号VS8(out)。视觉学习抑制消除:选择开关S18导通,电压源V13输出电压到忆阻器M6上,忆阻器M6的电压被原酸放大器OP9转化后,经电压绝对值器件ABS5进行绝对值计算,然后作为选择开关S21的导通电压。随着忆阻器M6忆阻值的升高,导通电压逐渐降低。当选择开关S19的导通电压小于选择开关S19的阈值电压时,VS14(out)为零。与门A6输出低电平,选择开关S20断开,VSUM6(IN2)为零,即视觉学习抑制消除。详细的学习模式切换仿真实验如图8和图9。图8为先听觉模式后视觉模式切换学习仿真波形,图9为先视觉模式后听觉模式切换学习仿真波形。In the second step, the auditory stimulation signal L 1 and the food signal F 1 output a low level, the visual stimulation signal S 1 and the food signal F 2 output a high level, the mode switching starts, and the visual learning, auditory learning inhibition and visual learning inhibition elimination are carried out. . Visual learning: the selection switch S12 is turned on , the voltage source V9 outputs the voltage to the first memristor M5, and after the ortho-acid amplifier OP6 acts, the voltage is converted by the voltage absolute value device ABS4 . The selection switch S15 is turned on , and the voltage absolute value device ABS4 outputs the voltage to the IN1 input terminal of the voltage summing device SUM6 , namely VSUM6 (IN1 ) . The AND gate D6 outputs a high level, the selection switch S20 is turned on , and the voltage source V15 outputs a voltage, which is converted by the absolute value device ABS6 after the operation amplifier OP10 acts. The selection switch S22 is turned on, and the absolute value device ABS 6 outputs the voltage to the IN 2 input terminal of the voltage processing element SUM 6 of the voltage summing device, namely VSUM 6 (IN 2 ). The voltage summation device SUM 6 outputs the voltage VSUM 6 (out) to the IN 2 input terminals of the memristor M 4 and ABM 2 , and the voltage on the memristor M 4 is applied to the voltage processing element ABM 2 after being acted by the amplifier OP 7 the IN 1 input. The voltage processing element ABM 2 outputs the voltage VABM 1 (out) to the IN 1 input of the voltage summing device SUM 3 , and the voltage summing device SUM 3 outputs the voltage to the negative input of the operational amplifier OP 3 . Auditory learning inhibition: the selection switch S6 is turned on , the voltage source V4 starts to output voltage to the second memristor M3, the voltage of the second memristor M3 is converted by the operational amplifier OP4 , and then passed through the voltage absolute value device ABS. 2 for absolute value calculation, and then as the turn-on voltage of the selection switch S8 . As the memristor value of the second memristor M3 decreases, the turn-on voltage gradually increases. When the turn-on voltage of the selection switch S8 is greater than the threshold voltage of the selection switch S8 , the voltage source V6 starts to output a voltage, that is, the auditory learning inhibition signal VS8 (out). Visual learning inhibition is eliminated: the selection switch S18 is turned on, the voltage source V13 outputs the voltage to the memristor M6 , the voltage of the memristor M6 is converted by the ortho - acid amplifier OP9 , and the voltage absolute value device ABS5 conducts The absolute value is calculated and then used as the turn-on voltage of the selector switch S21 . With the increase of the memristor value of the memristor M6 , the turn-on voltage gradually decreases. When the turn-on voltage of the selection switch S19 is less than the threshold voltage of the selection switch S19, VS 14 ( out ) is zero. The AND gate A6 outputs a low level, the selection switch S20 is turned off, and VSUM 6 (IN 2 ) is zero, that is, the visual learning inhibition is eliminated. The detailed learning mode switching simulation experiment is shown in Figure 8 and Figure 9. FIG. 8 is a simulation waveform of switching learning of visual mode after hearing mode first, and FIG. 9 is a simulation waveform of switching learning of auditory mode after visual mode first.
本发明提出的基于忆阻器的巴甫洛夫联想记忆的双模式切换的学习记忆电路,当电路中输入不同激励信号时,经过逻辑电路处理,会进行不同模式的切换学习,通过输出结果来探究双模式切换学习对于单个学习模式的抑制作用。The dual-mode switching learning and memory circuit based on the memristor-based Pavlovian associative memory proposed by the present invention, when different excitation signals are input into the circuit, through logic circuit processing, the switching learning of different modes will be carried out, and the output results will be used to learn To explore the inhibitory effect of dual-modal switching learning on a single learning mode.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the present invention. within the scope of protection.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911340520.6A CN110910723B (en) | 2019-12-23 | 2019-12-23 | A Memristor-Based Pavlovian Dual-Mode Switching Learning and Memory Circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911340520.6A CN110910723B (en) | 2019-12-23 | 2019-12-23 | A Memristor-Based Pavlovian Dual-Mode Switching Learning and Memory Circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110910723A CN110910723A (en) | 2020-03-24 |
CN110910723B true CN110910723B (en) | 2020-09-29 |
Family
ID=69827249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911340520.6A Active CN110910723B (en) | 2019-12-23 | 2019-12-23 | A Memristor-Based Pavlovian Dual-Mode Switching Learning and Memory Circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110910723B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112651495B (en) * | 2020-12-16 | 2021-10-12 | 郑州轻工业大学 | A neural network circuit for emotional homeostasis regulation and associative memory |
CN113658493B (en) * | 2021-08-20 | 2023-05-02 | 安徽大学 | Reinforced learning bionic circuit architecture for simulating associative memory |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103580668A (en) * | 2013-10-28 | 2014-02-12 | 华中科技大学 | Associative memory circuit based on memory resistor |
CN106779059A (en) * | 2016-12-30 | 2017-05-31 | 华中科技大学 | A kind of Circuit of Artificial Neural Networks of the Pavlov associative memory based on memristor |
CN109002647A (en) * | 2018-08-17 | 2018-12-14 | 郑州轻工业学院 | A kind of memristor associative memory neural network circuit with delay learning functionality |
CN110110840A (en) * | 2019-04-22 | 2019-08-09 | 中国地质大学(武汉) | A kind of associative memory emotion recognition circuit based on memristor neural network |
CN110214330A (en) * | 2016-10-27 | 2019-09-06 | 佛罗里达大学研究基金会公司 | The memristor of Neuromorphic circuit learns |
CN110428050A (en) * | 2019-08-25 | 2019-11-08 | 湖北大学 | A kind of bionical circuit of cynapse for realizing diversification STDP learning rules based on memristor |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10877752B2 (en) * | 2018-09-28 | 2020-12-29 | Intel Corporation | Techniques for current-sensing circuit design for compute-in-memory |
-
2019
- 2019-12-23 CN CN201911340520.6A patent/CN110910723B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103580668A (en) * | 2013-10-28 | 2014-02-12 | 华中科技大学 | Associative memory circuit based on memory resistor |
CN110214330A (en) * | 2016-10-27 | 2019-09-06 | 佛罗里达大学研究基金会公司 | The memristor of Neuromorphic circuit learns |
CN106779059A (en) * | 2016-12-30 | 2017-05-31 | 华中科技大学 | A kind of Circuit of Artificial Neural Networks of the Pavlov associative memory based on memristor |
CN109002647A (en) * | 2018-08-17 | 2018-12-14 | 郑州轻工业学院 | A kind of memristor associative memory neural network circuit with delay learning functionality |
CN110110840A (en) * | 2019-04-22 | 2019-08-09 | 中国地质大学(武汉) | A kind of associative memory emotion recognition circuit based on memristor neural network |
CN110428050A (en) * | 2019-08-25 | 2019-11-08 | 湖北大学 | A kind of bionical circuit of cynapse for realizing diversification STDP learning rules based on memristor |
Also Published As
Publication number | Publication date |
---|---|
CN110910723A (en) | 2020-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Sun et al. | Memristor-based neural network circuit of pavlov associative memory with dual mode switching | |
CN103246904B (en) | Time correlation based on resistive memristor learns neuron circuit and its implementation | |
CN109002647A (en) | A kind of memristor associative memory neural network circuit with delay learning functionality | |
CN105930903B (en) | A kind of numerical model analysis neural network chip architecture | |
CN110910723B (en) | A Memristor-Based Pavlovian Dual-Mode Switching Learning and Memory Circuit | |
CN108804786B (en) | A memristor model circuit design method with plastic synaptic weights in associative neural network | |
CN110428050B (en) | Synapse bionic circuit for realizing diversified STDP learning rules based on memristor | |
CN106779059A (en) | A kind of Circuit of Artificial Neural Networks of the Pavlov associative memory based on memristor | |
WO2015062112A1 (en) | Associative memory circuit based on memory resistor | |
CN112270409B (en) | Non-supervision learning synaptic unit circuit based on Hall strip | |
CN115577758A (en) | Memristor-Based Multimodal Generalization and Differentiation Associative Memory Neural Network Circuits | |
Sun et al. | Memristor-based operant conditioning neural network with blocking and competition effects | |
CN210488595U (en) | Synaptic biomimetic circuit based on memristor to realize diverse STDP learning rules | |
CN210627259U (en) | Pulse neural network digital-analog hybrid circuit system for realizing liquid state machine | |
CN116245151A (en) | Multifunctional operant conditioning neural network circuits with blocking and competing effects | |
Su et al. | A 1T2M memristor-based logic circuit and its applications | |
CN110059816B (en) | Memristor-based neural network unit circuit | |
US20210271961A1 (en) | A neuron circuit | |
CN110443356B (en) | Current type neural network based on multi-resistance state memristor | |
CN114970850B (en) | A neural network circuit for emotional habituation with context dependence and generalization | |
CN118095374A (en) | A brain-like neural network circuit with emotion generalization and emotion regulation functions | |
Sun et al. | A memristor-based neural network circuit with latent inhibition and transient forgetting effects and application in industrial intelligent grasping | |
Xu et al. | Memristor-based neural network circuit of delay and simultaneous conditioning | |
CN113408719B (en) | A multilevel associative memory circuit based on non-melting phase change device | |
CN116030864A (en) | A Secondary Reward and Punishment Operant Conditioning Delay Circuit |
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 |