DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: Sacorus on June 25, 2020, 04:17:52 AM

Title: Am I missing a secret - any circuit with an Opamp fails
Post by: Sacorus on June 25, 2020, 04:17:52 AM
I searched before I posted this new topic - hoping I could find an answer...

Pedals I build with Transistors work fine - be it either designed from building blocks or the occasional clone

Pedals with an Opamp in them - zero success

I use Eagle for schematics and layouts

I have tried on breadboard (just tried the Intro IC based OD before I posted this)

And build on Perf and strip board (and occasionally a bought PCB)

I have multiple choices for ICs - 741 4558 TL072etc

I have a good multimeter (Fluke) a good solder station and plenty of parts

I have had pedals with CMOS chips work and also successful builds with PT2399

Is there something that I am missing???
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: Rob Strand on June 25, 2020, 04:27:34 AM
Probably something simple.

Get a simple opamp buffer circuit working on a breadboard and take it from there.

Maybe there's something wrong with the way you are interpreting pinouts for IC's?

Are you wiring the power pins?    You need to wire those even when the circuit doesn't show them, it's kind of understood (although some circuits can be ambiguous).

If you can't get it to work, measure the voltages on each pin of the IC and post them.  Post a pic of your board.

There's plenty of people on the forum to give you a push.
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: Sacorus on June 25, 2020, 05:01:10 AM
Not just the one board

Anything I try

example on a dual op

V+ on pin 8
GND pin4

Set up a voltage divider for Bias (virtual ground)

all checked and measured with the multimeter
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: Sacorus on June 25, 2020, 05:26:13 AM

