Hello,
I am struggling with designing a peak detector circuit. I do not understand why I am unable to get the output to hold at Vpeak (5V). It is constantly holding at 4.5V. I cannot seem to understand why the opamp won't compensate for the diode voltage drop. The schematic, input and output traces and opamp parameters are shown below. Any design tips are appreciated. Thank you.


I am struggling with designing a peak detector circuit. I do not understand why I am unable to get the output to hold at Vpeak (5V). It is constantly holding at 4.5V. I cannot seem to understand why the opamp won't compensate for the diode voltage drop. The schematic, input and output traces and opamp parameters are shown below. Any design tips are appreciated. Thank you.






