Background and Summary of the Invention
[0001] The present invention relates generally to digital radios and, more specifically,
to measuring the phase and amplitude errors in a continuous-phase-modulated signal.
[0002] Presently a number of manufacturers manufacture and market radios for use in communications,
such as digital cellular radios and the like. Typically each manufacturer provides
its own specifications for its products. Traditionally the accuracy of these specifications
has been measured using many separate, possibly indirect methods. Phase accuracy of
the transmitted signal, for example, typically is indirectly determined by measuring
spurious signals, phase noise, the modulation index, frequency settling speed, carrier
frequency and data clock frequency. Further, amplitude measurements present special
problems because the amplitude versus time profile must be synchronized to the data
typically utilizing external equipment.
[0003] It has been proposed that a standardized mobile digital radio system be implemented
throughout Europe. Such a radio system would require that all components such as transmitters
and receivers for example, be manufactured to standard specifications measured by
a common method. A group known as the Group Speciale Mobile (GSM) has proposed a measurement
technique to measure the accuracy of the modulation process of the transmitted signal.
In the proposed measurement technique, a sampled measurement of the transmitted phase
trajectory is obtained. This measurement is compared with the mathematically computed
ideal phase trajectory to determine the phase difference between the transmitted signal
and the ideal signal. The regression line of the phase difference thus determined
provides an indication of the frequency error and the regression line is subtracted
from the phase difference to give the phase error. Utilization of a standard method
such as this would simplify the testing and manufacture of radios. An individual manufacturer
would then only need to insure that the standardized overall phase error specifications
were met rather than several interrelated specifications.
Summary of the Invention
[0004] The present invention provides a method and apparatus for computing the ideal phase
trajectory of a transmitted signal to be used in the above described GSM standard
phase error measurement method. According to the principles of the present invention
a transmitted signal is mixed with a local oscillator signal to provide an intermediate
frequency (IF) signal having a relatively low frequency which is then filtered and
sampled by an analog-to-digital convertor (ADC). The digitized samples of the IF signal
are then filtered in a digital low pass filter, such as a linear-phase finite impulse
response (FIR) filter to eliminate the IF signal harmonics without distorting the
phase modulation of the transmitted signal. An FIR digital filter is less complex
and less expensive than an equivalent analog filter required to perform this filtering
operation.
[0005] The transmitted signal phase trajectory and amplitude profile are calculated from
the filtered IF signal samples. A Hilbert transformer is utilized to create two component
signals that are in phase-quadrature with each other. The signal phase trajectory
is provided by calculating the arctangent of the quadrature signals and the amplitude
is calculated as the square root of the sum of the squares of the quadrature signals.
[0006] The signal phase trajectory is then utilized to detect the data and determine the
data clock phase. Detection of the data could be accomplished utilizing a Viterbi
decoder or, in the case of a high signal-to-noise ratio (SNR) and low inter-symbol-interference
(ISI) signal, by differentiating the phase trajectory. Differentiation of the phase
trajectory provides the instantaneous frequency of the signal from which the carrier
frequency may be subtracted to provide the frequency deviation of the signal. The
instants of time at which the frequency deviation passes through zero are then used
in a least squares algorithm to estimate the data clock phase. An accurate estimation
of the data clock is critical to the measurement of phase errors.
[0007] The zero crossing of the frequency deviation function are also used to detect the
data. Synchronization of the data is accomplished utilizing a correlation scheme between
the detected data and a known portion of the data sequence such as a preamble. The
synchronization information is then used to find the time interval of interest in
the measurement operation. The synchronization information is also used to synchronize
the amplitude versus time profile with the data clock.
[0008] Utilizing the data clock phase, the detected data sequence and the time interval
of interest, a digital signal synthesizer mathematically generates the ideal phase
trajectory corresponding in the transmitted signal. The ideal phase trajectory thus
generated is subtracted from the previously measured phase trajectory of the transmitted
signal to provide a signal phase difference versus time measurement. A linear regression
analysis performed on the phase difference versus time measurement provides an estimate
of the frequency error as well as the instantaneous phase error.
Brief Description of the Drawings
[0009]
Figure 1 is a flow chart illustrating a first embodiment of a method for measuring
the phase error of a transmitted signal according to the principles of the present
invention.
Figure 2 is a conceptual block diagram of an apparatus for measuring the phase error
of a transmitted signal according to the method shown in Figure 1;
Figure 3 is a flow chart of a method for measuring the received amplitude and the
phase error of a transmitted signal according to the principles of the present invention;
Figures 4, 5 and 6 are functional block diagrams illustrating three different techniques
for converting an IF signal to in-phase and quadrature-phase signals;
Figure 7 is a frequency plot illustrating a typical frequency deviation function for
an GMSK.3 modulated signal;
Figure 8 is a plot illustrating the error in the detected zero crossings of the frequency
deviation plot shown in Figure 7;
Figure 9a is a plot showing the phase pulse response for minimum shift-key modulation;
Figure 9b is a plot showing the phase pulse response for Gaussian minimum shift-key
modulation;
Figure 10 is a plot showing the instantaneous phase difference and linear regression
curve;
Figure 11 is a plot showing instantaneous measured phase error versus bit number;
Figure 12 is a plot showing measured pulse amplitude;
Figure 13 is a plot showing an expanded view of the rise time of the pulse shown in
Figure 12; and
Figure 14 is a plot showing an expanded view of the fall time of the pulse shown in
Figure 12.
Detailed Description of the Preferred Embodiments
[0010] Referring now to Figure 1, a flow chart illustrating a first preferred embodiment
of a method for measuring the phase error of a continuous-phase-modulated RF signal
is shown. A modulated RF signal generated by a transmitter is received and converted
to digital form by a digitizer circuit 1. The digitized signal is then converted or
transformed into its component in-phase and quadrature-phase signals by a transformation
circuit (such as shown in Figures 4, 5 and 6) and the transmitted signal amplitude
and phase functions are computed by a calculator 3 from the component signals. Utilizing
a known synchronization signal 9, which may comprise a known sequence of data bits,
a preamble or midamble for example, the bit sequence representing the transmitted
data is synchronized, block 4 from the phase and amplitude functions to provide the
transmitter data clock and a test data interval. A data detector 5 detects the data
bit sequence and provides the three signals, transmitter data clock, test data interval
and the data bit sequence to a synthesizer block 7 to synthesize or mathematically
calculate an ideal phase function corresponding to the transmitted signal. The data
detector 5 may be implemented as a maximum likelihood sequence estimator utilizing
the Viterbi algorithm. The measured phase function (i.e., the transmitted signal phase)
is subtracted from the ideal phase function thus synthesized in block 7 to provide
a phase difference. A linear regression in block 8 of the phase difference then provides
the frequency error, the slope of the regression line 101, and the phase error, curve
102 (as shown in Figure 10).
[0011] Referring now to Figure 2, a conceptual block diagram of an apparatus for measuring
the phase error and phase amplitude of a continuous-phase-modulated RF signal is shown.
The modulated RF signal is received by a receiver 20 and coupled to a down conversion
mixer circuit 11 receives a local oscillator signal on line 12 generated by the local
oscillator 13 and a test signal on line 15 to provide an intermediate frequency (IF)
signal having a substantially lower frequency than that of the test signal, in the
present embodiment the IF frequency is preferably 700 KHz. The IF signal is filtered
in an analog anti-aliasing filter 17 to remove local oscillator and RF signal feed
through and spurious signals. The filtered IF signal is coupled to a digitizer 19
to convert the analog IF signal to a discrete-time data sequence at a high sample
rate, preferable at 2.8 million samples per second (Msps). An HP70700A digitizer manufactured
by Hewlett-Packard Company may be used for this purpose or the digitizer 19 may be
implemented by an ADC sampling at a high rate as shown in Figures 4, 5 and 6. After
conversion to an IF signal having a frequency of approximately 700 KHz, the test signal
test can be represented as

