A constant current sink can discharge the capacitor in a straight line, too. Usually, a circuit like that will have a flip-flop to pick between the source and the sink. The other way to do it is ...
Since it’s not desirable to use a power supply that’ll let the smoke out of everything it powers (or itself, for that matter) a constant current sink, or load, can help determine the operating ...