Hello.
I'm building my own multimeter with some specific to myself features.
I'm not exactly sure, whenever I need AC measurements at all, but I'd like to ask about it, to determine, whenever I'm moving into correct direction.
To measure AC, we have two ways - rectify input voltage/current and measure resulting DC.
Another way is to sample input voltage with high resolution (say, 200 samples/sec), and, by measuring and comparing the lowest and highest peaks, calculate AC voltage based on that.
The first method, rectification, will introduce significant errors, due to non-linearity of diode volt-ampere characteristics. But as I googled, there are some special ICs, like AD737, which do TRMS to DC conversion.
2nd method, which is more modern, should work better, but I see a little issue here with existing ADCs - since most time, we well be measuring either 50hz or 60hz AC voltage, most ADCs have built-in filter, which does 50/60hz rejection, so this method will not work.
So my question is, if I decide to do AC measurements in my DVM, which path should I follow? which will more price-performance effective?
Hi,
Yes, i remember the old days of purely analog meters that used diodes to rectify the AC into DC and then average it. They had a factor built in to convert to RMS, but either it was a sine wave, or you had to know the waveform and apply a "crest factor" for that particular waveform in order to get the RMS value.
To make up for the diode nonlinearity they used a nonlinear scale on the face of the meter so it would work down to lower voltages. Nothing like we have today though, but then that is the world of pure analog movements.
For what it is worth, RMS stands for the "ROOT of the MEAN of the SQUARE" which in the continuous math domain simply means first you take the square of the voltage, then take the mean of that, then take the square root of that, and that is the RMS value regardless of what the waveform is assuming you have the required measurement accuracy.
Mathematically it looks like this:
Vrms=sqrt(integrate(v^2,t,0,Tp)/Tp)
The v^2 is taking the square of the voltage which is really v(t), the integration is to calculate the mean, and the square root is just taking the square root of the result. The integration is performed over the interval 0 to Tp with Tp being the period.
That is the theoretical calculation.