Sensing AC current with different frequency

Hello,

I build an ACS712 sensor to sense current output from a Variable Frequency Drive. As we know VFD has capability change frequency output to manipulate motor speed with pwm. With some capacitor I can turn square wave from ACS712 to sinus wave just like an ordinary AC wave. When we decrease the frequency, the sinus wave will stretch.
Using an clamp meter, when frequency decresed, it will decrease the current too. My question is, how we can measure this current so we can change current related to frequency using ACS712? because frequency not change the peak value. Usually I use Vpeak to measure rms.

The ACS712 responds equally well from DC to 80 kHz, so frequency is not an issue.

jremington:
The ACS712 responds equally well from DC to 80 kHz, so frequency is not an issue.

Yes, I mean how to sense different AC frequency? since it VPP is same. For example is rms at 50Hz and 60Hz different?

For a sine wave of any frequency Vpp = 2 x sqrt(2) x Vrms.

how to sense different AC frequency?

You can measure the frequency by measuring the time between two successive zero crossings.

frequency = 1.e6/(2*microseconds_between_crossings)