The “controlCAN” module controls the CANs to acquire the samples of voltage or current. The second module “clk- div” generates two clock signals : 25.0 MHz for the internal operating of the converters and 1 MHz for the sample frequency. “CUSUM” and “differential” modules compute the algortihms. We use the CNA to generate a signal as the result of the ”differential” detection. We use Quartus software to configure the FPGA.