Log amp cascaded to anti-log amp

  • Thread starter mercmalta
  • Start date
  • Tags
    Amp Log
In summary: When the gain is increased to 10, the inverting buffer clips the output of the exponential amp, causing a non-inverted "sine wave" to be output.
  • #1
mercmalta
3
0
Hey everybody,

I've been trying a bit of an experiment involving cascading an inverting logarithmic amp with an inverting exponential amplifier. Between them I put in an inverting buffer (see attached diagram). Now the thing is, when the inverting buffer has unity gain everything works as expected, and the output is basically an inverted copy of the input.

But when I tried giving gain of 5 to the inverting buffer the circuit started acting all wierd. Theoretically what should happen is that the input to the exponential amplifier is high enough to force its output into saturation (in this case assuming a sine wave input). But what's happening when simulating and when i built it in practice is that a non-inverted "sine wave" (i attached a screenshot) is obtained. I have no idea how this is happening, can someone please help? Thanks in advance.

Here are the equations used:

Logarithmic Amp:
V_o = -(1/40)*(ln(V_i/(I_s*R_i)))
Exponential Amp:
V_o = -R_f*I_s*e^(40V_D)
where 1/nV_T is approximately equal to 40.
 

Attachments

  • asd.JPG
    asd.JPG
    48.4 KB · Views: 744
  • asdasd.JPG
    asdasd.JPG
    52.4 KB · Views: 495
Engineering news on Phys.org
  • #2
Log amps and anti-log amps are unipolar. The sine wave has to be on a dc offset bigger than the amplitude of the sine wave. Also, in the early days, Analog Devices made some log amps (for analog multipliers), and the best "diode" they could find was a trans-diode-connected transistor. See

http://www.analog.com/library/analogDialogue/bestof/pdf/19_1.pdf

Bob S
 
  • #3
I forgot to mention that the input wave was a sine wive with 100mV peak to peak and it was given a DC offset of 150mV (for the reason you mentioned above). What I can't understand is how come when a gain of 5 is given in the inverting amp the output is not inverted. Thks
 
  • #4
In this circuit it is most likely that either the second opamp will be in current limit or the final opamp in negative saturation. Depending on how realistically the parts are simulated this my or may not accurately represent the behavior of the real circuit. (as not all sim packages will accurately portray the behavior of parts outside of their most typical operational ranges)
 
  • #5
I actually built the circuit and the waveform was very similair to the one viewed in the sim. I'm attaching a picture with this reply.
 

Attachments

  • IMG_0259.jpg
    IMG_0259.jpg
    29.7 KB · Views: 617
  • #6
Hi mercmalta. Could you make sure your scope is DC coupled and indicate all DC levels. It's not possible to really diagnose the circuit without knowledge of all DC levels (and the power supply voltages).
 
  • #7
Let me add that I have a good theory of what's happening but I can't prove it unless I know the DC levels. I'm almost certain that the last OPAMP (U2) has it's output at negative saturation, it's inverting input no longer a "virtual earth". So current from D2 being coupled directly through R2 to the output, bypassing the opamp, and giving a non-inverting path.

I don't necessarily expect you to understand that, but I do hope you understand that opamps don't work as ideally expected under all circumstances. They require their DC inputs and output voltage and output currents to be within certain ranges, otherwise all bets are off. In your circuit, all bets are off.

BTW. Your simulation software is impressive in it's ability to give good results for the opamp outside of it's usual operating conditions.
 
  • #8
mercmalta said:
...But when I tried giving gain of 5 to the inverting buffer the circuit started acting all wierd. ...
If you increase the gain of the inverter (middle opamp) by factor 5, it is equivalent to raising the input voltage V to the 5th power, e.g., V5. I suggest that all four resistors in your circuit be 100k. If you want to double the output voltage, try increasing the feedback resistor R2 on the last opamp, or halving the input resistor R1. I believe using the largest acceptable value of the input resistor R1 (and output resistor R2) will give the best log response.

Bob S
 

FAQ: Log amp cascaded to anti-log amp

What is a log amp cascaded to an anti-log amp?

A log amp cascaded to an anti-log amp is a type of electronic circuit that converts a logarithmic input signal into an anti-logarithmic output signal. This process is commonly used in scientific instruments and other applications that require precise measurement and conversion of logarithmic data.

How does a log amp cascaded to an anti-log amp work?

In a log amp cascaded to an anti-log amp, the logarithmic input signal is first amplified by a log amplifier, which uses logarithmic feedback to produce an output that is proportional to the logarithm of the input. This amplified signal is then fed into an anti-log amplifier, which uses anti-logarithmic feedback to convert the signal back to its original linear form.

What are the advantages of using a log amp cascaded to an anti-log amp?

One advantage of using a log amp cascaded to an anti-log amp is that it allows for a wide range of input signals to be accurately converted into a linear output. This is particularly useful in applications where the input signal may vary greatly in magnitude. Additionally, the use of logarithmic and anti-logarithmic feedback in these circuits helps to reduce non-linearities and improve the overall accuracy of the conversion.

What are some common uses of a log amp cascaded to an anti-log amp?

Log amp cascaded to anti-log amp circuits are commonly used in scientific instruments for measuring and converting signals that follow a logarithmic relationship, such as pH levels, sound intensity, and radiation levels. They are also used in audio equipment for amplifying and processing logarithmic audio signals.

Are there any limitations to using a log amp cascaded to an anti-log amp?

One limitation of using a log amp cascaded to an anti-log amp is that it requires careful calibration and adjustment to ensure accurate conversion of the input signal. Additionally, these circuits may introduce some noise and distortion to the output signal, which can affect the overall accuracy of the measurement. However, these limitations can be minimized with proper design and implementation of the circuit.

Back
Top