DIGITAL RECEIVER WITH PHASE OFFSET COMPENSATION

20220393919 · 2022-12-08

Assignee

Inventors

Cpc classification

International classification

Abstract

A digital receiver being adapted for receiving an MSK modulated signal, comprises a digital front-end unit (10) adapted for providing samples having a phase value (θ.sub.measure) of a down-mixed signal, a phase compensation unit (11) adapted for compensating the phase value (θ.sub.measure) by delivering a phase offset compensated sample having a phase value (θ.sub.sync), and a coherent demodulator (12) adapted for recovering information content from the phase offset compensated sample. The phase compensation unit (11) is adapted for analyzing a phase value (θ.sub.sync) of the phase offset compensated sample, calculating a phase offset value (θ.sub.offset) based on the phase value (θ.sub.sync) of the phase offset compensated sample, and applying the phase offset value (θ.sub.offset) when delivering a subsequent phase offset compensated sample.

Claims

1. A digital receiver adapted for receiving an MSK modulated signal and comprising: a digital front-end unit (10) adapted for providing samples having a phase value (θ.sub.measure) of a down-mixed signal; a phase compensation unit (11) adapted for compensating the phase value (θ.sub.measure) by delivering a phase offset compensated sample having a phase value (θ.sub.sync); and a coherent demodulator (12) adapted for recovering information content from the phase offset compensated sample; wherein the phase compensation unit (11) is adapted for analyzing a phase value (θ.sub.sync) of the phase offset compensated sample, calculating a phase offset value (θ.sub.offset) based on the phase value (θ.sub.sync) of the phase offset compensated sample, and applying the phase offset value (θ.sub.offset) when delivering a subsequent phase offset compensated sample.

2. The digital receiver according to claim 1, wherein the digital front-end component outputs the samples as an in-phase and a quadrature component.

3. The digital receiver according to claim 1, wherein the samples of a down-mixed signal are provided as digital complex values (RE+j IM).

4. The digital receiver according to claim 3, wherein the phase compensation unit (11) is adapted to determine the phase value (θ.sub.sync) of the phase offset compensated sample by subtracting an estimate for the phase offset (θ.sub.offset) from the phase value (θ.sub.measure) of the down-mixed signal.

5. The digital receiver according to claim 4, wherein the phase compensation unit (11) is adapted to determine a modulus-m/2 value (θ.sub.mod) of the phase value (θ.sub.sync) of the phase offset compensated sample, and use the modulus-m/2 value (θ.sub.mod) for adjusting the estimate for the phase offset value (θ.sub.offset) accordingly.

6. The digital receiver according to claim 5, wherein the phase compensation unit (11) is adapted to compare the modulus-π/2 value (θ.sub.mod) with a threshold and use this comparison for adjusting the estimate for the phase offset value (θ.sub.offset).

7. The digital receiver according to claim 6, wherein the phase compensation unit (11) is adapted to adjust the estimate for the phase offset value (θ.sub.offset) for a subsequent sample by adding or subtracting a predetermined compensation value (θ.sub.adjust) to or from the estimate for the phase offset value (θ.sub.offset) for a present sample.

8. A method of carrier resynchronization of an MSK signal in a digital receiver and comprising steps of: providing samples having a phase value (θ.sub.measure) of a down-mixed signal; compensating the phase value (θ.sub.measure) of the down-mixed signal by delivering a phase offset compensated sample having a phase value (θ.sub.sync); and recovering information content from the phase offset compensated sample; wherein the method further comprises steps of: analyzing a phase value (θ.sub.sync) of the phase offset compensated sample, calculating a phase offset value (θ.sub.offset) based on the phase value (θ.sub.sync) of the phase offset compensated sample, and applying the phase offset value (θ.sub.offset) when delivering a subsequent phase offset compensated sample.

9. The method according to claim 8 and comprising receiving the down-mixed signal as samples having an in-phase and a quadrature component.

10. The method according to claim 8 and comprising receiving the down-mixed signal as samples at a constant sampling rate.

11. The method according to claim 8 and comprising receiving the down-mixed signal as samples having digital complex values (RE+j IM).

12. The method according to claim 11 and determining the phase value (θ.sub.sync) of the phase offset compensated sample by subtracting an estimate for the phase offset (θ.sub.offset) from the phase value (θ.sub.measure) of the down-mixed signal.

13. The method according to claim 12 and determining a modulus-π/2 value (θ.sub.mod) of the phase value (θ.sub.sync) of the phase offset compensated sample, and using the modulus-π/2 value (θ.sub.mod) for adjusting the estimate for the phase offset value (θ.sub.offset) accordingly.

