Neural network circuit and neural network system

US12547883B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12547883-B2
Application numberUS-202217882360-A
CountryUS
Kind codeB2
Filing dateAug 5, 2022
Priority dateFeb 7, 2020
Publication dateFeb 10, 2026
Grant dateFeb 10, 2026

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A neural network circuit is described that includes a first sample-and-hold circuit, a reference voltage generation circuit, a first comparator circuit, and a first output circuit. The first sample-and-hold circuit generates a first analog voltage based on a first output current output by a first neural network computation array. The reference voltage generation circuit generates a reference voltage based on a first control signal. The first comparator circuit is connected to the first sample-and-hold circuit and the reference voltage generation circuit, and outputs a first level signal based on the first analog voltage and the reference voltage. The first output circuit samples the first level signal based on a second control signal, and outputs a first computation result that meets the first computation precision.

First claim

Opening claim text (preview).

What is claimed is: 1 . A neural network circuit, comprising: a drive circuit configured to convert digital input data into a voltage signal; an input circuit configured to: send the digital input data to the drive circuit, and send, to a parameter adjustment circuit, precision information usable to control a first computation precision of an output of a neural network computation preformed on the input data; a first neural network computation array, comprising a first group of computation units that is configured to perform the neural network computation, based on the voltage signal that represents the input data and pre-stored weights, to obtain a first output current; a first sample-and-hold circuit configured to generate a first analog voltage based on the first output current; the parameter adjustment circuit that is configured to generate a first control signal and a second control signal based on the precision information: wherein the first control signal is configured to control a slope of a ramp voltage that controls a slope of a ramp voltage and thereby control duration of a first level signal, wherein the first control signal is configured to: increase the first computation precision by decreasing the slope of the ramp voltage and thereby increase the duration of the first level signal, decrease the first computation precision by increasing the slope of the ramp voltage and thereby decrease the duration of the first level signal; and wherein the second control signal is configured to control a frequency at which a first output circuit samples the first level signal, wherein the second control signal is configured to: increase the first computation precision by increasing the sampling frequency, and decrease the first computation precision by decreasing the sampling frequency; a ramp voltage generation circuit, configured to generate the ramp voltage based on the first control signal; a first comparator circuit configured to output the first level signal based on a comparison between the first analog voltage and the ramp voltage; and the first output circuit, configured to: sample the first level signal based on the second control signal, and output a first computation result as the output of the neural network computation, wherein the first computation result is a computation result having the first computation precision, and wherein the first computation precision is indicated by an information amount sampled by the first output circuit by sampling the first level signal. 2 . The neural network circuit according to claim 1 , wherein: when the first analog voltage is higher than the reference voltage, the first level signal is a high-level signal; and when the first analog voltage is lower than the reference voltage, the first level signal is a low-level signal. 3 . The neural network circuit according to claim 1 , further comprising a second neural network computation array, wherein the first output circuit is connected to an input end of the second neural network computation array, wherein the second neural network computation array is configured to compute, based on weights and based on data input into the second neural network computation array, output data; wherein the data input into the second neural network computation array comprises the first computation result, and wherein the first computation result is a pulse signal. 4 . The neural network circuit according to claim 1 , wherein an initial voltage of the ramp voltage is controlled by the first control signal. 5 . The neural network circuit according to claim 1 , wherein the parameter adjustment circuit is further configured to generate a third control signal based on the first computation precision, and wherein the third control signal is for controlling a reference current of an operational amplifier (OPA) in the first sample-and-hold circuit, to control precision of the first analog voltage and power consumption of the first sample-and-hold circuit. 6 . The neural network circuit according to claim 1 , wherein the parameter adjustment circuit is further configured to control a sampling start time point of the first output circuit. 7 . A neural network system, comprising: a neural network circuit, comprising: a drive circuit configured to convert digital input data into a voltage signal; an input circuit configured to: send the digital input data to the drive circuit, and send, to a parameter adjustment circuit, precision information usable to control a first computation precision of an output of a neural network computation preformed on the input data; a first neural network computation array, comprising a first group of computation units that is configured to perform the neural network computation, based on the voltage signal that represents the input data and pre-stored weights, to obtain a first output current; a first sample-and-hold circuit configured to generate a first analog voltage based on the first output current; the parameter adjustment circuit that is configured to generate a first control signal and a second control signal based on the precision information: wherein the first control signal is configured to control a slope of a ramp voltage that controls a slope of a ramp voltage and thereby control duration of a first level signal, wherein the first control signal is configured to: increase the first computation precision by decreasing the slope of the ramp voltage and thereby increase the duration of the first level signal, decrease the first computation precision by increasing the slope of the ramp voltage and thereby decrease the duration of the first level signal; and wherein the second control signal is configured to control a frequency at which a first output circuit samples the first level signal, wherein the second control signal is configured to: increase the first computation precision by increasing the sampling frequency, and decrease the first computation precision by decreasing the sampling frequency; a ramp voltage generation circuit, configured to generate the ramp voltage based on the first control signal; a first comparator circuit configured to output the first level signal based on a comparison between the first analog voltage and the ramp voltage; and the first output circuit, configured to: sample the first level signal based on the second control signal, and output a first computation result as the output of the neural network computation, wherein the first computation result is a computation result having the first computation precision, and wherein the first computation precision is indicated by an information amount sampled by the first output circuit by sampling the first level signal; wherein the neural network system further comprises: a memory, configured to store input data; and a processor, configured to: read the input data from the memory, and input the input data into the neural network circuit, so that the neural network circuit performs neural network computation on the input data. 8 . The neural network system according to claim 7 , wherein the memory is further configured to store a computer program; and the processor is further configured to invoke the computer program from the memory, to program a neural network computation array in the neural network circuit, wherein the programming is for configuring a weight of the neural network. 9 . The neural network system according to claim 8 , wherein an initial voltage of the ramp voltage is controlled by the first control signal. 10 . The neural network system according to claim 8 , wherein the parameter adjustment circuit is fur

Assignees

Inventors

Classifications

  • Array wherein the memory element being directly connected to the bit lines and word lines without any access device being used · CPC title

  • using elements simulating biological cells, e.g. neuron · CPC title

  • using resistive RAM [RRAM] elements · CPC title

  • Simultaneous, i.e. using one converter per channel but with common control or reference circuits for multiple converters · CPC title

  • Input signal compared with linear ramp · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12547883B2 cover?
A neural network circuit is described that includes a first sample-and-hold circuit, a reference voltage generation circuit, a first comparator circuit, and a first output circuit. The first sample-and-hold circuit generates a first analog voltage based on a first output current output by a first neural network computation array. The reference voltage generation circuit generates a reference vo…
Who is the assignee on this patent?
Huawei Tech Co Ltd, Univ Tsinghua
What technology area does this patent fall under?
Primary CPC classification G06N3/063. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 10 2026 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).