1

I would like to obtain an absolute value of input signal with TL072 or MC4558 op amps (or other amp) with single supply.

When I connect the circuit upper one follows the signal and adds noise and lower one has constant value on output. Input signal is <-9,+9> V, up to 20 kHz (guitar).

I use R = 10 kΩ, C = 1 nF.

What do I miss? Should I use another op amp? Or did I omit something from documentation? Maybe there are better circuits?

Edit: Should I put input signal through transistor to get high resistance?

I will be grateful for any help or information.

analog.com fig.2.

fig. 1 abs(x)

ti.com fig 5

fig. 2 abs(x)

Transistor
  • 168,990
  • 12
  • 186
  • 385
Jomonger
  • 101
  • 1
  • 7
  • 1
    Your 1st circuit is only likely to work with that particular IC or one of its very close cousins. Your 2nd circuit will not work with a single supply - but should work with a split Vcc/2 if you bias your input signal to that value and connect A1's non-inverting input there too. – brhans Aug 22 '21 at 21:46
  • Thanks very much. Now it works but I think that diode is too slow. But now I can test different circuits. – Jomonger Aug 29 '21 at 23:13

1 Answers1

2

The TL072 (note capitals in part numbers) doesn't get anywhere near the negative rail. The devices chosen in your schematic might but I'm not familiar with them. For this to work on a single-rail supply you would need an opamp that doesn't latch up when the input signal goes below the negative supply.

For guitar you can create a VCC/2 to use as an artificial ground for your 9 V supply. This is the common approach used by the majority of guitar effects pedals. DC bias is blocked on the input and output using capacitors.

Transistor
  • 168,990
  • 12
  • 186
  • 385
  • So I need to pull up signal by Vcc/2 as well? Thx for reply. – Jomonger Aug 22 '21 at 21:38
  • 1
    See if my answer to https://electronics.stackexchange.com/a/432704/73158 helps. It has a circuit. Thanks for accepting my answer but I recommend that you unaccept until the Earth has turned at least once to give the whole of humanity a chance to answer your question. You'll get other insights which may help you further. Then pick the best one. – Transistor Aug 22 '21 at 21:41
  • Works very well on MC4558. Thanks. – Jomonger Aug 29 '21 at 23:14