I'm trying to add a current-limiting feature to my negative-output buck voltage circuit. My schematic is shown below. I'm using an LM2596 IC, and I'm attempting to get -9.5V out from a 15 V source. I saw a video of someone implementing a current limiting feature using the positive configuration, but I don't know how to do successfully accomplish that with the negative configuration. Right now, the circuit below maintains its negative output (with a small amount of ripple voltage) given various loads. However, if I add a 1 ohm sense resistor in the circuit, say before the first switch, the output varies. How should I go about implementing a current limiting feature with this negative voltage configuration?