Precision peak detector with Non-Inverting Op-Amp and a diode
Show older comments
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 Comment
Answers (1)
Nishant Gupta
on 13 Mar 2020
0 votes
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?

Categories
Find more on Choose and Parameterize Blocks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!