[go: up one dir, main page]

CN202331517U - Multi-microcontroller radio frequency identification reading and writing device - Google Patents

Multi-microcontroller radio frequency identification reading and writing device Download PDF

Info

Publication number
CN202331517U
CN202331517U CN2011204527400U CN201120452740U CN202331517U CN 202331517 U CN202331517 U CN 202331517U CN 2011204527400 U CN2011204527400 U CN 2011204527400U CN 201120452740 U CN201120452740 U CN 201120452740U CN 202331517 U CN202331517 U CN 202331517U
Authority
CN
China
Prior art keywords
unit
radio frequency
microcontroller
control unit
microcontroller control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2011204527400U
Other languages
Chinese (zh)
Inventor
宋洪涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Engineering University
Original Assignee
Harbin Engineering University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN2011204527400U priority Critical patent/CN202331517U/en
Application granted granted Critical
Publication of CN202331517U publication Critical patent/CN202331517U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

本实用新型属于射频识别技术,具体涉及多微控制器射频识别读写装置。本实用新型包括一个射频收发单元组、一个微控制器控制单元组、一个主微控制器控制单元、稳压电源单元、存储单元、显示单元、复位单元、程序烧写单元、上位机接口,微控制器控制单元组包括至少两个微控制器控制单元,射频收发单元组包括至少两个射频收发单元,其中微控制器控制单元控制对应的射频收发单元,射频收发单元具有不同的可配置射频频率通道。该实用新型极大提高读写装置的读取效率,解决了读写系统中的大量数据冗余问题。

The utility model belongs to the radio frequency identification technology, in particular to a multi-microcontroller radio frequency identification read-write device. The utility model includes a radio frequency transceiver unit group, a micro-controller control unit group, a main micro-controller control unit, a stabilized power supply unit, a storage unit, a display unit, a reset unit, a program programming unit, an upper computer interface, a micro The controller control unit group includes at least two microcontroller control units, and the radio frequency transceiver unit group includes at least two radio frequency transceiver units, wherein the microcontroller control unit controls the corresponding radio frequency transceiver unit, and the radio frequency transceiver unit has different configurable radio frequencies aisle. The utility model greatly improves the reading efficiency of the reading and writing device, and solves the problem of a large amount of data redundancy in the reading and writing system.

Description

一种多微控制器射频识别读写装置A multi-microcontroller radio frequency identification read-write device

技术领域 technical field

本实用新型属于射频识别(RFID,Radio Frequency IDentification)技术,具体涉及一种包含RFID读写器技术的多微控制器射频识别读写装置。The utility model belongs to radio frequency identification (RFID, Radio Frequency IDentification) technology, in particular to a multi-microcontroller radio frequency identification reading and writing device including RFID reader technology.

背景技术 Background technique

RFID技术是一种非接触的自动识别技术,它通过使用射频电子设备发射射频信号,并通过射频信号的空间耦合来自动识别目标对象并获取相关数据,同时可以将新的信息写入目标对象的标识设备。RFID系统主要由读写器、电子标签、外部终端等构成,一般分为有源系统和无源系统。如在有源系统中,读写器的主要功能是通过天线接收电子标签发射的射频信号,进行滤波、解调、放大、解码和译码处理,实现对标签内存储的固定数据与标签数据区数据的读取,以及通过外部终端发送相关控制命令或数据信息,完成标签的各种功能控制与相关数据的修改。RFID technology is a non-contact automatic identification technology. It uses radio frequency electronic equipment to emit radio frequency signals, and through the spatial coupling of radio frequency signals to automatically identify target objects and obtain relevant data, and at the same time, new information can be written into the target object. Identify the device. The RFID system is mainly composed of readers, electronic tags, external terminals, etc., and is generally divided into active systems and passive systems. For example, in an active system, the main function of the reader is to receive the radio frequency signal transmitted by the electronic tag through the antenna, perform filtering, demodulation, amplification, decoding and decoding processing, and realize the fixed data stored in the tag and the tag data area. Data reading, and sending relevant control commands or data information through the external terminal, to complete the various function control of the tag and the modification of related data.

