Efficient programming method for memristor arrays

Through the parallel programming method, the conductance value update direction of the memristor array is calculated and updated in parallel, which solves the problem of low programming efficiency in the existing technology, achieves efficient programming of the entire array, and simplifies system design.

CN114743582BActive Publication Date: 2024-10-18TSINGHUA UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210200292.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-02
Publication Date
2024-10-18
Estimated Expiration
2042-03-02

AI Technical Summary

Technical Problem

Existing programming strategies for memristor arrays require separate write verification and precise calculations for each device, resulting in inefficient programming, especially as the array expands and becomes more time-consuming.

Method used

Using a parallel programming method for memristor arrays, by obtaining the standard voltage and output current, calculating the update direction of the conductance value, and performing parallel update operations on the entire array, it simplifies system design and improves programming efficiency.

Benefits of technology

It realizes parallel operation of all devices that need to be programmed in the entire array, simplifies the programming process, improves programming efficiency, and reduces system design complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114743582B_ABST
    Figure CN114743582B_ABST
Patent Text Reader

Abstract

The present invention proposes an efficient programming method for a memristor array, which includes the following steps: S1: obtaining multiple groups of standard voltages and calculating the standard currents corresponding to the standard voltages; S2: randomly inputting a group of standard voltages into the memristor array and reading the output currents of each column corresponding to the memristor array; S3: repeating step S2K times, obtaining K groups of update data, and calculating the update direction of the conductance values ​​of each memristor in the memristor array according to the K groups of update data; wherein K is a preset number of times, and the update data includes the standard voltage and its corresponding standard current and output current; S4: performing parallel update operations on each memristor in the memristor array according to the update direction; S5: repeating steps S2-S4 until the multiple groups of standard voltages are used up; S6: repeating steps S1-S5 multiple times until the programming process of the memristor array is completed. The method for parallel programming according to the array proposed by the present invention improves the programming efficiency of the memristor array.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of electricity. Background Art

[0002] Memristors are the fourth type of passive components besides resistors, capacitors, and inductors. They are related to magnetic flux and charge, and their conductance can be changed by modulating an external voltage. They have advantages such as fast read and write speed, high integration, and low power consumption, and have important applications in many areas. In particular, because the nature of their variable conductance is similar to the mechanism by which synapses can change weights according to the stimulation of previous and subsequent neurons, they can perform in-situ calculations while storing data, integrating storage and computing, and solving the delay and power consumption problems caused by the separation of storage and computing under the von Neumann structure and the transmission of large amounts of data between storage units and computing units.

[0003] At present, the programming strategy of memristor arrays is mainly to perform write verification on each device separately, and detect the conductivity value of the device after each write pulse to adjust the polarity of the next write pulse, and finally reach the desired target value. This programming method needs to accurately calculate the sign and size of the difference between the current actual conductivity value and the target value of each device every time it is updated, and use it to perform different update operations on each device, so only one device can be programmed at a time. Therefore, as the memristor array continues to expand, the time consumption is also rapidly increasing.

[0004] In view of the above problems, the present invention proposes a programming strategy for a memristor array, which is a strategy for parallel programming according to the array, and is used to improve programming efficiency. Summary of the invention

[0005] The present invention aims to solve one of the technical problems in the related art at least to a certain extent.

[0006] To this end, a first object of the present invention is to provide an efficient programming method for a memristor array, so as to improve programming efficiency.

[0007] A second object of the present invention is to provide a computer device.

[0008] A third object of the present invention is to provide a computer-readable storage medium.

[0009] To achieve the above-mentioned purpose, a first embodiment of the present invention proposes an efficient programming method for a memristor array, comprising:

[0010] S1: Obtain multiple sets of standard voltages and calculate standard currents corresponding to the standard voltages;

[0011] S2: randomly inputting a set of the standard voltages into the memristor array, and reading out the output currents of the columns corresponding to the memristor array;

