Online Inductance Identification and FPGA-Based Real-Time Digital Control Design for APF