Patent attributes
An encoder comprises a buffer that stores data associated with a communication signal. A DC-Check circuit generates a metric as a function of the data. A DC tracking block generates an invert signal as a function of the metric. An inverter unit controls an inverter bit of an output of the buffer based on the invert signal such that an average DC value of the data approaches zero. The metric is selected from a group consisting of a maximum absolute value of a running digital sum of the data, a maximum DC offset introduced by a filtering operation, a maximum DC offset of a DC correction circuit, a maximum absolute value of a filtered output of the data, a maximum DC offset slope change of the running digital sum of the data, a count of the quantity of times the metric is above or below a threshold, and combinations thereof.