Semiconductor Circuit Memory Drift Compensation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Hardware neural networks face challenges in maintaining accurate memory state signals over time due to variations in data retention, leading to reduced accuracy in deep learning systems.

Innovation Solution

A semiconductor circuit and operating method that calculates a state difference signal between initial and subsequent memory state signals, and uses this difference to compensate for un-compensated output data, thereby improving the accuracy of output signals.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If memory circuits are used to store weight values in hardware neural networks, then hardware size and cost are reduced, but memory state signals drift over time leading to reduced accuracy

Engineering Contradiction:
Improveaccuracy of output dataVSAvoiddata retention stability
Core Design Contradiction:
ReliabilityVSDuration of action of stationary object

Solution Approach 1:

The patent applies preliminary action by reading the reference memory state signal S1 at an initial time point before the main computation, and storing it in advance. This pre-read reference value is then used later to compensate for drift in the memory state signal S2, allowing the system to correct accuracy degradation before it significantly impacts the output result.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements feedback by calculating the difference between the reference memory state signal S1 and the current memory state signal S2, then using this difference signal to compensate the output data. This closed-loop feedback mechanism continuously corrects for memory drift, maintaining high accuracy over extended operation periods.

Inventive Principle:
Principle #23Feedback

2Measurement precision

If memory state signals are read at different time points, then data retention variations occur, but reading at the same time point would require additional reference memory circuits

Engineering Contradiction:
Improveaccuracy of memory state signalVSAvoidmemory circuit configuration
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies universality by using a single reference memory array that serves dual purposes: it stores reference weight values for compensation calculations and can be read at different time points (t1 and t2) to provide both initial reference signals and updated reference signals. This multi-functional use of the same hardware structure avoids the need for separate reference memory circuits.

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

Solution Approach 2:

The patent changes the temporal parameter by reading the reference memory state signal at two different time points (t1 and t2) rather than simultaneously. This time-based parameter change allows the system to capture memory drift characteristics while using the same reference memory array, avoiding additional hardware complexity.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If compensation calculations are performed using difference signals, then output data accuracy is improved, but additional processing steps are required

Engineering Contradiction:
Improveaccuracy of deep learning outputVSAvoidprocessing circuit operations
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges the compensation calculation with the main matrix multiplication operation. The difference signal between reference and current memory state signals is calculated and then integrated into the output computation as an additional term. This combining of compensation and main computation in a unified processing step reduces overall system complexity compared to separate compensation circuits.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11594266B2Operating method for semiconductor circuit
Publication Date: 2023.02.28 MACRONIX INTERNATIONAL CO LTD
  • US11594266B2 patent drawing
  • US11594266B2 patent drawing
  • US11594266B2 patent drawing

AI summary

A semiconductor circuit and an operating method for the same are provided. The method includes the following steps. A memory circuit is operated during a first timing to obtain a first memory state signal S1. The memory circuit is operated during a second timing after the first timing to obtain a second memory state signal S2. A difference between the first memory state signal S1 and the second memory state signal S2 is calculated to obtain a state difference signal SD. A calculating is performed to obtain an un-compensated output data signal OD relative with an input data signal ID and the second memory state signal S2. The state difference signal SD and the un-compensated output data signal OD are calculated to obtain a compensated output data signal OD′.