Design of low power active RFID handheld device based on LPC2142

Publisher:阳关三迭Latest update time:2012-03-07 Keywords:LPC2142 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

A process that can significantly reduce the power consumption of active RFID handsets is proposed. The microprocessor LPC2142 is used as the core, combined with peripheral devices such as MAX1551, LTC3530, LTC3525-5 V, CH45 2A, nRF24L01, etc., to complete the design of a low-power handset with active RFID tag reading and writing functions. The effective reading distance of the handset in an open field can reach about 80 m, and its battery standby time is more than 10 days.

introduction

According to the different power supply methods, RFID can be divided into two categories: one is passive RFID and the other is active RFID. When passive RFID is working, the tag obtains energy through the electromagnetic field of the reader, and the tag itself does not need a battery; active RFID is just the opposite. The electronic tag needs its own battery to provide the power required for all devices to work. Compared with the passive RFID system, the active RFID system has lower requirements on the reader's transmission power and a longer effective reading distance, so it has a wide range of applications in many fields.

1 Active RFID system composition and working principle

Active RFID system components

The active RFID system consists of three parts: active tags, readers, and application systems, as shown in Figure 1. Active tags have a unique identification code (i.e., ID), and some active tags also have integrated sensors for measuring specific physical quantities. Within the effective working range of the reader, the electronic tag actively sends its ID and the measured physical quantity to the reader in the form of electromagnetic waves, and the reader stores the relevant information in its own storage device. The data stored in the reader can be transmitted to the application system through communication interfaces such as Ethernet, RS232, and USB for further processing of the data.

2 Structure of active RFID handset

Active RFID Handheld Device Structure Diagram

The block diagram of the active handheld device designed in this paper is shown in Figure 2. Its core is the microprocessor unit (MPU); reset circuit, clock circuit, power supply, keyboard, LCD display are the indispensable components of the minimum system, which are used to maintain the normal operation of the system and conduct human-computer interaction; the sound prompt circuit is used to give an alarm prompt when the operation is wrong or the battery is low; the backlight circuit can provide backlight for the keyboard and LCD; the power detection circuit detects the battery voltage and indirectly detects the remaining battery power according to the comparison relationship between the battery power and voltage; the RF circuit can receive/transmit radio frequency signals through the antenna; the external Flash can store the identity code, Chinese character dot matrix font library and related attributes of the read tag; the USB interface enables the handheld device to communicate data with the PC; the JTAG interface is used to download and debug the program.

2.1 Main control module and peripheral modules

The main control module uses the NXP LPC2142 microprocessor based on the ARM7 core. LPC2142 has USB2.0 interface, 2 I2C interfaces, 2 serial ports, 1 SPI interface, 1 SSP interface, 6 A/D channels, 16 KB RAM and 64 KB Flash; it also has a real-time clock (RTC), which can avoid the trouble caused by an external real-time clock. Through analysis, it is known that the microprocessor can fully meet the needs of the system. The circuit diagram of the main control module is shown in Figure 3.

Active RIFD handheld device main control module
2.2 Reset Circuit

To ensure that the system can be reset reliably, a dedicated reset chip CAT809 is used to reset the system. The reset circuit is shown in Figure 4.

Reset Circuit

2.3 Power Detection Circuit

The power detection circuit uses the A/D converter inside the LPC2142. The reference voltage Vref of the A/D is obtained by dividing the power supply voltage +3.3 V through resistors, as shown in Figure 5. The theoretical value of the reference voltage is 2.533 V. Since the voltage of the lithium battery can reach up to 4.2 V (when fully charged), it exceeds the range of the A/D converter, so the range needs to be expanded. The solution is to divide the output voltage of the lithium battery (3.7 V in the figure) through two identical resistors, detect the divided voltage, and multiply the converted voltage value by 2.

2.4 Charging and electrostatic protection circuit

Charging and electrostatic protection circuit

As shown in Figure 6, the system is powered by two power sources: a lithium battery and USB VBUS. The two power sources are connected to the input pin of the lithium battery charging chip MAX1551 to charge the battery. The /CHG pin is a charging status indicator pin. It is high impedance when not fully charged and outputs a low level when fully charged. During charging, the microprocessor determines whether the charging is complete by detecting the state of this pin and displays the charging status on the LCD. In order to prevent static electricity from damaging the microprocessor, the USB interface circuit needs to be protected from static electricity. The chip used here is SN65220.

2.5 Voltage conversion module

Voltage conversion circuit

The handheld system has high requirements for the conversion efficiency of the power supply and the quiescent current of the power chip. The higher the conversion efficiency, the smaller the quiescent current of the chip, and the longer the battery life of the handheld system under the same conditions. The voltage conversion circuit is shown in Figure 7. Using Linear Technology's DC-DC conversion chips LTC3530 and LTC3525-5V, within the battery's power supply voltage range, its efficiency is above 80%, and up to 90%; and it has an enable pin, which is convenient for power management and can obtain the +3.3 V and +5 V power supply voltages required by the system. In order to ensure that the system can still be turned on by the power button when it is turned off, it is necessary to power the microprocessor separately, and the conversion chip LP2985 is used here.

2.6 Keyboard Circuit

Keyboard circuit

The keyboard circuit uses the keyboard management chip CH452A, as shown in Figure 8. It communicates with the MPU through the I2C interface. The power button of the handheld device is implemented with a discrete button, and the 0.1μF capacitor in parallel with the button can eliminate jitter.

2.7 RF Circuit

nRF24L01 is a single-chip wireless transceiver chip that works in the 2.4-2.5 GHz universal ISM frequency band. It has the advantages of small area, high data transmission rate, and low power consumption. It can work in frequency hopping mode and can effectively avoid interference from the surrounding environment. It communicates data with the microprocessor through the SPI interface, and the antenna adopts an inverted F-type PCB antenna that occupies less PCB space. The RF circuit diagram is shown in Figure 9.

