Texas A&M University Department of Electrical and ...s-sanchez/622 hmwk1 sol 2 2016.pdfDepartment of...

Post on 13-Jul-2018

219 views 0 download

Transcript of Texas A&M University Department of Electrical and ...s-sanchez/622 hmwk1 sol 2 2016.pdfDepartment of...

Page 1 of 16 ECEN 622 Homework #1

Texas A&M University Department of Electrical and Computer Engineering

ECEN 622: Active Network Synthesis Homework #1, Fall 2016

Carlos Pech Catzim 723002156

Page 2 of 16 ECEN 622 Homework #1

1. Design a Low Pass filter with the following specs: HLP(0) = 1, wo= 2ฯ€ x 106 rad/s, Q = 2. Using the Sallen and Key unity gain implementation.

a) Assume an ideal Op Amp and determine the component values and plot the magnitude and phase vs frequency.

R2

C1

C2

R1

VoVi

Figure 1. Sallen and Key Unity Gain Topology.

Assuming and ideal operational amplifier we can use nodal analysis to obtain the following transfer function.

๐ป๐ฟ๐‘ƒ(๐‘ ) =

1๐‘…2๐ถ1๐ถ2

๐‘ 2 + ๐‘  (2

๐‘…๐ถ2) + (

1๐‘…2๐ถ1๐ถ2

)=

๐‘ค๐‘œ2

๐‘ 2 +๐‘ค๐‘œ

๐‘„๐‘  + ๐‘ค๐‘œ

2

(1)

Where we assumed that ๐‘…1 = ๐‘…2 = ๐‘…, ๐ถ1 = ๐ถ, ๐ถ2 = 4๐ถ๐‘„2, and ๐‘…๐ถ =1

2๐‘ค๐‘œ๐‘„. Using the previous assumptions

and using the desired values for gain and cut-off frequency we can find the values for our components.

COMPONENT VALUE

R 40k ฮฉ C1 1p F C2 16p F

Figure 2. Sallen and Key Unity Gain Topology frequency response with Ideal Op Amp.

Page 3 of 16 ECEN 622 Homework #1

Figure 2 shows the behavior of our filter, the magnitude stays close to 0dB with peaking of 6dB at ๐‘ค๐‘œ due

to Q = 2, as ๐ป(๐‘—๐‘ค๐‘œ) โ‰ˆ ๐‘„. The phase also shows the expected behavior of a second order low pass filter with โ‰ˆ -90ยฐ of phase at ๐‘ค๐‘œ and -180ยฐ of phase at higher frequencies.

b) Assume now a real Op amp characterized by: ๐‘จ(๐’”) =๐‘จ๐’

๐Ÿ+๐’”/๐’˜๐’‘=

๐‘ฎ๐‘ฉ

๐’”+๐’˜๐’‘, with macromodel shown below.

Let ๐’˜๐’‘ = ๐Ÿ๐…๐’™๐Ÿ๐ŸŽ๐Ÿ‘๐’“๐’‚๐’…/๐’” Determine the value of GB yielding a magnitude or phase error of less than

1% of the filter.

Figure 3. Non Ideal Op Amp Macromodel

From the equation given we can find that ๐‘ค๐‘ = 1/๐‘…๐‘๐ถ๐‘ which then we can use to find the desired values.

COMPONENT VALUE

RP 100kฮฉ CP 1.6nF

Now in order to find the value of GB we need to find a transfer function which takes the non-ideality of the opamp into account, resulting in the following expression.

๐ป(๐‘ ) =

1

(1 +1

๐ด(๐‘ )) ๐‘…2๐ถ1๐ถ2

๐‘ 2 + ๐‘  [1

๐‘…๐ถ1+

2๐‘…๐ถ2

โˆ’ (1

๐‘…๐ถ1 (1 +1

๐ด(๐‘ ))

) ] +1

๐‘…2๐ถ1๐ถ2

(2)

Now using the previously found values for R, C1 and C2, ๐‘ค๐‘œ = 1/4๐‘…๐ถ, in addition to the approximation

1

1+1/๐ด(๐‘ )โ‰ˆ 1 โˆ’ 1/๐ด(๐‘ ) for |๐ด(๐‘ )| โ‰ซ 1, we can derive an expression for the error, the new Q and new ๐‘ค๐‘œ.

