[PD] switch-and-ramp technique