Patent ID: 8072362

Claim:
A modulator with loop-delay compensation, comprising: a delta-sigma modulator configured to generate a quantization code that is a thermometer code; and a digital compensation filter coupled to receive the quantization code and output a digital code, the digital compensation filter being coupled and configured then to feed the digital code back to the delta-sigma modulator, the digital compensation filter generating the digital code as a difference between consecutive quantization codes; wherein the digital compensation filter comprises: a register configured to generate a delayed quantization code from the present quantization code; an exclusive-OR (XOR) gate array coupled to receive the present quantization code and the delayed quantization code, thereby resulting in an absolute value of 1-z âˆ’1 that is a transfer function expressed in z-domain of the digital compensation filter, which has consecutive â€œ1â€ pattern, wherein an actual value of the absolute of 1-z âˆ’1 is a number of â€œ1â€ occurrences in the consecutive â€œ1â€ pattern; and a plurality of OR gates coupled to receive outputs of the XOR gate array.