环路分析 —— 以跨阻放大器为例

EleCannonic

Copyright Notice:

This article is licensed under CC BY-NC-SA 4.0.

Licensing Info:

Commercial use of this content is strictly prohibited. For more details on licensing policy, please visit the About page.

1. Unstability in Amplifiers

In analog electronic classes we’ve learned some amplifier systems like inverse proportionality converter, analog integrator, etc. The teacher must have mentioned about “feedback” and tell you that feedback in amplification systems is to restrict the differential signals in the linear region. However, when you build an amplification system in reality, especially for high frequency cases, you may encounter a very annoying phenomenon: oscillation. In an oscillting amplifier system, even if you do not apply any signals on the input terminal, the oscilloscope can detect signals at the output terminal, with unignorable amplitude. Typically, the output is a sinusoidal. This phenomenon is called “self-oscillation.”

You can see it in TINA TI simulator.

An amplifier system oscillates with only 2.5mV pulse initial excitation

This phenomenon suggests that there must be more non-ideal effects should be taken into consideration. In practice, we should analyze the transfer function and modify it with extra components.

2. Oscillation Conditions

We know that an op-amp has large open-loop gain. So feedback is introduced to config the desired gain. Typically, an op-amp system can be decomposed into two parts: Gain net and feedback net.

Feedback diagram

Now let’s make the signal path clear: A signal with only one freuqency component is applied on the input terminal. Then, it goes through the amplifier first and is amplified times, becoming

Then it goes into the feedback network, scaled times and finally goes back to the input terminal of the amplifier. Evidently, after the signal completes one circle in the loop, the original signal becomes

This signal will be subtracted from the new input and re-enter the loop, repeating the entire process. Now we suppose the original input is an ideal pulse, which means when the signal completes one circle, the new input is 0. Generally the new input is

If , the signal recovers to the original state and starts a new cycle. Even if there is no input, the system can hold a non-zero output on its own, i.e. oscillation. We decompose and as amplitude and phase. Then the system oscillates when


But the network parameters cannot be so precise in engineering. In practice the amplitude usually satisfies and is stablized by some non-linear effects. Hence you can see a sinusoidal wave with constant amplitude on the oscilloscope. This condition is called Barkhausen condition.


Therefore, to avoid oscillation, we must violate the Barkhausen condition. At the frequency point where is satisfied (called unitary gain point), the phase shift of the signal completing one revolution within the loop should be less than . The distance between the total phase shift in one revolution and is called phase margin. If we want to avoid oscillation, we should leave at least phase margin. In more demanding scenarios, is better.

3. Non-ideal Effects

3.1 Poles inside Op-amps

In engineering, op-amps are obviously not ideal. Op-amps are composed of basic components like resistors, capacitors and MOSFETs. These basic components, in conjunction with parasitic parameters, cause the op-amp itself to possess several poles. Currently op-amps in the market works under GHz level. In such frequency range we ususally take two poles into consideration. The first (with lower frequency) is called dominant pole, while the second is just called second pole. With poles in the op-amp taken into consideration, the open-loop gain becomes a function relative to frequency.

where and are poles of the op-amp, with . At , the denominator is approximately 1 and the low frequency open loop gain is always approxiamted as , a constant. At the dominant pole, . The is too small (since ) and can be ignored. Therefore, at the dominant pole the open loop gain is

The open loop gain is then , phase shift . In the range but yet to reach , the open loop gain becomes

Thus, with the frequency increasing, the gain decays and the phase shift reaches gradually. In engineering, amplitude is always represented with decibel (dB)

The amplitude gain between and can be rewritten with decibels

Obviously, when the frequency increases by a factor of 10, the open-loop gain decreases by 20 dB, denoted as -20dB/dec decay. That means a pole can cause a -20dB/dec decay on amplitude and -90° phase shift at most. At the pole frequency, the amplitude is -3dB() and the phase shift is -45°.

When you encounter the second pole at higher frequency, it will bring the same effect. With the original -20dB/dec and -90° phase shift, the second pole worsen the gain to -40dB/dec and -180° phase shift.

In general, the manufacturer provides you the amplitude/phase - frequency curve with the datesheet. You can see the two poles on it clearly.

Amplitude/Phase - Frequency Curve in OPA847 Datasheet

This figure is called Bode plot.

3.2 Unitary-Stability

Not all op-amps are unitary stable. I mean, if you configure the total gain as 1 (follower), it must oscillate no longer what measurement you apply to prevent it. Why? Let’s take a in-phase follower for example. Suppose the op-amp is OPA847, the Bode plot in the last section

In-phase Voltage Follower

