A digital calibration method for the offset voltage of an operational amplifier

By constructing an offset fitting feature database and establishing an offset drift model, real-time calibration of operational amplifier offset voltage was achieved, solving the problem that operational amplifier offset voltage could not be continuously and timely calibrated, and improving the stability and accuracy of the operational amplifier system.

CN123163531APending Publication Date: 2026-11-24SHENZHEN MICROELECTRONIC SEMICONDUCTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611448596.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-17
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing digital calibration methods for operational amplifier offset voltage cannot perform accurate calibration continuously and in a timely manner, especially during non-idle periods when effective offset voltage correction cannot be performed in real time.

Method used

An offset fitting feature database is constructed by collecting offset measurement data, an offset drift model is established, offset prediction analysis is performed using real-time monitoring data, and the model is verified and updated during continuous operation of the operational amplifier to achieve real-time calibration of the offset voltage.

Benefits of technology

This enables timely and accurate calibration of offset voltage during continuous operation of the operational amplifier, ensuring effective offset voltage compensation even when the operational amplifier system is not idle, thereby improving the stability and accuracy of the operational amplifier system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123163531A_ABST
    Figure CN123163531A_ABST
Patent Text Reader

Abstract

This invention provides a digital calibration method for operational amplifier offset voltage, belonging to the field of operational amplifier offset calibration technology. The method includes: collecting offset measurement data; constructing a feature database based on offset influencing factors to form an offset fitting feature database; performing fitting analysis on drift features based on the offset fitting feature database to establish an offset drift model; collecting real-time monitoring data; performing offset prediction analysis based on the offset drift model to form offset prediction compensation data; and acquiring real-time measurement data to perform verification and update analysis on the offset drift model to form offset verification and update result data. This method can continuously and promptly achieve accurate offset voltage calibration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of operational amplifier offset calibration technology, and more particularly to a digital calibration method for operational amplifier offset voltage. Background Technology

[0002] Op-amp offset voltage is the DC voltage difference caused by transistor parameter mismatch at the input of an operational amplifier when there is zero input. It is defined as the differential input voltage required to bring the output voltage to zero, primarily caused by differences in manufacturing processes leading to threshold voltage or transconductance asymmetry in the differential pair transistors. This voltage parameter will drift with changes in temperature and usage time.

[0003] Currently, methods for correcting operational amplifier offset voltage include laser fine-tuning, external zero-adjustment circuits, chopper modulation technology, and digital calibration. While digital calibration can perform reasonable correction based on acquired real-time data, it can only be completed when the system is powered on or idle for a sufficient period of time, and cannot achieve continuous and timely correction.

[0004] Therefore, designing a digital calibration method for operational amplifier offset voltage, and how to continuously and timely complete the accurate calibration of offset voltage, is an urgent problem to be solved. Summary of the Invention

[0005] This invention provides a digital calibration method for operational amplifier offset voltage.

[0006] To achieve the above objectives, the present invention adopts the following technical solution: Firstly, a digital calibration method for operational amplifier offset voltage is provided. The method includes: collecting offset measurement data, constructing a feature database based on offset influencing factors to form an offset fitting feature database; performing fitting analysis on drift features based on the offset fitting feature database to establish an offset drift model; collecting real-time monitoring data, performing offset prediction analysis based on the offset drift model to form offset prediction compensation data; and acquiring real-time measurement data, performing verification and update analysis on the offset drift model to form offset verification and update result data.

[0007] Therefore, the above method establishes a reasonable database based on the collected offset data, providing accurate and effective basic data for obtaining the influence characteristics of temperature drift and aging. Based on this, through reasonable processing and analysis of the data in the database, an offset drift model capable of accurately predicting offset voltage is established. This serves as efficient reference information for prediction and application during real-time operation. Simultaneously, during long-term continuous operation of the operational amplifier, data acquired during idle periods is used to reasonably update and adjust the model, ensuring the accuracy of the prediction model. On the one hand, compared to traditional offset processing methods, this method can provide accurate reference data in real-time during non-idle operation, fully satisfying the timeliness requirement for offset voltage compensation. On the other hand, by continuously updating the database, the accuracy of the prediction model's results is ensured, maintaining a consistently good calibration effect for offset voltage compensation.

[0008] Optionally, imbalance measurement data is collected, and a feature database based on imbalance influencing factors is constructed to form an imbalance fitting feature database. This includes: extracting the M most recent complete hardware imbalance measurement information in the time dimension based on the imbalance measurement data; performing initial feature library construction analysis on the M complete hardware imbalance measurement information to form an initial imbalance feature database; and performing routine update processing on the initial imbalance feature database based on the collected imbalance measurement data to form an imbalance fitting feature database.

[0009] Therefore, it can be seen that, under normal circumstances, operational amplifier systems can only measure offset voltage when the system is powered on, during a sufficiently long idle period, or when a set complete detection event is triggered. Only data from complete measurements can provide the complete foundational data for subsequent model building and analysis. Therefore, it is necessary to first construct a complete offset measurement data database to meet the requirements of model building. Secondly, the data in the database needs to be continuously updated as the operational amplifier continues to operate to avoid the database being outdated, which could lead to the model lacking the ability to quantify the impact of offset voltage factors, including temperature drift and duration. Not every complete measurement can be used as the foundational data for model building; therefore, a reasonable data filtering mechanism is needed to ensure the data in the database is sufficiently representative and accurate. Of course, the database initially built based on offset measurement data also needs to be reasonably filtered before construction. This filtering requires a certain amount of data; therefore, the collected offset measurement data must provide enough raw data for filtering to meet the quantity requirements for database construction. The size of the raw data volume M needs to be determined based on the actual situation, as long as the sufficiency of the raw data is guaranteed.

[0010] Optionally, an initial feature database is constructed and analyzed for the M complete hardware offset measurement information to form an initial offset feature database, including: for each complete hardware offset measurement information, extracting the corresponding measurement input offset voltage, measurement chip temperature and measurement cumulative runtime to form a single offset measurement data set; taking the measurement time as a reference, the earliest X data sets in the M single offset measurement data sets are set into an initial screening group according to the time order from farthest to nearth, where X < M.

[0011] Therefore, establishing an initial feature database for offset needs to consider two aspects. Firstly, it requires the reasonable and effective extraction of feature information from the offset measurement data. Offset measurement information may contain multiple different data points, and the feature information that can be used to establish an offset voltage prediction model mainly includes the actual input offset voltage, chip temperature, and the cumulative operating time of the operational amplifier. After all, the main factors affecting offset voltage are temperature and operating time, meaning that offset voltage is subject to temperature drift and aging effects. Since the offset measurement data is collected during sufficient idle time, the measurement data has high accuracy, and therefore, all of this data can be used as the original data for constructing the database. However, considering that this data may be affected by both temperature and aging, reasonable screening is needed to obtain data that is at least significantly affected by a single factor. This ensures the rationality and accuracy of the data in the separate databases for temperature and aging. Reasonable data screening for database construction is the other aspect to consider. This application achieves reasonable classification by comparing and analyzing different data groups. Since data filtering considers the comparison of data groups, an initial database needs to be established to provide a comparative reference for subsequent filtering. Assuming all measurement data are valid and accurate, although the database classification cannot be determined without comparison, multiple datasets can be arbitrarily obtained as starting datasets for both databases. During subsequent comparative analysis, unreasonable data in the starting datasets is removed through elimination. This updates the datasets and eliminates older data, ensuring that the data in the database is valid and recent, thus ensuring the accuracy and timeliness of the model built using the database. The number of data points N in the initial filtering group can be determined based on the actual situation; usually, a large number is not necessary to avoid increasing the complexity of subsequent model building and analysis due to a large database size.

