Docsity

Feedback - Introduction to Active Circuit Design - Lecture Notes | ECE 102, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Feedback - Introduction to Active Circuit Design - Lecture Notes | ECE 102 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

1

Feedback

Basic Principle

A

A

A

x

x f s

o

1

⇒

f

A

A

A

x

x

s

f

⇒ x^ f ≈ xs

x A

x

s

i

1

⇒ xi ≈ 0

Open loop gain: A

Feedback factor: β

Closed loop gain: Af

Loop gain: A·β

Feedback has to be negative! Otherwise, the system will not be stable.

Reading

Chapter 8.1, 8.2, 8.7, 8.

xs xi xo

xf

-

+

A ⋅β→ ∞

Reference: Microelectronic Circuits by Sedra/Smith, transparency masters

Benefits of Feedback

1) Desensitize gain

Without feedback: gain A

With feedback: gain Af ≈ 1/ β (does not depend much on A )

E.g. A = 1000, β = 0.1 ⇒ Af = 9.

A = 2000, β = 0.1 ⇒ Af = 9.95 (+ 0.5%)

2) Noise reduction

1 2 1

1 2

1 2

2

1 2

1 2

1 1 1 A

x x A A

A A

x A A

A

x A A

A A

x

n o s n s

1

2 1 1 2

1 2

1 A

x x x A A

A A

x

n o s n β

E.g.: audio applications where A 2 is the power amplifier and A 1 is a low-noise pre-amplifier

3) Reduce non-linear distortion

Linearize the gain:

Î Gain A is typically not very linear (i.e. the value depends on the amplitude of the input

signal).

Î The feedback factor β is typically much more linear

xs

xn

xo

-

+

+

+ A 1 A 2

β

xs

x (^) n

xo

-

+

+

+ A 1 A 2

β

+

+

xn

Stability in general

A system is considered to be unstable if a finite input leads to an infinite output, for any

frequency.

0

1 1

0

1 1

s b s b

a s a s a

Ds

N s H s n n

n

m m

m m

− −

− −

3 4

3 4

1 2

1 2

1 2

1 2 ⎥ ⎦

s p s p

s z s z

s p s p

s z s z a s p s p s p

s z s z s z H s a m

n

m m

Consider the poles p 1 , 2 =^ σ^0 ± j ⋅^ ω n

(1) Transient response: y^ t e (^ nt )

t

t^ ω

σ ( ) 2 cos 0 = ⋅ ⋅

⋅

If the poles are in the right half plane, i.e. have a real part σ 0 > 0, the transient

response goes to infinity. This transient response is the output, in the absense of

an input signal.

(2) m ≤ n , i.e. O [^^ N ]^ ≤^ O [^ D ]: Otherwise =∞

→ ∞ →∞ n

m m s (^) s

a s

lim H ( j ω) lim H ( s )

ω

(3) If H^ ( s ) has poles p 1 , 2 =± j ⋅^ ω n , a sin-wave with frequency ω n will have an

infinite forced response.

n

n n n

m n m s j

s j s j s p

s z s z s z H j a

1 2

x ( t )=cos(ω n (^) ⋅ t ) ⇒ y ( t )= H ( j ω (^) n )⋅cos(ω (^) n ⋅ t +∠ A ( j ω n ))

Therefore, to have a stable system, the poles have to lie in the left half plane ( σ 0 < 0)

Stability in a feedback system

In a feedback system 1 ( ) ( )

As s

As H s Af s

Again, the poles of Af (s) have to lie in the left half plane in order to have a stable system.

By using the Nyquist stability criterion, there is an equivalent condition that can be dirived. This

equivalent condition looks at the frequency response of the loop gain:

A ( j ω )⋅ β( j ω)

This criterion states that, in order to have a stable feedback system, the magnitude of the loop

gain has to be smaller than unity when the phase is equal to -180°. In other words:

∠ A β =−π ⇒ A β < 1

To evaluate this criterion in practical systems, the designer can look at two metrics: the gain

margin and the phase margin.

The gain margin (GM) is defined as follows:

ω b is the frequency where∠^ A (^ j^ ω^ b )^ β( j^ ω b )=−^ π

⇒ GM = 0 − 20 ⋅log(^ A ( j ω b (^) )β( j ω b ))^ =− 20 ⋅log(^ A ( j ω b )β( j ω b ))

From the Nyquist criterion, we see that, in order to have stable feedback system, the GM has to

be strictly greater than 0 dB.

The phase margin (PM) is defined as follows:

ω a is the frequency where A ( j ω a )β( j ω a ) = 1

⇒ PM =∠ A ( j ω a ) β( j ω a )−(− π)= π+∠ A ( j ω a ) β( j ω a )

In typical systems, the Nyquist criterion is equivalent to the following condition: when the loop

gain magnitude is equal to 1, the phase of the loop gain has to be larger than -180° (i.e., smaller

in absolute value typically):

a a a a A j j A j j

Therefore, to have a stable system, the PM has to be strictly positive.

In summary:

We can evaluate the stability of the feedback system 1 ( ) ( )

A s s

As A s f

by looking at the frequency response of the loop gain A ( j ω )⋅ β( j ω), where we have

defined the gain and phase margins.

Design:

The designer typically has control over what A and/or β look like, and can manipulate the shape

of the magnitude and phase plots of A β and, as a result also the phase margin.

E.g. If A is increased by a constant factor, the frequency ω a increases and the PM decreases

(since the phase diagram of Aβ remains the same).

In general, the PM is an important design specification when building a system, as it directly

indicates the stability of that feedback system. To investigate this further, we write the loop gain

as a concatenation of first order sections.

