However, this is not, of course, the only application, and the invention can be used whenever it is useful to detect a transition (increasing or decreasing) of a constant component of a complex signal with this component mixed with an alternating component, which alternating component could have a sinusoidal, square, rectangular, or other form.