A memristor decision circuit that fuses emotional habituation with behavioral reinforcement
By designing a memristor decision circuit to simulate emotional habituation and behavioral reinforcement, the problem of insufficient interaction between the emotional and habit systems in existing memristor bionic circuits is solved. This achieves dynamic interaction simulation of emotions and behaviors, improves the intelligence and adaptability of the decision system, and is applicable to autonomous robots and intelligent agents.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUNAN NORMAL UNIVERSITY
- Filing Date
- 2026-05-01
- Publication Date
- 2026-06-05
AI Technical Summary
Existing memristor-inspired circuits fail to effectively simulate the habituation of emotions and the reinforcement of behaviors, neglecting the dynamic characteristics of emotional signals and the interaction between the emotional system and the habit system, resulting in bottlenecks in the decision-making process of the computing system.
A memristor decision circuit integrating emotional habituation and behavioral reinforcement was designed. Through positive and negative signal input paths, the plasticity of the memristor is used to simulate the dynamic changes in emotional intensity and behavioral habituation. The circuit includes an input module, an emotion generation module, a decision output module, and a threshold adjustment module. The resistance change of the memristor is used to simulate the interaction process of emotions and behaviors.
It achieves dynamic interaction simulation of emotions and behaviors, improves the intelligence and adaptability of decision-making systems, simulates the collaborative mechanism of emotion-driven behavior and behavior forming habits, and is applicable to application scenarios such as autonomous robots and intelligent agents.
Smart Images

