AD conversion principle and its program