Precision peak detector with Non-Inverting Op-Amp and a diode

6 ビュー (過去 30 日間)
Maverick
Maverick 2020 年 3 月 8 日
編集済み: Maverick 2020 年 3 月 13 日
Hi, I created a model of a precision peak detector, with an Op Amp and a diode. The input voltage is sinusoidal wave of 1kHz. The capacitor is 100 nF. After running the simulation, the output voltage is a identical to the input while I would expect to see the diode at least kicking in whe the voltage reverse. All looks fine instead if i use the diode alone, without the non-inverting Op-Amp. What is wrong ? The code is attached
  1 件のコメント
Maverick
Maverick 2020 年 3 月 13 日
編集済み: Maverick 2020 年 3 月 13 日
Hi Nishant, thanks to have checked this out. Finally I found the right combination of C, Rs and frequency excitation required to get a resonable signal out. I am not strong with the theory of Op-Amps but I read some books and I udnerstood where the problem was.
BTW, for other users that may find this useful, my actual parameetrs are f=5kHz, R1=1000kOhm, R2=10kOhm, C=1 uF. The sin wave is sampled at 1MhZ

サインインしてコメントする。

回答 (1 件)

Nishant Gupta
Nishant Gupta 2020 年 3 月 13 日
Hi, I run the model attached by you and got the following plot, which is correct only. Can you send the plot you are getting?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by