#5e5ce6/projects

Ferrite Beads
...

As I have not used ferrite beads before, I want to first understand how to use them properly & select an appropriate part.

Theoretical Analysis
...

I will begin by using LTspice to analyse an equivalent model.

Pasted image 20231120171100.png

I see that the ferrite bead acts as type of band-reject filter, where it attenuates high-frequency signals until the reactance of the parallel capacitor dominates and begins to act as a short circuit.

Impedance Transfer Function
...

I will first derive the transfer function for the impedance of the equivalent model in the domain, to help myself visualise the frequency response of the ferrite bead.

Analytical
...

Pasted image 20231120173120.png

Taking the circuit into the Laplace domain, I see that I simply have three impedances in parallel, in series with . The equivalent impedance is therefore derived as (assuming steady-state, ie zero initial conditions)

Letting , I find

Let be the denominator term, that is

Combining the two terms into a single fraction, I have

Multiplying by the conjugate of the denominator , ie , I have

Substituting back in, I get

Collecting like terms and simplifying, I have

Pasted image 20231121153742.png

Figure 2 of Analog Dialogue 50-02

Plotting the magnitude response in Desmos, I see a plot that is very similar to Figure 2 of Analog Dialogue 50-02, which is quite encouraging. I do see that although exact values are wrong (the -axis value is off by many orders of magnitude), the general shape of the response is correct. Interestingly, if I reduce the order of the term in the imaginary term to , the plot becomes much closer to the 'expected' value, as seen in the screenshot below.

Pasted image 20231121153827.png

I am not fully certain whether this is an algebraic error in my working, or what else it may be—but I do not think it is valuable to spend too much time on this topic.

Summary

I see in this plot (where the -axis is frequency, in ) that the ferrite bead presents a very low impedance at low frequencies, whilst the inductive reactance dominates. As the frequency increases, I see a resonant peak where the resistive component dominates, where the ferrite bead impedance increases significantly—which would lead to a larger voltage drop and power dissipated across the ferrite bead as heat energy. As the frequency continues to increase further however, the capacitive reactance dominates, such that the ferrite bead returns to presenting a low impedance.

Again, I see the band-reject characteristic of the ferrite bead.

MATLAB
...

%%% FerriteImpedance.m
% A MATLAB script to model the impedance response of a ferrite bead.
%
% Author: James Bao

%% Sanitise Workspace
clear;
close all;
clc;

fprintf("FerriteBead.m\n\n");

%% Model Parameters

% Series Resistance
Rs = 0.3;

% Parasitic Capacitance
Cpar = 1.678e-12;

% Bead Inductance
Lbead = 1.208e-6;

% AC Resistance
Rac = 1.082e3;

%% Transfer Function

X_Cpar = tf(1, [Cpar 0]);
X_Lbead = tf([Lbead 0], 1);

Z = Rs + (1 / ((1/X_Cpar) + (1/X_Lbead) + (1/Rac)));

%% Plot Frequency Response

[mag, phase, w] = bode(Z, {0.1e6, 100e9});

w = w / (2 * pi * 1e6); % Convert w to f

semilogx(w, squeeze(mag));

xlabel('Frequency (MHz)', 'FontSize', 24);
ylabel('Impedance (Ohms)', 'FontSize', 24);
title('Impedance Response of Ferrite Bead Model', 'FontSize', 28);

Pasted image 20231121153407.png

Using MATLAB to plot the impedance response of my ferrite bead model with respect to frequency in order to validate my analytical working, I see that I reproduce the exact plot seen in the Analog Dialogue 50-02 article, and very similar to my Desmos plots.

Frequency Response
...

Inductance
...

Pasted image 20231120171814.png

Pasted image 20231121014847.png

I see that increasing the inductance will pull the crossover frequency lower, whilst decreasing it will push it higher.

Capacitance
...

Pasted image 20231121014944.png

Pasted image 20231121014954.png

