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

1 次查看(过去 30 天)
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?

类别

Help CenterFile Exchange 中查找有关 Choose and Parameterize Blocks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by