随着应用领域的不断扩展,很多应用要求读写装置能够同时处理大量的标签,而单一频率的RFID系统构造简单、容易实现,但其缺陷是致命的,如在有源RFID“点名巡更”系统中,大多系统每秒只能约读取100个标签,这对于有密集标签的应用场合是不适宜的,另外系统命令和数据都集中在一个频道上,很容易被捕捉、分析、破解,一旦指定的频道被阻塞或被干扰,整个系统就会效率低下甚至瘫痪。With the continuous expansion of the application field, many applications require the read-write device to be able to process a large number of tags at the same time, while the single-frequency RFID system is simple in structure and easy to implement, but its defects are fatal, such as in the active RFID "roll call" In the system, most systems can only read about 100 tags per second, which is not suitable for applications with dense tags. In addition, system commands and data are concentrated on one channel, which is easy to be captured, analyzed, and cracked. Once the designated channel is blocked or interfered, the entire system will be inefficient or even paralyzed.

多频道传输的RFID系统将大量的RFID标签分散到不同的频道,即不同标签在主传输频率带宽内有一定的频率差异,而不同的读写设备具有与之对应的一个或若干个频率通道。在一个多标签多读写器的系统中,多频道传输的RFID系统可以一定程度的避免系统中的“碰撞”问题,较单一频率的系统有更高的读写性能。现有的多频率通道读写装置采用一个微控制器直接读取多个不同频率的射频模块数据,单一频道上的“碰撞”仍然存在,并且在同一射频模块中必然会读取到一定的重复数据或者未能及时读取其它的模块数据,也就是说,在处理器读取的某一模块的数据中一定包含重复的标签,而当处理器读取完该射频模块,进行下一模块的数据读取任务时,下一射频模块中的数据包与模块已读取数据包是否不重复很难得到保证,这很大程度上制约了读写装置的“读取效率”。The RFID system of multi-channel transmission disperses a large number of RFID tags to different channels, that is, different tags have certain frequency differences within the main transmission frequency bandwidth, and different read-write devices have one or several frequency channels corresponding to them. In a multi-tag multi-reader system, the multi-channel transmission RFID system can avoid the "collision" problem in the system to a certain extent, and has higher read and write performance than a single-frequency system. The existing multi-frequency channel reading and writing device uses a microcontroller to directly read the data of multiple RF modules with different frequencies. The "collision" on a single channel still exists, and certain repetitions will inevitably be read in the same RF module. The data may fail to read other module data in time, that is to say, the data of a certain module read by the processor must contain repeated labels, and when the processor finishes reading the RF module, the next module When reading data, it is difficult to ensure that the data packets in the next radio frequency module and the data packets read by the module are not repeated, which greatly restricts the "reading efficiency" of the read-write device.

另外,经更加深入的分析与实践,此类读写装置在实际应用中包含的频率通道个数受到主控制器的性能与相关通信接口个数限制。同时,读写装置读到的大量的重复标签数据信息,即“数据冗余”问题,造成了系统资源的严重浪费,而即使在微处理器级采用“条件查询”等数据过滤机制,也会给微处理器端造成了一定的处理压力。In addition, after more in-depth analysis and practice, the number of frequency channels included in this type of read-write device in practical applications is limited by the performance of the main controller and the number of related communication interfaces. At the same time, a large number of repeated tag data information read by the read-write device, that is, the problem of "data redundancy", has caused a serious waste of system resources, and even if data filtering mechanisms such as "conditional query" are used at the microprocessor level, it will also This creates a certain amount of processing pressure on the microprocessor side.

系统的“读取效率”是一个极为重要的性能指标,即在规定时间内读取到不同标签的个数或一定标签数量下的读取时间。由RFID系统的工作原理可知,当标签数据包长度确定时,系统“读取效率”是有上限的,即读写器在一定读取时间内所有的标签均无“碰撞”,研究者需尽可能的使用适当的通信策略来保障该条件。事实上“碰撞”现象是无法避免的,但在一个多频道传输的系统中,采用适当的通信策略可以在若干标签的读取过程中等效为无“碰撞”。The "reading efficiency" of the system is an extremely important performance index, that is, the number of different tags read within a specified time or the reading time under a certain number of tags. According to the working principle of the RFID system, when the length of the tag data packet is determined, the "reading efficiency" of the system has an upper limit, that is, all the tags of the reader have no "collision" within a certain reading time. Possibly use appropriate communication strategies to guarantee this condition. In fact, the "collision" phenomenon is unavoidable, but in a multi-channel transmission system, the use of appropriate communication strategies can be equivalent to no "collision" in the reading process of several tags.

