In this exercise we shall simulate the performance of a differential mains filter that is used to reduce harmonics emitted into the mains supply by a product that uses a SMPS.
We shall start by considering an idealised filter and we shall assume that the LISN is perfect.
The current generator driving the filter is a simulated SMPS current waveform.
We will then consider a filter with a bulk storage capacitor possessing both series resistance (ESR) and series inductance (ESL).
The filter used in these exercises is made up of typical components, it has not been designed to meet a specification.
You will develop some of these ideas in assignment 2.
The circuit diagram of an idealised differential mains filter is shown in Fig X7.1. The mains supply and the LISN components have been omitted, which is equivalent to assuming the LISN is perfect.

The current waveform used in the exercises is a simulated SMPS current shown in Fig X7.2.

The period of the SMPS switching frequency is 10uS, which corresponds to a switching frequency of 100KHz.
The current rises linearly to a maximum value of 50mA, in 5.0uS.
The current generator can be found at:
MB/Place/Components/Sources/Signal_Current_Sources/Piecewise_Linear_Current
The current generator setup is shown in Fig X7.3

The transient analysis setup is shown in Fig X7.4

The transient output node setup is shown in Fig X7.5

Note the use of expressions for the various voltages. We should remember to divide graphed values by 1000, to obtain actual values.
The simulated filter waveforms are shown in Fig X7.6 (a). Only the filter outputs voltages are shown.

Actual values of voltages are shown in Fig X7.6 (b). The filtered voltages are 2.1473mV with respect to earth. Note that they are of opposite polarity.
Fig X7.7 shows a differential filter with a bulk storage capacitor that has equivalent series resistance of 100mOhms and an equivalent series inductance of 5nH.

Fig X7.8 shows the transient response of the imperfect filter.

Fig X7.8 (a) shows the current waveform of the signal generator and the filter output voltages. Fig X7.8 (b) shows actual values of the simulated voltages.
The peak current =50/1000= 50mA. The output voltages = 3.8341/1000= 3.8341mV and they are of opposite polarity.
The presence of the imperfect bulk storage capacitor has degraded the filter performance.
Fig X7.9 shows the Fourier analysis of one of the filter output voltages.

We suggest you develop the exercises by altering filter component values and performing Fourier and transient simulations.