Difference between revisions of "Integrators"

From Microlab Classes
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
{|
 
{|
 
|[[File:Integrator ideal.png|thumb|400px|Figure 1: The op-amp-based ideal integrator.]]  
 
|[[File:Integrator ideal.png|thumb|400px|Figure 1: The op-amp-based ideal integrator.]]  
|[[File:Integrator symbol.png|thumb|400px|Figure 2: The symbol for an integrator.]]  
+
|[[File:Integrator symbol.png|thumb|300px|Figure 2: The symbol for an integrator.]]  
 
|-
 
|-
 
|}
 
|}
Line 54: Line 54:
 
</math>|{{EquationRef|6}}}}
 
</math>|{{EquationRef|6}}}}
  
Since <math>R\left(\omega\right) = 0</math>. Fig. 5 shows a multiple-input integrator, with output voltage:
+
Since <math>R\left(\omega\right) = 0</math>. Fig. 5 shows a two-input integrator, with output voltage:
  
 
{{NumBlk|::|<math>
 
{{NumBlk|::|<math>
 
v_o\left(s\right) = -\frac{1}{s\cdot R_1 C}\cdot v_1\left(s\right) -\frac{1}{s\cdot R_2 C}\cdot v_2\left(s\right)   
 
v_o\left(s\right) = -\frac{1}{s\cdot R_1 C}\cdot v_1\left(s\right) -\frac{1}{s\cdot R_2 C}\cdot v_2\left(s\right)   
 
</math>|{{EquationRef|7}}}}
 
</math>|{{EquationRef|7}}}}
 +
 +
{|
 +
|[[File:Integrator 2 input.png|thumb|400px|Figure 5: A two-input op-amp integrator.]]
 +
|-
 +
|}
  
 
== Integrator Noise ==
 
== Integrator Noise ==
Line 66: Line 71:
 
v_o\left(s\right) = -\frac{1}{s\cdot R_1 C}\cdot v_i\left(s\right) -\frac{1}{s\cdot R_2 C}\cdot v_o\left(s\right)  
 
v_o\left(s\right) = -\frac{1}{s\cdot R_1 C}\cdot v_i\left(s\right) -\frac{1}{s\cdot R_2 C}\cdot v_o\left(s\right)  
 
</math>|{{EquationRef|8}}}}
 
</math>|{{EquationRef|8}}}}
 +
 +
{|
 +
|[[File:Integrator noise.png|thumb|400px|Figure 6: Resistor thermal noise generators in an integrator.]]
 +
|-
 +
|}
  
 
Ignoring the noise from the amplifier, the output noise of the integrator in Fig. 6 can be expressed as:
 
Ignoring the noise from the amplifier, the output noise of the integrator in Fig. 6 can be expressed as:
Line 180: Line 190:
 
</math>|{{EquationRef|19}}}}
 
</math>|{{EquationRef|19}}}}
  
The magnitude and phase response is shown in Figs. 12 and 13. Notice the phase lead introduced by the zero due to <math>R_c</math>. At <math>\omega=\omega_0</math>:
+
{|
 +
|[[File:Integrator lossy C.png|thumb|400px|Figure 11: An integrator with a lossy capacitor.]]
 +
|-
 +
|}
 +
 
 +
The magnitude and phase response is shown in Figs. 12 and 13.  
 +
 
 +
{|
 +
|[[File:Integrator lossy C mag.svg|thumb|500px|Figure 12: Magnitude response of an integrator with a lossy capacitor.]]
 +
|[[File:Integrator lossy C phase.svg|thumb|500px|Figure 13: Magnitude response of an integrator with a lossy capacitor.]]
 +
|-
 +
|}
 +
 
 +
