Here's an inexpensive precision peak detector circuit that accurately tracks the peak voltage of input signals at frequencies up to 100kHz and has zero voltage droop over an indefinite period of time...no microcontrollers required! Additional references and schematics can be found at: http://www.analogzoo.com/2016/02/a-100khz-zero-droop-peak-detector/
50 Comments