eepty
Full Member level 2
I have a circuit that will check whether the current in a wire exceed a threshold. Something like an overcurrent detector.
That circuit use a simple current transformer (CT) to convert the current to AC voltage signal. The signal from the CT will then be smothed and converted to DC singal by a low pass filter (diode, resistor and capacitor). The DC signal will be feed to a comparator to check whether it reach the threshold.
This circuit work normally. However, when the wire is connected to a switch or a relay, when it is switched off, spike is found at the output of the CT. This make the signal exceeds the threshold.
How can I ignore these spikes? I have tried to use a "larger" low pass filter with bigger capacitor and resistor, but it doesn't help. Also, I do not want to use a very big low pass filter because it will decrease the response time a lot.
I found someome suggested "median filter", how can I implement it if it help?
Thank you very much.
That circuit use a simple current transformer (CT) to convert the current to AC voltage signal. The signal from the CT will then be smothed and converted to DC singal by a low pass filter (diode, resistor and capacitor). The DC signal will be feed to a comparator to check whether it reach the threshold.
This circuit work normally. However, when the wire is connected to a switch or a relay, when it is switched off, spike is found at the output of the CT. This make the signal exceeds the threshold.
How can I ignore these spikes? I have tried to use a "larger" low pass filter with bigger capacitor and resistor, but it doesn't help. Also, I do not want to use a very big low pass filter because it will decrease the response time a lot.
I found someome suggested "median filter", how can I implement it if it help?
Thank you very much.