I see identical behaviour when changing the capacitance; the crossover frequency is inversely proportional to the parasitic capacitance .

Resistance
...

Pasted image 20231121015122.png

Pasted image 20231121015132.png

Finally, I see that the AC loss resistance does not have an effect on the crossover frequency, but does affect the amount of attenuation within the rejection band. This is as I would expect, as I would expect the crossover frequency to be dependent only on the reactive elements—whilst captures the impedance presented to signals within the reject-band—and consequently the voltage drop & power dissipated.

Pasted image 20231121015443.png

Pasted image 20231121015458.png

Finally, I see a similar scaling behaviour when changing the series resistor , but this is applied to the entire response, rather than just within the rejection band. This is again as I would expect, as this series resistor cannot be reduced by a parallel reactive element; it always contributes to the total impedance regardless of frequency.

Implementation
...

Design
...

Pasted image 20231121132001.png

Modelling a simple filter network in LTspice with a somewhat arbitrarily selected ferrite bead connected to my Microcontroller > Decoupling capacitors, I see a frequency response with a significant resonant peak at . This immediately tells me to expect a significant overshoot/ringing when looking at the time-domain step response of this filter, such as if there were to be some switching noise at the input.

Pasted image 20231121131701.png

Pasted image 20231121132933.png

Adjusting the source to model some (very arbitrary, and very exaggerated) switching noise and performing a transient analysis, I see exactly that ringing at the output of my filter.

Simplifying the ferrite bead to be a pure inductor of reactance , I can derive the transfer function of the filter to be a simple impedance divider with gain

Considering the general form of a second-order transfer function

I immediately see that I have a system with a natural frequency where

and a damping ratio

This tells me that this models an undamped system, which helps to explain why I see so much oscillation. Of course, I see that the real system is, in fact, damped, but I still see value in this idealised understanding. As explained in the Analog Dialogue article, this is because the resistive component does not become significant until a certain frequency, below which the ferrite bead does indeed behave as an ideal inductor.

This also tells me that the resonant frequency occurs at the natural frequency , that is

Applying this to my model, I calculate a resonant frequency —which is very close to the observed resonant frequency in my simulations. I would indeed expect a slight deviation due to the inaccuracies of my idealised model.

I know from control theory that, in order to reduce the magnitude of the resonant peak in the frequency domain, I must increase the damping ratio . I can do this by inserting an additional resistive element to dissipate energy, which I will add in series with the inductor.

This gives me a new gain

I see that I now have a damping ratio given by

such that

Therefore, for my original circuit with parameters

µµ

and a desired damping ratio

I compute a necessary resistance

Pasted image 20231121174348.png

Pasted image 20231121174420.png

Simulating the response of this damped filter in LTspice, I indeed see that the resonant peak and ringing has been eliminated, and the overshoot significantly reduced. Great!

I do however still see that the switching noise is still present—this tells me that the roll-off frequency of my filter is too high, and is not attenuating the frequencies of interest. I know that my arbitrary, artificial switching pulse has an on-time of µwith edges of . I will first try to filter out the fundamental frequency of

µ

I will therefore try to place my new roll-off frequency one decade lower than this, that is

Assuming a fixed inductor value, I will derive an expression for the new capacitance as

and a new damping resistor

Although these component values (ie ) are not necessarily realistic (stemming from the arbitrary simulation setup), I am mostly interested in learning the process and developing an intuition around such resonant systems, and particularly the importance of damping elements—as I have not really had to deal with this before.

Pasted image 20231121174703.png

Pasted image 20231121174609.png

I see that these new and values do indeed pull the roll-off frequency to the left, and lead to an much cleaner transient response.

Summary

From this exploration, I have learnt:

  • The filter formed with a ferrite bead and capacitor produces a low-pass characteristic
  • Without sufficient damping, the filter can exhibit a resonant peak and cause significant ringing
  • The cut-off frequency must be carefully chosen to actually attenuate the high-frequency noise of interest, where the cut-off frequency is dependent on the ferrite bead