A method of phase comparison, including a ramp-form signal generating step for generating a ramp-form signal, and sample and hold step for sampling levels of said ramp-form signal with a sampling pulse train signal which is synchronized with a predetermined input signal whose phase change is to be detected and providing a hold level of sampled signals as a phase error signal, wherein said ramp-form signal generating step comprises:
- reference frequency signal generating step for generating a reference frequency signal of a predetermined frequency;
- dividing step for dividing said reference frequency signal;
- detection step for detecting a state in which each pulses of said sampling pulse train signal is generated at a time outside a period of a predetermined section of said ramp-form signal and producing a detection signal;
- shift pulse generating step for generating a shift pulse signal having a predetermined pulse width in response to said detection signal;
- and,
- gating step for stopping the supply of said reference frequency signal for said dividing step upon presence of said shift pulse signal, and wherein said ramp-form signal is normally generated using an output pulse train signal of said dividing step.