# US 2024/0202513 A1 · Compact CMOS Spiking Neuron Circuit that works with an Analog Memory-Based Synaptic Array

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0202513 A1
- Document ID: US20240202513A1
- Status: Published application
- Kind: A1
- Application number: 18/537,246
- Filed: 2023-12-12
- Published: 2024-06-20
- Earliest claimed: 2022-12-15
- Assignees: The University of Hong Kong
- Applicants: The University of Hong Kong
- Inventors: Can Li; Zhu Wang; Song Wang; Hayden So
- Web page: https://patentgrep.com/patent/US20240202513A1

## CPC

- G06N 3/065: Analogue means
- G06N 3/048: Activation functions
- G06N 3/049: Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An all-analog spiking neural network circuit including at least one ReRAM-crossbar synapse array that conducts multiply-accumulate operations in parallel and a spike response model (SRM) neuron circuit, which is built with complementary metal-oxide-semiconductor (CMOS) technology. The neuron circuits receive outputs from the ReRAM-crossbar synapse array and directly process the output currents from the ReRAM-crossbar synapse arrays to complete the multiply-accumulate operation and produce processed voltage spike trains.

## Claims

### Claim 1

An all-analog spiking neural network (SNN) circuit comprising:
at least one ReRAM-crossbar synapse array that conducts multiply-accumulate operations in parallel; and
a spike response model (SRM) neuron circuit, built with complementary metal-oxide-semiconductor (CMOS) technology, that receives outputs from the ReRAM-crossbar synapse array and directly processes the output currents from the ReRAM-crossbar synapse arrays to produce output voltage spike trains.

### Claim 2 (depends on 1)

The all-analog spiking neural network circuit according to claim 1, wherein the SNN is designed according to a top-down approach.

### Claim 3 (depends on 1)

The all-analog spiking neural network circuit according to claim 1, wherein the SRM is a spiking neuron model balancing biological plausibility and computational efficiency that describes a membrane potential by integrating kernels over incoming spikes from synapses and outgoing spikes from the neuron itself, wherein appropriate kernel choices enable the SRM to approximate the Hodgkin-Huxley model with a significant increase in energy efficiency and computation speed.

### Claim 4 (depends on 1)

The all-analog spiking neural network circuit according to claim 1 wherein trained parameters are mapped to the conductance of the ReRAM synapse array and the SNN model is trained by backpropagation.

### Claim 5 (depends on 1)

The all-analog spiking neural network circuit according to claim 1, comprising
a convolution layer formed with the ReRAM-crossbar synapse arrays,
a sum pooling layer formed by interconnecting outputs of the ReRAM-crossbar synapse arrays, followed by the CMOS neuron circuits, and
a fully connected layer formed with the ReRAM-crossbar synapse arrays, followed by the CMOS neuron circuits.

### Claim 6 (depends on 1)

The all-analog spiking neural network circuit according to claim 1, wherein each of the ReRAM-crossbar synapse array has multiple pairs of rows that represent positive and negative parameters so that a difference between every two rows can represent signed values.

### Claim 7 (depends on 6)

The all-analog spiking neural network circuit according to claim 6, wherein the difference in output current of the pairs of rows is transformed into voltage signals by two transimpedance amplifiers, completing the multiply-accumulate operation and producing the post-synaptic voltage spike train.

### Claim 8 (depends on 1)

The all-analog spiking neural network circuit according to claim 1, wherein
each of the CMOS neuron circuits contains two resistor-capacitor filters consisting of an ε filter and a ν filter,
the ε filter is configured to implement a spike response, which is the response of membrane potential to input spikes, by convolving the input post-synaptic spike train with a response kernel ε; and
the ν filter is configured to implement a refractory response, which is the response of the membrane potential to output spikes, by convolving the output spike train with a refractory kernel ν.

### Claim 9 (depends on 6)

The all-analog spiking neural network circuit according to claim 6, wherein
the membrane potential is obtained as a difference between the spike response and the refractory response, and
when the membrane potential exceeds a pre-defined threshold, a voltage spike is sent out.

### Claim 9 (depends on 8)

The all-analog spiking neural network circuit according to claim 8, wherein during operation
the post-synaptic voltage spike train, o(l)(t), passing through the ε resistor-capacitor (RC) filter yields a spike response and the output voltage spike train, s(l+1)(t), is fed back from the output port to enter the ν RC filter and produce a refractory response;
the refractory response is subtracted from the spike response via an operational amplifier;
the membrane potential, u(l)(t), is then obtained and encoded into an output voltage spike train, s(l+1)(t), by a comparator and a transistor M1;
when the membrane potential, u(l)(t), crosses over a threshold voltage Vth, the comparator generates a high voltage, turning on the transistor M1, which pulls down the positive input node of the comparator and the output of this comparator, thus turning off the transistor M1 so a spike is generated and output; and.
the output spike, s(l+1)(t), is fed back into the ν RC filter to generate the refractory response, continuously inhibiting the membrane potential, u(l)(t).

### Claim 10 (depends on 8)

The all-analog spiking neural network circuit according to claim 8, wherein during operation
the input voltage spike train, Vin, passes through the ε resistor-capacitor (RC) filter, and yields the membrane potential, Vmem;
the output voltage spike train, Vout, is fed back from the output port and enters the ν RC filter and produces the refractory response that is then lifted by a fixed threshold voltage, Vth, provided by a capacitor C3, resulting in a dynamic threshold voltage connecting to the negative node of the comparator;
when the membrane potential, Vmem, crosses over the dynamic threshold voltage, a comparator generates a high voltage, turning on the transistor M1, which pulls down the output of the comparator and turns off the transistor M1; so that a spike is generated and output; and
the output spike, Vout, is looped back into the ν RC filter to generate the refractory response, increasing the dynamic threshold voltage and thus inhibiting the neuron from spiking.

### Claim 11 (depends on 1)

A method of implementing inference using the all-analog spiking neural network circuit according to claim 1, said method comprising the steps of:
conducting a multiply-accumulate operation in parallel on the ReRAM-crossbar synapse array;
using every pair of rows of the ReRAM-crossbar synapse array to represent positive and negative parameters so that a difference between the two rows of each pair can represent signed values;
transforming the difference in output current of the two rows of each pair into voltage signals by two transimpedance amplifiers;
completing the multiply-accumulate operation and producing a post-synaptic voltage spike train;
sending the post-synaptic voltage spike train from a computer to the CMOS neuron circuits via an arbitrary waveform generator,
measuring the output voltage spike train from the CMOS neuron circuits with an oscilloscope; and
returning the measured output spike train from the oscilloscope to the computer.

### Claim 12

A method of implementing inference comprising the steps of:
conducting a multiply-accumulate operation in parallel on a synapse array;
using every pair of rows of the synapse array to represent positive and negative parameters so that a difference between the two rows of each pair can represent signed values;
transforming the difference in output current of the two rows of each pair into voltage signals using two transimpedance amplifiers;
completing the multiply-accumulate operation and producing a post-synaptic voltage spike train;
sending the post-synaptic voltage spike train to neuron circuits via an arbitrary waveform generator,
measuring the output voltage spike train from the neuron circuits; and
returning the measured output spike train to the computer.

### Claim 13

An all-analog spiking neural network circuit, comprising:
a convolution layer,
a fully connected layer formed by interconnecting outputs of the convolution layer; and
neuron circuits receiving the outputs of the interconnected layer, wherein the neuron circuits are repeated N times.