where:
Ã(t) is the received signal amplitude;
ω
o= 2π(700KHz) is the nominal IF signal frequency;
Δω is the frequency uncertainty;

(t;
a) is the received signal phase modulation function;
and φ
o is an unknown offset phase.
As given here only

(t;
a) is a function of the data sequence
a; however, in general Ã(t) may also be a function of
a.
[0012] A transmitted RF signal or the IF signal down converted from the RF transmitted signal
defined by equation (1) typically will be received in bursts having a duty cycle of
.125 and being approximately 0.5 milliseconds (ms) in duration.
[0013] Ã(t) and

(t;
a) are, respectively, the amplitude modulation and phase modulation of the received
signal (i.e., the transmitted signal) which will be different than the ideal modulation
of the transmitted signal. The present method determines the difference between the
values of the received signal functions Ã(t) and

(t;
a) and the ideal values of these functions.
[0014] The digitizer 19 converts the IF signal defined by equation (1) to a sequence of
discrete time samples. If the sampling points are given as

, k=O, 1, 2, . . . . where T
s is the time period between samples, and if we define

and

, then the sequence of samples can be written as

Quantized values of equation (2) provide the sequence of binary numbers coupled to
the digital signal processor 21 for implementation of the present method.
[0015] The outputs of the digital signal processor 21, phase error, frequency error and
the amplitude profile are coupled to various display means, such as a cathode ray
tube (CRT) 22 and a printer 18. The display means include the required circuity to
format the display of the information provided by the digital signal processor 21.
Typically, the phase, frequency and amplitude information are plotted versus time
with the time interval defined by the number of data bits contained in a transmitted
signal burst. Figures 10 and 11 are examples of phase difference and frequency error
and phase error plots while Figures 12, 13 and 14 are plots of the transmitted signal
amplitude profile.
[0016] Figure 3 is a flow chart illustrating a second preferred embodiment of the method
according to the principles of the present invention for determining the received
RF signal amplitude, Ã[k], and the difference between the measured phase modulation,

