Design of FSK Demodulator for 125KHz RFID Reader

Pick   Important : This article provides an FSK demodulator circuit for 125KHz non-contact RFID readers , which can demodulate FSK signals into NRZ codes. This circuit is simple and practical, and can be used for various FSK modulation modes set in RFID chips. demodulation.

introduction

Many RFID chips that work at 125KHz carrier frequency , such as Microchip 's MCRF200 and MCRF250, and Atmel 's e5551 , T5557 , etc., can set their modulation mode to FSK . If the chip is set to FSK modulation mode, then the reader/writer (PCD) must have an FSK demodulation circuit. The FSK demodulation circuit demodulates the FSK modulated signal into an NRZ code.

This text provides a kind of FSK demodulation circuit, the characteristic of this circuit is that the circuit is simple and reliable, very suitable for the application in PCD .

FSK modulation

The FSK modulation methods of RFID working at 125KHz are very similar. Figure 1 shows a waveform diagram of an FSK modulation method. It can be seen from the figure that the data rate at this time is: carrier frequency fc/40=125K/40=3125bps , after FSK modulation, data 0 is a square wave with a frequency of fc/8 , that is, f0= fc/8 ; and data 1 is a square wave with a frequency of fc/5 , that is, f1= fc/5 .

The transmission data after FSK modulation is transmitted to the PCD through the load modulation method . The radio frequency waveform is also shown in Figure 1. The modulation of the carrier is amplitude modulation.

FSK demodulation

After the PCD undergoes carrier demodulation ( usually using envelope detection ) , amplifying filtering and pulse shaping circuit, the FSK modulated signal is obtained . The FSK demodulation circuit completes the restoration of the FSK modulated signal to the NRZ code. There are many ways to implement FSK demodulation. An FSK demodulation circuit introduced in this article is shown in Figure 2. This circuit is simple and convenient, and can well complete FSK demodulation.

The working principle of the circuit shown in Figure 2 is as follows: flip-flop D1 turns the input FSK signal into a narrow pulse, that is, when Q is high, the upper edge of FSK sets Q terminal high, but since Q is low at this time , CL terminal is low , And make the Q terminal return to low level. This pulse on the Q terminal resets the decimal counter 4017 and recounts .

The 4017 counter counts the 125KHz clock . Since the data width is 40/fc=40Tc (Tc is the carrier cycle ) , if it is data 0 , the FSK square wave cycle T0=8Tc . When the 7th clock is counted, the output of Q7 is high, making CLKen (CLK enable terminal ) high, and the counter no longer counts the 8th clock. At this time, Q7 is high. When the Q output terminal of flip-flop D1 is down When an FSK waveform jumps up, the Q terminal output of flip-flop D2 is low. Jumping on the FSK waveform also resets the counter to zero and recounts. Thus, the FSK data corresponding to the frequency of the waveform of 0, Q output of the flip-flop D2 is low, that is, data 0 of the NRZ code level.

Picture 2  FSK demodulation circuit

Figure 3  Example of demodulated waveform of digit 0 ( followed by bit 1)

When the data 1, since the FSK waveform period T1 = 5Tc, so the pin Q7 of counter 4017 is always low, during which the Q output of the flip-flop D2 is kept high, that is, NRZ data level one.

The demodulated waveform of data 0 is shown in Figure 3 . Seen from the figure, if the bit 0 is followed 0, then the bit width of 40Tc, followed if the bit is 1, the bit width which is 37Tc, short three clock cycles. The following bit of bit 1 is 1 , and its bit width remains 40Tc. If the following bit is 0 , its bit width is 43Tc . Therefore, the interleaving of bit values 0 and 1 does not cause the propagation of bit width errors, but compensates. ± 3 clock errors, will not affect the accuracy of the MCU positioning judgment.

The up-jump change generated by the monostable circuit provides the CL terminal level of the flip-flop D2 with normal operation , and also informs the MCU that the output data of the flip-flop D2 is valid after that. The monostable circuit can be 74HC123 , which is a repeatable trigger monostable circuit that can automatically start and close the demodulator.

RFID chip FSK usually have multiple modes, such as in one of four modes e5551 (Table 1), the analysis of the circuit described above corresponds FSK1a, but FSK1, just to the output terminal Q of the flip-flop D2 That's it. If FSK2 is used , the output terminal of the counter can be changed to Q9 .

For different data rates, only the bit width is different, which does not affect the demodulation result.

Concluding remarks

The circuit is simple and reliable, and has been used in water meter reading heads.

360 Laptop

360 laptop sometimes is also called as Yoga Laptop , cause usually has touch screen features. Therefore you can see other names at market, like 360 flip laptop, 360 Touch Screen Laptop,360 degree rotating laptop, etc. What `s the 360 laptop price? Comparing with intel yoga laptop. Usually price is similar, but could be much cheaper if clients can accept tablet 2 In 1 Laptop with keyboard. Except yoga type, the most competitive model for Hope project or business project is that 14 inch celeron n4020 4GB 64GB Student Laptop or 15.6 inch intel celeron business laptop or Gaming Laptop. There fore, just share the basic parameters, like size, processor, memory, storage, battery, application scenarios, SSD or SSD plus HDD, two enter buttons or one is also ok, if special requirements, oem service, etc. Then can provide the most suitable solution in 1 to 2 working days. Will try our best to support you.

To make client start business more easier and extend marker much quickly, issue that only 100pcs can mark client`s logo on laptop, Mini PC , All In One PC, etc. Also can deal by insurance order to first cooperation.

360 Laptop,360 Laptop Price,360 Flip Laptop,360 Touch Screen Laptop,360 Degree Rotating Laptop

Henan Shuyi Electronics Co., Ltd. , https://www.shuyiminipc.com