I am a hobby electronics guy. I am unable to understand how a multimeter measures pwm voltage (average voltage).
................
This is an old post, & IanB has answered it somewhat.
But let me expand on his answer.I am also an electronics hobbyist and engineer, & pondered this same issue some years earlier, when working with various DMMs & scopes. I got a better handle on this after I worked with True RMS meters along with older conventional Averaging DMMs. But got refined when I started working with PSPICE Tools & circuit simulations, to better my understanding.
SCOPE:In a scope you will see the actual (instantaneous) waveform value in real-time always. So there is not much to say any more about it.
DMMs:What you see in a DMM, is a single representational value, which is computed depending on following factors.
I am answering for a general case first, & then narrowing to the specific case asked by OP.1. Shape of waveform (Square/ Sine/ Triangular/ Irregular).
2. If it is a Square waveform what is the duty cycle %
3. If the waveform is bipolar & symmetrical across the zero-line. (say -2.5V to +2.5V, for 5Vpp)
4. Else how much DC offset is there on the case-3 waveform.
5. Is the DMM configured, in DC mode or AC Mode?
6. If DMM in AC Mode, then is it an "Averaging" AC-Mode or "True-RMS"?
The special case OP's question is as below, for earlier 6 factors.1. Shape: Square Wave
2. Duty Cycle : 50%
3. Symmetry across zero-line: NO. Waveform is Unipolar [ 0V to +5V].
4. DC Offset : +2.5V DC offset, on a bipolar +/- 2.5V Square wave (Vpp = 5V)
5. DMM DC/AC Mode : Not specified. (
Context indicate AC mode)
6. True-RMS/ Averaging : Not specified.
# Item-4 is simply another way of seeing item-3. (Not a diff parameter)Answer for the above special case & the varying cases specified in 5,6 items:-
A. If DMM is in DC Mode.The DMM in DC-Mode reads the mathematical average of the input wave form, over the timeline, which is +2.5V.
Most current DMM's have a display update of 3 readings per sec. At very low frequency probably flicker effect or inconsistent reading may occur, since the wave form value may change during the dual-slope conversion time of the DMM- ADC.
B. If the DMM is in AC mode (True-RMS AC-Mode).The DMM reads +2.5V, since the RMS value of the 5Vpp Unipolar Square wave = 2.5V @ 50% duty cycle.
C. If the DMM is in AC mode (Averaging AC Mode).The DMM reads about +2.776V = (2.5 * 1.1107). 1.1107 being the form factor of a Sine wave.
This is because the Averagng-AC-Mode DMM is factory calibrated to show 1.1107 times the average value of the full-wave precision-rectified input waveform, so that without complex TrueRMS circuitry inside, it will show approximate RMS value of any Sine wave input waveform.
But here, since you are inputting a square wave (
& the DMM circuit is unaware of the wave shape), it tries to apply the same scalefactor, to come up with earlier reading.
When a pwm wave is applied to a resistor, to calculate voltage drop, do you consider the pk-pk voltage or average voltage as input voltage?
................
Typically the internal dual-slope ADC always use the average value of the input wave form across multiple wave form cycles. The conversion time of the dual-slope ADC is in the range of 100 to 300 msec only. That is why it is only able to provide 3 readings per sec. So the averaging occurs over several cycles (periods) of the input waveform. There may be special circuitry to correct boundary conditions (not whole number of conversion cycles), for precise readings.
This is for DC Mode.
In the case of Averaging -AC mode, the scenario is not much different, since the wave form presented to the dual-slope ADC is the precision-full-wave-rectified signal. Rest is same except for built in form-factor correction (1.1107).
In the case of the True-RMS the circuit is totaly different, the input wave form is presented to the RMS circuitry first, before the ADC.