[0012] S3: Repeat step S2K times to obtain K groups of update data, and calculate the update direction of the conductance value of each memristor in the memristor array according to the K groups of update data; wherein K is a preset number of times, and the update data includes a standard voltage and its corresponding standard current, and an output current;

[0013] S4: performing a parallel update operation on each memristor in the memristor array according to the update direction;

[0014] S5: repeating steps S2-S4 until the multiple sets of standard voltages are used up;

[0015] S6: Repeat steps S1-S5 multiple times until the programming process of the memristor array is completed.

[0016] The efficient programming method for memristor arrays proposed in the embodiment of the present invention can perform parallel operations on all devices that need to be programmed in the entire array each time. During each update, one of the SET or RESET operations is performed on all memristors that need to be updated, and there is no need to perform a separate write check on each device, which is conducive to simplifying system design and improving programming efficiency.

[0017] In addition, the efficient programming method for memristor array according to the above embodiment of the present invention may also have the following additional technical features:

[0018] Furthermore, in one embodiment of the present invention, the step S1 further includes:

[0019] The standard current corresponding to the standard voltage is calculated according to formula (1), as shown below:

[0020]

[0021] Among them, I j is the jth column current, G ji is the conductance of the memristor in the i-th row and j-th column, V j is the voltage of the i-th row, m is the maximum number of rows, and n is the maximum number of columns.

[0022] Furthermore, in one embodiment of the present invention, the step S3 further includes:

[0023] The update direction of the conductance value is calculated according to formulas (2) and (3), as shown below:

[0024]

[0025]

[0026] Among them, mean(I j -I s) represents the average of the differences between the output current of the jth column of group k and the corresponding standard current, represents the average of the input voltage of the ith row of group k, t1 and t2 are current thresholds, and t3 and t4 are voltage thresholds.

[0027] Further, in one embodiment of the present invention, the parallel updating operation on each memristor includes performing a SET operation on the memristor and a RESET operation on the memristor, and the parallel updating operation on each memristor in the memristor array according to the update direction includes:

[0028] Open all f(I j )=1, for all g(V i )=1, a forward voltage is applied to the row to perform SET operation, and all g(V i )=-1, a reverse voltage is applied to the row to perform RESET operation; then all f(I j )=1, open all f(I j )=-1, for all f(I j )=-1, a reverse voltage is applied to the row to perform RESET operation, and all g(V i )=-1, a forward voltage is applied to the row to perform SET operation.

[0029] To achieve the above-mentioned purpose, a second aspect of the present invention proposes a computer device, characterized in that it includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, it implements the efficient programming method for memristor arrays as described above.

[0030] To achieve the above objectives, a third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the efficient programming method for memristor arrays as described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0032] Figure 1 A schematic flow chart of an efficient programming method for a memristor array provided by an embodiment of the present invention.

[0033] Figure 2 A schematic diagram of the "sandwich" simplified structure of the resistive switching memristor provided in an embodiment of the present invention.

[0034] Figure 3 A schematic diagram of a memristor array provided in an embodiment of the present invention.

[0035] Figure 4 This is a schematic diagram of the 1T1R array structure provided by an embodiment of the present invention.

[0036] Figure 5 A flowchart of parallel programming by array provided in an embodiment of the present invention.

[0037] Figure 6 A flow chart of performing SET and RESET operations on the entire array provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0038] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0039] The following describes an efficient programming method for a memristor array according to an embodiment of the present invention with reference to the accompanying drawings.

[0040] Figure 1 A schematic flow chart of an efficient programming method for a memristor array provided by an embodiment of the present invention.

[0041] like Figure 1 As shown, the efficient programming method for the memristor array includes the following steps:

[0042] S1: Obtain multiple sets of standard voltages and calculate standard currents corresponding to the standard voltages;

[0043] S2: randomly input a set of standard voltages into the memristor array and read out the output current of each column corresponding to the memristor array;