[0012] Optionally, the initial imbalance feature database is updated using routine methods based on imbalance measurement data acquisition to form an imbalance fitting feature database. This includes: extracting one single imbalance measurement data set from the remaining single imbalance measurement data sets in chronological order and comparing it with the initial screening group for temperature-related effects. If the time interval between the extracted single imbalance measurement data set and any single imbalance measurement data set in the initial screening group does not exceed the temperature drift time interval threshold, and the corresponding temperature difference is not less than the temperature drift temperature threshold, then the extracted single imbalance measurement data set is added to the initial screening group. Simultaneously, the earliest data acquisition single imbalance measurement data set from the other single imbalance measurement data sets not compared in the original initial screening group is removed to form a screening group. All single imbalance measurement data sets are extracted sequentially until all remaining single imbalance measurement data sets are completed. The comparative analysis of the groups determines the resulting screening groups as the temperature drift characteristic database. Following chronological order, one single-error measurement data group is extracted from each of the remaining single-error measurement data groups and compared with the initial screening group for analysis on the effects of aging. If the time interval between the extracted single-error measurement data group and any single-error measurement data group in the initial screening group is not less than the aging time interval threshold, and the corresponding temperature difference does not exceed the aging temperature threshold, then the extracted single-error measurement data group is added to the initial screening group. Simultaneously, the earliest collected single-error measurement data group from the other single-error measurement data groups not compared in the original initial screening group is removed, forming a screening group. All single-error measurement data groups are extracted sequentially until the comparative analysis of all remaining single-error measurement data groups is completed, and the resulting screening groups are determined as the aging characteristic database.

[0013] Therefore, we can analyze the characteristics of the influencing factor to extract data that are relatively highly affected by a single factor. For temperature, if the temperature difference between data points is large and the corresponding time interval is small, then the aging effect on this data set can be considered small, since the aging effect of the system is negligible over extremely short time intervals. For aging, if the time interval between data points is large but the corresponding temperature difference is small, then the temperature effect on this data set is considered negligible, while the aging effect is relatively significant. Therefore, this application determines whether data can be included in the corresponding database by comparing the temperature and time interval of the data set. Of course, the thresholds for temperature drift time interval, temperature drift temperature, aging time interval, and aging temperature can be set according to the actual situation, as long as it ensures that the selected data is mainly significantly affected by a single factor. When new measurement data is subsequently acquired, the same analytical judgment method can be used to add the latest data to the database for updating, ensuring the real-time nature of the data in the database, and thus ensuring the real-time performance and accuracy of the prediction model.

[0014] Optionally, based on the offset fitting feature database, a fitting analysis targeting the drift characteristics is performed to establish an offset drift model, including: for the temperature drift feature database, based on the measured input offset voltage of different single offset measurement data sets in the database. and the corresponding measurement chip temperature , i represents the number of different single offset measurement data groups in the temperature drift characteristic database, and i≤X; according to different measurement input offset voltages Determine the average voltage of temperature drift. ,in, According to different measuring chip temperatures Determine the average temperature of temperature drift. ,in, According to different measured input offset voltages Temperature of different measuring chips Average voltage of temperature drift and average temperature drift Determine the temperature drift coefficient ,in, For the aging characteristic database, input offset voltage based on the measurement of different single offset measurement data sets in the database. and the corresponding cumulative runtime. j represents the number of different single offset measurement data groups in the aging characteristic database, and j≤X; according to different measurement input offset voltages Determine the average aging voltage ,in, Cumulative runtime based on different measurements Determine the average aging time ,in, According to different measured input offset voltages Cumulative runtime of different measurements Average voltage during aging and average aging time Determine the aging coefficient ,in, According to the latest acquired single-offset measurement data set, the new temperature of the measurement chip is now... And measure cumulative new runtime And combined with temperature drift coefficient and aging coefficient Determine the model reference voltage According to the temperature drift coefficient aging coefficient and model reference voltage Establish an imbalance drift model: ,in, To predict offset voltage in real time, To enable real-time temperature monitoring of the chip, For reference temperature, To monitor the cumulative duration in real time, For reference duration.

[0015] Therefore, the construction of the offset drift model mainly involves determining the influence weights of temperature and time parameters on the offset voltage. This application uses the least squares method to obtain the influence weights for both parameters, determining the real-time slope that reflects the temperature effect under continuously updated database data. After obtaining the corresponding weight coefficients, the reference voltage corresponding to the model is determined using the latest complete measurement data, thereby establishing a reasonable prediction model. It should be noted that the offset voltage model provided in this application assumes a simple linear relationship between temperature and aging factors on the offset voltage. Of course, a complex multi-power relationship can also be set according to actual needs. Such a relationship model will improve the accuracy of data prediction, but it will also increase the computational complexity of the model. Therefore, it needs to be considered based on the actual situation to provide a reasonable and accurate offset voltage prediction model. The reference temperature and reference duration given in the model can be determined according to the actual situation. Typically, the reference temperature can be set to room temperature, and the reference duration can be set to the running time corresponding to the first effective measurement.

[0016] Optionally, real-time monitoring data is collected, and offset prediction analysis is performed based on the offset drift model to form offset prediction compensation data, including: obtaining the current chip temperature value and the current cumulative duration based on the real-time monitoring data; using the current chip temperature value as the value of the real-time monitored chip temperature value in the offset drift model, and using the current cumulative duration as the value of the real-time monitored cumulative duration in the offset drift model, performing calculations on the offset drift model, and outputting the corresponding real-time predicted offset voltage; using the formed real-time predicted offset voltage as the current corresponding offset prediction compensation voltage.

[0017] Therefore, after establishing a reasonable and effective offset drift model, temperature and duration data can be acquired simultaneously with op-amp operation to predict the offset voltage. The predicted value is then used as input for offset compensation to calibrate the offset voltage. When the op-amp needs calibration, such as during a very short idle period, the signal path does not need to be disconnected; the established model can be directly invoked for prediction. The predicted data is converted into compensation injection values ​​using an IDAC (N-bit current-compensated digital-to-analog converter). Specifically, the unit compensation voltage step size of the IDAC can be defined. The unit compensation voltage step size Unit current of IDAC transconductance of the op-amp input stage Joint decision, that is Set the zero-compensation center code. Typically, it is 2N-1, where N represents the number of bits in the IDAC, and the compensation code... According to the formula To determine the result, the amplitude is limited to the range [0, 2N-1]. This is latched into the IDAC register, completing the predictive compensation injection. At this point, the total residual offset expectation is controlled within [0, 2N-1]. Within the range.

[0018] Optionally, real-time measurement data is acquired, and the offset drift model is verified and updated to generate offset verification and update result data, including: extracting the corresponding current input offset voltage based on the real-time measurement data. Current chip monitoring temperature value and current cumulative running time ; Set the current chip temperature value The chip, used as an offset drift model, monitors the temperature value in real time and accumulates the current running time. As the cumulative real-time monitoring duration of the offset drift model, the corresponding current predicted offset voltage is determined based on the offset drift model. Compare the current input offset voltage. and the current predicted offset voltage :like Then, the misfit database is maintained and updated based on real-time measurement data, forming misfit verification maintenance and update data, among which... Indicates the allowable error threshold; if Then, based on the real-time measurement data, the misfit database is subjected to forced correction processing to form misfit forced correction update data.