(k;
a), of the received RF signal and the ideal phase modulation, φ(k;
a). The modulation functions have been discretized by replacing "t" with kT
s, k=O, 1, 2, . . . .
[0017] The first step in the flow diagram is to pass the digital IF samples through a low-pass
digital filter 23. The low-pass digital filter 23 would preferably be a finite impulse
response (FIR) filter that would have a linear phase response to avoid distortion
of the phase modulation of the signal passed by the filter 23. The purpose of the
low-pass filter 23 is to eliminate the harmonics of the 700 kHz IF signal. An FIR
digital filter can perform this job with relative ease and with less cost than an
analog filter which otherwise would be required.
[0018] After the initial low-pass filtering, the signal is converted to two component signals
that are in phase quadrature with each other. Three different techniques are proposed
as possible methods for producing the quadrature signals.
[0019] Referring now to Figure 4, a first method of conversion to in-phase, I[k], and quadrature-phase,
Q[k], (I-Q conversion) signals utilizes a Hilbert transformer 31. An RF signal is
down converted to an IF signal by mixing with a local oscillator signal in mixer 39.
The resulting IF signal is coupled to an ADC 35 via band pass filter 37. The filtered
IF signal is converted to a digital signal by a high-sampling rate ADC 35 which is
clocked by the sample signal on line 36. The Hilbert transformer 31 comprises a filter
with a constant magnitude response and a phase response of -90 degrees for positive
frequencies and +90 degrees for negative frequencies. An approximation to the Hilbert
transformer 31 can be realized with a anti-symmetric FIR filter 31 that has an ideal
phase response and an amplitude response that is nearly ideal over the range of frequencies
of the signal. Delay line 33 compensates the in-phase signal for time delays introduced
into the quadrature-phase signal by the FIR filter 31.
[0020] Referring now to Figure 5, a second method of I-Q signal decomposition involves mixing
the digitized IF signal with quadrature signals at mixers 41 and 43 and passing the
low-frequency components through low-pass filter 45 and 47, respectfully. If the signal
given by equation (2) is multiplied by

and

, and the double frequency terms rejected by low-pass filtering, then the outputs
of the low-pass filters are