14. The method according to claim 13 and comparing the modulus-π/2 value (θ.sub.mod) with a threshold and use this comparison for adjusting the estimate for the phase offset value (θ.sub.offset).

15. The method according to claim 14 and adjusting the estimate for the phase offset value (θ.sub.offset) for a subsequent sample by adding or subtracting a predetermined compensation value (θ.sub.adjust) to or from the estimate for the phase offset value (θ.sub.offset) for a present sample.

Description

[0006] The invention will be described in further detail with reference to preferred aspects and the accompanying drawing, in which:

[0007] FIG. 1 shows a digital receiver 13 according to one embodiment of the invention and adapted for receiving MSK modulated signal;

[0008] FIG. 2 illustrates a flow chart for a method for phase offset compensation according to the invention;

[0009] FIG. 3 shows an example for a phase trellis diagram;

[0010] FIG. 4 shows a phase histogram for a signal with a phase offset;

[0011] FIG. 5 shows a 2-bin phase histogram for the data used in FIG. 4; and

[0012] FIG. 6 illustrates how θ modulus π/2>π/4 can be calculated by simple logic decisions.

DETAILED DESCRIPTION

[0013] FIG. 1 shows a digital receiver 13 according to one embodiment of the invention and adapted for receiving MSK modulated signal. The digital receiver 13 comprises a digital front-end unit 10 adapted for outputting samples of a down-mixed signal. The samples are delivered at a constant sampling rate in the form of a real and imaginary sample. The samples are received in a phase compensation unit 11 adapted for compensating for a phase offset for the samples of a down-mixed signal. The phase offset is mainly caused by a mismatch between carrier frequencies used at the transmitter side and the receiver side. The digital receiver 13 further comprises a coherent demodulator 12 adapted for recovering information content from the incoming MSK modulated signal.

[0014] In the digital receiver 13, complex IF samples are handled at a constant sampling rate in the form of a real and an imaginary sample. The complex IF samples makes it easy to perform the calculation of (θ modulus π/2>π/4) extremely economical. The complex IF input sample is denoted as RE+j IM the calculation whether 0 modulus π/2>π/4 can be done by simple logic decisions based on whether (|IM|>|RE|), (RE>0), and (IM>0). This is illustrated in FIG. 6, where the line 61 represents IM=RE, and the line 62 represents a complex sample. The line 62 represents a phase θ.sub.sync and it is seen that the IM-value is greater than the RE-value at the intersection point with a circle 63. Both the IM-value and the RE-value are positive at the intersection point with a circle 63, why θ.sub.sync modulus π/2>π/4. These evaluations are used in step 24 in the method explained with reference to FIG. 2.

[0015] Minimum Shift Keying (MSK) is a signaling format where digital information is modulated by changing the phase of a radio signal relative to a fixed carrier frequency. The phase changes at a constant rate (equivalent to a constant frequency deviation relative to carrier) for the duration of the time it takes to transmit one symbol. The phase change is ±90 degrees depending of the digital information to be transmitted. The digital information can for example be coded as +90 degrees for a logic “1” and −90 degrees for a logic “0”. This is explained in more details below.

[0016] A continuous phase FSK (CPFSK) signal have the form:


Φ=A cos(ω.sub.ct+γ(t)),

with the phase γ(t) being a continuous function of time. The signal is based on two frequencies ω.sub.1 and ω.sub.2, where ω.sub.c=(ω.sub.1+ω.sub.2)/2 and Δω=(ω.sub.1−ω.sub.2)/2.

[0017] In the interval 0<t≤T the phase is a linear function of time:


γ(t)=±Δωt+γ(0),which gives:


Φ=A cos(ω.sub.ct±Δωt+γ(0)),

[0018] For minimum-shift keying (MSK), we have Δω=π/2T. This is the minimum frequency spacing between ω.sub.1 and ω.sub.2 that allows the two FSK signals to be orthogonal to each other. T is the symbol width. This criterion means that the frequency separation between f.sub.1 and f.sub.2 must be such that there is a half cycle difference in one-bit interval.

[0019] By using this condition, we get:


γ(t)=±tπ/2T+γ(0), for 0<t≤T.

[0020] By choosing γ(0)=0, the possible values of γ(t) for t>0 can be shown as a phase trellis diagram. The phase at multiples of T can therefore only assume a set of discrete values. More specifically, over each symbol duration, T, the phase of the MSK waveform can only be advanced or retarded by exactly 90 degrees—it ramps up by 90 degrees when a “1” is transmitted, and down by 90 degrees when a “0” is transmitted.