发明内容 Contents of the invention

本实用新型的目的在于提供一种提高读取效率,避免数据冗余的多微控制器射频识别读写装置。The purpose of the utility model is to provide a multi-micro-controller radio frequency identification read-write device that improves reading efficiency and avoids data redundancy.

本实用新型的目的是这样实现的:The purpose of this utility model is achieved in that:

该多微控制器射频识别读写装置,包括一个射频收发单元组、一个微控制器控制单元组、一个主微控制器控制单元、稳压电源单元、存储单元、显示单元、复位单元、程序烧写单元、上位机接口,其中射频收发单元组中的射频收发单元对应连接微控制器控制单元组中的微控制器控制单元,微控制器控制单元组连接主微控制器控制单元,存储单元、显示单元、上位机接口分别连接主微控制器控制单元,复位单元、程序烧写单元、稳压电源单元同时连接主微控制器控制单元和微控制器控制单元组,其特征是:微控制器控制单元组包括至少两个微控制器控制单元,射频收发单元组包括至少两个射频发射单元,其中微控制器控制单元控制对应的射频收发单元,射频收发单元具有不同的可配置的射频频率通道。The multi-microcontroller radio frequency identification reading and writing device includes a radio frequency transceiver unit group, a microcontroller control unit group, a main microcontroller control unit, a stabilized power supply unit, a storage unit, a display unit, a reset unit, a program burner Write unit, host computer interface, wherein the radio frequency transceiver unit in the radio frequency transceiver unit group is correspondingly connected to the microcontroller control unit in the microcontroller control unit group, the microcontroller control unit group is connected to the main microcontroller control unit, the storage unit, The display unit and the host computer interface are respectively connected to the main microcontroller control unit, and the reset unit, the program programming unit, and the stabilized power supply unit are connected to the main microcontroller control unit and the microcontroller control unit group at the same time. It is characterized in that the microcontroller The control unit group includes at least two microcontroller control units, and the radio frequency transceiver unit group includes at least two radio frequency transmitting units, wherein the microcontroller control unit controls the corresponding radio frequency transceiver unit, and the radio frequency transceiver unit has different configurable radio frequency channels .

主微控制器控制单元与微控制器控制单元组通过串行接口总线及普通输入/输出引脚(GPIO)连接,主微控制器控制单元工作在串行接口数据传输的主动模式,微控制器控制单元工作在串行接口数据传输的被动模式。The main microcontroller control unit and the microcontroller control unit group are connected through a serial interface bus and a general input/output pin (GPIO). The main microcontroller control unit works in the active mode of serial interface data transmission, and the microcontroller The control unit works in passive mode for data transmission on the serial interface.

微控制器控制单元具有不同的串行接口数据传输优先级,优先级的状态受主微控制器控制单元控制。The microcontroller control unit has different serial interface data transmission priorities, and the state of the priority is controlled by the main microcontroller control unit.

本实用新型的有益效果是:与其它同类读写装置相比,通过对读写装置结构的本质改进,极大提高读写装置的读取效率,有效解决了标签“碰撞”问题,即每个射频收发单元与对应微控制器控制单元间的数据传输独立完成,当主控制器控制单元读取某微控制器控制单元中的射频数据时,未被读取的微控制器控制单元为数据的预读取做了充足的准备,从而实现“非碰撞”的等效性;值得提出的是,即使主控制器控制单元端采用直接上传模式,前一级的处理将冗余数据分配到多个模块独立进行过滤,也很大程度上降低了读写系统控制器端的数据处理压力,因此本实用新型很好的解决了读写系统中的大量“数据冗余”问题。The beneficial effect of the utility model is: compared with other similar read-write devices, through the essential improvement of the structure of the read-write device, the reading efficiency of the read-write device is greatly improved, and the problem of "collision" of tags is effectively solved, that is, each The data transmission between the radio frequency transceiver unit and the corresponding microcontroller control unit is completed independently. When the main controller control unit reads the radio frequency data in a certain microcontroller control unit, the unread microcontroller control unit is the pre-set of the data. The read is well prepared to achieve "non-collision" equivalence; it is worth mentioning that even if the main controller control unit side adopts the direct upload mode, the processing of the previous stage distributes redundant data to multiple modules Independent filtering also greatly reduces the data processing pressure on the controller side of the read-write system, so the utility model well solves a large number of "data redundancy" problems in the read-write system.

