CPC H03M 1/1014 (2013.01) | 12 Claims |
1. A digital-to-analog conversion (DAC) apparatus having signal calibration mechanism, comprising:
a DAC circuit comprising a plurality of current sources each having a current offset, and configured to control an operation state of each of the current sources to be one of a first current output state and a second current output state according to an input digital codeword comprised by an input digital signal, so as to generate an output analog signal according to a total current of the current sources, wherein each of the current sources outputs a current with a same current amount but opposite signs respectively under the first current output state and the second current output state;
an echo transmission circuit to process the output analog signal to generate an echo signal;
a calibration circuit to receive the input digital signal and perform mapping from a codeword offset mapping table according to the input digital codeword to generate an offset, wherein the codeword offset mapping table comprises a one-to-one correspondence relation between a plurality of codewords and a plurality of codeword offsets;
an echo-canceling circuit to process the offset according to a group of echo-canceling coefficients to generate an echo-canceling signal; and
a calibration parameter calculating circuit configured to:
generate an offset amount according to a difference between the echo signal and the echo-canceling signal;
categorize the offset amount corresponding to the different input digital codeword into a plurality of groups according to the operation state of each of the current sources to perform statistic operation;
set each of the current sources as a target current source to perform calculation among the groups such that the current offset of each of the current sources besides the target current source cancels out to calculate the current offset of the target current source; and
convert the current offset of the current sources to the codeword offsets to update the codeword offsets in the codeword offset mapping table.
|