DesignofcontrolsystemforRFIDcardreaderbasedonMCU摘要射频识别技术RFID是radiofrequencyidentification的简称,即射频识别。其原理为读写器和标签之间进行非接触式的数据通信,以达到识别目标的目的[1]。本文首先对RFID技术的相关原理和特点进行了描述,介绍了该技术的结构、工作流程、发展趋势和应用范围。然后对系统的应用理论和研究进行了部分分析,进行了可行性分析和计划论证设计,把系统分为主控制模块、射频模块和串行通信模块三个部分,进行相关学习研究。在这个基础上,这一篇文章从硬件和软件两个方面对RFID系统的设计与实现分两部分进行说明和进一步研究。硬件部分仔细讨论了设备的工作原理,设计了控制模块电路、射频模块电路和串行通信电路。主控制系统采用STC89C52系列,扩展其基本外围电路。EM4095被选为射频模块中的射频基站芯片。软件设计纤细介绍了主程序设计,并根据工作流程说明了每个子例程模块的设计和完成。关键词:RFIDSTC89C52EM4095ABSTRACTRadiofrequencyidentification(RFID)istheabbreviationofradiofrequencyidentification.Theprincipleofthismethodisnon-contactdatacommunicationbetweenreaderandtagtoachievethepurposeoftargetrecognitionThispaperfirstgivesanoverviewofRFIDtechnology,introducesthestructure,workingprinciple,characteristics,applicationanddevelopmenttrendofRFIDtechnologysystem.Thentheapplicationtheoryandresearchofthesystemareanalyzed,andthefeasibilityanalysisandplandemonstrationdesignarecarriedout.Thesystemisdividedintothreeparts:maincontrolsystemmodule,RFmoduleandserialcommunicationmodule.Onthisbasis,thispaperisdividedintotwoparts,fromthehardwaredesignandsoftwaredesignofRFIDsystemdesignandimplementation.Inthehardwaredesignpart,theworkingprincipleofthedeviceisdiscussedindetail,andtheserialcommunicationcircuit,RFmodulecircuitandcontrolmodulecircuitaredesigned.ThemaincontrolsystemusesSTC89C52seriestoexpanditsbasicperipheralcircuit.EM4095isselectedastheRFbasestationchipintheRFmodule.Thesoftwaredesigndetailsthemainprogramdesign,andexplainsthedesignandcompletionofeachsubroutinemoduleaccordingtotheworkflow.Keywords:RFID,STC89C52,EM4095目录第一章绪论.........................................................................................11.1课题的研究背景及意义..............................................................11.2国内外发展状况........................................................................11.2.1国外发展现状..................................................................21.2.2国内发展现状..................................................................2第二章RFID系统主要理论知识...............................................................32.1RFID系统的组成......................................................................32.2RFID的工作原理......................................................................42.3基本工作流程...........................................................................4第三章系统的硬件设计.........................................................................63.1系统的整体设计方案..................................................................63.2器件选择.................................................................................63.2.1主控制芯片.....................................................................63.2.2射频基站芯片..................................................................83.2.3串口通信芯片..................................................................93.3主控制模块电路设计.......................................................