I'm trying to do a positive clamper circuit in easyeda.com to bias a triangular signal of 200mV pk-to-pk at 1kHz centered around 0V. Here's the circuit:
The bias seems to work only during the first cycle:
But as you can see, the bias exponentially decreases slowly and after ~1s, it's almost at the same DC as the original signal. What I want is a circuit that bias the signal for half of the pk-to-pk so that it always stays like the orange signal in the 2nd picture.
The triangular signal's frequency could be from 1Hz up to 1kHz. Why does the bias decreases in time? Would you suggest another circuit to bias this signal without the decay that would work for the frequency range I want? Does it has to do with the values of R and C?