|
发表于 2024-11-10 14:39:00
|
显示全部楼层
Why Subtract 0.5?
The 0.5 subtraction is related to the way the 3-term compensation algorithm works. It's essentially a rounding factor. Here's a simplified explanation:
Error Calculation: The algorithm calculates the error between the ideal DAC output and the actual output due to capacitor imperfections.
Compensation Terms: This error is then divided into three parts, each corresponding to a different source of error.
Digital Correction: These error terms are converted into digital values and used to adjust the DAC's output during the conversion process.
The 0.5 subtraction comes in during the digital correction step. It helps to ensure that the digital correction value is rounded to the nearest integer, effectively minimizing the overall error. |
|