Multi-value memristor programming method and device based on predetermined points
Through the multi-valued memristor programming method based on predetermined points, the problem of difficult balance between programming accuracy and speed is solved, the programming efficiency and accuracy of multi-valued memristor are improved, the life of the device is extended, and the storage-computing integrated computing and neural processing are enhanced. Efficiency of network algorithms.
Patent Information
- Application Number
- CN202410977446.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-07-22
AI Technical Summary
The existing programming method of resistive switching memory has the problem of difficulty in balancing programming accuracy and programming speed, which results in limited storage and calculation applications of multi-valued memristors, long programming time and low device service life.
Using a multi-value memristor programming method based on predetermined points, by pre-setting programming parameters, scanning and fitting of gate voltage control is performed, the initial gate control voltage corresponding to the target test value is obtained, and programming is realized by adjusting the gate control voltage , limiting the number of programming times to ensure accuracy and efficiency.
It improves the programming efficiency and accuracy of multi-valued memristors, reduces programming time, extends the service life of the device, and enhances the efficiency of integrated storage and calculation calculations and neural network algorithms.
Smart Images

Figure CN118522329B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of memristor storage and storage-computation integrated computing, and in particular to a multi-valued memristor programming method and device based on predetermined points. Background Art
[0002] As the CMOS integration process enters below 10 nm, the impact of the second-order effect of the device becomes increasingly prominent, which reduces the development speed of integrated circuits. Moreover, as the development of Moore's Law gradually stagnates, the further improvement of data computing efficiency is limited. The traditional von Neumann architecture computer has power consumption wall and storage wall problems, which further restricts the increase of integration and the improvement of computing efficiency. Exploring new hardware systems has become an important direction for computer hardware research. In addition, in recent years, artificial intelligence technology has developed rapidly, and the number of parameters and computing volume of neural network models have also increased, while the edge applications of neural network algorithms require more energy-saving and energy-efficient computing devices. All of the above reasons have promoted the research of storage-computing technology. As an important way to improve energy utilization efficiency, storage-computing technology is very likely to break through the existing hardware and computing bottlenecks. At the same time, the resistive random access memory (RRAM) array can use Ohm's law and Kirchhoff's law for multiplication and addition respectively, thereby realizing the function of vector matrix calculation, and has become an important candidate for storage-computing technology. The three-dimensional array of RRAM using 3D stacking technology has further expanded the application field of RRAM due to its high density and fast read and write speed. Although resistive random access memory has the advantages of small size, CMOS compatibility, non-volatility and multi-value storage, the low modulation efficiency of RRAM multi-value storage restricts the efficiency of memristor-based neural network learning, and an efficient memristor programming scheme is urgently needed.
[0003] Due to the existence of transistors, the 1T1R device formed by the series connection of MOS tubes and RRAM has more controllable characteristics. With the appropriate adjustment method, the device conductance (or output current) of the set operation has an approximately linear positive correlation with the gate voltage of the transistor, which makes controllable regulation possible. However, the current programming method of resistive random access memory has the problem of difficult balance between programming accuracy and programming speed. For example, the modulation method of gradually adjusting the set and reset voltage amplitudes or pulse widths to achieve the target conductance has the problem of long programming time and low device life. The adjustment method of using two pulses has the problem of low programming accuracy, which greatly limits the storage and computing application of multi-valued memristors. The efficient multi-value programming of memristors has become a technical bottleneck for the implementation of memristor storage and computing.
[0004] Therefore, a multi-valued memristor programming method based on predetermined points is used to solve the problem of balancing programming accuracy and programming speed. On the one hand, it reduces the programming time of the traditional write verification method, and on the other hand, it improves the programming accuracy of the two-pulse programming method. Summary of the invention
[0005] The purpose of the present invention is to address the deficiencies of the prior art and provide a method and device for programming a multi-valued memristor based on predetermined points.
[0006] The objective of the present invention is achieved through the following technical solutions:
[0007] The present invention also provides a multi-valued memristor programming device based on a predetermined point, comprising the following steps:
[0008] (1) Presetting programming parameters required for the memristor unit during programming, wherein the programming parameters include a test object and a target test value of the test object. , Error range E and maximum number of programming times F , and initialize the memristor unit;
[0009] (2) Under gate voltage control, the memristor unit is scanned, statistical data is collected and fitted to obtain a fitting curve;
[0010] (3) Obtain the target test value of the test object based on the fitting curve The corresponding initial gate control voltage , and initialize the programming times a =0;
[0011] (4) Obtaining the measurement values of the test object , and determine the measured value Is it within the target range? The target range is ; If the measured value If it is within the target range, the programming is successful and the programming process is exited; otherwise, the gate voltage of the memristor unit is adjusted and the programming times are increased. a = a +1;
[0012] (5) Determine the number of programming times a Is it greater than the maximum number of programming times? F :If it is greater than the maximum number of programming times F , it proves that the programming has failed and the memristor may be damaged; otherwise, repeat step (4) until the programming is successful.
[0013] Furthermore, the test object is the conductance of the memristor unit or the current output by the memristor unit.
[0014] Furthermore, the memristor unit is a memristor unit with a 1T1R structure, and the memristor unit with a 1T1R structure includes a transistor and a memristor; the gate of the transistor is connected to the word line end, the source of the transistor is connected to the source line end, the drain of the transistor is connected to one end of the memristor; the other end of the memristor is connected to the bit line end.
[0015] Furthermore, the step (2) specifically includes the following sub-steps:
[0016] (2.1) Select the appropriate gate control voltage vector according to the characteristics of the memristor unit : ,in, represents any gate control voltage, ,satisfy , n is the maximum index of the gate control voltage; then the bit line input voltage of the memristor unit is set to and the source line input voltage is , and ensure that the gate control voltage and bit line input voltage are applied simultaneously and source line input voltage When the memristor unit is set, the transistor works in the saturation region; the maximum number of scan cycles is set to S and initialize the loop count counter c =0;
[0017] (2.2) Perform a complete reset operation on the memristor unit and initialize the vector index of the gate control voltage j =0;
[0018] (2.3) Using vector indexing j Get gate control voltage , and apply gate control voltage , bit line input voltage and source line input voltage The memristor cell is set and then read to obtain the measured value of the test object. And store it, and finally increase the vector index: j = j +1;
[0019] (2.4) Determine vector index j Is it greater than the maximum gate control voltage index? n :if j Greater than n If yes, proceed to step (2.5); otherwise, repeat step (2.3) until j Greater than n , end this cycle and proceed to step (2.5);
[0020] (2.5) Record the measured value vector of the test object of the memristor unit corresponding to this cycle , and add 1 to the loop count counter: c = c +1;
[0021] (2.6) Determine whether the loop count counter value reaches the maximum loop count constraint: If c Greater than S , then proceed to step (2.7); otherwise, repeat steps (2.2) to (2.6) until c Greater than S , end this cycle and proceed to step (2.7);
[0022] (2.7) Count each gate control voltage Corresponding measurement values of the test object , and the median is , and the gate control voltage vector is obtained The corresponding test object's measurement value vector : ;
[0023] (2.8) According to the gate control voltage vector and the measurement vector of the test object A fitting curve of voltage-measured value of the test object is obtained by fitting.
[0024] Furthermore, the step (2) specifically includes the following sub-steps:
[0025] (2.1) Choose any gate programming-based scheme and set the measurement value vector of the memristor unit under test : ,in, represents any measurement value;
[0026] (2.2) For the measurement value vector Each measurement value , the memristor cell is programmed using a gate programming-based scheme to obtain the measured value The corresponding gate control voltage , and the gate control voltage vector is obtained : ;
[0027] (2.3) According to the gate control voltage vector and the measurement vector of the test object A fitting curve of voltage-measured value of the test object is obtained by fitting.
[0028] Furthermore, the gate voltage adjustment is specifically as follows:
[0029] If the measured value Less than the target test value , then use the initial gate control voltage Perform a position setting;
[0030] If the measured value Greater than the target test value , the memristor unit is first completely reset, and then the initial gate control voltage is used Set the bit.
[0031] Furthermore, the gate voltage adjustment is specifically as follows:
[0032] Select the appropriate gate control voltage vector : ,in, represents any gate control voltage vector, ,satisfy , any one adjusts the gate control voltage Subscript b As the index of this voltage, m To adjust the maximum index of gate control voltage;
[0033] From regulating the gate control voltage vector The closest gate control voltage to the initial Voltage As the current regulating gate control voltage, and record the index of the current regulating gate control voltage as r ;
[0034] If the measured value Less than the target test value , then update the current regulating gate control voltage: add 1 to the current regulating gate control voltage index and the corresponding regulating gate control voltage as the updated current regulating gate control voltage. If the updated current regulating gate control voltage index exceeds the maximum index m The programming process is then exited if the updated index of the current gate control voltage does not exceed the maximum index m Then the updated current regulating gate control voltage is used for setting;
[0035] If the measured value Greater than the target test value , then update the current regulating gate control voltage: take the regulating gate control voltage corresponding to the index of the current regulating gate control voltage minus 1 as the updated current regulating gate control voltage, if the updated current regulating gate control voltage index is less than 0, exit the programming process, if the updated current regulating gate control voltage index is not less than 0, use the updated current regulating gate control voltage for setting.
[0036] The present invention also provides a multi-value memristor programming device based on a predetermined point, comprising a preset value module, a fitting module, an initial voltage calculation module, a programming module and a judgment module;
[0037] The preset value module is used to preset the programming parameters required by the memristor unit during the programming process. The programming parameters include the test object and the target test value of the test object. , Error range E and maximum number of programming times F , and initialize the memristor unit;
[0038] The fitting module is used to scan the memristor unit under gate voltage control, collect statistical data and perform fitting to obtain a fitting curve;
[0039] The initial voltage calculation module is used to obtain the target test value of the test object according to the fitting curve. The corresponding initial gate control voltage , and initialize the programming times a =0;
[0040] The programming module is used to obtain the measured value of the test object , and determine the measured value Is it within the target range? The target range is ; If the measured value If it is within the target range, the programming is successful and the programming process is exited; otherwise, the gate voltage of the memristor unit is adjusted and the programming times are increased. a = a +1;
[0041] The judgment module is used to judge whether the programming times are greater than the maximum programming times F: if it is greater than the maximum programming times F, it proves that the current programming has failed and the memristor may be damaged; otherwise, it returns to the programming module until the programming is successful.
[0042] The present invention also includes a multi-value memristor programming device based on predetermined points, including a memory and one or more processors, wherein the memory stores executable code, and when the one or more processors execute the executable code, it is used for the above-mentioned multi-value memristor programming method based on predetermined points.
[0043] The present invention also includes a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the above-mentioned multi-value memristor programming method based on predetermined points is implemented.
[0044] The beneficial effects of the present invention are as follows: by obtaining basic parameters through only one round of operation, the control voltage corresponding to the device target value can be calculated by estimation, thereby improving the controllability of the multi-value storage of the memristor and effectively improving the programming efficiency and accuracy of the multi-value memristor device; improving the writing process of the weights or data of the integrated storage and computing or multi-value data storage, thereby improving the practicability of the memristor to a higher degree, and effectively improving the deployment and training efficiency of the memristor-based neural network algorithm. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 is a flow chart of a multi-valued memristor programming method based on predetermined points in Example 1;
[0046] Figure 2 is the structural diagram of the memristor unit;
[0047] Figure 3 The measured scatter plot of the conductance and gate voltage of the memristor unit of the 1T1R structure;
[0048] Figure 4 is a flow chart of step (2) in Example 1;
[0049] Figure 5 is a flow chart of another step (2) in Example 1;
[0050] Figure 6 A schematic diagram of an embodiment of a multi-valued memristor programming device based on predetermined points;
[0051] Figure 7 FIG. 4 is a schematic diagram of another embodiment of a multi-valued memristor programming device based on predetermined points. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical scheme and advantages of the present invention more clear, the present invention is further described in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0053] Embodiment 1: The present invention provides a multi-valued memristor programming method based on a predetermined point, comprising the following steps:
[0054] (1) Presetting programming parameters required for the memristor unit during programming, wherein the programming parameters include a test object and a target test value of the test object. , Error range E and maximum number of programming times F , and initialize the memristor unit.
[0055] The test object is the conductance of the memristor unit or the current output by the memristor unit.
[0056] like Figure 2 As shown, the memristor unit is a memristor unit with a 1T1R structure, and the memristor unit with a 1T1R structure includes a transistor (M1) and a memristor (R1); the gate of the transistor is connected to the word line terminal (WL), the source of the transistor is connected to the source line terminal (SL), and the drain of the transistor is connected to one end of the memristor; the other end of the memristor is connected to the bit line terminal (BL).
[0057] Figure 3 It represents the change of the conductance of the memristor when the gate voltage pulses of different amplitudes are applied to the same device. After multiple operations, the conductance of different memristors corresponding to the same gate voltage is obtained, and the gate voltage is used as the horizontal axis and the corresponding conductance is used as the vertical axis. Figure 3 The corresponding scatter plot confirms the positive correlation between device conductance and gate voltage.
[0058] (2) Under gate voltage control, the memristor unit is scanned, statistical data is collected and fitted to obtain a fitting curve.
[0059] like Figure 4 As shown, the step (2) specifically includes the following sub-steps:
[0060] (2.1) Select the appropriate gate control voltage vector according to the characteristics of the memristor unit : ,in, represents any gate control voltage, ,satisfy , n is the maximum index of the gate control voltage; then the bit line input voltage of the memristor unit is set to and the source line input voltage is , and ensure that the gate control voltage and bit line input voltage are applied simultaneously and source line input voltage When the memristor unit is set, the transistor works in the saturation region; the maximum number of scan cycles is set to S and initialize the loop count counter c =0.
[0061] (2.2) Perform a complete reset operation on the memristor unit and initialize the vector index of the gate control voltage j =0.
[0062] (2.3) Using vector indexing j Get gate control voltage , and apply gate control voltage , bit line input voltage and source line input voltage The memristor cell is set and then read to obtain the measured value of the test object. And store it, and finally increase the vector index: j = j +1.
[0063] (2.4) Determine vector index j Is it greater than the maximum gate control voltage index? n :if j Greater than n If yes, proceed to step (2.5); otherwise, repeat step (2.3) until j Greater than n , end this cycle and proceed to step (2.5).
[0064] (2.5) Record the measured value vector of the test object of the memristor unit corresponding to this cycle , and add 1 to the loop count counter: c = c +1.
[0065] (2.6) Determine whether the loop count counter value reaches the maximum loop count constraint: If c Greater than S , then proceed to step (2.7); otherwise, repeat steps (2.2) to (2.6) until c Greater than S , end this cycle and proceed to step (2.7).
[0066] (2.7) Count each gate control voltage Corresponding measurement values of the test object , and the median is , and the gate control voltage vector is obtained The corresponding test object's measurement value vector : .
[0067] (2.8) According to the gate control voltage vector and the measurement vector of the test object A fitting curve of voltage-measured value of the test object is obtained by fitting.
[0068] like Figure 5 As shown, step (2) also has another method, and step (2) specifically includes the following sub-steps:
[0069] The step (2) specifically includes the following sub-steps:
[0070] (2.1) Choose any gate programming-based scheme and set the measurement value vector of the memristor unit under test : ,in, Represents any measurement value.
[0071] (2.2) For the measurement value vector Each measurement value , the memristor cell is programmed using a gate programming-based scheme to obtain the measured value The corresponding gate control voltage , and the gate control voltage vector is obtained : .
[0072] (2.3) According to the gate control voltage vector and the measurement vector of the test object A fitting curve of voltage-measured value of the test object is obtained by fitting.
[0073] (3) Obtain the target test value of the test object based on the fitting curve The corresponding initial gate control voltage , and initialize the programming times a =0.
[0074] (4) Obtaining the measurement values of the test object , and determine the measured value Is it within the target range? The target range is ; If the measured value If it is within the target range, the programming is successful and the programming process is exited; otherwise, the gate voltage of the memristor unit is adjusted and the programming times are increased. a = a +1.
[0075] The gate voltage adjustment is specifically as follows:
[0076] If the measured value Less than the target test value , then use the initial gate control voltage Set the bit.
[0077] If the measured value Greater than the target test value , the memristor unit is first completely reset, and then the initial gate control voltage is used Set the bit.
[0078] The gate voltage regulation also has another method, which is:
[0079] Select the appropriate gate control voltage vector : ,in, represents any gate control voltage vector, ,satisfy , any one adjusts the gate control voltage Subscript b As the index of this voltage, m It is the maximum index for adjusting the gate control voltage.
[0080] From regulating the gate control voltage vector The closest gate control voltage to the initial Voltage As the current regulating gate control voltage, and record the index of the current regulating gate control voltage as r .
[0081] If the measured value Less than the target test value , then update the current regulating gate control voltage: add 1 to the current regulating gate control voltage index and the corresponding regulating gate control voltage as the updated current regulating gate control voltage. If the updated current regulating gate control voltage index exceeds the maximum index m The programming process is then exited if the updated index of the current gate control voltage does not exceed the maximum index m The updated current regulating gate control voltage is then used for setting.
[0082] If the measured value Greater than the target test value , then update the current regulating gate control voltage: take the regulating gate control voltage corresponding to the index of the current regulating gate control voltage minus 1 as the updated current regulating gate control voltage, if the updated current regulating gate control voltage index is less than 0, exit the programming process, if the updated current regulating gate control voltage index is not less than 0, use the updated current regulating gate control voltage for setting.
[0083] (5) Determine the number of programming times a Is it greater than the maximum number of programming times? F :If it is greater than the maximum number of programming times F, it proves that the programming has failed and the memristor may be damaged; otherwise, repeat step (4) until the programming is successful.
[0084] Example 2: Figure 6 As shown, the present invention provides a multi-value memristor programming device based on predetermined points, including a preset value module, a fitting module, an initial voltage calculation module, a programming module and a judgment module.
[0085] The preset value module is used to preset the programming parameters required by the memristor unit during the programming process. The programming parameters include the test object and the target test value of the test object. , Error range E and maximum number of programming times F , and initialize the memristor unit.
[0086] The fitting module is used to scan the memristor unit under gate voltage control, collect statistical data and perform fitting to obtain a fitting curve.
[0087] The initial voltage calculation module is used to obtain the target test value of the test object according to the fitting curve. The corresponding initial gate control voltage , and initialize the programming times a =0.
[0088] The programming module is used to obtain the measured value of the test object , and determine the measured value Is it within the target range? The target range is ; If the measured value If it is within the target range, the programming is successful and the programming process is exited; otherwise, the gate voltage of the memristor unit is adjusted and the programming times are increased. a = a +1.
[0089] The judging module is used to judge whether the programming times are greater than the maximum programming times. F :If it is greater than the maximum number of programming times F , it proves that the programming has failed and the memristor may be damaged; otherwise, it returns to the programming module until the programming is successful.
[0090] Embodiment 3: This embodiment relates to a multi-value memristor programming device based on predetermined points, comprising a memory and one or more processors, wherein the memory stores executable code, and when the one or more processors execute the executable code, a multi-value memristor programming method based on predetermined points according to the above-mentioned embodiment 1 is used; the device embodiment can be applied to any device with data processing capabilities, and the any device with data processing capabilities can be a device or apparatus such as a computer.
[0091] like Figure 7 At the hardware level, the model watermark device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1 Of course, in addition to the software implementation, the present invention does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0092] For the improvement of a technology, it can be clearly distinguished whether it is a hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or a software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0093] The controller can be implemented in any suitable manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) executable by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller can be considered as a hardware component, and the devices for implementing various functions included therein can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0094] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0095] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0096] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0097] The present invention may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0098] Embodiment 4: The embodiment of the present invention further provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, the method for programming a multi-valued memristor based on predetermined points of the above embodiment 1 is implemented.
[0099] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A multi-value memristor programming method based on predetermined points, It is characterized in that The following steps are involved: (1) Presetting programming parameters required for the memristor unit during programming, wherein the programming parameters include a test object and a target test value of the test object. , Error range E and maximum number of programming times F , and initialize the memristor unit; (2) Under gate voltage control, the memristor unit is scanned, statistical data is collected and fitted to obtain a fitting curve; (3) Obtain the target test value of the test object based on the fitting curve The corresponding initial gate control voltage , and initialize the programming times a =0; (4) Obtaining the measurement values of the test object , and determine the measured value Is it within the target range? The target range is ; If the measured value If it is within the target range, the programming is successful and the programming process is exited; Otherwise, the gate voltage of the memristor unit is adjusted and the programming times are increased. a = a +1; (5) Determine the number of programming times a Is it greater than the maximum number of programming times? F :If it is greater than the maximum number of programming times F , it proves that the programming has failed and the memristor may be damaged; otherwise, repeat step (4) until the programming is successful.
2. A method for programming a multi-valued memristor based on a predetermined point according to claim 1, It is characterized in that The test object is the conductance of the memristor unit or the current output by the memristor unit.
3. A method for programming a multi-valued memristor based on a predetermined point according to claim 1, It is characterized in that The memristor unit is a memristor unit with a 1T1R structure, and the memristor unit with a 1T1R structure includes a transistor and a memristor; the gate of the transistor is connected to the word line end, the source of the transistor is connected to the source line end, the drain of the transistor is connected to one end of the memristor; the other end of the memristor is connected to the bit line end.
4. A method for programming a multi-valued memristor based on a predetermined point according to claim 1, It is characterized in that The step (2) specifically includes the following sub-steps: (2.1) Select the appropriate gate control voltage vector according to the characteristics of the memristor unit : ,in, represents any gate control voltage, ,satisfy , n is the maximum index of the gate control voltage; then the bit line input voltage of the memristor unit is set to and the source line input voltage is , and ensure that the gate control voltage and bit line input voltage are applied simultaneously and source line input voltage When the memristor unit is set, the transistor works in the saturation region; the maximum number of scan cycles is set to S and initialize the loop count counter c =0; (2.2) Perform a complete reset operation on the memristor unit and initialize the vector index of the gate control voltage j =0; (2.3) Using vector indexing j Get gate control voltage , and apply gate control voltage , bit line input voltage and source line input voltage The memristor cell is set and then read to obtain the measured value of the test object. And store it, and finally increase the vector index: j = j +1; (2.4) Determine vector index j Is it greater than the maximum gate control voltage index? n :if j Greater than n If yes, proceed to step (2.5); otherwise, repeat step (2.3) until j Greater than n , end this cycle and proceed to step (2.5); (2.5) Record the measured value vector of the test object of the memristor unit corresponding to this cycle , and add 1 to the loop count counter: c = c +1; (2.6) Determine whether the loop count counter value reaches the maximum loop count constraint: If c Greater than S , then proceed to step (2.7); otherwise, repeat steps (2.2) to (2.6) until c Greater than S , end this cycle and proceed to step (2.7); (2.7) Count each gate control voltage Corresponding measurement values of the test object , and the median is , and the gate control voltage vector is obtained The corresponding test object's measurement value vector : ; (2.8) According to the gate control voltage vector and the measurement vector of the test object A fitting curve of voltage-measured value of the test object is obtained by fitting.
5. The method for programming a multi-valued memristor based on a predetermined point according to claim 1, It is characterized in that The step (2) specifically includes the following sub-steps: (2.1) Choose any gate programming-based scheme and set the measurement value vector of the memristor unit under test : ,in, represents any measurement value; (2.2) For the measurement value vector Each measurement value , the memristor cell is programmed using a gate programming-based scheme to obtain the measured value The corresponding gate control voltage , and the gate control voltage vector is obtained : ; (2.3) According to the gate control voltage vector and the measurement vector of the test object A fitting curve of voltage-measured value of the test object is obtained by fitting.
6. A method for programming a multi-valued memristor based on a predetermined point according to claim 1, It is characterized in that The gate voltage adjustment is specifically as follows: If the measured value Less than the target test value , then use the initial gate control voltage Perform a position setting; If the measured value Greater than the target test value , the memristor unit is first completely reset, and then the initial gate control voltage is used Set the bit.
7. A method for programming a multi-valued memristor based on a predetermined point according to claim 1, It is characterized in that The gate voltage adjustment is specifically as follows: Select the appropriate gate control voltage vector : ,in, represents any gate control voltage vector, ,satisfy , any one adjusts the gate control voltage Subscript b As the index of this voltage, m To adjust the maximum index of gate control voltage; From regulating the gate control voltage vector The closest gate control voltage to the initial Voltage As the current regulating gate control voltage, and record the index of the current regulating gate control voltage as r ; If the measured value Less than the target test value , then update the current regulating gate control voltage: add 1 to the current regulating gate control voltage index and the corresponding regulating gate control voltage as the updated current regulating gate control voltage. If the updated current regulating gate control voltage index exceeds the maximum index m The programming process is then exited if the updated index of the current gate control voltage does not exceed the maximum index m Then the updated current regulating gate control voltage is used for setting; If the measured value Greater than the target test value , then update the current regulating gate control voltage: take the regulating gate control voltage corresponding to the index of the current regulating gate control voltage minus 1 as the updated current regulating gate control voltage, if the updated current regulating gate control voltage index is less than 0, exit the programming process, if the updated current regulating gate control voltage index is not less than 0, use the updated current regulating gate control voltage for setting.
8. A multi-valued memristor programming device based on predetermined points, It is characterized in that It includes a preset value module, a fitting module, an initial voltage calculation module, a programming module and a judgment module; The preset value module is used to preset the programming parameters required by the memristor unit during the programming process. The programming parameters include the test object and the target test value of the test object. , Error range E and maximum number of programming times F , and initialize the memristor unit; The fitting module is used to scan the memristor unit under gate voltage control, collect statistical data and perform fitting to obtain a fitting curve; The initial voltage calculation module is used to obtain the target test value of the test object according to the fitting curve. The corresponding initial gate control voltage , and initialize the programming times a =0; The programming module is used to obtain the measured value of the test object , and determine the measured value Is it within the target range? The target range is ; If the measured value If it is within the target range, the programming is successful and the programming process is exited; Otherwise, the gate voltage of the memristor unit is adjusted and the programming times are increased. a = a +1; The judging module is used to judge whether the programming times are greater than the maximum programming times. F :If it is greater than the maximum number of programming times F , it proves that the programming has failed and the memristor may be damaged; otherwise, it returns to the programming module until the programming is successful.
9. A multi-valued memristor programming device based on predetermined points, It is characterized in that It comprises a memory and one or more processors, wherein the memory stores executable codes, and when the one or more processors execute the executable codes, they are used to implement a multi-value memristor programming method based on predetermined points as described in any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that A program is stored thereon, and when the program is executed by a processor, a multi-value memristor programming method based on predetermined points as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Multivalue memristor self-adaption programming circuit for nano cross rod structure and method
CN102789811A
Memristor-based programmable neural network accelerator
CN113869504A
Operation method and device of memory unit and memory array
CN113971981A
Efficient programming method for memristor array
CN114743582A
Method and apparatus for memristor cell programming
CN116665734A
