2.1 RC Filter Example
For this example, it is required to design a simple RC low-pass filter to obtain an analog output from a pulse-width modulated signal with a bandwidth of 4 kHz.
Step 1: Select the low-pass filter’s resistor and capacitor values.
Equation 2-1 shows how to calculate the values for R and C based on the cut-off frequency, ƒC. In this example, the resistor values were calculated based on fixed capacitor values, as shown in Table 2-1.
| Capacitor Value | Calculated Resistor Value |
|---|---|
| 1 pF | 40 MΩ |
| 0.01 µF | 4 kΩ |
| 0.022 µF | 1.8 kΩ |
Step 2: Calculate attenuation at the PWM frequency.
Equation 2-2 shows the attenuation in decibels (dB) based on the RC values and the PWM frequency.
| FPWM | R Value | C Value | Attenuation (dB) @ FPWM |
|---|---|---|---|
| 10 kHz | 40 MΩ | 1 pF | -8.64 |
| 10 kHz | 4 kΩ | 0.01 µF | -8.64 |
| 10 kHz | 1.8 kΩ | 0.022 µF | -8.57 |
| 100 kHz | 40 MΩ | 1 pF | -28.01 |
| 100 kHz | 4 kΩ | 0.01 µF | -28.01 |
| 100 kHz | 1.8 kΩ | 0.022 µF | -27.92 |