[0019] Therefore, the established offset drift model is typically only applicable to time periods near the time points corresponding to the data collected in the database. Continued operation of the operational amplifier will lead to a decrease in model prediction accuracy due to factors including temperature and aging. Therefore, it is necessary to continuously acquire measurement data collected during system downtime to update the database, ensuring the model's timeliness and accuracy. Naturally, the condition for updating the database is based on a decrease in model prediction accuracy. Here, an error threshold is set to judge the difference between the model's prediction and the actual results, thereby updating the database accordingly. There are essentially two different scenarios for updating the database based on the difference value: one is when the difference value is within an acceptable range. Although the model's prediction accuracy is still within an acceptable range, there is still an error, so regular update processing of the measurement data is still needed to optimize the model's prediction accuracy. The other is when the difference value exceeds the acceptable range. In this case, regardless of the difference, the measurement data must be used as the basis for model correction and updating the model, thus requiring the measurement data to be forcibly imported into the database for update processing. The database update and model optimization processes differ in these two different scenarios, effectively ensuring that the model can handle real-time and effective states at any time. The difference value, i.e., the allowable error threshold, can be set according to the actual situation, and is usually twice the unit compensation voltage step size. The larger of the sum of several times the standard deviation of the measured noise shall be used.

[0020] Optionally, if Then, the offset fitting database is maintained and updated based on real-time measurement data, forming offset verification maintenance and update data, including: a set of current input offset voltages. Current chip monitoring temperature value and current cumulative running time This forms the current misalignment measurement data set; for any single misalignment measurement data set in the temperature drift characteristic database, if there exists a single misalignment measurement data set, the cumulative measurement runtime of that single misalignment measurement data set is the same as the current cumulative runtime. The difference does not exceed the temperature drift time interval threshold, and the measured chip temperature is the same as the current chip monitoring temperature value. If the difference is not less than the temperature drift threshold, the current misalignment measurement data set is added to the temperature drift feature database, and the earliest single misalignment measurement data set collected in the temperature drift feature database is deleted, forming a new temperature drift feature database; for any single misalignment measurement data set in the aging feature database, if there exists a single misalignment measurement data set whose cumulative measurement runtime is the same as the current cumulative runtime, then... The difference is not less than the aging time interval threshold, and the measured chip temperature is the same as the current chip monitoring temperature value. If the difference does not exceed the aging temperature threshold, the current misalignment measurement data set is added to the aging characteristic database, while the earliest single misalignment measurement data set collected in the aging characteristic database is deleted, forming a new aging characteristic database. Based on the newly formed temperature drift characteristic database and the aging characteristic data, the temperature drift coefficient is... aging factor βt and model reference voltage The model is updated to form a new misalignment drift model; the newly formed temperature drift feature database, aging feature database and misalignment drift model are combined to form misalignment verification, maintenance and update data.

[0021] Therefore, for updates to the feature database and offset drift model based on the latest acquired measurement data, since the difference between the model prediction and the actual measured results is within an acceptable range, real-time measurement data needs to undergo a standard screening and update process to determine whether it needs to be added to the database for updating. After all, adding real-time measurement data that does not meet the standard update criteria to the feature database might negatively impact the accuracy of the database data and the prediction accuracy of the offset drift model built upon it. The screening and judgment method for real-time measurement data is the same as that for screening single offset measurement data sets. If the feature database is indeed updated and meets the requirements, then the offset drift model needs to be updated in conjunction with the updated database to ensure that the data in the feature database and the offset drift model are synchronized. If the real-time measurement data does not meet the judgment criteria, the original database and offset drift model can be maintained for offset voltage prediction and calibration until the next acquisition of real-time measurement data, at which point repeated analysis, judgment, verification, maintenance, and update processing can be performed.

[0022] Optionally, if Then, based on real-time measurement data, a forced correction process is performed on the offset fitting database to form offset forced correction update data, including: a set of current input offset voltages. Current chip monitoring temperature value and current cumulative running time This forms the current misalignment measurement data set; it also sets the current chip-monitored temperature value. and current cumulative running time Compare with adjacent previous measurement data: If the temperature difference is not less than the temperature drift threshold, the time difference does not exceed the temperature drift time interval threshold, and the temperature difference exceeds the aging temperature threshold, then the current misalignment measurement data set is forcibly added only to the temperature drift feature database, and the earliest single misalignment measurement data set extracted from the temperature drift feature database is removed to form a new temperature drift feature database; if the temperature difference does not exceed the aging temperature threshold, the time difference is not less than the aging time interval threshold, and the time difference exceeds the temperature drift time interval threshold, then the current misalignment measurement data set is forcibly added only to the aging feature database, and the earliest single misalignment measurement data set extracted from the aging feature database is removed to form a new aging feature database; if it is impossible to determine whether to add only a single database, then the current misalignment measurement data is added to both the temperature drift feature database and the aging feature database simultaneously, and the earliest single misalignment measurement data set extracted from the original database is removed to form corresponding new temperature drift feature databases and aging feature databases; based on the updated temperature drift feature database and aging feature database, a new misalignment drift model is established; based on the newly established misalignment drift model, the current chip monitoring temperature value is... The chip, used as an offset drift model, monitors the temperature value in real time and accumulates the current running time. The cumulative real-time monitoring duration of the offset drift model is used to derive a new currently predicted offset voltage. Based on the newly formed current predicted offset voltage Combined with the current input offset voltage Make a judgment: If If so, the newly formed misalignment drift model will be determined as the misalignment drift model used for subsequent predictions; if Then, the temperature drift characteristic database and aging characteristic database are reset and updated to form reset and updated correction data.

[0023] Therefore, when the difference between the predicted offset voltage and the actual measured offset voltage exceeds a certain threshold, it is clear that the offset drift model built on the corresponding database can no longer accurately predict the offset voltage as required. Thus, updating the database is inevitable. Since the database includes a temperature drift feature database and an aging feature database, it is necessary to determine whether the current real-time measured data affects the model's prediction accuracy from the perspective of temperature or aging. Of course, the impact may be similar, so the database update judgment method needs to be used to determine whether the corresponding database update requirements are met based on the corresponding threshold. It can be understood that for data that can be accurately determined, only the intensity of the actual measured data needs to be added to the corresponding database. However, for data that cannot be determined or that meets the update requirements of both databases, it is necessary to add the data to both databases simultaneously for updating to ensure that the database reflects the influence of the current measured data. After completing the database update, the offset drift model can be updated again based on the updated feature database. Of course, updating the model does not automatically mean that it meets the requirements. The accuracy of the model's predictions still needs to be judged. After all, the model update is also affected by the previous measurement data. By comparing the prediction results with the actual measurement results, the updated model can be proven to be accurate if the difference does not exceed the threshold. If the difference exceeds the threshold, it means that the current situation is negatively affected by the previous data. Therefore, the database needs to be reset and updated more thoroughly to establish an imbalance drift model that better fits the current situation.

[0024] Optionally, if Then, the temperature drift feature database and aging feature database are reset and updated to form reset and updated correction data. This includes: clearing all data in the temperature drift feature database and aging feature database; setting a reset duration threshold and an extended time step; acquiring all measurement data within a time range equal to the reset duration threshold, including the current offset measurement data group, using the acquisition time point of the current offset measurement data group as the boundary; filling the temperature drift feature database and aging feature database with data; if the number of measurement data groups in the two databases after filling is not less than 2, no further filling is required; if the number of measurement data groups in either of the two databases after filling is less than 2, the total time span of data acquisition is gradually expanded according to the extended time step until the number of measurement data groups in both databases is not less than 2, where 2 < X; updating the offset drift model based on the filled database; and comparing the prediction results of the updated offset drift model with the current input offset voltage of the current offset measurement data group. The following comparison is performed: If the difference does not exceed the allowable error threshold, the updated offset drift model is determined as the subsequent prediction offset drift model; if the difference exceeds the allowable error threshold, the number of data in both databases is expanded according to the extended time step. If any data in either database is increased, the offset drift model is updated and a threshold judgment is performed again, until the prediction result of the updated offset drift model matches the current input offset voltage of the current offset measurement data set. If the difference does not exceed the allowable error threshold, the resulting offset drift model will be determined as the offset drift model for subsequent predictions.

