A new detection method for noisy channels with time-varying offset