Structure, compensation circuit after comparator in loop