[0025] Therefore, resetting the database first requires clearing all data in the source database and then reacquiring measurement data from the most recent period. It can be understood that the closer the measurement data is in time, the more representative it is of the current operational amplifier's offset voltage change. Based on the way the offset drift model is established, the minimum amount of data in the two databases must be no less than 2 to complete the update of the offset drift model. Therefore, by setting a reasonable time span, i.e., the reset duration threshold, the time span of measurement data acquisition can be constrained to ensure that the data in the database is timely after the database is reset. Of course, once the database size meets the requirements for updating the offset drift model, the model can be updated first. Then, the accuracy of the model's prediction is determined by checking if the difference between the predicted result and the latest current input offset voltage does not exceed a threshold. If it does, no more data is added to the database; instead, the database and model are finalized as the data for subsequent predictions. If not, data is added to the database by increasing the data acquisition time span by one extension time step each time, based on the extension time step. For both databases, an update judgment is required whenever measurement data is added in either database, until the updated model's prediction accuracy meets the requirements. Model updates based on this method can guarantee that a model that meets the requirements will eventually be obtained, since the database data is based on the most recent data and gradually incorporates the influence of earlier data. Attached Figure Description

[0026] Figure 1 A flowchart illustrating the digital calibration method for operational amplifier offset voltage provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the structure of a digital calibration system for operational amplifier offset voltage provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the analog front end and offset detection channel of the operational amplifier offset voltage provided in an embodiment of the present invention. Detailed Implementation

[0027] The technical solution of the present invention will now be described with reference to the accompanying drawings.

[0028] refer to Figure 1 The digital calibration method for operational amplifier offset voltage is applicable to the above system, and the specific process is as follows: S1: Collect imbalance measurement data, construct a feature database based on imbalance influencing factors, and form an imbalance fitting feature database.

[0029] Collect misalignment measurement data and construct a feature database based on misalignment influencing factors to form a misalignment fitting feature database. This includes: extracting the M most recent complete hardware misalignment measurement information in the time dimension based on the misalignment measurement data; performing initial feature library construction analysis on the M complete hardware misalignment measurement information to form an initial misalignment feature database; and performing routine update processing on the initial misalignment feature database based on the collected misalignment measurement data to form a misalignment fitting feature database.

[0030] Typically, operational amplifier (op-amp) systems can only measure offset voltage when the system is powered on, during a sufficiently long idle period, or when a pre-defined complete detection event is triggered. Only data from complete measurements can provide the necessary foundational data for subsequent model building and analysis. Therefore, it is essential to first construct a complete offset measurement data database to meet the requirements of model building. Secondly, the data in the database needs to be continuously updated as the op-amp operates to prevent outdated data from hindering the model's ability to quantify the impact of offset voltage factors, including temperature drift and duration. Not every acquired complete measurement can serve as foundational data for model building; therefore, a reasonable data filtering mechanism is necessary to ensure the representativeness and accuracy of the data in the database. Of course, the initial database built based on offset measurement data also requires reasonable filtering. This filtering requires a certain amount of initial data; therefore, the acquired offset measurement data must provide sufficient raw data for filtering to meet the database building requirements. The size of the raw data volume M needs to be determined based on the actual situation, ensuring sufficient raw data.

[0031] An initial feature database is constructed and analyzed for M complete hardware offset measurement information, forming an initial offset feature database. This includes: for each complete hardware offset measurement information, extracting the corresponding measurement input offset voltage, measurement chip temperature, and cumulative measurement runtime to form a single offset measurement data set; using measurement time as a reference, the earliest X data sets in the M single offset measurement data sets are grouped into an initial screening group according to the time order from farthest to nearest, where X < M.

[0032] The establishment of an initial offset feature database needs to consider two aspects. Firstly, it requires the reasonable and effective extraction of feature information from the offset measurement data. Offset measurement data may contain multiple different data points, and the feature information that can be used to build an offset voltage prediction model mainly includes the actual input offset voltage, chip temperature, and the cumulative operating time of the operational amplifier. After all, the main factors affecting offset voltage are temperature and operating time, meaning that offset voltage is subject to temperature drift and aging effects. Since the offset measurement data is collected during sufficient idle time, the measurement data has high accuracy, and therefore, all of this data can be used as the original data for building the database. However, considering that this data may be affected by both temperature and aging, reasonable screening is needed to obtain data that is at least significantly affected by a single factor. This ensures the rationality and accuracy of the data in the separate databases for temperature and aging. Reasonable data screening for database construction is the other aspect to consider. This application achieves reasonable classification by comparing and analyzing different data groups. Since data filtering considers the comparison of data groups, an initial database needs to be established to provide a comparative reference for subsequent filtering. Assuming all measurement data are valid and accurate, although the database classification cannot be determined without comparison, multiple datasets can be arbitrarily obtained as starting datasets for both databases. During subsequent comparative analysis, unreasonable data in the starting datasets is removed through elimination. This updates the datasets and eliminates older data, ensuring that the data in the database is valid and recent, thus ensuring the accuracy and timeliness of the model built using the database. The number of data points N in the initial filtering group can be determined based on the actual situation; usually, a large number is not necessary to avoid increasing the complexity of subsequent model building and analysis due to a large database size.

[0033] The initial imbalance feature database is updated using routine methods based on imbalance measurement data acquisition to form an imbalance fitting feature database. This includes: extracting one single imbalance measurement data set from the remaining single imbalance measurement data sets in chronological order and comparing it with the initial screening group for temperature-related effects. If the time interval between the extracted single imbalance measurement data set and any single imbalance measurement data set in the initial screening group does not exceed the temperature drift time interval threshold, and the corresponding temperature difference is not less than the temperature drift temperature threshold, then the extracted single imbalance measurement data set is added to the initial screening group. Simultaneously, the earliest collected single imbalance measurement data set from the other single imbalance measurement data sets not compared in the original initial screening group is removed, forming a screening group. All single imbalance measurement data sets are extracted sequentially until all remaining single imbalance measurement data sets are extracted. Comparative analysis was conducted to establish a screening group as the temperature drift characteristic database. Following a chronological order, one single-error measurement data set was extracted from each of the remaining single-error measurement data sets and compared with the initial screening group for analysis on the effects of aging. If the time interval between the extracted single-error measurement data set and any single-error measurement data set in the initial screening group was not less than the aging time interval threshold, and the corresponding temperature difference did not exceed the aging temperature threshold, then the extracted single-error measurement data set was added to the initial screening group. Simultaneously, the earliest collected single-error measurement data set from the other single-error measurement data sets not compared in the original initial screening group was removed, forming a screening group. This process was repeated until all remaining single-error measurement data sets were compared, and the resulting screening group was established as the aging characteristic database.

