Radio frequency reading device and its node writing method and radio frequency data processing method
By introducing CAN bus and infrared ranging technology into the RF reading device, the reading accuracy and stability of high-frequency electronic tags in complex environments are solved, and efficient, flexible and real-time file management is achieved.
Patent Information
- Application Number
- CN202410588235.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2044-05-13
AI Technical Summary
In complex environments, the reading accuracy and stability of high-frequency electronic tags are difficult to guarantee, and the prior art cannot meet the needs of higher reading speeds, lower misreading rates and stronger anti-interference capabilities.
Using an RFID radio frequency reading device based on CAN and infrared ranging, the RF data processing system and the multi-channel radio frequency reading system can achieve accurate positioning and rapid response. The device uses the autonomous node number writing method to save costs and improve system expansion flexibility, and improve read stability and real-time through the combination of infrared ranging module and CAN bus.
It realizes high accuracy and stable reading in large-scale intensive archive management scenarios, reduces misreading rate, improves reading speed and anti-interference ability, and significantly improves the expansion and real-time nature of the system.
Smart Images

Figure CN118504596B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of automated archive management, and relates to a radio frequency reading device and a node writing method and a radio frequency data processing method thereof, and specifically relates to an RFID radio frequency reading device based on CAN and infrared ranging, which is suitable for large-scale intensive archive management, and an autonomous node writing method and a radio frequency tag data reading and processing method thereof. Background Art
[0002] With the rapid development of Internet of Things technology, Radio Frequency Identification (RFID) technology has been widely used in various fields with its unique advantages. RFID technology realizes automatic identification and data exchange through wireless radio frequency signals, and has the characteristics of non-contact, fast, accurate, high capacity, and reusable, bringing revolutionary changes to modern logistics, warehouse management, identity recognition and other fields.
[0003] In RFID technology, high frequency (HF) electronic tags are one of the important types, and their operating frequency is usually around 13.56MHz. HF electronic tags have been widely used in places such as access control, library management, and retail commodity identification due to their moderate reading distance, good anti-interference ability, and relatively low cost. However, although the reading technology of high-frequency electronic tags is relatively mature and there are many related patents in the field of archive management, the accuracy and stability of reading are still facing challenges in certain specific scenarios, such as simultaneous reading of multiple tags, rapid movement of tags, and close spacing between tags. In addition, with the increasing richness and complexity of IoT applications, the requirements for RFID reading technology are also constantly increasing, such as higher reading speed, lower misreading rate, and stronger anti-interference ability. Therefore, it is of great practical significance and application value to optimize and innovate the reading technology of high-frequency electronic tags to improve their reading performance and stability in complex environments.
[0004] Therefore, the applicant has made a useful design, and the technical solution to be introduced below is produced under this background. Summary of the invention
[0005] The primary task of the present invention is to provide a radio frequency reading device that can achieve real-time monitoring of large-scale archives with precise positioning to the box with strong scalability, high stability and fast response.
[0006] Another task of the present invention is to provide a node writing method for a radio frequency reading device, which saves the cost of existing dip switches and significantly increases the flexibility of system expansion.
[0007] Another task of the present invention is to provide a radio frequency data processing method for a radio frequency reading device, which can realize file positioning to a box, disorderly placement, orderly management, and fast and stable response to label changes.
[0008] The primary task of the present invention is accomplished in this way: a radio frequency reading device comprises a radio frequency data processing system and a multi-channel radio frequency reading system connected to the radio frequency data processing system, the radio frequency data processing system comprises a host computer, a plurality of radio frequency main control boards are mounted on the host computer, the radio frequency main control board comprises a main control board controller module, a bus data input and output module, a key module, an address module and a main control board indication circuit are connected to the main control board controller module, the bus data input and output module converts the communication signal output by the main control board controller module into a differential signal corresponding to the RS485 and the CAN bus; the address module is used to determine the RS485 bus node number address of the radio frequency main control board; the main control board controller module communicates with the multi-channel radio frequency reading system, is responsible for sending instructions, receiving and sending electronic tag data and storing, and is also used to detect the state of the write node number button in the key module, and controls whether the device starts or ends the write node mode through the key module; the host computer controls the device according to the radio frequency main control board node The point number reads the multi-channel electronic tag information stored in the radio frequency main control board in turn, displays it on the human-computer interaction page and saves it in the database; the radio frequency reading system includes multiple radio frequency antenna boards, one radio frequency main control board is mounted with multiple radio frequency antenna boards, and one radio frequency antenna board corresponds to a grid for placing file boxes. The radio frequency antenna board includes an antenna board controller module, and the antenna board controller module is connected to a CAN bus data input and output module, a radio frequency module, an infrared ranging module and an antenna board indication circuit. The radio frequency module includes a radio frequency antenna, and the infrared ranging module is used to measure whether there is a file box entity in front of the radio frequency antenna coil; the antenna board controller module is used to control the radio frequency module to read the high-frequency RFID electronic tag within a fixed distance in front of the radio frequency antenna coil, and is used to save the high-frequency RFID electronic tag and upload it to the corresponding radio frequency main control board. The main control board indication circuit and the antenna board indication circuit are used to indicate the working mode of the radio frequency data processing system and the radio frequency reading system.
[0009] In a specific embodiment of the present invention, the host computer communicates with the RF main control board through the RS485 bus, sends RF on and off instructions, reads back all label data saved by all RF main control boards according to the RS485 bus node number of the RF main control board, automatically calculates the specific storage location of the archive storage corresponding to each electronic label data, and displays the real-time information or statistical information of the archive storage location on the UI interface.
[0010] In another specific embodiment of the present invention, the host computer can run operating systems including Windows, Linux, Android, Kylin and Tongxin.
[0011] In another specific embodiment of the present invention, the RF module also includes a RF chip and a RF impedance matching circuit. The RF chip adopts an SI522 module, which communicates with the antenna board controller module using an SPI bus, and the RF impedance matching circuit is matched and connected to the RF antenna.
[0012] In another specific embodiment of the present invention, the radio frequency antenna and the electronic tag communicate using the MIFARE® RF interface of ISO14443 type A, and the working mode is bidirectional half-duplex. The signal sent by the radio frequency antenna to the electronic tag is a Miller coded signal of 100% ASK, and the signal sent by the electronic tag to the radio frequency antenna is a Manchester coded signal modulated by a subcarrier carrier.
[0013] In another specific embodiment of the present invention, it also includes a main control board power module and an antenna board power module, wherein the main control board power module supplies power to the main control board controller module and the bus data input and output module, and the antenna board power module supplies power to the antenna board controller module, the CAN bus data input and output module and the radio frequency module.
[0014] Another task of the present invention is accomplished by: the node writing method of the radio frequency reading device comprises the following steps:
[0015] S11, the host computer controls the RF reading system to turn on the RF, and long presses the RF main control board write node number button for 2s to enter the write node mode;
[0016] S12, the RF main control board sends a write node broadcast to the RF antenna board, and the flashing cycle of the status indicator lights of the main control board indication circuit and the antenna board indication circuit changes from 2s to 0.5s, indicating that the write node mode is started successfully;
[0017] S13, select a file box with a high-frequency electronic tag and put it into the first cargo compartment. After the RF antenna board of the first cargo compartment recognizes the high-frequency electronic tag, it reports it to the RF main control board in accordance with the protocol data format. After receiving the data, the RF main control board returns the node number 1 to the RF antenna board. After receiving the node number data, the RF antenna board saves the node number in the memory of the antenna board controller module, then exits the node writing mode and re-reads the local node number from the memory of the antenna board controller module. The flashing cycle of the status indicator light on the antenna board indication circuit returns to the starting state of 2s. At the same time, the first file icon corresponding to the first cargo compartment on the upper computer human-machine interface changes from the no file indication state to the file indication state, and the RF antenna board successfully writes the node;
[0018] S14, after the RF main control board completes the data reporting of the first cargo position node, it automatically increases the node number count value by 1 and waits for the data reporting of the RF antenna board of the next cargo position;
[0019] S15, take out the file box with the high-frequency electronic tag from the first storage compartment, put the file box into the second storage compartment, and repeat step S13;
[0020] S16, after the node numbers of all RF antenna boards mounted on the RF main control board are written, long press the write node number button of the RF main control board for 2 seconds, the flashing cycle of the status indicator light of the main control board indication circuit returns to the starting value, and the node writing mode is exited.
[0021] Another task of the present invention is accomplished by: the radio frequency data processing method of the radio frequency reading device comprises the following steps:
[0022] S21, the RF main control board sends a RF broadcast to all mounted RF antenna boards via the CAN bus. The data frame ID is 0x00, which is the local node number of the RF antenna board.
[0023] S22, after receiving the radio frequency start instruction, all radio frequency antenna boards are grouped into 0, 1, 2, 3, and 4 according to their own node numbers, that is, all radio frequency antenna boards are divided into five groups according to the node numbers;
[0024] S23, the first group of RF antenna boards, i.e., the group with node numbers modulo 5 and 0, first turns on the RF, and each RF antenna board reads the high-frequency electronic tag of the file box directly in front of the antenna coil. If the infrared ranging sensor data in the infrared ranging module indicates that there is no file, the RF antenna board directly returns the specified no-electronic tag data 0xFFFFFFFF to the corresponding RF main control board. If the infrared ranging sensor data indicates that there is a file, the RF antenna is turned on to return the actual electronic tag data according to the actual reading situation.
[0025] S24, after receiving the electronic tag data from the radio frequency antenna board, the radio frequency main control board stores the corresponding electronic tag data in the opened tag data pool memory according to the node number in the data;
[0026] S25, the remaining four groups of RF antenna boards turn on the RF at intervals of 100ms in turn, and repeat steps S24 and S25, and actively report the high-frequency electronic tag data of all the file box storage locations to the corresponding RF main control board, and then the RF main control board reports the data to the host computer to display the inventory results of all the file box storage locations;
[0027] S26, if the mode is the file inventory mode, the RF main control board sends a command to turn off the RF broadcast to the RF antenna board. If the mode is the file monitoring mode, continue to step S27;
[0028] S27, each RF antenna board reads the file box label data in front of the antenna coil based on the infrared ranging sensor data in a 500ms cycle. If the electronic tag data changes, the change result will be actively reported to the RF main control board to monitor the file management in real time.
[0029] In a more specific embodiment of the present invention, in step S23, after the RF main control board issues an instruction to read the electronic tag, the RF antenna board determines whether there is a file box directly in front of the RF antenna based on the result of the infrared detection module. If not, the tag value is directly updated and an invalid tag 0xFFFFFFFF is returned; if there is a file in front, the gain of the RF chip is adjusted from near to far and the tag is read. If the electronic tag is successfully read, the tag value is updated and a valid tag is directly returned; when there is a file directly in front of the RF antenna and a valid tag value is not successfully read under the three gains, the last valid tag value is directly returned, thereby avoiding unstable RF tag reading.
[0030] Due to the adoption of the above structure, the present invention has the following beneficial effects compared with the prior art: first, the structure is simple, the RF main control board and the RF antenna board are both single circuit boards, and the device volume is small; the antenna coil of each RF antenna board corresponds to the file one by one, and the topological structure is clear; the overall system occupies a small space, the connection structure is simple, and the on-site installation and implementation are convenient; second, the cost performance is high, and the important components of the RF reading system can all adopt domestic chips, which greatly reduces the cost, has a high cost performance, conforms to the development trend of the domestic semiconductor trend, and has a good market prospect; third, the expansion is convenient, the RF reading system uses an autonomous writing node number method, which is free from the bit limit of the traditional dial switch, so that the RF antenna board has stronger expandability and higher freedom in installation and adaptation of large-scale intensive file management; fourth, the system has strong stability, the RF data processing system and the RF reading system rely on the characteristics of the CAN bus, innovatively design the electronic tag data reporting logic, and then match the infrared ranging method, so that the system of the present invention can always stably read the popular Class A high-frequency electronic tags on the market within a distance of 0-4cm, and the minimum interval of the electronic tags is 35mm without cross reading. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 This is a general architecture diagram of the radio frequency reading device of the present invention;
[0032] Figure 2 A circuit diagram of the CAN bus data input and output module of the present invention;
[0033] Figure 3 This is a circuit diagram of the infrared ranging module of the present invention;
[0034] Figure 4A circuit diagram of the radio frequency module of the present invention;
[0035] Figure 5 is a flow chart of the radio frequency monitoring mode of the present invention;
[0036] Figure 6 The figure is a flow chart of opening the radio frequency of the radio frequency antenna board of the present invention;
[0037] Figure 7 This is a flow chart of radio frequency reading combined with infrared ranging in the present invention. DETAILED DESCRIPTION
[0038] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings, but the description of the embodiments is not a limitation of the technical solution. Any changes in form rather than substance based on the concept of the present invention should be regarded as the protection scope of the present invention.
[0039] In the following description, all concepts related to directionality (or orientation) such as up, down, left, right, front and back are referring to the position state of the figure being described, and are intended to facilitate public understanding. Therefore, they should not be understood as special limitations on the technical solution provided by the present invention.
[0040] The present invention relates to a radio frequency reading device, including a radio frequency data processing system and a multi-channel radio frequency reading system connected to the radio frequency data processing system, the two cooperate with each other to jointly realize the radio frequency reading function of locating to a box for large-scale intensive archive management.
[0041] See also Figure 1 , the radio frequency data processing system includes a host computer, and a plurality of radio frequency main control boards are mounted on the host computer. The radio frequency main control board includes a main control board controller module, and the main control board controller module is connected with a bus data input and output module, a key module, an address module and a main control board indication circuit, and the bus data input and output module includes two sets of buses, 485 and CAN. The bus data input and output module converts the communication signal output by the main control board controller module into a differential signal corresponding to the RS485 and CAN bus; the address module is used to determine the RS485 bus node number address of the radio frequency main control board; the main control board indication circuit is used to indicate the working mode of the radio frequency data processing system and the radio frequency reading system; the main control board controller module communicates with the multi-channel radio frequency reading system, is responsible for command sending, electronic tag data receiving and sending and storage, and is also used to detect the write node number button state in the key module, and controls whether the system starts or ends the write node mode through the key module; the host computer reads the multi-channel electronic tag information stored in the radio frequency main control board in sequence according to the radio frequency main control board node number, and displays it on the human-computer interaction page and saves it in the database.
[0042] The radio frequency reading system includes a plurality of radio frequency antenna boards, a radio frequency main control board mounts a plurality of radio frequency antenna boards, a radio frequency antenna board corresponds to a compartment for placing file boxes, the radio frequency antenna board includes an antenna board controller module, and the antenna board controller module is connected to a CAN bus data input and output module, a radio frequency module, an infrared ranging module, and an antenna board indication circuit. The CAN bus data input and output module is used to send and receive CAN bus data. The radio frequency module includes a radio frequency antenna, which is composed of an antenna coil and an electronic tag. The infrared ranging module is used to measure whether there is a file box entity in front of the radio frequency antenna coil; the antenna board controller module is used to control the radio frequency module to read a high-frequency RFID electronic tag at a fixed distance in front of the radio frequency antenna coil, which is 4.5 cm in this embodiment, and is used to save the high-frequency RFID electronic tag and upload it to the corresponding radio frequency main control board. The antenna board indication circuit is used to indicate the working mode of the radio frequency data processing system and the radio frequency reading system.
[0043] The host computer communicates with the RF main control board via the RS485 bus, and the RF main control board communicates with the RF antenna board via the CAN bus. Specifically, the software of the host computer can run a variety of operating systems, including but not limited to Windows, Linux, Android, Kylin and Tongxin. The host computer sends RF on and off instructions to the RF main control board, reads back all label data saved by all RF main control boards according to the RS485 bus node number of the RF main control board, and automatically calculates the specific storage location of the archives corresponding to each electronic tag data according to the system settings, and displays the real-time information or statistical information of the archive storage location on the UI interface, realizing the frequency reading function of locating the box for large-scale intensive archive management.
[0044] See Figure 2 , 3 4. The bus data input and output module of the RF main control board and the CAN bus data input and output module of the RF antenna board use a CAN chip with a maximum rate of 1Mbps to convert the communication signal output by the corresponding controller module into the CANH and CANL differential signals of the CAN bus. At the same time, self-recovery fuses F1, F2 and transient suppression diode D3 are used to provide circuit protection. The infrared ranging module consists of an infrared transmitter and receiver U9, a comparator chip U13, a voltage divider circuit, etc. The voltage value output by the infrared transmitter and receiver U9 according to different reflected signals is sent to the comparator chip U13 for comparison with the voltage value output by the voltage divider circuit, thereby determining whether there is a physical file box within a fixed distance directly in front of the RF antenna.
[0045] The RF module also includes a RF chip and a RF impedance matching circuit. The RF chip uses an SI522 module, which communicates with the antenna board controller module using an SPI bus. The RF impedance matching circuit is matched and connected with the RF antenna. Through professional instrument analysis, the optimal design can be achieved. The RF antenna and the electronic tag use the MIFARE® RF interface of ISO14443 type A for communication. In this embodiment, the operating frequency is 13.56MHz, the working mode is bidirectional half-duplex, the data rate is 105.9kHz, and the Miller coded signal of 100% ASK (amplitude modulation) is sent from the RF antenna to the electronic tag. The Manchester coded signal modulated by the subcarrier carrier is sent from the electronic tag to the RF antenna, and the subcarrier frequency is 847.5kHz. The RF antenna in this embodiment uses FR-4 board material with a size of 49mm×31mm×1.6mm and a coil line width of 0.7mm. The central frequency of the radio frequency antenna coil and the radio frequency impedance matching circuit is 13.56Mhz, and the modulation signal frequency is 13.56±0.42475Mhz.
[0046] Furthermore, the radio frequency reading device also includes a main control board power module and an antenna board power module, the main control board power module supplies power to the main control board controller module and the bus data input and output module, and the antenna board power module supplies power to the antenna board controller module, the CAN bus data input and output module and the radio frequency module.
[0047] The radio frequency reading device has an autonomous node number writing method and a radio frequency data processing method. In the configuration stage of the device, the set autonomous node number writing method is used to write and save the CAN bus node number of the radio frequency antenna board in the order of the archive cargo position into the memory of the antenna board controller module. This method saves the cost of the current commonly used code switch on the market and significantly increases the flexibility of system expansion; in the normal use stage of the device, the device has an archive inventory mode and an archive monitoring mode. In the two modes, a unique radio frequency data processing method is designed based on the hardware characteristics of the infrared ranging sensor in the infrared ranging module and the CAN bus networking communication. Specifically, a radio frequency tag data reading and processing method is used, which adopts the radio frequency antenna board to actively report the change of the electronic tag and the radio frequency reading system to read the radio frequency tag in groups. The reading strategy is obviously different from the data processing form of the RS485 bus commonly used in the existing archive management industry. On the basis of realizing the functions of locating the archive to the box, placing it in disorder, and managing it in order, a system characteristic of faster and more stable response to tag changes is formed.
[0048] Furthermore, the autonomous node number writing method starts or shuts down the node writing mode of the device through the node writing button of the RF main control board, saving the traditional dip switch and being able to flexibly adjust the CAN bus node number of the RF antenna board according to the actual user site, thereby significantly saving costs and improving the flexibility of the device expansion.
[0049] See Figure 5 , the writing node method of the radio frequency reading device comprises the following steps:
[0050] S11, the host computer controls the RF reading system to turn on the RF, and long presses the RF main control board write node number button for 2s to enter the write node mode;
[0051] S12, the RF main control board sends a write node broadcast to the RF antenna board, and the flashing cycle of the status indicator lights of the main control board indication circuit and the antenna board indication circuit changes from 2s to 0.5s, indicating that the write node mode is started successfully;
[0052] S13, select a file box with a high-frequency electronic tag and put it into the first cargo compartment. After the RF antenna board of the first cargo compartment recognizes the high-frequency electronic tag, it reports it to the RF main control board in accordance with the protocol data format. After receiving the data, the RF main control board returns the node number 1 to the RF antenna board. After receiving the node number data, the RF antenna board saves the node number in the memory of the antenna board controller module, then exits the node writing mode and re-reads the local node number from the memory of the antenna board controller module. The flashing cycle of the status indicator light on the antenna board indication circuit returns to the starting state of 2s. At the same time, the first file icon corresponding to the first cargo compartment on the upper computer human-machine interface changes from the no file indication state to the file indication state, and the RF antenna board successfully writes the node;
[0053] S14, after the RF main control board completes the data reporting of the first cargo position node, it automatically increases the node number count value by 1 and waits for the data reporting of the RF antenna board of the next cargo position;
[0054] S15, take out the file box with the high-frequency electronic tag from the first storage compartment, put the file box into the second storage compartment, and repeat step S13;
[0055] S16, after the node numbers of all RF antenna boards mounted on the RF main control board are written, long press the write node number button of the RF main control board for 2 seconds, the flashing cycle of the status indicator light of the main control board indication circuit returns to the starting value, and the node writing mode is exited.
[0056] The radio frequency data processing method of the radio frequency reading device combines the characteristics of infrared ranging sensors and CAN bus use and group reading strategies, and its efficiency in large-scale and dense archives is significantly better than similar devices on the market. Figure 6 The specific steps of the radio frequency data processing method are as follows:
[0057] S21, the RF main control board sends a RF broadcast to all mounted RF antenna boards via the CAN bus. The data frame ID is 0x00, which is the local node number of the RF antenna board.
[0058] S22, after receiving the radio frequency start instruction, all radio frequency antenna boards are grouped into 0, 1, 2, 3, and 4 according to their own node numbers, that is, all radio frequency antenna boards are divided into five groups according to the node numbers;
[0059] S23, the first group of RF antenna boards, that is, the group with node numbers modulo 5 and 0, first turn on the RF, and each RF antenna board reads the high-frequency electronic tag of the file box directly in front of the antenna coil. If the infrared ranging sensor data in the infrared ranging module shows that there is no file, the RF antenna board directly returns the specified no-electronic tag data 0xFFFFFFFF to the corresponding RF main control board. If the infrared ranging sensor data shows that there is a file, turn on the RF antenna and return the actual electronic tag data according to the actual reading situation. This group of RF antenna boards actively reports the local electronic tag data to the RF main control board according to the protocol through the automatic arbitration function of the CAN bus and the automatic feedback mechanism of the controller;
[0060] S24, after receiving the electronic tag data from the radio frequency antenna board, the radio frequency main control board stores the corresponding electronic tag data in the opened tag data pool memory according to the node number in the data;
[0061] S25, the remaining four groups of RF antenna boards turn on the RF at intervals of 100ms in turn, and repeat steps S24 and S25, actively reporting the high-frequency electronic tag data of all the file box storage locations to the corresponding RF main control board, and then the RF main control board reports the data to the host computer to display the inventory results of all the file box storage locations, which can quickly inventory large-scale dense files;
[0062] S26, if the mode is the file inventory mode, the RF main control board sends a command to turn off the RF broadcast to the RF antenna board. If the mode is the file monitoring mode, continue to step S27;
[0063] S27, each RF antenna board reads the file box label data in front of the antenna coil based on the infrared ranging sensor data in a 500ms period. If the electronic tag data changes, the change result will be actively reported to the RF main control board, thereby realizing real-time monitoring of file management, especially large-scale intensive file management.
[0064] The final design indicators of the RF impedance matching circuit and RF antenna coil of the RF reading device can be targeted at file management, reading high-frequency electronic tags at a distance of 0-4cm and a minimum interval of 35mm between electronic tags, without the phenomenon of cross-reading of electronic tags, and the inventory time of more than 100 files is only about 400ms.
[0065] The radio frequency data processing method can solve the problem that the traditional radio frequency reading module often has unstable reading of electronic tags. Figure 7 In step S23, after the RF main control board issues an instruction to read the electronic tag, the RF antenna board determines whether there is a file box directly in front of the RF antenna according to the result of the infrared detection module. If not, the tag value is directly updated and an invalid tag 0xFFFFFFFF is returned; if there is a file in front, the gain of the RF chip is adjusted from near to far and the tag is read. If the electronic tag is successfully read, the tag value is updated and a valid tag is directly returned; when there is a file directly in front of the RF antenna and a valid tag value is not successfully read under the three gains, the last valid tag value is directly returned, thereby being able to directly filter out the unstable reading of RF tags that often occurs in traditional RFID radio frequency systems, and significantly improving the reading stability of the RFID radio frequency system of the present invention.
[0066] In terms of stability, the present invention optimizes the radio frequency antenna board matching network parameters to enhance the signal quality, and adds an infrared ranging sensor to optimize the tag reading logic; in terms of real-time performance, the RS485 bus is modified to a CAN bus, and the CAN bus autonomous arbitration mechanism is used to optimize the radio frequency tag reporting logic, prompting the system's electronic tag reporting real-time performance. The present invention has the advantages of simple structure, low cost, strong expansibility, high stability, and good real-time performance, and has broad market application prospects.
Claims
1. A radio frequency reading device, characterized in that: The invention comprises a radio frequency data processing system and a multi-channel radio frequency reading system connected with the radio frequency data processing system, wherein the radio frequency data processing system comprises a host computer, a plurality of radio frequency main control boards are mounted on the host computer, the radio frequency main control board comprises a main control board controller module, a bus data input and output module, a key module, an address module and a main control board indication circuit are connected to the main control board controller module, the bus data input and output module converts the communication signal output by the main control board controller module into a differential signal corresponding to the RS485 and the CAN bus; the address module is used to determine the RS485 bus node number address of the radio frequency main control board; the main control board controller module communicates with the multi-channel radio frequency reading system, is responsible for sending instructions, receiving and sending electronic tag data and storing, and is also used to detect the state of the write node number button in the key module, and controls whether the device starts or ends the write node mode through the key module; the host computer sequentially reads the nodes in the radio frequency main control board according to the node number of the radio frequency main control board The stored multi-channel electronic tag information is displayed on the human-computer interaction page and saved in the database; the radio frequency reading system includes multiple radio frequency antenna boards, and a radio frequency main control board is mounted with multiple radio frequency antenna boards, each radio frequency antenna board corresponds to a cargo position for placing file boxes, the radio frequency antenna board includes an antenna board controller module, and the antenna board controller module is connected with a CAN bus data input and output module, a radio frequency module, an infrared ranging module and an antenna board indication circuit, the radio frequency module includes a radio frequency antenna, and the infrared ranging module is used to measure whether there is a file box entity in front of the radio frequency antenna coil; the antenna board controller module is used to control the radio frequency module to read the high-frequency RFID electronic tag within a fixed distance in front of the radio frequency antenna coil, and is used to save the high-frequency RFID electronic tag and upload it to the corresponding radio frequency main control board, and the main control board indication circuit and the antenna board indication circuit are used to indicate the working mode of the radio frequency data processing system and the radio frequency reading system.
2. The radio frequency reader according to claim 1, characterized in that: The host computer communicates with the RF main control board through the RS485 bus, sends the RF on and off instructions, reads back all the tag data saved by all the RF main control boards according to the RS485 bus node number of the RF main control board, automatically calculates the specific storage location of the archive storage corresponding to each electronic tag data, and displays the real-time information or statistical information of the archive storage location on the UI interface.
3. The radio frequency reading device according to claim 2, characterized in that: The host computer can run operating systems including Windows, Linux, Android, Kylin and Tongxin.
4. The radio frequency reader according to claim 1, characterized in that: The RF module also includes a RF chip and a RF impedance matching circuit. The RF chip adopts an SI522 module, which communicates with the antenna board controller module using an SPI bus. The RF impedance matching circuit is matched and connected with the RF antenna.
5. The radio frequency reader according to claim 1, characterized in that: The RF antenna and the electronic tag communicate using the MIFARE® RF interface of ISO 14443 Type A, and the working mode is bidirectional half-duplex. The signal sent from the RF antenna to the electronic tag is a 100% ASK Miller coded signal, and the signal sent from the electronic tag to the RF antenna is a subcarrier carrier-modulated Manchester coded signal.
6. The radio frequency reader according to claim 1, characterized in that: It also includes a main control board power module and an antenna board power module. The main control board power module supplies power to the main control board controller module and the bus data input and output module, and the antenna board power module supplies power to the antenna board controller module, the CAN bus data input and output module and the radio frequency module.
7. A node writing method of a radio frequency reader as claimed in claim 1, characterized in that: The steps include: S11, the host computer controls the RF reading system to turn on the RF, and long presses the RF main control board write node number button for 2s to enter the write node mode; S12, the RF main control board sends a write node broadcast to the RF antenna board, and the flashing cycle of the status indicator lights of the main control board indication circuit and the antenna board indication circuit changes from 2s to 0.5s, indicating that the write node mode is started successfully; S13, select a file box with a high-frequency electronic tag and put it into the first cargo compartment. After the RF antenna board of the first cargo compartment recognizes the high-frequency electronic tag, it reports it to the RF main control board in accordance with the protocol data format. After receiving the data, the RF main control board returns the node number 1 to the RF antenna board. After receiving the node number data, the RF antenna board saves the node number in the memory of the antenna board controller module, then exits the node writing mode and re-reads the local node number from the memory of the antenna board controller module. The flashing cycle of the status indicator light on the antenna board indication circuit returns to the starting state of 2s. At the same time, the first file icon corresponding to the first cargo compartment on the upper computer human-machine interface changes from the no file indication state to the file indication state, and the RF antenna board successfully writes the node; S14, after the RF main control board completes the data reporting of the first cargo position node, it automatically increases the node number count value by 1 and waits for the data reporting of the RF antenna board of the next cargo position; S15, take out the file box with the high-frequency electronic tag from the first storage compartment, put the file box into the second storage compartment, and repeat step S13; S16, after the node numbers of all RF antenna boards mounted on the RF main control board are written, long press the write node number button of the RF main control board for 2 seconds, the flashing cycle of the status indicator light of the main control board indication circuit returns to the starting value, and the node writing mode is exited.
8. A radio frequency data processing method of a radio frequency reader according to claim 1, characterized in that: The steps include: S21, the RF main control board sends a RF broadcast to all mounted RF antenna boards via the CAN bus. The data frame ID is 0x00, which is the local node number of the RF antenna board. S22, after receiving the radio frequency start instruction, all radio frequency antenna boards are grouped into 0, 1, 2, 3, and 4 according to their own node numbers, that is, all radio frequency antenna boards are divided into five groups according to the node numbers; S23, the first group of RF antenna boards, i.e., the group with node numbers modulo 5 and 0, first turns on the RF, and each RF antenna board reads the high-frequency electronic tag of the file box directly in front of the antenna coil. If the infrared ranging sensor data in the infrared ranging module indicates that there is no file, the RF antenna board directly returns the specified no-electronic tag data 0xFFFFFFFF to the corresponding RF main control board. If the infrared ranging sensor data indicates that there is a file, the RF antenna is turned on to return the actual electronic tag data according to the actual reading situation. S24, after receiving the electronic tag data from the radio frequency antenna board, the radio frequency main control board stores the corresponding electronic tag data in the opened tag data pool memory according to the node number in the data; S25, the remaining four groups of RF antenna boards turn on the RF at intervals of 100ms in turn, and repeat steps S23 and S24, and actively report the high-frequency electronic tag data of all the file box storage locations to the corresponding RF main control board, and then the RF main control board reports the data to the host computer to display the inventory results of all the file box storage locations; S26, if the mode is the file inventory mode, the RF main control board sends a command to turn off the RF broadcast to the RF antenna board. If the mode is the file monitoring mode, continue to step S27; S27, each RF antenna board reads the file box label data in front of the antenna coil based on the infrared ranging sensor data in a 500ms cycle. If the electronic tag data changes, the change result will be actively reported to the RF main control board to monitor the file management in real time.
9. The radio frequency data processing method according to claim 8, characterized in that: In step S23, after the RF main control board issues the electronic tag reading instruction, the RF antenna board determines whether there is a file box in front of the RF antenna according to the result of the infrared detection module. If not, the tag value is directly updated and an invalid tag 0xFFFFFFFF is returned; If there is a file in front, the gain of the RF chip will be adjusted from near to far and the tag will be read. If the electronic tag is read successfully, the tag value will be updated and the valid tag will be returned directly. When there is a file directly in front of the RF antenna and the valid tag value is not successfully read under the three gains, the last valid tag value will be returned directly, thus avoiding the unstable reading of the RF tag.
Citation Information
Patent Citations
Secret place intelligent management monitoring platform based on Internet of Things
CN103685507A
Dense archive management system based on high frequency RFID technology and method thereof
CN106874975A