TRMS AC voltage measurement