From the frequency analysis we can see easily the 50 Hz harmonics on the current measurement, however only the hall sensor only seems to have harmonics 50, 100, 150, 200, 220 (!), 300, 400, 500, 600 and 700 Hz, with some smaller peaks visible on other 50 Hz harmonics. Another hall sensor frequency seems to be at 6440 Hz, which could be from the current source.

Conversely for the current spectrum, we can see all 50 Hz harmonics, in addition to harmonics at 74, 222, 371, 520, 670, 820 and 970 Hz.

We apply a bandstop filter for all harmonics and then apply a lowpass filter.

We also clearly see an additional harmonic around 10 kHz.

The final parameters. the bandstops have been narrowed to a few peaks, and tuning of exact frequency to attentuate becomes more important. The approximate band stop filters are the following:

Current filters:
Bandstop filter at 74 Hz with Q=8
Bandstop filter at 125 Hz with Q=100
Bandstop filter at 223.7 Hz with Q=50
Bandstop filter at 372 Hz with Q=150
Bandstop filter at 522 Hz with Q=100
Bandstop filter at 670 Hz with Q=300
Bandstop filter at 820 Hz with Q=170
Bandstop filter at 967 Hz with Q=200
Bandstop filter at 50 Hz with Q=50
Bandstop filter at 100 Hz with Q=150
Bandstop filter at 149.5 Hz with Q=150
Bandstop filter at 200 Hz with Q=300
Bandstop filter at 250 Hz with Q=300
Bandstop filter at 299 Hz with Q=100
Bandstop filter at 350 Hz with Q=300
Bandstop filter at 400 Hz with Q=300
Bandstop filter at 449 Hz with Q=150
Bandstop filter at 500 Hz with Q=300
Bandstop filter at 550 Hz with Q=300
Bandstop filter at 598 Hz with Q=300
Bandstop filter at 650 Hz with Q=400
Bandstop filter at 700 Hz with Q=600
Bandstop filter at 750 Hz with Q=600
Bandstop filter at 800 Hz with Q=500
Bandstop filter at 850 Hz with Q=500
Bandstop filter at 900 Hz with Q=600
Bandstop filter at 950 Hz with Q=600
Bandstop filter at 1000 Hz with Q=700

Low pass filter at 1000.0 Hz with order 1


Hall filters:
Bandstop filter at 6441.4 Hz with Q=2000
Bandstop filter at 50 Hz with Q=200
Bandstop filter at 100 Hz with Q=200
Bandstop filter at 200 Hz with Q=220
Bandstop filter at 225 Hz with Q=250
Bandstop filter at 300 Hz with Q=600
Bandstop filter at 400 Hz with Q=700
Bandstop filter at 500 Hz with Q=700
Bandstop filter at 600 Hz with Q=700

Low pass filter at 100.0 Hz with order 1

We can see we can get the current within 0.015 A, and the hall sensor measurement within 2e-5 T