... - absolute accuracy (if you are trying to create a precise voltage) isn't. This is because it relies on the IO's VoH voltage being accurate and stable.
This can be improved by having the PWM signal switch a voltage reference to the output.
How funny, I was just reading about this the other day!
I recently-ish got a reasonably high-end Sony CD player (CDP-XB930), which like the matching MiniDisc deck I have (the MDS-JB930), has “Current Pulse D/A Converter” plastered on the front panel. I’d never bothered looking into it, so I did, and it turns out that it’s exactly what you describe. Instead of a simple serial output from the decoder, it uses (redundant, duplicated!) balanced data pairs to the DAC, which then outputs the PWM (or is it pulse density on these? i forget.) pulse stream onto (non-duplicated) balanced pairs, which then feed into the “current pulse” chip which takes the pulsed voltage and uses it to control a constant-current source, which then ultimately gets output and smoothed. (The whole balanced pairs thing is apparently to reduce noise on the PSU rails, by ensuring that the current draw is always the same, whether a 0 or 1 is being transmitted...)
Does it actually matter for audio? I kinda doubt it. (I mean, the DACs in these things sound awesome, but so do most decent audio DACs.) But the wannabe-engineer in me does appreciate the attention to detail. (The Sony
xB9
xx line of products, from about 1998-2003, are really nicely made, and I like their simple aesthetics.) In the end, both CD and MD are connected to my receiver by TOSlink, so their DACs aren’t really getting used at all...
Here’s a discussion of it:
https://www.diyaudio.com/forums/digital-source/21744-sony-current-pulse-dacs.htmlAnd somebody actually found the relevant patent, which explains it in detail:
https://patents.google.com/patent/US5343197A/en