๐ป(๐‘ ) =๐‘ค๐‘œ

2 (1 โˆ’1

๐ด(๐‘ ))

๐‘ 2 + ๐‘ ๐‘ค๐‘œ (0.5 +4

๐ด(๐‘ )) + ๐‘ค๐‘œ

2=

๐‘ค๐‘œ2 (1 โˆ’

๐‘  + ๐‘ค๐‘

๐บ๐ต)

๐‘ 2 + ๐‘ ๐‘ค๐‘œ (0.5 +4(๐‘  + ๐‘ค๐‘)

๐บ๐ต) + ๐‘ค๐‘œ

2

๐ป(๐‘ ) = ๐‘ค๐‘œ

2 (1 โˆ’๐‘  + ๐‘ค๐‘

๐บ๐ต)

๐‘ 2(1 +4๐‘ค๐‘œ

๐บ๐ต) + ๐‘ ๐‘ค๐‘œ (0.5 +

4๐‘ค๐‘

๐บ๐ต) + ๐‘ค๐‘œ

2

Where we can define 1 + ๐‘’ = 1 + 4๐‘ค๐‘œ/๐บ๐ต or ๐‘’ =4๐‘ค๐‘œ

๐บ๐ตโ‰ˆ

4

|๐ด(๐‘—๐‘ค๐‘œ)|

Now we redistribute H(s) as

๐ป(๐‘ ) =

๐‘ค๐‘œ2

1 + ๐‘’(1 โˆ’

๐‘  + ๐‘ค๐‘

๐บ๐ต)

๐‘ 2 + ๐‘  [๐‘ค๐‘œ

โˆš1 + ๐‘’

(0.5 +4๐‘ค๐‘

๐บ๐ต)

โˆš1 + ๐‘’] +

๐‘ค๐‘œ2

1 + ๐‘’

Page 4 of 16 ECEN 622 Homework #1

Now we have that

๐‘ค๐‘œ๐‘… =๐‘ค๐‘œ

โˆš1 + ๐‘’โ‰ˆ ๐‘ค๐‘œ (1 โˆ’

๐‘’

2) โ‰ˆ ๐‘ค๐‘œ โˆ’ ฮ”๐‘ค๐‘œ , ๐‘คโ„Ž๐‘’๐‘Ÿ๐‘’ ฮ”๐‘ค๐‘œ =

2๐‘ค๐‘œ

๐บ๐ต

๐‘„๐‘… =โˆš1 + ๐‘’

0.5 +4๐‘ค๐‘

๐บ๐ต

โ‰ˆ1 + ๐‘’/2

0.5 +4๐‘ค๐‘

๐บ๐ต

โ„Ž = 1 โˆ’๐‘  + ๐‘ค๐‘

๐บ๐ต

In the previous expressions we can see how the non-idealities of the op amp affects wo, Q and creates a zero.

In order to determine the value of GB yielding a magnitude error < 1% we calculate the magnitude of (1) and (2) using MATLAB and we find that the necessary GB = (2ฯ€) (72.5177 MHz), or Ao = 72.5177k V/V = 97.2dB. Figure 4 shows the response of the designed non-ideal op amp.

Figure 4. Non-ideal Op Amp.

Figure 5. Sallen and Key Unity Gain Topology frequency response with non-Ideal Op Amp.

Page 5 of 16 ECEN 622 Homework #1

Figure 6. Sallen and Key Unity Gain Topology frequency response Comparison.

In figure 5 we show the frequency response of the filter using the non-ideal op amp, and in figure 6 we show a comparison of the two with markers that show that both responses behave within the 1% of error within the band of operation.

The calculations made demand for an extremely high open loop gain, however to achieve such gain we would have to design a three or four stages op amp, that comes with the challenge of compensation and power.

Measurement Ideal Non-Ideal Error

Q 2 2.009 -0.45 %

๐‘ค๐‘œ 2ฯ€ 106 2ฯ€ 972.42k -2.83%

2. Design for the same LP specs a KHN biquad

R3

R1

R2

R5

R4

R6 R7C1 C2

Vi

Vo

Figure 7. KHN Biquad Schematic.

Page 6 of 16 ECEN 622 Homework #1

a) Determine the conditions of R1, R2, R3, R4, and R5 such that the adder is fully balanced, then determine the component values of the KHN biquad.

