valley peak detector

"This circuit can be used to generate negative output voltage if the top plate of capacitor is grounded instead of bottom plate (or if the diode is flipped)." From page 6 here.