Real-Time Digital Compensation of Current Transformers Over a Wide Frequency Range