The present invention relates to a device with an antenna that receives a target carrier signal from a remote target and transmits a device carrier signal modulated with data to communicate data between the device and the target, which device comprises clock extraction means to extract a target clock from the target carrier signal and driver means to generate the device carrier signal from a device clock and synchronization means to synchronize the frequency and phase of the device clock with the target clock.
The present invention relates to a method to synchronize the frequency and phase of a device clock within a device with a target clock of a remote target which target clock within the device is derived from a target carrier signal received from the target with an antenna of the device.
Wireless communication is used in a variety of fields and devices as for instance to identify products with a tag attached to the product or for a communication between a smart card and a reader or target for a payment application. Many such applications use standards like ISO/IEC18000-3 or ISO/IEC 14.443 Type A and B or ISO15.693 or ECMA-340 13,56 MHz Near Field Communication (NFC) that define protocols and types of modulation used to transmit information between the tag or smart card and the target. In most of these communications the target generates an electromagnetic field by sending a target carrier signal and the passive smart card or tag uses this electromagnetic field to generate power to start its internal processor and to initiate communication with the target using the electromagnetic field generated by the target.
NFC furthermore enables that a device (reader or target) simulates a smart card which actively sends data using its own electromagnetic field by sending a modulated device carrier signal. In such a case the device (reader or target that simulates a smart card) needs to synchronize or correct the frequency and phase of the device carrier signal with the target carrier signal to enable correct demodulation of the modulated data within the target.
EP 2 843 840 A1 discloses synchronization means to synchronize a device clock within the device with a reader clock of a remote reader which reader clock within the device is derived from the reader carrier signal received from the reader with an antenna of the device. These state of the art synchronization means comprise a first phase lock loop circuit that receives the reader carrier signal and generates a control signal. These synchronization means furthermore comprise a second phase lock loop circuit that receives a stable reference-oscillation signal and adjusts a fractional divider ratio according to the control signal of the first phase lock loop circuit to provide the device clock.
These synchronization means disclosed in EP 2 843 840 A1 comprise the disadvantage that it takes a relative long locking time until the device clock is synchronized to the reader or target clock. Disturbances during the locking time may influence the results negatively. It is furthermore a disadvantage of the known synchronization means that they need to run continuously what increases the power consumption of the device.
It is an objective of the invention to provide a device with synchronizations means and a method to synchronize the frequency and phase of a device clock within the device with a target clock of a remote target that needs only a short time to synchronize and reduces the power consumption of the device.
This objective is achieved with synchronization means that comprise:
time measurement means to measure the phase difference between the target clock and the device clock or an internal device clock related to the device clock to provide a phase information;
measurement control means to initiate a first time measurement that results in a first phase information and to initiate a second time measurement a fixed time period after the first time measurement that results in a second phase information;
frequency correction means to correct the frequency of the device clock and/or the internal device clock to the frequency of the target clock based on an evaluation of the first phase information and second phase information by evaluation means;
which measurement control means are built to initiate a third time measurement after the frequency correction of the device clock and/or the internal device clock that results in a third phase information evaluated by the evaluation means and corrected by phase correction means which correct the phase of the device clock to the phase of the target clock.
This objective is furthermore achieved with a method that comprises the following steps:
measure the phase difference between the target clock and the device clock or an internal device clock related to the device clock and provide a first phase information;
count a fixed number of clocks of an internal clock to wait a fixed time; measure the phase difference between the target clock and the device clock or the internal device clock again and provide a second phase information;
correct the frequency of the device clock and/or the internal device clock to the frequency of the target clock by evaluation of the first phase information and second phase information; measure the phase difference between the target clock and the device clock or the internal device clock again and provide a third phase information;
correct the phase of the device clock to the phase of the target clock by evaluation of the third phase information.
This provides the advantage that only three time measurements to measure phase differences are needed to correct the frequency and phase of the device clock to run synchronal to the frequency and phase of the target clock. This synchronization may be repeated after some time or if some errors are detected within the demodulated data received, but in principle this is a one time synchronization and not a continuous synchronization process like disclosed in prior art. As a result, power consumption within the device is reduced. Furthermore, all these time measurements are processed in the digital domain what increases the accuracy of the synchronization of the device carrier signal with the target carrier signal.
Different embodiments of the invention will be explained. In a simple embodiment there is no internal device clock used and all time measurements are done between the target clock and the device clock, which after synchronization both comprise the same frequency and phase. In another embodiment of the invention an internal device clock is used that may have the same frequency as the target clock or a multiple or split of the target clock, which internal device clock is used for the time measurements. In still another embodiment of the invention disclosed in
Synchronization of the frequency of the device clock with the target clock for this embodiment of the invention is meant in that way that the synchronized frequency is a fixed division or multiple of the target clock as will be explained below.
These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter. The person skilled in the art will understand that various embodiments may be combined.
Device 1 comprises an antenna that receives the target carrier signal 3 from the remote target 2 and clock extraction means 4 to extract a target clock 5 from the target carrier signal 3. To comply with the NFC Standard, device 1 needs to transmit back a device carrier signal 6 with the same 13,56 MHz frequency and phase as the target carrier signal 3, which device carrier signal 6 may be modulated with data to be transmitted from device 1 to target 2. Synchronization of the device carrier signal 6 to the target carrier signal 3 is needed to ensure error-free demodulation and decoding of data transmitted.
Device 1 comprises synchronization means 7 to synchronize the frequency and phase of a device clock 8 with the target clock 5. In the embodiment disclosed the frequency of the device clock 8 after synchronization is not the same or identical as the frequency of the target clock 5, but it is a defined multiple of the 13,56 MHz and in that way synchronized. Elements of the synchronization means 7 and their functionality will be explained in detail based on the
Synchronization means 7 comprise time measurement means 10 to measure the phase difference or time difference between the target clock 5 and the internal device clock 33 and to provide a phase information φ. In this embodiment of the invention time measurement means 10 measure the time difference between the target clock 5 and the internal device clock 33. As shown in
Synchronization means 7 comprise frequency correction means 11 that receive a reference clock 12 from another part of device 1, not shown in
Synchronization means 7 furthermore comprise measurement control means 20 to initiate a first time measurement at time instance t1, shown in
Measurement control means 20 are furthermore built to initiate a third time measurement at time instance t3, shown in
Time measurement means 10 furthermore comprise a phase wrap detector 29 that counts the number of edges of the target clock 5 and the number of edges of the internal device clock 33 during the fixed time period ΔT and provides a phase wrap information that comprises a number information 30 of the counted edges of the target clock 5 and a number information 31 of the counted edges of the internal device clock 33. Calculation means 32 of time measurement means 10 compare this number information 30 and 31 and detect a phase wrap. A phase wrap happens if the frequencies of the target clock 5 and the internal device clock 33 are far off and a full period or even several full periods of the clocks have to be taken into account for the evaluation of the measured phase difference. This provides the advantage that time measurement means 10 detect phase wraps and even in such cases evaluate the correct phase information to be used to synchronize the device clock 8 with target clock 5.
It has to be stated that in the embodiment provided time measure means 10 do not use the final synchronized device clock 8 as input to measure the phase difference to the target clock 5 as they use the internal device clock 33 before phase correction processed by phase correction means 22. This is possible as there is no difference for the frequency correction and the phase correction. Using the uncorrected internal device clock 33 for third time measurement will result in the measurement of that uncorrected phase error which will be corrected by phase correction means 22. In another embodiment of the invention device clock 8 could be used for the third time measurement as well.
Device 1 furthermore uses a method to synchronize the frequency and phase of the device clock 8 within the device 1 with the target clock 5 of the remote target 2, which target clock 5 within the device 1 is derived from the target carrier signal 3 received from the target 2 with an antenna of the device 1. This method comprises the following steps:
measure the phase difference between the target clock 5 and the device clock or the internal device clock 33 and provide a first phase information φl;
count a fixed number of clocks of an internal clock to wait a fixed time;
measure the phase difference between the target clock 5 and the device clock or the internal device clock 33 again and provide a second phase information φ2;
correct the frequency of the device clock 8 and/or the internal device clock 33 to the frequency of the target clock 5 by evaluation of the first phase information φ1 and second phase information φ2 ;
measure the phase difference between the target clock 5 and the device clock 8 or internal device clock 33 again and provide a third phase information φ3;
correct the phase of the device clock 8 to the phase of the target clock 5 by evaluation of the third phase information φ3. This method provides the advantages described above in relation with the device 1.
A device with inventive synchronization means has been described based on an embodiment that complies to the NFC Standard and with a device 1 that simulates a smart card or tag and actively sends data modulated onto a device carrier signal. The inventive concept of synchronization means as describe may be used within any other device that needs to synchronize its clock to the clock of a remote further device. Such concept could also be adopted for other fields including systems that detect movement, location and proximity. Where no second device exists, and the incoming signal is a reflection of the systems own signal, like in radar or motion sensors.
In another embodiment of the invention time measurement means 10 only require fine measurement means 26 to provide phase information cp. This enables a simple solution for time measurement means.
In another embodiment of the invention both the internal device clock and the device clock could be identical and run on a frequency of 13,56 MHz, what means that internal device clock is not needed anymore as separate clock. Synchronization means would in that case synchronize and generate a device clock with exact the same frequency and phase as the target clock and feed this device clock into driver means that directly would use this device clock to generate the device carrier signal.
Number | Date | Country | Kind |
---|---|---|---|
16154369.9 | Feb 2016 | EP | regional |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2017/051775 | 1/27/2017 | WO | 00 |