[0034] To extract data that is relatively highly influenced by a single factor, we can analyze the characteristics of the influencing factor. For temperature, if the temperature difference between data points is large and the corresponding time interval is small, then the impact of aging on this data set can be considered small, since the aging effect of the system is negligible over extremely short time intervals. For aging, if the time interval between data points is large but the corresponding temperature difference is small, then the impact of temperature on this data set is considered negligible, while the aging effect is relatively significant. Therefore, this application determines whether data can be included in the corresponding database by comparing the data sets in terms of temperature and time interval. Of course, the thresholds for temperature drift time interval, temperature drift temperature, aging time interval, and aging temperature can be set according to the actual situation, as long as it can be ensured that the selected data is mainly significantly influenced by a single factor. When new measurement data is subsequently acquired, the same analysis and judgment method can be used to add the latest data to the database for updating, ensuring the real-time nature of the data in the database, and thus ensuring the real-time performance and accuracy of the prediction model.

[0035] S2: Based on the mismatch fitting feature database, perform fitting analysis on the drift features and establish a mismatch drift model.

[0036] Based on the offset fitting feature database, a fitting analysis targeting the drift characteristics is performed to establish an offset drift model, including: for the temperature drift feature database, based on the measured input offset voltage of different single offset measurement data sets in the database. and the corresponding measurement chip temperature , i represents the number of different single offset measurement data groups in the temperature drift characteristic database, and i≤X; according to different measurement input offset voltages Determine the average voltage of temperature drift. ,in, According to different measuring chip temperatures Determine the average temperature of temperature drift. ,in, According to different measured input offset voltages Temperature of different measuring chips Average voltage of temperature drift and average temperature drift Determine the temperature drift coefficient ,in, For the aging characteristic database, input offset voltage based on the measurement of different single offset measurement data sets in the database. and the corresponding cumulative runtime. j represents the number of different single offset measurement data groups in the aging characteristic database, and j≤X; according to different measurement input offset voltages Determine the average aging voltage ,in, Cumulative runtime based on different measurements Determine the average aging time ,in, According to different measured input offset voltages Cumulative runtime of different measurements Average voltage during aging and average aging time Determine the aging coefficient ,in, According to the latest acquired single-offset measurement data set, the new temperature of the measurement chip is now... And measure cumulative new runtime And combined with temperature drift coefficient and aging coefficient Determine the model reference voltage According to the temperature drift coefficient aging coefficient and model reference voltage Establish an imbalance drift model: ,in, To predict offset voltage in real time, To enable real-time temperature monitoring of the chip, For reference temperature, To monitor the cumulative duration in real time, For reference duration.

[0037] The construction of the offset drift model mainly involves determining the influence weights of temperature and time parameters on the offset voltage. This application uses the least squares method to obtain the influence weights for both parameters, determining the real-time slope that reflects the temperature effect under continuously updated database data. After obtaining the corresponding weight coefficients, the reference voltage corresponding to the model is determined using the latest complete measurement data, thereby establishing a reasonable prediction model. It should be noted that the offset voltage model provided in this application assumes a simple linear relationship between temperature and aging factors on the offset voltage. Of course, a complex multi-power relationship can also be set according to actual needs. Such a relationship model will improve the accuracy of data prediction, but it will also increase the computational complexity of the model. Therefore, it needs to be considered based on the actual situation to provide a reasonable and accurate offset voltage prediction model. The reference temperature and reference duration given in the model can be determined according to the actual situation. Typically, the reference temperature can be set to room temperature, and the reference duration can be set to the running time corresponding to the first effective measurement.

[0038] S3: Collect real-time monitoring data, perform imbalance prediction analysis based on the imbalance drift model, and generate imbalance prediction compensation data.

[0039] Real-time monitoring data is collected, and offset prediction analysis is performed based on the offset drift model to form offset prediction compensation data. This includes: obtaining the current chip temperature value and the current cumulative duration based on the real-time monitoring data; using the current chip temperature value as the chip real-time monitoring temperature value in the offset drift model, and using the current cumulative duration as the real-time monitoring cumulative duration value in the offset drift model, performing calculations on the offset drift model, and outputting the corresponding real-time predicted offset voltage; using the formed real-time predicted offset voltage as the current corresponding offset prediction compensation voltage.

[0040] After establishing a reasonable and effective offset drift model, temperature and duration data can be acquired simultaneously with op-amp operation to predict the offset voltage. The predicted value is then used as input for offset compensation to calibrate the offset voltage. When the op-amp requires calibration, such as during a very short idle period, the signal path does not need to be disconnected; the established model can be directly invoked for prediction. The predicted data is converted into compensation injection values ​​using an IDAC (N-bit current-compensated digital-to-analog converter). Specifically, the unit compensation voltage step size of the IDAC can be defined. The unit compensation voltage step size Unit current of IDAC transconductance of the op-amp input stage Joint decision, that is Set the zero-compensation center code. Typically, it is 2N-1, where N represents the number of bits in the IDAC, and the compensation code... According to the formula To determine the result, the amplitude is limited to the range [0, 2N-1]. This is latched into the IDAC register, completing the predictive compensation injection. At this point, the total residual offset expectation is controlled within [0, 2N-1]. Within the range.

[0041] S4: Acquire real-time measurement data, perform verification and update analysis on the offset drift model, and generate offset verification and update result data.

[0042] Real-time measurement data is acquired, and the offset drift model is validated and updated to generate offset validation and update results data, including: extracting the corresponding current input offset voltage based on the real-time measurement data. Current chip monitoring temperature value and current cumulative running time ; Set the current chip temperature value The chip, used as an offset drift model, monitors the temperature value in real time and accumulates the current running time. As the cumulative real-time monitoring duration of the offset drift model, the corresponding current predicted offset voltage is determined based on the offset drift model. Compare the current input offset voltage. and the current predicted offset voltage :like Then, the misfit database is maintained and updated based on real-time measurement data, forming misfit verification maintenance and update data, among which... Indicates the allowable error threshold; if Then, based on the real-time measurement data, the misfit database is subjected to forced correction processing to form misfit forced correction update data.

[0043] The established offset drift model is typically only applicable to time periods near the time points corresponding to the data collected in the database. Continued operation of the operational amplifier (op-amp) can lead to a decrease in model prediction accuracy due to factors including temperature and aging. Therefore, it is necessary to continuously acquire measurement data collected during system downtime to update the database and ensure the model's timeliness and accuracy. Naturally, the condition for updating the database is based on a decrease in model prediction accuracy. Here, an error threshold is set to judge the difference between the model's prediction and the actual results, thereby updating the database accordingly. There are essentially two different scenarios for updating the database based on the difference value: one is when the difference value is within an acceptable range. Although the model's prediction accuracy is still within an acceptable range, there is still an error, so regular update processing of the measurement data is still required to optimize the model's prediction accuracy. The other is when the difference value exceeds the acceptable range. In this case, regardless of the difference, the measurement data must be used as the basis for model correction and updating the model, thus requiring the measurement data to be forcibly imported into the database for update processing. The database update and model optimization processes differ in these two different scenarios, effectively ensuring that the model can handle real-time and effective states at any time. The difference value, i.e., the allowable error threshold, can be set according to the actual situation, and is usually twice the unit compensation voltage step size. The larger of the sum of several times the standard deviation of the measured noise shall be used.

