Search This Blog

Powered by Blogger.

Translate

Simple RF-ID Reader Module Design

Simple RF-ID Reader Module Design

After seeing some people create their own discrete (well, OP-AMPs are discrete nowadays, right?) RFID readers, I wanted to give it a try.
I first started by creating a simple, non-filtered, non-processed reader. I’ve used a coil of about 1mH for both sides. Since my chosen frequency was 125 KHz, my capacitor should be 1.62nF according to the following equation; I picked 1n5 standard value.
    Equation 1.
So this configuration is probably one of the simplest forms of an RFID reader-tag pair:
RFID Reader-Tag Pair
Figure 1
L1 is driven via a low-impedance 125 KHz oscillator, can be a sine or a square wave since the LC circuit will filter out the unwanted harmonics that are presented in a square wave. If the Q of the inductor is high, then a voltage that is greater than the oscillator’s output is going to be present in the “Out”. I’ve seen 100 Vpp when I fed the LC circuit with 5Vpp!
So, the “Out” waveform at the top of the C1 is a sine wave of a 125 KHz frequency. Now, the fun thing begins when we put the tag near the reader. L2, C2 pair picks up the 125KHz waveform via L2. So, if you scope C2, you will see 125 KHz sine wave. Now, if you scope “Out”, you will see that Vpp at C1 will drop when we close the switch SW1. That is because we load L1′s magnetic field via L2. Now, push the button like you are sending a Morse code and watch the “Output” waveform on the scope. Aha, modulation!
Simple! That is how real RFID passive tags work. However, instead of sending Morse code, they modulate the signal with their specific modulation scheme. I am going to work with EM4100 protocol since it is widely used.
Okay, let’s bring some real circuitry here.
Figure 2
Ignore those jumpers (JP1 and JP2) since they are PCB  jumpers that I needed when making a single-sided PCB.
OK, L1 and C6 are our main guys. They are the components that are mentioned before as “L1″ and “C1″ in Figure 1. The circuitry on the left side of L1 is used to drive this LC circuit, and right side of C6 is used to read the changes in the signal.
C1 AC couples the clock signal of 125KHz to the circuit. R1 and R2 biases the transistor Q1. R4 limits its base current. Q1 drives the input of push-pull follower formed by Q2 and Q3. A push-pull follower will drive the signal at low output impedance. D2 and D3 prevents distortions at the cross-overs from zero level.
Now, our signal at “TP1″ is something like this, with no processing and modulation:
Scope Shot 1
We are going to use an “envelope detector” formed by D4, C8 and R13. After the recovery, this is how our “modulated” signal looks like:
Scope Shot 2
Of course, these measurements are made with the tag almost touching the reader. If we move the tag away about 5 cm from the reader, we may not be able to see the signal even with the oscilloscope. So, we have to filter and amplify this signal and make it ready to be processed by a microcontroller later on.
As you can see above, the signal we are dealing with is an AC signal. To deal with AC signals with the OP-AMPs, you need either a dual supply which goes to negative (for example -12V, +12V), or you need a virtual ground. We are going to assume that half point of our supply voltage is ground. So, if we are using a 5V single supply, our half point is +2.5V. If +2.5V is ground, then +5V is our new +2.5V and 0V is our new -2.5V. There you have it, a dual supply. We need the output impedance of this supply low, so we use an OP-AMP to buffer the +2.5V point which is high impedance due to R15 and R16, and we get a low impedance output as shown:
Figure 3
OK, now that we have solved that problem, let’s go back to our filter design. We have a square wave at certain frequency that we want to boost. While boosting the desired frequency we want to kill the other frequencies. But we see a bump there; square wave. A square wave is a signal that includes lots of harmonics (theoretically; infinity) of its actual frequency. These harmonics are hidden in the rise and fall waves, sharper the rise and fall, more the harmonics count. So, that means, if you low pass filter a square wave -that is not letting higher frequencies to pass a filter, you delete those harmonics and remember, those harmonics are in rise and fall times. Thus, you end up with a sine wave. We do not want that, that’s why we are going to let these frequencies pass as the way they are, however we are going to boost the original frequency. To do this, we have a filter design like follows:
Figure 4
“SignalOut” is our input coming from the envelope detector. C2 and R3 form a high pass filter to AC couple the input, and D1 protects the non-inverting input of the U1:A from over-voltage. You may say that it is not needed as the capacitor C2 will not allow any DC voltage through, you are correct. But only in steady state, if the capacitor is discharged, then it will let DC until it is charged. By the way, think +2.5V point as a “ground” point, since it is a virtual ground. C5 and R10 AC couples the output from U1:A in case of any DC offset. Then, this signal is filtered again, resulting in more amplification. Here is a graph showing the transfer characteristics of these filters:
Graph 1
Here is the waveform at the output node, pin 7 of U1:
Scope Shot 3
Yay! We have a filtered, clean output! But not so fast, because we need logic output. This is done easily by a comparator. Normally, OP-AMP comparators compare the input with a reference voltage, generally half the supply voltage. However, this may not work well if the rise and fall times of the input waveform is not in symmetry or close enough. Let’s demonstrate that with a reference voltage of half the supply:
Graph 2
The input signal has a loooong fall time. It should fall down at 3ms point ideally, since this is a recovered, however badly distorted ~43% duty cycle square wave -well at least let’s assume. See how the output waveform is a ~56% duty cycle square wave. We do not want that.
What you have to do is simple, compare the input signal with its average. How do you find a signals average? That is simple too -put it into a low pass filter, and here is the output:
Graph 3
Now let’s look at our case and apply:
Figure 5
Again, ignore the jumper JP4, that is for PCB. Let’s look at R14 and C10, we have selected them so that we have a good averaging (should I say weighted?) level for both 1KHz and 2KHz outputs we will have. This is the final output, isn’t it great:
Scope Shot 4
Finished PCB:
Finished PCB
Front Side
Back Side
I have used KiCad to draw the schematics and PCB, and I am fascinated by the usability of it. Before, I was using Proteus from Labcenter Electronics UK, however, KiCad is cheap and more usable. I will use ISIS as my circuit simulator (not spice), though. Here are the design files:
  • Schematics in PDF form is here.
  • KiCad project files in zipped form is here.
  • KiCad project files are here.
 
