Docsity

Circuit Analysis Lecture Notes, Lecture notes of Electrical Engineering

Toggle sidebar
bg1
ELEN-325. Introduction to Electronic Circuits: A Design-Oriented Approach Jose Silva-Martinez and Marvin Onabajo
- -
1
Chapter II
Circuit Analysis Fundamentals
From a design engineer’s perspective, it is more relevant to understand a circuit’s operation and limitations
than to find exact mathematical expressions or exact numerical solutions. Precise results can always be
obtained through proper circuit simulations and through numerical analysis with software programs such as
MATLAB or Maple.
These tools cannot design the circuit for you, especially if you are dealing with analog circuits. Even though
design automation programs can synthesize complete digital circuits, and progress is being made toward
automating analog circuit design, engineers will still have to maintain knowledge about the functionality of
circuits and systems.
This chapter will review and introduce some basic circuit analysis methodologies that can be applied to gain
insights into performance characteristics and design trade-offs.
The approach will be to identify and utilize appropriate simplifications that enable approximate analysis,
which is an essential skill when making initial component parameter selections for complex circuits and
when performing optimizations.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35

Partial preview of the text

Download Circuit Analysis Lecture Notes and more Lecture notes Electrical Engineering in PDF only on Docsity!

Chapter II

Circuit Analysis Fundamentals

From a design engineer’s perspective, it is more relevant to understand a circuit’s operation and limitations than to find exact mathematical expressions or exact numerical solutions. Precise results can always be obtained through proper circuit simulations and through numerical analysis with software programs such as MATLAB or Maple.

These tools cannot design the circuit for you, especially if you are dealing with analog circuits. Even though design automation programs can synthesize complete digital circuits, and progress is being made toward automating analog circuit design, engineers will still have to maintain knowledge about the functionality of circuits and systems.

This chapter will review and introduce some basic circuit analysis methodologies that can be applied to gain insights into performance characteristics and design trade-offs.

The approach will be to identify and utilize appropriate simplifications that enable approximate analysis, which is an essential skill when making initial component parameter selections for complex circuits and when performing optimizations.

II.i. DC and AC signals

A typical data acquisition system, such as the one shown in Figure 2.1, consists of a sensor (transducer), a preamplifier, an analog filter, and the signal processor that typically includes an analog-to-digital converter.

The transducer detects the physical quantities to be measured and processed (temperature, pressure, glucose level, frequency, wireless signal, etc.). Usually, the sensor’s output is a small signal (in the range of microvolts to millivolts, i.e., in the range of 10 -6^ to 10 -3^ volts) and it must be amplified to fit within the linear input amplitude range of the analog-to-digital converter.

The desired signal is typically accompanied by undesired information and random noise, the signal may be “cleaned” through a frequency-selective filter that removes most of the undesired frequencies before the sensed signal is converted into a digital format and further processed through dedicated software.

Transducer Preamp Filter (noiseremoval)

Analog Processing Blocks

Electrical Signal

Digital Signal Processor

Biological Digital Processing Blocks System Analog-to- Digital Converter

Biological Signal

Fig. 2.1. Front-end of a typical bio-electronics system.

The electrical signals at the output of the transducer are normally composed of two components: the DC (direct current) and AC (alternating current) signals.

Although signals found in most real world scenarios are not periodic, the analysis and design of electronic circuits is conducted based on periodic signals (sinusoidal waveforms, pulse train, triangular waveforms, modulated waveforms, etc.) because many waveforms can be approximated with summations of periodic signals.

The case of sinusoidal waveforms is especially interesting because periodic waveforms can be represented by a Fourier series using sinusoids as a basis of functions. Many practical signals are continuous-time, periodic with period T, and real functions f(t) are defined for all t; which allows representation with a simplified Fourier series in the following form^1 :

T

f (t) C cosn t n

n

π ω ω 2 = (^) ∑ 0 0 =

∞

=−∞

where ω 0 (2π/T = 2πf) is the fundamental frequency component in radians/sec used for series expansion.

f(t) has to be expressed as a linear combination of sine and cosine waveforms, but to simplify our discussion let us ignore the sine functions. Cn is the n th^ Fourier coefficient, and it is computed as follows:

f^ ( ) te^ dt

T

C

t T

t

jn t n (^) ∫

=^0 − 0

(^1) ω (^0). (2.2)

The signal’s spectrum often has sinusoidal components at frequencies which are multiples of ω 0.