Equations (3) represents the desired I-Q signals.
[0021] The digital implementation of the I-Q mixing method illustrated in Figure 5 has a
significant advantage over a corresponding analog implementation in terms of the precise
quadrature phase and amplitude balance that can be maintained. Precise balance of
the quadrature signals is a critical requirement for this method.
[0022] Referring now also to Figure 6, I-Q signal decomposition involves the utilization
of a Hilbert transformer 51, delay line 49 and four mixers 53, 55, 57 and 59. This
configuration approximates two single-sideband mixers that are in phase-quadrature.
The advantage of this method over that shown in Figure 5 is the elimination of the
low-pass filters 45 and 47 which are not required because the double frequency terms
are cancelled by the single-sideband mixers.
[0023] All three techniques described above will allow decimation of the I[k] and Q[k] samples
by a factor of four or more to allow efficient processing of I[k] and Q[k]. An advantage
of the low-pass filtering shown in Figure 5 is a reduction in ADC quantization noise
introduced by the digitizer 19.
[0024] After I[k] and Q[k] are produced, amplitude and phase functions are computed and
output on lines 24 and 26, respectively. The amplitude function is given as
and the phase function is given as
K+1 is the number of samples in a burst, for example, if the duration of a burst
is 0.5 milliseconds and the sampling rate is 2800 Ksps, then K=1400.
[0025] The phase samples given by equation (5) are passed through a differentiator to produce
samples of the frequency versus time function. The differentiator 25 would preferably
be an anti-symmetric FIR digital filter that has a linear magnitude response and a
90° phase shift over the range of frequencies of the test signal. Like the Hilbert
transformer 31, the differentiator 25 is a well-known digital filter that is easily
and accurately implemented in digital hardware.
[0026] Referring now also to Figures 7 and 8, a typical frequency deviation function for
GMSK.3 modulation which is a modulation scheme proposed in Europe for digital mobile
radios is shown. In Figure 7, (f-f
c)T
b is the frequency deviation from the signal carrier (IF) frequency, f
c, normalized by the bit rate

where T
b is the bit interval. The frequency deviation is shown for 36 bits in Figure 7. A
positive value of frequency deviation over a bit interval represents one binary state
and a negative value the other binary state. The frequency function shown in Figure
7 represents the bit sequence
or the complement of this sequence.
[0027] From Figure 7, it can be seen that the frequency deviation passes through zero approximately
at multiples of T
b as shown in Figure 8. From Figures 7 and 8, it can be seen that if the bit pattern
is known, then errors in the zero-crossings from multiples of T
b are predictable. For example, if bit 10 is followed by bit 11, then the zero-crossing
between bit 10 an bit 11 will have an error of - 0.0142T
b. The error in the zero-crossing between bit 00 and bit 10 will be 0.0142T
b and the error in zero-crossing between bit 11 and bit 00 will be approximately zero,
etc.
[0028] The output of the differentiator 25 is not a continuous time function as shown in
Figure 7 but is actual samples (values) of the frequency function. For example, if
the bit rate is 270 kbps and the sampling rate is 2.8 Msps, then there would be 10.37
samples per bit.
[0029] Referring again to Figure 3, following the differentiator 25, the IF frequency is
subtracted (block 27) from the frequency function to produce the frequency deviation
function as presented in Figure 7. The next step, block 29, is to detect the zero-crossing
from which the received data sequence is detected as illustrated by bit sequence (6).
Since discrete time samples of frequency deviation are available, the zero-crossings
are detected using an interpolation algorithm. From the detected data sequence, a
correction is made, block 31, to compensate for the difference in zero-crossings from
multiples of T
b. These compensated zero-crossings provide the data used to establish a data clock
synchronized to the transmitter (not shown) data clock.
[0030] In block 33, the period and phase of the transmitter data clock must be estimated
very accurately to minimize errors in the measured phase error. For example, an error
of 1 per cent in the data clock phase will result in a phase measurement error as
large as 0.9 degrees which may not be acceptable. Even though measured zero-crossings
are compensated, measurement noise may result in an unreliable data clock unless the
data clock is estimated in an optimal manner. The transmitter data clock may be represented
as
where T is the transmitter data clock period and b is the unknown data clock phase.
The
a priori clock period