[0044] S3: Repeat step S2K times to obtain K groups of update data, and calculate the update direction of the conductance value of each memristor in the memristor array according to the K groups of update data; wherein K is a preset number of times, and the update data includes the standard voltage and its corresponding standard current, and the output current;

[0045] S4: performing a parallel update operation on each memristor in the memristor array according to the update direction;

[0046] S5: Repeat steps S2-S4 until multiple sets of standard voltages are used up;

[0047] S6: Repeat steps S1-S5 multiple times until the programming process of the memristor array is completed.

[0048] Furthermore, in one embodiment of the present invention, step S1 further includes:

[0049] The standard current corresponding to the standard voltage is calculated according to formula (1), as shown below:

[0050]

[0051] Among them, I j is the jth column current, G ji is the conductance of the memristor in the i-th row and j-th column, V j is the voltage of the i-th row, m is the maximum number of rows, and n is the maximum number of columns.

[0052] Furthermore, in one embodiment of the present invention, step S3 further includes:

[0053] The conductance value update direction is calculated according to formulas (2) and (3), as shown below:

[0054]

[0055]

[0056] Among them, mean(I j -I s ) represents the average of the differences between the output current of the jth column of group k and the corresponding standard current, represents the average of the input voltage of the ith row of group k, t1 and t2 are current thresholds, and t3 and t4 are voltage thresholds.

[0057] Further, in one embodiment of the present invention, performing a parallel update operation on each memristor includes performing a SET operation on the memristor and a RESET operation on the memristor, and performing a parallel update operation on each memristor in the memristor array according to an update direction includes:

[0058] Open all f(I j )=1, for all g(V i )=1, a forward voltage is applied to the row to perform SET operation, and all g(V i )=-1, a reverse voltage is applied to the row to perform RESET operation; then all f(I j )=1, open all f(I j )=-1, for all f(I j )=-1, a reverse voltage is applied to the row to perform RESET operation, and all g(V i )=-1, a forward voltage is applied to the row to perform SET operation.

[0059] The following examples are provided to further explain the principles of the present invention.

[0060] The conductance value of a memristor can be changed by applying an external voltage. Taking the resistive effect memristor as an example, Figure 2The figure shows the simple "sandwich" structure of the resistive memristor. The SET process can be realized by applying a forward voltage to increase the conductance of the memristor, and the RESET process can be realized by applying a reverse voltage to reduce the conductance of the memristor. During the programming process, the SET and RESET operations are continuously adjusted to adjust the memristor to the target conductance value.

[0061] Figure 3 For a memristor array, multiplication and accumulation operations can be implemented based on Ohm's law and Kirchhoff's law. The operation process is shown in formula (1).

[0062]

[0063] Among them, I j is the jth column current, G ji is the conductance of the memristor in the i-th row and j-th column, V j is the voltage of the i-th row, m is the maximum number of rows, and n is the maximum number of columns.

[0064] In the actual process, Figure 3 The memristor array shown is usually used in conjunction with transistors for better control. These transistors block the current when a low voltage is applied to achieve the effect of turning off, and have little effect on the current when a large voltage is applied to achieve the effect of turning on, so the target memristor-related circuit can be turned on or off as needed. Figure 4 Shown is a 1T1R (1-transistor-1-memristor) array structure.

[0065] Figure 5 The flowchart of parallel programming according to the array is shown. First, multiple sets of standard inputs and outputs are given according to formula (1), and then programming is performed according to the following flowchart. In each programming process, the first step is to randomly input a set of standard voltages to the memristor array; the second step is to read the output current of each column; after repeating the first two steps K times, the third step is to calculate the update direction of the conductance value of each device according to the input and output; the fourth step is to synchronously update all devices in the entire array, and perform corresponding operations on the devices that need SET and RESET according to the previously calculated update direction; after completing an update, a new set of data is input, and when all standard data are fully input, it is recorded as a complete cycle. After completing N cycles, the programming process of the array ends. The number of data inputs K and the number of cycles N required for each update need to be adjusted in a targeted manner during the actual work process.

