I have been measuring signals in an oscilloscope and I have stumbled upon a practical exercise of calculating the DC offset of a signal. Basically what I did was turn on the DC coupling, take the maximum voltage (eg. 2.36 volts) then turn on the AC coupling , take the maximum voltage again (e.g., 560mV) and finally DC offset= 2.360-0.560 Volts=1.8 Volts (or so I thought) Though the exercise continues and states that the DC coupling shows us peak-peak 1.04V and the AC coupling 890mV peak-peak. So my question is the following: If the DC offset is responsible for "lifting the signal" , how is it that the peak-peak is different for the same signal in the DC and AC coupling?
An oscilloscope's AC coupling feature removes the DC part of the signal by placing a capacitor in series with the signal. This is essentially a High Pass Filter. So some attenuation is expected.
Generic High Pass Filter:
In general, AC coupling is a convenient way to keep the scope trace on the screen when observing small signals "riding" on top of larger signals that are not of interest. But, as you pointed out, to make an accurate amplitude measurement, DC coupling should be used along with the time it takes to recenter and adjust the oscilloscope's amplitude to make an accurate assessment of the smaller signal.