Patent attributes
A data code generator produces a data code, while a reference code generator produces a reference code. The data code is phase-shifted by the data code generator in a predetermined sweep range, according to a sweep command signal given by a phase difference detector. The phase difference detector compares the phase of the data code with that of the reference code to obtain phase difference data. Based on the phase difference data, a correction signal generator produces a correction signal to keep the data code in phase with the reference, code. The phase setter optimizes the phase of the data code according to the correction signal.