1 2 3 4 A j ω ⋅β j ω = T j ω ⋅ T j ω ⋅ T j ω ⋅ T j ω ⋅

where

1

1

1

p

j

T j

ω

ω

ω

2

2

1

p

j

T j

ω

ω

ω

3

3

1

p

j

T j

ω

ω

ω

Assume that ω p1 << ω p2 << ω p3 , ω p4 , … (e.g. which we can do if we design A and β )

We now also select ω a such that:

ω p 1 << ω a ⇒ ∠ T 1 ( j ω a )≈− 90 °

p p a

3 4 ⇒^

3 , 4 ,...

a

T j ω

ω p 2 is close to ω a ⇒

−

2

1 2 ( ) tan p

a T j a

Therefore: PM = π +∠ A ( j ω a ) β( j ω a )= π+∠ T 1 ( j ω a )+∠ T 2 ( j ω a )+∠ T 3 ( j ω a )

−

2

1 2 2 tan 2

(^2) p

a a a PM T j T j

E.g. ω^ p 2 =^ ω a ⇒^ ∠ T 2 ( j^ ω^ a )=−^45 ° ⇒^ PM =^45 °

ω p 2 = 3 ⋅ ω a

⇒ ∠ T 2 ( j ω a )=− 18 ° ⇒ PM = 72 °

However, often, the feedback system H(s) = Af (s) and the open loop component A(s) are not

designed by the same person. E.g. A(s) could be an op amp you designed, and which is then used

by someone else in their feedback system.

Therefore, op amps and amplifiers are typically designed such that they are still stable even with

the worst case feedback. The larger the feedback factor β , the larger ω a becomes and therefore

the smaller the PM is. It is typically assumed that the feedback factor is realized with passive

components (resistors, capacitors, inductors), such that β ≤ 1. The worst case feedback is unity

gain feedback ( β =1) in this case.

As an op amp designer, you want to design your device such that the PM is sufficient, even when

β =1. In this case, ω a is the frequency where A ( j ω a ) = 1 (which is called the unity gain

frequency). When designing your op amp, the above results thus give you some rule of thumbs

as to where to locate the poles ω p1 , ω p2 , ω p3 , etc. of your device and the unity gain frequency.

- π / - π /

ω (log scale)

∠ T 1 ( j ω ) ∠^ T 2 ( j^ ω)

∠ T 3 ( j ω)

- π / - π /

ω (log scale)

∠ A β =∠ T 1 +∠ T 2 +∠ T 3

a ω

ω p 1 ω p 2 ω p 3

- π

-3 π /

From Bode plots, we know that this pole is at the intersection of the two previous

line segments on the magnitude plot. This is also the frequency ω a where we

measure the PM.

p a

p A

A

ω ω β ω ω β

ω = ⇒ = ⋅ ⋅ =

1 0

We therefore find that Af is a first order system, with a single pole at ω a (in the case that β is

constant).

This result can also be found through regular mathematical analysis:

0 1

0

1

0

1

0

A s

s

A

s s

A

s

A

As s

As A s

p

p

p f

If β is constant and A 0 ·β >> 1,

1 0

0 1

0

0 1

0

A

s A

s

A

A

s

A

A s

p p p

f

This is again a first order system:

Low frequency gain:

0

f

A

0 0

A

A (^) f A (i.e. divided by loop gain)

Bandwidth: ω (^) bw = ω p 1 ⋅( A 0 ⋅β) (i.e. multiplied by loop gain)

Typically, the bandwidth is defined as the frequency at which the gain drops by 3 dB below the

low frequency gain. In this case, this is at the pole frequency. We see that feedback results in

bandwidth expansion, at the cost of a reduction in low frequency gain.

The gain-bandwidth (GBW) is defined as the product of the low frequency gain and the

bandwidth. We see that the GBW of the open loop A is the same as that of the closed loop Af.

GBWopen = A 0 ⋅ ω p 1

0 [^10 ]^01

GBWclosed Af bw ω p A β A ω p

2. When A has multiple distinct poles and no finite zeros

(a) ω^ ≤^ ω 1

j

A j >> ( )

A j j j

A j A (^) f j = ⋅

(magnitude and phase)

(b) ω ≥ ω 2

j

A j << ( ) 1

ω A j

A j A (^) f j ≈ =

(magnitude and phase)

(c) ω 1 < ω< ω 2

j

A (^) f j ≈ (^) ,

ω ≈ ω 1 Æ slope of X dB/decade

A f ( j ω )≈ A ( j ω), ω ≈ ω 2 Æ slope of Y dB/decade

Then there are (^) ⎥ ⎦

X Y

poles in this area.

E.g. β (j ω ) is constant

ω p1 << ω p2 << ω p3 , ω p4 , …

ω p2 is close to ω a

ω p1 < ω 1 < ω p

ω p2 < ω 2 < ω p3 , ω p4 , …

In this example, there are two poles in the boxed area. This is a common situation.

ω (log scale)

A j j

A j

A f j

( ) ( ) ( ) ( ) ( ) ( )

ω β ω

j Aj j A j j A j j e

⋅∠ ⋅ Magnitude (dB) ⋅ = ⋅ ⋅

A

a

ω p 1 ω p 2 ω p 3

X = 0

Y =− 20

⇒ ⇒^ 2 poles

Practical Systems

We have seen that the loop gain is essential in determining stability. How do we find the loop

gain in practical circuits?

Methodology: cut the loop, inject a test signal and observe the result:

= − A ⋅ β

x

x

test

obs

However, you have to make sure you terminate the loop with the correct impedance. This will

probably become clearer when we discuss op amps as an example of this general technique.

G

R 1

_ vout

R 2

v (^) in Rout

xs xo

-

+ A

β xobs xtest

ZT ZT

x (^) test