Binary-Search SRAM CNN Architecture for Noise Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional SRAM-based convolutional neural networks (CNNs) face issues with high complexity, large area requirements, and noise-related inaccuracies due to mismatch and thermal noise, particularly in current-based and charge-sharing-based implementations.

Innovation Solution

The implementation of a binary-search-based SRAM-CNN that compares analog signals and converts them to digital bits, reducing complexity and noise impact by using smaller transistors and capacitors, and employing a binary search mechanism to enhance signal-to-noise ratio.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If conventional current-based or charge-sharing-based SRAM implementations are used, then the CNN can perform convolutional operations, but the complexity increases and area requirements become large

Engineering Contradiction:
ImproveSRAM circuit complexityVSAvoidcomputational efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent segments the weight representation into two parts: a coarse weight stored in SRAM and a fine weight stored in PCM. This segmentation allows the SRAM to handle only the coarse computation while the PCM provides fine-grained adjustments, reducing the complexity requirements for the SRAM circuitry while maintaining computational efficiency.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses a hybrid memory architecture combining SRAM and PCM technologies. The SRAM stores coarse weights and the PCM stores fine weights, creating a composite memory system that leverages the advantages of both technologies: SRAM's speed and PCM's density and low power consumption, thereby reducing overall system complexity.

Inventive Principle:
Principle #40Composite materials

2Measurement precision

If larger transistors and capacitors are used in conventional SRAM-CNN, then the signal-to-noise ratio improves, but the area increases

Engineering Contradiction:
Improvesignal-to-noise ratioVSAvoidchip area
Core Design Contradiction:
Measurement precisionVSArea of stationary object

Solution Approach 1:

The patent changes the operating parameters by using pulse-width modulation (PWM) to represent weights as duty cycles rather than using large capacitors for charge storage. This parameter change allows for accurate weight representation with smaller transistors and capacitors, maintaining signal-to-noise ratio while reducing area.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces the traditional charge-sharing mechanism (which requires large capacitors) with a PWM-based temporal encoding scheme. Instead of using spatial charge storage, the system uses temporal pulse width modulation to encode weights, substituting a mechanical/electrical charge-based system with a time-based control mechanism that requires smaller components.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Device complexity

If thermal noise and transistor mismatches are present in conventional SRAM-CNN, then the hardware is simpler, but noise-related inaccuracies increase

Engineering Contradiction:
Improvehardware simplicityVSAvoidcomputational accuracy
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent implements feedback mechanisms where the output of the SRAM-CNN is fed back to adjust the PWM duty cycle values. This feedback loop allows the system to compensate for thermal noise and transistor mismatches by continuously refining the weight representations, thereby improving computational accuracy while maintaining hardware simplicity.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent performs preliminary calibration of the PWM duty cycle values during training, pre-compensating for expected thermal noise and transistor mismatches. By preparing the system in advance with calibrated values, the actual runtime operation requires minimal correction, maintaining both simplicity and accuracy.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20240086708A1SRAM architecture for convolutional neural network application
Publication Date: 2024.03.14 TAIWAN SEMICONDUCTOR MANUFACTURING CO LTD
  • US20240086708A1 patent drawing
  • US20240086708A1 patent drawing
  • US20240086708A1 patent drawing

AI summary

One aspect of this description relates to a convolutional neural network (CNN). The CNN includes a memory cell array including a plurality of memory cells. Each memory cell includes at least one first capacitive element of a plurality of first capacitive elements. Each memory cell is configured to multiply a weight bit and an input bit to generate a product. The at least one first capacitive element is enabled when the product satisfies a predetermined threshold. The CNN includes a reference cell array including a plurality of second capacitive elements. The CNN includes a memory controller configured to compare a first signal associated with the plurality of first capacitive elements with a second signal associated with at least one second capacitive element of the plurality of second capacitive elements, and, based on the comparison, determine whether the at least one first capacitive element is enabled.