is known within a specified tolerance of T. The objective is to obtain estimates
T̂ and b̂ of T and b from the measured zero-crossings.
[0031] Suppose s
i, i= 1, 2, . . . , N are the measured and compensated zero-crossings of the frequency
deviation function. An estimate of the zero-crossings spaced by multiples of T̂ can
be written as
where

and ε₁ is a time reference which may be a zero-crossing near the center of the signal
burst. Values of T̂ and b̂ are obtained such that the mean-square error between the
sets S
i and ŝ
i, i=1, 2, . . ., N given by

is minimized. The resulting estimates are

The receiver data clock synchronized to the transmitter data clock is given as
If the clock period T is known
a priori with sufficient accuracy for the required measurement, or it is required that the
measurement include the measurement of phase errors attributable to inaccuracies in
T, T would not be estimated. In this case T̂ =

in equations (12) and (13) and only the data clock phase is estimated as given by
equation (12).
[0032] The next step, block 35, is to synchronize bit patterns to establish the active time
interval of a signal burst over which the phase and amplitude errors are determined
and displayed. If a synchronizing pattern such as a preamble or midamble is available,
i.e., included in the transmitted signal burst, then the leading and trailing edges
of the envelope of the burst obtained from Ã[k] as given by equation (4) are used
to establish the range over which the preamble or midamble may exist. A discrete-time
cross-correlation of the detected bit pattern with the known synchronizing pattern
is performed to align the two patterns and establish the active interval. If a synchronizing
pattern does not exist, then the active interval of the test is centered between the
leading and trailing edges of the envelope of the burst.
[0033] Knowledge of the clock phase and period, the data sequence and the time interval
of interest provide the information needed to mathematically compute the ideal amplitude
and phase modulating functions A[k] and φ[k;
a]. These computed functions are then compared at block 38 with the corresponding measured
values of amplitude and phase to obtain measurements of amplitude and phase errors.
[0034] By way of example, synthesis, block 37, of the phase function for continuous-phase-modulated
signals (CPM) will be considered here.
[0035] The phase function for CPM can be written as

where
with
is the data sequence. For binary modulation M=1 and

.
h
i is the modulation index which in general may be a cyclic function of time. For many
common modulations such as minimum shift-key (MSK) and Gaussian minimum shift-key
(GMSK), h=1/2 (constant). q(t) is the phase pulse-shape function which has the property
that

where L is a positive integer. The type of modulation is determined by q(t). Phase
pulse response curves for MSK and GMSK.3, L=5, are plotted in Figures 9a and 9b, respectively.
[0036] After the ideal phase function φ[k;a] is synthesized, it is subtracted from the measurement
phase function

to produce the phase difference given as

The phase error is defined as

i.e. the difference between the received and synthesized ideal phase functions, so
that the phase difference is
where
ΔΩ is the frequency error and φ₁ is the unknown offset phase.
The phase difference, Θ
φ[k], has a linear term ΔΩk with slope ΔΩ and a constant term φ₁, that can be estimated
by fitting the K values given by equation (19) to a linear regression curve

The difference between equations (19) and (20) given as