附图说明 Description of drawings

图1是多微控制器射频识别读写装置的结构原理图;Fig. 1 is the structural schematic diagram of multi-microcontroller radio frequency identification reading and writing device;

图2是实施例1示意图;Fig. 2 is a schematic diagram of embodiment 1;

图3是实施例2示意图;Fig. 3 is the schematic diagram of embodiment 2;

图4是实施例3示意图。Fig. 4 is a schematic diagram of embodiment 3.

具体实施方式 Detailed ways

下面结合附图和具体实例对本实用新型做进一步说明。Below in conjunction with accompanying drawing and specific example the utility model is described further.

如图1所示,一种多微控制器射频识别读写装置,包括一个射频收发单元组101、一个微控制器控制单元组102、一个主微控制器控制单元103、稳压电源单元104、存储单元105、显示单元106、复位单元107、程序烧写单元108、上位机接口109、其它外围单元110。其中射频收发单元组中的射频收发单元101n对应连接微控制器控制单元组中的微控制器控制单元102n,微控制器控制单元组连接主微控制器控制单元,存储单元、显示单元、上位机接口和其它外围单元分别连接主微控制器控制单元,复位单元、程序烧写单元、稳压电源单元同时连接主微控制器控制单元和微控制器控制单元组。As shown in Figure 1, a multi-microcontroller radio frequency identification reading and writing device includes a radio frequency transceiver unit group 101, a microcontroller control unit group 102, a main microcontroller control unit 103, a stabilized power supply unit 104, Storage unit 105 , display unit 106 , reset unit 107 , program writing unit 108 , host computer interface 109 , and other peripheral units 110 . Wherein the radio frequency transceiver unit 101n in the radio frequency transceiver unit group is correspondingly connected to the microcontroller control unit 102n in the microcontroller control unit group, and the microcontroller control unit group is connected to the main microcontroller control unit, storage unit, display unit, host computer The interface and other peripheral units are respectively connected to the main micro-controller control unit, and the reset unit, the program programming unit and the stabilized power supply unit are simultaneously connected to the main micro-controller control unit and the micro-controller control unit group.

射频收发单元组101中包括至少两个射频收发单元,根据多微控制器射频识别读写装置的主工作频段,该组中可选用射频收发芯片nRF24L01+等支持频率配置的射频收发芯片,微控制器控制单元组102包括至少两个微控制器控制单元,微控制器控制单元组中对微控制器控制单元的性能要求并不高,可选择为C8051F320等低端微处理器系列芯片。另外,射频收发单元组与微控制器控制单元组在实际实施过程中可以合并,即亦可选择集成微控制器的射频芯片nRF24LE1等。射频收发单元连同其微控制器可独立完成射频标签信号的读取、过滤与存储等。The radio frequency transceiver unit group 101 includes at least two radio frequency transceiver units. According to the main working frequency band of the multi-microcontroller radio frequency identification reading and writing device, radio frequency transceiver chips such as the radio frequency transceiver chip nRF24L01+ that support frequency configuration can be selected in this group, and the microcontroller The control unit group 102 includes at least two microcontroller control units. The performance requirements of the microcontroller control unit in the microcontroller control unit group are not high, and can be selected as low-end microprocessor series chips such as C8051F320. In addition, the radio frequency transceiver unit group and the microcontroller control unit group can be combined in the actual implementation process, that is, the radio frequency chip nRF24LE1 integrated with the microcontroller can also be selected. The radio frequency transceiver unit and its microcontroller can independently complete the reading, filtering and storage of radio frequency tag signals.

