? with the gain , upper bandwidth . . .'ve built essentially the exact circuit you have
Thanks for the app note. I've had a quick scan and it seems to be mostly about much higher frequency than I'm trying to achieve. i.e. I searched for "kHz" and didn't find anything down in the audio range. I will read it more carefully when I have time. I understand that if I wanted to make e.g. a video amplifier with a b/w of MHz rather than 10s of kHz that the game would be different. If there's something in there that struck you as being directly related to the problem I'm having can you point me at the figure or page reference?? with the gain , upper bandwidth . . .
___________________
(digging my pdf-s' db . . .)
https://www.analog.com/media/en/technical-documentation/application-notes/an47fa.pdf
http://www.ti.com/lit/an/snoa818/snoa818.pdf
..
@Dave Lowther@Dave Lowther
A comment on your layout as shown in post#33:
Examine the connections of C5. One end connects via a nice short trace to IC1:8. The other end travels 3" (my estimate) before reaching the neg terminal of C2, the desired grounding point. Likewise, examine connections of C8. One end connects via a nice short trace to IC1:4. The other end travels perhaps 6-8" before reaching the desired grounding point at the neg terminal of C2. With such long paths to ground, C5 and C8 will have very little effect as bypasses; the inductance of the long paths will nullify any gain of having the bypass caps. When planning a layout, plan the must-be-short paths first, then let less critical paths work their way around as necessary.
Hi Curt,The fur on your sinusoid in Fig. 25 doesn't look periodic to me, and I wonder why you characterize it as an oscillation?
I gather that you're using a PC-connected scope, right? For what it's worth, I have a few USB-connected scopes and have noticed that they all inject some very low-level noise noise into my circuits as I probe them. That noise, multiplied by 100, might explain the fur you're seeing on your signal, even if you are being careful about grounds.
@Dave Lowther
The goal of bypassing is to provide a low impedance from the power supply terminal(s) to ground for whatever frequencies the device you are bypassing is able to respond to, externally or internally. The frequencies you may be interested in are not relevant. Any lead/trace length adds inductance that increases impedance and can create resonances with stray and deliberate capacitances.
Thanks for those comments. I'll take a look tomorrow. I've got to do other stuff now. My rule of thumb for decoupling is 100nF monobloc per chip and 100nF monobloc + 47uf tantalum near the power input to the board. That rule was taught to me when I wasn't paying for the components myself. It was back in the 70s when I was designing with 74xx TTL clocked at a few MHz. I'm not sure of the pedigree of the 100nF caps I'm using now. They are from eBay, they measure 100nF ok on my C range of my multimeter but I've not checked frequency response and ESR etc.Hello,
This thread will also tell you more about the decoupling capacitors:
Decoupling or Bypass Capacitors, Why?
Bertus
@Dave LowtherThanks for those comments. I'll take a look tomorrow. I've got to do other stuff now. My rule of thumb for decoupling is 100nF monobloc per chip and 100nF monobloc + 47uf tantalum near the power input to the board. That rule was taught to me when I wasn't paying for the components myself. It was back in the 70s when I was designing with 74xx TTL clocked at a few MHz. I'm not sure of the pedigree of the 100nF caps I'm using now. They are from eBay, they measure 100nF ok on my C range of my multimeter but I've not checked frequency response and ESR etc.
Best regards
Dave
Thanks for providing details of the clamping scheme. The circuit is ultimately intended to be an oscilloscope like front end for the sound card. I intend to make the gain switchable by switching in a range of higher values for R4. It will have switchable gains of 100, 50, 20, 10, 5 and 2. The reason I am currently using a gain of 100 is that it is worst case for THD, noise, and stability. The intended use is explained in the PDF I attached to my opening comment.@Dave Lowther
since the gain is set at ~100, the input required to reach ±15 is ±0.15V. Thus, the input can be clamped to a low voltage, e.g. ±0.7V
@Dave LowtherThanks for providing details of the clamping scheme. The circuit is ultimately intended to be an oscilloscope like front end for the sound card. I intend to make the gain switchable by switching in a range of higher values for R4. It will have switchable gains of 100, 50, 20, 10, 5 and 2. The reason I am currently using a gain of 100 is that it is worst case for THD, noise, and stability. The intended use is explained in the PDF I attached to my opening comment.
This is one I built a while ago.
View attachment 184792
It doesn't have a high impedance input. It also had some stability problems IIRC. I gave up on it and decided to investigate just the simple unswitched case first. I may re-use the case and switches (but it too was only an experiment). I really want one of these for each of the two input channels and something similar for the two output channels so I can use it as a signal generator.
Best regards
Dave
@Dave LowtherAs previously discussed in this thread: I've had a look at the power supply noise and changed the decoupling.
I've specifically taken action based on these comments:
· 28 Curt Carpenter: “I'd check your power supply for noise in the 7-10KHz range”
· 37 to3metalcan: “makes me think it's your regulators <snip> so I suspect you're going to see that oscillation on your power supply rails”.
· 2 Audioguru: “Maybe because your + and - power supply connections on the perf board are not decoupled to ground?”
· 27 TeeKay6: “I see caps (C4 & C5) connected across the 30V (+/-15V) power, but I do not find the necessary bypass caps”
The short version of the story is that I measured about 100 mV of noise on the power supply pins of the op amp. After changing the decouping this has now dropped to less than 10mV. It's not fixed the oscillation.
The attached PDF (LogBook-Vol06-NoninvOscillationV2.pdf) contains more details. See sections 4.* for scope traces before and after the mod, plus changes to the circuit diagram and layout. The references to figures, sections, etc and the items in the contents list should be clickable links in your pdf viewer (they work for me in Acrobat DC).
I haven't tried putting a resistor in series with the op amp output yet. I'll try that later this week and any other simple changes I can make. I'm in two minds now about whether to spend time on layout changes on the perf board or whether to get a PCB made. I'll keep you all posted.
Thanks again to everyone that has commented in this thread. I really do appreciate it. I'm a bit isolated being retired and living in a small town in Somerset UK. I know nobody that I can talk to face to face about this kind of stuff.
[Edits to do: Comment 28 should be comment 23. Clicking on it goes to comment 23. There's a reference to section 0 in the PDF which should be a reference to 4.2]
Best regards
Dave
I added one item at end of Things to Try list.Thanks for the suggested plan of action TeeKay6. I'm off to bed now. Tomorrow I've got other stuff to do. Hopefully I'll find some time on Wed to do some more on it.
Agreed. As you may have noticed in the attachment, under figure 28, I tried halving / doubling C1 and C2 and this didn't affect the oscillation. I've also seen the oscillation frequency affected by connecting a short (~1ft) BNC cable to the input with nothing connected at the other end of the cable. IIRC it went up to about 20 kHz.@Dave Lowther
What we need to find is some change (for testing) that affects (freq or amplitude) that oscillation.
That's not quite correct. Connecting my oscillator to the input prevents it from oscillating. Table 2 in the attachment shows values of R3 (JP2 not shorted) that work without the oscillation when JP1 is connected to my oscillator.Thus far, I believe that only shorting JP1 (with JP2 shorted) eliminates the oscillation. Correct?
Fig26 shows pin 2.Do you have a scope trace of pin2 during oscillation (such as Fig27 for pin3)?
I don't know. I'll get one later this week.Same for the ungrounded end of C2?
I partly answered this above. The effect of removing JP2 when my oscillator is connected to the input is that THD goes up from 9ppm to 27ppm (Table 2 in the attachment). I've not tried removing JP2 when JP1 is open.Since the ckt oscillates anyway, what is the effect of removing JP2 (i.e. inserting R3)? With JP1 open? With JP1 shorted?
I don't know at the moment. I'll find out and report back later this week.With JP2 again shorted, place a small capacitance (e.g. try about 100pF, 1000pF) across the JP1 input (i.e. from pin1 to pin2). Effect?
. The board is normally bolted to (and grounded to) the lid of the die cast box (Fig15 and Fig16). Note that I'm not using the board shown in Fig16 (although it behaves the same). I'm using the board shown in Fig23 and Fig24 plus the recent decoupling changes. The stand off height is 2 m2 nuts, about 3.5mm + a thin sheet of plastic and a washer. Maybe 5mm in total. I could try running the board not bolted to the lid to see if that causes a change. I'll do that later this week.Insulate the flattest surface of your wired breadboard with heavy paper or cardboard and then place that surface against any grounded (to ckt ground) metal surface (alum foil? any metal). Effect?
I'll try those things later this week.Place a 10K resistor in parallel with R5. Effect?
If possible, disconnect wire at pin1 that runs to JP4. View output at pin1. Is signal different than with JP4 connected? (with antenna wire disconnected)
@Dave Lowther@TeeKay6, I'll answer the questions I already know the answers to now.
Agreed. As you may have noticed in the attachment, under figure 28, I tried halving / doubling C1 and C2 and this didn't affect the oscillation. I've also seen the oscillation frequency affected by connecting a short (~1ft) BNC cable to the input with nothing connected at the other end of the cable. IIRC it went up to about 20 kHz.
That's not quite correct. Connecting my oscillator to the input prevents it from oscillating. Table 2 in the attachment shows values of R3 (JP2 not shorted) that work without the oscillation when JP1 is connected to my oscillator.
Fig26 shows pin 2.
I don't know. I'll get one later this week.
I partly answered this above. The effect of removing JP2 when my oscillator is connected to the input is that THD goes up from 9ppm to 27ppm (Table 2 in the attachment). I've not tried removing JP2 when JP1 is open.
I don't know at the moment. I'll find out and report back later this week.
. The board is normally bolted to (and grounded to) the lid of the die cast box (Fig15 and Fig16). Note that I'm not using the board shown in Fig16 (although it behaves the same). I'm using the board shown in Fig23 and Fig24 plus the recent decoupling changes. The stand off height is 2 m2 nuts, about 3.5mm + a thin sheet of plastic and a washer. Maybe 5mm in total. I could try running the board not bolted to the lid to see if that causes a change. I'll do that later this week.
I'll try those things later this week.
Best regards
Dave
I'm not going to have time to do item 6 (extreme cure) today. I'll do that tomorrow. I've done 3 (trace of C2) and 5 (remove board from grounded lid). Traces are in the attchment LogBook-Vol06-NoninvOscillationV3.pdf fig40 and fig41. The ground plane removal made no difference. There's some photos fig42, and a bit more info in the attachment.@TeeKay6,
I'll try the things you suggested. Hopefully I'll have time tomorrow.