[0021] FIG. 3 shows a phase trellis diagram for such coding when transmitting a sequence of 1-0-1-1-0-1-0-0-0-1-1-0-1-1-0 etc. Minimum Shift Keying (MSK) uses two frequencies which are separated by ½T and phase discontinuity is avoided in symbol boundaries. MSK is a continuous phase transmit signal with phase changes through multiples of π/2 radians.

[0022] FIG. 3 shows the phase trellis for ideal MSK signal on a transmitter side without having been exposed to any bandwidth limitation. However, when the signal has been modulated to a carrier (transmitter frequency), transmitted, received, filtered and down mixed with a carrier frequency close to the transmitter frequency, there will be two significant differences compared to an ideal transmitter IF signal: [0023] The phase will be offset, and [0024] The signal will be intentionally bandwidth limited to reduce noise. This affects the phase function.

[0025] In a real and non-ideal setup, the phase trellis shown in FIG. 3 will have rounded peaks and valleys (indicated by the sine-curved dotted line). Furthermore, the phase offset will displace entire curve in time or symbols. Disregarding from the displacement of the curve due to the undesired phase offset, the phase trellis curve is perfectly synchronized and can be demodulated directly and coherently. In a real implementation in a magnetic induction radio used in a pair of hearing aids, the bandwidth limiting function may be seen as a matched cosine filter, which yields optimal signal to noise performance to white noise disturbance.

[0026] When analyzing the phase distribution for samples of the bandwidth-limited signal, it is observed that the distribution of samples will have higher density for phases around π/4+nπ/2, where n is an integer. Furthermore, when inspecting the distribution of samples for the phase in the range 0−π/2, the phase distribution will have center of gravity at π/4 and will be almost symmetrical around the center of gravity. A histogram for a perfectly synchronized signal will be symmetric around π/4 radians. In presence of an undesired phase offset, the histogram will be shifted/rotated right or left depending on the sign and magnitude of offset. The “phase modulus π/2” value of the IF samples is illustrated in FIG. 4 showing a histogram for a signal with a phase offset (marked in FIG. 4) of +0.2×π/2 radians. The histogram illustrated in FIG. 4 contains information that can be used to adjust for the phase offset. In FIG. 4, the phase values are distributed in 20 bins.

[0027] In a digital receiver it is economical affordable to calculate the “phase modulus π/2” value of the IF samples, and to determine whether the result is below or above π/4. This calculus may result in a 2-bin histogram as shown in FIG. 5, where values in the range between 0 and π/4 ends in a first bin, and values in the range π/4 and π/2 ends in the second bin. When phase offset is larger than zero there will be a higher representation of the IF samples with “phase modulus π/2” value being above π/4 and vice versa. This also applies IF samples with noise present. You will no longer be able to visually identify the phase offset in FIG. 5, but the center of gravity is in the shown example present in the bin representing phases in the range from 0,5-1,0 π/2.

[0028] The phase offset is generated by an error caused by a mismatch between the carrier frequencies used at the transmitter side and the receiver side, even though the two carrier frequencies ideally should be identical. When the mismatch between the two carrier frequencies remains substantially stable over time, it has been realized that the direction of the phase offset is important. An ideal situation will be when the phase offset is zero. By adding a compensation value to the IF samples, it is possible to compensate for the phase offset caused by a mismatch between carrier frequencies used at the transmitter side and the receiver side.

[0029] Even though the presence of noise affects the phase offset for the IF samples, and the probability difference is less significant compared to a noise free IF sample signal, the probability difference can still be used to compensate for phase offset. Data for the distribution of the “phase modulus π/2” value, is according to the invention used in an iterative process where the incoming IF sample signal is adjusted for a phase offset in order to obtain a distribution of the “phase modulus π/2” value being symmetric around π/4.

[0030] FIG. 2 illustrates a flow chart for a method for phase offset compensation. According to one aspect of the invention, the method is implemented on a digital receiver. The down-mixed signal is entered digitally into the phase compensation unit 11 at a constant sampling rate. The signal is represented in polar form as radius and phase. The incoming signal is denoted as R and θ.sub.measure and is received in the phase compensation unit 11 at step 20. In step 21, the signal is phase compensated by subtracting a phase offset value denoted θ.sub.offset from the incoming phase value, θ.sub.measure, of the sample. The offset-adjusted phase, θ.sub.sync, represents the phase for the synchronized signal that can be used directly for coherent demodulation.

[0031] After the phase compensation, the sample is output in step 22 to the coherent demodulator 12 for symbol detection. Depending on the phase, θ.sub.sync, of the synchronized signal, a small adjustment is performed to the phase offset, ° offset, by either adding or subtracting an adjustment value θ.sub.adjust. In step 23, a phase value, θ.sub.mod, is calculated as the “modulus π/2” value of the phase, θ.sub.sync, of the synchronized signal.