Let’s consider the single frequency signal, . This frequency is called crossover frequency, denoted as . At , the open-loop gain is about 20dB. Cut the loop and inject a test signal from the inverse terminal. Then the total gain in the entire loop is

  • Enter op-amp from inverse phase terminal, amplitude 20dB, phase shift -180°-180°=-360° (extra -180° caused by “inverse phase”)
  • Return to inverse phase terminal, amplitude 20dB, phase shift -360°
  • Repeat these steps

When the test signal returns to the inverse terminal, its phase recovers to its original state, forming a positive feedback. Besides, 20dB > 0 so the amplitude increases. According to Barkhausen condition, it must oscillate.

Then consider a more general amplifier

General Amplifier

We equate all noise to the in-phase terminal and no other sources. Evidently the output is completely cause by noise and the noise gain is

In fact is the reciprocal of the feedback coefficient .

The loop gain (NOT the total gain ) can be expressed by noise gain.

Thus in Bode plot the loop gain equals to the open-loop gain minus noise gain. The key to stability is to keep the phase margin positive at the crossover frequency . At , the open-loop gain curve and NG curve crosses at the same point.

You may discover that there is a gain require in the op-amp datasheet. For example OPA847 requires the gain to be at least 12 V/V. This means, under more than 12 V/V total gain, the phase margin is positive.

We have two methods to judge whether the op-amp is unitary stable:

  • At the frequency where phase shift = -180°, if open-loop gain is more than 0dB, it is not unitary stable.
  • At the frequency where open-loop gain = 0dB, if phase shift is worse than -180° (like -210°), it is not unitary stable.

You do not need to calculate because under unitary gain configuration .

3.3 Input Impedance

The input terminal is also not ideal. For the op-amp itself, there is a differential capacitance and a capacitance to ground ; For the input source, there is output impedance. These extra impedance will change the transfer function.

4. Feedback Compensation

4.1 Transient Impedance Amplifier (TIA)

Transient impedance amplifier is a type of amplification system that transfer current signal into voltage signal. It is widely used in photoelectric detection. A fundamental inverse configuration is below.

Transient Impedance Amplifier

Ideally the output is

Suppose the is completely resistance. However, the input source usually carries an extra capacitance . We can take the following model as an example. The differential and op-amp input capacitance are equivalent into the .

Transient Impedance Amplifier with Source Load

The feedback coefficient is

Suppose , . Also select OPA847 as our op-amp. The open-loop gain is approximately

The noise gain

We usually simplify the annoying curve to broken line. The line is broken at poles and zero points.

Simplified Bode Plot for Op-amp

Add the noise gain curve. (Effects of zero points are opposite to pole points. Zero points introduce +45°, finally +90° phase shift and +20dB/dec amplitude increase.)

Simplified Bode Plot for Op-amp

The phase margin is the difference between the noise phase shift and the op-amp’s phase shift, minus -180°. Clearly, with this parameter configuration, the phase margin is a mere 0.2°, meaning this circuit will almost certainly self-oscillate and fail to amplify current signals properly, especially in high frequency cases.

4.2 Calculation of Compensation Values

To resolve this problems we should take some measures to increase phase margin. Since the op-amp cannot be modified from PCB level, we have to modify the feedback network. Note that the deterioration of phase margin is caused by the zero of noise gain. So one idea is to introduce a pole to pull the phase shift back to -45°, and the phase margin will be fine. The simplest way is to parallelize a small capacitor on the feedback resistor as a compensation.

Compensated TIA

With this compensation, the new becomes

Now a new pole point is introduced. Since in our cases , we can approximate

The new curve becomes

Compensated TIA Bode Plot

From the plot, to obtain a phase margin more than 45°, the pole point should be smaller than the crossover frequency.

At low frequency region, the open-loop gain can be represented by gain-bandwidth product (GBP)

At the crossover frequency , . Temporarily we check the crossover without compensation. Hence

The approximation holds because . Then

The pole is required

We get

This means the system can remain stable only when the compensation capacitor is over 11.8pF.

On the other hand, the capacitor cannot be too large, for it can influence your bandwidth. Generally, if we need a bandwidth of ,

If we need 5MHz bandwidth, the capacitor should be

Besides, OPA847 requires a gain over 12 V/V for stability. Check the noise gain curve. At high frequency region, impedance is dominant by the capacitance. Thus the high frequency gain is

But usually, the compensation range is determined by the two inequations:

References:

[1] Texas Instruments, Transimpedance Considerations for High-Speed Amplifiers, Application Report SBOA122, Nov. 2009.
[2] S. Cherian, What You Need to Know about Transimpedance Amplifiers - Part 1, Texas Instruments, Technical Article, 2023.
[3] Texas Instruments, Wideband, Ultra-Low Noise, Voltage-Feedback OPERATIONAL AMPLIFIER with Shutdown, Datasheet SBO251E, Dec. 2008
[4] 杨建国,《新概念模拟电路》. [Online]. 亚德诺半导体技术(上海)有限公司授权,2018.

评论