SRC:Freshengineers

 Arm processor based projects for students

1. Interfacing of graphical LCD to LPC2148 ARM Based 32-bit microcontroller
2. H-Bridge based DC Motor speed & Direction control using PWM using ARM 7 TDMI processor based LPC2148 Controller
3. Advanced mobile phone signal jammer for GSM, CDMA and 3G networks with prescheduled time duration using ARM 7 TDMI processor based LPC2148 Controller
4. Petrochemical Level Indicator and controller for automation of Cotton Purification industries using ARM 7 TDMI processor based LPC2148 Controller
5. Implementing character LCD Device Driver development on LPC2148 ARM Based 32-bit microcontroller
6. Biometric finger print based bank locker system using ARM 7 TDMI processor based LPC2148 Controller
7. Implementation of Data Encryption Standard on ARM(ARM7TDMI) processor based microcontroller(LPC2148)
8. Implementation of ZigBee based multipoint secured PC messaging system ARM 7 TDMI processor based LPC2148 Controller
9. GSM based automatic vehicle accident detection with GPS based location identification and messaging system using ARM 7 TDMI processor based LPC2148 Controller
10. Implementation of EEPROM Interfacing with I2C protocol using ARM 7 TDMI
11. Industrial Temperature Monitoring and controlling using ARM 7 TDMI processor based LPC2148 Controller
12. Automatic photovoltaic panel direction control for maximum power tracking using ARM 7 TDMI processor based LPC2148 Controller
13. GSM based Remote Industrial appliances control system using ARM 7 TDMI processor based LPC2148 Controller
14. Real time data acquisition using ARM 7 TDMI processor based LPC2148 Controller
15. GSM based advanced transformer load sharing system using ARM 7 TDMI processor based LPC2148 Controller
16. Implementation of Serial port device driver using ARM 7 TDMI processor based LPC2148 Controller
17. Biometric finger print based electronic voting system for rigging free governance using ARM 7 TDMI processor based LPC2148 Controller
18. Intelligent LPG / Smoke Detector with Auto dialer using ARM 7 TDMI processor based LPC2148 Controller
19. Auto turn off for water pump with four different time slots using ARM 7 TDMI processor based LPC2148 Controller
20. A smart ZigBee based wireless weather station monitoring system using ARM 7 TDMI processor based LPC2148 Controller....

Check For More Information: 
http://resources.infosecinstitute.com/traffic-anomaly-detection/
Also Look for the course if ur interested : 
http://www.infosecinstitute.com/courses/ethical_hacking_training.html

Domain Notice Todayscircuits.com Will be now todayscircuits.blogspot.in

Hello Friends,

An Important Notice For All Readers Of Today's Circuits Due TO Some Issues In Our Domain " www.todayscircuits.com"

Our Domain Will Be Temporarily available to website:  Todayscircuits.blogspot.in   till problem is resolved.


Thank You For being With Us, And Sorry For Inconvenience. 

SMS Remote Control For Ericsson T10s Cell Phone


SMS Remote Control For Ericsson T10s Cell Phone






Page Rank

google pagerank

Write For Us

Submit a Guest Post

Find us on Facebook

Categories

555 Timer IC 7 segment Display 8051 Project AC Circuits Adafruit Alarms Amplifier Circuits Analog Circuits android Arduino arm processor Assembly Languange Atmel Atom Size Audio Circuits augmented reality Automotive Circuits avr Battery Circuits Bicycle Gurad bluetooth Cable TV Circuits Cambridge University Camera Technology Circuit Boards Clipping And Clamping Circuits Clocking And Timer Circuits Computing contact lens Contact Us Form Contests Controller Circuit Conversion Circuits Counter Circuits Digital Electronics diy circuits Downloads EFY EFYTimes Electronic Books Electronic Components Electronic Locks And Keys Engineering Fan Circuits Filter Circuits Fire Alarm free Frequency Fun And Game Circuits future Google Hack n Mod Ham Radio Circuits heart rate monitoring High Voltage Circuits Home Circuits IC Guide ieee Industrial Circuits Infrared Instructables Inventions ipad lcd Led Circuits Light Related Lighting Circuits Medical Circuits Meter Clocks Microcontrollers Microprocessors Mini Projects modules Movie maker NatGeo Navigation Notice Optical Fiber PC Circuits PCB Boards Physics pnp transistor Power Supplies Printing Projects Programmer Project Ideas Projectors Protection circuits Proximity Detectors Radar Radio Circuits Radio Transmitters Raspberry Raspberry Pie Remote Circuits Retis Lab RFID Robot Cars Robotics Science Science Alert Security And Safety Sensor Circuits Servo Motors Smallest Smartwatches sms Software solar cell sound application Spectram Switch Technology News Telephone Related Television Related Test And Measurement Circuits Thermal Projects Tone generator circuits Touch Screen Tutorials Wearables Wi-Fi Wireless
Like us on Facebook
Follow us on Twitter
Recommend us on Google Plus
Subscribe me on RSS