PHASE VALUE DETERMINATION FOR AN NFC CARD EMULATING DEVICE UTILIZING ACTIVE LOAD MODULATION

20220166463 · 2022-05-26

    Inventors

    Cpc classification

    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-15. (canceled)

    16. 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.

    17. The method according to claim 16, 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.

    18. The method according to claim 17, 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.

    19. The method according to claim 18, wherein the first function maps the calculated ratio to a dominant pole of the system corresponding to the coupled card antenna and reader antenna.

    20. The method according to claim 17, 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.

    21. The method according to claim 16, wherein the subcarrier modulation comprises a square wave at a subcarrier frequency.

    22. The method according to claim 16, wherein determining the phase value comprises applying a second function to the estimated resonance frequency and the set of parameters representing the reference system.

    23. The method according to claim 22, wherein the second function is a predetermined function obtained by training measurements within the reference system.

    24. The method according to claim 16, 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.

    25. 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.

    26. The device according to claim 25, 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.

    27. The device according to claim 26, 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.

    28. The device according to claim 27, wherein the first function maps the calculated ratio to a dominant pole of the system corresponding to the coupled card antenna and reader antenna.

    29. The device according to claim 26, 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.

    30. The device according to claim 25, wherein the subcarrier modulation comprises a square wave at a subcarrier frequency.

    31. The device according to claim 25, 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.

    32. The device according to claim 31, wherein the second function is a predetermined function obtained by training measurements within the reference system.

    33. The device according to claim 25, 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.

    34. 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

    [0049] FIG. 1 shows an illustration of load modulation amplitude (LMA) on reader side as a function of initial phase setting on card emulator side in two different scenarios.

    [0050] FIG. 2A shows a diagram of communication performance in dependency on initial phase setting and distance between card emulating device and reader device in one scenario.

    [0051] FIG. 2B shows a diagram of communication performance in dependency on initial phase setting and distance between card emulating device and reader device in another scenario.

    [0052] FIG. 3 shows a flowchart of a method according to an embodiment the present disclosure.

    [0053] FIG. 4 shows an illustration of a series of computation steps for determining a relationship between side band magnitude ratio and communication distance.

    [0054] FIG. 5 shows a functional block diagram of a method according to an embodiment of the present disclosure.

    [0055] FIG. 6 shows a functional block diagram of a further embodiment of the present disclosure.

    [0056] FIG. 7 shows an illustration of a setup for reference system training in accordance with an embodiment of the present disclosure.

    DETAILED DESCRIPTION

    [0057] 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.

    [0058] FIG. 1 shows an illustration of load modulation amplitude LMA (in mV) on reader side as a function of initial phase setting ϕ (in degrees) on card emulator side in two different scenarios. More specifically, FIG. 1 shows the relation between LMA and ϕ when a reader device receives a signal transmitted from a card emulating device that utilizes active load modulation and the initial phase setting ϕ. The curve A1 corresponds to a first scenario (i.e. a first combination of card emulating device and reader device under first conditions) while the curve A2 corresponds to a second scenario (i.e. a second combination of card emulating device and reader device under second conditions).

    [0059] 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.

    [0060] To illustrate the dependence between performance and the specific communication scenario, FIG. 2A and FIG. 2B show the communication performance as a function of initial phase setting ϕ (in degrees) and communication distance z (in mm) for two different NFC reader terminals. The “bad” zones B correspond to regions where the reader device is not able to detect any modulation since the LMA is too small. The “good” zones G indicate zero communication fails. Throughout this document, connected initial phase zones which allow for successful communication across all communication distances will be denoted “phase window”. The curves WA1, TA, WA2, WB1, TB, and WB2 are a result of post-processing. More specifically, the curves WA1, WA2, WB1, and WB2 correspond to local maxima of the number of fails, i.e. the worst combinations of z and ϕ, while the curves TA and TB represent those initial phase values that have maximum distance to these local maxima, i.e. each curve TA, TB may be considered as a target optimal initial phase.

    [0061] 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.

    [0062] Depending on the performance constraints and the targeted set of reader terminals this may be impossible.

    [0063] 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.

    [0064] 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.

    [0065] FIG. 3 shows a flowchart 300 of a method according to the present disclosure, i.e. 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. The NFC card emulating device comprises a card antenna and the NFC reader device comprises a reader antenna.

    [0066] 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.

    [0067] 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 FIG. 2A discussed above, where the phase window moves as a function of communication distance. The resonance frequency is not only a function of coupling but will also be affected by component variations.

    [0068] 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

    [00001] H ( z ) = G z z - a . ( 1 )

    [0069] 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.

    [0070] 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).

    [0071] 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).

    [0072] 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. FIG. 4 illustrates the individual computation steps resulting in the magnitude ratio for real-world data and a communication distance ranging from 0 mm to 30 mm. Starting from time-domain data 450, an arbitrary signal segment 452 (64 samples in this case) is selected and the discrete Fourier transform (DFT) 454 is computed. Then, two spectral sampling points, in this case the upper and lower sidebands of the subcarrier modulation, are evaluated in terms of their respective magnitude 456, 457 and used to compute a respective magnitude ratio 458. Any other measure of the spectrum's asymmetry around the carrier may be used, depending on the expected signal characteristics. As can be seen from 458, the magnitude ratio decreases as the communication distance decreases, which is an indicator of detuning. This monotonic behavior is in contrast to other measures such as received signal strength, which due to the detuning effect may become ambiguous with regard to communication distance. An example of how to estimate the pole from this data is given further below (see in particular Equation (2)).

    [0073] 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. 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.

    [0074] FIG. 5 illustrates a functional block diagram 500 of the proposed method. The time-domain reader signal x[n] is received at 510 and the resonator pole estimate a is determined at 520 by applying a first function f.sub.1(x) to the reader signal. The first function f.sub.1(x) thus represents an estimator of the resonator pole a. Then, at 530, a second function f.sub.2(â, θ.sub.i) which represents the actual phase predictor is applied to determine the initial phase value estimate {circumflex over (ϕ)}.sub.init based on the pole (or resonance frequency) estimate â and a set of parameters, represented as vector θ.sub.i, of a reference system with index i. The index i is provided by block 535, which is configured to determine which reference system to apply. Block 535 determines the index i by evaluating additional input data, e.g. the received signal strength. For example, the card emulator can be configured to apply reference system i=1 for a received signal strength up to a certain threshold, if the received signal strength exceeds this threshold, reference system i=2 is selected. The mapping from threshold values to reference system index i is variable but predefined and stored in memory (RAM/ROM). The phase predictor represented by the second function f.sub.2(â, θ.sub.i) is preferably trained offline. In general, any mapping from a measured parameter to a target phase value is feasible, as long as it is not ambiguous, i.e. as long as the function f.sub.2(â, θ.sub.i) is bijective.

    [0075] FIG. 6 shows a functional block diagram 600 of a further embodiment of the present disclosure. While the overall structure of this embodiment is similar to that shown in FIG. 5, FIG. 6 provides some additional details which are explained in the following. Again, the time-domain reader signal x[n] is received at 610. At 613, an algorithm implementing the DFT is applied to determine the frequency domain representation X[k] which in turn is supplied to block 616. The mapping of DFT bin index k to frequency f is depicted in Equation (3). Here, i.e. at 616, a ratio r between the DFT values X[k.sub.1] and X[k.sub.2] at two different frequencies, preferably the upper and lower sidebands of the subcarrier modulation of the reader signal, i.e. frequencies corresponding to the subcarrier +/−f.sub.0 which is supplied at 618. The resulting DFT ratio r is supplied to block 620 where a first function f.sub.1 is applied to determine the dominant pole estimate a. Finally, at 630, a second function f.sub.2 is applied to the dominant pole estimate a and parameter vector θ to obtain the estimate of the optimal initial phase value ϕ.sub.init. It should be noted that blocks 620 and 630 may also be implemented as a single block.

    [0076] The calculations in FIG. 6 will now be described in more detail. As explained above, the specific characteristics of the NFC signal make it possible to determine the dominant pole in baseband by evaluating a small set of DFT bins that are associated with excited frequencies. For example, selecting frequencies +f.sub.0 and −f.sub.0, a simple expression for calculating the dominant pole of the system in Equation (1) can be found:

    [00002] a ^ = r e j θ 0 + e - 2 j θ 0 r e 2 j θ 0 - 2 r e 4 j θ 0 + r e 6 j θ 0 - e - j θ 0 r - 1 , ( 2 )

    with normalized angular frequency

    [00003] θ 0 = 2 π f 0 f s = 2 π k 0 N D F T , ( 3 )

    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

    [00004] r = .Math. X [ k 0 ] .Math. .Math. X [ N D F T - k 0 ] .Math. , ( 4 ) [0077] where X[k.sub.0] is the DFT of the sampled received signal x[n] at DFT bin index k.sub.0.

    [0078] 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.

    [0079] 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.init−e.sup.jϕ.sup.init).sup.H(e.sup.j{circumflex over (ϕ)}.sup.init−e.sup.jϕ.sup.init),   (5)

    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.

    [0080] The target initial phase vector, ϕ.sub.init, which is the training target, can be obtained in several ways, including [0081] measuring LMA as a function of initial phase (the target phase values correspond to LMA maxima) or [0082] 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 FIG. 2A and FIG. 2B.

    [0083] 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

    [00005] H i ( z ) = G i z 2 ( z - a i ) 2 , ( 6 )

    [0084] 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:

    [00006] θ ^ r e s = 2 π f ^ r e s f s = a ^ , ( 7 )

    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.res)=2 ∠(e.sup.j{circumflex over (θ)}.sup.res−a.sub.i)−∠G.sub.i−2{circumflex over (θ)}.sub.res.   (8)

    [0085] 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.

    [0086] FIG. 7 shows an illustration of a setup for offline reference system training in accordance with an embodiment of the present disclosure. The training procedure involves the following steps:

    [0087] 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).

    [0088] 2) Initialize the parameters of the phase predictor model that is being optimized.

    [0089] 3) Compute phase predictions based on the model parameters and the input data, e.g. Equation (9).

    [0090] 4) Use the cost function, e.g. Equation (6), to evaluate the error between predicted phase value and target phase value.

    [0091] 5) Update phase predictor parameters based on cost.

    [0092] 6) Repeat steps 4) and 5) until convergence.

    [0093] 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.

    [0094] 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. 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.