I came across this circuit that measures capacitance mainly between 30pF and 300pF, and is typically used between 31KHz and 250KHz. It basically outputs a 0-5V analog value that correlates with the capacitance. I drew a green arrow pointing to where the measurement is taking place. Its basically an RC circuit with a peak voltage detection circuit. I believe the op-amp is in place because the RC circuit has really high impedance, so this corrects it for the peak voltage detection portion. Here is the circuit:

My question is, how should I go about modifying this so I can use a much higher frequency of 80MHz instead of 31KHz-250KHz, and so I can read larger capacitance values (up to say 40uF). I simulated the circuit as-is, at different frequencies, and different capacitance values. The square wave I used here is a 0 to 5V square wave, 50% duty cycle:

It looks like the only thing that needs to be done is either change the values of the RC component of the circuit, or change the values of the peak detector? Or both? How do you determine what would be appropriate values for these? And I'm guessing I'll just pick an op-amp that has a "Gain Bandwidth Product" of something greater than 80MHz?
I also wanted to note, regarding the range, I can even go from 500pF to 40uF, maybe 100ish steps in-between. It doesn't need to be all that high precision. The only thing is the frequency must be 50MHz minimum or higher.
Any help or advice is greatly appreciated, thanks!

My question is, how should I go about modifying this so I can use a much higher frequency of 80MHz instead of 31KHz-250KHz, and so I can read larger capacitance values (up to say 40uF). I simulated the circuit as-is, at different frequencies, and different capacitance values. The square wave I used here is a 0 to 5V square wave, 50% duty cycle:

It looks like the only thing that needs to be done is either change the values of the RC component of the circuit, or change the values of the peak detector? Or both? How do you determine what would be appropriate values for these? And I'm guessing I'll just pick an op-amp that has a "Gain Bandwidth Product" of something greater than 80MHz?
I also wanted to note, regarding the range, I can even go from 500pF to 40uF, maybe 100ish steps in-between. It doesn't need to be all that high precision. The only thing is the frequency must be 50MHz minimum or higher.
Any help or advice is greatly appreciated, thanks!