TRMS AC current measurement