主微控制器控制单元103中,为了确保装置的读写性能可选用中高端的微处理器系列,如LPC2388 ARM芯片等。该主微处理器控制单元与控制射频收发单元的微控制器控制单元组通过串行接口总线及GPIO引脚连接,其中主微控制器控制单元工作在串行接口数据传输的主动模式,微控制器控制单元组中的微控制器控制单元工作在串行接口数据传输的被动模式。串行接口可选为SPI(Serial Peripheral Interface),SSP(Synchronous Serial Port)等。In the main micro-controller control unit 103, in order to ensure the read-write performance of the device, a series of high-end microprocessors can be selected, such as LPC2388 ARM chips and the like. The main microprocessor control unit is connected with the microcontroller control unit group controlling the radio frequency transceiver unit through the serial interface bus and GPIO pins, wherein the main microcontroller control unit works in the active mode of serial interface data transmission, and the microcontroller The microcontroller control unit in the microcontroller control unit group works in the passive mode of serial interface data transmission. The serial interface can be selected as SPI (Serial Peripheral Interface), SSP (Synchronous Serial Port) and so on.

微控制器控制单元组中的微控制器控制单元在数据传输过程中有不同的串行接口数据传输优先级,且优先级的状态受到主微控制器控制单元的实时控制,主微控制器控制单元可对若干个微控制器控制单元的数据进行存储、过滤等处理,实时显示或通过上位机接口进行数据上传。其中,上位机接口可选为通用异步接收/发送接口,通用串行总线接口,以太网接口等。The microcontroller control units in the microcontroller control unit group have different serial interface data transmission priorities during data transmission, and the status of the priority is controlled by the main microcontroller control unit in real time, and the main microcontroller controls The unit can store, filter and process the data of several microcontroller control units, display in real time or upload data through the host computer interface. Among them, the upper computer interface can be selected as a general asynchronous receiving/sending interface, a universal serial bus interface, an Ethernet interface, and the like.

稳压电源单元用于与读写装置的各单元与子单元进行连接,为其提供一种或多种稳定的工作电压。The stabilized power supply unit is used to connect with each unit and subunit of the read-write device to provide it with one or more stable working voltages.

根据图1,下面结合实施例对该装置进行更详细的说明。According to FIG. 1 , the device will be described in more detail below in conjunction with embodiments.

实施例1Example 1

如图2所示,射频收发单元组201选用中心工作频段为2.45GHz的射频收发芯片nRF24L01+,微控制器控制单元组选用C8051F320微控制芯片,主微控制器控制单元203选用LPC2388ARM微控制器芯片,主微处理器LPC2388与若干个控制射频收发单元的C8051F320通过SPI总线进行数据传输,并连接必要的控制引脚,上位机接口209选用标准的RS232串口,稳压电源模块204为整个电路提供稳定的5V和3V电源。As shown in Figure 2, the radio frequency transceiver unit group 201 selects the radio frequency transceiver chip nRF24L01+ whose central working frequency band is 2.45GHz, the microcontroller control unit group selects the C8051F320 micro-control chip, and the main microcontroller control unit 203 selects the LPC2388ARM microcontroller chip, The main microprocessor LPC2388 and several C8051F320 controlling the radio frequency transceiver unit carry out data transmission through the SPI bus and connect the necessary control pins. The host computer interface 209 selects a standard RS232 serial port, and the regulated power supply module 204 provides stable power for the entire circuit. 5V and 3V power supplies.

实施例2Example 2

如图3所示,射频收发单元组与微控制器控制单元组集成合并为嵌入微控制器的射频收发单元组301,选用中心工作频段为2.45GHz的集成微控制器的射频收发芯片nRF24LE1,主微控制器控制单元302选用LPC2388 ARM微控制器芯片,主微处理器LPC2388与若干个具有微控制器控制功能的nRF24LE1芯片通过SPI总线进行数据传输,并连接必要的控制引脚,上位机接口308选用标准的RS232串口,稳压电源模块303为整个电路提供稳定的5V和3V电源。As shown in Figure 3, the radio frequency transceiver unit group and the microcontroller control unit group are integrated and merged into a radio frequency transceiver unit group 301 embedded in a microcontroller. The microcontroller control unit 302 selects the LPC2388 ARM microcontroller chip, the main microprocessor LPC2388 and several nRF24LE1 chips with microcontroller control functions perform data transmission through the SPI bus, and connect the necessary control pins, the host computer interface 308 A standard RS232 serial port is selected, and the regulated power supply module 303 provides stable 5V and 3V power supplies for the entire circuit.

