Head-Fi.org › Forums › Misc.-Category Forums › DIY (Do-It-Yourself) Discussions › Phase shift in the feedback stage of an amplifier
New Posts  All Forums:Forum Nav:

Phase shift in the feedback stage of an amplifier

post #1 of 8
Thread Starter 
I've been playing with two toy's recently. The first is a digital PLL and the second is a high bandwidth ADC. In my travels, I came across this electronic design article, and I got to thinking about the phase shift introduced by the feedback of an amplifier.

With the DPLL I'm playing with, there's series of buffers and programmable muxes creating the phase shift between the output and the feedback. Even with a very short buffer path (i.e. as little phase shift as possible) the phase shift is substantial, at least in the simulations I'm running.

The input/buffer stage of an ADC is comparable to the gain stage of an amplifier in my opinion, however usually gain isn't added in a buffer. It's easier to deal with resolution issues in the ADC instead of the buffer. That aside, I was trying to get my ADC to operate in a highly linear fashion without using class A amplification.

With that in mind, reading the article, I suspect the characteristic equation the author developed for the system is naive (or is DC-only). There's no guarantee the transfer characteristics of each opamp are close enough that the phase shift between them in the case presented is correctly removed by the opamp action. That's to say, I suspect Verror1 is not really equal to Verror2. On an aside, I don't necessarily like the author ignoring that Verror1 and Verror2 are going to be dependent on the frequency of the input.

For my purposes, I'm just going to build his circuit for my buffer stage except replace the two opamp IC's with a 2-opamp IC. Per IC, I suspect that the assorted biases and subsequently the phase-shift is very nearly matched.

But then I got to thinking: more generally, maybe buffering the negative feedback after any voltage division/filtering and ensuring that the buffer was adequately matched to the gain circuitry would be useful in the gain stage of an amplifier (as above with a dual opamp or spending the time to match discrete components). I'd think it would correctly set the feedback voltage to remove any distortion caused by phase.

I don't know much about the intricacies of amplifier design, nor do I know if running the gain stage in class A removes these issues. Nor do I know whether or not I'm imagining these issues or finding problems where no problems exist.

I just thought I'd share. Let me know if I'm wrong; most of the folks I work with don't have an opinion on this and I'd really like to hear what other people think.
post #2 of 8
Phase shifts in an amplifier is not normally a result of feedback, but is mostly caused by capacitance in various parts of the circuit, mostly from transistor (or FET, or tube) junctions. In real life circuits, wires or PCB traces also introduce inductance. further complicating the problem. But unless the circuit layout is really bad, the junction capacitances usually dominate.

By themselves, these phase shifts are not terribly interesting unless they intrude into the audio band. Same goes for the LPF effect that they cause. However, when you apply a feedback loop around a multi-stage amplifier comprised of many devices (which is implied in an IC opamp), the phase shifts accumulate, and at some high ultrasonic frequency, instead of negative feedback, you'd have what amounts to positive feedback, which will then cause instability or even outright oscillation. This problem is more pronounced as the closed loop gain is reduced because the bandwidth is increased along the amp's GBP (gain-bandwidth product) curve. The higher the bandwidth, the higher the chance that phase shifts might rear its ugly head and cause instability.

The classic technique in compating this problem is with compensation capacitor(s), strategically placed and at carefully-tuned values to alter the phase shift characteristics in order to counteract the potential for instability/oscillation.

Class A operation does not alter or correct for any phase shifts that is inherent in a circuit.
post #3 of 8
Thread Starter 
Thanks Ti! Very informative reply.

I think I read the article and after spending too much time with my PLL immediately equated Verror to phase shift. I also hadn't thought much about amplifier design.

I can only assume that there are other sources of voltage error in an opamp. Running at audio frequencies, are they even remotely relevant? Poking around the internet, it seems like opamps have an intrinsic noise that does not depend on their frequency. However, correcting noise by adding another opamp seems like it could be an incorrect assumption on my part.
post #4 of 8
I have not experimented with the circuit in the article, but my intuition says that the added opamp in the feedback loop would cause more problem than it solves.

That topology works well at DC or very low frequencies (with the proper integration filter it would look like many DC servo implementations), but at audio and ultrasonic frequencies it would cause more phase shift. I also don't think that it would effectively cancel distortions because the feedback opamp isn't really operating under identical conditions as the main opamp, and intrinsic amplifier noise is random by nature and couldn't be canceled in such a fashion.
post #5 of 8
Some opamps like LM6171 and LT1363 use a diamond buffer in the feedback loop that "convert" them from current to voltage feedback.
post #6 of 8
Nevermind.
post #7 of 8
That circuit doesn't even simulate well. I doubt it would perform better IRL.
post #8 of 8
Thread Starter 
Lovely. I won't even be using that circuit for my ADC then.
New Posts  All Forums:Forum Nav:
  Return Home
Head-Fi.org › Forums › Misc.-Category Forums › DIY (Do-It-Yourself) Discussions › Phase shift in the feedback stage of an amplifier