[0044] like Then, the offset fitting database is maintained and updated based on real-time measurement data, forming offset verification maintenance and update data, including: a set of current input offset voltages. Current chip monitoring temperature value and current cumulative running time This forms the current misalignment measurement data set; for any single misalignment measurement data set in the temperature drift characteristic database, if there exists a single misalignment measurement data set, the cumulative measurement runtime of that single misalignment measurement data set is the same as the current cumulative runtime. The difference does not exceed the temperature drift time interval threshold, and the measured chip temperature is the same as the current chip monitoring temperature value. If the difference is not less than the temperature drift threshold, the current misalignment measurement data set is added to the temperature drift feature database, and the earliest single misalignment measurement data set collected in the temperature drift feature database is deleted, forming a new temperature drift feature database; for any single misalignment measurement data set in the aging feature database, if there exists a single misalignment measurement data set whose cumulative measurement runtime is the same as the current cumulative runtime, then... The difference is not less than the aging time interval threshold, and the measured chip temperature is the same as the current chip monitoring temperature value. If the difference does not exceed the aging temperature threshold, the current misalignment measurement data set is added to the aging characteristic database, while the earliest single misalignment measurement data set collected in the aging characteristic database is deleted, forming a new aging characteristic database. Based on the newly formed temperature drift characteristic database and the aging characteristic data, the temperature drift coefficient is... aging factor βt and model reference voltage The model is updated to form a new misalignment drift model; the newly formed temperature drift feature database, aging feature database and misalignment drift model are combined to form misalignment verification, maintenance and update data.

[0045] For updates to the feature database and offset drift model based on the latest acquired measurement data, since the difference between the model predictions and actual measured results is within acceptable limits, real-time measurement data needs to undergo a standard screening and update process to determine whether it should be added to the database for updating. Adding real-time measurement data that does not meet the standard update criteria to the feature database could negatively impact the accuracy of the database data and the prediction accuracy of the offset drift model built upon it. The screening and judgment method for real-time measurement data is the same as that for screening single offset measurement data sets. If the feature database is indeed updated and meets the requirements, then the offset drift model needs to be updated in conjunction with the updated database to ensure that the data in the feature database and the offset drift model are synchronized. If the real-time measurement data does not meet the judgment criteria, the original database and offset drift model can be maintained for offset voltage prediction and calibration until the next acquisition of real-time measurement data, at which point repeated analysis, judgment, verification, maintenance, and update processing will be performed.

[0046] like Then, based on real-time measurement data, a forced correction process is performed on the offset fitting database to form offset forced correction update data, including: a set of current input offset voltages. Current chip monitoring temperature value and current cumulative running time This forms the current misalignment measurement data set; it also sets the current chip-monitored temperature value. and current cumulative running time Compare with adjacent previous measurement data: If the temperature difference is not less than the temperature drift threshold, the time difference does not exceed the temperature drift time interval threshold, and the temperature difference exceeds the aging temperature threshold, then the current misalignment measurement data set is forcibly added only to the temperature drift feature database, and the earliest single misalignment measurement data set extracted from the temperature drift feature database is removed to form a new temperature drift feature database; if the temperature difference does not exceed the aging temperature threshold, the time difference is not less than the aging time interval threshold, and the time difference exceeds the temperature drift time interval threshold, then the current misalignment measurement data set is forcibly added only to the aging feature database, and the earliest single misalignment measurement data set extracted from the aging feature database is removed to form a new aging feature database; if it is impossible to determine whether to add only a single database, then the current misalignment measurement data is added to both the temperature drift feature database and the aging feature database simultaneously, and the earliest single misalignment measurement data set extracted from the original database is removed to form corresponding new temperature drift feature databases and aging feature databases; based on the updated temperature drift feature database and aging feature database, a new misalignment drift model is established; based on the newly established misalignment drift model, the current chip monitoring temperature value is... The chip, used as an offset drift model, monitors the temperature value in real time and accumulates the current running time. The cumulative real-time monitoring duration of the offset drift model is used to derive a new currently predicted offset voltage. Based on the newly formed current predicted offset voltage Combined with the current input offset voltage Make a judgment: If If so, the newly formed misalignment drift model will be determined as the misalignment drift model used for subsequent predictions; if Then, the temperature drift characteristic database and aging characteristic database are reset and updated to form reset and updated correction data.

[0047] When the difference between the predicted offset voltage and the actual measured offset voltage exceeds a certain threshold, it becomes clear that the offset drift model built on the corresponding database can no longer accurately predict the offset voltage as required. Therefore, updating the database is necessary. Since the database includes a temperature drift feature database and an aging feature database, it is necessary to determine whether the current real-time measured data affects the model's prediction accuracy from the perspective of temperature or aging. Of course, the impact may be similar, so the database update judgment method needs to be used to determine whether the corresponding database update requirements are met. It can be understood that for cases where the actual measured data can be accurately determined, only the intensity of the data needs to be added to the corresponding database. However, for cases where a judgment cannot be made, or where both databases' update requirements are met, the data needs to be added to both databases simultaneously for updating to ensure that the database reflects the influence of the current measured data. After completing the database update, the offset drift model can be updated again based on the updated feature database. Of course, updating the model does not automatically mean that it meets the requirements. The accuracy of the model's predictions still needs to be judged. After all, the model update is also affected by the previous measurement data. By comparing the prediction results with the actual measurement results, the updated model can be proven to be accurate if the difference does not exceed the threshold. If the difference exceeds the threshold, it means that the current situation is negatively affected by the previous data. Therefore, the database needs to be reset and updated more thoroughly to establish an imbalance drift model that better fits the current situation.

[0048] like Then, the temperature drift feature database and aging feature database are reset and updated to form reset and updated correction data. This includes: clearing all data in the temperature drift feature database and aging feature database; setting a reset duration threshold and an extended time step; acquiring all measurement data within a time range equal to the reset duration threshold, including the current offset measurement data group, using the acquisition time point of the current offset measurement data group as the boundary; filling the temperature drift feature database and aging feature database with data; if the number of measurement data groups in the two databases after filling is not less than 2, no further filling is required; if the number of measurement data groups in either of the two databases after filling is less than 2, the total time span of data acquisition is gradually expanded according to the extended time step until the number of measurement data groups in both databases is not less than 2, where 2 < X; updating the offset drift model based on the filled database; and comparing the prediction results of the updated offset drift model with the current input offset voltage of the current offset measurement data group. The following comparison is performed: If the difference does not exceed the allowable error threshold, the updated offset drift model is determined as the subsequent prediction offset drift model; if the difference exceeds the allowable error threshold, the number of data in both databases is expanded according to the extended time step. If any data in either database is increased, the offset drift model is updated and a threshold judgment is performed again, until the prediction result of the updated offset drift model matches the current input offset voltage of the current offset measurement data set. If the difference does not exceed the allowable error threshold, the resulting offset drift model will be determined as the offset drift model for subsequent predictions.

[0049] Resetting the database first requires clearing all data from the source database and then reacquiring measurement data from the most recent time period. It's understood that the closer the measurement data is in time, the more representative it is of the current operational amplifier's offset voltage change. Based on the offset drift model's construction method, the minimum amount of data in both databases must be no less than 2 to update the offset drift model. Therefore, setting a reasonable time span, i.e., a reset duration threshold, constrains the time span of measurement data acquisition to ensure the timeliness of the data after database reset. Once the database size meets the conditions for updating the offset drift model, the model can be updated first. Then, the difference between the predicted result and the latest current input offset voltage is checked to determine if the model's prediction accuracy meets the requirements. If it does, no more data is added to the database; instead, the database and model are finalized as the data for subsequent predictions. If not, the time span of data acquisition is increased by one extension duration step each time, and data is added to the database. For each database, an update check is performed whenever measurement data is added, until the updated model's prediction accuracy meets the requirements. This method of model updating can guarantee that a model that meets the requirements will eventually be obtained, since the database data is based on the most recent data and the influence of earlier data is gradually introduced.

