in which the reference signal is produced by stepwise charging or discharging a capacitor