The double ball bar is widely used because it can quickly, easily and cost-effectively detect and evaluate the accuracy of CNC machine tools. But since the error recognition algorithm based on the double ball bar ignores the quadratic item, its recognition accuracy would be reduced. In this paper, an improved CNC verticality error and position error identification formula, combined with the machine tool error model to deduce a new error recognition model of double ball bar measurement is proposed. It can be drawn that the accuracy of the model are better than the existing methods because it keeps the second item in the derivation process of the model.