(^1) This is a simplified form of the Fourier series; the general form is ( ) f (t) n Ce ; T = (^) ∑∞ n jn ω^0 t^ ω 0 =^2 π =−∞

Eqs 2.1 and 2.2 are beneficial because they allow one to avoid analyzing circuits for all possible input signals. Instead, it is preferred to analyze them for the case of sinusoidal inputs and, from those results, infer system behavior for any other kind of input signal. This is the so-called frequency domain analysis.

II.2. Decibels and Bode Plots

i) Magnitude response. The magnitude response is usually plotted in decibels (logarithmic scale), making it easier to compare strong and weak signals. In general, it is often very convenient to use logarithmic scales in cases where it is hard to visualize signal differences using linear scales. The magnitude in decibels (dB) of a complex function f(x) is defined as:

f ( ) x dB = 10 log 10 ( f ( ) x 2 )= 20 log 10 ( f ( ) x ), (2.3)

where |f(x)| stands for the magnitude of f(x).

The use of decibel notation (logarithmic scale) is very convenient when dealing with intricate transfer functions.

As an engineering student, you most likely already have a good background in logarithm operations, but be sure to master these properties as they will be used extensively throughout your study of electronics.

Table 2.1 Fundamental properties of the logarithmic function.

Let us consider the following complex function:

1 ( / )

1 2 2

1 2

1 A j x A

A A jx

f x A

= ⋅

where A 1 and A 2 are real numbers, and jx is the imaginary part of the denominator.

Notice that j 2 = -1 and that x is a real variable which can take values in the range of {0 < x <

A 2 in the above equation defines the frequency of the pole, which is a significant parameter because it corresponds to the frequency at which the gain (A 1 /A 2 ) of this first-order transfer function is reduced by 3dB.

The squared magnitude (power) of this function can be expressed as:

(^22) 2

2 ( )^2 ( ) *( )^1 A x

A f x f x f x

where f*(x) is the complex conjugate of f(x).

The magnitude response (plot of the magnitude of f(x) versus x) for this function with A 1 = A 2 = 10

You can observe that it is very difficult to extract information from this plot.

When x is small, the value of f(x) is close to unity, and it decreases rapidly as x approaches 10.

The same transfer function is plotted with dB-scale on the y-axis in Figure 2.3b, where the x-axis is in log 10 scale.

0E+0 2E+2 4E+2 6E+2 8E+2 1E+ x

Magnitude

1E+0 1E+1 1E+2 1E+ x

0

Magnitude (dB)

(a) (b) Figure 2.3. Magnitude response of the function 10/(10 + jx) using: a) linear-linear scale, b) dB-log scale.

For frequencies beyond the pole frequency (A 2 in the previous example) |f(x)| is approximately equal to 20 ∙log 10 (A 1 ) - 20∙log 10 (x) dB; some values for the previous case are provided in Table 2.2.

Beyond the frequency of the pole, a one-decade increase on the x-axis corresponds to a gain change of -20 dB (equivalently, this can be referred to as 20dB attenuation). Hence, the slope of the function with log 10 -scale on the X-axis is -20dB/decade.

It can also be shown that an increase by a factor of 2 (1 octave) on the x-axis corresponds to an attenuation of 6dB for |f(x)| with x >> A 2 , leading to a slope of –6dB/octave.

Table 2.2 Example values for the magnitude of the 20∙log10(x) (x < 1) function in dB. x

10 -1^ -
10 -2^ -
10 -3^ -
10 -4^ -
10 -5^ -

ii) The phase response of the first-order transfer function (solid line) displayed in Figure 2.4 requires a bit more detailed analysis than for the magnitude response.

A complex expression can always be written in polar form: f(x) = |f(x)|ejφ,

φ is the phase of f(x) defined as φ = tan -1^ [Imaginary(f)/Real(f)].

Properties: ( R and Im represent the real and imaginary parts, respectively).

Table 2.2 Relevant characteristics of complex numbers. Function Evaluation

f ( ) x = R + jIm ( ) ( )

tan ( Im/R )

f x R Im

f x f x e

f

j (^) f

1

2 2

=^ −

= +

=

φ

φ

f ( ) x ⋅ g ( ) x f ( ) x ⋅ g ( ) x ej (φ^ f +^ φ g )

g ( ) x

f x ( )

ej (^ f g ) g x

f x φ − φ

( ) ( ) ( ) g ( ) x g ( ) x g ( ) x

f x f x f x m

n ...

1 2

1 2 ⋅



 

 (^) − ∑ ∑ ⋅

