How to identify stable deltas in a noisy signal
This sounds like the "change detection" problem of Basseville and Nikiforov, with the parameter after the change unknown (see section 2.4) of the linked PDF.

See, for instance, example 2.4.3:



The usual algorithm for dealing with this, and the one analyzed in the above-linked book is the CUSUM (Cumulative Sum) algorithm.