As discussed in class in order for the summing amplifier to be fully balanced we need that the sum of the admittances at the input nodes of the op amp to be equal, that is:

1

๐‘…3+

1

๐‘…4+

1

๐‘…5=

1

๐‘…1+

1

๐‘…2= ๐‘Œ๐‘‡๐‘œ๐‘ก๐‘Ž๐‘™

To better represent the system, and simplify the calculation of the transfer function along with the case of non-ideality we draw the block diagram of the circuit as shown in figure 8.

Figure 8. Block Diagram Representation of KHN biquad with ideal opamps

Where the gain values are

๐พ1 = โˆ’๐‘…5

๐‘…3 , ๐พ2 = โˆ’

1

๐ถ1๐‘…6, ๐พ3 = โˆ’

๐‘…5

๐‘…4, ๐พ4 =

๐‘…5

๐‘…2, ๐พ5 = โˆ’

1

๐ถ2๐‘…7

Now using mason rules, we can find the transfer function

๐ป(๐‘ ) = โˆ’๐ป๐‘œ๐‘ค๐‘œ

๐‘ 2 + ๐‘  (๐‘ค๐‘œ

๐‘„) + 1

= โˆ’๐พ1/๐พ3(๐พ2๐พ5๐พ3)

๐‘ 2 + ๐‘ (๐พ2๐พ4) + ๐พ2๐พ5๐พ3

๐ป๐‘œ represents an extra gain coefficient which forces ๐พ1 = ๐พ3 ๐‘œ๐‘Ÿ๐‘…4

๐‘…3= 1, furthermore we can express ๐‘„ =

1/๐พ4 which points to a condition of ๐‘…2 = 2 ๐‘…5 and ๐‘ค๐‘œ = ๐พ2 = 1/๐ถ1๐‘…6, in order to fulfill the condition for a fully balanced circuit we will make ๐‘…3 = ๐‘…4 = ๐‘…5, and ๐‘…3 = 2.5๐‘…1, now we have an expression for every

component except for R7 which will be calculated using the relationship ๐‘…7 =1

๐‘ค๐‘œ2๐ถ1๐‘…6๐ถ2

.

Component Value Component Value

R3, R4, R5 10Kฮฉ R2 20Kฮฉ

R1 4Kฮฉ C1 1pF

R6 160kฮฉ C2 1.5pF R7 105kฮฉ

b) Using Simulink simulate your designed filter for

i) Ideal Op Amp

Using the same block diagram from figure 8 we are able to simulate the frequency response of the KHN filter as shown in figure 9. Again we notice the peaking at wo due to the value of Q, also we notice that this time the phase starts at -180ยฐ as this configuration is provides an inverting low pass behavior.

Page 7 of 16 ECEN 622 Homework #1

Figure 9. Frequency Response for KHN Filter with ideal Op Amp

ii) A non-ideal Op Amp with A(s) โ‰ˆGB/s when GB = 20wo.

For this case we have to consider the non-ideality of each op amp used in the circuit. First we will start with the summing amplifier.

Previously we used the property of sum of admittances so the gain of each input would be given by a ratio of resistors, this time as the voltage at both inputs is not equal we must rewrite the node equations using admittances as:

R3

R1

R2

R5

R4

Vo

V2

Vi

V1

Figure 10. Non Ideal Op Amp, Summing Amplifier.

๐‘‰โˆ’(๐‘Œ3 + ๐‘Œ4 + ๐‘Œ5) โˆ’ ๐‘‰๐‘–๐‘Œ3 โˆ’ ๐‘‰2๐‘Œ4 = ๐‘‰๐‘œ๐‘Œ5 (3) ๐‘‰+(๐‘Œ1 + ๐‘Œ2) โˆ’ ๐‘‰1๐‘Œ2 = 0 (4)

๐ด(๐‘ )(๐‘‰+ โˆ’ ๐‘‰โˆ’) = ๐‘‰๐‘œ (5)

Page 8 of 16 ECEN 622 Homework #1

Now we make ๐‘Œ๐‘ก๐‘œ๐‘ก๐‘Ž๐‘™ = ๐‘Œ1 + ๐‘Œ2 = ๐‘Œ3 + ๐‘Œ4 + ๐‘Œ5, use (5) and substract (4) of (3) we obtain:

๐‘‰๐‘œ =1

๐‘Œ5 +๐‘Œ๐‘‡๐‘œ๐‘ก๐‘Ž๐‘™

๐ด(๐‘ )

[๐‘‰1๐‘Œ2 โˆ’ ๐‘‰๐‘–๐‘Œ3 โˆ’ ๐‘‰2๐‘Œ4] =1

1 +๐‘5๐‘Œ๐‘‡๐‘œ๐‘ก๐‘Ž๐‘™

๐บ๐ต/๐‘ 

[๐‘‰1๐‘5/๐‘2 โˆ’ ๐‘‰๐‘–๐‘5/๐‘3 โˆ’ ๐‘‰2๐‘4/๐‘5]

As before the gain from each input is given by the ratio of impedances but now there is a scaling factor for each input which depends on GB and the frequency.

For the lossless integrators we have that instead of using the ideal integrator block 1/๐‘  we will use a block that represents the losses due to the non-ideality of the op amp. This case in particular was reviewed in class where we found that the new expression for the lossless integrator is given by

๐ป๐‘–๐‘›๐‘ก(๐‘ ) = โˆ’1

๐‘ ๐‘…๐ถ (1 +๐‘ 

๐บ๐ต)

Where R and C are the impedances connected to the operational amplifier. Now use the block diagram shown in figure 11 and simulate the frequency response shown in figure 12.

Figure 11. Block Diagram Representation of KHN filter with non-ideal Op Amp

Figure 12. Frequency Response for KHN Filter with non-ideal Op Amp.

Page 9 of 16 ECEN 622 Homework #1

We notice that using GB = 20GB causes the gain peaking around wo doubled as each individual non-ideal integrator introduces an error magnitude and phase of approximately 2.5%, and the non-ideal summing amplifier introduces another error. In the next figure we show that increasing the value of GB minimizes the error.

Figure 13. Frequency Response for KHN Filter with non-ideal Op Amp, multiples GB.

Similar with the previous exercise the non-idealities of the op amp causes error in the desired frequency response, that can only be fix increasing the open loop gain of the op amp or to change design parameters accordingly.

Figure 14. Group Delay for KHN Filter with ideal and non-ideal Op Amp.

Page 10 of 16 ECEN 622 Homework #1

Measurement Ideal Op Amp Non-Ideal Op Amp

(GB=20wo) Error %

(GB=20wo) Non-Ideal Op Amp

(GB=50wo) Error %

(GB=50wo)

Magnitude @ wo 6dB 12dB 99% 7.98dB 25.3%

Phase @ wo -269ยฐ -271ยฐ 0.743% -270ยฐ 0.371.75%

Group Delay @ wo 84.47ns 81.5ns -3.5% 83.29ns -1.397%

3. Design a RC Miller integrator for ๐’˜๐’ = ๐Ÿ๐…๐’™๐Ÿ๐ŸŽ๐Ÿ”๐’“๐’‚๐’…/๐’”

a) Assume an ideal Op Amp.

R C

Vi Vo

Figure 15. Miller Integrator

We know that the miller integrator has a transfer function ๐ป(๐‘ ) =1

๐‘ ๐‘…๐ถ, where we can easily find the

component values by setting a desired C and finding ๐‘… =1

๐‘ค๐‘œ๐ถ.

Component Value Component Value

R 31.8kฮฉ C 5pF

Figure 16. RC Miller Integrator Frequency Response, Ideal Op Amp.

Page 11 of 16 ECEN 622 Homework #1

In figure 16 we show that the Miller integrator follows the expected frequency response.

b) Let ๐‘ฎ๐‘ฉ = ๐Ÿ๐…๐’™๐Ÿ“๐’™๐Ÿ๐ŸŽ๐Ÿ” for ๐‘จ(๐’”) = ๐‘ฎ๐‘ฉ/๐’”

Assuming a non-ideal integrator, we have the following transfer function

๐ป๐‘›๐‘œ๐‘›(๐‘ ) =1

๐‘ ๐ถ๐‘… (1 +๐‘ 

๐บ๐ต)

Figure 17. RC Miller Integrator Frequency Response, Non-Ideal Op Amp.

In figure 17 we show that the non-ideal op amp introduces an extra pole that creates an error in phase given by