[0066] There is no unique method for calculating the conductance value update direction. Formula (2) (3) and the device update logic in Table 1 are just examples.

[0067]

[0068]

[0069] Among them, mean(I j -I s ) represents the average of the differences between the output current of the jth column of group k and the corresponding standard current, represents the average of the input voltage of the ith row of group k, t1 and t2 are current thresholds, and t3 and t4 are voltage thresholds.

[0070] <![CDATA[Programming operations on G ij > <![CDATA[f(I J )*g(V i )]]> SET 1 No Action 0 RESET -1

[0071] Table 1

[0072] Figure 6 This is the specific workflow for performing SET and RESET operations on the entire array. First, open all f(I j )=1, for all g(V i )=1, a forward voltage is applied to the row to perform SET operation, and all g(V i )=-1, a reverse voltage is applied to the row to perform RESET operation; then all f(I j )=1, open all f(I j )=-1, for all f(I j )=-1, a reverse voltage is applied to the row to perform RESET operation, and all g(V i )=-1, a forward voltage is applied to the row to perform SET operation.

[0073] The efficient programming method for memristor arrays proposed in the embodiment of the present invention can perform parallel operations on all devices that need to be programmed in the entire array each time. During each update, one of the SET or RESET operations is performed on all memristors that need to be updated, and there is no need to perform a separate write check on each device, which is conducive to simplifying system design and improving programming efficiency.

[0074] To achieve the above-mentioned purpose, a second aspect of the present invention proposes a computer device, characterized in that it includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, it implements the efficient programming method for memristor arrays as described above.

[0075] To achieve the above objectives, a third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the efficient programming method for memristor arrays as described above.

[0076] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0077] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0078] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. An efficient programming method for a memristor array, characterized in that: The following steps are involved: S1: Obtain multiple sets of standard voltages and calculate standard currents corresponding to the standard voltages; S2: randomly inputting a set of the standard voltages into the memristor array, and reading out the output currents of the columns corresponding to the memristor array; S3: Repeat step S2K times to obtain K groups of update data, and calculate the update direction of the conductance value of each memristor in the memristor array according to the K groups of update data; wherein K is a preset number of times, and the update data includes a standard voltage and its corresponding standard current, and an output current; S4: performing a parallel update operation on each memristor in the memristor array according to the update direction; S5: repeating steps S2-S4 until the multiple sets of standard voltages are used up; S6: repeating steps S1-S5 multiple times until the programming process of the memristor array is completed; The step S1 further includes: The standard current corresponding to the standard voltage is calculated according to formula (1), as shown below: ,(1) in, For the Column current, For the Line Column memristor conductance, For the Line voltage, is the maximum number of rows, is the maximum number of columns; The step S3 further includes: The control information required for updating the conductance value is calculated according to formulas (2) and (3), as shown below: ,(2) ,(3) in, Indicates the kth group The average of the difference between the output current of each column and the corresponding standard current, represents the kth group The mean value of the row input voltage, and is the current threshold, and is the voltage threshold; The performing of parallel updating operations on each memristor includes performing a SET operation on the memristor and a RESET operation on the memristor, and the performing of parallel updating operations on each memristor in the memristor array according to the update direction includes: Open All Columns, for all Apply a forward voltage to the row to perform a SET operation. Apply reverse voltage to the row to perform RESET operation; then turn off all Columns, open all Columns, for all Apply reverse voltage to the rows to perform RESET operation. Apply a forward voltage to the row to perform a SET operation.

2. A computer device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to claim 1 is implemented.

3. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to claim 1 is implemented.

Citation Information

Patent Citations

  • Neural network online learning system based on a memristor

    CN109800870A

  • Operation methods and devices for memristor unit and memory array

    CN113971979A