Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
learn:courses:real-analog-chapter-11:start [2017/01/18 21:37] – [Bode Plots for First Order Low-pass Filters] Marthalearn:courses:real-analog-chapter-11:start [2023/02/08 20:37] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Real Analog: Chapter 11 ====== ====== Real Analog: Chapter 11 ======
-====== 11. Introduction and Chapter Objectives ======+[[{}/learn/courses/real-analog-chapter-10/start|Back to Chapter 10]] 
 +-->Chapter 11 Materials#   
 +  * Lecture Material: 
 +    * {{ :learn:courses:real-analog-chapter-11:lecture29.ppt |Lecture 29 PowerPoint Slides}}: Frequency response examples, frequency response plots & signal spectra, filters 
 +    * {{ :learn:courses:real-analog-chapter-11:lecture30.ppt |Lecture 30 PowerPoint Slides}}: Checking frequency response results, time-to-frequency domain relations for first-order filters, Bode plots 
 +    * [[http://www.youtube.com/watch?v=X7VaMxhW2xY&list=PLDEC730F6A8CDE318&index=32&feature=plpp_video| Lecture 29 Video]] 
 +    * [[http://www.youtube.com/watch?v=lyqgIl8KM4M&list=PLDEC730F6A8CDE318&index=33&feature=plpp_video| Lecture 30 Video]] 
 +  * Chapter 11 Videos: 
 +    * [[http://www.youtube.com/watch?v=Bw6ahZ8znNU&list=PL170A01159D42313D&index=22&feature=plpp_video| Lab 11 Video 1]]: Introduction to Frequency Response: Using frequency response to estimate a circuit's behavior. A low-pass filter is used as an example to filter noise out of a sinusoidal signal. 
 +    * [[http://www.youtube.com/watch?v=R_7W6RuCUn0&list=PL170A01159D42313D&index=23&feature=plpp_video| Lab 11 Video 2]]: Practical Filters: Examples of low-pass filters are presented. The properties of passive vs. active filters are compared, especially relative to the effects of applying a "load" to the filter. 
 +    * [[http://www.youtube.com/watch?v=y-KQ2NMxws0&list=PL170A01159D42313D&index=24&feature=plpp_video| Lab 11 Video 3]]: Bode Plots: Bode plots and their creation using the Analog Discovery Network Analyzer. 
 +  * {{ :learn:courses:real-analog-chapter-11:real-analog-chapter-11.pdf | Chapter 11 Complete PDF}} 
 +    * {{ :learn:courses:real-analog-chapter-11:lab11p2p1.pdf |Lab 11.2.1}} 
 +      * {{ :learn:courses:real-analog-chapter-11:lab11p2p1_worksheet.docx |Worksheet 11.2.1}} 
 +    * {{ :learn:courses:real-analog-chapter-11:lab11p3p1.pdf |Lab 11.3.1}} 
 +      * {{ :learn:courses:real-analog-chapter-11:lab11p3p1_worksheet.docx |Worksheet 11.3.1}} 
 +    * {{ :learn:courses:real-analog-chapter-11:lab11p3p2.pdf |Lab 11.3.2}} 
 +      * {{ :learn:courses:real-analog-chapter-11:lab11p3p2_worksheet.docx |Worksheet 11.3.2}} 
 +    * {{ :learn:courses:real-analog-chapter-11:lab11p3p3.pdf |Lab 11.3.3}} 
 +      * {{ :learn:courses:real-analog-chapter-11:lab11p3p3_worksheet.docx |Worksheet 11.3.3}} 
 +    * {{ :learn:courses:real-analog-chapter-11:lab11p3p4.pdf |Lab 11.3.4}} 
 +      * {{ :learn:courses:real-analog-chapter-11:lab11p3p4_worksheet.docx |Worksheet 11.3.4}} 
 +    * {{ :learn:courses:real-analog-chapter-11:lab11p3p5.pdf |Lab 11.3.5}} 
 +      * {{ :learn:courses:real-analog-chapter-11:lab11p3p5_worksheet.docx |Worksheet 11.3.5}} 
 +    * {{ :learn:courses:real-analog-chapter-11:lab11p4p1.pdf |Lab 11.4.1}} 
 +      * {{ :learn:courses:real-analog-chapter-11:lab11p4p1_worksheet.docx |Worksheet 11.4.1}} 
 +    * {{ :learn:courses:real-analog-chapter-11:lab11p4p2.pdf |Lab 11.4.2}} 
 +      * {{ :learn:courses:real-analog-chapter-11:lab11p4p2_worksheet.docx |Worksheet 11.4.2}} 
 +    * {{ :learn:courses:real-analog-chapter-11:lab11p4p3.pdf |Lab 11.4.3}} 
 +      * {{ :learn:courses:real-analog-chapter-11:lab11p4p3_worksheet.docx |Worksheet 11.4.3}} 
 +  * {{ :learn:courses:real-analog-chapter-11:realanalog-exercisesolutions-chapter11.pdf |Exercise Solutions}}: Chapter 11 exercise solutions 
 +  * {{ :learn:courses:real-analog-chapter-11:homework11.docx |Homework}}: Chapter 11 homework problems 
 + 
 +<-- 
 + 
 +===== 11. Introduction and Chapter Objectives =====
 In section 10.6, we saw that a system’s frequency response provided a steady-state input-output relationship for a system, as a function of frequency. We could apply this frequency response to the phasor representation of the input signal in order to determine the system’s steady-state sinusoidal response – we simply evaluated the frequency response at the appropriate frequencies to determine the effect of the system on the input sinusoids. This approach had the potential for simplifying our analysis considerably, particularly for the case in which the input signal contained multiple sinusoids with different frequencies. In section 10.6, we saw that a system’s frequency response provided a steady-state input-output relationship for a system, as a function of frequency. We could apply this frequency response to the phasor representation of the input signal in order to determine the system’s steady-state sinusoidal response – we simply evaluated the frequency response at the appropriate frequencies to determine the effect of the system on the input sinusoids. This approach had the potential for simplifying our analysis considerably, particularly for the case in which the input signal contained multiple sinusoids with different frequencies.
  
-In [[https://reference.digilentinc.com/learn/courses/real-analog-chapter-10/start|Chapter 10]], the signals we considered consisted only of individual sinusoids. It is more useful, however, in some ways to think in terms of the inputs and outputs of the system as functions of frequency, in the same way in which we considered the frequency response of the system to be a function of frequency in section 10.6. We can then perform our analysis of the system entirely in terms of the frequencies involved. This leads to the use of the system’s frequency response directly as a design and analysis tool. In many cases, this means that the actual time- domain behavior of the system or signal is of limited interest (or in some cases, not considered at all). Some examples of frequency domain analyses are:+In [[/learn/courses/real-analog-chapter-10/start|Chapter 10]], the signals we considered consisted only of individual sinusoids. It is more useful, however, in some ways to think in terms of the inputs and outputs of the system as functions of frequency, in the same way in which we considered the frequency response of the system to be a function of frequency in section 10.6. We can then perform our analysis of the system entirely in terms of the frequencies involved. This leads to the use of the system’s frequency response directly as a design and analysis tool. In many cases, this means that the actual time- domain behavior of the system or signal is of limited interest (or in some cases, not considered at all). Some examples of frequency domain analyses are:
   - //Determining dominant sinusoidal frequency components in a measured signal//. Complex signals can often be represented as a superposition of several sinusoidal components with different frequencies. Identifying sinusoidal components with large amplitudes (the so-called dominant frequencies) can help with many design problems. One application of this is in the area of combustion instability – combustion processes in rocket engines can become unstable due to a variety of reasons, any of which can result in catastrophic failure of the engine. The type of instability which occurs is generally linked to a particular frequency; identification of the frequency of the pressure oscillations associated with the combustion instability is generally the first step in determining the cause of the instability.   - //Determining dominant sinusoidal frequency components in a measured signal//. Complex signals can often be represented as a superposition of several sinusoidal components with different frequencies. Identifying sinusoidal components with large amplitudes (the so-called dominant frequencies) can help with many design problems. One application of this is in the area of combustion instability – combustion processes in rocket engines can become unstable due to a variety of reasons, any of which can result in catastrophic failure of the engine. The type of instability which occurs is generally linked to a particular frequency; identification of the frequency of the pressure oscillations associated with the combustion instability is generally the first step in determining the cause of the instability.
   - //Designing systems to provide a desired frequency response//. Audio components in stereo systems are generally designed to produce a desired frequency response. A graphic equalizer, for example, can be used to boost (or amplify) some frequency ranges and attenuate other frequency ranges. When adjusting the settings on an equalizer, you are essentially directly adjusting the system’s frequency response to provide a desired system response.   - //Designing systems to provide a desired frequency response//. Audio components in stereo systems are generally designed to produce a desired frequency response. A graphic equalizer, for example, can be used to boost (or amplify) some frequency ranges and attenuate other frequency ranges. When adjusting the settings on an equalizer, you are essentially directly adjusting the system’s frequency response to provide a desired system response.
Line 40: Line 75:
 In Figure 11.2, the output is determined by multiplying the phasor representation of the input by the system’s frequency response. It is important to keep in mind that the arguments of this multiplication are complex functions of frequency – both the input and the frequency response at any frequency are complex numbers, so the output at any frequency is also a complex number. We typically use polar form to represent these complex numbers, so the __amplitude of the output signal is the product of the amplitude of the input signal and the magnitude response of the system__ and the __phase of the output signal is the sum of the phase of the input and the phase response of the system__. Mathematically, these are expressed as: In Figure 11.2, the output is determined by multiplying the phasor representation of the input by the system’s frequency response. It is important to keep in mind that the arguments of this multiplication are complex functions of frequency – both the input and the frequency response at any frequency are complex numbers, so the output at any frequency is also a complex number. We typically use polar form to represent these complex numbers, so the __amplitude of the output signal is the product of the amplitude of the input signal and the magnitude response of the system__ and the __phase of the output signal is the sum of the phase of the input and the phase response of the system__. Mathematically, these are expressed as:
  
-$$|\underline{Y}(j \omega)|=|\underline{U}(j \omega)| \cdot |H (j \omega)|    (Eq. 11.1)+$$|\underline{Y}(j \omega)|=|\underline{U}(j \omega)| \cdot |H (j \omega)|    (Eq. 11.1)$$
  
 And  And 
Line 87: Line 122:
  
 $$\underline{U}_{j \omega} = \begin{cases} $$\underline{U}_{j \omega} = \begin{cases}
-    j \omega, & 0 < \leq 1 \\+    j \omega, & 0 < \omega \leq 1 \\
     j(2-\omega), & 1< \omega < 2 \\     j(2-\omega), & 1< \omega < 2 \\
     0, & \text{otherwise}     0, & \text{otherwise}
Line 258: Line 293:
 And:  And: 
  
-$$\angle H(j \omega) = =\tan^{-1}(\frac{\omega}{2})$$+$$\angle H(j \omega) = -\tan^{-1}(\frac{\omega}{2})$$
  
 Plotting these functions results in the graphical frequency response shown below: Plotting these functions results in the graphical frequency response shown below:
Line 295: Line 330:
 ==== Checking the Frequency Response ==== ==== Checking the Frequency Response ====
 A circuit’s __amplitude response__ is relatively easy to determine at low and high frequencies. For very low ($\omega \rightarrow 0$) and very high ($\omega \rightarrow \infty$) frequencies, the circuit can be modeled as a purely resistive network. Since resistive networks are relatively easy to analyze (no complex arithmetic is required), this can provide a valuable tool for checking results or predicting expected behavior. A circuit’s __amplitude response__ is relatively easy to determine at low and high frequencies. For very low ($\omega \rightarrow 0$) and very high ($\omega \rightarrow \infty$) frequencies, the circuit can be modeled as a purely resistive network. Since resistive networks are relatively easy to analyze (no complex arithmetic is required), this can provide a valuable tool for checking results or predicting expected behavior.
-  * __Capacitors at low and high frequencies__: A capacitor’s impedance is $Z_C = \frac{1}{j \omega C}$. At low frequencies ($\omega \rightarrow 0$), the impedance $Z_C \rightarrow \infty$, and the capacitor behaves as an open circuit. At high frequencies (\omega \rightarrow \infty$) the impedance $Z_C \rightarrow 0$ and the capacitor behaves like a short circuit.  +  * __Capacitors at low and high frequencies__: A capacitor’s impedance is $Z_C = \frac{1}{j \omega C}$. At low frequencies ($\omega \rightarrow 0$), the impedance $Z_C \rightarrow \infty$, and the capacitor behaves as an open circuit. At high frequencies ($\omega \rightarrow \infty$) the impedance $Z_C \rightarrow 0$ and the capacitor behaves like a short circuit.  
-  * __Inductors at low and high frequencies__: an inductor's impedance is $Z_L = j \omega L$. At low frequencies (\omega \rightarrow 0$), the impedance $Z_L \rightarrow 0$, and the inductor behaves as a short circuit. At high frequencies ($\omega \rightarrow \infty$) the impedance $Z_L \rightarrow \infty$ and the inductor behaves like an open circuit. +  * __Inductors at low and high frequencies__: an inductor's impedance is $Z_L = j \omega L$. At low frequencies ($\omega \rightarrow 0$), the impedance $Z_L \rightarrow 0$, and the inductor behaves as a short circuit. At high frequencies ($\omega \rightarrow \infty$) the impedance $Z_L \rightarrow \infty$ and the inductor behaves like an open circuit. 
  
 Please note that the above statements are relative only to the amplitude response.  Please note that the above statements are relative only to the amplitude response. 
Line 338: Line 373:
 {{ :learn:courses:real-analog-chapter-11:chapter11t.png |Example image 2.}} {{ :learn:courses:real-analog-chapter-11:chapter11t.png |Example image 2.}}
  
-As $\omega \rightarrow 0$, the circuit becomes a voltage divider, and $v_{out} = \frac{3k \Omega}{2k \Omega + 3k \Omega} \cdot v_{in}$, so that the circuit;s gain is $\frac{3}{5}$. As $\omega \rightarrow \infty$, $v_{out}$ is measured across a short circuit, and the gain is zero.+As $\omega \rightarrow 0$, the circuit becomes a voltage divider, and $v_{out} = \frac{3k \Omega}{2k \Omega + 3k \Omega} \cdot v_{in}$, so that the circuit's gain is $\frac{3}{5}$. As $\omega \rightarrow \infty$, $v_{out}$ is measured across a short circuit, and the gain is zero.
  
  
Line 479: Line 514:
 The maximum magnitude response is approximately //K// when $\omega \rightarrow \infty$ and the magnitude response is zero at $\omega = 0$. Thus, the filter is passing high frequencies and stopping low frequencies. __The differential equation describes a high-pass filter__. The maximum magnitude response is approximately //K// when $\omega \rightarrow \infty$ and the magnitude response is zero at $\omega = 0$. Thus, the filter is passing high frequencies and stopping low frequencies. __The differential equation describes a high-pass filter__.
  
-The magnitude response of the filter is shown in Figure 11.8. As with the non-ideal low-pass filter, the frequency response is a smooth curve, rather than the discontinuous function shown in Figure 11.6. Again, there is no single frequency that obviously separates the passband from the stopband, so we must choose a relatively arbitrary point to define the boundary between the passband and the stopband. Consistent with our choice of cutoff frequency for the low-pass filter, the cutoff frequency for a high-pass filter is defined as the frequency at which the magnitude response is $\frac{1}{\sqrt{2}}times the magnitude response at $\omega \rightarrow \infty$. For the magnitude response given by equation (1.10), the cutoff frequency is $\omega = \omega_c$. This point is indicated on Figure 11.8.+The magnitude response of the filter is shown in Figure 11.8. As with the non-ideal low-pass filter, the frequency response is a smooth curve, rather than the discontinuous function shown in Figure 11.6. Again, there is no single frequency that obviously separates the passband from the stopband, so we must choose a relatively arbitrary point to define the boundary between the passband and the stopband. Consistent with our choice of cutoff frequency for the low-pass filter, the cutoff frequency for a high-pass filter is defined as the frequency at which the magnitude response is $\frac{1}{\sqrt{2}}times the magnitude response at $\omega \rightarrow \infty$. For the magnitude response given by equation (1.10), the cutoff frequency is $\omega = \omega_c$. This point is indicated on Figure 11.8.
  
 {{ :learn:courses:real-analog-chapter-11:chapter11be.png?nolink |Figure 11.8.}} {{ :learn:courses:real-analog-chapter-11:chapter11be.png?nolink |Figure 11.8.}}
Line 486: Line 521:
   * The cutoff frequency is also called the corner frequency, the 3dB frequency, or the half-power point.   * The cutoff frequency is also called the corner frequency, the 3dB frequency, or the half-power point.
   * The cutoff frequency for __both__ low-pass and high-pass filters is defined as the frequency at which the magnitude is $\frac{1}{\sqrt{2}}$ times the __maximum__ value of the magnitude response.    * The cutoff frequency for __both__ low-pass and high-pass filters is defined as the frequency at which the magnitude is $\frac{1}{\sqrt{2}}$ times the __maximum__ value of the magnitude response. 
-  * It can be seen from examples in section 11.2 that the phase response of a first order low-pass filter is $0^{\circ}$ at $\omaga = 0$ and decreases to $-90^{\circ}$ as $\omega \rightarrow \infty$. The phase response is $-45^{\circ}$ at the cutoff frequency.+  * It can be seen from examples in section 11.2 that the phase response of a first order low-pass filter is $0^{\circ}$ at $\omega = 0$ and decreases to $-90^{\circ}$ as $\omega \rightarrow \infty$. The phase response is $-45^{\circ}$ at the cutoff frequency.
   * It can be seen from examples in section 11.2 that the phase response of a first order high-pass filter is $90^{\circ}$ at $\omega = 0$ and decreases to $0^{\circ}$ as $\omega \rightarrow \infty$. The phase response is $45^{\circ}$ at the cutoff frequency.   * It can be seen from examples in section 11.2 that the phase response of a first order high-pass filter is $90^{\circ}$ at $\omega = 0$ and decreases to $0^{\circ}$ as $\omega \rightarrow \infty$. The phase response is $45^{\circ}$ at the cutoff frequency.
   * For both low-pass and high-pass filters, the cutoff frequency is the inverse of the time constant for the circuit, so that $\omega_c = \frac{1}{\tau}$.    * For both low-pass and high-pass filters, the cutoff frequency is the inverse of the time constant for the circuit, so that $\omega_c = \frac{1}{\tau}$. 
Line 596: Line 631:
 Magnitude responses are often presented in terms of decibels (abbreviated dB). Decibels are a logarithmic scale. A magnitude response is presented in units of decibels according to the following conversion: Magnitude responses are often presented in terms of decibels (abbreviated dB). Decibels are a logarithmic scale. A magnitude response is presented in units of decibels according to the following conversion:
  
-$$|H(j \omega)|_{dB} = 20log_{10} (|H(j \omega)|)  (Eq. 11.11)+$$|H(j \omega)|_{dB} = 20log_{10} (|H(j \omega)|)  (Eq. 11.11)$$
  
 Strictly speaking, magnitudes in decibels are only appropriate if the amplitude response is unitless (e.g. the units of the input and output must be the same in order for the logarithm to be a mathematically appropriate operation). However, in practice, magnitude responses are often presented in decibels regardless of the relative units of the input and output – thus, magnitude responses are provided in decibels even if the input is voltage and the output is current or vice-versa. Strictly speaking, magnitudes in decibels are only appropriate if the amplitude response is unitless (e.g. the units of the input and output must be the same in order for the logarithm to be a mathematically appropriate operation). However, in practice, magnitude responses are often presented in decibels regardless of the relative units of the input and output – thus, magnitude responses are provided in decibels even if the input is voltage and the output is current or vice-versa.
  
 === Brief Historical Note === === Brief Historical Note ===
-Decibel units are related to the unit “bel”, which are named after Alexander Graham Bell. Units of bels are, strictly speaking, applicable only to power. Power in bels is expressed as $log_{10}(\frac{P}{P}_{ref})$, where $P_{ref}$ is a “reference” power. Bels are an inconveniently large unit, so these were converted to decibels, or tenths of a bel. Thus, power in decibels is $10log_{10}(\frac{P}{P}_{ref})$. Since the units of interest to electrical engineers are generally voltages or currents, which must be squared to obtain power, we obtain $20log_{10}(|H(j \omega)|)$. The significant aspect of the decibel unit for us is not, however, the multiplicative factor of “20”), but the fact that the unit is __logarithmic__.+Decibel units are related to the unit “bel”, which are named after Alexander Graham Bell. Units of bels are, strictly speaking, applicable only to power. Power in bels is expressed as $log_{10}( \frac{P}{P}_{ref} )$, where $P_{ref}$ is a “reference” power. Bels are an inconveniently large unit, so these were converted to decibels, or tenths of a bel. Thus, power in decibels is $10log_{10}(\frac{P}{P}_{ref})$. Since the units of interest to electrical engineers are generally voltages or currents, which must be squared to obtain power, we obtain $20log_{10}(|H(j \omega)|)$. The significant aspect of the decibel unit for us is not, however, the multiplicative factor of “20”), but the fact that the unit is __logarithmic__.
  
 We conclude this subsection with a table of common values for $|H(j \omega)|$ and their associated decibel values. We conclude this subsection with a table of common values for $|H(j \omega)|$ and their associated decibel values.
Line 656: Line 691:
 {{ :learn:courses:real-analog-chapter-11:chapter11bn.png?nolink |Example image 1.}} {{ :learn:courses:real-analog-chapter-11:chapter11bn.png?nolink |Example image 1.}}
  
-The frequency response for this circuit is $H(j \omega) = \frac{1}{j \omega + 2}$. Therefore, the cuttof frequency is $\omega_c=2$ rad/sec and the gain in decibels at low frequencies is $|H(j0)|_{dB} = 20log_{10} \left( \frac{1}{2} \right) \approx -6dB$. Thus, the straight-line magnitude response is -6dB below the cutoff frequency and decreases by 20dB/decade above the cutoff frequency. The straight-line phase response is $0^{\circ}$ below 0.2rad/sec, $-90^{\circ}$ above 20 rad/sec and a straight line between these frequencies. The associated plots are shown below.+The frequency response for this circuit is $H(j \omega) = \frac{1}{j \omega + 2}$. Therefore, the cutoff frequency is $\omega_c=2$ rad/sec and the gain in decibels at low frequencies is $|H(j0)|_{dB} = 20log_{10} \left( \frac{1}{2} \right) \approx -6dB$. Thus, the straight-line magnitude response is -6dB below the cutoff frequency and decreases by 20dB/decade above the cutoff frequency. The straight-line phase response is $0^{\circ}$ below 0.2rad/sec, $-90^{\circ}$ above 20 rad/sec and a straight line between these frequencies. The associated plots are shown below.
  
 {{ :learn:courses:real-analog-chapter-11:chapter11bo.png?nolink |Example image 2.}} {{ :learn:courses:real-analog-chapter-11:chapter11bo.png?nolink |Example image 2.}}
Line 684: Line 719:
 {{ :learn:courses:real-analog-chapter-11:chapter11bq.png?nolink |Exercise image 2.}} {{ :learn:courses:real-analog-chapter-11:chapter11bq.png?nolink |Exercise image 2.}}
  
 +
 +[[{}/learn/courses/real-analog-chapter-10/start|Back to Chapter 10]]
 +[[{}/learn/courses/real-analog-chapter-12/start|Go to Chapter 12]]