๐œƒ(๐‘ค) = โˆ’90ยฐ โˆ’ tanโˆ’1(๐‘ค/๐บ๐ต) โ‰ˆ 101.3ยฐ

ฮ”๐œƒ(๐‘ค) =90 โˆ’ 101.3

90โ‰ˆ 12.5%

c) Add a resistor ๐‘น๐’„ in series with the feedback capacitor such that an ideal integrator is obtained.

By placing a ๐‘…๐‘ resistor in series with the feedback capacitor we create a zero that can cancel the parasitic

pole created by the op am, given that the resistor value is well defined. This cancellation occurs if ๐‘…๐‘ =1

๐บ๐ต๐ถ= 6.36๐‘˜ฮฉ.

R C

Vi

Vo

Rc

Figure 18. Compensated RC Miller Integrator

Page 12 of 16 ECEN 622 Homework #1

๐ป(๐‘ ) =1 + ๐‘…๐‘๐ถ๐‘ 

๐‘…๐ถ๐‘ (

1

1 +๐‘ 

๐บ๐ต+

1๐บ๐ต๐‘…๐ถ

+๐‘ ๐‘…๐‘

๐บ๐ต๐‘…

) =1 + ๐‘ /๐บ๐ต

๐‘…๐ถ๐‘ (

1

1 +1

๐บ๐ต๐‘…๐ถ+

๐‘ ๐บ๐ต

(1 +1

๐บ๐ต๐‘…๐ถ)

)

= 1 + ๐‘ /๐บ๐ต

๐‘…๐ถ๐‘ (

1

(1 +๐‘ 

๐บ๐ต) (1 +

1๐บ๐ต๐‘…๐ถ

) ) =

1

๐‘…๐ถ๐‘ (

1

(1 +1

๐บ๐ต๐‘…๐ถ)

) =1

๐‘…๐ถ๐‘  (1 +1

๐บ๐ต๐‘…๐ถ)

From the equation above we can see that our new transfer function ๐ป(๐‘ ) only has imaginary part which corrects the error in phase but introduces an error in magnitude given by

|๐ป(๐‘—๐‘ค๐‘œ)| =1

๐‘…๐ถ๐‘ค๐‘œ +๐‘ค๐‘‚

๐บ๐ต

โ‰ˆ 833.33๐‘š๐‘‰ โ‰ˆ โˆ’1.5836๐‘‘๐ต

Figure 19. RC Miller Integrator Frequency Response, Compensated Non-Ideal Op Amp.

Measurement Ideal Op Amp Non-Ideal Op Amp Compensated Op Amp

|๐‘ฏ(๐’‹๐’˜๐’)| -0.02267dB -0.177dB -1.59dB

๐œฝ(๐’‹๐’˜๐’) -90ยฐ -101ยฐ -90ยฐ

Page 13 of 16 ECEN 622 Homework #1

Extra Credit, Repeat problem 1 for the LP Rauch Filter, for HLP(0) = 1, wo = 2ฯ€ x106 rads/s, Q = 2.

a) Assume an ideal Op Amp and determine the component values and plot the magnitude and phase vs frequency

R3

C1

C2

R2

VoVi

R1

Figure E1. Rauch Low Pass Filter

Assuming an ideal operational amplifier, we can use nodal analysis to obtain the following transfer function

๐ป๐ฟ๐‘ƒ(๐‘ ) =

โˆ’ (๐‘…1

๐‘…3) (

1๐‘…1๐‘…2๐ถ1๐ถ2

)

๐‘ 2 + ๐‘  (๐‘…1๐ถ2 + ๐‘…2๐ถ2 + ๐‘…1๐‘…2๐ถ2/๐‘…3

๐‘…1๐‘…2๐ถ1๐ถ2) + (

1๐‘…1๐‘…2๐ถ1๐ถ2

)=

๐ป๐‘œ๐‘ค๐‘œ2

๐‘ 2 +๐‘ค๐‘œ

๐‘„๐‘  + ๐‘ค๐‘œ

2

(E1)

Where ๐‘ค๐‘œ = 1/โˆš๐‘…1๐‘…2๐ถ1๐ถ2 , ๐‘„ = โˆš๐‘…1๐‘…2๐ถ1๐ถ2