实施例3Example 3

如图4,以实施例2为例说明该实用新型的数据传输方法。nRF24LE1.k表示嵌入微控制器的射频收发单元组中的第k个射频收发单元,REQ.k表示该射频收发单元的数据发送请求标识,CS.k表示该射频收发单元的SPI总线片选,PRI.k表示该射频收发单元的数据传输优先级标识。As shown in Fig. 4, the data transmission method of the utility model is described by taking Embodiment 2 as an example. nRF24LE1.k represents the kth radio frequency transceiver unit in the radio frequency transceiver unit group embedded in the microcontroller, REQ.k represents the data transmission request identification of the radio frequency transceiver unit, CS.k represents the SPI bus chip select of the radio frequency transceiver unit, PRI.k represents the data transmission priority identifier of the radio frequency transceiver unit.

相关微控制器首先进行初始化,其中数据发送请求标识、数据传输优先级均为0,SPI总线片选为1(无效)。当控制射频收发单元的微控制器接收到有效数据后,如果判断为重复的标签数据,则返回后接收下一数据包,若判断为非重复的标签数据,则将数据写入缓存,并判断数据发送请求标识是否为1,若不是,则将其置1,之后判断是否具有有效的片选信号,若没有,则接收下一数据包,重复该过程,若具备有效的片选信号,则启动SPI数据传输的被动模式,直到传输完成后清空缓存,并将数据发送请求标识置0,如果SPI数据传输过程中判断接收到有效的控制命令数据,则进行对应的中断处理。Relevant microcontrollers are initialized first, in which the data transmission request identification and data transmission priority are both 0, and the SPI bus chip selection is 1 (invalid). When the microcontroller that controls the radio frequency transceiver unit receives valid data, if it is judged to be repeated tag data, it will receive the next data packet after returning, and if it is judged to be non-repetitive tag data, the data will be written into the cache and judged Whether the data transmission request flag is 1, if not, set it to 1, then judge whether there is a valid chip selection signal, if not, then receive the next data packet, repeat the process, if there is a valid chip selection signal, then Start the passive mode of SPI data transmission, clear the cache until the transmission is completed, and set the data transmission request flag to 0. If it is judged that valid control command data is received during the SPI data transmission process, the corresponding interrupt processing will be performed.

