Level Detectors, Absolute Value, Peak and RMS

Where we discuss new analog design ideas for Pro Audio and modern spins on vintage ones.
User avatar
mediatechnology
Posts: 5442
Joined: Sat Aug 11, 2007 2:34 pm
Location: Oak Cliff, Texas
Contact:

Level Detectors, Absolute Value, Peak and RMS

Post by mediatechnology »

This is a collection in pictures. I'll add text later.

Image
"Absolute Value Circuit Delivers High Bandwidth," Ron Mancini, EDN, July 2004.

Image
Analog Devices AD536 Absolute Value

Image
A comparator-based peak detector using an LM339 open collector output.

Image
A comparator-based peak detector with NPN Boost transistors.

Image
"Diode simulator reduces forward drop to 0.04V," Eng, EDN July 20, 1992.

Image
"Frequency doubler gives pure sine wave," Electronic Design, June 21, 1975.

Image
The discontinued Precision Monolithics GAP-01 used as an absolute value rectifier.

Image
A two-color overload indicator using a comparator-based peak detector.

Image
A peak flasher. Note the pinout error on the bottom TL074.

Image
A log peak detector. Two channels shown. Crazynightowl may recognize this one.

Image
Peak-to-peak detector

Image
The AD823 op amp used as a rectifier

Image
AD823 rectifier output

Image
D-R Compressor Shunt rectifier

Image
An early dbx rms detector from the patent application.

Image
A dbx rms detector using the CA3083.

Image
Stephen Woodward, rms detector with differential input

Image
dbx 902 rms using transistor array

Image
bcarso symmetrical rectifier

Image
Graeme symmetrical rectifier

Note: The above rectifier circuit has been attributed to SSL by Rod Elliot but I first saw it in the 1973 edition of "Applications of Operational Amplifiers," Jerald Graeme, Burrr Brown. It is used in the SSL Phase Meter.

Image
Boss SG-1 Rectifier

Image
The Cordell Rectifier.

Image
"Dual Polarity Peak Detector Operates From Single Supply," Chester Simpson, EDN, May 12, 1994

"Dual Polarity Peak Detector Operates From Single Supply," Chester Simpson, EDN, May 12, 1994.
Full pdf: https://www.ka-electronics.com/images/p ... 2_1994.pdf

Image
Full Wave Precision Rectifier CW Beal Wireless World July 1982

Image
dBx 303 RMS Detector Section Simplified Schematic

Image
THAT2252 RMS Detector Replacement Using a THAT300 Transistor Array
See: http://www.proaudiodesignforum.com/foru ... ?f=6&t=856

Image
A current rectifier based on the Loftec TS-1 and THAT2252.

A super-simple unipolar peak flasher using the ubiquitous and cheap TL431 shunt regulator as a comparator.

Image
A Super-Simple Peak Flasher/LED Overload Indicator Using the TL431.
See: http://www.proaudiodesignforum.com/foru ... ?f=6&t=960

Image
Positive and Negative Comparator-based Peak Detectors Using the LM311.
Crusty
Posts: 69
Joined: Mon Aug 20, 2007 1:42 am

Re: Level Detectors, Absolute Value, Peak and RMS

Post by Crusty »

This one shows how to select positive, negative, or full-wave peaks:

http://www.edn.com/article/CA6339250.ht ... ryid=44217

And from the reference, a neat envelope follower technique (scroll down to 2nd article):
http://www.edn.com/contents/images/122602di.pdf
User avatar
mediatechnology
Posts: 5442
Joined: Sat Aug 11, 2007 2:34 pm
Location: Oak Cliff, Texas
Contact:

Re: Level Detectors, Absolute Value, Peak and RMS

Post by mediatechnology »

Here's another one I just found in a stomp box:

Image

The 100K is a pullup to 1/2 V+, the 10K collector load is to V+. The base series resistor, off-screen and not shown, is 22K. This looks a little like the Boss SG-1 sent to me by clintrubber.
User avatar
mediatechnology
Posts: 5442
Joined: Sat Aug 11, 2007 2:34 pm
Location: Oak Cliff, Texas
Contact:

Re: Level Detectors, Absolute Value, Peak and RMS

Post by mediatechnology »

Biased Diode Rectifier

Image
"Applications of Operational Amplifiers," Third Generation Techniques," Jerald Graeme, Burr-Brown, 1973, Figure 4.18.