[0032] In step 24, it is evaluated whether phase value, θ.sub.mod, is above or below π/4. In step 25, after the phase value, θ.sub.mod, is deemed to be above π/4 in step 24, the phase offset value, θ.sub.offset, for the following sample is calculated based on the phase offset value, θ.sub.offset, for the current sample as being:


θ.sub.offset−θ.sub.offset+θ.sub.adjust.

[0033] In case the phase value, θ.sub.mod, is deemed to be below π/4 in step 24, the phase offset value, θ.sub.offset, for the following sample is calculated based on the phase offset value, θ.sub.offset, for the current sample in step 26 as being:


θ.sub.offset=θ.sub.offset−θ.sub.adjust.

[0034] The phase offset value, ° offset, calculated in step 25 or 26 is then used for phase adjusting or synchronizing the next complex sample received in step 20.

[0035] The adjustment value, θ.sub.adjust, is a small predetermined value. In one embodiment the adjustment value, θ.sub.adjust, is chosen to be below one percent of π/4.

[0036] The numeric value of phase offset value, θ.sub.offset, will over time reach the point where the probability of a positive adjustment equals the probability of a negative adjustment in step 25 or 26. This equilibrium represents the ideal state, where θ.sub.sync is correctly adjusted. The phase offset value, θ.sub.offset, now corresponds to the observed phase offset of the received complex sample, and in the state with the probability of a positive adjustment equals the probability of a negative adjustment, the algorithm shown in FIG. 2 will start to toggle between the two branches including steps 25 and 26. Now the phase offset value, θ.sub.offset, will remain substantially stable. The phase compensation unit 11 will compensate for constant phase difference as well time depending offset originating from differences in transmitter and receiver's carrier frequencies.

[0037] In one embodiment, the phase compensation unit 11 applies an algorithm using a first order integrator loop for the phase compensation. The integration will completely compensate for a static offset, but a constant phase error will remain if the phase offset is a linear function of time, which is the case when transmitter and receiver frequency are different. To completely compensate for linearly varying phase a second order integrator system is required.

[0038] The method discussed above uses phase modulus π/2 for phase-offset compensation, and the method compensate phase offset to nearest integer multiple of π/2. This works fine for a coding method e.g. where “1” corresponds to m/2 phase advance, and “0” corresponds to −π/2.

[0039] According to one embodiment of the invention, the method of carrier resynchronization of an MSK signal in a digital receiver and comprising steps of providing samples having a phase value (θ.sub.measure) of a down-mixed signal; compensating the phase value (θ.sub.measure) of the down-mixed signal by delivering a phase offset compensated sample having a phase value (θ.sub.sync); and recovering information content from the phase offset compensated sample. The method further comprises steps of analyzing a phase value (θ.sub.sync) of the phase offset compensated sample, calculating a phase offset value (θ.sub.offset) based on the phase value (θ.sub.sync) of the phase offset compensated sample, and applying the phase offset value (θ.sub.offset) when delivering a subsequent phase offset compensated sample.

[0040] In one embodiment, the applying of the phase offset value (θ.sub.offset) for phase offset compensation of a sample, uses a phase offset value (θ.sub.offset) calculated by means of the immediately preceding sample. In another embodiment, on value of the phase offset value (θ.sub.offset) is used for compensating a plurality of samples, e.g. 16 or 64.

[0041] The method according to the invention has several advantages compared to prior art methods. Firstly, it is not required at any point to calculate the phase for incoming samples. This would be the case if for examples using preambles with synchronization information. Phase calculations are normally expensive and requires several CORDIC iterations. CORDIC mathematical techniques are optimized for low-complexity finite-state CPUs. Secondly, it is not necessary to distinguish between preambles, messages or pauses in the signal to correctly synchronize the incoming signal.

[0042] The method works even with very poor signal to noise ratios. Even though when synchronization is lost during transmission due to poor signal quality, synchronization will automatically be regained when signal quality improves. Correct clock recovery is not required. In fact, clock recovery and synchronization may work independently of each other.

[0043] The method does not require data assistance. Hence, vicious circles where incorrectly detected data degrades synchronization and vice versa does not exist with this method. The required calculation of (θ modulus π/2>π/4) is very inexpensive.

[0044] According to one embodiment of the invention, the digital receiver in embedded in a radio for use in an inductive radio link between e.g. two binaural hearing aids for increasing the available bandwidth of the receiver.