[0050] Figure 2 A schematic diagram of a digital calibration system for operational amplifier offset voltage provided in an embodiment of the present invention. Exemplarily, the system includes: Analog Front-End Unit: Contains an operational amplifier core, calibration switch network, offset compensation IDAC, reference voltage source, analog-to-digital converter (ADC), and temperature sensor. Operational Amplifier Core: The main body being calibrated; its internal differential input stage provides current injection nodes. Calibration Switch Network: Composed of analog switches controlled by a state machine, allowing the op-amp to be configured as a unity-gain buffer (non-inverting input connected to...). (The inverting input is shorted to the output) for offset measurement mode; during normal operation, it switches to the signal path. IDAC (Current-Mode Digital-to-Analog Converter): Receives digital compensation codes. This generates a pair of differential compensation currents. This is injected into the load node of the op-amp input stage to achieve equivalent input offset compensation. ADC (Analog-to-Digital Converter): In calibration mode, it measures the difference between the op-amp output and the reference voltage, converting the analog offset voltage into a digital value. Temperature sensor: Real-time monitoring of chip temperature. This provides environmental parameters for temperature drift modeling. Reference voltage source: generates an internal precision reference. It serves as the reference level for offset measurement and the differential negative reference for the ADC.

[0051] Digital calibration control unit: Includes a digital calibration state machine, a simplified arithmetic logic unit (ALU), a non-volatile memory (NVM) interface, an accumulated runtime timer, and a compensation register. Calibration state machine (FSM): Executes states such as data acquisition, dataset update, model fitting, prediction compensation, and verification correction in a predetermined sequence; it is the control core of the entire calibration process. Simplified arithmetic unit (ALU): Dedicated to scalar calculations, handling temperature drift coefficients. aging coefficient Least squares fitting, residual calculation, and compensation code. Solving for the cumulative runtime timer: Records the total cumulative running time of the chip. Used for aging modeling. Compensation register: latches the currently valid compensation code. It directly drives the IDAC in the AFE. NVM controller and interface: responsible for read and write operations on non-volatile memory, including datasets, model parameters, compensation codes, and configuration thresholds.

[0052] Non-volatile memory (NVM): Divided into a storage area for the fitted dataset (temperature drift dataset) aging dataset ), model parameter storage area ( , , ), compensation code and system configuration area. Fitting dataset area: temperature drift dataset. Store recording points that meet the conditions of similar time and significant temperature difference. Aging dataset Store recording points that meet the conditions of similar temperature and significant time difference. Model parameter area: stores the reference offset voltage. Temperature drift coefficient aging coefficient Current compensation code area: Stores the most recently calculated compensation code. Compensation can be quickly restored after power-on. Threshold and configuration area: stores the tolerance error threshold. Minimum temperature difference Minimum time interval Configurable parameters, etc.

[0053] Clock and Reset Management Unit: Provides on-chip clock signal to drive state machine, ADC, timer and other components to work synchronously; generates power-on reset signal to bring the system to the initial state.

[0054] refer to Figure 3 To simulate the front-end and offset detection channel, switch S1 is closed, connecting the non-inverting input of the op-amp to the internal reference voltage. When switch S2 is closed, the inverting input and output of the op-amp are shorted, forming a unity-gain buffer. When switch S3 is closed, the op-amp output is connected to the ADC input. At this time, the op-amp's output voltage is... Because ADC uses As a differential negative reference, its conversion result is directly proportional to the input offset voltage: Therefore, the offset voltage is directly digitized, eliminating the need for an additional analog subtraction circuit. On the other hand, the IDAC receives the compensation code from the digital controller. The IDAC internally converts it into differential current. And injected into the load node of the internal differential input stage of the operational amplifier. Specifically, Injected into one side of the load (e.g.) (Side road) Injected into the load on the other side (e.g.) (Branch). These two currents generate an equivalent input compensation voltage across the load.

[0055] It should be understood that the processor involved in the embodiments of the present invention can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0056] It should also be understood that the memory involved in the embodiments of the present invention can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced synchronous DRAM (ESDRAM), synchronous linked DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0057] The above embodiments can be implemented, in whole or in part, by software, hardware (such as circuits), firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.

[0058] It should be understood that, in various embodiments of the present invention, the order of the above-mentioned process numbers does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0059] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0060] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0061] In the embodiments provided by this invention, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0062] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0063] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0064] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0065] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.

Claims

1. A digital calibration method for the offset voltage of an operational amplifier, characterized in that, The method includes: Collect imbalance measurement data, construct a feature database based on imbalance influencing factors, and form an imbalance fitting feature database. Based on the aforementioned mismatch fitting feature database, a fitting analysis targeting the drift features is performed to establish a mismatch drift model; Collect real-time monitoring data, perform imbalance prediction analysis based on the imbalance drift model, and generate imbalance prediction compensation data. Real-time measurement data is acquired, and the offset drift model is verified and updated to generate offset verification and update result data.

2. The method according to claim 1, characterized in that, The collected imbalance measurement data are used to construct a feature database based on imbalance influencing factors, forming an imbalance fitting feature database, including: Based on the offset measurement data, extract the M most recent complete hardware offset measurement information in the time dimension; An initial feature database for offset is constructed and analyzed based on M complete hardware offset measurement information. The initial imbalance feature database is updated using routine methods based on imbalance measurement data acquisition to form the imbalance fitting feature database.

3. The method according to claim 2, characterized in that, The initial feature database is constructed and analyzed based on M complete hardware offset measurement information, forming an initial offset feature database, including: For each complete hardware offset measurement information, the corresponding measurement input offset voltage, measurement chip temperature and measurement cumulative runtime are extracted to form a single offset measurement data set. Using the measurement time as a reference, the earliest X data points from the M single-disorder measurement data sets are grouped into an initial screening group in chronological order from farthest to nearest, where X < M.

4. The method according to claim 3, characterized in that, The step of performing routine update processing on the initial imbalance feature database based on imbalance measurement data acquisition to form the imbalance fitting feature database includes: In chronological order, one set of single-error measurement data is extracted from the remaining sets and compared with the initial screening set for analysis regarding the effect of temperature. If the time interval between the extracted single-offset measurement data set and any single-offset measurement data set in the initial screening group does not exceed the temperature drift time interval threshold, and the corresponding temperature difference is not less than the temperature drift temperature threshold, then the extracted single-offset measurement data set is added to the initial screening group, and the earliest single-offset measurement data set among the other single-offset measurement data sets that were not compared in the original initial screening group is removed to form a screening group; All the single-offset measurement data sets are extracted sequentially until the comparative analysis of all remaining single-offset measurement data sets is completed, and the resulting screening group is determined as the temperature drift feature database. In chronological order, one set of the remaining single-error measurement data is extracted from each set and compared with the initial screening set for analysis of the effects of aging. If the time interval between the extracted single-offset measurement data set and any single-offset measurement data set in the initial screening group is not less than the aging time interval threshold, and the corresponding temperature difference does not exceed the aging temperature threshold, then the extracted single-offset measurement data set is added to the initial screening group, and the earliest single-offset measurement data set among the other single-offset measurement data sets that were not compared in the original initial screening group is removed to form a screening group; All the single-offset measurement data sets are extracted sequentially until the comparative analysis of all remaining single-offset measurement data sets is completed, and the resulting screening group is determined as the aging characteristic database.

