This application claims priority to Korean Patent Application No. 10-2021-0106567, filed on Aug. 12, 2021, the content of which is incorporated herein by reference in its entirety.
The present disclosure relates to an apparatus capable of forming an artificial neural network by a resistive memory array and a neuron circuit.
An artificial neural network is a network for imitating and learning the processing of information in the human brain. In order to implement this network, the artificial neural network comprises a neuron circuit and a resistive memory array.
A resistive RAM is a kind of next generation nonvolatile memory and is a device having memristor properties. The memristor, as a compound word of a memory and a resistor, has resistance properties, does not have a constant resistance value, varies in the resistance value thereof depending on a specific voltage pulse applied to both ends thereof, and is able to store a varied resistance value for a predetermined time. As resistive RAMs are configured as a crossbar-shaped array, it is possible to function as a synapse element connected between neurons.
However, in terms of the operation of a hardware neural network based on resistive memory arrays, a conductance of a resistive element significantly varies depending on a temperature.
In other words, as shown in
The simulation data shows the abnormal operation of the array output current caused due to a variation in the conductance of a resistive element in the array and illustrates a current outputted from a specific output column line, as a distribution function for 10,000 tests in an array inference operation.
Unlike a narrow distribution at 293K (a normal operation at a room temperature), it may be seen that an output current ΣVG also goes out of a normal operating region due to a temperature variation as a temperature rises (an abnormal operation).
In order to cope with this problem, there is a circuit for compensating for a temperature variation of a resistive memory array, as disclosed in Korean Patent Application Laid-Open No. 10-2017-0134444.
However, such a conventional art does not compensate for an output varied depending on a temperature variation. The conventional art is nothing but a post-compensation that changes an input value applied to a resistive memory array with a voltage compensation value. Therefore, such a conventional art has limitations in that it is nothing more than a post-supplementation and accurate compensation cannot be performed.
The contents described in the above Description of Related Art are to aid understanding of the background of the present disclosure and may include what is not previously known to those having ordinary skill in the art to which the present disclosure pertains.
An embodiment of the present disclosure is directed to a neuromorphic hardware apparatus based on a resistive memory array. In the neuromorphic hardware apparatus, even when a resistive memory array outputs an abnormal output depending on an operating temperature, an input value for a neuron circuit is compensated for, thereby preventing an operation error from occurring.
In accordance with an embodiment of the present disclosure, a neuromorphic hardware apparatus based on a resistive memory array includes a resistive memory array in which a plurality of synaptic resistor elements are arranged. Each synaptic resistor element is changed in its resistance value depending on a voltage pulse applied thereto and stores the resistance value for a predetermined time. The neuromorphic hardware apparatus also includes a neuron circuit configured to receive an output signal from the resistive memory array and output a voltage signal to another resistive memory array. The neuron circuit includes a temperature compensation unit which compensates for an output voltage of the resistive memory array on the basis of an operating temperature of the resistive memory array.
In addition, the resistive memory array is arranged in the form of a crossbar array and the temperature compensation unit is connected to an output terminal of each column of the resistive memory array.
Here, the temperature compensation unit includes a transimpedance amplifier (TIA), which performs amplification by converting a current signal into a voltage signal.
In addition, a feedback resistor of the transimpedance amplifier is an element, which has the same property as operating property of the resistive memory array depending on a temperature, by having a value according to the following equation.
In this equation, RF(T) is a feedback resistance value at the operating temperature, Ro is an initial resistance value of the feedback resistor at a room temperature, and α(T) is a set value based on operating temperature data of the feedback resistor.
Meanwhile, the neuron circuit includes an ADC converter configured to receive an output voltage compensated for by the temperature compensation unit and convert the received output voltage into a digital voltage signal. The neuron circuit also includes an activation function unit configured to apply an activation function of a neuron to the digital voltage signal. The neuron circuit further includes a pulse generator configured to output a voltage signal to be transferred to the another resistive memory array.
Next, in accordance with an embodiment of the present disclosure, a neuromorphic hardware apparatus based on a resistive memory array includes a resistive memory array in which a plurality of synaptic resistor elements are arranged. Each synaptic resistor element is changed in its resistance value depending on a voltage pulse applied thereto and stores the resistance value for a predetermined time. The neuromorphic hardware apparatus also includes a neuron circuit configured to receive an output signal from the resistive memory array and output a voltage signal to another resistive memory array. The neuromorphic hardware apparatus also includes a temperature compensation unit connected to the resistive memory array. The temperature compensation unit is configured to compensate for an output voltage of the resistive memory array on the basis of an operating temperature of the resistive memory array and input the compensated output voltage to the neuron circuit.
In addition, the resistive memory array is arranged in the form of a crossbar array, and the temperature compensation unit is connected to an output terminal of each column of the resistive memory array.
Here, the temperature compensation unit includes a transimpedance amplifier (TIA), which performs amplification by converting a current signal into a voltage signal.
In addition, a feedback resistor of the transimpedance amplifier is an element which has the same property as operating property of the resistive memory array depending on a temperature, by having a value according to the following equation.
In this equation, RF(T) is a feedback resistance value at the operating temperature, Ro is an initial resistance value of the feedback resistor at a room temperature, and α(T) is a set value based on operating temperature data of the feedback resistor.
Meanwhile, the neuron circuit includes an ADC converter configured to receive an output voltage compensated for by the temperature compensation unit and convert the received output voltage into a digital voltage signal. The neuron circuit also includes an activation function unit configured to apply an activation function of a neuron to the digital voltage signal. The neuron circuit also includes a pulse generator configured to output a voltage signal to be transferred to the another resistive memory array.
According to the present disclosure, even when an abnormal output is outputted by a resistive memory array depending on an operating temperature, the abnormal output is compensated for and the compensated output current is inputted to the neuron circuit. Thus, it is possible to prevent an operation error of the neuron circuit from occurring, thereby enabling a stable network operation.
In other words, the output of the neural circuit may be constantly maintained even when an output current of the resistive memory array varies.
Therefore, through this, it is possible to maintain the learning accuracy of an artificial neural network.
In order to fully understand the present disclosure and operational advantages of the present disclosure and objects attained by practicing the present disclosure, reference should be made to the accompanying drawings that illustrate embodiments of the present disclosure and to the description in the accompanying drawings. When a component, device, element, or the like of the present disclosure is described as having a purpose or performing an operation, function, or the like, the component, device, or element should be considered herein as being “configured to” meet that purpose or to perform that operation or function.
In describing embodiments of the present disclosure, known technologies or repeated descriptions may be reduced or omitted to avoid unnecessarily obscuring the gist of the present disclosure.
Hereinafter, a neuromorphic hardware apparatus based on a resistive memory array according to an embodiment of the present disclosure is described with reference to
The neuromorphic hardware apparatus based on a resistive memory array of the present disclosure configures an artificial neural network for machine learning and comprises neuron circuits and a resistive memory array serving as a synapse element, which connects the neuron circuits.
The neuron circuit receives a current signal from the resistive memory array, converts the current signal into a digital voltage signal, and, after activation processing, outputs a voltage signal to a next resistive memory array.
In other words, as shown in
A resistive memory array 110, as shown in
In the resistive memory array 110 in the form of a crossbar array, a plurality of synaptic resistor element 111 are coupled and arranged between row lines and column lines. Each synaptic resistor element 111 is an element whose resistance value linearly varies depending on an applied voltage and each synaptic resistor element 111 has a property of storing the resistance value for a predetermined time.
However, the conductance of the synaptic resistor element 111 varies depending on an operating temperature and an output current value varies depending on the varied conductance.
In this way, when an output current is abnormally generated, the artificial neural network cannot be stably operated.
In order to cope with this problem, the neuron circuits of the present disclosure include current sensing circuits and each current sensing circuit includes a temperature compensation unit 210. The temperature compensation unit 210 compensates for an output current depending on a temperature and inputs the compensated output current to the neuron circuit.
The temperature compensation unit 210 may be configured between the neuron circuit and the resistive memory array 110, separately from the neuron circuit.
The current sensing circuit includes the temperature compensation unit 210, a sense amplifier, and a temperature dependent element.
Therefore, in contrast to that a current from a resistive memory array 110 is inputted to a neuron circuit as shown in
When a current signal is converted into a voltage signal, the sense amplifier functions to regulate the amplification of a signal by adjusting a gain.
The temperature dependent element is an element whose conductance varies depending on a temperature and thus the temperature dependent element may sense the degree of a temperature variation.
The temperature compensation unit 210 is connected to each column of the resistive memory array 110 as shown in
In more detail, a conductance G of the synaptic resistor element 111 varies in proportion to α(T) depending on a temperature as in Equation 1.
G(T)=G0·α(T) [Equation 1]
An output current I(T) by the temperature compensation unit 210 is as follows.
I(T)=ΣVG(T)=α(T)ΣVG0 [Equation 2]
When the feedback resistor 211 is set as in the following Equation 3, an output voltage VTIA(T) by the temperature compensation unit 210 is outputted regardless of α(T), as in Equation 4.
Here, Ro is a total resistance value of each column of a resistive memory array 110, RF varies depending on a, and a is a set value based on operating temperature data of the resistive memory array 110.
V
TIA(T)=RF(T)×ΣVG(T)=R0ΣVG0 [Equation 4]
Namely, based on an element having temperature dependence of reaction such as the synaptic resistor element 111, output is performed as the output voltage VTIA(T) is amplified by the reciprocal term of α(T) in the transimpedance amplifier.
As such, when the conductance G of the synaptic resistor element 111 in the resistive memory array 110 is changed by α(T) times an existing conductance Go, an output current of a specific line of the resistive memory array 110 is also changed by α(T) times an existing output current Io. In this way, the temperature compensation unit 210 compensates for an abnormal output current of the resistive memory array 110, by amplifying or scaling the abnormal output current by 1/α(T) before the abnormal output current is inputted to a neuron circuit. Accordingly, an output voltage is stably outputted without being affected by a temperature and is normally transferred to the neuron circuit.
As is apparent from the above description, according to the neuromorphic hardware apparatus based on a resistive memory array 110 of the present disclosure, even when a resistive memory array 110 outputs an abnormal output depending on an operating temperature, by compensating a neuron circuit for an input value, it is possible to prevent an operation error from occurring. This results in a stable operation of an artificial neural network.
While the present disclosure has been described with reference to the accompanying drawings, it should be apparent to those having ordinary skill in the art that various changes and modifications can be made without departing from the spirit and scope of the present disclosure without being limited to the embodiments disclosed herein. Accordingly, it should be noted that such alternations or modifications fall within the claims of the present disclosure, and the scope of the present disclosure should be construed on the basis of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2021-0106567 | Aug 2021 | KR | national |