If you want to measure the PWM on/off ratio to 1 part in 2^30, that's about 1 part in 1E9. Not particularly difficult or expensive, but the measurement might take a bit of time. You need a fairly stable timebase (but nowhere near 1 part in 1E9) and to accumulate the on and off times. If you used a timebase in the 50-100MHz range you could get a measurement in less than a minute. Best regards, Spehro Pefhany