5. The method according to claim 4, characterized in that, The step of performing fitting analysis on drift features based on the misalignment fitting feature database to establish a misalignment drift model includes: For the temperature drift characteristic database, based on the measured input offset voltage of different single offset measurement data groups in the database. and the corresponding temperature of the measurement chip , i represents the number of the different single misalignment measurement data group in the temperature drift feature database, and i≤X; According to different measured input offset voltages Determine the average voltage of temperature drift. ,in, ; According to the different measured chip temperatures Determine the average temperature of temperature drift. ,in, ; According to different measurements of input offset voltage Different measurement chip temperatures The average voltage of temperature drift and the average temperature of the temperature drift Determine the temperature drift coefficient ,in, ; For the aging characteristic database, the measured input offset voltage is determined according to the different single offset measurement data groups in the database. and the corresponding cumulative runtime of the measurement j represents the number of different single misalignment measurement data groups in the aging characteristic database, and j≤X; According to different measured input offset voltages Determine the average aging voltage ,in, ; Based on different measurements, the cumulative runtime Determine the average aging time ,in, ; According to different measurements of input offset voltage The cumulative runtime of different measurements The average voltage of aging and the average aging time Determine the aging coefficient ,in, ; Based on the latest acquired single-offset measurement data set, the new temperature of the measurement chip is now available. And measure cumulative new runtime And in combination with the temperature drift coefficient and the aging coefficient Determine the model reference voltage ; According to the temperature drift coefficient The aging coefficient mentioned above and the model reference voltage Establish an imbalance drift model: ,in, To predict offset voltage in real time, To enable real-time temperature monitoring of the chip, For reference temperature, To monitor the cumulative duration in real time, For reference duration.

6. The method according to claim 5, characterized in that, The collected real-time monitoring data is used to perform imbalance prediction analysis based on the imbalance drift model to form imbalance prediction compensation data, including: Based on the real-time monitoring data, obtain the current chip temperature value and the current cumulative duration; The current chip temperature value is used as the real-time monitored chip temperature value in the offset drift model, and the current cumulative duration is used as the real-time monitored cumulative duration in the offset drift model. The offset drift model is then calculated, and the corresponding real-time predicted offset voltage is output. The real-time predicted offset voltage is used as the current corresponding offset predicted compensation voltage.

7. The method according to claim 6, characterized in that, The process of acquiring real-time measurement data, performing verification and update analysis on the offset drift model, and generating offset verification and update result data includes: Based on the real-time measurement data, extract the corresponding current input offset voltage. Current chip monitoring temperature value and current cumulative running time ; The current chip monitoring temperature value The chip's real-time temperature value serves as the basis for the offset drift model, and the current cumulative operating time is also considered. As the cumulative real-time monitoring duration of the offset drift model, the corresponding current predicted offset voltage is determined based on the offset drift model. ; Compare the current input offset voltage and the current predicted offset voltage : like Then, based on the real-time measurement data, the misfit database is maintained and updated to form misfit verification maintenance and update data, wherein... Indicates the allowable error threshold; like Then, based on the real-time measurement data, the misfit database is subjected to forced correction processing to form misfit forced correction update data.

8. The method according to claim 7, characterized in that, If Then, based on the real-time measurement data, the misfit database is maintained and updated to form misfit verification maintenance and update data, including: The current input offset voltage is collected. The current chip monitoring temperature value and the current cumulative running time This forms the current misalignment measurement data set; For any single misalignment measurement data set in the temperature drift feature database, if the cumulative measurement runtime of the single misalignment measurement data set is the same as the current cumulative runtime... The difference does not exceed the temperature drift time interval threshold, and the measured chip temperature is the same as the current chip monitoring temperature value. If the difference is not less than the temperature drift threshold, then the current misalignment measurement data set is added to the temperature drift feature database, and the single misalignment measurement data set with the earliest acquisition time is deleted from the temperature drift feature database to form a new temperature drift feature database. For any single misalignment measurement data set in the aging characteristic database, if the cumulative runtime of the single misalignment measurement data set is the same as the current cumulative runtime... The difference is not less than the aging time interval threshold, and the measured chip temperature is the same as the current chip monitoring temperature value. If the difference does not exceed the aging temperature threshold, the current misalignment measurement data set is added to the aging feature database, and the earliest single misalignment measurement data set collected in the aging feature database is deleted to form a new aging feature database. Based on the newly formed temperature drift characteristic database and the aging characteristic data, the temperature drift coefficient is... The aging coefficient βt and the model reference voltage The model is updated to form a new misalignment drift model; The newly formed temperature drift feature database, the aging feature database, and the misalignment drift model are combined to form the misalignment verification, maintenance, and update data.

9. The method according to claim 8, characterized in that, If Then, based on the real-time measurement data, a forced correction process is performed on the misfit database to form misfit forced correction update data, including: The current input offset voltage is collected. The current chip monitoring temperature value and the current cumulative running time This forms the current misalignment measurement data set; The current chip monitoring temperature value and the current cumulative running time Compare with adjacent, previously measured data: If the temperature difference is not less than the temperature drift temperature threshold, the time difference does not exceed the temperature drift time interval threshold, and the temperature difference exceeds the aging temperature threshold, then the current misalignment measurement data group will be forcibly added to the temperature drift feature database, and the earliest single misalignment measurement data group extracted from the temperature drift feature database will be removed to form a new temperature drift feature database. If the temperature difference does not exceed the aging temperature threshold, the time difference is not less than the aging time interval threshold, and the time difference exceeds the temperature drift time interval threshold, then the current misalignment measurement data group will be forcibly added to the aging feature database, and the earliest single misalignment measurement data group extracted from the aging feature database will be removed to form a new aging feature database. If it is not possible to determine whether to add only a single database, then the current misalignment measurement data is added to both the temperature drift feature database and the aging feature database, and the earliest single misalignment measurement data group extracted from the original database is removed to form a corresponding new temperature drift feature database and aging feature database. Based on the updated temperature drift feature database and the aging feature database, a new imbalance drift model is established; Based on the newly established offset drift model, the current chip monitoring temperature value is... The chip's real-time temperature value serves as the basis for the offset drift model, and the current cumulative operating time is also considered. The cumulative real-time monitoring duration of the offset drift model is used to derive the new currently predicted offset voltage. ; Based on the newly formed current predicted offset voltage Combined with the current input offset voltage Make a judgment: like Then the newly formed misalignment drift model will be determined as the misalignment drift model used in subsequent predictions; like Then, the temperature drift feature database and the aging feature database are reset and updated to form reset and updated correction data.

10. The method according to claim 9, characterized in that, If Then, the temperature drift feature database and the aging feature database are reset and updated to form reset and updated correction data, including: Clear all data in the temperature drift characteristic database and the aging characteristic database; Set a reset duration threshold and an extended time step. Using the time point of the current imbalance measurement data set as the boundary, acquire all measurement data within a time range including the current imbalance measurement data set, with a total time span equal to the reset duration threshold. Fill the temperature drift characteristic database and the aging characteristic database with data. If the number of measurement data sets in the two databases after filling is not less than 2, no further filling is performed. If the number of measurement data sets in either of the two databases after filling is less than 2, the total time span of data acquisition is gradually expanded according to the extended time step until the number of measurement data sets in both databases is not less than 2, where 2 < X. The offset drift model is updated based on the populated database, and the prediction results of the updated offset drift model are compared with the current input offset voltage of the current offset measurement data set. Comparison: If the difference does not exceed the allowable error threshold, the updated offset drift model is determined as the offset drift model for subsequent predictions. If the difference exceeds the tolerance threshold, the number of data in the two databases is further expanded according to the extended time step. If the data in either database increases, the offset drift model is updated and a threshold judgment is performed, until the result predicted by the updated offset drift model matches the current input offset voltage of the current offset measurement data set. If the difference does not exceed the allowable error threshold, the resulting misalignment drift model is determined as the misalignment drift model for subsequent prediction.