⋅ (^) = =

m k gk

n i fi j

m

n (^) e g x g x g x

f x f x f x 1 1 ...

... 1 2

1 2 φ^ φ

Figure 2.4. Phase response for the transfer function in Eq. 2.4 with A 1 = A 2 = 10.

Let us approximate the phase response (Eq. 2.7a) of the transfer function by a piecewise linear function such that below x = 0.1∙A 2 = 1 where the phase is approximated as 0 degrees,

Above x = 10∙A 2 = 100, it is approximated by -90 degrees.

The phase around x = A 2 = 10 (the frequency of the pole) is approximated to have a slope of -45 degrees per decade. Both the exact phase response (solid trace) and the piecewise linear approximation (dashed trace) are shown in Figure 2.4. The largest error introduced by the approximation is +/-5.7 degrees, which is acceptable for most hand calculations.

The previously discussed properties are also valid for the general case.

For instance, consider the following complex function:

A jA x

A f x 2 3

( )^1

This equation can be rearranged to:

jx A

A

A

A

f x

=

3

2

3

1 ( ). (2.8b)

Therefore, this equation becomes similar to Eq. 2.5., and can be expressed in dB as:

3

2 2 2 10 3

2 1 ( ) 10 log 10 10 log x A

A
A
A

f x dB. (2.9)

Now, the transfer function can be easily sketched by examining each part separately for the different ranges that variable x can be in while noting that:

 

  

 = − 

  

 = − −^ − x A

A A A

x Phase f x PhaseA 2

(^13) 2 3

1 [ ( )] [ 1 ] tan tan. (2.11)

For x = 0, the phase shift presented by the circuit is 0 degrees.

A2/A3=

The phase shift is -0.785 radians (= -45 degrees) for x = A 2 /A 3 ; the phase shift when x approaches infinity is - 1.57 radians (-90 degrees).

Notice that the phase shift is close to the limits of the piecewise linear approximation (around 0º when x ≈ 0.1∙A 2 /A 3 , and around -90º when x ≈ 10 ∙A 2 /A 3 ).

The transition from 0 to -90 degrees takes place within approximately two decades around the system’s pole x = A 2 /A 3. The slope of the phase around a pole is approximately –45 degrees/decade, and the maximum error is +/-5.7 degrees. Additionally, t he phase shift is -45 degrees at the pole (x = A 2 /A 3 ).

iii) Magnitude and phase of a general function.

 

  

= jx A

A

jx A

A

A

A A jAx

A jAx f x

4

3

2

1

4

2 3 4

( )^12

. (2.12)

A 1 /A 2 and A 3 /A 4 are termed the zero and pole of the complex function, respectively.

= ⋅^2

2

4

3 10

2

2

2

1 10

2

4

2 ( ) 10 log 10 10 log 10 log x A

A

x A

A
A
A

f x (dB)

. (2.13)

Similar to the case of a single pole function, the three terms of this expression can be approximated for different ranges of x.

The phase in radians can be obtained through the following rearrangements:

tan tan.

( )

3

(^14) 1

(^12)

4

3 2

1

4

3

2

1

 

  

 − 

  

 

  

 − + 

  

 = +

=

− − A

Ax A

Ax

jx A

jx Phase A A

Phase A

jx A

A

jx A

A Phase f x Phase

A 2 /A 1 x(log)

0 degrees A 3 /A 4

90 degrees

45 degrees

Fig. 2.7. Phase response of the first-order transfer function under examination.

iv) Bode plots: General case. A Bode plot is a well-known graphical representation of magnitude and phase plots vs. frequency in logarithmic scale.

General case:

 

  

 

  

=

=

=

=

=

= M i i

i i

N k (^) k

k k M i

i i

N k

k k

jx D

C D

jx B

A B

C jDx

A jBx f x

1

1

1

( )^1 ,

where the symbol ∏ denotes the multiplication of the factors.

Using the properties of the logarithmic function:

= ⋅ ∏

∏

=

= = M i

i

N

k

k x dB C

A f x

1

2

1

2 ( ) 0 ( ) 10 log (^10) , (2.17a)

= =

= 

 

 

 

  + 

  

 − ⋅ 

 

 

  + 

  

  • ⋅ 

 = ⋅

M i (^) i

i N k (^) k

k M i

i

N k

k dB (^) D x

C x B

A D

B f x 1

2

2 10 1

2

2 10

1

2

1

2 ( )( ) 10 log 10 10 log 10 log. (2.17b)