Phase value determination for an NFC card emulating device utilizing active load modulation
11764833 · 2023-09-19
Assignee
Inventors
- Johannes Stahl (Graz, AT)
- Ulrich Andreas Muehlmann (Graz, AT)
- Adrian Rafael Krenn (St. Bartholomä, AT)
Cpc classification
G06K7/10297
PHYSICS
G06K19/00
PHYSICS
International classification
Abstract
There is described a method of determining a phase value for an NFC card emulating device that enables said NFC card emulating device to communicate in phase with an NFC reader device while utilizing active load modulation, wherein the NFC card emulating device comprises a card antenna and the NFC reader device comprises a reader antenna, the method comprising receiving a reader signal from the NFC reader device at the NFC card emulating device through coupling of the card antenna and the reader antenna, the reader signal comprising a subcarrier modulation; estimating a resonance frequency of a system corresponding to the coupled card antenna and reader antenna based on the received communication signal; and determining the phase value based on the estimated resonance frequency and a set of parameters that represents a predetermined reference system. Furthermore, an NFC card emulating device, an NFC system, and a computer program are described.
Claims
1. A method of determining a phase value for an NFC card emulating device that enables said NFC card emulating device to communicate in phase with an NFC reader device while utilizing active load modulation, wherein the NFC card emulating device comprises a card antenna and the NFC reader device comprises a reader antenna, the method comprising: receiving a reader signal from the NFC reader device at the NFC card emulating device through coupling of the card antenna and the reader antenna, the reader signal comprising a subcarrier modulation; estimating a resonance frequency of a system corresponding to the coupled card antenna and reader antenna based on the received communication signal; and determining the phase value based on the estimated resonance frequency and a set of parameters that represents a predetermined reference system.
2. The method according to claim 1, wherein estimating the resonance frequency comprises: calculating a discrete Fourier transform for at least a part of the received reader signal; and estimating the resonance frequency based on a first and a second value of the discrete Fourier transform, wherein the first value corresponds to a first frequency and the second value corresponds to a second frequency.
3. The method according to claim 2, further comprising: calculating a ratio between a magnitude of the first value and a magnitude of the second value; and applying a first function to the calculated ratio to estimate the resonance frequency.
4. The method according to claim 3, wherein the first function maps the calculated ratio to a dominant pole of the system corresponding to the coupled card antenna and reader antenna.
5. The method according to claim 2, wherein the first frequency corresponds to one of an upper sideband and a lower sideband of the subcarrier modulation, and wherein the second frequency corresponds to the other one of the upper sideband and the lower sideband of the subcarrier modulation.
6. The method according to claim 1, wherein the subcarrier modulation comprises a square wave at a subcarrier frequency.
7. The method according to claim 1, wherein determining the phase value comprises applying a second function to the estimated resonance frequency and the set of parameters representing the reference system.
8. The method according to claim 7, wherein the second function is a predetermined function obtained by training measurements within the reference system.
9. The method according to claim 1, further comprising selecting the set of parameters from a plurality of sets of parameters, wherein each set of parameters in the plurality of sets of parameters represents one of a plurality of reference systems.
10. An NFC card emulating device for communicating with an NFC reader device utilizing active load modulation, the NFC card emulating device comprising: a card antenna adapted to couple with a reader antenna of the NFC reader device; a receiver circuit adapted to receive a reader signal from the NFC reader device through coupling of the card antenna and the reader antenna, the reader signal comprising a subcarrier modulation; a phase determining circuit adapted to: estimate a resonance frequency of a system corresponding to the coupled card antenna and reader antenna based on the received reader signal; and determine a phase value based on the estimated resonance frequency and a set of parameters that represents a predetermined reference system; and a transmitter circuit adapted to transmit a response signal to the NFC reader device utilizing active load modulation, wherein the phase value is used to align the phase of the response signal with the phase of the reader signal.
11. The device according to claim 10, wherein the phase determining circuit is further adapted to: calculate a discrete Fourier transform for at least a part of the received reader signal; and estimate the resonance frequency based on a first and a second value of the discrete Fourier transform, wherein the first value corresponds to a first frequency and the second value corresponds to a second frequency.
12. The device according to claim 11, wherein the phase determining circuit is further adapted to: calculate a ratio between a magnitude of the first value and a magnitude of the second value; and apply a first function to the calculated ratio to estimate the resonance frequency.
13. The device according to claim 12, wherein the first function maps the calculated ratio to a dominant pole of the system corresponding to the coupled card antenna and reader antenna.
14. The device according to claim 11, wherein the first frequency corresponds to one of an upper sideband and a lower sideband of the subcarrier modulation, and wherein the second frequency corresponds to the other one of the upper sideband and the lower sideband of the subcarrier modulation.
15. The device according to claim 10, wherein the subcarrier modulation comprises a square wave at a subcarrier frequency.
16. The device according to claim 10, wherein the phase determining circuit is further adapted to apply a second function to the estimated resonance frequency and the set of parameters representing the reference system in order to determine the phase value.
17. The device according to claim 16, wherein the second function is a predetermined function obtained by training measurements within the reference system.
18. The device according to claim 10, further comprising a selecting circuit adapted to select the set of parameters from a plurality of sets of parameters, wherein each set of parameters in the plurality of sets of parameters represents one of a plurality of reference systems.
19. An NFC system, comprising: an NFC reader device having a reader antenna; and an NFC card emulating device adapted to communicate with the NFC reader device utilizing active load modulation, the NFC card emulating device comprising: a card antenna adapted to couple with the reader antenna; a receiver circuit adapted to receive a reader signal from the NFC reader device through coupling of the card antenna and the reader antenna, the reader signal comprising a subcarrier modulation; a phase determining circuit adapted to: estimate a resonance frequency of a system corresponding to the coupled card antenna and reader antenna based on the received reader signal; and determine a phase value based on the estimated resonance frequency and a set of parameters that represents a predetermined reference system; and a transmitter circuit adapted to transmit a response signal to the NFC reader device utilizing active load modulation, wherein the phase value is used to align the phase of the response signal with the phase of the reader signal.
Description
BRIEF DESCRIPTION OF THE DRAWING
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
DETAILED DESCRIPTION
(9) The illustration in the drawing is schematic. It is noted that in different figures, similar or identical elements are provided with the same reference signs or with reference signs, which differ only within the first digit.
(10)
(11) Small LMA values cause zones, where the reader device cannot detect the modulations anymore. The width of these “blind zones” depends on the sensitivity of the reader device on the one hand, and on the phase and frequency stability of the ALM signal on the other hand. The locations of the LMA maxima and minima are not fixed and depend on a number of features and characteristics, including e.g. matching networks, antennas, process and component variations, and communication distance.
(12) To illustrate the dependence between performance and the specific communication scenario,
(13) Clearly, without dynamic adjustment of the initial phase, one needs to choose a setting that yields satisfactory performance over all distances and possible reader devices. Depending on the performance constraints and the targeted set of reader terminals this may be impossible.
(14) Known systems are limited to a static initial phase setup. The initial phase setting is found by evaluating the performance as a function of communication distance and initial phase with all readers of interest in the laboratory. Finally, an initial phase setting that is admissible, i.e. that lies in the so-called phase window for all tested communication scenarios, is chosen. Under normal laboratory conditions, a phase window of 10° to 20° can be achieved. However, there exist scenarios where the individual reader-dependent phase windows do not overlap and hence no global static initial setting that guarantees successful communication can be found.
(15) The present disclosure presents ways of compensating for the abovementioned effects and can thus be used to improve and stabilize ALM-based NFC performance. To achieve this, the present disclosure relies on two steps. First, the system's resonance frequency is estimated from received data by using a simplified model of the overall system. Second, the phase shift of a reference system at this frequency is compensated. The reference system can be trained offline.
(16)
(17) At 310, a reader signal is received from the NFC reader device at the NFC card emulating device through coupling of the card antenna and the reader antenna, the reader signal comprising a subcarrier modulation. At 320, a resonance frequency of a system corresponding to the coupled card antenna and reader antenna is estimated based on the received communication signal. At 330, the phase value is determined based on the estimated resonance frequency and a set of parameters that represents a predetermined reference system.
(18) The proposed method relies on the assumption, that the communication channel between the reader device and the card emulating device is dominated by the resonator that is formed by the antennas of the two devices, i.e. the reader antenna and the card antenna. This resonator is subject to detuning in high coupling scenarios, i.e. when the antennas are placed close to each other. Detuning refers to a movement of the resonance frequency of a resonator with regard to the frequency which the system was originally tuned to. Hence, detuning correspondingly affects the phase response of the system. This effect is very well visible in
(19) As a simplification, the dominant resonator is modelled as a one-pole system. The z-transform of the impulse response h[n] (where n is the discrete-time index) of a one-pole system is given by
(20)
(21) Here, z is the complex-valued independent variable, G is a complex-valued gain and a is the complex-valued pole of the system. The angle of the pole represents the normalized angular resonance frequency, and its absolute value defines the quality factor of the resonance.
(22) Typically, the channel must be excited by a broadband signal in order to estimate its impulse response. However, in order to estimate the complex-valued pole in Equation (1) from measured data, it is only necessary to excite the channel with two tones. The simple parametric one-pole model hence allows for a sparse excitation signal to determine its impulse response (up to a scaling factor and a global time shift).
(23) The NFC reader modulates the carrier with a square wave at a specific frequency (the subcarrier frequency). The square wave can be represented by a sum of harmonically related sinusoids. This means that the channel is excited by the subcarrier fundamental and the associated harmonics. Hence, the proposed method relies on analyzing the lower and the upper sideband of the reader's subcarrier modulation. As will be discussed further below, the ratio of the upper and lower sidebands' magnitudes can be used to obtain an estimate â of the pole a. Note, however, that any other method that is capable of handling the sparse characteristics of the excitation signal may be used to determine the pole in Equation (1).
(24) Without loss of generality, the steps to estimate pole a from the magnitude ratio of the upper and lower sidebands of the reader's subcarrier modulation will now be described.
(25) Based on the result of fitting a one-pole system to the received data, the initial phase value is controlled by mapping the estimated resonance frequency to a concrete phase value. In the present disclosure, the concept of a reference system that can be trained offline is used. The initial phase value shall be chosen to compensate for the phase deviation between the fitted system and a reference system. It is further possible to define multiple classes of reference systems, where each class corresponds to a different phase mapping.
(26) This means that during reception of a signal from the reader device, the card emulating device can estimate the dominant one-pole resonator, identify the class, the current reader belongs to, and accordingly select the correct initial phase. The fact that the proposed algorithm can be used during reception means that the initial phase can be set before the first response is sent.
(27)
(28)
(29) The calculations in
(30)
with normalized angular frequency
(31)
where f.sub.s is the sampling frequency, N.sub.DFT is the DFT length, and k.sub.0 is the DFT bin index associated with frequency f.sub.0. Further, the amplitude ratio is given as
(32)
(33) This is only one way to estimate the parameter of interest from the sparse spectrum of the received signal, any other method that exploits the fact that dominant characteristics of the system are modeled by a single parameter may be used.
(34) An important aspect of the training procedure for obtaining f.sub.2(â, θ.sub.i)is the cost function that is optimized and that needs to take into account phase wrapping. An exemplary cost function that represents a cyclic squared error between target and input phase is
Cost({circumflex over (ϕ)}.sub.init,ϕ.sub.init)=(e.sup.j{circumflex over (ϕ)}.sup.
where {circumflex over (ϕ)}.sub.init is a vector that consists of the phase values that are predicted by f.sub.2, ϕ.sub.init contains the target optimal phase values, and H indicates the Hermitian transpose of a vector. Any other cost function that takes the wrapping of the phase into account may be used. Cost functions that do not take the wrapping into account will fail, as the training cannot converge.
(35) The target initial phase vector, ϕ.sub.init, which is the training target, can be obtained in several ways, including measuring LMA as a function of initial phase (the target phase values correspond to LMA maxima) or measuring performance as a function of initial phase (the target phase values correspond to those values that have maximum distance to the blind zones of the readers), e.g. the curves TA, TB in
(36) When using multiple reference systems, the training samples, i.e. measured data and target values, need to be pre-grouped accordingly to ensure meaningful optimization results. Preferably, double-pole systems may be used with z-Transform
(37)
(38) with complex-valued gain G.sub.i and a double-pole at a.sub.i. The rationale behind this choice is the fact that the two coupled antennas actually form a two-pole resonator, which affects the phase shift accordingly. The phase predictor is designed to compensate for the phase of this system at the estimated resonance frequency {circumflex over (f)}.sub.res, which is connected to the estimated pole as follows:
(39)
where f.sub.s is the sampling frequency and {circumflex over (θ)}.sub.res is the normalized angular representation of the resonance frequency. Hence, the overall phase predictor function is given by
{circumflex over (ϕ)}.sub.init =−∠H.sub.i(z=e.sup.j{circumflex over (θ)}.sup.
(40) It can be seen that the parameter vector θwhich is being optimized during training consists of three elements: |a.sub.i|, ∠a.sub.i, and ∠G.sub.i.
(41)
(42) 1) Load/generate training data, i.e. input data (in the present case the estimated poles) and target output data (the associated optimal initial phase settings according to measurements or theoretical insights).
(43) 2) Initialize the parameters of the phase predictor model that is being optimized.
(44) 3) Compute phase predictions based on the model parameters and the input data, e.g. Equation (9).
(45) 4) Use the cost function, e.g. Equation (6), to evaluate the error between predicted phase value and target phase value.
(46) 5) Update phase predictor parameters based on cost.
(47) 6) Repeat steps 4) and 5) until convergence.
(48) In an actual implementation, the intermediate processing steps, like computation of the system pole estimates, can be replaced by a LUT (look-up table) that directly maps the measured asymmetry of the spectrum to an initial phase setting. However, for the generation of the LUT and any classification mechanism, it is advantageous to use a physical meaningful mapping as this helps with both interpretation and optimization of the obtained parameters.
(49) It is noted that, unless otherwise indicated, the use of terms such as “upper”, “lower”, “left”, and “right” refers solely to the orientation of the corresponding drawing.
(50) It is noted that the term “comprising” does not exclude other elements or steps and that the use of the articles “a” or “an” does not exclude a plurality. Also, elements described in association with different embodiments may be combined. It should also be noted that reference signs in the claims should not be construed as limiting the scope of the claims.