along with statistics of ε̂
φ[k] is the desired output of the method.
[0037] Referring now also to Figures 10, 11, 12, 13 and 14, the phase error and other information
determined by the above described method is plotted. In Figure 10, the measured phase
difference on a bit-by-bit basis is plotted versus time as curve 103. Curve 103 shows
the difference in phase between the ideal phase function and the transmitted phase
function for each data bit in a signal burst. Curve 101 is the linear regression of
the phase difference plotted versus the data bit number for a data burst. The slope
of the linear regression curve 101 represents the frequency error of the transmitted
signal. In Figure 11, curve 111 is a plot of the instantaneous phase error versus
time (bit number) for the data bits in a signal burst and represents the instantaneous
phase error of the transmitted signal when compared to the ideal signal. Figures 12,
13 and 14 are a plot of the measured signal amplitude versus bit number for a signal
burst. Curve 121 is the amplitude of the signal burst. Curves 123 and 125 are the
upper and lower bounds allowed for the amplitude. Curve 127 is an expanded plot of
the rise time of the transmitted signal amplitude and curve 129 is an expanded plot
of the fall time of the transmitted amplitude.
1. A method or measuring modulation accuracy of a transmitted signal modulated in accordance
with a data signal, the method including comparing the transmitted signal with a reference
signal to determine errors in the transmitted signal, the method being characterised
by: processing the transmitted signal to obtain a digitised representation thereof,
and estimating parameters of the reference signal from the digitised representation
of the transmitted signal, wherein modulation accuracy is measured by comparison of
the transmitted signal against a reference signal whose parameters are derived from
the transmitted signal.
2. The method of claim 1 which includes determining phase and magnitude functions for
both the reference signal and the transmitted signal, and comparing the respective
phase and magnitude functions to determine phase and magnitude errors of the transmitted
signal.
3. The method of claim 1 which includes estimating the following parameters of the reference
signal: clock delay, data sequence, carrier frequency, carrier phase, and amplitude
scale factor.
4. The method of claim 3 in which estimating the clock delay includes detecting zero-crossings
of a frequency deviation function and fitting a periodic clock impulse train to said
zero-crossings.
5. The method or claim 1 in which the transmitted signal is digitally modulated.
6. The method of claim 1 in which the transmitted signal is continuously phase modulated.
7. A method of measuring modulation accuracy according to any of the foregoing claims
which further includes:
processing the digitised representation of the transmitted signal in a digital
signal processor to detect parameters of the transmitted signal including a data sequence
contained therein; and
using the detected data sequence in estimating parameters of the reference signal.
8. The method of claim 7 which includes:
determining in-phase and quadrature-phase signal components as functions of time
for the transmitted signal;
computing a phase function and a magnitude function corresponding to said transmitted
signal by utilising said in-phase and quadrature-phase signal components;
differentiating said phase function to provide a frequency function corresponding
to said transmitted signal;
subtracting a frequency of the transmitted signal from said frequency function
to provide a frequency deviation function corresponding to said transmitted signal;
detecting zero-crossings of said frequency deviation function; and
detecting the data sequence from said detected zero crossings.
9. The method of claim 8 which includes compensating said detected zero-crossings in
response to said detected data sequence.
10. The method of claim 9 which includes:
estimating the period and phase of a transmitter data clock function from said
compensated zero crossings;
synchronising said detected data sequence with said transmitter data clock function
to establish an active measurement interval;
calculating a reference signal phase function corresponding to said transmitted
signal; and
comparing said calculated reference signal phase function to said computed phase
function to determine a phase difference function of said transmitted signal.
11. The method of claim 7 in which the determining errors step includes performing a linear
regression analysis.
12. The method of claim 7 which includes:
determining in-phase and quadrature-phase signal components as functions of time
for the transmitted signal;
computing a phase function and a magnitude function corresponding to said transmitted
signal by utilising said in-phase and quadrature-phase signal components;
synchronising said detected data sequence with a known bit sequence for providing
a transmitter data clock function and a data bit sequence interval signal;
calculating a reference phase function utilising said detected data sequence, said
transmitter data clock function, and said data bit sequence interval signal; and
comparing said reference phase function to said computer phase function to determine
a phase difference function of said transmitted signal.
13. The method of any of the foregoing claim which further includes refining said estimated
parameters to minimize an RMS phase error.
14. An apparatus for measuring modulation accuracy of a transmitted signal, said transmitted
signal being modulated with a bit sequence representing data, characterised by: a
digitiser (1) for digitising the transmitted signal; means (2) for transforming said
digitised signal into component in-phase and quadrature-phase signals; means (3) responsive
to said component in-phase and quadrature-phase signals for determining a phase function
and an amplitude function corresponding to said transmitted signal; means (4) for
synchronising the data bit sequence in the transformed digital signal with a known
bit sequence to provide a data bit sequence signal; a detector (5) for detecting the
data bit sequence; means (6) responsive to the detected data bit sequence for estimating
parameters of a reference signal; and means (7) for comparing said reference signal
to the transmitted signal to determine the modulation accuracy of the transmitted
signal.