主微控制器控制单元接收到有效的数据发送请求标识后,根据该标识设置对应微控制器控制单元的数据传输优先级,为具有最高优先级的微控制器控制单元提供有效的片选信号并启动SPI数据传输的主动模式;主微控制器控制单元在数据传输完成后根据SPI传输数据内容决定上传数据还是进行其它操作,上传数据时需根据上传模式进行直接上传或条件上传,若为条件上传模式,则进行条件查询,上传后修改对应的缓存表(其中SPI数据中的标签数据内容中包括多种信息,信息内容可能是需要将该数据上传,也可能是请求阅读器发给标签一个命令等。其中的上传模式是预定的。);主微控制器控制单元将数据上传后,置对应片选信号为1,并重新调整微控制器控制单元组的数据传输优先级,之后返回重复该过程;该过程中如果接收到上位机命令,则判断命令编号,将对应片选置0,启动SPI数据传输的主动模式,发送命令数据;调整数据传输优先级时,将该已传输后的具有最高优先级的微控制器控制单元的优先级置零,并将其它非0的优先级单元提高一个优先级;重复进行数据请求标识判断时,若同时存在至少两个新的有效数据发送请求标识,设置数据传输优先级时,则优先级顺序依据微控制器控制单元编号设置,并将其优先级级别依次设置在现有非0优先级之后。请求传输标识可以区分不同的微控制器控制单元,在主微控制器中有一个数据传输优先级动态表,对应微控制器控制单元中的微控制器个数,值得注意的是没有数据发送请求标识的MCU没有数据传输优先级,即0永远是最低的。当与第一个发送请求标识的MCU(它的优先级一定是最高的)传输结束后,它一定没有数据请求标识,那么将其优先级数值修改为0,排到最后,并将其它非0的优先级提高一级。那么此时第二优先级变成最高,0优先级不动。对于0优先级对应的MCU,在下一次判断数据请求标识时很可能存在两个以上,那么根据编号编排在非0优先级之后。After the main micro-controller control unit receives the effective data transmission request identification, the data transmission priority of the corresponding micro-controller control unit is set according to the identification, and a valid chip selection signal is provided for the micro-controller control unit with the highest priority and Start the active mode of SPI data transmission; after the data transmission is completed, the main microcontroller control unit decides whether to upload data or perform other operations according to the content of the SPI transmission data. When uploading data, it needs to perform direct upload or conditional upload according to the upload mode. If it is conditional upload Mode, perform conditional query, modify the corresponding cache table after uploading (the tag data content in the SPI data includes a variety of information, the information content may be to upload the data, or request the reader to send a command to the tag etc. wherein the upload mode is predetermined.); after the main microcontroller control unit uploads the data, set the corresponding chip select signal to 1, and readjust the data transmission priority of the microcontroller control unit group, and then return to repeat the process process; if a host computer command is received during this process, then judge the command number, set the corresponding chip select to 0, start the active mode of SPI data transmission, and send command data; when adjusting the priority of data transmission, the transmitted data with The priority of the microcontroller control unit with the highest priority is set to zero, and the priority of other non-zero priority units is increased by one priority; when the data request identification judgment is repeated, if there are at least two new valid data transmission request identifications at the same time , when setting the data transmission priority, the priority order is set according to the microcontroller control unit number, and its priority level is set after the existing non-zero priority. The request transmission identification can distinguish different microcontroller control units. There is a data transmission priority dynamic table in the main microcontroller, corresponding to the number of microcontrollers in the microcontroller control unit. It is worth noting that there is no data transmission request The identified MCU has no data transmission priority, that is, 0 is always the lowest. When the transmission with the first MCU that sends the request identifier (its priority must be the highest) is over, it must not have a data request identifier, then its priority value is changed to 0, and it is ranked last, and other non-zero The priority is increased by one level. Then the second priority becomes the highest at this time, and the 0 priority remains unchanged. For the MCU corresponding to the 0 priority, there may be more than two MCUs when the data request identifier is judged next time, so they are arranged after the non-zero priority according to the number.

上所述的件实施范例是为了帮助读者理解本实用新型的原理,应被理解为实用新型的保护范围,并不局限为这样的特别陈述和实施范例。凡是根据上述描述做出的各种可能的等同替换或者改变,均被认为属于实用新型的保护范围。The above-mentioned implementation examples are to help readers understand the principles of the utility model, and should be understood as the protection scope of the utility model, and are not limited to such special statements and implementation examples. All possible equivalent replacements or changes based on the above descriptions are considered to belong to the protection scope of the utility model.

Claims (3)

