I thank you very much for the documentation of the Valhalla, Adret & Fluke.
I've got some more reading to do
And I also thank you in the name of the 20 or so other who had enough interest to download it.
@MIS42N
My main reason for adding two separate stages is to use higher PWM frequencies. I want to do automated measurements, and for this my goal is 4 or 5 digit settling times in 100ms. Not "just" DC. (I need to do some calculations to get this right)
But a bit stream repeating "twice a second" is not going to do it for me, and your filter is not going to attenuate the 2Hz ripple.
@kleinstein.
Calibrating the small part is not difficult (in theory). It just needs a "zero comparator" just like other standards comparisons. Then you use two resistors, and set the coarse PWM to one step below the resistor divider, and start adjusting with the small stepsto find zero. Then you set the coarse PWM one bit higher, and start adjusting with small steps in the other direction.
The only pre-condition ( <- My spelling correction wants to make a pee-condition out of this ) is that all the small steps combined must be bigger then a single big step.
You can repeat this at different voltages to measure differential non-linearity of the "big" steps. It's just software, so I may give this a try.
I intend to have a configurable overlap between the two (Jumpers or a single resistor replacement), so I can experiment with 12 to 16 bit PWM for the fist stage, which allows for higher base frequency and easier filtering or quicker settling times.
Using a ready made DAC, is extra hardware and you also have to combine it with the voltage reference. With PWM, you can combine them before (or halfway) the filter. And with 74HCT you can easily use 2 times 4 outputs (maybe 6 + 2 is better?) which again reduces costs.
Using a 10V reference does halve offset problems compared to 5V. But I'm not aiming for lab grade prescision here. 4 digits of real precision and 5 digits resolution is my minimum goal, while 5 digits of real precision with 6 digits resolution would be a plus, but that would be my upper limit.
My best meter is currently an 4000 count old Wavetek Meterman 35XP, and this PWM thing can easily outperform it in resolution.
It also has no serial output (it can be modified, it's on the chip)
The best meter I'm willing to put my money in would be a Brymen BM867s
It would be hard to beat for EUR150.
https://www.welectron.com/Brymen-BM867s-Multimeter_3I just have to compare it with some other Brymens before I make a final decision.
It does need data logging though, so I can write a script and let it gather linearity data for a few hours.
I don't trust UNI-T because there is too much quality variance in their products.