(https://i.postimg.cc/gnxdPZZG/01-FCBF16-91-F9-4313-AA77-0815-FE4-B77-C3.jpg) (https://postimg.cc/gnxdPZZG)

(https://i.postimg.cc/Rqs98RqP/7013-A0-A2-8-E6-E-4-BD3-A572-B17-F4-B0-C2837.jpg) (https://postimg.cc/Rqs98RqP)

(https://i.postimg.cc/LYvRmkD8/B9-DA87-CC-9-AD8-4-E27-9-B92-CBD06-D670-F3-B.jpg) (https://postimg.cc/LYvRmkD8)

Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: Sacorus on June 25, 2020, 05:29:06 AM
Passes no sound

I checked the signal path from the opamp side of the input cap - signal is gone at that point
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: GibsonGM on June 25, 2020, 05:35:18 AM
I'd try a simple buffer as suggested, Sacorus.   Many SINGLE opamps like 741, TL071....V+ is pin 7. That's an easy place to make a mistake.

Try measuring right on the chip's pins (but don't short it out!) could be a bad connection at the breadboard fooling you. 

It's easy to screw up pin numbers in the feedback area, too, and have R's etc going back to the wrong input...

HTH!


*****saw your last reply - check for continuity with input pin &  the input cap's leg on the opamp side. Could be breadboard...pressing on the back of them sometimes re-seats the metal clips inside...or else something is grounding out your input signal (?)
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: antonis on June 25, 2020, 06:00:37 AM
Quote from: Sacorus on June 25, 2020, 05:26:13 AM
(https://i.postimg.cc/gnxdPZZG/01-FCBF16-91-F9-4313-AA77-0815-FE4-B77-C3.jpg) (https://postimg.cc/gnxdPZZG)

Something weird happens here..

Does white aligator clip bring input signal on non-inverting input (pin 3)..??
If yes, I can't see any feedback resistor between inverting input (pin 2) and output (pin 1)..
(or I can't trace well the combination of 3 blue body resistors around left side of the green cap..)
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: ElectricDruid on June 25, 2020, 06:43:37 AM
+1 agree with Antonis. I think something is weird in the feedback network.

I'd pull those bits off the breadboard and stick a simple wire loop from pin1 to pin 2 (e.g. turn it into a voltage follower/buffer). Once you've proved that works, you can add the non-inverting gain feedback components back in.

Also start with just the bare essentials for gain - two resistors, or one resistor and a pot. When that's working, you can start adding in extra resistors to adjust the pot range and caps to change the frequency response etc. etc. For starters, keep it simple.
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: Rob Strand on June 25, 2020, 07:13:11 AM
You should check pin 1, the opamp output, is at about 4.5V.
If that isn't true the whole thing will fall in a heap.
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: duck_arse on June 25, 2020, 10:49:16 AM
Quote from: Sacorus on June 25, 2020, 05:01:10 AM
Not just the one board

Anything I try

example on a dual op

V+ on pin 8
GND pin4

Set up a voltage divider for Bias (virtual ground)

all checked and measured with the multimeter

this is not a circuit diagram. please, PLEASE!!! like james brown said, please - draw a circuit diagram, and then show it to us. please?
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: Sacorus on July 06, 2020, 03:52:15 AM

(https://i.postimg.cc/9R2MmrPH/D6014-D1-A-728-F-4-EA8-8578-3-EC66-A6613-F7.jpg) (https://postimg.cc/9R2MmrPH)
Apologies on the delay getting this up

(Had to get some enclosures finished)
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: GibsonGM on July 06, 2020, 05:13:55 AM
Took a quick look...As drawn, the power supply appears short to ground at the 100r resistor...which also is not necessary.  But I'm sure that ground symbol there isn't real, correct?  If this is for simulation, it will cause an error.

I would change R4 to 1M.  As it stands, the gain ratio is not working in your favor.   You might take a look at this for a better understanding, in the part about voltage gain:
https://www.electrosmash.com/mxr-distortion-plus-analysis (https://www.electrosmash.com/mxr-distortion-plus-analysis)

R9, 470r...seems too low.     HTH!
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: ElectricDruid on July 06, 2020, 05:23:13 AM
Gibson, I think that 'ground symbol' thing is a +9V port - it's labelled.

If you're going to use the 100R resistor, you need a decent size electro cap across the power rails, fro your +9V to ground. Then you'll have a proper lowpass filter to reduce noise and/or hum on the supply. Otherwise, get rid of the 100R because it doesn't do anything on its own.

The rest of the circuit looks fine, but there's a lot of bits I wouldn't put in initially. I already mentioned the feedback network. I'd build it minimally first, get that working, and then add the other bits. If it *stops* working, then you know it's something you've just done and you can take a step back. If you go straight in, you know there's a problem, but it could be *anywhere*.
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: ElectricDruid on July 06, 2020, 05:28:41 AM
I suggest you start with this:

(https://i.postimg.cc/t7f1z64b/D6014-D1-A-728-F-4-EA8-8578-3-EC66-A6613-F7.jpg) (https://postimg.cc/t7f1z64b)
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: antonis on July 06, 2020, 05:46:34 AM
Quote from: ElectricDruid on July 06, 2020, 05:28:41 AM
I suggest you start with this:
(https://i.postimg.cc/t7f1z64b/D6014-D1-A-728-F-4-EA8-8578-3-EC66-A6613-F7.jpg) (https://postimg.cc/t7f1z64b)

Just green line short is enough..
(no reason to delete that magnificent broken elbow wiper of GAIN pot..)

@Sacorus: GAIN pot C stands for reverse-log taper mark and should come after its value..
(or else, it could be easily confused with capacitors numbering..) :icon_wink:
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: deadastronaut on July 06, 2020, 06:00:35 AM
do you have continuity across your + and - rails...?

most breadboards have a split in the rails.....and need jumpers to connect them.


also add jumpers to the top and bottom rails. +/-

Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: bluebunny on July 06, 2020, 09:18:15 AM
I assuming that the floaty unused half of the 4558 isn't actually left unconnected.  (Connect - to OUT and VREF to +.)
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: Sacorus on July 22, 2020, 04:32:03 AM
I appreciate the help -
i will try without the additional parts

and I normally use a 100u Electro across past the 100ohm on the supply

And breadboard rails where joined - I also checked with my multimeter
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: antonis on July 22, 2020, 06:21:13 AM
Quote from: Sacorus on July 22, 2020, 04:32:03 AM
i will try without the additional parts

As you like..

But Electric Druid suggestion for shorting Out and inverting pins release you form checking individual items & combinations..
(it converts op-amp configuration into a unity gain buffer so you don't have to deal with NFB/Gain loops for the moment..)
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: Rob Strand on July 27, 2020, 04:34:21 PM
Checking all the DC voltages on the opamp pins would be a big help.

Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: DiscoVlad on July 28, 2020, 05:09:11 PM
Quote from: bluebunny on July 06, 2020, 09:18:15 AM
I assuming that the floaty unused half of the 4558 isn't actually left unconnected.  (Connect - to OUT and VREF to +.)
(https://i.postimg.cc/347XJcmf/D6014-D1-A-728-F-4-EA8-8578-3-EC66-A6613-F7.jpg) (https://postimg.cc/347XJcmf)

Basically this, you need to terminate unused inputs or strange/bad things can happen.
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: antonis on July 28, 2020, 05:49:59 PM
There is no need for 1M resistor grounding unused non-inverting op-amp input..
It can wired directly to Vref or GND (whichever comes closer..)
Title: Re: Am I missing a secret - any circuit with an Opamp fails
Post by: DiscoVlad on July 29, 2020, 12:51:34 AM
Agreed, the 1M is optional.

However, ground on this circuit is a supply rail and opamp inputs tied to either side of the supply is bad - it can lead to latchup/excessive current draw/noise/damage to the chip/etc.