RF Circuit

2.8 LCD Circuit

The 2.8-inch TFTLCD model YM280T from Shenzhen Yaoyu Technology Co., Ltd. is used, which can work in 8-bus mode. The other circuits are shown in Figure 10.

The backlight circuit combines the keyboard backlight with the LCD backlight and controls them with a transistor switch to reduce power consumption. The sound prompt circuit uses a buzzer with a volume of 5 mm × 5 mm × 2 mm to meet the needs of a compact handheld device. The external expansion Flash uses the serial Flash memory AT45DB081 with few pins and small package size, and performs data communication through SSP (the SSP interface is compatible with the SPI interface).

3 Software Design

3.1 Data Packet Format

The packet format in enhanced ShockBurst mode is shown in Figure 11.

The preamble is used for synchronization and is only used in the sending mode; the flag bit is used for packet identification, only two of which are used, and the remaining 7 bits are reserved; the data is the item identification information with a width of 1 to 32 bytes to be transmitted/received; the CRC check selects a 16-bit CRC check with a generating polynomial of X16+X12+X5+X1.

3.2 Handheld device workflow

Handheld device workflow

The workflow of the handheld device is shown in Figure 12. This process is for active cards that can be read and written. The information in the card needs to be read out, and then the modified information is written into the ID card after deducting a certain fee (or number of times). In order to save power consumption, if no key is pressed within 5 seconds (to be set according to actual conditions) after a key is pressed (including power on), the microprocessor will enter idle mode. When a key is pressed again, the microprocessor will be awakened by the external interrupt generated by the keyboard.

4 System Testing

The size of the PCB board made in this system is 5 cm×10 cm, which fully meets the requirement of small space occupation. All components are packaged in SMD. When testing, test the power supply first. If there is no problem with the power supply, test other parts. Every time you weld a module, check whether the welding of the power supply, ground and other pins is reliable at any time. When testing the whole machine, first check whether the power supply and ground are short-circuited. After checking, power on the whole machine to proceed to the next step of software and hardware joint debugging.

When the transmit power is set to 0 dBm in the software, the communication distance is about 80m in an open test site; in a closed corridor, the communication distance is 30-40m. In idle mode, the current measured from the battery output is 4.8 mA. The system uses a 1400 mAh lithium battery, and the standby time (in idle mode) can reach more than 10 days.

Conclusion

The active RFID handheld device designed in this paper has been applied to parking lot management systems. It has the advantages of long standby time, small size and high reliability, and has good promotion value.

Keywords:LPC2142 Reference address:Design of low power active RFID handheld device based on LPC2142

Previous article:The right way to speed up RF device testing
Next article:LTE network capacity air interface test

Recommended ReadingLatest update time:2024-11-16 19:48

Design and implementation of data collection network based on RFID
  1 Introduction   Radio Frequency Identification (RFID) is a rapidly developing automatic identification technology with many advantages: convenient and fast data reading, fast identification speed, simultaneous identification of multiple targets, large data capacity, long service life, wide application range, and
[Microcontroller]
Design and implementation of data collection network based on RFID
Tektronix MDO4000 Mixed Domain Oscilloscope Application Case Analysis (2) RFID Reader Test
  About RFID   Radio Frequency Identification (RFID) technology, also known as electronic tags and wireless radio frequency identification, is a communication technology that can identify specific targets and read and write related data through radio signals. The basic components of RFID: Tag: composed of coupling ele
[Test Measurement]
Tektronix MDO4000 Mixed Domain Oscilloscope Application Case Analysis (2) RFID Reader Test
Analysis of RFID chip attack techniques and security design strategies
        This article takes RFID products using magnetic coupling and CMOS technology as an example, briefly introduces the composition of such chips, and lists various destructive/non-destructive attack methods. It analyzes from the perspective of software/hardware how various existing security measures can deal with
[Microcontroller]
Analysis of RFID chip attack techniques and security design strategies
Application research of intelligent RFID reader in UHF band
With the gradual clarification of the UHF band Chinese standard and the demand for applications such as logistics, intelligent transportation, and digital scenic spots, UHF band RFID products will occupy an increasingly larger market share in the RFID industry. The development direction of the product will be to dev
[Security Electronics]
Application research of intelligent RFID reader in UHF band
A brief analysis of RFID vehicle intelligent management system and solutions
1. System Overview With the rapid development of the national economy, the number of cars in cities has continued to increase. While cars bring people fast and convenient transportation, they also bring many inconveniences due to problems such as poor parking management. Therefore, in recent years, the static m
[Automotive Electronics]
Electronic cigarette box system solution based on RFID technology
1. Construction Background   At present, the application of Internet of Things is spread across various industries such as agriculture, industry, commerce, military, finance, etc., and has achieved certain results. As for the application of Internet of Things in the tobacco industry, it mainly involves four major ar
[Analog Electronics]
Electronic cigarette box system solution based on RFID technology
Design of hospital baby anti-theft system based on RFID
According to statistics from the Center for Missing and Exploited Children in the United States, 217 babies were abducted in the United States from 1983 to 2002. Of this total, 100 babies were stolen from hospitals (57 from their mothers' wards). It has been proven that the theft of newborns in hospitals is not clos
[Analog Electronics]
Design of hospital baby anti-theft system based on RFID
Challenges of UHF RFID System Testing
RFID is a low-power, short-range wireless communication technology, and its full name is "Radio Frequency Identification". The composition of an RFID system generally includes at least two parts: an electronic tag (Tag in English) and a reader/writer (Reader/Writer or Interrogator in English). Electronic tags generall
[Test Measurement]
Challenges of UHF RFID System Testing
Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号