Using a THAT340 with D1 and D2 as diode-connected transistors this circuit rocks as a half-wave rectifier.
I used an LME49860.
A second summation stage, not shown, makes this an absolute value circuit.
I lowered the 10K bias resistors to 2K2.
D1 should thermally track Q1 and D2 should track Q2 but D1/Q1 and D2/Q2 do not need to be in the same package.
User avatar
JR.
Posts: 3700
Joined: Sat May 24, 2008 7:21 pm
Contact:

Re: Level Detectors, Absolute Value, Peak and RMS

Post by JR. »

As usual thanks Wayne (the librarian).. This thread has every precision rectifier and peak detector ever designed ... :lol: [ rim shot }... Of course not that would be a herculean task, for no reason other than the fact that design engineers suffer from NIH syndrome, so even when some perfectly useful prior art exists they will still design their own different way. 8-)

I've seen some clever use of biased rectification (to reduce diode drop lag) in some of Paul Buff's log side chain dynamics designs.

I did some variant stuff in my LOFTECH TS-1 to deal with opamp GBW product. Trying to slew +/- a diode drop for a precision rectifier gets increasingly difficult for low level high frequency. (I had to do some extra work to only be down -3dB at 20kHz for -60 dBu. )

While I don't know if i can find one, I vaguely recall making (or trying to) a one opamp bi-color detector for some console design. Trust me you don't want to throw a bunch of circuitry at several tens of these inside a console.

I seem to recall other discussion of this stuff in threads around this forum, probably hijacks occurring other threads.

This is certainly comprehensive and enough for anybody to need time to digest.

JR
Cancel the "cancel culture", do not support mob hatred.
User avatar
JR.
Posts: 3700
Joined: Sat May 24, 2008 7:21 pm
Contact:

Re: Level Detectors, Absolute Value, Peak and RMS

Post by JR. »

bi-bolor.jpg
bi-bolor.jpg (78.04 KiB) Viewed 47699 times
Well what do you know... Here is my one (cheap) opamp bi-color signal present/overload circuit from an old AMR console.

IIRC this used a 2 lead bi-bolor LED so green in one polarity, red the other, looks like I have hold time built into the OL so narrow spikes can be seen.

Not shown are multiple small signal diodes between "SMPLE" and several different signal nodes (cathodes connected together and to SMPLE). .

JR

PS: Looks like a lot of parts to me now, but this was an actual production circuit so tweaked to look good for a $10k-20k console.
Cancel the "cancel culture", do not support mob hatred.
User avatar
mediatechnology
Posts: 5442
Joined: Sat Aug 11, 2007 2:34 pm
Location: Oak Cliff, Texas
Contact:

Re: Level Detectors, Absolute Value, Peak and RMS

Post by mediatechnology »

Here is my one (cheap) opamp bi-color signal present/overload circuit from an old AMR console.
Thanks! I'm going to have to stare at that one for awhile.
I've seen some clever use of biased rectification (to reduce diode drop lag) in some of Paul Buff's log side chain dynamics designs.
This is the DynaMite detector:

Image
Valley People Dynamite Detector
User avatar
JR.
Posts: 3700
Joined: Sat May 24, 2008 7:21 pm
Contact:

Re: Level Detectors, Absolute Value, Peak and RMS

Post by JR. »

Yup, exactly,, That one Buff schematic is a nice object lesson in smart log domain design. Some subtle stuff going on in there, and I suspect many got in trouble trying to copy it without understanding details. While he was not allergic to using lots of trim pots... a habit Peavey broke me of.

My signal preset/clip circuit is crude stone age stuff by comparison.

JR
Cancel the "cancel culture", do not support mob hatred.
tubegeek
Posts: 25
Joined: Mon Mar 18, 2013 12:36 pm
Location: Brooklyn NY

Re: Level Detectors, Absolute Value, Peak and RMS

Post by tubegeek »

Excuse me, Wayne, but in another thread, JR had assigned me to design my own peak detector. You've TOTALLY screwed THAT up.

Now, I do NOT suffer from NIH and this is an embarrassment of riches. Thank you.

But it seems like I'm going to miss a learning opportunity..... of course, understanding what these circuits DO is not a bad one either...

-j
User avatar
mediatechnology
Posts: 5442
Joined: Sat Aug 11, 2007 2:34 pm
Location: Oak Cliff, Texas
Contact:

Re: Level Detectors, Absolute Value, Peak and RMS

Post by mediatechnology »

But it seems like I'm going to miss a learning opportunity..... of course, understanding what these circuits DO is not a bad one either...
Just build all of them and figure out which is best. You'll learn a lot from it.

Symetrix used the Buff log detector though there does seem to be a bias resistor missing.

Image
Symetrix 425 Level Detector
Post Reply