VARIABLE-BIT ADAPTIVE SENSING CIRCUIT SYSTEM IN ANALOG NEUROMORPHIC SYSTEMS
20260099703 ยท 2026-04-09
Inventors
Cpc classification
International classification
Abstract
A variable-bit adaptive sensing circuit system in an analog neuromorphic system is disclosed. In an analog neuromorphic system including a synapse array, the circuit system for sensing the synapse array comprises: a sensing part circuit configured to sense output currents of synapse devices in each column of the synapse array in response to an operation signal; an error detection circuit configured to detect errors based on the column-wise output currents of the synapse devices and determine an operation start reference; and an analog-to-digital conversion circuit configured to integrate the synapse device current based on the operation start reference, convert the integrated current into a voltage value, and output a corresponding digital value.
Claims
1. A circuit system for sensing a synapse array in an analog neuromorphic system including the synapse array, the circuit system comprising: a sensing part circuit configured to sense output currents of synapse devices in each column of the synapse array in response to a signal applied to operate the synapse array; an error detection circuit configured to detect an error based on the output currents of the synapse devices in each column and to determine an operation start reference; and an analog-to-digital conversion circuit configured to integrate the output currents of the synapse devices based on the operation start reference, convert the integrated currents into voltage values, and output the voltage values as digital values.
2. A circuit system for sensing a synapse array in an analog neuromorphic system including the synapse array of claim 1, wherein the sensing part circuit comprises: an M.sub.0 transistor connected to an output terminal of the synapse device, wherein the synapse device is set to a maximum resistance value; a comparator configured to provide negative feedback of the output current of the synapse device, wherein an output of the comparator is applied as a control voltage (V.sub.GG) to a gate node of the M.sub.0 transistor, and a positive (+) input terminal of the comparator receives a reference voltage (V.sub.REFS); and an M.sub.G transistor having a source node to which the reference voltage (V.sub.REFS) is applied and a gate node to which an operation reference voltage (V.sub.GR) is applied, wherein a drain node of the M.sub.0 transistor and a drain node of the M.sub.G transistor are connected to drain nodes of a first and a second current mirror transistor, respectively, the gate nodes of the first and second current mirror transistors are connected to each other such that the operation reference voltage (V.sub.GR) is generated based on the maximum resistance value of the synapse device.
3. A circuit system for sensing a synapse array in an analog neuromorphic system including the synapse array of claim 1, wherein the error detection circuit comprises: a comparison circuit configured to receive an output voltage (V.sub.S) of the synapse device, a reference voltage (V.sub.REFS) used for controlling the output current of the synapse device, a control voltage (V.sub.GG), and an operation reference voltage (V.sub.GR), and to detect an error based on the input signals; an RS latch circuit located downstream of the comparison circuit, configured to receive a comparison result between the output voltage (V.sub.S) and the reference voltage (V.sub.REFS) as an R input, and a comparison result between the control voltage (V.sub.GG) and the operation reference voltage (V.sub.GR) as an S input; and a long pulse detector (LPD) circuit located downstream of the RS latch circuit, configured to determine the operation start reference by detecting the longest error pulse based on a change in a Q value of the RS latch circuit.
4. A circuit system for sensing a synapse array in an analog neuromorphic system including the synapse array of claim 1, further comprising a bias control circuit configured to control an output bit based on a reference current, wherein the analog-to-digital conversion circuit is configured to output a digital value corresponding to the integrated voltage value in accordance with the output bit.
5. A circuit system for sensing a synapse array in an analog neuromorphic system including the synapse array of claim 1, wherein the analog-to-digital conversion circuit comprises a slope analog-to-digital converter.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
DETAILED DESCRIPTION
[0025] Singular forms used in this specification include plural forms unless the context clearly indicates otherwise. In the specification, the term configured, include, or the like should not be construed as necessarily including several components or several steps described herein, in which some of the components or steps may not be included or additional components or steps may be further included. Further, the terms ~ unit, module, and the like mean a unit for processing at least one function or operation and may be implemented by hardware or software or by a combination of hardware and software.
[0026] Hereinafter, the embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
[0027]
[0028] Referring to
[0029] The synapse array (110) may include synapse devices arranged in an N N matrix. Here, N is a natural number. Each synapse device is capable of adjusting weights and storing or transmitting signals by utilizing variable resistance or conductance.
[0030] For the sake of clarity and ease of explanation, it is assumed that the synapse devices are ECRAM synapse devices and ReRAM synapse devices, and the description will be provided based on this assumption. In addition, it is assumed that each synapse device in the synapse array is implemented using a transistor. Accordingly, each synapse device may include a gate node, a drain node, and a source node.
[0031] The FPGA circuit unit (120) may include a signal generation circuit unit, a backend circuit unit, and the like.
[0032] The signal generation circuit unit may generate waveforms corresponding to update or read operations, and the backend circuit unit is configured to receive and process output values from the analog-to-digital conversion circuit unit (136).
[0033] The waveform generated by the FPGA circuit unit (120) is transmitted to a pulse driver in the adaptive sensing circuit unit (130), and the pulse driver may generate a voltage pulse based on the waveform from the FPGA circuit unit (120) and deliver it to the synapse device.
[0034] As shown in
[0035] The output current (I.sub.S,N) of the synapse device varies depending on the length of the voltage pulse applied to the synapse device and the weight (conductance) of the synapse device.
[0036] The adaptive sensing circuit unit (130) senses the output current of synapse devices in each column of the synapse array in response to an operation signal applied to the synapse array, detects errors, determines an operation start reference, and senses the current of the synapse devices based on the operation start reference to output a digital value.
[0037] The adaptive sensing circuit unit (130) comprises a sensing part circuit unit (132), an error detection circuit unit (134), and an analog-to-digital conversion circuit unit (136).
[0038] The sensing part circuit unit (132) is configured to measure current variations in the synapse array to which a voltage is applied according to a control signal, serving as a means for reading the state of the synapse devices.
[0039] In the case of synapse devices such as ECRAM and ReRAM, which have a wide weight (resistance) range, the sensing part circuit unit may include a current control circuit unit in order to cover and manage the entire range.
[0040] Referring to
[0041] The sensing part circuit unit (132) may include a current control circuit unit (M.sub.0) configured to control the current of the synapse device. Here, the current control circuit unit (M.sub.0) may be a PMOS transistor.
[0042] A source node of the current control circuit unit (M.sub.0) is connected to an output node (V.sub.S) of the synapse device, and a gate node thereof is connected to an output terminal of a comparator (210).
[0043] The comparator (210) operates in negative feedback, with its negative () input terminal connected to the output node (V.sub.S) of the synapse device, and its positive (+) input terminal configured to receive a reference voltage (V.sub.REFS). The output of the comparator (210) may be applied as a control voltage (V.sub.GG) to the gate node of the current control circuit unit (M.sub.0).
[0044] The sensing part circuit unit (132) may further include a current mirror circuit unit (M.sub.T1), which may be an NMOS transistor. That is, a drain node of the current control circuit unit (M.sub.e) may be connected to a drain node of the current mirror circuit unit (M.sub.T1).
[0045] As shown in
[0046] An error may occur when the output voltage (V.sub.S) at the output node of the synapse device does not match the reference voltage (V.sub.REFS) due to the resistance (R.sub.S) value of the synapse device.
[0047] The current control circuit unit (M.sub.0) senses the output current (I.sub.S) of the synapse device, and the output (V.sub.GG) of the comparator (210) is adjusted according to the output current of the synapse device. However, due to the error at the output node (V.sub.S) of the synapse device and the time required for the output voltage (V.sub.GG) of the comparator (210) to converge to the correct value, errors may occur simultaneously.
[0048] In addition, when the resistance value of the synapse device is low, the output current (I.sub.S) of the synapse device becomes excessively large, causing a momentary increase in the voltage at the output node (V.sub.S) of the synapse device. Conversely, when the resistance value of the synapse device is high, the output current (I.sub.S) of the synapse device becomes very small, causing the current control circuit unit (M.sub.0) to take longer to sense the output current. As a result, the output voltage (V.sub.GG) of the comparator (210) takes more time to converge to the correct value.
[0049] That is, since the type of error and the time required to return to a stable state vary depending on the resistance value of the synapse device, a circuit capable of adaptively detecting errors is required to prevent errors caused by the diverse conductance levels of the synapse devices.
[0050] To address this, according to an embodiment of the present disclosure, the adaptive sensing circuit unit (130) may further include an operation reference circuit unit (310) and an error detection circuit unit (134).
[0051] The operation reference circuit unit (310) may generate an operation reference voltage for determining the operation start reference based on the maximum resistance value (R.sub.S,MAX) of the synapse device.
[0052] The operation reference circuit unit (310) is illustrated in
[0053] As shown in
[0054] To this end, the operation reference circuit unit (310) includes an M.sub.G transistor, in which the reference voltage (V.sub.REFS) is applied to a source node, and the operation reference voltage (V.sub.GR) is applied to a gate node. A drain node of the M.sub.G transistor and a drain node of the M.sub.0 transistor are connected to drain nodes of a first and a second current mirror transistor, respectively, and gate nodes of the first and second current mirror transistors are connected to each other, such that the operation reference voltage (V.sub.GR) may be generated based on the maximum resistance value.
[0055] The error detection circuit unit (134) may detect an error using the operation reference voltage (V.sub.GR) and determine whether to proceed with the operation.
[0056]
[0057] The error detection circuit unit (134) comprises a comparison circuit unit (410) and an RS latch circuit unit (420).
[0058] The comparison circuit unit (410) may receive the output voltage (V.sub.S) of the synapse device, the reference voltage (V.sub.REFS) used to control the output current of the synapse device, the control voltage (V.sub.GG), and the operation reference voltage (V.sub.GR), and may detect an error based on these inputs.
[0059] For example, the comparison circuit unit (410) may receive the operation reference voltage (V.sub.GR) as a second negative () input and the control voltage (V.sub.GG) as a second positive (+) input. Accordingly, the comparison circuit unit (410) may determine that an error has occurred if the control voltage (V.sub.GG) is higher than the operation reference voltage (V.sub.GR) and may refrain from performing the read operation in such a case. In contrast, if the control voltage (V.sub.GG) is lower than the operation reference voltage (V.sub.GR), the comparison circuit unit (410) may determine that the read operation is nearly error-free and may output a signal for current integration.
[0060] In addition, although the output voltage (V.sub.S) of the synapse device is intended to be regulated to match the reference voltage through feedback, it may momentarily rise depending on the resistance value of the synapse device. Therefore, the comparison circuit unit (410) may compare the output voltage (V.sub.S) of the synapse device with the reference voltage (V.sub.REFS)to determine whether they are equal.
[0061] The comparison circuit unit (410) may determine that there is no error in the read operation if the control voltage (V.sub.GG) is lower than the operation reference voltage (V.sub.GR) and the output voltage (V.sub.S) of the synapse device is equal to the reference voltage (V.sub.REFS), and may control the system to proceed with the read operation accordingly.
[0062] The two outputs of the comparison circuit unit (410) may be input to the RS latch circuit unit (420).
[0063] For example, the comparison circuit unit (410) may receive the output voltage (V.sub.S) of the synapse device as a first positive (+) input and the reference voltage (V.sub.REFS) as a first negative () input, compare the two, and output the result through a negative output terminal to the R terminal of the RS latch circuit unit (420).
[0064] In addition, the comparison circuit unit (410) may receive the control voltage (V.sub.GG) as a second positive (+) input and the operation reference voltage (V.sub.GR) as a second negative () input, compare the two, and output the result through a positive output terminal to the S terminal of the RS latch circuit unit (420).
[0065] Since the error occurrence time may vary for each column, in an embodiment of the present disclosure, the longest error pulse can be detected through a long pulse detector (LPD) circuit unit (136).
[0066] A long pulse detector circuit unit (430) may be located downstream of the error detection circuit unit (134). More specifically, the long pulse detector circuit unit (430) may be positioned downstream of the RS latch circuit unit (420), read the Q value of the RS latch circuit unit (420) to detect the duration of the error pulse, and output an operation reference pulse based on the longest detected error pulse.
[0067] Referring to
[0068] Therefore, based on the output of the long pulse detector circuit unit (430), i.e., the operation reference pulse, the integration circuit unit (137) and the analog-to-digital conversion circuit unit (136) may perform the read operation. The detailed structure of the long pulse detector circuit unit (430) is illustrated in
[0069] After an error is detected by the error detection circuit unit (134), the integration circuit unit (137) may operate based on the operation reference pulse to integrate the sensed current during the actual read time and generate a voltage value (V.sub.CI). That is, the output of the long pulse detector circuit unit (430) is transmitted to the FPGA circuit unit (120), and the integration circuit unit (137) and the analog conversion circuit unit (136) may be operated based on the operation reference pulse (error pulse) generated by the FPGA circuit unit (120).
[0070] The voltage value (V.sub.CI) output from the integration circuit unit (137) may be delivered to the analog-to-digital conversion circuit unit (136) and converted into a digital value. The analog-to-digital conversion circuit unit (136) may be a slope analog-to-digital converter.
[0071] According to an embodiment of the present disclosure, the integration circuit unit (137) may be included in the analog-to-digital conversion circuit unit (136).
[0072]
[0073] Referring to
[0074] The bias control circuit unit (710) may turn a switch (SW.sub.B6) on or off and adjust an operation bit voltage (V.sub.BIT) according to a reference current (I.sub.REF), thereby controlling the amount of the reference current (I.sub.REF) to match the corresponding bit level.
[0075] To increase the output bit resolution, the operation bit voltage (V.sub.BIT) may be decreased; conversely, to decrease the output bit resolution, the operation bit voltage (VBIT) may be increased, thereby adjusting the resolution of the slope analog-to-digital conversion unit (720).
[0076] The switch (SW.sub.B6) is used to extend the bit range and allows the current to be reduced in 4-bit steps at a time. After the output bit(resolution) is adjusted by controlling the operation bit voltage (V.sub.BIT), the slope analog-to-digital conversion unit (720) may control the bits by turning a counter and a parallel-in serial-out (PISO) shift register on or off.
[0077] The slope analog-to-digital conversion unit (720) may adjust its output resolution by controlling the logic on/off states of a counter and a parallel-in serial-out (PISO) shift register based on the output of the bias control circuit unit (710).
[0078] The slope analog-to-digital conversion unit (720), used across multiple channels and columns, can share circuitry and logic such as the counter and the bias control circuit unit (710), providing significant advantages in terms of power consumption and area efficiency, making it highly beneficial.
[0079]
[0080] The device and method according to the embodiments of the present disclosure may be implemented in a program that can be executed by various computers and may be recorded on computer-readable media. The computer-readable media may include program commands, data files, and data structures individually or in combinations thereof. The program commands that are recorded on a computer-readable media may be those specifically designed and configured for the present disclosure or may be those known to those engaged in the computer software field and thus available. The computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic media such as a magnetic tape, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specifically configured to store and execute program commands, such as ROM, RAM, and flash memory. The program commands include not only machine language codes compiled by a compiler, but also high-level language code that can be executed by a computer using an interpreter, etc.
[0081] The hardware device may be configured to operate as one or more software modules to perform the operation of the present disclosure, and vice versa.
[0082] The present disclosure was described above focusing on the embodiments thereof. It would be understood by those skilled in the art that the present disclosure may be implemented in a modified form without departing from the scope of the present disclosure. Therefore, the disclosed embodiments should be considered in terms of explaining, not limiting. The scope of the present disclosure is shown in the claims, not in the above description, and all differences within an equivalent range should be construed as being included in the present disclosure.