Author Topic: Clarification with biasing single supply op amps and what ground to use  (Read 3668 times)

0 Members and 1 Guest are viewing this topic.

Offline ramonmarukoTopic starter

  • Contributor
  • Posts: 13
  • Country: ph
Hello,

I am trying to create a simple unity gain buffer for a guitar pedal. I've
attached the schematic for this oneSimpleBuffer.png.

Since the op amp's non-inverting input has been biased with Vcc/2 (will
be called Vgnd hereafter), should I set the circuit's output jack's
ground to Vgnd so that the guitar amplifier or next guitar pedal in line
would correctly see a non strummed guitar signal as 0V (with reference to this circuit's signal out)?

I am confused since some popular guitar buffer circuits (buffer1.gif
and sab-buffer1.pdf) that I've seen in the Internet has the output
jack's ground connected to GND. Wouldn't that set a quiescent voltage of
Vcc/2?
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2117
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Input and output grounds should be the same as circuit/opamp ground.

The capacitors at the input and output of the circuit block DC.
https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 
The following users thanked this post: ramonmaruko

Offline ramonmarukoTopic starter

  • Contributor
  • Posts: 13
  • Country: ph
I've tried simulating the circuit using LTspice with 0V Vin, and Vout is constantly outputting almost Vcc/2.
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2117
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Please post the output of the simulation, and ensure you are reading after the output capacitor.
https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 

Offline ramonmarukoTopic starter

  • Contributor
  • Posts: 13
  • Country: ph
Thank you for the replies.  I've attached a screenshot of the circuit + graph. Node n001 is the node connecting C2, R4, and R5.

I ran the simulation using the trans analysis with Vin set to 0. The ac analysis line has been commented out.
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3240
  • Country: gb
10uF and 2 Megohms gives a time constant of 20 seconds, your simulation is over in 100ms.  2 Megohms is way too high for this, both as an output load and for the biasing.
 
The following users thanked this post: ramonmaruko

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Quote
I've tried simulating the circuit using LTspice with 0V Vin, and Vout is constantly outputting almost Vcc/2.

The input is AC coupled, so any value of DC as source on input, ignoring cap leakage,
will result in output just reflecting the bias value.


Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Given the capacitive coupling on input and output, your output jack ground should be the same as your input jack ground and ignore the fact that the op amp is operating above ground.

That's what the capacitors are for, removing the DC offset.
 
The following users thanked this post: ramonmaruko

Offline ramonmarukoTopic starter

  • Contributor
  • Posts: 13
  • Country: ph
After increasing the simulation time, I was able to see Vout stabilize
to 0v. The reason I wanted for the high values for R1 and R2, was because I
wanted the circuit to have the same input impedance of my guitar amp (1M ohms).

I didn't really know what I was doing with R3 and C3. I just followed the
values found in the attached file (buffer1.gif) on my first post.
How do I choose the "best" values for R3 and C3? I know that I just need it to
have a cutoff frequency set so that audible frequencies could pass through. But
there is a very large possible combinations of R3 and C3 to achieve this. How
would I know what combination to use for a given use case?
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
You have a HPF  with C3 R7, use this as a calculator -


http://www.2pif.com/high-low-pass-filter.php


However R1, R2, R3, R4 affect the filter, essentially degenerating the effective value of C3.
So do an ac spice analysis to get exact filter response.

Also if C3 is an electrolytic they have very poor tolerance, so account for that accordingly
in cap selection.


Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3240
  • Country: gb
After increasing the simulation time, I was able to see Vout stabilize
to 0v. The reason I wanted for the high values for R1 and R2, was because I
wanted the circuit to have the same input impedance of my guitar amp (1M ohms).

You don't need to match impedances in this case, you aren't dealing with a transmission line.  A low output impedance is beneficial in terms of reducing noise pickup in the interconnects, and won't be the input capacitance of your amplifier or stray cable capacitances etc.
 
The following users thanked this post: ramonmaruko

Offline BrianHG

  • Super Contributor
  • ***
  • Posts: 7733
  • Country: ca
If you are going to use a bass guitar, increase the value of c1, especially you shrink the 2meg input load.  10uf on the output isn't too bad for frequencies down below 40hz and above 20hz so long as you shrink the output R3 2meg resistor to something normal like 100k.  Don't worry about the drive, that's the purpose of the op-amp, to drive the 100k without signal loss & to drive the cable and next external device stage even if it is something like a 50k, or 10k load.

« Last Edit: May 27, 2017, 10:52:28 pm by BrianHG »
 
The following users thanked this post: ramonmaruko

Offline ramonmarukoTopic starter

  • Contributor
  • Posts: 13
  • Country: ph
Thank you for the great replies everyone. Now I am starting to wonder why most of the distortion circuits I've look have such a high output resistors.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19520
  • Country: gb
  • 0999
Hello,

I am trying to create a simple unity gain buffer for a guitar pedal. I've
attached the schematic for this oneSimpleBuffer.png.

Since the op amp's non-inverting input has been biased with Vcc/2 (will
be called Vgnd hereafter), should I set the circuit's output jack's
ground to Vgnd so that the guitar amplifier or next guitar pedal in line
would correctly see a non strummed guitar signal as 0V (with reference to this circuit's signal out)?

I am confused since some popular guitar buffer circuits (buffer1.gif
and sab-buffer1.pdf) that I've seen in the Internet has the output
jack's ground connected to GND. Wouldn't that set a quiescent voltage of
Vcc/2?
You told LTSpice to start up with all voltages at zero, so you had to wait for all the capacitors to charge. If you remove the 'startup' statement from the simulation command, it simulates perfectly, without having to wait for the capacitors to charge because LTSpice works out the initial operating conditions, i.e. the DC voltages and currents on capacitors and inductors respectively, before starting the simulation.

« Last Edit: May 30, 2017, 06:12:21 pm by Hero999 »
 
The following users thanked this post: ramonmaruko


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf