The present invention relates to the technology field of nonvolatile memory elements or devices, and more particularly to a method of operating artificial neural network with nonvolatile memory devices.
Electrically erasable programmable read-only memory (EEPROM) is a type of nonvolatile memory used in computers and other electronic devices to store data and allowing individual data bit to be erased and reprogrammed. Flash is one kind of EEPROM, which has been widely applied in commercial flash memory devices such as USB flash drives or memory cards because of being able to be erased by blocks.
When a flash memory device normally works, data accesses can be achieved by applying operations of writing, erasing and/or reading to its one or more nonvolatile memory devices. It is worth mentioning that, data (bits) verification procedures would be subsequently activated for determining whether there are any fail bits stored in the nonvolatile memory devices after the writing or erasing operation is finished. Herein, the said fail bits mean that the data bits stored in the nonvolatile memory devices does not meet the standards of target bits.
Above-describing method for correcting the fail bits of the nonvolatile memory devices can be implemented into the flash memory device by using simple peripheral circuit units. Moreover, when using this method to repair the fail bits in one or more nonvolatile memory devices, the other nonvolatile memory devices would not be influenced by the writing signal applied to those nonvolatile memory devices having fail bits. However, it needs to note that, the writing signal as shown in
From above descriptions, it is understood that how to design or develop a method for effectively adjust or repair the fail bits from a huge number of nonvolatile memory devices in a flash memory chip has now become an important issue. In view of the, inventors of the present application have made great efforts to make inventive research thereon and eventually provided a Method of operating artificial neural network with nonvolatile memory devices.
The primary objective of the present invention is to provide a Method of operating artificial neural network with nonvolatile memory devices. In the present invention, a plurality of nonvolatile memory devices or a nonvolatile memory array comprising the nonvolatile memory devices and necessary circuit units are integrated to an artificial neural nonvolatile memory network. By such arrangement, it is able to perform feedforward and recurrent operations in the M×N number of nonvolatile memory devices in the nonvolatile memory array, so as to adjust or correct the data bits stored in the M×N number of nonvolatile memory devices through the operating function of the artificial neural network with nonvolatile memory devices.
In order to achieve the primary objective of the present invention, the inventor of the present invention provides an embodiment of the Method of operating artificial neural network with nonvolatile memory devices, comprising following steps:
(10) repeatedly executing the steps (2)-(9) until there is no need to adjust the reference voltage.
The invention as well as a preferred mode of use and advantages thereof will be best understood by referring to the following detailed description of an illustrative embodiment in conjunction with the accompanying drawings, wherein:
To more clearly describe a method of operating artificial neural network with nonvolatile memory devices disclosed by the present invention, embodiments of the present invention will be described in detail with reference to the attached drawings hereinafter.
With reference to
In the present invention, the number (or amount) of the injected electrons in the spacer 12 is regarded as a bit weight. Moreover, a data bit adjusting operation can be applied to the NOI MOSFET 1 (i.e., nonvolatile memory device) through completing the writing operation or the erasing operation by one or multi times. It is worth mentioning that, in the present invention, a nonvolatile memory array comprising M×N number of NOI MOSFETs 1 (i.e., nonvolatile memory devices) is particularly integrated in to a nonvolatile memory device comprising at least one artificial neural nonvolatile memory network. By such arrangement, it is able to easily perform data bit adjusting operations in the M×N number of NOI MOSFETs 1, so as to effectively adjust or correct the data bits stored in the spacers 12 of the M×N number of NOI MOSFETs 1 through the operating function of the artificial neural network with nonvolatile memory devices.
Please refer to
It is worth explaining that, the said controlling unit 3a can be a microprocessor or a memory chip testing apparatus having host computer. Moreover, despite the fact that the NOI MOSFETs 1 are adopted for being as the M×N number of nonvolatile memory devices in the nonvolatile memory array 24, the nonvolatile memory devices for constituting the nonvolatile memory array 24 does not be limited to be the NOI MOSFETs 1. In practical use, the nonvolatile memory devices can also be floating gate memory cells, resistive random access memory (RRAM) cells, phase-change memory (PCM) cells, magnetoresistive random-access memory (MRAM) cells, or silicon-oxide-nitride-oxide-silicon (SONOS) memory cells.
Referring to
Next, the method flow proceeds to step (S02) for making the controlling unit 3a to produce an input voltage set comprising M number of input voltages. Moreover, when the step (S03) is executed, the controlling unit 3a applies a reading operation to the nonvolatile memory array 24 through the decoder unit 21, the bit line voltage regulating unit 22, and the word line voltage regulating unit 23, so as to input the M number of input voltages to the M×N number of nonvolatile memory devices. It is worth mentioning that the M number of input voltages may have different voltage values. Moreover, it needs to explain that an output current ID provided by the nonvolatile memory device (i.e., NOI MOSFET 1) can be calculated by using the mathematical equation of
In the mathematical equation, I0 means an output current as VGS is equal to Vth and m is a substrate parameter of the NOI MOSFET 1.
With reference to
The method flow next proceeds to step (S04). Therefore, from a first column to an N-th column of the nonvolatile memory array 24 sequentially, the N number of current-to-voltage converters 25 collecting output currents received from the M number of nonvolatile memory devices arranged in every column of the nonvolatile memory array 24, respectively. As a result, N number of summed currents are correspondingly calculated and then further converted to N number of output voltages. After the step (S04) is finished, the controlling unit 3a converts the N number of output voltages to N number of output values according to a reference voltage while step (S05) is subsequently executed. In the present invention, a hard limit function providing the service as same as the active function or the mathematical algorithm applied in the artificial neural network is particularly implemented into the step (S05), so as to assist in converting the output voltages to the output values. The said hard limit function is represented by following equation (1).
In above-presented equation (1), net and S respectively mean the output voltage and the reference voltage, wherein the reference voltage is set to be 1V in the present invention. By such arrangement, it is able to obtain an output value “1” when the output voltage is greater than the reference voltage. On the contrary, when the output voltage is smaller than the reference voltage, the output value is calculated to be “0”. After obtaining N number of output values, the method flow continuously proceeds to step (S06) so as to subtract a target value from each of the N number of output values for producing N number of error values. In step (S07), subsequently, the controlling unit 3a applies a data bit adjusting operation to the M×N number of nonvolatile memory devices based on the N number of error values.
Above-mentioned error values are calculated by using equation (2) of E=T−A. In which E, T and A mean the error value, the target value and the output value, respectively. It needs to particularly explain that the target value is set to be 1 or 0 in the present invention. Therefore, relative values of E, T and A can be presumed and integrated in following Table (1).
From Table (1), electronic engineers skilled in development and manufacture of flash memory devices may find that, when the error value is calculated to be “−1”, it is apparently indicated that the nonvolatile memory device (i.e., NOI MOSFET 1) been detected to provide the output value “1” stores a fail bit in its spacer 12. In this case, there is a need to apply the data bit adjusting operation to the nonvolatile memory device, so as to make the output value approach the target value (=0) by the addition of electrons or holes in the space 12 of the nonvolatile memory device.
The said data bit adjusting operation can be a writing operation. As
On the contrary, when the data bit adjusting operation is determined to be a erasing operation, the nonvolatile memory device (i.e., NOI MOSFET 1) is capable of being erased with data bit 13 from its spacer 12 after finishing the erasing operation carried out by hot hole injection (HHI). Through the use of decoder unit 21, bit line voltage regulating unit 22 and word line voltage regulating unit 23, a negative voltage and a positive voltage can be applied to the gate terminal 11 and the drain terminal 14 (or source terminal 15) of the NOI MOSFET 1 in the condition of grounding the source terminal 15 (or drain terminal 14), therefore holes in the Drain diffusion (or Source diffusion) of the NOI MOSFET 1 become “hot holes” after getting specific energy. Consequently, the hot holes directly inject into the spacers from the Drain diffusion (or Source diffusion) of the NOI MOSFET 1. In the present invention, an erasing time for the erasing operation is at least 800 μs.
In step (S08), the steps (2)-(7) would be repeatedly executed until there is no need to apply the data bit adjusting operation to the nonvolatile memory devices in the nonvolatile memory array 24. Briefly speaking, the method flow would immediately stop the cycle execution of the steps (2)-(7) as long as all the data bits stored in the nonvolatile memory devices are detected to meet the standards of target bits. In the present invention, the number (or amount) of the electrons in the spacer 12 of the NOI MOSFET 1 is regarded as a bit weight. Accordingly, the data bit adjusting operation can also be regarded as a bit weight adjusting operation.
Next, the method flow continuously proceeds to step (S09) for slightly modulating the reference voltage. Consequently, in step (S10), it is to repeatedly execute the steps (2)-(7) until there is no need to apply the data bit adjusting operation to the nonvolatile memory devices in the nonvolatile memory array 24.
It is possible to more effectively finish data bit adjusting operations of all of the M×N number of nonvolatile memory devices in the nonvolatile memory array 24 by changing or re-designing different array forms for the input voltage set.
In addition, it can also enhance the efficiency of the data bit adjusting operations applied to the nonvolatile memory array 24 by changing or re-designing the step (S05), the step (S06), the step (S07), and the step (S08) as follows:
number of differential values by applying a voltage subtracting process to every two of the N number of output voltages; subsequently, setting the differential voltages greater than a first reference voltage to “11”, setting the differential voltages smaller than a second reference voltage to “00”, and setting the differential voltages greater than the second reference voltage and smaller than the first reference voltage to “10” or “01”, so as to produce
number of bits states;
number of target states, and then producing
number of error states by comparing the
number of target states with the
number of bits states;
number of error states; and
Therefore, through above descriptions, the method of operating artificial neural network with nonvolatile memory devices 2 having at least one artificial neural network ANN proposed by the present invention have been introduced completely and clearly; in summary, the present invention includes the advantages of:
(1) In the present invention, a plurality of nonvolatile memory devices or a nonvolatile memory array 24 comprising the nonvolatile memory devices and necessary circuit units are integrated to an artificial neural network ANN. By such arrangement, it is able to perform feedforward and recurrent operations in the M×N number of nonvolatile memory devices in the nonvolatile memory array 24, so as to adjust or correct the data bits stored in the M×N number of nonvolatile memory devices through the method of operating artificial neural network with nonvolatile memory devices.
The above description is made on embodiments of the present invention. However, the embodiments are not intended to limit scope of the present invention, and all equivalent implementations or alterations within the spirit of the present invention still fall within the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
106131744 | Sep 2017 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
7512572 | Furber | Mar 2009 | B2 |
8909576 | Akopyan | Dec 2014 | B2 |
10169701 | Hosokawa | Jan 2019 | B2 |
20070297239 | Soerensen | Dec 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20190087715 A1 | Mar 2019 | US |