Notice the phase lead introduced by the zero due to <math>R_c</math>. At <math>\omega=\omega_0</math>:
  
 
{{NumBlk|::|<math>
 
{{NumBlk|::|<math>
Line 196: Line 219:
  
 
Thus, a non-zero <math>R_c</math> degrades the integrator quality factor, but in typical implementations, the amplifier non-idealities will dominate.
 
Thus, a non-zero <math>R_c</math> degrades the integrator quality factor, but in typical implementations, the amplifier non-idealities will dominate.
 +
 +
== <math>G_m\text{-}C</math> Integrators ==
 +
An alternative implementation of an integrator is to use transconductances, which drive constant current into capacitors, as shown in Fig. 14.
 +
 +
{|
 +
|[[File:Integrator gm c.png|thumb|500px|Figure 14: A <math>G_m\text{-}C</math> integrator.]]
 +
|-
 +
|}
 +
 +
We can write the output voltage as:
 +
 +
{{NumBlk|::|<math>
 +
v_o = -\frac{1}{sC}\cdot G_m\cdot v_i = -\frac{1}{s\cdot \tau} \cdot v_i = -\frac{\omega_0}{s} \cdot v_i
 +
</math>|{{EquationRef|22}}}}
 +
 +
Where <math>\omega_0 = \tfrac{1}{\tau} = \tfrac{G_m}{C}</math>. This type of integrator is ideal in cases where the loads are capacitive, e.g. in CMOS circuits, and are much simpler than op-amp-based integrators since <math>G_m\text{-}C</math> integrators are open-loop circuits without feedback. In general, real transconductance amplifiers will have transconductances that vary with frequency, <math>G_m = G_m\left(s\right) = G_m\left(j\omega\right)</math>, thus also affecting the phase at <math>\omega_0</math>, similar to op-amp-based integrators.
  
 
== Summary ==
 
== Summary ==

Latest revision as of 11:30, 5 April 2021

The Ideal Integrator

The ideal integrator, shown in Fig. 1, with symbol shown in Fig. 2, makes use of an ideal operational amplifier with , , and .

Figure 1: The op-amp-based ideal integrator.
Figure 2: The symbol for an integrator.

The current through the resistor, , can be expressed as:

 

 

 

 

(1)

Thus, we can write the integrator output voltage, , as:

 

 

 

 

(2)

In the Laplace domain:

 

 

 

 

(3)

Or equivalently:

 

 

 

 

(4)

The magnitude and phase response of an ideal integrator is shown in Figs. 3 and 4. A key feature to note in ideal integrators is the fact that:

  • The unity gain frequency is equal to , and
  • The phase at the unity gain frequency is exactly .
Figure 3: Magnitude response of an ideal integrator with .
Figure 4: Phase response of an ideal integrator with .

Rewriting the transfer function as:

 

 

 

 

(5)

We can then define the quality factor of an ideal integrator:

 

 

 

 

(6)

Since . Fig. 5 shows a two-input integrator, with output voltage:

 

 

 

 

(7)

Figure 5: A two-input op-amp integrator.

Integrator Noise

Fig. 6 shows an integrator where the output is fed back to one of its inputs, giving us:

 

 

 

 

(8)

Figure 6: Resistor thermal noise generators in an integrator.

Ignoring the noise from the amplifier, the output noise of the integrator in Fig. 6 can be expressed as:

 

 

 

 

(9)

The total integrated noise is then:

 

 

 

 

(10)

Integrator Non-Idealities

In practice, integrators are limited by the characteristics of non-ideal amplifiers: (1) finite gain at DC, and (2) non-dominant amplifier poles. Let us look at the effects of these non-idealities one at a time.

Finite Gain

The transfer function of an integrator using an amplifier with finite gain, , can be written as:

 

 

 

 

(11)

The magnitude and phase response of this non-ideal integrator is shown in Figs. 7 and 8.

Figure 7: The magnitude response of an integrator with a finite-gain amplifier.
Figure 8: The phase response of an integrator with a finite-gain amplifier.

Note that the integrator quality factor now becomes finite:

 

 

 

 

(12)

The phase at is then:

 

 

 

 

(13)

Thus, if is finite, will approach, but will never be equal to , resulting in a phase lead. For example, if , we get , and will result in .

Non-Dominant Poles

The transfer function of an integrator using an amplifier with infinite gain but with non-dominant poles can be expressed as:

 

 

 

 

(14)

The magnitude and phase response of this non-ideal integrator is shown in Figs. 9 and 10.

Figure 9: The magnitude response of an integrating using an amplifier with a non-dominant pole, .
Figure 10: The phase response of an integrating using an amplifier with a non-dominant pole, .

The phase at the unity gain frequency is then equal to:

 

 

 

 

(15)

Note that the non-dominant poles contribute to the integrator phase lag.

In a real integrator, the effects (phase lead) of the amplifier finite gain can cancel out the effects (phase lag) of the non-dominant poles! Given the transfer function of the integrator with an amplifier that has both finite gain and non-dominant poles:

 

 

 

 

(16)

If we assume that and , we can then rewrite the transfer function as:

 

 

 

 

(17)

For non-dominant poles. The integrator quality factor is then equal to:

 

 

 

 

(18)

As expected, the effect of finite gain can be cancelled out by the effect of the non-dominant poles.

Capacitor Non-Idealities

For lossy capacitors, modeled in Fig. 11 as an ideal capacitor in series with a resistor, , the integrator transfer function becomes:

 

 

 

 

(19)

Figure 11: An integrator with a lossy capacitor.

The magnitude and phase response is shown in Figs. 12 and 13.

Figure 12: Magnitude response of an integrator with a lossy capacitor.
Figure 13: Magnitude response of an integrator with a lossy capacitor.

Notice the phase lead introduced by the zero due to . At :

 

 

 

 

(20)

The integrator quality factor can then be written as:

 

 

 

 

(21)

Thus, a non-zero degrades the integrator quality factor, but in typical implementations, the amplifier non-idealities will dominate.

Integrators

An alternative implementation of an integrator is to use transconductances, which drive constant current into capacitors, as shown in Fig. 14.

Figure 14: A integrator.

We can write the output voltage as:

 

 

 

 

(22)

Where . This type of integrator is ideal in cases where the loads are capacitive, e.g. in CMOS circuits, and are much simpler than op-amp-based integrators since integrators are open-loop circuits without feedback. In general, real transconductance amplifiers will have transconductances that vary with frequency, , thus also affecting the phase at , similar to op-amp-based integrators.

Summary

The quality factor of the integrator is reduced by:

  • The finite gain of the amplifier,
  • The presence of amplifier non-dominant poles, and
  • The loss of passive reactive components, e.g. capacitors.

Note that both the finite amplifier gain and the lossy capacitor introduces a phase lead, and the presence of non-dominant poles results in a phase lag.