Charge Sharing Memory Unit for Multi-Bit CNN Computing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional computing-in-memory (CIM) systems for multi-bit convolutional neural networks face challenges with high power consumption, timing variations, sensing errors, area overhead, and increased latency due to high bit precision requirements, especially in static random access memory (SRAM) structures.

Innovation Solution

A memory unit and array structure for multi-bit CNN based CIM applications utilizing charge sharing, controlled by word lines, enable signals, and switching signals, which includes memory cells and computational cells that perform multiply-and-accumulate operations without additional capacitance or transistors, allowing for parallel processing and efficient energy use.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If high bit precision is used to achieve higher accuracy in CNN applications, then inference accuracy is improved, but operation speed decreases and energy efficiency deteriorates

Engineering Contradiction:
Improveinference accuracyVSAvoidoperation speed
Core Design Contradiction:
Measurement precisionVSSpeed

Solution Approach 1:

The patent merges memory and computing functions into a single integrated structure where memory cells perform both storage and MAC operations. This integration eliminates the need for separate high-precision computing units, enabling multi-bit operations to be performed efficiently within the memory array itself, thus maintaining accuracy while improving speed and energy efficiency

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent changes the operational parameters of the memory cell by utilizing charge sharing mechanisms and controlled discharge patterns. By adjusting the number of discharged memory cells and controlling the duration of discharge, the system can perform multi-bit operations with effective bit precision matching the input bit width, achieving high accuracy without the overhead of traditional high-precision arithmetic units

Inventive Principle:
Principle #35Parameter changes

2Productivity

If the number of operations is increased in one cycle to decrease latency, then productivity is improved, but device complexity increases

Engineering Contradiction:
Improvenumber of operations per cycleVSAvoidcircuit complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The memory cell is designed to perform multiple functions: storing weights, performing MAC operations, and supporting multi-bit input processing. By making the memory cell universal, the system can increase the number of operations per cycle without adding separate functional units, thus improving productivity while maintaining relatively simple device structure

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent introduces dynamic control mechanisms including adjustable discharge durations, configurable numbers of discharged memory cells, and controllable charge sharing ratios. These dynamic parameters allow the system to adapt the number of operations per cycle based on computational needs, achieving high productivity without requiring a statically complex circuit design

Inventive Principle:
Principle #15Dynamics

3Extent of automation

If conventional CIM SRAM structure discharges bit lines to perform MAC operation, then computing function is achieved, but power consumption increases and timing variation vulnerability increases

Engineering Contradiction:
ImproveMAC operation capabilityVSAvoidpower consumption
Core Design Contradiction:
Extent of automationVSUse of energy by moving object

Solution Approach 1:

The patent employs periodic discharge patterns where memory cells are discharged in controlled time intervals rather than continuously. By regulating the discharge duration and timing, the system performs MAC operations with reduced power consumption and improved timing stability, as the periodic action allows for controlled charge sharing and accumulation without sustained high current draw

Inventive Principle:
Principle #19Periodic action

4Productivity

If charge sharing is performed to increase operations, then productivity is improved, but global capacitance decreases sensing margin and causes sensing errors

Engineering Contradiction:
Improvenumber of operationsVSAvoidsensing accuracy
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies local quality by performing charge sharing within localized groups of memory cells rather than globally across the entire array. By confining charge sharing to local regions and using local bit lines for sensing, the system maintains adequate sensing margins while still achieving improved productivity through parallel multi-bit operations

Inventive Principle:
Principle #3Local quality

5Measurement precision

If conventional CIM SRAM structure uses extra 4× and 1× capacitance or transistors for weight combination, then weight precision is improved, but area overhead increases

Engineering Contradiction:
Improveweight precisionVSAvoidmemory cell area
Core Design Contradiction:
Measurement precisionVSArea of stationary object

Solution Approach 1:

The memory cell structure is designed to perform weight combination operations using its own intrinsic capacitance and charge storage capabilities, without requiring external or additional capacitance elements. The weight combination is achieved through controlled charge sharing among the memory cells themselves, eliminating the need for extra area-consuming capacitance or transistor structures

Inventive Principle:
Principle #25Self-service

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

This solution enhances operation speed, reduces area and energy consumption, and prevents write disturb issues, enabling efficient multi-bit operations without extra capacitance or transistors, thereby improving energy efficiency and reducing latency.

Implementation Method 1

a charge sharing is performed, a global capacitance may decrease the influence of a local capacitance so as to lower the sensing margin and cause sensing error

Methodology Applied
Scientific EffectCharge sharing: Capacitance

Data Source

PatentUS12002539B2Memory device and memory array structure using charge sharing for multi-bit convolutional neural network based computing-in-memory applications, and computing method thereof
Publication Date: 2024.06.04 NATIONAL TSING HUA UNIVERSITY
  • US12002539B2 patent drawing
  • US12002539B2 patent drawing
  • US12002539B2 patent drawing

AI summary

A memory unit includes at least one memory cell and a computational cell. The at least one memory cell stores a weight. The at least one memory cell is controlled by a first word line and includes a local bit line transmitting the weight. The computational cell is connected to the at least one memory cell and receiving the weight via the local bit line. Each of an input bit line and an input bit line bar transmits a multi-bit input value. The computational cell is controlled by a second word line and an enable signal to generate a multi-bit output value on each of an output bit line and an output bit line bar according to the multi-bit input value multiplied by the weight. The computational cell is controlled by a first switching signal and a second switching signal for charge sharing.