RF carrier synchronization and phase alignment methods and systems
A method comprising generating a baseband information signal by mixing a received modulated carrier signal with a local oscillator (LO) signal having an LO frequency; obtaining baseband signal samples of the baseband information signal having a baseband signal magnitude and a baseband signal phase; determining a cumulative phase measurement associated with baseband signal samples having a baseband signal magnitude greater than a threshold; and, applying a correction signal to compensate for an LO frequency offset of the LO frequency based on the cumulative phase.
1. A method for performing phase and frequency offset correction, comprising:
obtaining a set of in-phase and quadrature signal samples of a baseband information signal;
defining a plurality of arbitrary phase offsets within a first range of phases;
applying each of the plurality of arbitrary phase offsets to the set of in-phase and quadrature signal samples to create a plurality of phase-offset sets of samples;
selecting a phase-offset set of samples with a greatest degree of reflectional symmetry within the plurality of phase-offset sets of samples;
applying, to the originally-obtained set of in-phase and quadrature signal samples, a phase offset corresponding to the selected phase-offset set, thus generating a phase-corrected set of samples;
defining a plurality of arbitrary frequency corrections within a first range of frequencies;
applying each of the plurality of arbitrary frequency corrections to the phase-corrected set of samples to create a plurality of frequency-offset sets of signal samples;
calculating a sum over a product of each of the plurality of frequency-offset sets of signal samples to produce a plurality of residual correlations, each of the plurality of residual correlations corresponding to one of the plurality of frequency-offset sets of signal samples;
plotting the plurality of residual correlations, each of the plurality of residual correlations representing a potential frequency offset correction; and
determining a frequency offset correction from the plotted plurality of residual correlations by identifying a highest value of the plurality of residual correlations.
2. The method of claim 1 , further comprising processing the baseband information signal using the frequency offset correction.
3. The method of claim 1 , further comprising creating a second range of frequencies, the second range of frequencies falling within the first range of frequencies, and repeating the method with a frequency-corrected set of signal samples to obtain a higher-precision frequency offset correction.
4. The method of claim 3 , wherein the first range of frequencies is from +10 KHz to −10 KHz, and wherein a final narrowed range of frequencies has a granularity of 1 hertz.
5. The method of claim 1 , wherein each arbitrary frequency within the first range of frequencies is chosen to be evenly spaced within the first range.
6. The method of claim 1 , wherein the first range of frequencies is based on a potential error range of a source of the baseband information signal.
7. The method of claim 1 , further comprising iteratively finding successively more accurate frequency offsets and phase offsets by using successively narrower ranges of potential frequency and phase corrections.