Creating a Bode Plot for a Series RC High Pass Filter

In summary, the student is trying to figure out how to make a Bode plot of an RC high pass filter, but is unsure of how to do it because of the phase difference between the input voltages and the output voltage. They are trying to measure peak-to-peak voltages, but are not sure if they should take measurements over the same point on the "time" axis or is peak-to-peak ok even if at different points with respect to time axis. They are also trying to figure out where to take the Vout measurement for a high pass filter.
  • #1
AdkinsJr
150
0

Homework Statement


Make a blode plot of a series RC high pass filter (log(gain) vs. f)...

Homework Equations



log(Gain)=log(Vout/Vin)
I'm pretty sure the "Gain" is just the transfer function, for a highpass it should be the V_in = Vsupply, and V_out = V_capacitor.

The Attempt at a Solution



I have an RC circuit hooked up and I'm going to make the bode plot taking data from the oscilloscope, I'm just going to vary the frequency and collect voltages, but I'm not sure how to go about doing it because of the phase difference between the input voltages (Ch. 2 blue line) and the output voltage (over the capacitor, Ch.1 yellow line).

Can I just measure peak-to-peak? I'm not 100% sure if that's correct because of the phase difference between peaks. Do I need to take voltages over the same point on the "time" axis or is peak-to-peak ok even if at different points with respect to time axis?
 

Attachments

  • peak-to-peak.PNG
    peak-to-peak.PNG
    5.7 KB · Views: 521
Physics news on Phys.org
  • #2
There are two kinds of Bode plots - |gain| and phase. If all you need is the gain, pick the amplitudes of input & output voltages and disregard the phase shift.
 
  • #3
Peak-to-peak voltages will work fine. You can always convert them to peak values (divide by 2).

You might want to think about where you take the Vout measurement. That is, what's the placement of the resistor and capacitor for a high-pass filter? It's essentially a voltage divider. How does the impedance of a capacitor vary with frequency?

A Bode plot generally displays the power gain in dB. When you work with voltage ratios (Vout/Vin) take 20 Log(Vout/Vin) to get the equivalent power gain in dB.
 
  • #4
Actually what I have hooked up is a low pass filter, I made a mistake there... I'm asked to make a high pass and a low pass and put them in series to see what happens. But the circuit I have now is just the low pass, ...a resistor and capacitor in series, it's the capacitor connected to the low end (ground) so this should be low pass.

So now I need to measure the voltages over the resistor and the supply (entire circuit). So in my excel spreadsheet I should just make a column of "V_supply - V_capacitor" to have my " V_resistor" and use that as my V_out when I make the Bode plot for the low pass.

For a high pass I'll swap the capacitor and resistor and measure the voltage over the capacitor.
 
  • #5
Also I think I see why it doesn't matter if the peak values are at different "times" because the transfer function is a function of "s" which is a complex variable dependent on frequency, so there is no time dependency.
 
  • #6
gneill said:
A Bode plot generally displays the power gain in dB. When you work with voltage ratios (Vout/Vin) take 20 Log(Vout/Vin) to get the equivalent power gain in dB.
No, Bode gain plots are typically voltage gain plots with dB = 20log10(Vout/Vin).
 
  • #7
AdkinsJr said:
Also I think I see why it doesn't matter if the peak values are at different "times" because the transfer function is a function of "s" which is a complex variable dependent on frequency, so there is no time dependency.
You could have used a voltmeter in lieu of your oscilloscope in which case you would not have been aware of time at all. Time has nothing to do with the gain measurement.

Just to be sure: your Vin is hooked up to the generator high and low sides and your 'scope (Vout) to the capacitor high and low (low being ground) for the lowpass. Yes, for the high-pass you swap the R and C.
 
  • #8
rude man said:
No, Bode gain plots are typically voltage gain plots with dB = 20log10(Vout/Vin).

There are 10 decibels in a bel.

$$dB = 10 log_{10}\left( \left(\frac{V_{out}}{V_{in}}\right)^2\right) = 20 log_{10}\left( \frac{V_{out}}{V_{in}}\right)$$
 
  • #9
gneill said:
There are 10 decibels in a bel.

$$dB = 10 log_{10}\left( \left(\frac{V_{out}}{V_{in}}\right)^2\right) = 20 log_{10}\left( \frac{V_{out}}{V_{in}}\right)$$
Thanks g I had that part figured out already :)
A Bode plot graphs 20log(Vout/Vin) = 20log (voltage gain).
 

1. What is a Bode plot?

A Bode plot is a graphical representation of the frequency response of a system. It shows how the amplitude and phase of a signal change with different frequencies. In an RC circuit, the Bode plot is used to analyze the behavior of the circuit in response to a sinusoidal input signal.

2. How do I plot a Bode plot for an RC circuit?

To plot a Bode plot for an RC circuit, you will need to calculate the transfer function of the circuit, which is the ratio of the output voltage to the input voltage. Then, use this transfer function to calculate the magnitude and phase of the output voltage at different frequencies. Finally, plot these values on a logarithmic scale to create the Bode plot.

3. What information can I obtain from a Bode plot of an RC circuit?

A Bode plot of an RC circuit can provide information about the frequency response and stability of the circuit. The magnitude plot shows the gain of the circuit at different frequencies, while the phase plot shows the phase shift between the input and output signals. By analyzing these plots, you can determine the cutoff frequency, bandwidth, and resonant frequency of the circuit.

4. How does the Bode plot change for different values of resistance and capacitance in an RC circuit?

The Bode plot of an RC circuit will change depending on the values of resistance and capacitance. A larger resistance will result in a lower cutoff frequency and a steeper slope in the magnitude plot. Similarly, a larger capacitance will result in a higher cutoff frequency and a flatter slope in the magnitude plot. The phase plot will also change, with a larger capacitance causing a greater phase shift at high frequencies.

5. Can I use a Bode plot to design an RC circuit?

Yes, a Bode plot can be a useful tool in designing an RC circuit. By analyzing the magnitude and phase plots, you can adjust the values of resistance and capacitance to achieve a desired frequency response. It can also help you determine the stability of the circuit and prevent unwanted oscillations or distortion in the output signal.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
9
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
9
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
2K
  • Classical Physics
Replies
7
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Classical Physics
Replies
1
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
Back
Top