This article analyzes the basic principle and measuring function of direct-current(DC) transformers
and introduces a method to measure the error of DC transformers based on current comparator.The current comparator compensates for reactively excitation current by the zero-flux principle
and measurement accuracy can reach 1×10-5 in theory.