1. multi-microcontroller radio frequency identification read-write device; Comprise a Transmit Receive Unit group, microprocessor controls unit group, host microcontroller control module, power supply unit of voltage regulation, storage unit, display unit, reset unit, program burn writing unit, host computer interface; Wherein the correspondence of the Transmit Receive Unit in the Transmit Receive Unit group connects the microprocessor controls unit in the microprocessor controls unit group; Microprocessor controls unit group connects the host microcontroller control module; Storage unit, display unit, host computer interface connect the host microcontroller control module respectively; Reset unit, program burn writing unit, power supply unit of voltage regulation connect host microcontroller control module and microprocessor controls unit group simultaneously; It is characterized in that: microprocessor controls unit group comprises at least two microprocessor controls unit; The Transmit Receive Unit group comprises at least two Transmit Receive Unit, the corresponding Transmit Receive Unit of microprocessor controls unit controls wherein, and Transmit Receive Unit has different configurable rf frequency passages.
2. a kind of multi-microcontroller radio frequency identification read-write device according to claim 1; It is characterized in that: the host microcontroller control module is connected through serial interface bus and common I/O pin with microprocessor controls unit group; The host microcontroller control module is operated in the aggressive mode of serial line interface data transmission, and the microprocessor controls cell operation is at the Passive Mode of serial line interface data transmission.
3. a kind of multi-microcontroller radio frequency identification read-write device according to claim 1 and 2 is characterized in that: the microprocessor controls unit has different serial line interface data transmission priority, and the state of priority is controlled by the host microcontroller control module.
CN2011204527400U 2011-11-16 2011-11-16 Multi-microcontroller radio frequency identification reading and writing device Expired - Fee Related CN202331517U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011204527400U CN202331517U (en) 2011-11-16 2011-11-16 Multi-microcontroller radio frequency identification reading and writing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011204527400U CN202331517U (en) 2011-11-16 2011-11-16 Multi-microcontroller radio frequency identification reading and writing device

Publications (1)

Publication Number Publication Date
CN202331517U true CN202331517U (en) 2012-07-11

Family

ID=46443489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011204527400U Expired - Fee Related CN202331517U (en) 2011-11-16 2011-11-16 Multi-microcontroller radio frequency identification reading and writing device

Country Status (1)

Country Link
CN (1) CN202331517U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509136A (en) * 2011-11-16 2012-06-20 哈尔滨工程大学 Multi-microcontroller radio frequency identification read-write device and data transmission method thereof
CN102989687A (en) * 2012-11-23 2013-03-27 上海市特种设备监督检验技术研究院 Electronic tag identification positioning read-write system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509136A (en) * 2011-11-16 2012-06-20 哈尔滨工程大学 Multi-microcontroller radio frequency identification read-write device and data transmission method thereof
CN102509136B (en) * 2011-11-16 2015-03-11 哈尔滨工程大学 Multi-microcontroller radio frequency identification read-write device and data transmission method thereof
CN102989687A (en) * 2012-11-23 2013-03-27 上海市特种设备监督检验技术研究院 Electronic tag identification positioning read-write system and method

Similar Documents

Publication Publication Date Title
CN103279434B (en) From device address amending method and device
CN102842154B (en) Based on grid equipment inspection device and the method for inspecting of RFID
US10275013B2 (en) Apparatuses and methods of entering unselected memories into a different power mode during multi-memory operation
US20100023669A1 (en) Host controller disposed in multi-function card reader
CN202331517U (en) Multi-microcontroller radio frequency identification reading and writing device
CN102402704B (en) Compound multifunctional IC card reader-writer
CN101272405A (en) Receiving equipment, MMIS interface and data interaction method
CN101673220A (en) Method for improving work parallelism of dual-interface SIM card
CN1921448A (en) Network-attached storage device having a connection to a local device
CN104571942A (en) Data storage system and method analyzing non-signal
CN102509136B (en) Multi-microcontroller radio frequency identification read-write device and data transmission method thereof
CN109168093B (en) Positioning management device and method for optical fiber port on ODN
CN104346310B (en) A kind of high-performance I2C slaves data exchange circuit and method
CN111645066B (en) File management system and method combining visual guidance grabbing robot with radio frequency monitoring
CN205068512U (en) Wireless fingerprint attendance system
CN205068443U (en) IC -card hairpin system based on network
CN105184330B (en) A kind of network-based IC card card sending system and method
CN205427884U (en) Smart card array device
CN101882231B (en) RFID (Radio Frequency Identification Devices) reader-writer and data transmission method thereof
CN104460923A (en) Intelligent battery managing method, upper computer and portable mobile device
CN203606818U (en) Capacitor and electromagnetic dual-mode touch control system
CN204706031U (en) Serial peripheral equipment interface SPI bus circuit and electronic equipment
CN104699644B (en) A method of driving NFC modules under Android platform
CN208421780U (en) receiving end, intelligent pen and intelligent pen system
CN203340094U (en) Passive intelligent management system based on wireless transmission for optical distribution equipment

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120711

Termination date: 20161116

CF01 Termination of patent right due to non-payment of annual fee