Figure CN122154599A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of memristor self-learning circuit design, and particularly to a memristor decision circuit that integrates emotional habituation and behavioral reinforcement. Background Technology
[0002] With the deep integration of artificial intelligence, big data, and the Internet of Things, the amount of data that people need to process is growing exponentially, placing unprecedented demands on the computing power and energy efficiency of computing systems. However, traditional computing systems are based on the von Neumann architecture, which separates computing units from storage units. Data needs to be frequently moved between the two, and this inherent design has led to many bottlenecks such as the "memory wall" and the "power wall."
[0003] The biological brain does not separate computation and storage when processing information; instead, it achieves in-memory computation in a highly parallel manner. This provides a natural model for overcoming the aforementioned bottlenecks. Inspired by this mechanism, researchers have begun studying brain-inspired bionic circuits.
[0004] The core of neuromorphic bionics lies in simulating the plasticity of biological synapses. Traditional circuits mostly use CMOS transistors, capacitors, and resistors to simulate biological synapses, but this still has many limitations. For example, traditional synapses have low integration density, and synaptic weights are easily lost when power is off. The emergence of memristors has made it possible to construct novel synapses. Memristors have plasticity and non-volatility; their resistance changes with the voltage applied across them, and their resistance remains unchanged after power is off.
[0005] In addition to its resistance flexibility and non-volatility, memristors also feature nanoscale size, low power consumption, compatibility with CMOS processes, and suitability for large-scale integration. Therefore, using memristors to build memristor-inspired circuits is one of the feasible solutions for realizing brain-like bionics.
[0006] With in-depth research, biomimetic circuits based on memristors have made significant progress in recent years, successfully realizing various learning mechanisms such as non-associative learning and operant reflex conditions. Meanwhile, some studies have begun to incorporate emotional factors, focusing on exploring the influence of emotions on behavior. However, most existing work treats emotional signals as static or modulated signals, neglecting the dynamic characteristics of emotions themselves becoming habituated with repetition of stimuli. More importantly, it has not clearly established the interaction between the emotional system and the habit system. It is this interaction that constitutes the synergistic mechanism of "emotion driving behavior, behavior forming habits, and habits modulating emotions" in biological intelligent decision-making. Based on this, this invention proposes a memristor decision-making circuit that integrates emotional habituation and behavioral reinforcement, simulating the habituation of emotions and the reinforcement of behavior to achieve their interaction. This invention combines the novel electronic device memristor with biomimetic principles, providing a new hardware implementation scheme for researching brain-like intelligent decision-making systems, and demonstrating potential application value in autonomous robots, intelligent agents, and other application scenarios. Summary of the Invention
[0007] Addressing the limitations of current memristor-based bionic circuits in simulating the interaction between emotion and habit systems, this invention proposes a memristor decision circuit that integrates emotional habituation and behavioral reinforcement. It utilizes the plasticity of a novel two-terminal memristor to simulate the dynamic changes in different emotional intensities and the formation of behavioral habits. Changes in emotion influence behavior, repeated execution of behavior leads to habituation, and habituation modulates emotions. This invention simulates this process at the hardware level.
[0008] This invention is achieved through the following technical solution: a memristor decision circuit integrating emotional habituation and behavioral reinforcement, comprising a positive signal input path and a negative signal input path, wherein each signal input path includes an input module, an emotion generation module, a decision output module, a threshold adjustment module, and a result feedback module. The input module includes short-term emotional path input and long-term emotional path input, and the emotion generation module includes short-term emotional path and long-term emotional path, such as... Figure 1 As shown.
[0009] In the positive signal input path, the input module includes NMOS transistors N1 and N2, PMOS transistors P1 and P2, and resistor R. a1 -R a27 Voltage control switch S a1 -S a3 ABM single-input single-output analog behavioral device a1 -ABM a3 Operational amplifier U a1 -U a7 Input signal V in and feedback signal V errora1 V errora2 Vat1 V at2 and V control1 Among them, MOSFETs P1, P2, N1, and N2 form a complementary comparator COM1; R a1 -R a4 With operational amplifier U a1 R a6 -R a9 With operational amplifier U a2 and R a11 -R a14 With operational amplifier U a5 Form a summing circuit in the same direction; R a16 -R a19 With operational amplifier U a3 and R a22 -R a25 With operational amplifier U a6 Form an inverting summing circuit; R a20 -R a21 With operational amplifier U a4 and R a26 -R a27 With operational amplifier U a7 This forms an inverting circuit. The output signal of the input module includes U. a4 Output and U a7 The input module can be divided into two parts: short-term emotional path input and long-term emotional path input. The output is connected to the short-term emotional path and the long-term emotional path input respectively. The short-term emotional path input section contains three input signals: the output signal of COM1, V... at1 and V errora1 The output signal of COM1 is connected to R. a6 -R a9 with U a2 The input terminal of the circuit is connected to the same direction summing circuit, and at the same time, the output terminal of COM1 is connected to the single-input single-output analog behavioral device ABM. a2 The input terminal of ABM a2 The output terminal is connected to switch S a2 The positive output terminal, S a2 The positive input terminal is connected to V control1 The negative input terminal is grounded, S a2 The negative output terminal is connected to resistor R. a10 To the ground, and also connected to R a6 -R a9 with U a2 The input terminal of the circuit that forms a unidirectional summing circuit. When the circuit has not yet formed a decision habit, V control1 Switch S does not meet the requirements a2 On-condition, S a2 Disconnect, R a10The voltage divider is 0V, U a2 The output of V follows the output of COM1; when the circuit develops a decision habit, V control1 Satisfy S a2 On-condition, S a2 Closed, R a10 The partial voltage is ABM a2 ABM's output voltage a2 Perform a multiplication of -0.5 on its input, by R. a6 -R a9 with U a2 The constructed unidirectional summing circuit will affect R a10 Summing the voltage divider and the output voltage of COM1, U a2 The output voltage of is half the output voltage of COM1. The feedback signal V of the short-term emotion path when the decision is correct. at1 Connected to R a1 -R a4 with U a1 The input terminal of the circuit composed of the same direction summing circuit, at the same time V at1 Connected to a single-input single-output analog behavioral device ABM a1 The input terminal of ABM a1 The output terminal is connected to switch S a1 The positive output terminal, S a1 The positive input terminal is connected to V control1 The negative input terminal is grounded, S a1 The negative output terminal is connected to resistor R. a5 To the ground, and also connected to R a1 -R a4 with U a1 The input terminal of the circuit that forms a summing circuit in the same direction. When the circuit has not formed a decision habit, V control1 Not satisfied with S a1 On-condition, S a1 Disconnect, resistor R a5 The voltage drop is 0V, U a1 The output follows V at1 When a circuit develops a decision-making habit, V control1 Satisfy S a1 On-condition, S a1 Closed, resistor R a5 The partial pressure is ABM a1 ABM's output voltage a1 Perform a multiplication of -0.5 on its input, resistor R a5 The partial voltage and V at1 Summation, the result of which is U a1 Output. The total feedback signal V of the short-term emotional path when a decision is made incorrectly. errora1 Includes V af1 and Vforget11 Two parts, V af1 V serves as the feedback signal for the short-term emotional path when the circuit makes one or two decision-making errors. forget11 This refers to the forgetting signal generated when a circuit fails to make a decision after accumulating two incorrect decisions and then receiving a positive signal again, resulting in a forgetting of the short-term emotional path. a1 Output, U a2 Output and V errora1 Connected to R a16 -R a19 with U a3 The input terminal of the inverting summation circuit, U a3 The output terminal is connected to R a20 -R a21 with U a4 The input terminal of the inverting circuit, U a4 The output represents the input signal of the short-term sentiment path, such as... Figure 2 As shown.
[0010] In the positive signal input pathway, the long-term emotion path input section of the input module contains three input signals: the output signal of COM1, V... at2 and V errora2 Among them, the feedback signal V of the long-term emotional path when the decision is correct. at2 Connected to R a11 -R a14 with U a5 The input terminal of the circuit composed of the same direction summing circuit, at the same time V at2 Connected to a single-input single-output analog behavioral device ABM a3 The input terminal of ABM a3 The output terminal is connected to switch S a3 The positive output terminal, S a3 The positive input terminal is connected to V control1 The negative input terminal is grounded, S a3 The negative output terminal is connected to resistor R. a15 To the ground, and also connected to R a11 -R a14 with U a5 The input terminal of the circuit that forms a summing circuit in the same direction. When the circuit has not formed a decision habit, V control1 Not satisfied with S a3 On-condition, S a3 Disconnect, resistor R a15 The voltage drop is 0V, U a5 The output follows V at2 When a circuit develops a decision-making habit, V control1 Satisfy S a3 On-condition, S a3 Closed, resistor R a15The partial voltage is ABM a3 ABM's output voltage a3 Perform a multiplication of -0.4 on its input, resistor R a15 The partial voltage and V at2 Summation, the result of which is U a5 Output. The total feedback signal V of the long-term emotional path when a decision is wrong. errora2 Includes V af2 and V forget12 Two parts, V af2 V is the feedback signal to the long-term emotional path when the circuit makes one or two decision errors. forget12 This refers to the forgetting signal generated when a circuit fails to make a decision after accumulating two incorrect decisions and then receiving a positive signal again, resulting in forgetting of long-term emotional pathways. a5 The output of COM1 and V errora2 Connected to R a22 -R a25 with U a6 The input terminal of the inverting summation circuit, U a6 The output terminal is connected to R a26 -R a27 with U a7 The input terminal of the inverting circuit, U a7 The output represents the input signal of the long-term emotional pathway, such as... Figure 2 As shown.
[0011] In the positive signal input path, the emotion generation module consists of operational amplifier U. a8 -U a11 Resistance R a28 -R a35 Dual-input single-output analog behavioral device ABM a4 and ABM a5 Memristors M1 and M2, AND gate D3, and voltage control switch S a4 S a5 Composition. Among them, M1 and R a28 With operational amplifier U a8 R a29 -R a30 With operational amplifier U a9 M2, R a31 With operational amplifier U a10 R a32 -R a33 With operational amplifier U a11 This forms an inverted circuit. In the short-term emotion path, U in the input module... a4 The output signal is applied to the negative terminal of memristor M1, and after passing through two stages of inverting circuitry, it is output by operational amplifier U. a9 Output, U a9The output terminal is connected to switch S a4 The positive input terminal, S a4 The negative input terminal is grounded, S a4 The positive output terminal is connected to U a9 The output, S a4 The negative output terminal is connected to resistor R. a34 The output signal at the negative output terminal is denoted as V. ps This indicates a short-term emotional signal from a positive signal input pathway; when U a9 The output does not satisfy S. a4 The conduction condition, resistor R a34 The voltage divider is 0V, V ps 0V; conversely, V ps Then follow U a9 The output of the input module, U, is in the long-term emotion path. a7 The output signal is applied to the positive terminal of memristor M2, and after passing through two stages of inverting circuitry, it is output by operational amplifier U. a11 Output, U a11 The output terminal is connected to switch S a5 The positive input terminal, S a5 The negative input terminal is grounded, S a5 The positive output terminal is connected to U a11 The output, S a5 The negative output terminal is connected to resistor R. a35 It is connected to ground and also to the input of the logic AND gate D3, with the input signal V. in Connect to the other input of D3, and denote the output of D3 as V. pl This represents a long-term emotional signal from a positive signal input pathway; when U a11 The output does not satisfy S. a5 The conduction condition, resistor R a35 The partial pressure is 0, V pl It is 0V; conversely, the resistance R is 0V. a35 Voltage divider and input signal V in V is obtained by performing a summation on D3. pl U a9 with U a11 The outputs are respectively connected to the dual-input single-output analog behavioral device ABM. a4 The input terminals IN1 and IN2, ABM a4 Perform the operation 0.3*IN1+0.7*IN2 on its two inputs, ABM a4 The output signal is denoted as V emtion1 This represents the weighted summation of the emotional signal. U a7 The output is connected to the dual-input single-output analog behavioral device ABM. a5 The input terminal IN2, U a10 The output is connected to ABMa5 IN1 input terminal, ABM a5 The operation performed is -IN2 / IN1, and its output is denoted as control signal V. control1 This indicates the change in the resistance of memristor M2. When the resistance of M2 reaches 4.5kΩ, it indicates that decision-making habits have been formed, such as... Figure 2 As shown.
[0012] In the emotion generation module, the dynamic changes in emotions are simulated by the resistance changes of memristors M1 and M2. Higher memristor resistance indicates lower emotion intensity, and vice versa. In V in In one cycle, during the first half of the cycle, the output signal of COM1 is applied to the negative terminal of memristor M1 and the positive terminal of M2. The resistance of M1 increases, while the resistance of M2 remains unchanged due to the stability of long-term emotions. The resulting emotional signals are weighted and summed before being input to the decision output module to generate a decision result. In the second half of the cycle, the circuit generates a feedback signal based on whether the decision result is correct or incorrect. If the decision is correct, a feedback signal V for the short-term emotional path is generated. at1 and feedback signals V to long-term emotional pathways at2 V at1 This will decrease the resistance of M1, simulating the fading of short-term emotional memory when the positive signal disappears. However, the reduced resistance will be greater than the resistance at the time of the previous decision, simulating the residue of emotional memory. V at2 This will increase the resistance of M2, simulating the long-term emotional habituation process. The long-term emotional signal generated by the next positive input will weaken. After making correct decisions many times, a decision-making habit will be formed. The formation of the decision-making habit is represented by the resistance of the memristor M2 reaching a preset value. If the decision is still correct after the habit is formed, the circuit will then adjust the output signal of COM1 and V. at1 and V at2 The value is adjusted so that it no longer meets the threshold conditions of M1 and M2. The resistance values of M1 and M2 will then remain unchanged, simulating a state where emotional fluctuations cease as habits are formed. If the decision is incorrect, a feedback signal V for the short-term emotional path is generated. af1 and feedback signals V to long-term emotional pathways af2 V af1 This will reduce the resistance of M1, but the reduction will be greater than when the decision is correct, and emotional memories will fade more. af2 This will decrease the resistance of M2, simulating the long-term emotional dehabitation process, and the long-term emotional signal generated by the next positive input will be stronger. If two incorrect decisions are accumulated, the circuit will not make a decision when a positive signal is input again, and there will be no feedback signal for correct or incorrect decision. At this time, the forgetting signal V... forget11 and V forget12 This significantly reduces the resistance values of M1 and M2, allowing the circuit to relearn upon the next positive signal input.
[0013] The decision output module includes signal V emtion1 V restore1 V threshold1 and V outcome1 Operational amplifier U a12 -U a15 Resistance R a36 -R a44 Memristor M3, control switch S a6 S a7 and dual-input single-output analog behavioral device ABM a6 Among them, the resistance R a37 -R a40 With operational amplifier U a12 Form an inverting summing circuit; resistor R a42 -R a43 With operational amplifier U a13 Form an inverting circuit; memristor M3, resistor R a44 With operational amplifier U a14 Form an inverting circuit. V emtion1 Connect to switch S a6 The positive input terminal, S a6 The negative input terminal is grounded, S a6 The negative output terminal is connected to a 5V voltage, and the positive output terminal is connected to a resistor R. a36 The output signal at the positive output terminal is denoted as V. decision1 This indicates a decision signal. V restore1 This indicates a recovery signal. When the circuit accumulates two incorrect decisions, the decision module will not make a decision when a positive signal is input again, and the circuit will remain in a locked state. To release this locked state, a recovery signal V is added. restore1 V restore1 Increase the resistance of M3 to perform the recovery operation. V outcome1 Connect to switch S a7 The positive input terminal, S a7 The negative input terminal is grounded, S a7 The negative output terminal is connected to -0.6V, and the positive output terminal is connected to resistor R. a41 Grounded, the output signal at the positive output terminal is denoted as V. adjustment1 This represents the control signal applied to memristor M3 when the decision is correct or incorrect. V restore1 V adjustment1 and V decision1 Connected respectively to R a37 -R a40 and U a12 The input terminal of the inverting summator circuit is then connected to R. a42 -R a43 and U a13This forms an inverting circuit applied to the positive terminal of memristor M3. a13 and U a14 The outputs are respectively connected to the dual-input single-output analog behavioral device ABM. a6 The input terminals IN2 and IN1, ABM a6 The -IN2 / IN1 operation outputs a signal indicating the value of the memristor M3, ABM. a6 The output terminal is connected to U a15 The negative input terminal, U a15 The positive input terminal is connected to V threshold1 V threshold1 This represents the decision threshold voltage, which is dynamically adjusted by the decision threshold module based on the result of each decision. (V) threshold1 The larger the size, the faster the decision-making speed. a15 The output is denoted as V output1 , representing the decision output signal, in V in U in the first half of a cycle a15 The output stepping from -15V to 15V indicates a decision has been made, and the duration of the -15V step represents the time taken to make the decision. At V in In the first half of a cycle, V decision1 This reduces the resistance of M3, ABM a6 The output also decreases when V... threshold1 Greater than ABM a6 When U is output, a15 When the voltage jumps from -15V to 15V, the circuit makes a decision; in the second half of the cycle, whether the decision is correct or incorrect, a regulating voltage V will be generated. adjustment1 This increases the resistance of M3, U a15 The voltage recovers from 15V to -15V; if two incorrect decisions are made and a positive signal is input again without a decision result, then V... adjustment1 0V, V restore1 There is an output that is applied to the positive terminal of memristor M3, increasing the resistance of M3. The circuit can still make a decision when a positive signal is input again, such as... Figure 2 As shown.
[0014] The threshold adjustment module includes signal V control1 V af and V restore1 Operational amplifier U a16 -U a18 Resistance R a45 -R a54 Memristor M4, control switch S a8 and dual-input single-output analog behavioral device ABM a7 ABM a8 Among them, the resistance R a45 -R a48and U a16 Construct a summing circuit in the same direction; M4, R a49 and U a17 Forming an inverting circuit; resistor R a51 -R a54 and U a18 This forms a summing circuit in the same direction. The decision threshold voltage includes ABM. a7 Output voltage and resistance R a50 These two parts divide the pressure. V control1 Connect to ABM a7 Input terminal IN1, ABM a7 The input terminal IN2 is connected to a voltage of 1.8V, ABM. a7 The operation performed is 0.4*IN1+IN2, and its output is connected to resistor R. a51 -R a54 with U a18 The input terminal of the circuit that forms a summing circuit in the same direction. Decision failure signal V. af and recovery signal V restore1 Connected to resistor R a45 -R a48 and U a16 The input terminal of the circuit formed by the same direction summing is U a16 The output voltage is applied to the negative terminal of M4 to adjust the resistance value of M4. a16 The output is also connected to ABM. a8 The input terminal IN2, U a17 The output is connected to ABM a8 Input terminal IN1, ABM a8 It performs the -IN2 / IN1 operation, and its output represents the change in the resistance value of M4. (ABM) a8 The output is connected to switch S. a8 The positive input terminal, S a8 The negative input terminal is grounded, S a8 The negative output terminal is connected to a voltage of -3V, S a8 The positive output terminal is connected to resistor R. a50 Grounded, and the positive output terminal is connected to resistor R. a51 -R a54 and U a18 The input terminal of the circuit formed by the unidirectional summing circuit. R a50 Voltage division and ABM a7 The output voltages are summed, and the summation result is given by U. a18 Output, U a18 The output signal is denoted as V threshold1 , representing the decision threshold voltage. When the circuit makes a successful decision, V... af and V restore1 Both are 0V, the resistance of M4 remains unchanged, ABM a8The output does not satisfy switch S a8 The conduction condition, U a18 The output follows ABM a7 The output; if one or two errors occur, V restore1 The value is 0V but V af Not 0V, V af This increases the resistance of M4, ABM a8 The output also increases accordingly, and when two decision errors are accumulated, ABM... a8 Only the output of switch S satisfies the requirements. a8 The conduction condition is that a voltage of -3V will be connected to the resistor R. a51 -R a54 and U a18 The circuit formed by summing in the same direction, V threshold1 When V drops to a negative value, inputting a positive signal will no longer produce a decision output. It's worth noting that when V... threshold1 When the value drops to a negative value and there is no decision output, the recovery signal V... restore1 This will reduce the resistance of M4, ABM a8 The output also decreases as ABM... a8 The output decreases to the point where the switch S is no longer satisfied. a8 When the conduction threshold is reached, S a8 Disconnect, R a50 The voltage drop is 0V, V threshold1 Once things return to normal, decisions can still be made when positive signals are input again, such as... Figure 2 As shown.
[0015] The result feedback module consists of signal V. forget11 V forget12 V check1 and V output1 Operational amplifier U a19 -U a23 Resistance R a55 -R a74 Capacitor C1, Sample-and-hold circuit LF398a, Control switch S a9 -S a12 ABM single-input single-output analog behavioral device a9 It consists of logic AND gates D1 and D2. Where R... a55 -R a56 and U a19 R a57 -R a58 and U a20 Construct an inverting circuit; R a63 -R a66 with U a21 R a67 -R a70 with U a22 and Ra71 -R a74 with U a23 This forms a summing circuit in the same direction. V output1 Connected to the input of the sample-and-hold circuit LF398a, T1 represents the digital pulse signal, at V in The first half of a cycle, T1, is high, and the second half is low. The sample-and-hold circuit samples and stores the decision result. The output of LF398a is connected to R... a55 -R a56 and U a19 The input terminal of the inverting circuit, U a19 The output is connected to R a57 -R a58 and U a20 The input terminal of the inverting circuit, U a20 The outputs are connected to one input of logic AND gates D1 and D2, respectively. check1 V represents the test signal for the decision result. The test signal is positive when the decision is correct, and negative otherwise. check1 Connected to another input terminal of D2, the output signal of D2 is denoted as the decision correct signal V. at V at Connect to switch S a11 The positive input terminal is grounded, and the negative input terminal is connected to S. a11 The negative output terminal is connected to a -5V voltage, and the positive output terminal is connected to a resistor R. a59 The output signal at the positive output terminal is denoted as V. at1 This indicates a feedback signal from a successful decision to the short-term emotional path; V represents the response when a decision-making habit has not yet been formed. at1 This reduces the resistance of M1; simultaneously, V at Also connected to switch S a12 The positive input terminal is grounded, and the negative input terminal is connected to S. a12 The negative output terminal is connected to a voltage of -5.5V, and the positive output terminal is connected to a resistor R. a60 The output signal at the positive output terminal is denoted as V. at2 This indicates the feedback signal of a successful decision on the long-term emotional path; V indicates that a decision-making habit has not yet been formed. at2 This increases the resistance of M2. Additionally, V check1 Access to ABM a9 The input terminal of ABM a9 To perform the negative operation, ABM a9 Output -V check1 The signal is connected to another input terminal of D1, and the output signal of D1 is denoted as the decision failure signal V. af V af Connect to switch S a9 The positive input terminal is grounded, and the negative input terminal is connected to S. a9The negative output terminal is connected to a voltage of -2.6V, and the positive output terminal is connected to a resistor R. a61 The output signal at the positive output terminal is denoted as V. af1 V af1 S represents the feedback signal of decision failure on the short-term emotional path. a9 The positive output terminal is connected to R a67 -R a70 with U a22 The input terminal of the circuit formed by the unidirectional summation is the forgotten signal V. forget11 Connected to the other end of the summing circuit input, U a22 The output signal is denoted as V errora1 This represents the overall feedback signal of decision failure on the short-term emotional path. Meanwhile, V... af Also connected to switch S a10 The positive input terminal is grounded, and the negative input terminal is connected to S. a10 The negative output terminal is connected to a 6V voltage, and the positive output terminal is connected to a resistor R. a62 The output signal at the positive output terminal is denoted as V. af2 S represents the feedback signal of decision failure on the long-term emotional path. a10 The positive output terminal is connected to R a71 -R a74 with U a23 The input terminal of the circuit formed by the unidirectional summation is the forgotten signal V. forget12 Connected to the other end of the summing circuit input, U a23 The output signal is denoted as V errora2 This represents the overall feedback signal of decision failure on the long-term emotional path. When the circuit makes one or two decision errors, the forgetting signal V... forget11 and V forget12 All are 0V, and the feedback signal of the short-term sentiment path is V. af1 V af1 This reduces the resistance of M1, and the feedback signal of the long-term emotional pathway is V. af2 V af2 This increases the resistance of M2; after the circuit has accumulated two decision errors, a positive signal will not be input again, and V will not make a decision. af and V at All are 0V, and the feedback signal of the short-term sentiment path is V. forget11 The feedback signal of the long-term emotional path is V. forget12 V forget11 and V forget12 This significantly reduces the resistance values of memristors M1 and M2, while simultaneously repairing signal V. restore1 This reduces the resistance of memristors M3 and M4, allowing the circuit to restart its decision-making process when a positive signal is input again. Furthermore, V at and V afConnected to resistor R a63 -R a66 and operational amplifier U a21 The input terminal of the circuit formed by the same direction summing is U a21 The output signal is denoted as V outcome1 When the decision is correct, U a21 The output is V at If there is an error, it will be marked as V. af ,like Figure 2 As shown.
[0016] In the negative signal input path, the input module includes NMOS transistors N3 and N4, PMOS transistors P3 and P4, and resistor R. b1 -R b27 Voltage control switch S b1 -S b3 ABM single-input single-output analog behavioral device b1 -ABM b3 Operational amplifier U b1 -U b7 Input signal V in and feedback signal V errorb1 V errorb2 V bt1 V bt2 and V control2 Among them, MOSFETs P3, P4, N3, and N4 form a complementary comparator COM2; R b1 -R b4 With operational amplifier U b1 R b6 -R b9 With operational amplifier U b2 and R b11 -R b14 With operational amplifier U b5 Form a summing circuit in the same direction; R b16 -R b19 With operational amplifier U b3 and R b22 -R b25 With operational amplifier U b6 Form an inverting summing circuit; R b20 -R b21 With operational amplifier U b4 and R b26 -R b27 With operational amplifier U b7 This forms an inverting circuit. The output signal of the input module includes U. b4 Output and U b7The input module can be divided into two parts: short-term emotional path input and long-term emotional path input. The output is connected to the short-term emotional path and the long-term emotional path input respectively. The short-term emotional path input section contains three input signals: the output signal of COM2, V... bt1 and V errorb1 The output signal of COM2 is connected to R. b6 -R b9 with U b2 The input terminals of the circuit are connected in the same direction, and the output of COM2 is simultaneously connected to the single-input single-output analog behavioral device ABM. b2 The input terminal of ABM b2 The output terminal is connected to switch S b2 The positive output terminal, S b2 The positive input terminal is connected to V control2 The negative input terminal is grounded, S b2 The negative output terminal is connected to resistor R. b10 To the ground, and also connected to R b6 -R b9 with U b2 The input terminal of the circuit formed by the same direction summing is V when the circuit has not formed a decision habit. control2 Switch S does not meet the requirements b2 On-condition, S b2 Disconnect, R b10 The voltage divider is 0V, U b2 The output of V follows the output of COM2; when the circuit develops a decision-making habit, V control2 Satisfy S b2 On-condition, S b2 Closed, R b10 The partial voltage is ABM b2 ABM's output voltage b2 Perform a multiplication of its input by -0.7, R b10 The voltage divider and the output voltage of COM2 are summed, and the summation result is obtained from U. b2 Output; Feedback signal V of the short-term emotional path when the decision is correct. bt1 Connected to R b1 -R b4 with U b1 The input terminal of the circuit composed of the same direction summing circuit, at the same time V bt1 Connected to a single-input single-output analog behavioral device ABM b1 The input terminal of ABM b1 The output terminal is connected to switch S b1 The positive output terminal, S b1 The positive input terminal is connected to V control2 The negative input terminal is grounded, S b1 The negative output terminal is connected to resistor R.b5 To the ground, and also connected to R b1 -R b4 with U b1 When the circuit forms a summing circuit in the same direction, V is the input terminal of the circuit. control2 Not satisfied with S b1 On-condition, S b1 Disconnect, resistor R b5 The voltage drop is 0V, U b1 The output follows V bt1 When a circuit develops a decision-making habit, V control2 Satisfy S b1 On-condition, S b1 Closed, resistor R b5 The partial pressure is ABM b1 ABM's output voltage b1 Perform a multiplication of -0.7 on its input, resistor R b5 The partial voltage and V bt1 Summation, the result of which is U b1 Output. The total feedback signal V of the short-term emotional path when a decision is made incorrectly. errorb1 Includes V bf1 and V forget21 Two parts, V bf1 V is the feedback signal for the short-term emotional path when the circuit makes one or two decision errors. forget21 This refers to the forgetting signal generated by the circuit when it fails to make a decision after accumulating two incorrect decisions and then receiving a negative signal again, resulting in a forgetting of the short-term emotional path. b1 Output, U b2 Output and V errorb1 Connected to R b16 -R b19 with U b3 The input terminal of the inverting summation circuit, U b3 The output terminal is connected to R b20 -R b21 with U b4 The input terminal of the inverting circuit, U b4 The output represents the input signal of the short-term sentiment path, such as... Figure 3 As shown.
[0017] In the negative signal input pathway, the long-term emotional path input section of the input module contains three input signals: the output signal of COM2, V... bt2 and V errorb2 Among them, the feedback signal V of the long-term emotional path when the decision is correct. bt2 Connected to R b11 -R b14 with U b5The input terminal of the circuit composed of the same direction summing circuit, at the same time V bt2 Connected to a single-input single-output analog behavioral device ABM b3 The input terminal of ABM b3 The output terminal is connected to switch S b3 The positive output terminal, S b3 The positive input terminal is connected to V control2 The negative input terminal is grounded, S b3 The negative output terminal is connected to resistor R. b15 To the ground, and also connected to R b11 -R b14 with U b5 When the circuit forms a summing circuit in the same direction, V is the input terminal of the circuit. control2 Not satisfied with S b3 On-condition, S b3 Disconnect, resistor R b15 The voltage drop is 0V, U b5 The output follows V bt2 When a circuit develops a decision-making habit, V control2 Satisfy S b3 On-condition, S b3 Closed, resistor R b15 The partial voltage is ABM b3 ABM's output voltage b3 Perform a multiplication of -0.4 on its input, resistor R b15 The partial voltage and V bt2 Perform summation, and the result is given by U. b5 Output; the total feedback signal V of decision-making errors on the long-term emotional path. errorb2 Includes V bf2 and V forget22 Two parts, V bf2 V is the feedback signal to the long-term emotional path when the circuit makes one or two decision errors. forget22 This refers to the forgetting signal generated when a circuit fails to make a decision after accumulating two incorrect decisions and then receiving a negative signal again, resulting in forgetting of long-term emotional pathways. b5 The output of COM2 and V errorb2 Connected to R b22 -R b25 with U b6 The input terminal of the inverting summation circuit, U b6 The output terminal is connected to R b26 -R b27 with U b7 The input terminal of the inverting circuit, U b7 The output represents the input signal of the long-term emotional pathway, such as... Figure 3 As shown.
[0018] The emotion generation module consists of operational amplifier U b8 -U b11 Resistance R b28 -R b35 Absolute value modules ABS1 and ABS2, dual-input single-output analog behavioral device ABM b4 and ABM b5 ABM single-input single-output analog behavioral device b6 Memristors M5 and M6, AND gate D6, and voltage control switch S b4 S b5 Composition. Among them, M5 and R b28 With operational amplifier U b8 R b29 -R b30 With operational amplifier U b9 M6, R b31 With operational amplifier U b10 R b32 -R b33 With operational amplifier U b11 This forms an inverted circuit. In the short-term emotion path, U in the input module... b4 The output signal is applied to the positive terminal of memristor M5, and after passing through two stages of inverting circuitry, it is output by operational amplifier U. b9 Output, U b9 The output terminal is connected to switch S b4 The negative input terminal, S b4 The positive input terminal is grounded, S b4 The positive output terminal is connected to U b9 The output, S b4 The negative output terminal is connected to resistor R. b34 The output signal at the negative output terminal is denoted as V. ns This represents a short-term emotional signal from the negative signal input pathway, when U b9 The output does not satisfy S. b4 The conduction condition, resistor R b34 The voltage divider is 0V, V ns 0V; conversely, V ns Then follow U b9 The output of the input module, U, is in the long-term emotion path. b7 The output signal is applied to the negative terminal of memristor M6, and after passing through two stages of inverting circuitry, it is output by operational amplifier U. b11 Output, U b11 The output terminal is connected to switch S b5 The negative input terminal, S b5 The positive input terminal is grounded, S b5 The positive output terminal is connected to U b11 The output, S b5 The negative output terminal is connected to resistor R. b35The signal is connected to ground and also to the input of the absolute value module ABS2. The output of ABS2 is connected to one input of the logic AND gate D6. The input of the absolute value module ABS1 is connected to the input signal V. in The output of ABS1 is connected to the other input of the AND gate D6, and the output of D6 is connected to ABM. b6 The input terminal of ABM b6 Negating its input, ABM b6 The output signal is denoted as V nl This represents the long-term emotional signal in the negative signal input pathway, when U b11 The output does not satisfy S. b5 The conduction condition, resistor R b35 The voltage divider is 0V, V nl It is 0V; conversely, the resistance R is 0V. a35 The absolute value of the voltage divider and the absolute value of the input signal V. in After performing a bitwise AND operation on D6 and then negating the result, we obtain V. nl U b9 with U b11 The outputs are respectively connected to the dual-input single-output analog behavioral device ABM. b4 The input terminals IN1 and IN2, ABM b4 Perform the operation 0.3*IN1+0.7*IN2 on its two inputs, ABM b4 The output signal is denoted as V emtion2 This represents the weighted summation of the emotional signal. U b7 The output is connected to the dual-input single-output analog behavioral device ABM. b5 The input terminal IN2, U b10 The output is connected to ABM b5 Input terminal IN1, ABM b5 The operation performed is -IN2 / IN1, and its output is denoted as control signal V. control2 This indicates the change in the resistance of memristor M6. When the resistance of M6 reaches 4kΩ, it indicates that the decision circuit has formed a habit, such as... Figure 3 As shown.
[0019] In the emotion generation module, the dynamic changes in emotion are simulated by the resistance changes of memristors M5 and M6. Higher memristor resistance indicates lower emotion intensity, and vice versa. In V in In one cycle, during the first half of the cycle, the output signal of COM2 is applied to the positive terminal of memristor M5 and the negative terminal of M6. The resistance of M5 increases, while the resistance of M6 remains unchanged due to the stability of long-term emotions. The resulting emotional signals are weighted and summed before being input to the decision output module to generate a decision result. In the second half of the cycle, the circuit generates a feedback signal based on whether the decision result is correct or incorrect. If the decision is correct, a feedback signal V for the short-term emotional path is generated.bt1 and feedback signals V to long-term emotional pathways bt2 V bt1 This will decrease the resistance of M5, simulating the fading of short-term emotional memory when the negative signal disappears. However, the reduced resistance will be greater than the resistance at the time of the previous decision, indicating that residual emotional memory remains in the simulation. bt2 This will increase the resistance of M6, simulating the long-term emotional habituation process. The long-term emotional signal generated when a negative signal is input again will weaken. After multiple correct decisions, a decision-making habit will be formed. The formation of this habit is represented by the resistance of memristor M6 reaching a preset value. If the decision remains correct after the habit is formed, the circuit will then adjust COM2 and V... bt1 and V bt2 The value is adjusted so that it no longer meets the threshold conditions of M5 and M6. The resistance values of M5 and M6 will then remain unchanged, simulating a state where emotional fluctuations cease as habits are formed. If the decision is incorrect, a feedback signal V for the short-term emotional path is generated. bf1 and feedback signals V to long-term emotional pathways bf2 V bf1 This will reduce the resistance of M5, but the reduction in resistance due to incorrect decision-making is much greater than the reduction due to correct decision-making, and emotional memory will fade more significantly. bf2 This will reduce the resistance of M6, simulating the long-term emotional dehabitation process, so the long-term emotional signal generated by the next negative input will be stronger. If two incorrect decisions are accumulated, the circuit will not make a decision when a negative signal is input again, and there will be no feedback signal for correct or incorrect decision. At this time, the forgetting signal V... forget21 and V forget22 This significantly reduces the resistance values of M5 and M6, allowing the circuit to relearn when a negative signal is input next time.
[0020] The decision output module consists of signal V emtion2 V restore2 V threshold2 and V outcome2 Operational amplifier U b12 -U b15 Resistance R b36 -R b44 Memristor M7, control switch S b6 S b7 and dual-input single-output analog behavioral device ABM b7 Composition. Among them, resistance R b37 -R b40 With operational amplifier U b12 Form an inverting summing circuit; resistor R b42 -R b43 With operational amplifier U b13 Form an inverting circuit; memristor M7, resistor Rb44 With operational amplifier U b14 Form an inverting circuit. V emtion2 Connect to switch S b6 The positive input terminal, S b6 The negative input terminal is grounded, S b6 The negative output terminal is connected to 5V, and the positive output terminal is connected to resistor R. b36 Grounded, the output signal at the positive output terminal is denoted as V. decision2 This indicates a decision signal. V restore2 This represents the recovery signal. When the circuit accumulates two incorrect decisions, the decision module will not make a decision when a negative signal is input again, and the circuit will remain in a locked state. To release this locked state, a recovery signal V is added. restore2 V restore2 Increase the resistance of M7 to perform the recovery operation. V outcome2 Connect to switch S b7 The positive input terminal, S b7 The negative input terminal is grounded, S b7 The negative output terminal is connected to -0.6V, and the positive output terminal is connected to resistor R. b41 Grounded, the output signal at the positive output terminal is denoted as V. adjustment2 This represents the control signal applied to memristor M7 when the decision is correct or incorrect. V restore2 V adjustment2 and V decision2 Connected respectively to R b37 -R b40 and U b12 The input terminal of the inverting summator circuit is then connected to R. b42 -R b43 and U b13 An inverting circuit is applied to the positive terminal of memristor M7. b13 and U b14 The outputs are respectively connected to the dual-input single-output analog behavioral device ABM. b7 The input terminals IN2 and IN1, ABM b7 The -IN2 / IN1 operation outputs a signal indicating the value of the memristor M7, ABM. b7 The output terminal is connected to U b15 The negative input terminal, U b15 The positive input terminal is connected to V threshold2 V threshold2 This represents the decision threshold voltage, which is dynamically adjusted by the decision threshold module based on the result of each decision. V threshold2 The larger the value, the faster the decision-making speed. b15 The output is denoted as V output2 , representing the decision output signal, in V in Ub15 The output stepping from -15V to 15V indicates a decision has been made, and the duration of the -15V step represents the time taken to make the decision. At V in In the first half of a cycle, V decision2 This reduces the resistance of M7, ABM b7 The output also decreases when V... threshold2 Greater than ABM b7 When U is output, b15 When the voltage jumps from -15V to 15V, the circuit makes a decision; in the second half of the cycle, whether the decision is correct or incorrect, a regulating voltage V will be generated. adjustment2 This increases the resistance of M7, U b15 The voltage recovers from 15V to -15V; if no decision is made after two consecutive negative signals are input, then V... adjustment2 0V, V restore2 The output is applied to the positive terminal of memristor M7, increasing its resistance. The circuit can still make decisions even when a negative signal is input again. Figure 3 As shown.
[0021] The threshold adjustment module includes signal V control2 V bf and V restore2 Operational amplifier U b16 -U b18 Resistance R b45 -R b54 Memristor M8, control switch S b8 and dual-input single-output analog behavioral device ABM b8 ABM b9 Among them, the resistance R b45 -R b48 and U b16 Construct a summing circuit in the same direction; M8, R b49 and U b17 Forming an inverting circuit; resistor R b51 -R b54 and U b18 This forms a summing circuit in the same direction. The decision threshold voltage includes ABM. b8 Output voltage and resistance R b50 These two parts divide the pressure. V control2 Connect to ABM b8 Input terminal IN1, ABM b8 The input terminal IN2 is connected to a voltage of 1.8V, ABM. b8 The operation performed is 0.4*IN1+IN2, and its output is connected to resistor R. b51 -R b54 with U b18 The input terminal of the circuit that forms a summing circuit in the same direction. Decision failure signal V.bf and recovery signal V restore2 Connected to resistor R b45 -R b48 and U b16 The input terminal of the circuit formed by the same direction summing is U b16 The output voltage is applied to the negative terminal of M8, adjusting the resistance value of M8. b16 The output is also connected to ABM. b9 The input terminal IN2, U b17 The output is connected to ABM b9 Input terminal IN1, ABM b9 It performs the -IN2 / IN1 operation, and its output represents the change in the resistance value of M8. (ABM) b9 The output is connected to switch S. b8 The positive input terminal, S b8 The negative input terminal is grounded, S b8 The negative output terminal is connected to a -3V voltage, S b8 The positive output terminal is connected to resistor R. b50 Grounded, and the positive output terminal is connected to resistor R. b51 -R b54 and U b18 The input terminal of the circuit that forms a summing circuit in the same direction. R b50 Voltage division and ABM b8 The output voltages are summed, and the summation result is given by U. b18 Output, U b18 The output signal is denoted as V threshold2 , representing the decision threshold voltage. When the circuit makes a successful decision, V... bf and V restore2 Both are 0V, the resistance of M8 remains unchanged, ABM b9 The output does not satisfy switch S b8 The conduction condition, U b18 The output follows ABM b8 The output; when one or two decision errors occur, V restore2 The value is 0V but V bf Not 0V, V bf This increases the resistance of M8, ABM b9 The output also increases accordingly, and when two decision errors are accumulated, ABM... b9 Only the output of switch S satisfies the requirements. b8 The conduction condition is that a voltage of -3V will be connected to the resistor R. b51 -R b54 and U b18 The circuit formed by summing in the same direction, V threshold2 When V drops to a negative value, inputting a negative signal at this point will no longer produce a decision output. It's worth noting that when V... threshold2When the value drops to a negative value and there is no decision output, the recovery signal V... restore2 This will reduce the resistance of M8, ABM b9 The output also decreases as ABM... b9 The output decreases to the point where the switch S is no longer satisfied. b8 When the conduction threshold is reached, S b8 Disconnect, R b50 The voltage drop is 0V, V threshold2 Once things return to normal, decisions can still be made even when negative signals are input again, such as... Figure 3 As shown.
[0022] The result feedback module consists of signal V. forget21 V forget22 V check2 and V output2 Operational amplifier U b19 -U b23 Resistance R b55 -R b74 1. Capacitor C2, Sample-and-hold circuit LF398b, Control switch S b9 -S b12 ABM single-input single-output analog behavioral device b10 It consists of logic AND gates D4 and D5. Among them, R... b55 -R b56 and U b19 R b57 -R b58 and U b20 Construct an inverting circuit; R b63 -R b66 with U b21 R b67 -R b70 with U b22 and R b71 -R b74 with U b23 This forms a summing circuit in the same direction. V output2 Connected to the input of the sample-and-hold circuit LF398b, T2 represents the digital pulse signal, at V in The first half of the cycle, T2, is high, and the second half is low. The sample-and-hold circuit samples and saves the decision result. The output of the LF398b is connected to R... b55 -R b56 and U b19 The input terminal of the inverting circuit, U b19 The output is connected to R b57 -R b58 and U b20 The input terminal of the inverting circuit, U b20 The outputs are connected to one input of logic gates D4 and D5, respectively. check2V represents the test signal for the decision result. The test signal is positive when the decision is correct, and negative otherwise. check2 Connect to another input of D5, and the output of D5 is denoted as the decision correct signal V. bt V bt Connect to switch S b11 The positive input terminal is grounded, and the negative input terminal is connected to S. b11 The negative output terminal is connected to a 5V voltage, and the positive output terminal is connected to a resistor R. b59 The output voltage at the positive output terminal is denoted as V. bt1 This indicates a feedback signal from a successful decision to the short-term emotional path; V represents the response when a decision-making habit has not yet been formed. bt1 This reduces the resistance of M5; simultaneously, V bt Also connected to switch S b12 The positive input terminal is grounded, and the negative input terminal is connected to S. b12 The negative output terminal is connected to a 5.5V voltage, and the positive output terminal is connected to a resistor R. b60 The output voltage at the positive output terminal is denoted as V. bt2 This indicates that a successful decision provides feedback signals to the long-term emotional path; V indicates that a decision-making habit has not yet been formed. bt2 This increases the resistance of M6. Additionally, V check2 Access to ABM b10 The input terminal of ABM b10 To perform the negative operation, ABM b10 Output -V check2 Connected to another input of D4, the output of D4 represents the decision failure signal V. bf V bf Connect to switch S b9 The positive input terminal is grounded, and the negative input terminal is connected to S. b9 The negative output terminal is connected to a 1.6V voltage, and the positive output terminal is connected to a resistor R. b61 The output signal at the positive output terminal is denoted as V. bf1 This indicates a feedback signal from decision failure on the short-term emotional path, while S b9 The positive output terminal is connected to R b67 -R b70 with U b22 The input terminal of the circuit formed by the unidirectional summation is the forgotten signal V. forget21 Connected to the other end of the summing circuit input, U b22 The output is denoted as V errorb1 This represents the overall feedback signal of decision failure on the short-term emotional path; in addition, V bf Also connected to switch S b10 The positive input terminal is grounded, and the negative input terminal is connected to S. b10 The negative output terminal is connected to a -6V voltage, and the positive output terminal is connected to a resistor R. b62The output signal at the positive output terminal is denoted as V. bf2 This indicates the feedback signal of decision failure on the long-term emotional path, while S b10 The positive output terminal is connected to R b71 -R b74 with U b23 The input terminal of the circuit formed by the unidirectional summation is the forgotten signal V. forget22 Connected to the other end of the summing circuit input, U b23 The output is denoted as V errorb2 This represents the overall feedback signal of decision failure on the long-term emotional path. When the circuit makes one or two decision errors, the forgetting signal V... forget21 and V forget22 All are 0V, and the feedback signal of the short-term sentiment path is V. bf1 V bf1 This reduces the resistance of M5, and the feedback signal of the long-term emotional pathway is V. bf2 V bf2 This reduces the resistance of M6; after the circuit has accumulated two decision errors, if a negative signal is input again, the circuit will not make a decision, V bf and V bt All are 0V, and the feedback signal of the short-term sentiment path is V. forget21 The feedback signal of the long-term emotional path is V. forget22 V forget21 and V forget22 This significantly reduces the resistance values of memristors M5 and M6, respectively, while simultaneously repairing the signal V. restore2 This reduces the resistance of memristors M7 and M8, allowing the circuit to restart its decision-making process when a negative signal is input again. Furthermore, V bt and V bf Connected to resistor R b63 -R b66 and operational amplifier U b21 The input terminal of the circuit formed by the same direction summing is U b21 The output signal is denoted as V outcome2 When the decision is successful, U b21 The output is V bt If it fails, it will be V. bf ,like Figure 3 As shown.
[0023] The memristor decision circuit proposed in this invention includes a positive signal input path and a negative signal input path, with input signal V inAfter passing through COM1 and COM2, only one of them will have an output signal, while the other will output 0V. With repeated application of stimuli, the short-term and long-term emotional signals of the emotion generation module will gradually weaken, and the time required to make a decision will gradually shorten. Simultaneously, the repeated execution of the decision will form a habit. When the resistance values of memristors M2 and M6 in the long-term emotional path reach a certain threshold, it indicates the formation of a habit. After habituation, the short-term and long-term emotions will tend to stabilize, and the resistance values of M2 and M6 will no longer change. The decision-making circuit can also make decisions incorrectly. A decision error occurs when the input signal V... in Errors, such as V in This should have been a negative signal, but due to an incorrect input V... in To illustrate this, let's take a positive signal input path decision error as an example. V in What should have been a negative signal is instead a positive signal. In this case, the positive signal input path will produce a decision output, but after verification, the decision is found to be incorrect. The feedback signal causes the resistance of memristors M1 and M2 to decrease. The next positive signal input will generate a stronger emotional response, leading to more cautious decision-making because the previous decision error was caused by the positive signal. After two accumulated decision errors, the decision threshold becomes negative, and the circuit will not make a decision when a positive signal is input again. The positive signal input path will remain locked. To prevent this lock-up, a recovery signal V is introduced. restore1 At the same time, a forgetting signal V is introduced. forget11 and V forget12 , recovery signal V restore1 This lockout is released by increasing the resistance of memristor M3 in the decision output module and decreasing the resistance of memristor M4 in the threshold adjustment module, while the forgetting signal V... forget11 and V forget12 This significantly reduces the resistance values of memristors M1 and M2 respectively, when V... in When the signal is positive, the positive signal input path restarts the decision-making process. Attached Figure Description
[0024] Figure 1 This is a block diagram of a memristor decision circuit that integrates emotional habituation and behavioral reinforcement.
[0025] Figure 2 A schematic diagram of a memristor decision circuit for a positive signal input path.
[0026] Figure 3 A schematic diagram of a memristor decision circuit for a negative signal input path.
[0027] Figure 4 The circuit simulation results are shown for a positive signal input path with no decision errors; among them, Figure 4 (a) is the input signal Vin Simulation diagram, Figure 4 (b) is the short-term sentiment signal V ps Simulation diagram, Figure 4 (c) represents the long-term emotional signal V pl Simulation diagram, Figure 4 (d) is the decision output signal V output1 Simulation diagram, Figure 4 (e) is a simulation diagram of the resistance changes of memristors M1 and M2.
[0028] Figure 5 The circuit simulation results are shown in the diagram when there is no decision error in the negative signal input path; among them, Figure 5 (a) is the input signal V in Simulation diagram, Figure 5 (b) is the short-term sentiment signal V ns Simulation diagram, Figure 5 (c) represents the long-term emotional signal V nl Simulation diagram, Figure 5 (d) is the decision output signal V output2 Simulation diagram, Figure 5 (e) is a simulation diagram of the resistance changes of memristors M5 and M6.
[0029] Figure 6 The circuit simulation results are shown for alternating decision-making when there are no decision errors in the positive signal input path and the negative signal input path; among them, Figure 6 (a) is the input signal V in Simulation diagram, Figure 6 (b) Short-term emotion signal V from two signal input pathways ps and V ns Simulation diagram, Figure 6 (c) represents the long-term emotional signal V from the two signal input pathways. pl and V nl Simulation diagram, Figure 6 (d) is the positive signal input path decision output signal V. output1 Simulation diagram, Figure 6 (e) represents the negative signal input path decision output signal V. output2 Simulation diagram, Figure 6 (f) is a simulation diagram of the resistance changes of memristors M1, M2, M5 and M6.
[0030] Figure 7 The circuit simulation results are shown when there is a decision error in the positive signal input path; among them, Figure 7 (a) is the input signal V in Simulation diagram, Figure 7 (b) is the long-term emotional signal V pl Simulation diagram, Figure 7(c) shows the simulation diagram of the resistance changes of memristors M1, M2 and M4. Figure 7 (d) represents the short-term sentiment signal V. ps Simulation diagram, Figure 7 (e) is the decision output signal V output1 Simulation diagram, Figure 7 (f) represents the threshold voltage V threshold1 Simulation diagram.
[0031] Figure 8 The circuit simulation results are shown when there is a decision error in the negative signal input path; among them, Figure 8 (a) is the input signal V in Simulation diagram, Figure 8 (b) is the short-term sentiment signal V ns Simulation diagram, Figure 8 (c) represents the long-term emotional signal V nl Simulation diagram, Figure 8 (d) is the decision output signal V output2 Simulation diagram, Figure 8 (e) shows the simulation diagram of the resistance changes of memristors M5, M6, and M8. Figure 8 (f) represents the threshold voltage V threshold2 Simulation diagram. Detailed Implementation
[0032] To make the technical solution, objectives, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings.
[0033] like Figure 1 As shown, this invention proposes a memristor decision circuit that integrates emotional habituation and behavioral reinforcement. It includes positive signal input paths and negative signal input paths, and each signal input path includes an input module, an emotion generation module, a decision output module, a threshold adjustment module, and a result feedback module. The input module can be divided into a short-term emotional path input section and a long-term emotional path input section, and the emotion generation module is further divided into short-term emotional paths and long-term emotional paths.
[0034] like Figure 2 The diagram shows a memristor decision circuit for the positive signal input path. In the positive signal input path, the input module includes NMOS transistors N1 and N2, PMOS transistors P1 and P2, and resistor R. a1 -R a27 Voltage control switch S a1 -S a3 ABM single-input single-output analog behavioral device a1 -ABM a3 Operational amplifier U a1 -U a7 Input signal V inand feedback signal V errora1 V errora2 V at1 V at2 and V control1 Among them, MOSFETs P1, P2, N1, and N2 form a complementary comparator COM1; R a1 -R a4 With operational amplifier U a1 R a6 -R a9 With operational amplifier U a2 and R a11 -R a14 With operational amplifier U a5 Form a summing circuit in the same direction; R a16 -R a19 With operational amplifier U a3 and R a22 -R a25 With operational amplifier U a6 Form an inverting summing circuit; R a20 -R a21 With operational amplifier U a4 and R a26 -R a27 With operational amplifier U a7 This forms an inverting circuit. In COM1, the sources of P1 and P2 are connected to 5V, the source of N1 is connected to 2V, and the source of N2 is connected to 0V. The gate and drain of N1 are connected to the gate and drain of P1, respectively, and the gate and drain of N2 are connected to the gate and drain of P2, respectively. The junction of the gates of N1 and P1 is connected to an external input voltage V. in The drain outputs of N1 and P1 are connected to the intersection of the gates of N2 and P2, and the drain outputs of N2 and P2 are the output signals of COM1. In the short-term emotion path input, the output of COM1 is connected to the resistor R. a6 Connected to operational amplifier U a2 The positive input terminal of COM1 is connected to the ABM, while the output terminal of COM1 is connected to the ABM. a2 The input terminal of ABM a2 The output terminal is connected to switch S a2 The positive output terminal, S a2 The positive input terminal is connected to V control1 S a2 The negative input terminal is grounded, S a2 The negative output terminal is connected to resistor R. a10 The output is connected to ground, and the negative output terminal is also connected to resistor R. a7 Connect to U a2 The positive input terminal, U a2 The negative input terminal passes through resistor R a8 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. a9Connect to the output terminal; V at1 Through resistor R a1 Connect to U a1 The positive input terminal, at the same time V at1 Connect to ABM a1 The input terminal of ABM a1 The output terminal is connected to switch S a1 The positive output terminal, S a1 Positive input terminal connected to V control1 The negative input terminal is grounded, S a1 The negative output terminal is connected to resistor R. a5 The output goes to ground, and the negative output also goes through R. a2 Connect to U a1 The positive input terminal, U a1 The negative input terminal passes through resistor R a3 Arrive at the ground, and at the same time U a1 The negative input terminal passes through resistor R a4 Connect to U a1 The output terminal. U a1 The output terminal is connected to resistor R a17 U a2 The output terminal is connected to resistor R a18 and V errora1 After R a16 Connect to U a3 The negative input terminal, U a3 The positive input terminal of U is grounded. a3 The negative input terminal passes through resistor R a19 Connect to the output terminal, U a3 The output terminal is connected to resistor R a20 Connect to U a4 The negative input terminal, U a4 The negative input terminal passes through resistor R a21 Connect to the output terminal, U a4 The positive input terminal is grounded. In long-term emotional path input, V at2 After passing through resistor R a11 Connect to U a5 The positive input terminal, and V at2 Connect to ABM a3 The input terminal of ABM a3 The output terminal is connected to switch S a3 The positive output terminal, S a3 The positive input terminal is connected to V control1 The negative input terminal is grounded, S a3 The negative output terminal is connected to resistor R. a15 The output is connected to ground, and the negative output terminal is connected to resistor R. a12 Connect to U a5 Positive input terminal, U a5 The negative input terminal passes through resistor Ra13 It reaches ground and also passes through resistor R. a14 Connect to U a5 The output terminal of COM1 is connected to resistor R. a22 U a5 The output terminal is connected to resistor R a23 and V errora2 After passing through resistor R a24 Connect to U a6 The negative input terminal, U a6 The positive input terminal is grounded, and the negative input terminal is connected to a resistor R. a25 Connect to the output terminal, U a6 The output terminal passes through resistor R a26 Connect to U a7 The negative input terminal, U a7 The positive input terminal is grounded, and U a7 The negative input terminal passes through resistor R a27 Connect to the output terminal.
[0035] exist Figure 2 In the middle, the emotion generation module consists of operational amplifier U a8 -U a11 Resistance R a28 -R a35 Dual-input single-output analog behavioral device ABM a4 and ABM a5 Memristors M1 and M2, AND gate D3, and voltage control switch S a4 S a5 Composition. Among them, M1 and R a28 With operational amplifier U a8 R a29 -R a30 With operational amplifier U a9 M2, R a31 With operational amplifier U a10 R a32 -R a33 With operational amplifier U a11 This forms an inverted circuit. In the short-term emotion path, the input module U... a4 The output is connected to the negative terminal of memristor M1, and the positive terminal of memristor is connected to U. a8 The negative input terminal, U a8 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a28 Connect to the output terminal, U a8 The output terminal is connected to resistor R a29 Connect to U a9 The negative input terminal, U a9 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a30 Connect to the output terminal, U a9The output is connected to switch S. a4 The positive input terminal is also connected to S. a4 The positive output terminal, S a4 The negative input terminal is grounded, S a4 The negative output terminal passes through resistor R a34 Arrive at the ground, S a4 The negative output terminal is denoted as signal V. ps In the long-term emotional pathway, the input module U a7 The output of the memristor is connected to the positive terminal of the memristor M2, and the negative terminal of the memristor is connected to the operational amplifier U. a10 The negative input terminal, U a10 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a31 Connect to the output terminal, U a10 The output terminal is connected to resistor R a32 Connect to U a11 The negative input terminal, U a11 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a33 Connect to the output terminal, U a11 The output is connected to switch S. a5 The positive input terminal is also connected to S. a5 The positive output terminal, S a5 The negative input terminal is grounded, and the negative output terminal is connected to resistor R. a35 It is connected to ground and also to one input of D3. The other input of D3 is connected to V. in The output of D3 is denoted as signal V. pl In addition, U a9 The output terminal and U a11 The output terminals are respectively connected to ABM a4 The input terminals IN1 and IN2, U a10 The output terminal and U a7 The output terminals are respectively connected to ABM a5 The input terminals IN1 and IN2.
[0036] exist Figure 2 In the middle, the decision output module includes signal V emtion1 V restore1 V threshold1 and V outcome1 Operational amplifier U a12 -U a15 Resistance R a36 -R a44 Memristor M3, control switch S a6 S a7 and dual-input single-output analog behavioral device ABM a6 Among them, the resistance R a37 -R a40With operational amplifier U a12 Form an inverting summing circuit; resistor R a42 -R a43 With operational amplifier U a13 Form an inverting circuit; memristor M3, resistor R a44 With operational amplifier U a14 To form an inverting circuit. ABM a4 Output signal V emtion1 Connect to switch S a6 The positive input terminal is grounded, and the negative input terminal is connected to S. a6 The negative output terminal is connected to a 5V voltage, and the positive output terminal is connected to a resistor R. a36 Arrival. V outcome1 Connect to switch S a7 The positive input terminal, S a7 The negative input terminal is grounded, S a7 The negative output terminal is connected to -0.6V, and the positive output terminal is connected to resistor R. a41 Grounding. S a6 The positive output terminal passes through resistor R a37 V restore1 After passing through resistor R a38 and S a7 The positive output terminal passes through resistor R a39 Connect to U a12 The negative input terminal, U a12 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a40 Connect to the output terminal, U a12 The output terminal is connected to resistor R a42 Connect to U a13 The negative input terminal, U a13 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a43 Connect to the output terminal, U a13 The output terminal is connected to the positive terminal of memristor M3, and the negative terminal of M3 is connected to U. a14 The negative input terminal, U a14 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a44 Connect to the output terminal, U a13 The output terminal and U a14 The output terminals are respectively connected to ABM a6 The input terminals IN2 and IN1, ABM a6 The output terminal is connected to U a15 The negative input terminal, U a18 Output signal V threshold1 Connect to U a15 The positive input terminal, U a15 The output signal is denoted as V. output1 .
[0037] exist Figure 2 In the middle, the threshold adjustment module includes signal V control1 V af and V restore1 Operational amplifier U a16 -U a18 Resistance R a45 -R a54 Memristor M4, control switch S a8 and dual-input single-output analog behavioral device ABM a7 ABM a8 Among them, the resistance R a45 -R a48 and U a16 Construct a summing circuit in the same direction; M4, R a49 and U a17 Forming an inverting circuit; resistor R a51 -R a54 and U a18 This forms a summing circuit in the same direction. ABM a5 Output terminal V control1 Connect to ABM a7 Input terminal IN1, ABM a7 The input terminal IN2 is connected to a 1.8V voltage, ABM a7 The output terminal is connected to resistor R a51 Connect to U a18 The positive input terminal. V af After passing through resistor R a46 and V restore1 After passing through resistor R a45 Connect to U a16 The positive input terminal, U a16 The negative input terminal is connected to a resistor R. a47 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. a48 Connect to the output terminal, U a16 The output terminal is connected to the negative terminal of memristor M4, and the positive terminal of M4 is connected to U. a17 The negative input terminal, U a17 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a49 Connect to the output terminal. U a16 The output terminal and U a17 The output terminals are respectively connected to ABM a8 The input terminals IN2 and IN1, ABM a8 The output terminal is connected to switch S a8 The positive input terminal, S a8 The negative input terminal is grounded, S a8 The negative output terminal is connected to a voltage of -3V, and the positive output terminal is connected to a resistor R. a50 The positive output terminal is connected to ground, and simultaneously, the positive output terminal passes through resistor R. a52Connected to operational amplifier U a18 The positive input terminal, U a18 The negative input terminal is connected to a resistor R. a53 Arrive at the destination, U a18 The negative input terminal passes through resistor R a54 Connect to the output terminal, U a18 The output signal is denoted as V. threshold1 .
[0038] exist Figure 2 In the middle, the result feedback module consists of signal V forget11 V forget12 V check1 and V output1 Operational amplifier U a19 -U a23 Resistance R a55 -R a74 Capacitor C1, Sample-and-hold circuit LF398a, Control switch S a9 -S a12 ABM single-input single-output analog behavioral device a9 It consists of logic AND gates D1 and D2. Where R... a55 -R a56 and U a19 R a57 -R a58 and U a20 Construct an inverting circuit; R a63 -R a66 with U a21 R a67 -R a70 with U a22 and R a71 -R a74 with U a23 This forms a summing circuit in the same direction. V output1 Connect to the input of the sample-and-hold circuit LF398a. The positive power supply of the sample-and-hold circuit is connected to 9V, and the negative power supply is connected to -9V. The logic input is connected to T1, the logic reference is grounded, and the holding capacitor is connected to ground via capacitor C1. The output of the LF398a is connected through resistor R. a55 Connect to U a19 The negative input terminal, U a19 The positive input terminal of U is grounded. a19 The negative input terminal passes through resistor R a56 Connect to the output terminal, U a19 The output terminal is connected to resistor R a57 Connect to U a20 The negative input terminal is grounded, and the positive input terminal is grounded. a20 The negative input terminal passes through resistor R a58 Connect to the output terminal. U a20The output terminal of V is connected to one input terminal of D2. check1 Connect to the other input terminal of D2, and connect the output terminal of D2 to switch S. a11 The positive input terminal is grounded, and the negative input terminal is connected to S. a11 The negative output terminal is connected to a voltage of -5V, S a11 The positive output terminal is connected to resistor R. a59 Arrive at the ground, S a11 The positive output signal is denoted as V. at1 The output of D2 is also connected to switch S. a12 The positive input terminal is grounded, and the negative input terminal is connected to S. a12 The negative output terminal is connected to a voltage of -5.5V, and the positive output terminal is connected to a resistor R. a60 Arrive at the ground, S a12 The positive output signal is denoted as V. at2 Meanwhile, U a20 The output terminal is connected to one input terminal of D1, V check1 Connect to ABM a9 The input terminal of ABM a9 The output terminal is connected to the other input terminal of the AND gate D1. The output terminal of D1 is denoted as V. af And connected to switch S a9 The positive input terminal, S a9 The negative input terminal is grounded, S a9 The negative output terminal is connected to a voltage of -2.6V, S a9 The positive output terminal is connected to resistor R. a61 Upon arrival, at the same time, S a9 The positive output terminal passes through resistor R a68 Connect to U a22 The positive input terminal, V forget11 After passing through resistor R a67 Connect to U a22 The positive input terminal, U a22 The negative input terminal passes through resistor R a69 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. a70 Connect to its output, U a22 The output signal is denoted as V. errora1 The output of D1 is also connected to switch S. a10 The positive input terminal, S a10 The negative input terminal is grounded, S a10 The negative output terminal is connected to a 6V voltage, and the positive output terminal is connected to a resistor R. a62 Upon arrival, at the same time, S a10 The positive output terminal passes through resistor R a72 Connect to U a23 The positive input terminal, V forget12 After passing through resistor R a71Connect to U a23 The positive input terminal, U a23 The negative input terminal passes through resistor R a73 Arrive at the ground, and at the same time U a23 The negative input terminal passes through resistor R a74 Connect to its output, U a23 The output signal is denoted as V. errora2 It is worth noting that the output of D2 is connected to resistor R. a63 The output terminal of D1 is connected to resistor R. a64 Connect to U a21 The positive input terminal, U a21 The negative input terminal is connected to a resistor R. a65 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. a66 Connect to the output terminal, U a21 The output signal is denoted as V. outcome1 .
[0039] like Figure 3 The diagram shows a memristor decision circuit for a negative signal input path. The input module includes NMOS transistors N3 and N4, PMOS transistors P3 and P4, and resistor R. b1 -R b27 Voltage control switch S b1 -S b3 ABM single-input single-output analog behavioral device b1 -ABM b3 Operational amplifier U b1 -U b7 Input signal V in and feedback signal V errorb1 V errorb2 V bt1 V bt2 and V control2 Among them, MOSFETs P3, P4, N3, and N4 form a complementary comparator COM2; R b1 -R b4 With operational amplifier U b1 R b6 -R b9 With operational amplifier U b2 and R b11 -R b14 With operational amplifier U b5 Form a summing circuit in the same direction; R b16 -R b19 With operational amplifier U b3 and R b22 -R b25 With operational amplifier U b6 Form an inverting summing circuit; R b20 -R b21With operational amplifier U b4 and R b26 -R b27 With operational amplifier U b7 This forms an inverting circuit. In COM2, the source of P3 is connected to -1.5V, the source of P4 is connected to 0V, the source of N3 is connected to -6V, and the source of N4 is connected to -5V. The gate and drain of N3 are connected to the gate and drain of P3, respectively, and the gate and drain of N4 are connected to the gate and drain of P4, respectively. The junction of the gates of N3 and P3 is connected to an external input voltage V. in The drain outputs of N3 and P3 are connected to the intersection of the gates of N4 and P4, and the drain outputs of N4 and P4 serve as the output signal of COM2. In the short-term emotion path input, the output of COM2 is transmitted through resistor R. b6 Connected to operational amplifier U b2 The positive input terminal of COM2 is connected to the ABM, while the output of COM2 is connected to the positive input terminal. b2 The input terminal of ABM b2 The output terminal is connected to switch S b2 The positive output terminal, S b2 The positive input terminal is connected to V control2 S b2 The negative input terminal is grounded, S b2 The negative output terminal is connected to resistor R. b10 Arrive at the ground, and at the same time S b2 The negative output terminal is also connected to resistor R. b7 Connect to U b2 The positive input terminal, U b2 The negative input terminal is connected to a resistor R. b8 Arrive at the ground, and at the same time U b2 The negative input terminal passes through resistor R b9 Connect to the output terminal; V bt1 Through resistor R b1 Connect to U b1 The positive input terminal, at the same time V bt1 Access to ABM b1 The input terminal of ABM b1 The output terminal is connected to switch S b1 The positive output terminal, S b1 Positive input terminal connected to V control2 The negative input terminal is grounded, S b1 The negative output terminal is connected to resistor R. b5 Arrive at the ground, and at the same time S b1 The negative output terminal also passes through R b2 Connect to U b1 The positive input terminal, U b1 The negative input terminal is connected to a resistor R. b3 Arrive at the destination, U b1 The negative input terminal passes through resistor Rb4 Connect to the output terminal. U b1 The output terminal is connected to resistor R b17 U b2 The output terminal is connected to resistor R b18 and V errorb1 After passing through resistor R b16 Connect to U b3 The negative input terminal, U b3 The positive input terminal of U is grounded. b3 The negative input terminal passes through resistor R b19 Connect to the output terminal, U b3 The output terminal is connected to resistor R b20 Connect to U b4 The negative input terminal, U b4 The positive input terminal is grounded, and U b4 The negative input terminal passes through resistor R b21 Connect to the output. In the long-term emotion path input, V bt2 After passing through resistor R b11 Connect to U b5 The positive input terminal, and V bt2 Connect to ABM b3 The input terminal of ABM b3 The output terminal is connected to switch S b3 The positive output terminal, S b3 The positive input terminal is connected to V control2 The negative input terminal is grounded, S b3 The negative output terminal is connected to resistor R. b15 Arrive at the ground, and at the same time S b3 The negative output terminal passes through resistor R b12 Connect to U b5 Positive input terminal, U b5 The negative input terminal is connected to a resistor R. b13 Arrive at the ground, and at the same time U b5 The negative input terminal also passes through resistor R. b14 Connect to the output terminal. The output terminal of COM2 is connected to resistor R. b22 U b5 The output terminal is connected to resistor R b23 and V errorb2 After passing through resistor R a24 Connect to U a6 The negative input terminal, U b6 The positive input terminal is grounded, and U a6 The negative input terminal passes through resistor R b25 Connect to the output terminal, U b6 The output terminal passes through resistor R b26 Connect to U b7 The negative input terminal, U b7 The positive input terminal is grounded, and Ub7 The negative input terminal passes through resistor R b27 Connect to the output terminal.
[0040] exist Figure 3 In the middle, the emotion generation module consists of operational amplifier U b8 -U b11 Resistance R b28 -R b35 Absolute value modules ABS1 and ABS2, dual-input single-output analog behavioral device ABM b4 and ABM b5 ABM single-input single-output analog behavioral device b6 Memristors M5 and M6, AND gate D6, and voltage control switch S b4 S b5 Composition. Among them, M5 and R b28 With operational amplifier U b8 R b29 -R b30 With operational amplifier U b9 M6, R b31 With operational amplifier U b10 R b32 -R b33 With operational amplifier U b11 This forms an inverted circuit. In the short-term emotion path, the input module U... b4 The output of M5 is connected to the positive terminal, and the negative terminal of M5 is connected to U. b8 The negative input terminal, U b8 The positive input terminal of U is grounded. b8 The negative input terminal is connected to resistor R. b28 Connect to the output terminal, U b8 The output terminal is connected to resistor R b29 Connect to U b9 The negative input terminal, U b9 The positive input terminal of U is grounded. b9 The negative input terminal passes through resistor R b30 Connect to the output terminal, U b9 The output is connected to switch S. b4 The negative input terminal is also connected to S. b4 The positive output terminal, S b4 The positive input terminal is grounded, S b4 The negative output terminal is connected to resistor R. b34 Arrive at the ground, S b4 The negative output terminal is denoted as signal V. ns In the long-term emotional pathway, the input module U b7 The output of M6 is connected to the negative terminal, and the positive terminal of M6 is connected to U. b10 The negative input terminal, U b10The positive input terminal of U is grounded. b10 The negative input terminal passes through resistor R b31 Connect to the output terminal, U b10 The output terminal is connected to resistor R b32 Connect to U b11 The negative input terminal, U b11 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. b33 Connect to the output terminal, U b11 The output terminal is connected to switch S b5 The negative input terminal is also connected to S. b5 The positive output terminal, S b5 The positive input terminal is grounded, and the negative output terminal is connected to a resistor R. b35 The circuit is connected to ground and also to the input of ABS2. The output of ABS2 is connected to one input of D6. V in Connect the input terminal of ABS1, connect the output terminal of ABS1 to the other input terminal of D6, and connect the output of D6 to ABM. b6 The input terminal of ABM b6 The output terminal is denoted as signal V. nl In addition, U b9 Output and U b11 The outputs are connected to ABM respectively. b4 The input terminals IN1 and IN2, U b10 Output and U b7 The outputs are connected to ABM respectively. b5 The input terminals IN1 and IN2.
[0041] exist Figure 3 In the middle, the decision output module consists of signal V emtion2 V restore2 V threshold2 and V outcome2 Operational amplifier U b12 -U b15 Resistance R b36 -R b44 Memristor M7, control switch S b6 S b7 and dual-input single-output analog behavioral device ABM b7 Composition. Among them, resistance R b37 -R b40 With operational amplifier U b12 Form an inverting summing circuit; resistor R b42 -R b43 With operational amplifier U b13 Form an inverting circuit; memristor M7, resistor R b44 With operational amplifier U b14 To form an inverting circuit. ABMb4 Output signal V emtion2 Connect to switch S b6 The positive input terminal, S b6 The negative input terminal is grounded, S b6 The negative output terminal is connected to a 5V voltage, and the positive output terminal is connected to a resistor R. b36 Arrival. V outcome2 Connect to switch S b7 The positive input terminal, S b7 The negative input terminal is grounded, S b7 The negative output terminal is connected to -0.6V, and the positive output terminal is connected to resistor R. b41 Arrived at the destination. b6 The positive output terminal passes through resistor R b37 V restore2 After passing through resistor R b38 and S b7 The positive output terminal passes through resistor R b39 Connect to U b12 The negative input terminal, U b12 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. b40 Connect to the output terminal, U b12 The output terminal is connected to resistor R b42 Connect to U b13 The negative input terminal, U b13 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. b43 Connect to the output terminal, U b13 The output terminal of M7 is connected to the positive terminal of M7, and the negative terminal of M7 is connected to U. b14 The negative input terminal, U b14 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. b44 Connect to the output terminal. U b13 The output terminal and U b14 The output terminals are respectively connected to ABM b7 The input terminals IN2 and IN1, ABM b7 The output terminal is connected to U b15 The negative input terminal, U b18 Output signal V threshold2 Connect to U b15 The positive input terminal, U b15 The output signal is denoted as V. output2 .
[0042] exist Figure 3 In the middle, the threshold adjustment module includes signal V control2 V bf and V restore2 Operational amplifier U b16 -U b18 Resistance R b45 -Rb54 Memristor M8, control switch S b8 and dual-input single-output analog behavioral device ABM b8 ABM b9 Among them, the resistance R b45 -R b48 and U b16 Construct a summing circuit in the same direction; M8, R b49 and U b17 Forming an inverting circuit; resistor R b51 -R b54 and U b18 This forms a summing circuit in the same direction. ABM b5 Output terminal V control2 Connect to ABM b8 Input terminal IN1, ABM b8 The input terminal IN2 is connected to a 1.8V voltage, ABM b8 The output terminal is connected to resistor R b51 Connect to U b18 The positive input terminal. V bf After passing through resistor R b46 Connect to U b16 The positive input terminal, V restore2 After passing through resistor R b45 Connect to U b16 The positive input terminal, U b16 The negative input terminal is connected to a resistor R. b47 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. b48 Connect to the output terminal, U b16 The output terminal of M8 is connected to the negative terminal of M8, and the positive terminal of M8 is connected to U. b17 The negative input terminal, U b17 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. b49 Connect to the output terminal. U b16 The output terminal and U b17 The output terminals are respectively connected to ABM b9 The input terminals IN2 and IN1, ABM b9 The output terminal is connected to switch S b8 The positive input terminal is grounded, and the negative input terminal is connected to S. b8 The negative output terminal is connected to a voltage of -3V, S b8 The positive output terminal is connected to resistor R. b50 The positive output terminal is connected to ground, and simultaneously, the positive output terminal passes through resistor R. b52 Connect to U b18 The positive input terminal, U b18 The negative input terminal is connected to a resistor R. b53 Arrive at the ground, and at the same time U b18 The negative input terminal passes through resistor R b54Connect to the output terminal, U b18 The output signal is denoted as V. threshold2 .
[0043] exist Figure 3 In the middle, the result feedback module consists of signal V forget21 V forget22 V check2 and V output2 Operational amplifier U b19 -U b23 Resistance R b55 -R b74 1. Capacitor C2, Sample-and-hold circuit LF398b, Control switch S b9 -S b12 ABM single-input single-output analog behavioral device b10 It consists of logic AND gates D4 and D5. Among them, R... b55 -R b56 and U b19 R b57 -R b58 and U b20 Construct an inverting circuit; R b63 -R b66 with U b21 R b67 -R b70 with U b22 and R b71 -R b74 with U b23 This forms a summing circuit in the same direction. U b15 Output signal V output2 Connect to the input of the sample-and-hold circuit LF398b. The positive power supply of the sample-and-hold circuit is connected to 9V, and the negative power supply is connected to -9V. The logic input is connected to T2, the logic reference is grounded, and the holding capacitor is connected to ground via capacitor C2. The output of the LF398b is connected through resistor R. b55 Connect to U b19 The negative input terminal, U b19 The positive input terminal of U is grounded. b19 The negative input terminal passes through resistor R b56 Connect to the output terminal, U b19 The output terminal is connected to resistor R b57 Connect to U b20 The negative input terminal, U b20 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. b58 Connect to the output terminal. U b20 The output terminal is connected to one input terminal of D5, V check2 Connect to the other input of D5, and connect the output of D5 to switch S. b11 The positive input terminal is grounded, and the negative input terminal is connected to S. a11The negative output terminal is connected to a 5V voltage, and the positive output terminal is connected to a resistor R. b59 Arrive at the ground, S b11 The positive output signal is denoted as V. bt1 The output of D5 is also connected to switch S. b12 The positive input terminal is grounded, and the negative input terminal is connected to S. b12 The negative output terminal is connected to a voltage of 5.5V, S b12 The positive output terminal is connected to resistor R. b60 Arrive at the ground, S b12 The positive output signal is denoted as V. bt2 Meanwhile, U b20 The output terminal is connected to one input terminal of D4, V check2 Connect to ABM b10 The input terminal of ABM b10 The output terminal of D4 is connected to the other input terminal of D4, and the output terminal of D4 is connected to switch S. b9 The positive input terminal, S b9 The negative input terminal is grounded, S b9 The negative output terminal is connected to a voltage of 1.6V, and the positive output terminal is connected to a resistor R. b61 Upon arrival, at the same time, S b9 The positive output terminal passes through resistor R b68 Connect to U b22 The positive input terminal, V forget21 After passing through resistor R b67 Connect to U b22 The positive input terminal, U b22 The negative input terminal passes through resistor R b69 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. b70 Connect to its output, U b22 The output signal is denoted as V. errorb1 The output of D4 is also connected to switch S. b10 The positive input terminal, S b10 The negative input terminal is grounded, S b10 The negative output terminal is connected to a -6V voltage, and the positive output terminal is connected to a resistor R. b62 Arrive at the ground, and at the same time S b10 The positive output terminal passes through resistor R b72 Connect to U b23 The positive input terminal, V forget22 After passing through resistor R b71 Connect to U b23 The positive input terminal, U b23 The negative input terminal passes through resistor R b73 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. b74 Connect to its output, U b23 The output signal is denoted as V. errorb2It is worth noting that the output of D5 is connected to resistor R. b63 The output terminal of D4 is connected to resistor R. b64 Connect to U b21 The positive input terminal, U b21 The negative input terminal is connected to a resistor R. b65 Arrive at the ground, and at the same time U b21 The negative input terminal passes through resistor R b66 Connect to the output terminal, U b21 The output signal is denoted as V. outcome2 .
[0044] Figure 4 The circuit simulation results are shown for a positive signal input path with no decision errors. Let the input signal V... in The period is 1 second. A 5V pulse signal is applied for the first half of the period (0.5 seconds), and 0V is applied for the second half of the period (0.5 seconds). During the first half of the period, V... in This causes the resistance of M1 to increase; due to the stability of long-term emotions, the resistance of M2 remains unchanged in the first half of the cycle; in the second half of the cycle (0.5s), the circuit generates a feedback signal V based on the decision result. at1 and V at2 V at1 This will decrease the resistance of M1, but the reduced resistance will be larger than the initial resistance. Overall, the change in the resistance of M1 shows an upward trend. at2 This increases the resistance of memristor M2, and the increase in M1 and M2 weakens the emotional intensity generated when a positive signal is input again. As V... in The application of this effect causes the decision-making circuit to form a decision-making habit. When the resistance of memristor M2 reaches 4.5kΩ, it signifies the formation of this habit. Once the habit is formed, the resistance of the memristor no longer changes, and both short-term and long-term emotional signals tend to a stable value. Furthermore, the speed of decision-making also changes. Initially, making a decision takes approximately 0.4 seconds; after a successful decision, the next decision takes 0.22 seconds. As V... in The time required to make decisions is getting shorter and shorter, and once it becomes a habit, the decision time tends to a stable value.
[0045] Figure 5 The circuit simulation results are shown when there is no decision error in the negative signal input path. Let the input signal V... in The period is 1 second. A -5V pulse signal is applied for the first 0.5 seconds of the period, and 0V for the second 0.5 seconds. During the first 0.5 seconds, V... in This causes the resistance of M5 to increase; due to the stability of long-term emotions, the resistance of M6 remains unchanged in the first half of the cycle; in the second half of the cycle (0.5s), the circuit generates a feedback signal V based on the decision result. bt1 and V bt2 Vbt1 This will decrease the resistance of M5, but the reduced resistance will be larger than the initial resistance. The overall trend of the resistance change in M5 is upward. bt2 This increases the resistance of memristor M6, and the increase in M5 and M6 weakens the emotional intensity generated when a negative signal is input again. With V... in When V is applied, the decision-making circuit develops a decision-making habit. The formation of this habit is marked by the resistance of memristor M6 reaching 4kΩ. Once this habit is formed, the memristor's resistance no longer changes, and both short-term and long-term emotional signals tend towards a stable value. Furthermore, the speed of decision-making also changes. Initially, making a decision takes approximately 0.4 seconds; after a successful decision, the next decision takes 0.3 seconds. As V... in The time required to make decisions is getting shorter and shorter, and once it becomes a habit, the decision time tends to a stable value.
[0046] Figure 6 The circuit simulation results are shown for alternating decision-making when there are no decision errors in the positive signal input path and the negative signal input path. Let the input signal V... in The cycle is 2 seconds, with a positive signal applied in the first second and a negative signal applied in the second. It can be seen that, with the input signals alternating between positive and negative, the positive and negative signal input pathways learn alternately, ultimately forming decision-making habits.
[0047] Figure 7 This is a circuit simulation result diagram showing the circuit when there is a decision error in the positive signal input path. The simulation time is set to 6 seconds. The circuit makes correct decisions in the first 3 seconds, and makes incorrect decisions in the 4th and 5th seconds. With the first 3 correct decisions, the short-term and long-term emotional signals gradually weaken, and the decision-making time gradually shortens. With the 4th decision error, the resistance values of memristors M1 and M2 decrease significantly, the decision threshold decreases, and the 5th decision takes longer than the 4th decision due to the 4th decision error, indicating a more cautious decision-making process. Simultaneously, the short-term and long-term emotions generated by the 5th decision are also enhanced due to the 4th decision error. The 5th decision is also set as a failure; at this point, the cumulative decision error is 2, and the threshold voltage V... threshold1 It will drop to a negative value. A positive signal is applied for the 6th time, due to the threshold voltage V. threshold1 If the value is negative, the circuit will no longer make a decision. Meanwhile, between 5.5s and 6s, the repair signal V... restore1 Reduce the resistance of memristor M4 to restore the threshold voltage V. threshold1 Forgotten signal V forget11 and V forget12 This significantly reduces the resistance values of memristors M1 and M2, so that when the next positive signal arrives, the circuit restarts its decision-making and learning process.
[0048] Figure 8 This diagram shows the circuit simulation results when there is a decision error in the negative signal input path. The simulation time is set to 6 seconds. The circuit makes correct decisions in the first 3 seconds, and makes incorrect decisions in the 4th and 5th seconds. In the first 3 correct decisions, the short-term and long-term emotional signals gradually weaken, and the decision-making time gradually shortens. In the 4th decision error, the resistance values of memristors M5 and M6 decrease significantly, the decision threshold decreases, and in the 5th decision, due to the 4th decision error, the decision-making time is longer than the 4th, the decision becomes more cautious, and the short-term and long-term emotions generated by the 5th decision are also enhanced. The 5th decision is also set as a failure. At this point, the cumulative decision error is 2, and the threshold voltage V... threshold2 It will drop to a negative value. The 6th negative signal is applied due to the threshold voltage V. threshold2 If the value is negative, the circuit will no longer make a decision. Meanwhile, between 5.5s and 6s, the repair signal V... restore2 Reduce the resistance of memristor M8 to restore the threshold voltage V. threshold2 Forgotten signal V forget21 and V forget22 This significantly reduces the resistance values of memristors M5 and M6, so that when the next negative signal arrives, the circuit restarts its decision-making and learning process.
Claims
1. A memristor decision circuit integrating emotional habituation and behavioral reinforcement, characterized in that, It includes positive signal input paths and negative signal input paths, and each signal input path includes an input module, an emotion generation module, a decision output module, a threshold adjustment module, and a result feedback module. The memristor decision circuit can determine the polarity of the external input signal and thus activate the corresponding input path. In the first half of a cycle of the external input signal, the memristor decision circuit generates an emotion and makes a decision. In the second half of the cycle, the memristor resistance in the emotion generation module is adjusted according to the decision result. As external input signals are applied, the memristor decision circuit will form a decision habit. If the habit is formed, the circuit will still make decisions. Correct. The resistance of the memristor in the emotion generation module remains constant, and the generated emotion tends to be stable. The memristor decision circuit can also make decision errors, which will cause the resistance of the memristor in the emotion generation module to decrease significantly. When either of the two input paths accumulates two decision errors, when the external input signal of that path is input again, that input path will not have a decision output. At this time, the forgetting signal causes the resistance of the memristor in the emotion generation module of that input path to decrease significantly, and the recovery signal causes the resistance of the memristor in the threshold adjustment module of that input path to decrease significantly. At this time, the input path restarts decision learning.
2. The memristor decision circuit integrating emotional habituation and behavioral reinforcement according to claim 1, characterized in that, The positive signal input path includes NMOS transistors N1 and N2, PMOS transistors P1 and P2, and resistor R. a1 -R a27 Voltage control switch S a1 -S a3 ABM single-input single-output analog behavioral device a1 -ABM a3 Operational amplifier U a1 -U a7 Input signal V in and feedback signal V errora1 V errora2 V at1 V at2 and V control1 In COM1, the sources of P1 and P2 are connected to 5V, the source of N1 is connected to 2V, and the source of N2 is connected to 0V. The gate and drain of N1 are connected to the gate and drain of P1, respectively, and the gate and drain of N2 are connected to the gate and drain of P2, respectively. The junction of the gates of N1 and P1 is connected to an external input voltage V. in The drain outputs of N1 and P1 are connected to the intersection of the gates of N2 and P2, and the drain outputs of N2 and P2 are the output signals of COM1; in the short-term emotion path input, the output of COM1 is connected to the resistor R. a6 Connected to operational amplifier U a2 The positive input terminal of COM1 is connected to the ABM, while the output terminal of COM1 is connected to the ABM. a2 The input terminal of ABM a2 The output terminal is connected to switch S a2 The positive output terminal, S a2 The positive input terminal is connected to V control1 S a2 The negative input terminal is grounded, S a2 The negative output terminal is connected to resistor R. a10 The output is connected to ground, and the negative output terminal is also connected to resistor R. a7 Connect to U a2 The positive input terminal, U a2 The negative input terminal passes through resistor R a8 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. a9 Connect to the output terminal; V at1 Through resistor R a1 Connect to U a1 The positive input terminal, at the same time V at1 Connect to ABM a1 The input terminal of ABM a1 The output terminal is connected to switch S a1 The positive output terminal, S a1 Positive input terminal connected to V control1 The negative input terminal is grounded, S a1 The negative output terminal is connected to resistor R. a5 The output goes to ground, and the negative output also goes through R. a2 Connect to U a1 The positive input terminal, U a1 The negative input terminal passes through resistor R a3 Arrive at the ground, and at the same time U a1 The negative input terminal passes through resistor R a4 Connect to U a1 The output terminal of U; a1 The output terminal is connected to resistor R a17 U a2 The output terminal is connected to resistor R a18 and V errora1 After R a16 Connect to U a3 The negative input terminal, U a3 The positive input terminal of U is grounded. a3 The negative input terminal passes through resistor R a19 Connect to the output terminal, U a3 The output terminal is connected to resistor R a20 Connect to U a4 The negative input terminal, U a4 The negative input terminal passes through resistor R a21 Connect to the output terminal, U a4 The positive input terminal is grounded; in long-term emotional path input, V at2 After passing through resistor R a11 Connect to U a5 The positive input terminal, and V at2 Connect to ABM a3 The input terminal of ABM a3 The output terminal is connected to switch S a3 The positive output terminal, S a3 The positive input terminal is connected to V control1 The negative input terminal is grounded, S a3 The negative output terminal is connected to resistor R. a15 The output is connected to ground, and the negative output terminal is connected to resistor R. a12 Connect to U a5 Positive input terminal, U a5 The negative input terminal passes through resistor R a13 It reaches ground and also passes through resistor R. a14 Connect to U a5 The output terminal of COM1 is connected to resistor R. a22 U a5 The output terminal is connected to resistor R a23 and V errora2 After passing through resistor R a24 Connect to U a6 The negative input terminal, U a6 The positive input terminal is grounded, and the negative input terminal is connected to a resistor R. a25 Connect to the output terminal, U a6 The output terminal passes through resistor R a26 Connect to U a7 The negative input terminal, U a7 The positive input terminal is grounded, and U a7 The negative input terminal passes through resistor R a27 Connect to the output terminal.
3. The memristor decision circuit integrating emotional habituation and behavioral reinforcement according to claim 1, characterized in that, The aforementioned positive signal input path, the emotion generation module consists of operational amplifier U a8 -U a11 Resistance R a28 -R a35 Dual-input single-output analog behavioral device ABM a4 and ABM a5 Memristors M1 and M2, AND gate D3, and voltage control switch S a4 S a5 Composition; In the short-term emotional pathway, input module U a4 The output is connected to the negative terminal of memristor M1, and the positive terminal of memristor is connected to U. a8 The negative input terminal, U a8 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a28 Connect to the output terminal, U a8 The output terminal is connected to resistor R a29 Connect to U a9 The negative input terminal, U a9 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a30 Connect to the output terminal, U a9 The output is connected to switch S. a4 The positive input terminal is also connected to S. a4 The positive output terminal, S a4 The negative input terminal is grounded, S a4 The negative output terminal passes through resistor R a34 Arrive at the ground, S a4 The negative output terminal is denoted as signal V. ps In the long-term emotional pathway, input module U a7 The output of the memristor is connected to the positive terminal of the memristor M2, and the negative terminal of the memristor is connected to the operational amplifier U. a10 The negative input terminal, U a10 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a31 Connect to the output terminal, U a10 The output terminal is connected to resistor R a32 Connect to U a11 The negative input terminal, U a11 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a33 Connect to the output terminal, U a11 The output is connected to switch S. a5 The positive input terminal is also connected to S. a5 The positive output terminal, S a5 The negative input terminal is grounded, and the negative output terminal is connected to resistor R. a35 It is connected to ground and also to one input of D3. The other input of D3 is connected to V. in The output of D3 is denoted as signal V. pl In addition, U a9 The output terminal and U a11 The output terminals are respectively connected to ABM a4 The input terminals IN1 and IN2, U a10 The output terminal and U a7 The output terminals are respectively connected to ABM a5 The input terminals IN1 and IN2.
4. The memristor decision circuit integrating emotional habituation and behavioral reinforcement according to claim 1, characterized in that, The aforementioned positive signal input path and decision output module include signal V. emtion1 V restore1 V threshold1 and V outcome1 Operational amplifier U a12 -U a15 Resistance R a36 -R a44 Memristor M3, control switch S a6 S a7 and dual-input single-output analog behavioral device ABM a6 ABM a4 Output signal V emtion1 Connect to switch S a6 The positive input terminal is grounded, and the negative input terminal is connected to S. a6 The negative output terminal is connected to a 5V voltage, and the positive output terminal is connected to a resistor R. a36 to the ground; V outcome1 Connect to switch S a7 The positive input terminal, S a7 The negative input terminal is grounded, S a7 The negative output terminal is connected to -0.6V, and the positive output terminal is connected to resistor R. a41 Grounding; S a6 The positive output terminal passes through resistor R a37 V restore1 After passing through resistor R a38 and S a7 The positive output terminal passes through resistor R a39 Connect to U a12 The negative input terminal, U a12 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a40 Connect to the output terminal, U a12 The output terminal is connected to resistor R a42 Connect to U a13 The negative input terminal, U a13 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a43 Connect to the output terminal, U a13 The output terminal is connected to the positive terminal of memristor M3, and the negative terminal of M3 is connected to U. a14 The negative input terminal, U a14 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a44 Connect to the output terminal, U a13 The output terminal and U a14 The output terminals are respectively connected to ABM a6 The input terminals IN2 and IN1, ABM a6 The output terminal is connected to U a15 The negative input terminal, U a18 Output signal V threshold1 Connect to U a15 The positive input terminal, U a15 The output signal is denoted as V. output1 ; The aforementioned positive signal input path, the threshold adjustment module includes signal V control1 V af and V restore1 Operational amplifier U a16 -U a18 Resistance R a45 -R a54 Memristor M4, control switch S a8 and dual-input single-output analog behavioral device ABM a7 ABM a8 ABM a5 Output terminal V control1 Connect to ABM a7 Input terminal IN1, ABM a7 The input terminal IN2 is connected to a 1.8V voltage, ABM a7 The output terminal is connected to resistor R a51 Connect to U a18 The positive input terminal; V af After passing through resistor R a46 and V restore1 After passing through resistor R a45 Connect to U a16 The positive input terminal, U a16 The negative input terminal is connected to a resistor R. a47 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. a48 Connect to the output terminal, U a16 The output terminal is connected to the negative terminal of memristor M4, and the positive terminal of M4 is connected to U. a17 The negative input terminal, U a17 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. a49 Connect to the output terminal; U a16 The output terminal and U a17 The output terminals are respectively connected to ABM a8 The input terminals IN2 and IN1, ABM a8 The output terminal is connected to switch S a8 The positive input terminal, S a8 The negative input terminal is grounded, S a8 The negative output terminal is connected to a voltage of -3V, and the positive output terminal is connected to a resistor R. a50 The positive output terminal is connected to ground, and simultaneously, the positive output terminal passes through resistor R. a52 Connected to operational amplifier U a18 The positive input terminal, U a18 The negative input terminal is connected to a resistor R. a53 Arrive at the destination, U a18 The negative input terminal passes through resistor R a54 Connect to the output terminal, U a18 The output signal is denoted as V. threshold1 .
5. A memristor decision circuit integrating emotional habituation and behavioral reinforcement according to claim 1, characterized in that, The aforementioned positive signal input path and result feedback module consist of signal V. forget11 V forget12 V check1 and V output1 Operational amplifier U a19 -U a23 Resistance R a55 -R a74 Capacitor C1, Sample-and-hold circuit LF398a, Control switch S a9 -S a12 ABM single-input single-output analog behavioral device a9 Composed of logic AND gates D1 and D2; V output1 Connect to the input of the sample-and-hold circuit LF398a. The positive power supply of the sample-and-hold circuit is connected to 9V, and the negative power supply is connected to -9V. The logic input is connected to T1, the logic reference is grounded, and the holding capacitor is connected to ground via capacitor C1. The output of the LF398a is connected through resistor R. a55 Connect to U a19 The negative input terminal, U a19 The positive input terminal of U is grounded. a19 The negative input terminal passes through resistor R a56 Connect to the output terminal, U a19 The output terminal is connected to resistor R a57 Connect to U a20 The negative input terminal is grounded, and the positive input terminal is grounded. a20 The negative input terminal passes through resistor R a58 Connect to the output terminal; U a20 The output terminal of V is connected to one input terminal of D2. check1 Connect to the other input terminal of D2, and connect the output terminal of D2 to switch S. a11 The positive input terminal is grounded, and the negative input terminal is connected to S. a11 The negative output terminal is connected to a voltage of -5V, S a11 The positive output terminal is connected to resistor R. a59 Arrive at the ground, S a11 The positive output signal is denoted as V. at1 The output of D2 is also connected to switch S. a12 The positive input terminal is grounded, and the negative input terminal is connected to S. a12 The negative output terminal is connected to a voltage of -5.5V, and the positive output terminal is connected to a resistor R. a60 Arrive at the ground, S a12 The positive output signal is denoted as V. at2 Meanwhile, U a20 The output terminal is connected to one input terminal of D1, V check1 Connect to ABM a9 The input terminal of ABM a9 The output terminal is connected to the other input terminal of the AND gate D1. The output terminal of D1 is denoted as V. af And connected to switch S a9 The positive input terminal, S a9 The negative input terminal is grounded, S a9 The negative output terminal is connected to a voltage of -2.6V, S a9 The positive output terminal is connected to resistor R. a61 Upon arrival, at the same time, S a9 The positive output terminal passes through resistor R a68 Connect to U a22 The positive input terminal, V forget11 After passing through resistor R a67 Connect to U a22 The positive input terminal, U a22 The negative input terminal passes through resistor R a69 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. a70 Connect to its output, U a22 The output signal is denoted as V. errora1 The output of D1 is also connected to switch S. a10 The positive input terminal, S a10 The negative input terminal is grounded, S a10 The negative output terminal is connected to a 6V voltage, and the positive output terminal is connected to a resistor R. a62 Upon arrival, at the same time, S a10 The positive output terminal passes through resistor R a72 Connect to U a23 The positive input terminal, V forget12 After passing through resistor R a71 Connect to U a23 The positive input terminal, U a23 The negative input terminal passes through resistor R a73 Arrive at the ground, and at the same time U a23 The negative input terminal passes through resistor R a74 Connect to its output, U a23 The output signal is denoted as V. errora2 It is worth noting that the output of D2 is connected to resistor R. a63 The output terminal of D1 is connected to resistor R. a64 Connect to U a21 The positive input terminal, U a21 The negative input terminal is connected to a resistor R. a65 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. a66 Connect to the output terminal, U a21 The output signal is denoted as V. outcome1 .
6. A memristor decision circuit integrating emotional habituation and behavioral reinforcement according to claim 1, characterized in that, The negative signal input path includes NMOS transistors N3 and N4, PMOS transistors P3 and P4, and a resistor R. b1 -R b27 Voltage control switch S b1 -S b3 ABM single-input single-output analog behavioral device b1 -ABM b3 Operational amplifier U b1 -U b7 Input signal V in and feedback signal V errorb1 V errorb2 V bt1 V bt2 and V control2 In COM2, the source of P3 is connected to -1.5V, the source of P4 is connected to 0V, the source of N3 is connected to -6V, and the source of N4 is connected to -5V. The gate and drain of N3 are connected to the gate and drain of P3, respectively, and the gate and drain of N4 are connected to the gate and drain of P4, respectively. The junction of the gates of N3 and P3 is connected to an external input voltage V. in The drain outputs of N3 and P3 are connected to the intersection of the gates of N4 and P4, and the drain outputs of N4 and P4 serve as the output signal of COM2. In the short-term emotion path input, the output of COM2 is transmitted through resistor R. b6 Connected to operational amplifier U b2 The positive input terminal of COM2 is connected to the ABM, while the output of COM2 is connected to the positive input terminal. b2 The input terminal of ABM b2 The output terminal is connected to switch S b2 The positive output terminal, S b2 The positive input terminal is connected to V control2 S b2 The negative input terminal is grounded, S b2 The negative output terminal is connected to resistor R. b10 Arrive at the ground, and at the same time S b2 The negative output terminal is also connected to resistor R. b7 Connect to U b2 The positive input terminal, U b2 The negative input terminal is connected to a resistor R. b8 Arrive at the ground, and at the same time U b2 The negative input terminal passes through resistor R b9 Connect to the output terminal; V bt1 Through resistor R b1 Connect to U b1 The positive input terminal, at the same time V bt1 Access to ABM b1 The input terminal of ABM b1 The output terminal is connected to switch S b1 The positive output terminal, S b1 Positive input terminal connected to V control2 The negative input terminal is grounded, S b1 The negative output terminal is connected to resistor R. b5 Arrive at the ground, and at the same time S b1 The negative output terminal also passes through R b2 Connect to U b1 The positive input terminal, U b1 The negative input terminal is connected to a resistor R. b3 Arrive at the destination, U b1 The negative input terminal passes through resistor R b4 Connect to the output terminal; U b1 The output terminal is connected to resistor R b17 U b2 The output terminal is connected to resistor R b18 and V errorb1 After passing through resistor R b16 Connect to U b3 The negative input terminal, U b3 The positive input terminal of U is grounded. b3 The negative input terminal passes through resistor R b19 Connect to the output terminal, U b3 The output terminal is connected to resistor R b20 Connect to U b4 The negative input terminal, U b4 The positive input terminal is grounded, and U b4 The negative input terminal passes through resistor R b21 Connect to the output; in the long-term emotional path input, V bt2 After passing through resistor R b11 Connect to U b5 The positive input terminal, and V bt2 Connect to ABM b3 The input terminal of ABM b3 The output terminal is connected to switch S b3 The positive output terminal, S b3 The positive input terminal is connected to V control2 The negative input terminal is grounded, S b3 The negative output terminal is connected to resistor R. b15 Arrive at the ground, and at the same time S b3 The negative output terminal passes through resistor R b12 Connect to U b5 Positive input terminal, U b5 The negative input terminal is connected to a resistor R. b13 Arrive at the ground, and at the same time U b5 The negative input terminal also passes through resistor R. b14 Connected to the output terminal; the output terminal of COM2 is connected to resistor R. b22 U b5 The output terminal is connected to resistor R b23 and V errorb2 After passing through resistor R a24 Connect to U a6 The negative input terminal, U b6 The positive input terminal is grounded, and U a6 The negative input terminal passes through resistor R b25 Connect to the output terminal, U b6 The output terminal passes through resistor R b26 Connect to U b7 The negative input terminal, U b7 The positive input terminal is grounded, and U b7 The negative input terminal passes through resistor R b27 Connect to the output terminal.
7. A memristor decision circuit integrating emotional habituation and behavioral reinforcement according to claim 1, characterized in that, The aforementioned negative signal input path, the emotion generation module consists of operational amplifier U b8 -U b11 Resistance R b28 -R b35 Absolute value modules ABS1 and ABS2, dual-input single-output analog behavioral device ABM b4 and ABM b5 ABM single-input single-output analog behavioral device b6 Memristors M5 and M6, AND gate D6, and voltage control switch S b4 S b5 Composition; In the short-term emotional pathway, input module U b4 The output of M5 is connected to the positive terminal, and the negative terminal of M5 is connected to U. b8 The negative input terminal, U b8 The positive input terminal of U is grounded. b8 The negative input terminal is connected to resistor R. b28 Connect to the output terminal, U b8 The output terminal is connected to resistor R b29 Connect to U b9 The negative input terminal, U b9 The positive input terminal of U is grounded. b9 The negative input terminal passes through resistor R b30 Connect to the output terminal, U b9 The output is connected to switch S. b4 The negative input terminal is also connected to S. b4 The positive output terminal, S b4 The positive input terminal is grounded, S b4 The negative output terminal is connected to resistor R. b34 Arrive at the ground, S b4 The negative output terminal is denoted as signal V. ns In the long-term emotional pathway, input module U b7 The output of M6 is connected to the negative terminal, and the positive terminal of M6 is connected to U. b10 The negative input terminal, U b10 The positive input terminal of U is grounded. b10 The negative input terminal passes through resistor R b31 Connect to the output terminal, U b10 The output terminal is connected to resistor R b32 Connect to U b11 The negative input terminal, U b11 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. b33 Connect to the output terminal, U b11 The output terminal is connected to switch S b5 The negative input terminal is also connected to S. b5 The positive output terminal, S b5 The positive input terminal is grounded, and the negative output terminal is connected to a resistor R. b35 The circuit is connected to ground and also to the input of ABS2. The output of ABS2 is connected to one input of D6. V in Connect the input terminal of ABS1, connect the output terminal of ABS1 to the other input terminal of D6, and connect the output of D6 to ABM. b6 The input terminal of ABM b6 The output terminal is denoted as signal V. nl In addition, U b9 Output and U b11 The outputs are connected to ABM respectively. b4 The input terminals IN1 and IN2, U b10 Output and U b7 The outputs are connected to ABM respectively. b5 The input terminals IN1 and IN2.
8. A memristor decision circuit integrating emotional habituation and behavioral reinforcement according to claim 1, characterized in that, The negative signal input path and decision output module consist of signal V. emtion2 V restore2 V threshold2 and V outcome2 Operational amplifier U b12 -U b15 Resistance R b36 -R b44 Memristor M7, control switch S b6 S b7 and dual-input single-output analog behavioral device ABM b7 Composition; ABM b4 Output signal V emtion2 Connect to switch S b6 The positive input terminal, S b6 The negative input terminal is grounded, S b6 The negative output terminal is connected to a 5V voltage, and the positive output terminal is connected to a resistor R. b36 to the ground; V outcome2 Connect to switch S b7 The positive input terminal, S b7 The negative input terminal is grounded, S b7 The negative output terminal is connected to -0.6V, and the positive output terminal is connected to resistor R. b41 To the ground; S b6 The positive output terminal passes through resistor R b37 V restore2 After passing through resistor R b38 and S b7 The positive output terminal passes through resistor R b39 Connect to U b12 The negative input terminal, U b12 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. b40 Connect to the output terminal, U b12 The output terminal is connected to resistor R b42 Connect to U b13 The negative input terminal, U b13 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. b43 Connect to the output terminal, U b13 The output terminal of M7 is connected to the positive terminal of M7, and the negative terminal of M7 is connected to U. b14 The negative input terminal, U b14 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. b44 Connect to the output terminal; U b13 The output terminal and U b14 The output terminals are respectively connected to ABM b7 The input terminals IN2 and IN1, ABM b7 The output terminal is connected to U b15 The negative input terminal, U b18 Output signal V threshold2 Connect to U b15 The positive input terminal, U b15 The output signal is denoted as V. output2 ; The negative signal input path, threshold adjustment module includes signal V control2 V bf and V restore2 Operational amplifier U b16 -U b18 Resistance R b45 -R b54 Memristor M8, control switch S b8 and dual-input single-output analog behavioral device ABM b8 ABM b9 ABM b5 Output terminal V control2 Connect to ABM b8 Input terminal IN1, ABM b8 The input terminal IN2 is connected to a 1.8V voltage, ABM b8 The output terminal is connected to resistor R b51 Connect to U b18 The positive input terminal; V bf After passing through resistor R b46 Connect to U b16 The positive input terminal, V restore2 After passing through resistor R b45 Connect to U b16 The positive input terminal, U b16 The negative input terminal is connected to a resistor R. b47 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. b48 Connect to the output terminal, U b16 The output terminal of M8 is connected to the negative terminal of M8, and the positive terminal of M8 is connected to U. b17 The negative input terminal, U b17 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. b49 Connect to the output terminal; U b16 The output terminal and U b17 The output terminals are respectively connected to ABM b9 The input terminals IN2 and IN1, ABM b9 The output terminal is connected to switch S b8 The positive input terminal is grounded, and the negative input terminal is connected to S. b8 The negative output terminal is connected to a voltage of -3V, S b8 The positive output terminal is connected to resistor R. b50 The positive output terminal is connected to ground, and simultaneously, the positive output terminal passes through resistor R. b52 Connect to U b18 The positive input terminal, U b18 The negative input terminal is connected to a resistor R. b53 Arrive at the ground, and at the same time U b18 The negative input terminal passes through resistor R b54 Connect to the output terminal, U b18 The output signal is denoted as V. threshold2 。 9. A memristor decision circuit integrating emotional habituation and behavioral reinforcement according to claim 1, characterized in that, The negative signal input path and result feedback module are composed of signal V. forget21 V forget22 V check2 and V output2 Operational amplifier U b19 -U b23 Resistance R b55 -R b74 1. Capacitor C2, Sample-and-hold circuit LF398b, Control switch S b9 -S b12 ABM single-input single-output analog behavioral device b10 Composed of logic AND gates D4 and D5; U b15 Output signal V output2 Connect to the input of the sample-and-hold circuit LF398b. The positive power supply of the sample-and-hold circuit is connected to 9V, and the negative power supply is connected to -9V. The logic input is connected to T2, the logic reference is grounded, and the holding capacitor is connected to ground via capacitor C2. The output of the LF398b is connected through resistor R. b55 Connect to U b19 The negative input terminal, U b19 The positive input terminal of U is grounded. b19 The negative input terminal passes through resistor R b56 Connect to the output terminal, U b19 The output terminal is connected to resistor R b57 Connect to U b20 The negative input terminal, U b20 The positive input terminal is grounded, and the negative input terminal is connected to resistor R. b58 Connect to the output terminal; U b20 The output terminal is connected to one input terminal of D5, V check2 Connect to the other input of D5, and connect the output of D5 to switch S. b11 The positive input terminal is grounded, and the negative input terminal is connected to S. a11 The negative output terminal is connected to a 5V voltage, and the positive output terminal is connected to a resistor R. b59 Arrive at the ground, S b11 The positive output signal is denoted as V. bt1 The output of D5 is also connected to switch S. b12 The positive input terminal is grounded, and the negative input terminal is connected to S. b12 The negative output terminal is connected to a voltage of 5.5V, S b12 The positive output terminal is connected to resistor R. b60 Arrive at the ground, S b12 The positive output signal is denoted as V. bt2 Meanwhile, U b20 The output terminal is connected to one input terminal of D4, V check2 Connect to ABM b10 The input terminal of ABM b10 The output terminal of D4 is connected to the other input terminal of D4, and the output terminal of D4 is connected to switch S. b9 The positive input terminal, S b9 The negative input terminal is grounded, S b9 The negative output terminal is connected to a voltage of 1.6V, and the positive output terminal is connected to a resistor R. b61 Upon arrival, at the same time, S b9 The positive output terminal passes through resistor R b68 Connect to U b22 The positive input terminal, V forget21 After passing through resistor R b67 Connect to U b22 The positive input terminal, U b22 The negative input terminal passes through resistor R b69 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. b70 Connect to its output, U b22 The output signal is denoted as V. errorb1 The output of D4 is also connected to switch S. b10 The positive input terminal, S b10 The negative input terminal is grounded, S b10 The negative output terminal is connected to a -6V voltage, and the positive output terminal is connected to a resistor R. b62 Arrive at the ground, and at the same time S b10 The positive output terminal passes through resistor R b72 Connect to U b23 The positive input terminal, V forget22 After passing through resistor R b71 Connect to U b23 The positive input terminal, U b23 The negative input terminal passes through resistor R b73 The signal is transmitted to ground, and simultaneously the negative input terminal passes through resistor R. b74 Connect to its output, U b23 The output signal is denoted as V. errorb2 It is worth noting that the output of D5 is connected to resistor R. b63 The output terminal of D4 is connected to resistor R. b64 Connect to U b21 The positive input terminal, U b21 The negative input terminal is connected to a resistor R. b65 Arrive at the ground, and at the same time U b21 The negative input terminal passes through resistor R b66 Connect to the output terminal, U b21 The output signal is denoted as V. outcome2 .