WO2023000345A1 - 近场通信nfc装置及开环控制方法 - Google Patents
近场通信nfc装置及开环控制方法 Download PDFInfo
- Publication number
- WO2023000345A1 WO2023000345A1 PCT/CN2021/108291 CN2021108291W WO2023000345A1 WO 2023000345 A1 WO2023000345 A1 WO 2023000345A1 CN 2021108291 W CN2021108291 W CN 2021108291W WO 2023000345 A1 WO2023000345 A1 WO 2023000345A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- frequency
- clock signal
- signal
- phase
- digital
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 65
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000001514 detection method Methods 0.000 claims abstract description 102
- 238000011084 recovery Methods 0.000 claims abstract description 8
- 238000005070 sampling Methods 0.000 claims description 36
- 230000010355 oscillation Effects 0.000 claims description 3
- 230000011664 signaling Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 19
- 230000001934 delay Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000003111 delayed effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/40—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
- H04B5/45—Transponders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/20—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by the transmission technique; characterised by the transmission medium
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/20—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by the transmission technique; characterised by the transmission medium
- H04B5/24—Inductive coupling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/02—Speed or phase control by the received code signals, the signals containing no special synchronisation information
- H04L7/033—Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
Definitions
- the present application relates to the technical field of near field communication, in particular to a near field communication NFC device and an open-loop control method.
- NFC Near Field Communication
- RFID radio frequency identification
- interconnection technology is evolved from the integration of non-contact radio frequency identification (RFID) and interconnection technology.
- Devices using NFC technology can exchange data when they are in close proximity to each other.
- the NFC technology can be used on an electronic device, such as a mobile phone, to realize the scene of swiping a card when the NFC is turned off, as shown in FIG. 1 .
- the NFC card reader 11 can send a carrier signal to the mobile phone 12, and the mobile phone 12 can use passive load modulation to modulate data onto the carrier signal, and radiate the modulated signal to the NFC card reader 11.
- the handset 12 can also use active load modulation to modulate the data onto the carrier signal.
- active load modulation to modulate the data onto the carrier signal.
- the first method requires a local clock generator to generate a clock signal, which will generate additional power consumption, and the second method will cause active load modulation or when the modulation depth of the carrier signal received from the NFC card reader 11 is large If the recovered field clock signal is not ideal, the output of the phase-locked loop will be unsatisfactory, which will affect the communication between the mobile phone 12 and the NFC card reader 11 .
- an embodiment of the present application provides a near-field communication NFC device
- the near-field communication NFC device includes: a clock extractor, configured to perform clock recovery according to the first carrier signal sent by the NFC card reader, to obtain A field clock signal; a digital phase-locked loop, used for frequency tracking of the field clock signal, and outputting a first clock signal; a digital baseband chip, used for load modulation according to the first clock signal, and generating a second carrier signal;
- the controller is used to detect the frequency or phase of the vertical clock signal, and selectively control the digital phase-locked loop to open the loop according to the frequency or phase detection result.
- the controller detects the frequency or phase of the field clock signal, and selectively controls the digital phase-locked loop to open the loop according to the frequency or phase detection result, which can be modulated according to the first carrier signal Deep selective control of the digital phase-locked loop for open loop.
- the controller is configured to: generate a first open-loop control signal if there is a deviation in the frequency or phase of the field clock signal; the first open-loop control signal is used to control the digital PLL open loop.
- the first open-loop control signal is generated to control the digital phase-locked loop to open the loop, and the digital phase-locked loop can be controlled when the modulation depth of the first carrier signal received is relatively large.
- An open loop is performed to prevent the digital phase-locked loop from performing a phase tracking operation according to the discontinuous first carrier signal.
- the controller is configured to: if there is no deviation in frequency or phase of the field clock signal, control the digital phase-locked loop to perform closed loop.
- the present application controls the closed-loop of the digital phase-locked loop if there is no deviation in the frequency or phase of the field clock signal, and can control the closed-loop of the digital phase-locked loop when the received first carrier signal is continuous, so that the digital phase-locked loop can be controlled according to the continuous first
- the carrier signal performs a phase tracking operation.
- the controller is further configured to: receive the first clock signal output by the digital phase-locked loop, perform frequency multiplication on the first clock signal to obtain a second clock signal, and use The second clock signal samples the vertical clock signal, and detects the frequency or phase of the vertical clock signal according to the sampling result.
- This application samples the field clock signal after multiplying the frequency of the first clock signal output by the digital phase-locked loop, and detects the frequency or phase of the field clock signal according to the sampling result, so that the frequency or phase of the field clock signal can be realized. detection.
- the controller includes a frequency multiplier, a processor, and a digital circuit: the frequency multiplier is used to multiply the frequency of the first clock signal and then output a second clock signal; the processing The device is used to determine the number of high-frequency clocks in the second clock signal, and use the field clock signal to determine the sampling result, and detect the frequency or phase of the field clock signal according to the sampling result, wherein the sampling result is in the The number of high-frequency clocks in the clock cycle of the vertical clock signal; if there is a deviation in the number of high-frequency clocks in the clock cycle of the vertical clock signal, there is a deviation in the frequency or phase of the vertical clock signal, and the frequency Or the phase detection result is a first level; the digital circuit is used to generate the first open-loop control signal according to the frequency or phase detection result of the first level.
- the processor calculates the number of high-frequency clocks in the clock cycle of the field clock signal, and determines whether there is a deviation in the frequency or phase of the field clock signal according to the number of high-frequency clocks in the clock cycle of the field clock signal, and generates a frequency Or the phase detection result to the digital circuit, the digital circuit is used to generate the first open-loop control signal to the digital phase-locked loop according to the frequency or phase detection result of the first level, which can quickly and accurately identify the frequency or phase deviation of the field clock signal , and can quickly generate the first open-loop control signal to the digital phase-locked loop.
- the processor includes a counter and a digital signal processor; the counter is used to receive the second clock signal and record the number of the high-frequency clocks in the second clock signal.
- the digital signal processor is used to obtain the number of high-frequency clocks from the counter in the current clock cycle of the field clock signal, and obtain the number of high-frequency clocks according to the current clock cycle and the previous clock cycle. The number of high-frequency clocks determines the number of high-frequency clocks in the current clock cycle.
- the application records the number of high-frequency clocks through a counter, and calculates the number of high-frequency clocks in the current clock cycle of the field clock signal through a digital signal processor according to the number of high-frequency clocks recorded by the counter and the field clock signal, which can realize Quickly and accurately calculate the number of high-frequency clocks in the clock cycle of the field clock signal.
- the digital signal processor is further configured to: compare the number of high-frequency clocks in the current clock cycle with a preset range to determine the high-frequency clock in the current clock cycle of the field clock signal Whether there is a deviation in the number of clocks, and correspondingly determine whether there is a deviation in the frequency or phase of the field clock signal; wherein, the preset range corresponds to the second clock signal one by one; if the current clock period If the number of internal high-frequency clocks is not within the preset range, there is a deviation in the number of high-frequency clocks in the current clock cycle of the vertical clock signal, and there is a deviation in the frequency or phase of the vertical clock signal.
- This application determines whether there is a deviation in the number of high-frequency clocks in the current clock cycle through the number of high-frequency clocks in the current clock cycle and the preset range, and generates corresponding results. According to the high-frequency clock in the clock cycle of the clock signal The number of clocks determines whether there is a skew in the frequency or phase of the clock signal.
- the controller is configured to: receive the first carrier signal, detect the amplitude of the first carrier signal, and if the amplitude of the first carrier signal is greater than a preset value, control the The above-mentioned digital phase-locked loop is closed-loop.
- the present application controls the digital phase-locked loop to close the loop if the amplitude of the first carrier signal is greater than the preset value.
- the digital phase-locked loop can be controlled to close the loop, and the digital phase-locked loop can be controlled.
- the phase loop performs a phase tracking operation based on the continuous first carrier signal.
- the controller includes an amplitude detection circuit, a delay circuit, and a digital circuit: the amplitude detection circuit is configured to receive the first carrier signal, detect the amplitude of the first carrier signal, and The amplitude of the first carrier signal generates an amplitude detection result; wherein, if the amplitude of the first carrier signal is greater than a preset value, the amplitude detection result is a second level; the delay circuit is used to convert the The amplitude detection result is delayed for a preset time and then output to the digital circuit; the digital circuit is used to control the digital phase-locked loop to close the loop according to the amplitude detection result of the second level.
- the application detects the amplitude of the first carrier signal through the amplitude detection circuit, and the delay circuit delays the amplitude detection result for a preset time before outputting, and the digital circuit controls the digital phase-locked loop to close the loop according to the delayed amplitude detection result, which can provide a received
- the interval of the more continuous first carrier signal can further prevent the digital phase-locked loop from performing a phase tracking operation according to the discontinuous first carrier signal.
- the digital phase-locked loop includes a time-to-digital converter, a digital filter, a numerically controlled oscillator, and a frequency divider: the time-to-digital converter and the digital filter are used to receive the first An open-loop control signal, and is used to stop working according to the first open-loop control signal, and maintain the value before receiving the first open-loop control signal to continue to output; the numerically controlled oscillator is used to maintain the value before the open-loop state The oscillating signal continues to oscillate to output the first clock signal; the frequency divider is used to receive the first clock signal and divide the frequency of the first clock signal to reduce the frequency of the first clock signal to equal to or close to the frequency of the field clock signal recovered by the clock extractor.
- the time-to-digital converter and the digital filter stop working according to the first open-loop control signal, and keep outputting the value before receiving the first open-loop control signal, and the digitally controlled oscillator
- the oscillation signal used to keep the open-loop state continues to oscillate, which can control the open-loop of the digital phase-locked loop.
- the digital baseband chip when the load modulation is active load modulation, is further configured to generate a second carrier signal when outputting the second carrier signal to the NFC card reader.
- An open-loop control signal; the controller also includes a multiplexer MUX, and the multiplexer MUX is used to select according to at least one of the first open-loop control signal and the second open-loop control signal Open-loop control is performed on the digital phase-locked loop.
- the digital baseband chip when the active load is modulated, the digital baseband chip generates the second open-loop control signal to control the digital phase-locked loop to open the loop, which can control the digital phase-locked loop to open the loop when the active load is modulated, avoiding digital phase-locked
- the ring performs phase tracking operation according to the discontinuous first carrier signal; through the multiplexer MUX, the two cases of active load modulation and large modulation depth are integrated into one circuit, and the same circuit can be used in different cases, reducing The overall size and cost of the circuit is reduced.
- an embodiment of the present application also provides an open-loop control method, the open-loop control method includes: the clock extractor of the near field communication NFC device performs clock recovery according to the first carrier signal sent by the NFC card reader , to obtain a field clock signal; the digital phase-locked loop of the near field communication NFC device carries out frequency tracking to the field clock signal, and outputs a first clock signal; the digital baseband chip of the near field communication NFC device according to the first The clock signal is subjected to load modulation to generate a second carrier signal; the controller of the near field communication NFC device detects the frequency or phase of the field clock signal, and selectively controls the digital phase-locked loop according to the detection result.
- the open-loop control method further includes: if there is a deviation in the frequency or phase of the field clock signal, generating a first open-loop control signal; the first open-loop control signal is used to control The digital phase locked loop is open loop.
- the controller detecting the frequency or phase of the field clock signal includes: the controller receiving the first clock signal output by the digital phase-locked loop, and converting the first clock signal to A second clock signal is obtained after the signal is frequency multiplied, and the second clock signal is used to sample the field clock signal, and the frequency or phase of the field clock signal is detected according to the sampling result.
- the controller multiplies the frequency of the first clock signal to obtain a second clock signal, uses the second clock signal to sample the field clock signal, and detects The frequency or phase of the field clock signal includes: forming a controller including a frequency multiplier, a processor, and a digital circuit: the frequency multiplier multiplies the frequency of the first clock signal and then outputs a second clock signal; The processor determines the number of high-frequency clocks in the second clock signal, and uses the field clock signal to determine the sampling result, and detects the frequency or phase of the field clock signal according to the sampling result, wherein the sampling result is in the The number of high-frequency clocks in the clock cycle of the field clock signal; if there is a deviation in the number of high-frequency clocks in the clock cycle of the field clock signal, there is a deviation in the frequency or phase of the field clock signal, and the The frequency or phase detection result is a first level; the digital circuit generates the first open-loop control signal according to the frequency or phase detection result of the
- the processor determining the number of high-frequency clocks in the second clock signal, and using the field clock signal to determine the sampling result includes: forming the processor comprising a counter and a digital signal processor ;
- the counter receives the second clock signal, and records the number of the high-frequency clock in the second clock signal;
- the number of high-frequency clocks is obtained, and the number of high-frequency clocks in the current clock cycle is determined according to the number of high-frequency clocks obtained in the current clock cycle and the number of high-frequency clocks obtained in the previous clock cycle.
- the processor detecting the frequency or phase of the vertical clock signal according to the sampling result includes: the digital signal processor comparing the number of high-frequency clocks in the current clock cycle with the preset The preset range determines whether there is a deviation in the number of high-frequency clocks in the current clock cycle of the field clock signal, and accordingly determines whether there is a deviation in the frequency or phase of the field clock signal; wherein, the preset range One-to-one correspondence with the second clock signal; if the number of high-frequency clocks in the current clock cycle is not within the preset range, the number of high-frequency clocks in the current clock cycle of the field clock signal There is a deviation in the number, and there is a deviation in the frequency or phase of the field clock signal.
- the open-loop control method further includes: the controller receives the first carrier signal, detects the amplitude of the first carrier signal, and if the amplitude of the first carrier signal is greater than preset value, then control the digital phase-locked loop to perform closed-loop.
- the controller detects the amplitude of the first carrier signal, and if the amplitude of the first carrier signal is greater than a preset value, controlling the digital phase-locked loop to close the loop includes: forming The controller comprising an amplitude detection circuit, a delay circuit and a digital circuit; the amplitude detection circuit receives the first carrier signal, detects the amplitude of the first carrier signal, and generates Amplitude detection result; wherein, if the amplitude of the first carrier signal is greater than a preset value, the amplitude detection result is at the second level; the delay circuit delays the amplitude detection result for a preset time and outputs it to the The digital circuit; the digital circuit controls the digital phase-locked loop to close the loop according to the amplitude detection result of the second level.
- the open-loop control method further includes: when the load modulation is active load modulation, the digital baseband chip of the near field communication NFC device outputs the second carrier signal Generate a second open-loop control signal to the NFC card reader; the multiplexer MUX of the controller selects according to at least one of the first open-loop control signal and the second open-loop control signal Open-loop control is performed on the digital phase-locked loop.
- FIG. 1 is a schematic diagram of an existing NFC shutdown card swiping scenario.
- FIG. 2 is a block diagram of an existing phase-locked loop control circuit.
- FIG. 3 is a schematic diagram of an open-loop signal generated by a pause detector of a conventional PLL control circuit.
- Fig. 4 is a block diagram of a near field communication NFC device and an NFC card reader according to the first embodiment of the present application.
- FIG. 5 is a schematic diagram of a controller of the near field communication NFC device in FIG. 4 controlling a digital phase-locked loop according to a first carrier signal.
- FIG. 6 is a block diagram of a processor of the controller of FIG. 5 .
- FIG. 7 is a state transition diagram of a digital phase-locked loop of the near field communication NFC device in FIG. 4 .
- FIG. 8 is a working sequence diagram of the near field communication NFC device in FIG. 4 .
- FIG. 9 is a block diagram of a near field communication NFC device and an NFC card reader according to a second embodiment of the present application.
- Fig. 10 is a block diagram of a near-field communication NFC device and an NFC card reader according to the second embodiment of the present application, wherein the thick line shows the near-field communication NFC device when the modulation depth of the first carrier signal received is relatively large work process.
- Fig. 11 is a block diagram of a near field communication NFC device and an NFC card reader according to the second embodiment of the present application, where the thick line shows the working process of the near field communication NFC device during active load modulation.
- Fig. 12 is a flowchart of an open-loop control method according to an embodiment of the present application.
- first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features.
- a feature defined as “first” or “second” may explicitly or implicitly include one or more of said features.
- words such as “for example” are used as examples, illustrations or descriptions. Any embodiment or design solution described as “for example” in the embodiments of the present application shall not be interpreted as being more preferable or more advantageous than other embodiments or design solutions. Rather, the use of words such as “such as” is intended to present related concepts in a concrete manner.
- FIG. 2 is a block diagram of a conventional PLL control circuit
- FIG. 3 is a schematic diagram of an open-loop signal generated by a pause detector of the conventional PLL control circuit.
- the PLL control circuit 2 may include a clock buffer 21 , a reference clock prescaler 22 , a clock extractor 23 , a pause detector 24 , a multiplexer 25 and an analog PLL 26 .
- the clock buffer 21 is used for buffering the clock signal generated by the local clock generator.
- the clock extractor 23 is used to recover a clock signal from the received signal.
- the clock buffer 21 is connected to the multiplexer 25 through the reference clock prescaler 22 .
- the clock extractor 23 is connected to the multiplexer 25 .
- the output of the multiplexer 25 is connected to an analog phase locked loop 26 .
- the output of the clock extractor 23 is connected to a pause detector 24 .
- the output of the pause detector 24 is connected to an analog phase locked loop 26 .
- the pause detector 24 detects the amplitude according to the output of the clock extractor 23 and the phase difference between the clock signal recovered by the clock extractor and the output of the analog phase-locked loop, and outputs the detection signal to the analog phase-locked loop 26 according to the amplitude and phase difference , to control the analog phase-locked loop 26 to open the loop.
- the precision of the analog phase-locked loop 26 of the existing phase-locked loop control circuit 2 is difficult to control, the open loop easily affects the stability of the loop, and the closed-loop establishment takes a long time.
- FIG. 4 is a block diagram of a near field communication NFC device and an NFC card reader according to the first embodiment of the present application.
- the NFC card reader 5 sends the first carrier signal (radio frequency field with a frequency of 13.56MHZ) to the near field communication NFC device 4 .
- the NFC device 4 transmits the load-modulated second carrier signal to the NFC card reader 5 .
- the near field communication NFC device 4 includes an antenna 41 , a matching circuit 42 , a clock extractor 43 , a controller 44 , a digital phase-locked loop 45 , a digital baseband chip 46 , and a transmitter 47 .
- the antenna 41 may be an antenna supporting radio frequency transmission and reception.
- the antenna 41 is used for receiving the first carrier signal sent by the NFC card reader 5 .
- the matching circuit 42 is connected to the antenna 41 to form a resonant circuit together with the antenna 41 .
- the clock extractor 43 is connected with the matching circuit 42, and is used for performing clock recovery according to the first carrier signal sent by the NFC card reader 5 to obtain a field clock signal.
- the digital phase-locked loop 45 is connected with the clock extractor 43, and is used to track the frequency of the field clock signal and output the first clock signal.
- the digital baseband chip 46 is connected to the digital phase-locked loop 45, and is used for performing load modulation according to the first clock signal to generate a second carrier signal.
- a frequency divider can be connected between the digital baseband chip 46 and the digital phase-locked loop 45, and the frequency divider is used to divide the first clock signal in frequency, and the digital baseband chip 46 is used for the first clock signal after frequency division
- the target data is up-modulated to generate the second carrier signal. It can be understood that there are other ways to realize the generation of the second carrier signal according to the first clock signal, which is not limited in the present application.
- the transmitter 47 is connected between the digital baseband chip 46 and the matching circuit 42 for converting the second carrier signal into a radio frequency signal and transmitting it to the NFC card reader 5 through the antenna 41 .
- the controller 44 is connected with the digital phase-locked loop 45 for detecting the frequency or phase of the vertical clock signal, and selectively controlling the digital phase-locked loop 45 to open the loop according to the detection result.
- the controller 44 is also used to generate a first open-loop control signal if there is a deviation in the frequency or phase of the field clock signal; the first open-loop control signal is used to control the open-loop of the digital phase-locked loop 45 .
- the controller 44 is further configured to control the digital phase-locked loop 45 to close the loop if there is no deviation in the frequency or phase of the vertical clock signal.
- the controller 44 also receives the first carrier signal, detects the amplitude of the first carrier signal, and if the amplitude of the first carrier signal is greater than a preset value, controls the digital phase-locked loop 45 to perform a closed loop .
- the modulation depth of the first carrier signal can be determined based on the frequency or phase of the vertical clock signal. If there is a deviation in the frequency or phase of the vertical clock signal, the modulation depth of the received signal is large; if there is no deviation in the frequency or phase of the vertical clock signal, the modulation depth of the received signal is normal.
- the controller 44 can also receive the first clock signal output by the digital phase-locked loop 45, and obtain a second clock signal after frequency multiplication of the first clock signal, and use the second clock signal to control the field
- the clock signal is sampled, and the frequency or phase of the field clock signal is detected according to the sampling result.
- FIG. 5 is a schematic diagram of a controller of a near field communication NFC device controlling a digital phase-locked loop according to a first carrier signal.
- the controller 44 includes a processor 441 and a digital circuit 442 .
- the processor 441 is connected between the clock extractor 43 and the digital circuit 442, and is used for detecting the frequency or phase of the field clock signal, and generates a level signal to the digital circuit 442 according to the frequency or phase detection result, and the digital circuit 442 is based on the specified
- the level signal selectively controls the digital phase-locked loop 45 to open the loop.
- the controller 44 may further include a frequency multiplier 443 .
- the frequency multiplier 443 is connected between the digital phase-locked loop 45 and the processor 441 .
- the frequency multiplier 443 is used to multiply the frequency of the first clock signal to output a second clock signal.
- the frequency multiplier 443 multiplies the frequency of the first clock signal, so that the output second clock signal is 13.56MHZ ⁇ 128, that is, 1.7GHZ.
- the frequency multiplier 443 can also perform other frequency multiplications on the frequency of the first clock signal, as long as the frequency of the second clock signal output by the frequency multiplier 443 is greater than twice the frequency of the field clock signal, this Applications are not limited to this.
- the processor 441 is used to determine the number of high-frequency clocks in the second clock signal, and use the field clock signal to determine the sampling result, and detect the frequency or phase of the field clock signal according to the sampling result, wherein the sampling The result is the number of high frequency clocks in the clock period of the field clock signal. If there is a deviation in the number of high-frequency clocks within the clock period of the vertical clock signal, there is a deviation in the frequency or phase of the vertical clock signal, and the frequency or phase detection result is a first level. If there is no deviation in the number of high-frequency clocks within the clock period of the vertical clock signal, there is no deviation in the frequency or phase of the vertical clock signal, and the frequency or phase detection result is at the second level.
- the first level is a high level
- the second level is a low level. It can be understood that the first level may also be a low level, and the second level may also be a high level, which is not limited in the present application.
- the digital circuit 442 is used to generate the first open-loop control signal according to the frequency or phase detection result of the first level.
- the digital circuit 442 is also used to control the digital phase-locked loop 45 to close the loop according to the frequency or phase detection result of the second level.
- the first open-loop control signal is at a high level. It can be understood that the first open-loop control signal may also be at a low level, which is not limited in the present application.
- the processor 441 includes a counter 4411 and a digital signal processor 4412 .
- the counter 4411 is an 8-bit counter. It can be understood that the counter 4411 may also be other counters, which is not limited in this application.
- the counter 4411 is connected with the frequency multiplier 443, and is used for receiving the second clock signal, and recording the number of the high-frequency clocks in the second clock signal.
- the digital signal processor 4412 is connected with the counter 4411 and the clock extractor 43, and is used to obtain the number of high-frequency clocks from the counter 4411 in the current clock cycle of the field clock signal, and obtain the high-frequency clock according to the current clock cycle.
- the number of high-frequency clocks obtained in the current clock cycle is less than the number of high-frequency clocks obtained in the previous clock cycle, determine the number of high-frequency clocks in the current clock cycle as the number of high-frequency clocks obtained in the current clock cycle plus The difference between the sum of the maximum number of counts (for example, 256) counted by the upper counter 4411 and the number of high-frequency clocks obtained in the previous clock cycle.
- the number of high-frequency clocks obtained by the digital signal processor 4412 in the current clock cycle can be obtained at the end of the current clock cycle of the field clock signal, and the high-frequency clocks obtained by the digital signal processor 4412 in the previous clock cycle The number of can be obtained at the end of the previous clock period of the field clock signal.
- the digital signal processor 4412 is further configured to compare the number of high-frequency clocks in the current clock cycle with a preset range to determine whether there is a deviation in the number of high-frequency clocks in the current clock cycle of the field clock signal, And correspondingly determine whether there is a deviation in the frequency or phase of the field clock signal.
- the preset range is in one-to-one correspondence with the second clock signal.
- the second clock signal is 13.56MHZ ⁇ 128, and the preset range may be 127-129. It can be understood that the preset range may also be other ranges or values, such as 128, and the preset range may also be a different range according to the second clock signal, which is not limited in the present application.
- the preset range may be the range or value set by the system by default or the range or value set by the user according to the second clock signal. If the number of high-frequency clocks in the current clock cycle is not within the preset range, there is a deviation in the number of high-frequency clocks in the current clock cycle of the field clock signal, and the number of high-frequency clocks in the field clock signal There is a deviation in frequency or phase. If the number of high-frequency clocks in the current clock cycle is within the preset range, there is no deviation in the number of high-frequency clocks in the current clock cycle of the field clock signal, and the field clock signal There is no deviation in frequency or phase.
- the digital signal processor 4412 is connected to the digital circuit 442 and is also used to output frequency or phase detection results to the digital circuit 442, and the digital circuit 442 can selectively control the digital phase-locked loop 45 to open the loop accordingly.
- the digital PLL 45 includes a time-to-digital converter 451 , a digital filter 452 , a numerically controlled oscillator 453 and a frequency divider 454 .
- a time-to-digital converter 451, a digital filter 452, a digitally controlled oscillator 453, and a frequency divider 454 are connected in sequence.
- the time-to-digital converter 451 is connected to the clock extractor 43 .
- the time-to-digital converter 451 is used to receive the field clock signal recovered by the clock extractor 43, and compare the phase of the field clock signal with the phase of the signal output by the frequency divider 454 to output a digital signal.
- the frequency multiplier 443 can also be connected with the frequency divider 454, as long as the frequency multiplier 443 can output the preset second clock signal, for example, the frequency multiplied by 5 of the frequency of the first clock signal above 13.56MHZ, it can be understood that the multiplier The frequency divider 443 can also be located in the digital phase-locked loop 45 and connected to the frequency divider 454 or the digitally controlled oscillator 453, only the frequency multiplier 443 can output the preset high-frequency clock, which is not limited in this application.
- the digital circuit 442 is connected with a time-to-digital converter 451 and a digital filter 452 .
- the digital circuit 442 is used to generate the first open-loop control signal to the time-to-digital converter 451 and the digital filter 452 .
- the time-to-digital converter 451 and the digital filter 452 are used to receive the first open-loop control signal, and to stop working according to the first open-loop control signal, and keep receiving the first open-loop control signal. The value before the control signal continues to be output.
- the digital phase-locked loop 45 turns into an open-loop state, and the digitally controlled oscillator 453 maintains the oscillation signal before the open-loop state and continues to oscillate and output the first clock signal.
- the digital circuit 442 can also control the time-to-digital converter 451 and the digital filter 452 to continue to work, and the digital phase-locked loop 45 to continue to perform phase tracking operations.
- FIG. 7 is a state transition diagram of the digital phase-locked loop of the near field communication NFC device.
- the digital phase-locked loop 45 includes process voltage temperature calibration (PVT) state, close to lock (ACQ) state, phase tracking (TRK) state and hold (HOLD) state, a total of four states.
- the phase tracking (TRK) state represents the closed-loop state
- the hold (HOLD) state represents the open-loop state.
- Process Voltage Temperature Calibration (PVT) state, Approach Lock (ACQ) state and Phase Tracking (TRK) state are executed sequentially.
- an arrow points to the process voltage temperature calibration (PVT) state, indicating that the process voltage temperature calibration (PVT) is performed when a reset signal is received or the near field communication NFC device 4 is turned on.
- An arrow points from the phase tracking (TRK) state to the phase tracking (TRK) state, indicating that it remains in the phase tracking (TRK) state.
- An arrow pointing from the phase tracking (TRK) state to the holding (HOLD) state means that if the first open-loop control signal is received in the phase tracking (TRK) state, the state jumps from the phase tracking (TRK) state to the holding (HOLD) state.
- An arrow pointing from the hold (HOLD) state to the phase tracking (TRK) state means that if the digital phase-locked loop 45 is closed in the hold (HOLD) state, then jump from the hold (HOLD) state to the phase tracking (TRK) state.
- the controller 44 may further include an amplitude detection circuit 444 .
- the amplitude detection circuit 444 is also connected to the matching circuit 42 and the digital circuit 442 for receiving the first carrier signal, detecting the amplitude of the first carrier signal, and generating an amplitude detection result to the digital circuit 442 according to the amplitude of the first carrier signal.
- the amplitude detection result is the first level.
- the digital phase-locked loop 45 is in an open-loop state. If the amplitude of the first carrier signal is greater than a preset value, the amplitude detection result is a second level.
- the controller 44 may also include a delay circuit 445 .
- the amplitude detection circuit 444 can also be connected to the digital circuit 442 through a delay circuit 445 .
- the delay circuit 445 can also be set in the amplitude detection circuit 444 .
- the delay circuit 445 is used to delay the amplitude detection result to the digital circuit 442 after a preset time.
- the digital circuit 442 is also used to control the digital phase-locked loop 45 to close the loop according to the amplitude detection result of the second level.
- FIG. 8 is a working sequence diagram of the NFC device for near field communication.
- Figure 8 shows that when the first carrier signal of the NFC card reader 5 is received by the antenna 41 and the signal is discontinuous due to the large modulation depth, the digital phase-locked loop 45 is between the phase tracking (TRK) state and the hold (HOLD) state Mutual switching working status.
- the antenna 41 starts to receive the continuous first carrier signal of the NFC card reader 5 .
- the field clock signal recovered by the clock extractor 43 is stable, and the digital signal processor 4412 of the processor 441 determines that there is no deviation in the frequency or phase of the recovered field clock signal, and outputs the frequency of the second level (low level) or phase detection results.
- the amplitude detection circuit 444 also determines that the amplitude of the first carrier signal of the NFC card reader 5 received by the antenna 41 is greater than a preset value, then the amplitude detection circuit 444 delays the amplitude detection result of the second level (low level) for a preset time After output.
- the digital circuit 442 controls the digital phase-locked loop 45 to keep in the phase tracking (TRK) state or enter the phase tracking (TRK) state according to the frequency or phase detection result of the second level and the amplitude detection result of the second level.
- the antenna 41 receives the first carrier signal of the NFC card reader 5 from a continuous signal to a discontinuous signal, the field clock signal recovered by the clock extractor 43 is unstable, and the digital signal processor of the processor 441 4412 determines that there is a deviation in the frequency or phase of the recovered vertical clock signal, and outputs a frequency or phase detection result of the first level (high level).
- the digital circuit 442 outputs the first open-loop control signal of the first level (high level) according to the frequency or phase detection result of the first level.
- the digital phase-locked loop 45 is opened according to the first open-loop control signal.
- the digital phase-locked loop 45 jumps from the phase tracking (TRK) state to the holding (HOLD) state.
- the amplitude detection circuit 444 also determines that the amplitude of the first carrier signal of the NFC card reader 5 received by the antenna 41 is less than a preset value, then the amplitude detection circuit 444 delays the amplitude detection result of the first level (high level) by a predetermined period. Output after a set time.
- the antenna 41 receives the first carrier signal of the NFC card reader 5 from a discontinuous signal to a continuous signal, the field clock signal recovered by the clock extractor 43 is stable, and the amplitude detection circuit 444 determines that the signal received by the antenna 41 is stable. If the amplitude of the first carrier signal of the NFC card reader 5 is greater than the preset value, then the amplitude detection circuit 444 outputs the amplitude detection result of the second level (low level) after a preset time delay.
- the digital circuit 442 controls the digital phase-locked loop 45 to enter the phase tracking (TRK) state from the holding (HOLD) state according to the amplitude detection result of the second level.
- the digital signal processor 4412 of the processor 441 also determines that there is no deviation in the frequency or phase of the recovered vertical clock signal, and outputs the frequency or phase detection result of the second level (low level).
- the present application can just produce the first open-loop control signal when receiving the first level (high level) frequency or phase detection result, control digital phase-locked loop 45 to jump from phase tracking (TRK) state to holding ( HOLD) state; control the digital phase-locked loop 45 to jump from the hold (HOLD) state to the phase tracking (TRK) state when receiving the second level (low level) amplitude detection result.
- the near field communication NFC device 4 can control the state of the digital phase-locked loop 45 according to the frequency or phase detection result and the amplitude detection result.
- the digital signal processor 4412 is provided with a delay circuit 445, and the amplitude detection circuit 444 is not connected to the digital circuit 442 through the delay circuit 445, then the first level is generated when the amplitude detection result of the first level (high level) is received.
- the open-loop control signal controls the digital phase-locked loop 45 to jump from the phase tracking (TRK) state to the holding (HOLD) state; when receiving the frequency or phase detection result of the second level (low level), it controls the digital phase-locking
- the ring 45 jumps from the holding (HOLD) state to the phase tracking (TRK) state, which is not limited in the present application.
- the frequency or phase of the field clock signal is detected by the controller 44, and the digital phase-locked loop 45 is selectively controlled to open the loop according to the frequency or phase detection result, which can be selected according to the modulation depth of the first carrier signal.
- Control digital phase-locked loop 45 to carry out open-loop If there is deviation in the frequency or phase of field clock signal, produce the first open-loop control signal to control digital phase-locked loop 45 to carry out open-loop, the modulation of the first carrier signal that can be received
- Phase loop 45 closed-loop can control digital phase-locked loop 45 closed-loops when the first carrier signal that receives is continuous, makes digital phase-locked loop 45 carry out phase tracking operation according to continuous first carrier signal; After the frequency of the first clock signal is multiplied, the field clock signal is sampled, and the frequency or phase of the field clock signal is detected according to the sampling result,
- the digital phase-locked loop 45 is controlled to close the loop, and when the modulation depth of the first carrier signal received is normal, the digital phase-locked loop 45 is controlled to close the loop, and the digital phase-locked loop is controlled.
- the ring 45 performs a phase tracking operation according to the continuous first carrier signal; the amplitude of the first carrier signal is detected by the amplitude detection circuit 444, and the delay circuit 445 outputs the amplitude detection result after delaying the preset time, and the digital circuit 442 outputs it according to the delayed amplitude
- the detection result controls the digital phase-locked loop 45 to close the loop, which can provide a more continuous interval of the first carrier signal received, and can further prevent the digital phase-locked loop 45 from performing phase tracking operation according to the discontinuous first carrier signal.
- FIG. 9 is a block diagram of a near field communication NFC device and an NFC card reader according to a second embodiment of the present application.
- the near field communication NFC device 9 of the second embodiment is similar to the near field communication NFC device of the first embodiment, the near field communication NFC device 9 of the second embodiment communicates with the NFC card reader 10, and the near field communication NFC device 9 includes Antenna 91 , matching circuit 92 , clock extractor 93 , controller 94 , digital phase-locked loop 95 , digital baseband chip 96 , and transmitter 97 .
- the antenna 91 of the second embodiment, the matching circuit 92, the clock extractor 93, the digital phase-locked loop 95, the digital baseband chip 96, and the connection relationship and the effect between the transmitter 97 are the same as the antenna of the first embodiment, the matching circuit, Clock extractor, digital phase-locked loop, digital baseband chip, and transmitter have the same connection relationship and effect, and the controller 94 of the second implementation also includes processor 941, digital circuit 942, frequency multiplier 943, amplitude detection circuit 944 and Delay circuit 945, the difference is:
- the controller 94 also includes a multiplexer MUX 946 .
- the multiplexer MUX946 is used for selectively performing open-loop control on the digital phase-locked loop 95 according to at least one of the first open-loop control signal and the second open-loop control signal.
- the multiplexer MUX946 includes an input terminal, a control terminal and an output terminal.
- the input terminal of the multiplexer MUX946 is connected with the digital baseband chip 96 and the digital circuit 942 of the controller 94 for receiving the first open-loop control signal and the second open-loop control signal.
- the control terminal of the multiplexer MUX946 is connected with the digital baseband chip 96 for receiving the control signal of the digital baseband chip 96 .
- the output terminal of the multiplexer MUX946 is connected with the digital phase-locked loop 95.
- the multiplexer MUX946 determines to connect to the digital baseband chip 96 or the digital circuit 942 according to the control signal of the digital baseband chip 96 .
- the digital baseband chip 96 when the load modulation is active load modulation, the digital baseband chip 96 outputs the first control signal to the multiplexer MUX946, and the multiplexer MUX946 is controlled to communicate with the digital baseband chip 96, and the digital baseband chip 96 can pass multiple
- the channel selector MUX946 outputs the second open-loop control signal to control the digital phase-locked loop 95 to perform open-loop.
- the digital baseband chip 96 also outputs a second control signal to the multiplexer MUX946 when the load modulation is passive load modulation, and controls the multiplexer MUX946 to communicate with the digital circuit 942, and the digital circuit 942 can pass through the multiplexer MUX946. Outputting the first open-loop control signal to control the digital phase-locked loop 95 to perform open-loop.
- the thick line in FIG. 10 shows the working process of the near field communication NFC device when the modulation depth of the received first carrier signal is relatively large.
- the working process of the near field communication NFC device 9 when the modulation depth of the received first carrier signal is relatively large is similar to the working process of the near field communication NFC device in the first embodiment, the difference is that the digital circuit 942 passes multiple The road selector MUX946 is connected with the digital phase-locked loop 95.
- the digital circuit 942 outputs the first open-loop control signal through the multiplexer MUX946 to control the digital phase-locked loop 95 to open the loop; and through the multiplexer MUX946 to control the digital phase-locked loop 95 to close the loop.
- the antenna 91 may be an antenna supporting radio frequency transmission and reception.
- the antenna 91 is used for receiving the first carrier signal sent by the NFC card reader 10 .
- the matching circuit 92 is connected to the antenna 91 to form a resonant circuit together with the antenna 91 .
- the clock extractor 93 is connected with the matching circuit 92, and is used for performing clock recovery according to the first carrier signal sent by the NFC card reader 10 to obtain a field clock signal.
- the digital phase-locked loop 95 is connected with the clock extractor 93, and is used to track the frequency of the field clock signal and output the first clock signal.
- the digital baseband chip 96 is connected to the digital phase-locked loop 95, and is used for performing load modulation according to the first clock signal to generate a second carrier signal.
- a frequency divider can be connected between the digital baseband chip 96 and the digital phase-locked loop 95, and the frequency divider is used to divide the first clock signal in frequency, and the digital baseband chip 96 is used for the first clock signal after frequency division
- the target data is up-modulated to generate the second carrier signal. It can be understood that there are other ways to realize the generation of the second carrier signal according to the first clock signal, which is not limited in the present application.
- the transmitter 97 is connected between the digital baseband chip 96 and the matching circuit 92 for converting the second carrier signal into a radio frequency signal and transmitting it to the NFC card reader 10 through the antenna 91 .
- the digital baseband chip 96 can be connected with the digital phase-locked loop 95 through the multiplexer MUX946, and is used to output the second open-loop control signal to the digital phase-locked loop 95 through the multiplexer MUX946, and controls the digital phase-locked loop 95 to open the loop .
- the period in which the digital baseband chip 96 outputs the second open-loop control signal is related to the time when the digital baseband chip 96 outputs the second carrier signal.
- the digital baseband chip 96 generates the period of the second open-loop control signal according to the period of the second carrier signal, and then the digital baseband chip 96 can set several periods of the digital phase-locked loop 95 as open-loop.
- the digital baseband chip 96 when the active load is modulated, the digital baseband chip 96 generates a second open-loop control signal to control the digital phase-locked loop 95 to open the loop, and the digital phase-locked loop 95 can be controlled to open the loop when the active load is modulated. Avoid the digital phase-locked loop 95 to perform phase tracking operation according to the discontinuous first carrier signal; through the multiplexer MUX946, the two cases of active load modulation and large modulation depth are integrated in one circuit, which can be used in different situations The same circuit, reducing the overall size and cost of the circuit.
- FIG. 12 is a flowchart of an open-loop control method according to an embodiment of the present application.
- the open-loop control method is applied to a near-field communication NFC device.
- Open-loop control methods include:
- the clock extractor of the near field communication NFC device performs clock recovery according to the first carrier signal sent by the NFC card reader to obtain a field clock signal.
- S1203 The digital phase-locked loop of the near field communication NFC device performs frequency tracking on the field clock signal, and outputs a first clock signal.
- S1205 The digital baseband chip of the near field communication NFC device performs load modulation according to the first clock signal to generate a second carrier signal.
- S1207 The controller of the near field communication NFC device detects the frequency or phase of the field clock signal, and selectively controls the digital phase locked loop according to the detection result.
- the open-loop control method also includes:
- a first open-loop control signal is generated; the first open-loop control signal is used to control the open-loop of the digital phase-locked loop.
- the open-loop control method also includes:
- the digital phase-locked loop is controlled to close the loop.
- the controller detecting the frequency or phase of the field clock signal includes:
- the controller receives the first clock signal output by the digital phase-locked loop, multiplies the frequency of the first clock signal to obtain a second clock signal, and uses the second clock signal to update the field clock signal Sampling is performed, and the frequency or phase of the vertical clock signal is detected according to the sampling result.
- the controller multiplies the frequency of the first clock signal to obtain a second clock signal, uses the second clock signal to sample the field clock signal, and detects the
- the frequency or phase of the field clock signal includes:
- a controller comprising frequency multipliers, processors, and digital circuits is formed:
- the frequency multiplier outputs a second clock signal after multiplying the frequency of the first clock signal
- the processor determines the number of high-frequency clocks in the second clock signal, uses the field clock signal to determine a sampling result, and detects the frequency or phase of the field clock signal according to the sampling result, wherein the sampling result is in The number of high-frequency clocks in the clock cycle of the field clock signal; if there is a deviation in the number of high-frequency clocks in the clock cycle of the field clock signal, there is a deviation in the frequency or phase of the field clock signal, so The frequency or phase detection result is the first level;
- the digital circuit generates the first open-loop control signal according to the frequency or phase detection result of the first level.
- the processor determining the number of high-frequency clocks in the second clock signal, and using the field clock signal to determine the sampling result includes:
- processor comprising a counter and a digital signal processor
- the counter receives the second clock signal, and records the number of the high-frequency clocks in the second clock signal
- the digital signal processor obtains the number of high-frequency clocks from the counter in the current clock cycle of the field clock signal, and obtains the number of high-frequency clocks according to the number of high-frequency clocks obtained in the current clock cycle and the high-frequency clock obtained in the previous clock cycle.
- the number of clocks determines the number of high-frequency clocks in the current clock cycle.
- the processor detecting the frequency or phase of the field clock signal according to the sampling result includes:
- the digital signal processor compares the number of high-frequency clocks in the current clock cycle with a preset range to determine whether there is a deviation in the number of high-frequency clocks in the current clock cycle of the field clock signal, and determines accordingly Whether there is a deviation in the frequency or phase of the vertical clock signal; wherein, the preset range corresponds to the second clock signal one by one; if the number of high-frequency clocks in the current clock cycle is not within the preset Within the range, there is a deviation in the number of high-frequency clocks in the current clock period of the vertical clock signal, and there is a deviation in the frequency or phase of the vertical clock signal.
- the open-loop control method further includes:
- the controller receives the first carrier signal, detects the amplitude of the first carrier signal, and controls the digital phase-locked loop to close the loop if the amplitude of the first carrier signal is greater than a preset value.
- the controller detects the amplitude of the first carrier signal, and if the amplitude of the first carrier signal is greater than a preset value, controlling the digital phase-locked loop to close the loop includes:
- controller comprising an amplitude detection circuit, a delay circuit and a digital circuit
- the amplitude detection circuit receives the first carrier signal, detects the amplitude of the first carrier signal, and generates an amplitude detection result according to the amplitude of the first carrier signal; wherein, if the amplitude of the first carrier signal is greater than preset value, the amplitude detection result is the second level;
- the delay circuit outputs the amplitude detection result to the digital circuit after a preset time delay
- the digital circuit controls the digital phase-locked loop to close the loop according to the amplitude detection result of the second level.
- the open-loop control method further includes:
- said digital phase locked loop comprising a time-to-digital converter, a digital filter, a numerically controlled oscillator and a frequency divider;
- the time-to-digital converter and the digital filter receive the first open-loop control signal, and are used to stop working according to the first open-loop control signal, and maintain the state before receiving the first open-loop control signal The value continues to be output;
- the oscillating signal before the numerical control oscillator maintains the open-loop state continues to oscillate and output the first clock signal
- the frequency divider receives the first clock signal and divides the frequency of the first clock signal to reduce the frequency of the first clock signal to be equal to or close to the field clock recovered by the clock extractor the frequency of the signal.
- the open-loop control method further includes:
- the digital baseband chip of the near field communication NFC device generates a second open-loop control signal when outputting the second carrier signal to the NFC card reader;
- the multiplexer MUX of the controller selectively performs open-loop control on the digital phase-locked loop according to at least one of the first open-loop control signal and the second open-loop control signal.
- the method can also have other modifications, and for details, please refer to the description of the NFC device for near field communication, which will not be repeated here.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
Description
Claims (20)
- 一种近场通信NFC装置,其特征在于,所述近场通信NFC装置包括:时钟提取器,用于根据NFC读卡器发送的第一载波信号进行时钟恢复,得到场时钟信号;数字锁相环,用于对所述场时钟信号进行频率跟踪,输出第一时钟信号;数字基带芯片,用于根据所述第一时钟信号进行负载调制,生成第二载波信号;控制器,用于检测所述场时钟信号的频率或相位,并根据频率或相位检测结果选择性控制所述数字锁相环进行开环。
- 如权利要求1所述的近场通信NFC装置,其特征在于,所述控制器用于:若所述场时钟信号的频率或相位存在偏差,则生成第一开环控制信号;所述第一开环控制信号用于控制所述数字锁相环开环。
- 如权利要求2所述的近场通信NFC装置,其特征在于,所述控制器用于:若所述场时钟信号的频率或相位不存在偏差,则控制所述数字锁相环进行闭环。
- 如权利要求2所述的近场通信NFC装置,其特征在于,所述控制器还用于:接收所述数字锁相环输出的所述第一时钟信号,将所述第一时钟信号进行频率倍增后得到第二时钟信号,利用所述第二时钟信号对所述场时钟信号进行采样,并根据采样结果检测所述场时钟信号的频率或相位。
- 如权利要求4所述的近场通信NFC装置,其特征在于,所述控制器包括倍频器、处理器、及数字电路:所述倍频器用于将所述第一时钟信号进行频率倍增后输出第二时钟信号;所述处理器用于确定所述第二时钟信号中高频时钟的个数,并利用场时钟信号来确定采样结果,并根据所述采样结果检测所述场时钟信号的频率或相位,其中采样结果为在所述场时钟信号的时钟周期内高频时钟的个数;若在所述场时钟信号的时钟周期内高频时钟的个数存在偏差,则所述场时钟信号的频率或相位存在偏差,频率或相位检测结果为第一电平;所述数字电路用于根据第一电平的频率或相位检测结果生成所述第一开环控制信号。
- 如权利要求5所述的近场通信NFC装置,其特征在于,所述处理器包括计数器和数字信号处理器;所述计数器用于接收所述第二时钟信号,并记录所述第二时钟信号中所述高频时钟的个数;所述数字信号处理器用于在所述场时钟信号的当前时钟周期从所述计数器获取高频时钟的个数,并根据当前时钟周期获取的高频时钟的个数与前一时钟周期获取的高频时钟的个数确定当前时钟周期内高频时钟的个数。
- 如权利要求6所述的近场通信NFC装置,其特征在于,所述数字信号处理器还用于:比较所述当前时钟周期内高频时钟的个数与预设的范围确定在所述场时钟信号的当前时钟周期内高频时钟的个数是否存在偏差,并相应的确定所述场时钟信号的频率或相位是否存在偏差;其中,所述预设的范围与所述第二时钟信号一一对应;若所述当前时钟周期内高频时钟的个数不在所述预设的范围内,则在所述场时钟信号的当前时钟周期内高频时钟的个数存在偏差,且所述场时钟信号的频率或相位存在偏差。
- 如权利要求2所述的近场通信NFC装置,其特征在于,所述控制器用于:接收所述第一载波信号,检测所述第一载波信号的幅度,并若所述第一载波信号的幅度大于预设值,则控制所述数字锁相环进行闭环。
- 如权利要求8所述的近场通信NFC装置,其特征在于,所述控制器包括幅度检测电路、延迟电路及数字电路:所述幅度检测电路用于接收所述第一载波信号,检测所述第一载波信号的幅度,并根据所述第一载波信号的幅度产生幅度检测结果;其中,若所述第一载波信号的幅度大于预设值,则所述幅度检测结果为第二电平;所述延迟电路用于将所述幅度检测结果延迟预设时间后输出至所述数字电路;所述数字电路用于根据第二电平的幅度检测结果控制所述数字锁相环进行闭环。
- 如权利要求2所述的近场通信NFC装置,其特征在于,所述数字锁相环包括时间数字转换器、数字滤波器、数控振荡器和分频器:所述时间数字转换器和所述数字滤波器用于接收所述第一开环控制信号,并用于根据所述第一开环控制信号停止工作,且保持接收到所述第一开环控制信号前的值继续输出;所述数控振荡器用于保持开环状态前的振荡信号继续振荡输出所述第一时钟信号;所述分频器用于接收所述第一时钟信号,并对所述第一时钟信进行分频,以将所述第一时钟信的频率降低至等于或接近于所述时钟提取器恢复的场时钟信号的频率。
- 如权利要求2所述的近场通信NFC装置,其特征在于:在所述负载调制为有源负载调制的情况下,所述数字基带芯片,还用于在输出所述第二载波信号至所述NFC读卡器时生成第二开环控制信号;所述控制器还包括多路选择器MUX,所述多路选择器MUX用于根据所述第一开环控制信号和所述第二开环控制信号中的至少一个,选择性地对所述数字锁相环进行开环控制。
- 一种开环控制方法,其特征在于,所述开环控制方法包括:近场通信NFC装置的时钟提取器根据NFC读卡器发送的第一载波信号进行时钟恢复,得到场时钟信号;所述近场通信NFC装置的数字锁相环对所述场时钟信号进行频率跟踪,输出第一时钟信号;所述近场通信NFC装置的数字基带芯片根据所述第一时钟信号进行负载调制,生成第二载波信号;所述近场通信NFC装置的控制器检测所述场时钟信号的频率或相位,并根据检测结果选择性控制所述数字锁相环。
- 如权利要求12所述的开环控制方法,其特征在于,所述开环控制方法还包括:若所述场时钟信号的频率或相位存在偏差,则生成第一开环控制信号;所述第一开环控制信号用于控制所述数字锁相环开环。
- 如权利要求13所述的开环控制方法,其特征在于,所述控制器检测所述场时钟信号的频率或相位包括:所述控制器接收所述数字锁相环输出的所述第一时钟信号,将所述第一时钟信号进行频率倍增后得到第二时钟信号,利用所述第二时钟信号对所述场时钟信号进行采样,并根据采样结果检测所述场时钟信号的频率或相位。
- 如权利要求14所述的开环控制方法,其特征在于,所述控制器将所述第一时钟信号 进行频率倍增后得到第二时钟信号,利用所述第二时钟信号对所述场时钟信号进行采样,并根据采样结果检测所述场时钟信号的频率或相位包括:形成包括倍频器、处理器、及数字电路的控制器:所述倍频器将所述第一时钟信号进行频率倍增后输出第二时钟信号;所述处理器确定所述第二时钟信号中高频时钟的个数,并利用场时钟信号来确定采样结果,并根据所述采样结果检测所述场时钟信号的频率或相位,其中采样结果为在所述场时钟信号的时钟周期内高频时钟的个数;若在所述场时钟信号的时钟周期内高频时钟的个数存在偏差,则所述场时钟信号的频率或相位存在偏差,频率或相位检测结果为第一电平;所述数字电路根据第一电平的频率或相位检测结果生成所述第一开环控制信号。
- 如权利要求15所述的开环控制方法,其特征在于,所述处理器确定所述第二时钟信号中高频时钟的个数,并利用场时钟信号来确定采样结果包括:形成包括计数器和数字信号处理器的所述处理器;所述计数器接收所述第二时钟信号,并记录所述第二时钟信号中所述高频时钟的个数;所述数字信号处理器在所述场时钟信号的当前时钟周期从所述计数器获取高频时钟的个数,并根据当前时钟周期获取的高频时钟的个数与前一时钟周期获取的高频时钟的个数确定当前时钟周期内高频时钟的个数。
- 如权利要求16所述的开环控制方法,其特征在于,所述处理器根据所述采样结果检测所述场时钟信号的频率或相位包括:所述数字信号处理器比较所述当前时钟周期内高频时钟的个数与预设的范围确定在所述场时钟信号的当前时钟周期内高频时钟的个数是否存在偏差,并相应的确定所述场时钟信号的频率或相位是否存在偏差;其中,所述预设的范围与所述第二时钟信号一一对应;若所述当前时钟周期内高频时钟的个数不在所述预设的范围内,则在所述场时钟信号的当前时钟周期内高频时钟的个数存在偏差,且所述场时钟信号的频率或相位存在偏差。
- 如权利要求13所述的开环控制方法,其特征在于,所述开环控制方法还包括:所述控制器接收所述第一载波信号,检测所述第一载波信号的幅度,并若所述第一载波信号的幅度大于预设值,则控制所述数字锁相环进行闭环。
- 如权利要求18所述的开环控制方法,其特征在于,所述控制器检测所述第一载波信号的幅度,并若所述第一载波信号的幅度大于预设值,则控制所述数字锁相环进行闭环包括:形成包括幅度检测电路、延迟电路及数字电路的所述控制器;所述幅度检测电路接收所述第一载波信号,检测所述第一载波信号的幅度,并根据所述第一载波信号的幅度产生幅度检测结果;其中,若所述第一载波信号的幅度大于预设值,则所述幅度检测结果为第二电平;所述延迟电路将所述幅度检测结果延迟预设时间后输出至所述数字电路;所述数字电路根据第二电平的幅度检测结果控制所述数字锁相环进行闭环。
- 如权利要求13所述的开环控制方法,其特征在于,所述开环控制方法还包括:在所述负载调制为有源负载调制的情况下,所述近场通信NFC装置的数字基带芯片在输出所述第二载波信号至所述NFC读卡器时生成第二开环控制信号;所述控制器的多路选择器MUX根据所述第一开环控制信号和所述第二开环控制信号中的至少一个,选择性地对所述数字锁相环进行开环控制。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202180099555.4A CN117652122A (zh) | 2021-07-23 | 2021-07-23 | 近场通信nfc装置及开环控制方法 |
EP21950594.8A EP4362380A1 (en) | 2021-07-23 | 2021-07-23 | Near-field communication (nfc) device and open-loop control method |
PCT/CN2021/108291 WO2023000345A1 (zh) | 2021-07-23 | 2021-07-23 | 近场通信nfc装置及开环控制方法 |
US18/418,693 US20240195454A1 (en) | 2021-07-23 | 2024-01-22 | Near Field Communication NFC Apparatus and Open-Loop Control Method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/108291 WO2023000345A1 (zh) | 2021-07-23 | 2021-07-23 | 近场通信nfc装置及开环控制方法 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/418,693 Continuation US20240195454A1 (en) | 2021-07-23 | 2024-01-22 | Near Field Communication NFC Apparatus and Open-Loop Control Method |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023000345A1 true WO2023000345A1 (zh) | 2023-01-26 |
Family
ID=84980388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/108291 WO2023000345A1 (zh) | 2021-07-23 | 2021-07-23 | 近场通信nfc装置及开环控制方法 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20240195454A1 (zh) |
EP (1) | EP4362380A1 (zh) |
CN (1) | CN117652122A (zh) |
WO (1) | WO2023000345A1 (zh) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107707278A (zh) * | 2016-10-07 | 2018-02-16 | 华为国际有限公司 | 近场通信中的有源负载调制技术 |
CN108809360A (zh) * | 2017-05-02 | 2018-11-13 | 意法半导体发展有限责任公司 | 应答器内的有源负载调制时钟的同步方法 |
US10164766B1 (en) * | 2015-10-01 | 2018-12-25 | Maxim Integrated Products, Inc. | Advanced synchronization schemes for NFC card emulation mode, peer-to-peer mode and RFID tag design |
CN112929022A (zh) * | 2021-01-25 | 2021-06-08 | 北京紫光青藤微系统有限公司 | 全数字锁相环系统及全数字锁相环的频率校准方法 |
-
2021
- 2021-07-23 WO PCT/CN2021/108291 patent/WO2023000345A1/zh active Application Filing
- 2021-07-23 EP EP21950594.8A patent/EP4362380A1/en active Pending
- 2021-07-23 CN CN202180099555.4A patent/CN117652122A/zh active Pending
-
2024
- 2024-01-22 US US18/418,693 patent/US20240195454A1/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10164766B1 (en) * | 2015-10-01 | 2018-12-25 | Maxim Integrated Products, Inc. | Advanced synchronization schemes for NFC card emulation mode, peer-to-peer mode and RFID tag design |
CN107707278A (zh) * | 2016-10-07 | 2018-02-16 | 华为国际有限公司 | 近场通信中的有源负载调制技术 |
CN108809360A (zh) * | 2017-05-02 | 2018-11-13 | 意法半导体发展有限责任公司 | 应答器内的有源负载调制时钟的同步方法 |
CN112929022A (zh) * | 2021-01-25 | 2021-06-08 | 北京紫光青藤微系统有限公司 | 全数字锁相环系统及全数字锁相环的频率校准方法 |
Also Published As
Publication number | Publication date |
---|---|
EP4362380A1 (en) | 2024-05-01 |
CN117652122A (zh) | 2024-03-05 |
US20240195454A1 (en) | 2024-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10264540B2 (en) | Active load modulation technique in near field communication | |
US8031809B2 (en) | Template pulse generating circuit, communication device, and communication method | |
US7003065B2 (en) | PLL cycle slip detection | |
CN101878594B (zh) | 基于分数输入和输出相位而操作的数字锁相环 | |
JP4291282B2 (ja) | 非同期移動通信システムにおける初期周波数オフセット推定装置及び方法 | |
US9094113B2 (en) | Apparatus and method for reducing phase noise in near field communication device signaling | |
EP2727255B1 (en) | Method and circuit intended for high-frequency communication between an interrogator and a smart tag | |
CN109417363B (zh) | 射频时间偏差校准系统和方法 | |
EP3451545A2 (en) | System to calibrate phase using system information | |
US10334421B2 (en) | Near field communication device | |
EP3076553A1 (en) | Clock synchronizer | |
KR20010085441A (ko) | 무선 통신 시스템 | |
US10128881B2 (en) | Time to digital converter, radio communication device, and radio communication method | |
US10728068B2 (en) | Methods and apparatus for performing a high speed phase demodulation scheme using a low bandwidth phase-lock loop | |
JP2004528768A (ja) | 周波数合成回路、通信装置、周波数制御方法、周波数制御回路、周波数制御システム、およびコンピュータ読取可能な記録媒体 | |
US10749719B2 (en) | Synchronization between an object and a reader contactlessly communicating by active load modulation | |
WO2023000345A1 (zh) | 近场通信nfc装置及开环控制方法 | |
JP4365814B2 (ja) | 受信機および無線通信装置 | |
US8923383B2 (en) | Transmitter and transmitting method using delay locked loop | |
JP5443328B2 (ja) | 送受信装置 | |
EP1139579A2 (en) | Code synchronization in a receiving device for spread spectrum communication systems | |
CN113988095B (zh) | 非接触式通信设备模式切换管理 | |
KR102483557B1 (ko) | 근거리 무선 통신 장치 | |
EP4152617A1 (en) | Monitoring circuit of phase locked loop and operating method thereof | |
JP2017163525A (ja) | 増幅回路とアンテナモジュール及び無線通信装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21950594 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202180099555.4 Country of ref document: CN |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2021950594 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2021950594 Country of ref document: EP Effective date: 20240122 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |