Logarithmic Amplifier Design

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Hello people! :wave:

I already posted a question similar to this back in January, however now I have more understanding on the subject I think my question might be a bit clearer!

I'm currently designing a sidechain to feed a VCA which will act as a compressor for an audio input.

The problem I have is that the sidechain signal is linear, and the VCA attenuates at 33mV/dB which is obviously logarithmic. I've done all of the maths and graphs in MS Excel and calculated that I need a logarithmic amplifier that does the following function:

Vout = ln(Vin)*0.393

Where Vin = the linear input signal, and 0.393 is the gain required to make 33mV per step. (I do also realise that I could simply use a log amp followed by a standard amp of gain 0.393 if that is simpler!)

I've done plenty of research on logarithmic amplifiers, and although there is an abundance of information on the theory behind them, there is no information on how to implement this theory and design one.

To sum up, my question is: how do I design an amplifier that has a logarithmic output and if possible, a gain of 0.393?

Thanks in advance!
 
Please explain what a mV/db is.

Sorry this isn't a unit - it's 33mV per dB. I.e when 33mV is applied to the control pin on the VCA, the audio input is attenuated by 1dB.

You could search for Dave Blackmer's DBX patents. They (IIIRC) had pretty clear disclosure of all the circuit blocks for this family of VCA's.

Thanks, I'll look into that
 
Administrator
Joined 2007
Paid Member
Many moons ago I came up with this as an alternative to a special function IC.

This used the CA3046 matched transistor array.
The function I needed was V1 divided by 1/V2 for Cyril Batemans "Tan Theta meter" but the log amps may be of interest.

It was all a long time ago.
 

Attachments

  • img026.jpg
    img026.jpg
    563.9 KB · Views: 291
Are you designing your own chip?

see log detectors here and some problems with discrete designs.


"The AD640 uses five cascaded limiting amplifiers to approximate
a logarithmic response to an input signal of wide dynamic
range and wide bandwidth. This type of logarithmic amplifier
has traditionally been assembled from several small scale ICs
and numerous external components. The performance of these
semidiscrete circuits is often unsatisfactory. In particular, the​
logarithmic slope and intercept"

more reading here
 
No, it's not a requirement that I build the log converter - I can use an IC. I was struggling to find one within budget, however the log104 suggested by peranders should do the trick. The links provided by infinia were also a very interesting read.

Thanks a lot for the input, it's much appreciated. Now I need to hunt down a stockist which has log104's!
 
AX tech editor
Joined 2002
Paid Member
No, it's not a requirement that I build the log converter - I can use an IC. I was struggling to find one within budget, however the log104 suggested by peranders should do the trick. The links provided by infinia were also a very interesting read.

Thanks a lot for the input, it's much appreciated. Now I need to hunt down a stockist which has log104's!

THAT Corp. has exactly what you need, for audio applications. VCA, log amp etc. Check them out.

For example:

http://www.thatcorp.com/2252_RMS-Level_Detector_IC.html
http://www.thatcorp.com/Blackmer_IC_Voltage-Controlled_Amplifiers.html
http://www.thatcorp.com/Analog_Engine_Dynamics_Processor_ICs.html

jd
 
Last edited:
THAT Corp. has exactly what you need, for audio applications. VCA, log amp etc. Check them out.

For example:

THAT Corporation 2252 RMS Level Detector IC
THAT Corporation Blackmer IC Voltage-Controlled Amplifiers
THAT Analog Engine Dynamics Processors

jd

Sorry, I forgot to mention at the start that this is actually a university project! As such I need to build as much of the circuit as possible from scratch. I've already got the DC rectification, ratio, threshold, attack and release breadboarded and tested. The missing piece was the log converter.

I was already aware of the THAT chips thanks to this, which has helped in understanding the concept of the log conversion. Still, thanks a lot for taking the time to reply!
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.