Woodward notes a PWM nonlinearity in a DI that software can't fix, and presents a potential solution: adjusting resistor ...
An isolated comparator is fundamentally different from a standard comparator, and the comparison happens on the input side.