๐‘…1๐ถ2+๐‘…2๐ถ2+๐‘…1๐‘…2๐ถ2/๐‘…3, ๐ป๐‘œ = ๐‘…1/๐‘…3. Now Assuming ๐‘… = ๐‘…1 = ๐‘…2 = ๐‘…3, ๐ถ = ๐ถ2,

and ๐ถ1 = ๐‘›๐ถ we can rewrite our parameters as

๐‘ค๐‘œ =1

๐‘…๐ถโˆš๐‘› ๐‘Ž๐‘›๐‘‘ ๐‘„ =

โˆš๐‘›

3

Using the previous assumptions and using the desired values for gain and cut-off frequency we can find the values for our components.

COMPONENT VALUE

R 10.2k ฮฉ C1 93.6p F C2 2.6p F

Figure E2. LP Rauch Filter Frequency Response with Ideal Op Amp.

Page 14 of 16 ECEN 622 Homework #1

Figure E2 shows the expected behavior of the filters frequency response, as happened in the salley and key filter the peaking at wo appears due to the value of Q.

b) Assume now a real Op amp characterized by: ๐‘จ(๐’”) =๐‘จ๐’

๐Ÿ+๐’”/๐’˜๐’‘=

๐‘ฎ๐‘ฉ

๐’”+๐’˜๐’‘, with macromodel shown below.

Let ๐’˜๐’‘ = ๐Ÿ๐…๐’™๐Ÿ๐ŸŽ๐Ÿ‘๐’“๐’‚๐’…/๐’” Determine the value of GB yielding a magnitude or phase error of less than

1% of the filter.

Figure E3. Non Ideal Op Amp Macromodel

For the non-ideal op amp, we will use the same that was designed and used in previous exercises.

Now in order to find the value of GB we need to find a transfer function which takes the non-ideality of the opamp into account, resulting in the following expression.

๐ป(๐‘ ) =

๐ป๐‘œ๐‘Š๐‘œ2 1

(1 +1

๐ด(๐‘ ))

๐‘ 2 + ๐‘  [๐‘ค๐‘œ

๐‘„+

๐‘ค๐‘œ2๐‘…1๐ถ1

1 + ๐ด(๐‘ ) ] + ๐‘Š๐‘œ

2 [1 +

๐‘…1

๐‘…3

1 + ๐ด(๐‘ ) ]

(E2)

Now using the approximation 1

1+1/๐ด(๐‘ )โ‰ˆ 1 โˆ’ 1/๐ด(๐‘ ) for |๐ด(๐‘ )| โ‰ซ 1, we can derive an expression for the

error, the new Q and new ๐‘ค๐‘œ.

๐ป(๐‘ ) =๐ป๐‘œ๐‘Š๐‘œ

2 (1 โˆ’1

๐ด(๐‘ ))

๐‘ 2 + ๐‘  [๐‘ค๐‘œ

๐‘„+

๐‘ค๐‘œ2๐‘…1๐ถ1

1 + ๐ด(๐‘ ) ] + ๐‘Š๐‘œ

2 [1 +

๐‘…1

๐‘…3

1 + ๐ด(๐‘ ) ]

๐ป(๐‘ ) =๐ป๐‘œ๐‘Š๐‘œ

2 (1 โˆ’๐‘  + ๐‘ค๐‘

๐บ๐ต)

๐‘ 2 + ๐‘  [๐‘ค๐‘œ

๐‘„+

๐‘ค๐‘œ2๐‘…1๐ถ1(๐‘  + ๐‘ค๐‘)

๐บ๐ต ] + ๐‘Š๐‘œ

2 [1 +

๐‘…1

๐‘…3(๐‘  + ๐‘ค๐‘)

๐บ๐ต ]

๐ป(๐‘ ) =๐ป๐‘œ๐‘Š๐‘œ

2 (1 โˆ’๐‘  + ๐‘ค๐‘

๐บ๐ต)

๐‘ 2[1 +๐‘…1๐ถ1๐‘ค๐‘œ

2

๐บ๐ต] + ๐‘  [

๐‘ค๐‘œ

๐‘„+

๐‘ค๐‘œ2๐‘…1๐ถ1๐‘ค๐‘

๐บ๐ต+

๐‘ค๐‘œ2๐‘…1/๐‘…3

๐บ๐ต ] + ๐‘Š๐‘œ

