u say right , but main problem is here when we use it technique with AC current measuring , it dc o\p is non liner . like measure AC voltage & convert AC to DC.
Oh. You use micro controller to find the peak of DC voltage. Then You can calculate the peak of AC voltage. You count how many peak in a second. You can calculate the frequency.