A receiver with baseline wander compensation is applicable to a digital
communication system. The receiver includes an Analog-to-Digital
Converter (ADC), a slicer, a threshold value detector, a gain controller,
a baseline wander compensator, a delay circuit, an analog gain stage, and
a digital gain stage. The baseline wander compensator is used to perform
an operation and a filtering process on a voltage obtained prior to
processing by the slicer and a voltage after the processing so as to
obtain a baseline wander voltage value for compensation and control. The
threshold value detector and the gain controller dynamically produce
control signals of analog gain and digital gain. The analog gain stage
compensates degrading of communication signals passing through
transmission channels in an analog gain manner. The delay circuit is used
to compensate the delay of the conversion performed by the ADC. The
digital gain stage compensates insufficiency of the analog gain.