2 [1 + ๐‘ค๐‘๐‘…1/๐‘…3

๐บ๐ต ]

Where we can define 1 + ๐‘’ = 1 + ๐‘…1๐ถ1๐‘ค๐‘œ2/๐บ๐ต or ๐‘’ =

6๐‘ค๐‘œ

๐บ๐ตโ‰ˆ

6

|๐ด(๐‘—๐‘ค๐‘œ)|

Page 15 of 16 ECEN 622 Homework #1

Now we redistribute H(s) as

๐ป(๐‘ ) =๐ป๐‘œ๐‘Š๐‘œ

2 (1 โˆ’๐‘  + ๐‘ค๐‘

๐บ๐ต) (

11 + ๐‘’

)

๐‘ 2 + ๐‘  [๐‘ค๐‘œ

โˆš1 + ๐‘’] [

1๐‘„

+๐‘ค๐‘œ๐‘…1๐ถ1๐‘ค๐‘

๐บ๐ต+

๐‘ค๐‘œ๐‘…1/๐‘…3

๐บ๐ต

โˆš1 + ๐‘’ ] + ๐‘Š๐‘œ

2 [1 +

๐‘ค๐‘๐‘…1/๐‘…3

๐บ๐ต 1 + ๐‘’

]

Now we have that

๐‘ค๐‘œ๐‘… =๐‘ค๐‘œ

โˆš1 + ๐‘’โ‰ˆ ๐‘ค๐‘œ (1 โˆ’

๐‘’

2) โ‰ˆ ๐‘ค๐‘œ โˆ’ ฮ”๐‘ค๐‘œ , ๐‘คโ„Ž๐‘’๐‘Ÿ๐‘’ ฮ”๐‘ค๐‘œ =

6๐‘ค๐‘œ

๐บ๐ต

๐‘„๐‘… =โˆš1 + ๐‘’

1๐‘„

+๐‘ค๐‘œ๐‘…1๐ถ1๐‘ค๐‘

๐บ๐ต+

๐‘ค๐‘œ๐‘…1/๐‘…3

๐บ๐ต

โ‰ˆ1 + ๐‘’/2

1๐‘„

+๐‘ค๐‘œ๐‘…1๐ถ1๐‘ค๐‘

๐บ๐ต+

๐‘ค๐‘œ๐‘…1/๐‘…3

๐บ๐ต

๐‘ค๐‘ง = 1 โˆ’๐‘  + ๐‘ค๐‘

๐บ๐ต

In the previous expressions we can see how the non-idealities of the op amp affects wo, Q and creates a zero, without affecting the DC gain.

In order to determine the value of GB yielding a magnitude error < 1% we calculate the magnitude of (1) and (2) using MATLAB and we find that the necessary GB = (2ฯ€) (232.4MHz), or Ao = 232.4k V/V = 107.32dB.

Figure E4. LP Rauch Filter frequency response with non-Ideal Op Amp.

Page 16 of 16 ECEN 622 Homework #1

Figure E5. LP Rauch Filter frequency response Comparison.

In figure E4 we show the frequency response of the filter using the non-ideal op amp, and in figure E5 we show a comparison of the two with markers that show that both responses behave within the 1% of error in magnitude within the band of operation, for a 1% error in phase a much higher open loop gain is needed

The calculations made demand for an extremely high open loop gain, however to achieve such gain we would have to design a three or four stages op amp, that comes with the challenge of compensation and power.

Measurement Ideal Non-Ideal Error

Q 2 1.98 -1 %

๐‘ค๐‘œ 2ฯ€ 106 2ฯ€ 987.09k -1.3 %

An extra table is provided in which we show the comparison between the Sallen and key, and KHN low-pass filters with the same specs considering non-ideal op amps.

Measurement Sallen and Key KHN Rauch Ideal

Magnitude @ wo 5.97085dB 6.1dB 5.934dB 6dB Phase @ wo -91.7ยฐ -91.7ยฐ 86.85887ยฐ -90ยฐ

Minimum GB for 1% error

72.51 * wo 1200 * wo 232.4 * wo -

The minimum GB needed in the KHN low pass filter is higher due to the accumulative error in each stage. We could reduce the GB needed by Q-compensation schemes in order to reduce the overall error of the system.