ADC Compensation Code Calibration in True Random Number Circuits
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The calibration accuracy of compensation parameters in analog-to-digital converters (ADCs) used in true random number generator circuits is low, affecting the randomness of generated random numbers.
Innovation Solution
A digital calibration method that iteratively selects and tests compensation calibration code values within a predefined range to determine the optimal calibration code for an ADC, ensuring the output meets specified accuracy by sampling and counting occurrences of target results, thereby improving calibration precision.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If conventional calibration methods are used for ADC compensation parameters, then the calibration process is simple, but the calibration accuracy is low
Solution Approach 1:
The patent implements an iterative feedback mechanism where the calibration code is adjusted based on the previous calibration result. The system samples the ADC output multiple times, calculates the calibration accuracy, and uses this feedback to determine the next calibration code value, progressively improving calibration accuracy through repeated refinement
Solution Approach 2:
The patent performs preliminary actions by pre-setting a range of calibration codes and preparing the sampling and calculation mechanisms before actual calibration begins. The system pre-configures the calibration process parameters and prepares the feedback loop structure in advance to enable accurate calibration
2Measurement precision
If the calibration range is expanded to improve accuracy, then the calibration precision increases, but the calibration time increases
Solution Approach 1:
The patent applies partial action by sampling the ADC output a finite number of times (N times) rather than continuously, and by searching through a predefined range of calibration codes rather than all possible values. This partial sampling approach achieves sufficient calibration precision without requiring excessive time
Solution Approach 2:
The patent implements dynamic calibration code selection where the calibration code changes iteratively based on feedback from previous measurements. The system dynamically adjusts the calibration code within a predefined range, adapting the search strategy to achieve precision efficiently without exhaustively testing all possible codes
Data Source
AI summary
A digital calibration method, a device, and a true random number generator circuit are provided. In one aspect, the embodiment of the present disclosure uses the digital calibration method to calibrate compensation of a circuit to be calibrated, output of the circuit to be calibrated is sampled and tested multiple times, and whether a current test compensation calibration code value can make the circuit to be calibrated meet specified accuracy is judged based on a probability that the output result is a target result. Through sampling the output of the circuit to be calibrated multiple times, the selected compensation calibration code has higher accuracy.


