Text this: Online partial discharge counting system using microcontroller PIC 16F877A and FPGA technology