Position information detection method and system, and radio frequency identification chip
The transmission time and intensity values of multiple read signals are obtained through the radio frequency identification chip, and the position information of the measured object is calculated in combination with preset conditions, which solves the problem of inaccurate and high cost in the prior art, and realizes efficient and accurate position information detection.
Patent Information
- Application Number
- CN202510475386.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2025-07-25
AI Technical Summary
Existing location information detection methods cannot accurately determine the location information of the product and are costly.
The radio frequency identification chip obtains multiple read signals sent by the reader and writer, uses the signal transmission time and intensity value to determine the distance information between the object to be measured and the reader and writer, and calculates the position information of the object to be measured in combination with preset conditions, including position coordinates, movement direction and movement distance.
Improve the accuracy of location information detection, reduce detection costs, and avoid dependence on the host computer.
Smart Images

Figure CN120378818A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of radio frequency identification, and particularly to a method and system for detecting position information and a radio frequency identification chip. Background Art
[0002] Radio Frequency Identification (RFID) technology is a wireless identification technology. Through the one-to-one correspondence between RFID tags and products, the subsequent circulation of each product can be clearly tracked, so as to achieve anti-counterfeiting, traceability, and tracking.
[0003] When it is necessary to confirm the position information of products (such as moving direction and moving distance, etc.) during inbound and outbound or on the production line, products with radio frequency identification tags can communicate wirelessly through radio frequency identification technology, so as to facilitate the confirmation of the generated position information.
[0004] However, the existing methods for detecting the position information of products only read the information of the radio frequency identification tags on the products by a reader and return it to the host computer. The host computer determines the position information of the products through calculation, which cannot accurately determine the position information of the products and has a high cost. Summary of the Invention
[0005] The present invention provides a method and system for detecting position information and a radio frequency identification chip to solve the problems that the existing methods for detecting the position information of objects cannot accurately determine the position information of products and have a high cost.
[0006] According to an aspect of the present invention, there is provided a method for detecting position information, which is executed by a radio frequency identification chip, and the radio frequency identification tag where the radio frequency identification chip is located is attached to an object to be measured; the method includes:
[0007] Obtaining at least once a first reading signal sent by a reader; wherein, the position of the reader relative to the shelf or production line where the object to be measured is located remains unchanged;
[0008] Determining first distance information between the object to be measured and the reader according to the transmission duration corresponding to each first reading signal;
[0009] After a first preset duration, obtaining at least once a second reading signal sent by the reader;
[0010] Determining second distance information between the object to be measured and the reader according to the transmission duration corresponding to each second reading signal;
[0011] When the first intensity value corresponding to the first reading signal, the first distance information, the second intensity value corresponding to the second reading signal, and the second distance information meet preset conditions, determine the position information of the object to be measured according to at least one of the at least one first intensity value, at least one first distance information, at least one second intensity value, and at least one second distance information; wherein, the position information includes at least one of position coordinates, moving direction, and moving distance.
[0012] Optionally, the first intensity value corresponding to the first reading signal, the first distance information, the second intensity value corresponding to the second reading signal, and the second distance information meeting the preset conditions include:
[0013] If the absolute value of the difference between all the first intensity values and the second intensity values is less than or equal to a first threshold and not zero, and the absolute value of the difference between all the first distance information and the preset distance information is less than or equal to a second threshold, and the absolute value of the difference between all the second distance information and the preset distance information is less than or equal to the second threshold, it is determined that the first intensity value corresponding to the first reading signal, the first distance information, the second intensity value corresponding to the second reading signal, and the second distance information meet the preset conditions.
[0014] Optionally, before the first intensity value corresponding to the first reading signal, the first distance information, the second intensity value corresponding to the second reading signal, and the second distance information meet the preset conditions, the method further includes:
[0015] When the absolute value of the difference between the first intensity value and the second intensity value is greater than the first threshold or zero, or when the absolute value of the difference between the first distance information and the preset distance information is greater than the second threshold, or when the absolute value of the difference between the second distance information and the preset distance information is greater than the second threshold, eliminate the first reading signal corresponding to the first intensity value and the corresponding second reading signal, and re-obtain the first reading signals of the first target number and the second reading signals of the first target number; wherein, the first target number is the number of the eliminated first reading signals;
[0016] Determine the first intensity value corresponding to each re-obtained first reading signal, determine the second intensity value corresponding to each re-obtained second reading signal, and determine the first distance information between the object to be measured and the reader according to the transmission duration corresponding to each re-obtained first reading signal, and determine the second distance information between the object to be measured and the reader according to the transmission duration corresponding to each re-obtained second reading signal; until the first intensity value corresponding to the first reading signal, the first distance information, the second intensity value corresponding to the second reading signal, and the second distance information meet the preset conditions.
[0017] Optionally, at least one of the first intensity values includes a first intensity value; at least one of the first distance information includes a first distance information; at least one of the second intensity values includes a second intensity value; at least one of the second distance information includes a second distance information;
[0018] Determining the position information of the object to be measured according to at least one of the first intensity values, at least one of the first distance information, at least one of the second intensity values, and at least one of the second distance information includes:
[0019] Determining the moving direction of the object to be measured according to the magnitude relationship between the first intensity value and the second intensity value;
[0020] Determining the position coordinates of the object to be measured corresponding to the first read signal according to the first distance information, and determining the position coordinates of the object to be measured corresponding to the first read signal according to the second distance information;
[0021] Determining the moving distance of the object to be measured according to the first distance information and the second distance.
[0022] Optionally, at least one of the first intensity values includes a plurality of first intensity values; at least one of the second intensity values includes a plurality of second intensity values;
[0023] Determining the position information of the object to be measured according to at least one of the first intensity values, at least one of the first distance information, at least one of the second intensity values, and at least one of the second distance information includes:
[0024] If the number of second intensity values of a preset number is greater than the number of first intensity values of a preset number, it is determined that the object to be measured is getting closer to the reader; wherein, the preset number is the total number of the first intensity values of a preset ratio; wherein, the preset ratio is greater than or equal to 60% and less than or equal to 100%;
[0025] If the number of second intensity values of a preset number is less than the number of first intensity values of a preset number, it is determined that the object to be measured is getting farther away from the reader;
[0026] If the number of second intensity values of a preset number is equal to the number of first intensity values of a preset number, return to execute the step of acquiring the first read signal sent by the reader at least once.
[0027] Optionally, at least one of the first distance information includes a plurality of first distance information; at least one of the second distance information includes a plurality of second distance information;
[0028] Determining the position information of the object under test based on at least one of the first intensity values, at least one of the first distance information, at least one of the second intensity values, and at least one of the second distance information further includes:
[0029] Sort the multiple pieces of first distance information in the order of the time of the corresponding first reading information, and sort the multiple pieces of second distance information in the order of the time of the corresponding second reading information;
[0030] Determine the initial moving distance based on the first distance information and the second distance information with the same serial number for each;
[0031] When all the initial moving distances are within the preset distance range, take the average value of the multiple initial moving distances as the moving distance of the object under test.
[0032] Optionally, before all the initial moving distances are within the preset distance range, the method further includes:
[0033] If there are initial moving distances that are not within the preset distance range, eliminate the initial moving distances that are not within the preset distance range, and re-acquire the first reading signal and the second reading signal for the second target number of times; where the second target number of times is the number of eliminated initial moving distances;
[0034] Determine the first distance information corresponding to each re-acquired first reading signal, and determine the second distance information between the object under test and the reader based on the transmission duration corresponding to each re-acquired second reading signal; and return to execute the step of sorting the multiple pieces of first distance information in the order of the time of the corresponding first reading information.
[0035] Optionally, at least one of the first intensity values includes one first intensity value; at least one of the second intensity values includes one second intensity value; and there are multiple objects under test arranged on the production line or the shelf;
[0036] Determining the position information of the object under test based on at least one of the first intensity values, at least one of the first distance information, at least one of the second intensity values, and at least one of the second distance information; where the position information includes position coordinates, moving direction, and moving distance, includes:
[0037] When the absolute value of the difference between the first intensity value and the second intensity value is less than or equal to the first threshold, enter the silent mode and stop receiving the reading signal sent by the reader;
[0038] When the absolute value of the difference between the first intensity value and the second intensity value is greater than the first threshold or zero, re - receive the first read signal and the second read signal sent by the reader until the absolute value of the difference between the first intensity value corresponding to the first read signal and the second intensity value corresponding to the second read signal is less than or equal to the first threshold and not zero;
[0039] Obtain the first intensity value and the second intensity value stored in the radio frequency identification chip in the radio frequency identification tags on other objects to be measured on the same production line or the same shelf;
[0040] When the absolute value of the difference between all the first intensity values and the second intensity values is less than or equal to the first threshold, if the number of second intensity values of a preset number is greater than the number of first intensity values of the preset number, it is determined that the object to be measured is getting closer to the reader; wherein, the preset number is the total number of the first intensity values of a preset ratio; wherein, the preset ratio is greater than or equal to 60% and less than or equal to 100%;
[0041] If the number of second intensity values of a preset number is less than the number of first intensity values of the preset number, it is determined that the object to be measured is getting farther away from the reader;
[0042] If the number of second intensity values of a preset number is equal to the number of first intensity values of the preset number, return to execute the step of obtaining at least once the first read signal sent by the reader.
[0043] According to another aspect of the present invention, there is provided a radio frequency identification chip, which is used to execute the position detection method described in any embodiment of the present invention.
[0044] According to another aspect of the present invention, there is provided a position information detection system. The position information detection system includes a reader and a radio frequency identification tag. The radio frequency identification tag includes the radio frequency identification chip described in any embodiment of the present invention; the radio frequency identification tag is attached to the object to be measured; the position of the reader relative to the shelf or production line where the object to be measured is located remains unchanged;
[0045] The reader is used to send a read signal to the radio frequency identification tag corresponding to the target address information.
[0046] In the technical solution of the embodiment of the present invention, the radio frequency identification chip in the radio frequency identification tag on the object to be measured acquires a first reading signal at least once, and after a first preset time period, acquires a second reading signal at least once. When the first intensity value and the first distance information corresponding to the first reading signal, and the second intensity value and the second distance information corresponding to the second reading signal meet the preset conditions, the radio frequency identification chip determines the position information of the object to be measured according to at least one first intensity value, at least one first distance information, at least one second intensity value, and at least one second distance information. In this way, the accuracy of the determined position information of the object to be measured can be ensured. Moreover, the radio frequency identification chip in the radio frequency identification tag on the object to be measured can determine the position information of the object to be measured, so that there is no need to set up a host computer to determine the position information of the object to be measured, and the cost of detecting the position information of the object to be measured can be reduced.
[0047] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. Brief Description of the Drawings
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0049] Figure 1 is a flowchart of a method for detecting position information provided by an embodiment of the present invention;
[0050] Figure 2 is a flowchart of another method for detecting position information provided by an embodiment of the present invention;
[0051] Figure 3 is a flowchart of another method for detecting position information provided by an embodiment of the present invention;
[0052] Figure 4 is a schematic structural diagram of a radio frequency identification chip provided by an embodiment of the present invention;
[0053] Figure 5 is a schematic structural diagram of a position information detection system provided by an embodiment of the present invention. Detailed Description of the Embodiments
[0054] To enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present invention.
[0055] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0056] The embodiment of the present invention provides a method for detecting position information. The method for detecting position information is executed by a radio frequency identification chip, and the radio frequency identification tag where the radio frequency identification chip is located is attached to the object to be measured. The method for detecting position information can detect the position information of the object to be measured. The radio frequency identification tag may include a radio frequency identification chip and an antenna, so that the radio frequency identification chip can communicate with a reader through the antenna.
[0057] Figure 1 is a flowchart of a method for detecting position information provided by an embodiment of the present invention. Refer to Figure 1 , the method for detecting position information includes:
[0058] S110. Obtain the first reading signal sent by the reader at least once; wherein, the position of the reader relative to the shelf or production line where the object to be measured is located remains unchanged.
[0059] Among them, the reader can be fixed around the shelf or production line where the object to be measured is located, so that the position of the reader relative to the shelf or production line remains unchanged. Moreover, the antenna connected to the reader and the position of the reader remain unchanged, that is, the position of the antenna connected to the reader is fixed, so as to facilitate accurate detection of the position information of the object to be measured. During the measurement process, the reader cannot be powered off (that is, the emission of the reader radio frequency signal cannot be stopped), nor can the position of the antenna connected to the reader be randomly changed, and even more cannot randomly change the connection order between the antenna and the reader. If powered off, the method for detecting position information is restarted.
[0060] Specifically, after the reader starts running, it can send at least two read signals to the RFID chip in the RFID tag on the object to be measured. In the first time, the reader sends the first read signal to the RFID chip at least once. In the second time, the reader sends the second read signal to the RFID chip at least once. The two reads can be spaced apart by a first preset time period. Moreover, when the reader sends multiple first read signals, the time interval between the multiple first read signals sent by the reader is very small, and multiple first read signals can be sent quickly within a short time.
[0061] Therefore, the RFID chip in the RFID tag on the object to be measured can obtain the first read signal sent by the reader at least once, and the RFID chip can record the transmission duration of each first read signal, and the RFID chip can determine the first intensity value of each first read signal.
[0062] S120. Determine the first distance information between the object to be measured and the reader according to the transmission duration corresponding to each first read signal.
[0063] Specifically, the signal between the RFID chip and the reader is transmitted in the form of electromagnetic waves, and the speed of electromagnetic waves propagating in the air is known. Then, the RFID chip can determine the first distance information between the object to be measured and the reader by multiplying the transmission duration corresponding to each first read signal by the transmission speed. Therefore, when the reader sends the first read signal, the first distance information between the object to be measured and the reader can be determined.
[0064] S130. After the first preset time period, obtain the second read signal sent by the reader at least once.
[0065] Specifically, after the first preset time period when the reader finishes sending the first read signal, the reader starts to send the second read signal, that is, the reader sends the second read signal to the RFID chip in the RFID tag on the object to be measured at least once. Moreover, when the reader sends multiple second read signals, the time interval between the multiple second read signals sent by the reader is very small, and multiple second read signals can be sent quickly within a short time.
[0066] Therefore, the RFID chip in the RFID tag on the object to be measured can obtain the second read signal sent by the reader at least once, and the RFID chip can record the transmission duration of each second read signal, and the RFID chip can determine the second intensity value of each second read signal.
[0067] S140. Determine the second distance information between the object to be measured and the reader according to the transmission duration corresponding to each second read signal.
[0068] Specifically, the radio frequency identification chip can determine the second distance information between the object to be measured and the reader by multiplying the transmission duration corresponding to each second reading signal by the transmission speed. Therefore, when the reader sends the second reading signal, the second distance information between the object to be measured and the reader can be determined.
[0069] S150. When the first intensity value and the first distance information corresponding to the first reading signal, and the second intensity value and the second distance information corresponding to the second reading signal meet the preset conditions, determine the position information of the object to be measured according to at least one first intensity value, at least one first distance information, at least one second intensity value, and at least one second distance information; wherein, the position information includes at least one of position coordinates, moving direction, and moving distance.
[0070] Among them, the first intensity value and the first distance information corresponding to the first reading signal, and the second intensity value and the second distance information corresponding to the second reading signal meeting the preset conditions means that the numerical values of the first intensity value, the first distance information, the second intensity value, and the second distance information are reasonable. Therefore, when the first intensity value, the first distance information, the second intensity value, and the second distance information do not meet the preset conditions, they can be collected again to ensure that the first intensity value, the first distance information, the second intensity value, and the second distance information meet the preset conditions. When the first intensity value, the first distance information, the second intensity value, and the second distance information meet the preset conditions, and then determine the position information of the object to be measured, the accuracy of the determined position information of the object to be measured can be ensured.
[0071] Specifically, the position of the reader is fixed. For example, the position of the reader can be used as the origin coordinates, so that the radio frequency identification chip can determine the position coordinates of the object to be measured where it is located when the reader sends the first reading signal according to the first distance information, and determine the position coordinates of the object to be measured where it is located when the reader sends the second reading signal according to the second distance information.
[0072] The radio frequency identification chip can determine the moving direction of the object to be measured according to the magnitude relationship between the first intensity value of the first reading signal and the second intensity value of the second reading signal, that is, determine whether the object to be measured is moving in the direction of approaching the reader or moving in the direction of moving away from the reader.
[0073] The RFID chip determines the position coordinates of the object to be measured when receiving the first reading signal and the position coordinates of the object to be measured when receiving the second reading signal. Thus, the RFID chip can determine the moving distance of the object to be measured based on the two position coordinates. Alternatively, the first distance information, the second distance information, and the moving distance of the RFID chip form a triangle, and the RFID chip can determine at least one angle of the triangle based on the position coordinates of the object to be measured. Therefore, the RFID chip can determine the moving distance of the RFID chip based on the first distance information, the second distance information, and the position coordinates of the object to be measured.
[0074] Moreover, the RFID chip can obtain the first reading signal and the second reading signal multiple times, so as to obtain multiple first distance information, multiple second distance information, multiple first intensity values, and multiple second intensity values, which is convenient for accurately determining the position information of the object to be measured where the RFID chip is located.
[0075] Among them, multiple means greater than or equal to 3.
[0076] Furthermore, the RFID chip in the RFID tag on the object to be measured can determine the position information of the object to be measured, so there is no need to set up a host computer to determine the position information of the object to be measured, which can reduce the cost of detecting the position information of the object to be measured.
[0077] By determining the position information of the object to be measured, it is convenient to track the object to be measured and determine whether the movement of the object to be measured is normal. Measures can be taken in a timely manner when the object to be measured moves abnormally.
[0078] In the technical solution of this embodiment, the RFID chip in the RFID tag on the object to be measured obtains the first reading signal at least once, and after a first preset time period, obtains the second reading signal at least once. When the first intensity value and the first distance information corresponding to the first reading signal, and the second intensity value and the second distance information corresponding to the second reading signal meet the preset conditions, the RFID chip determines the position information of the object to be measured based on at least one first intensity value, at least one first distance information, at least one second intensity value, and at least one second distance information. In this way, the accuracy of the determined position information of the object to be measured can be ensured. Moreover, the RFID chip in the RFID tag on the object to be measured can determine the position information of the object to be measured, so there is no need to set up a host computer to determine the position information of the object to be measured, which can reduce the cost of detecting the position information of the object to be measured.
[0079] Based on the above technical solution, optionally, the first intensity value and the first distance information corresponding to the first reading signal, and the second intensity value and the second distance information corresponding to the second reading signal meet the preset conditions, including:
[0080] If the absolute value of the difference between all the first intensity values and the second intensity values is less than or equal to the first threshold and is not zero, and the absolute value of the difference between all the first distance information and the preset distance information is less than or equal to the second threshold, and the absolute value of the difference between all the second distance information and the preset distance information is less than or equal to the second threshold, it is determined that the first intensity value and the first distance information corresponding to the first reading signal, and the second intensity value and the second distance information corresponding to the second reading signal meet the preset conditions.
[0081] Specifically, the difference between each first intensity value and the corresponding second intensity value can be calculated to obtain the absolute value of the difference between the first intensity value and the second intensity value. If the absolute value of the difference between the first intensity value and the second intensity value is less than or equal to the first threshold and is not zero, it indicates that the values of the first intensity value and the second intensity value are reasonable. Among them, the number of the first reading signals is the same as the number of the second reading signals. The first reading signals each time can be sorted in chronological order, and the second reading signals each time can be sorted in chronological order. The second intensity value corresponding to the first intensity value refers to the second intensity value of the second reading signal with the same serial number as the first intensity value of the first reading signal with the same serial number.
[0082] The first threshold can be the absolute value of the difference between the minimum intensity value and the maximum intensity value of the reading signal. The minimum intensity value of the reading signal can be determined according to the intensity value of the reading signal corresponding to the closest distance between the reader-writer and the object to be measured on the shelf or production line. The maximum intensity value of the reading signal can be determined according to the intensity value of the reading signal corresponding to the farthest distance between the reader-writer and the object to be measured on the shelf or production line.
[0083] Specifically, the difference between each first distance information and the preset distance information can be calculated to obtain the absolute value of the difference between the first distance information and the preset distance information. Similarly, the absolute value of the difference between the second distance information and the preset distance information can be obtained. When the absolute value of the difference between all the first distance information and the preset distance information is less than or equal to the second threshold, and the absolute value of the difference between all the second distance information and the preset distance information is less than or equal to the second threshold, it indicates that the values of the first distance information and the second distance information are reasonable. Among them, the preset distance information can be the maximum distance between the object to be measured on the shelf or production line and the reader-writer.
[0084] In this way, when the absolute value of the difference between all the first intensity values and the second intensity values is less than or equal to the first threshold and is not zero, and the absolute value of the difference between all the first distance information and the preset distance information is less than or equal to the second threshold, and the absolute value of the difference between all the second distance information and the preset distance information is less than or equal to the second threshold, it indicates that the first intensity value, the second intensity value, the first distance information, and the second distance information are all reasonable. Then it is determined that the first intensity value and the first distance information corresponding to the first reading signal, and the second intensity value and the second distance information corresponding to the second reading signal meet the preset conditions.
[0085] Based on the above technical solution, Figure 2 is a flowchart of another position information detection method provided by an embodiment of the present invention. Optionally, referring to Figure 2 , the position information detection method includes:
[0086] S210. Obtain the first reading signals sent by the reader at least once; wherein, the position of the reader relative to the shelf or production line where the object to be measured is located remains unchanged.
[0087] S220. Determine the first distance information between the object to be measured and the reader according to the transmission duration corresponding to each first reading signal.
[0088] S230. After a first preset duration, obtain the second reading signals sent by the reader at least once.
[0089] S240. Determine the second distance information between the object to be measured and the reader according to the transmission duration corresponding to each second reading signal.
[0090] S250. Determine whether there is an absolute value of the difference between the first intensity value and the second intensity value greater than a first threshold or equal to zero, or there is an absolute value of the difference between the first distance information and the preset distance information greater than a second threshold, or there is an absolute value of the difference between the second distance information and the preset distance information greater than the second threshold. If so, execute step S260; if not, execute step S280.
[0091] S260. Exclude the first reading signal corresponding to the first intensity value and the corresponding second reading signal, and re-obtain the first reading signals of the first target number and the second reading signals of the first target number; wherein, the first target number is the number of the excluded first reading signals.
[0092] Specifically, when there is an absolute value of the difference between the first intensity value and the second intensity value greater than the first threshold or equal to zero, or there is an absolute value of the difference between the first distance information and the preset distance information greater than the second threshold, or there is an absolute value of the difference between the second distance information and the preset distance information greater than the second threshold, it indicates that there are unreasonable values. Then, exclude the first reading signal corresponding to the unreasonable value and the corresponding second reading signal. Among them, the number of the first reading signals is the same as the number of the second reading signals. The first reading signals each time can be sorted in chronological order, and the second reading signals each time can be sorted in chronological order. The second reading signal corresponding to the first reading signal is the second reading signal with the same serial number as the first reading signal.
[0093] After excluding the first reading signal corresponding to the first intensity value and the corresponding second reading signal, re-obtain the first reading signals of the first target number and the second reading signals of the first target number.
[0094] S270. Determine the first intensity value corresponding to each re - acquired first read signal, determine the second intensity value corresponding to each re - acquired second read signal, determine the first distance information between the object under test and the reader according to the transmission duration corresponding to each re - acquired first read signal, and determine the second distance information between the object under test and the reader according to the transmission duration corresponding to each re - acquired second read signal; and return to execute step S250.
[0095] Specifically, after re - acquiring the first read signal and the second read signal, determine the first intensity value and the first distance information corresponding to each re - acquired first read signal, and determine the second intensity value and the second distance information corresponding to each re - acquired second read signal. Then return to execute step S250 to determine whether all the first intensity values, the first distance information, the second intensity values, and the second distance information meet the preset conditions until all of them meet the preset conditions, so that the RFID chip can accurately determine the position information of the object under test.
[0096] S280. When the first intensity value and the first distance information corresponding to the first read signal, and the second intensity value and the second distance information corresponding to the second read signal meet the preset conditions, determine the position information of the object under test according to at least one first intensity value, at least one first distance information, at least one second intensity value, and at least one second distance information; wherein, the position information includes position coordinates, moving direction, and moving distance.
[0097] Based on the above - mentioned technical solution, optionally, at least one first intensity value includes one first intensity value; at least one first distance information includes one first distance information; at least one second intensity value includes one second intensity value; at least one second distance information includes one second distance information. That is to say, the first read signal and the second read signal are acquired only once.
[0098] Optionally, determining the position information of the object under test according to at least one first intensity value, at least one first distance information, at least one second intensity value, and at least one second distance information includes:
[0099] Step a1. Determine the moving direction of the object under test according to the magnitude relationship between the first intensity value and the second intensity value.
[0100] Specifically, the RFID chip compares the first intensity value with the second intensity value. If the first intensity value is greater than the second intensity value, it indicates that the object under test where the RFID chip is located moves in the direction away from the reader; if the first intensity value is less than the second intensity value, it indicates that the object under test where the RFID chip is located moves in the direction towards the reader. In this way, the moving method of the object under test can be determined.
[0101] Step a2: Determine the position coordinates of the object under test corresponding to the first reading signal according to the first distance information, and determine the position coordinates of the object under test corresponding to the first reading signal according to the second distance information.
[0102] Specifically, the position of the reader / writer is fixed. For example, the position of the reader / writer can be used as the origin coordinates, so that the RFID chip can determine the position coordinates of the object under test where it is located when the reader / writer sends the first reading signal according to the first distance information, and determine the position coordinates of the object under test where it is located when the reader / writer sends the second reading signal according to the second distance information.
[0103] Step a3: Determine the moving distance of the object under test according to the first distance information and the second distance.
[0104] Specifically, the RFID chip determines the moving distance of the object under test according to the position coordinates of the object under test when receiving the first reading signal and the position coordinates of the object under test when receiving the second reading signal. Or, the first distance information, the second distance information and the moving distance of the RFID chip form a triangle, and the RFID chip can determine at least one angle of the triangle according to the position coordinates of the object under test. Therefore, the RFID chip can determine the moving distance of the RFID chip according to the first distance information, the second distance information and the position coordinates of the object under test.
[0105] Based on the above technical solution, Figure 3 is a flowchart of another position information detection method provided by an embodiment of the present invention. Optionally, refer to Figure 3 , the position information detection method includes:
[0106] S310: Obtain the first reading signal sent by the reader / writer at least once; wherein, the position of the reader / writer relative to the shelf or production line where the object under test is located remains unchanged.
[0107] S320: Determine the first distance information between the object under test and the reader / writer according to the transmission duration corresponding to each first reading signal.
[0108] S330: After a first preset duration, obtain the second reading signal sent by the reader / writer at least once.
[0109] S340: Determine the second distance information between the object under test and the reader / writer according to the transmission duration corresponding to each second reading signal.
[0110] S350. When the first intensity value and the first distance information corresponding to the first reading signal, and the second intensity value and the second distance information corresponding to the second reading signal meet the preset conditions, determine whether the preset number of second intensity values is greater than the preset number of first intensity values; if so, execute step S360; if not, execute step S370. Wherein, the preset number is the total number of the first intensity values of the preset ratio; wherein, the preset ratio is greater than or equal to 60% and less than or equal to 100%.
[0111] S360. Determine that the object to be measured is getting closer and closer to the reader-writer.
[0112] Specifically, when the preset number of second intensity values is greater than the preset number of first intensity values, it indicates that more second intensity values are greater than the preset number of first intensity values, so that it can be determined that the object to be measured where the RFID chip is located is getting closer and closer to the reader-writer, that is, the object to be measured moves along the direction close to the reader-writer on the production line.
[0113] S370. Determine whether the preset number of second intensity values is less than the preset number of first intensity values; if so, execute step S380; if not, return to execute step S310.
[0114] Specifically, if the preset number of second intensity values is neither greater than the preset number of first intensity values nor less than the preset number of first intensity values, that is, the preset number of second intensity values is equal to the preset number of first intensity values, then re-obtain the first reading signal and the second reading signal.
[0115] S380. Determine that the object to be measured is getting farther and farther away from the reader-writer.
[0116] Specifically, when the preset number of second intensity values is less than the preset number of first intensity values, it indicates that more second intensity values are less than the preset number of first intensity values, so that it can be determined that the object to be measured where the RFID chip is located is getting farther and farther away from the reader-writer, that is, the object to be measured moves along the direction away from the reader-writer on the production line.
[0117] Based on the above technical solutions, optionally, at least one first distance information includes a plurality of first distance information; at least one second distance information includes a plurality of second distance information;
[0118] Determining the position information of the object to be measured according to at least one first intensity value, at least one first distance information, at least one second intensity value and at least one second distance information further includes:
[0119] Step b1. Sort the plurality of first distance information in the order of the time sequence of the corresponding first reading information, and sort the plurality of second distance information in the order of the time sequence of the corresponding second reading information.
[0120] Specifically, the reader can send a first read signal to the object to be measured multiple times in succession, and after a first preset time interval, send a second read signal to the object to be measured multiple times in succession, so that the first distance information corresponding to the multiple first read signals can be obtained, and the second distance information corresponding to the multiple second read signals can be obtained. The multiple first distance information is sorted in the order of the time of the corresponding first read information, and the multiple second distance information is sorted in the order of the time of the corresponding second read information, so that the first distance information and the second distance information with the same sequence number are the corresponding first distance information and the second distance information.
[0121] Step b2: determining the initial moving distance according to the first distance information and the second distance information with the same sequence number.
[0122] Specifically, the RFID chip can determine the position coordinates of the object to be measured when the reader sends the first read signal based on the first distance information, and determine the position coordinates of the object to be measured when the reader sends the second read signal based on the second distance information. According to the position coordinates of the object to be measured when receiving the first read signal and the position coordinates of the object to be measured when receiving the second read signal, the moving distance of the object to be measured can be determined based on the two position coordinates. Alternatively, after determining the position coordinates, the first distance information, the second distance information corresponding to the first distance information, and the moving distance of the RFID chip form a triangle, and the RFID chip can determine at least one angle of the triangle based on the position coordinates of the object to be measured. Therefore, the RFID chip can determine the moving distance of the RFID chip based on the first distance information, the second distance information, and the position coordinates of the object to be measured.
[0123] Step b3: when all initial moving distances are within a preset distance range, an average value of the multiple initial moving distances is taken as the moving distance of the measured object.
[0124] Specifically, if all initial moving distances are within the preset distance range, indicating that the value of the initial moving distance is reasonable, the average value of the multiple initial moving distances can be used as the moving distance of the measured object, thereby determining the final moving distance. The preset distance range is, for example, the length of the production line, or the preset distance range is determined according to the moving speed of the production line and the first preset time, which is not limited in this embodiment.
[0125] Optionally, before all initial moving distances are within a preset distance range, the location information detection method further includes:
[0126] Step b4: if there are initial moving distances that are not within the preset distance range, the initial moving distances that are not within the preset distance range are eliminated, and the first reading signal and the second reading signal of the second target number are reacquired; wherein the second target number is the number of the eliminated initial moving distances.
[0127] Specifically, eliminating the initial moving distances that are not within the preset distance range can ensure the accuracy of the finally determined moving distance. Reacquiring the first reading signal and the second reading signal for the second target number of times can avoid having too few data of the remaining initial moving distances after elimination, which is beneficial to improving the accuracy of the finally determined moving distance. Moreover, if there are initial moving distances that are not within the preset distance range, the RFID chip can send a "check system" prompt message to the terminal (such as a mobile phone, a host computer, or a computer), prompting the staff to check each device (such as a reader and an antenna), so as to avoid the abnormal reading signals obtained subsequently. Or, if there are still initial moving distances that are not within the preset distance range after reacquiring the first reading signal and the second reading signal multiple times, the RFID chip can send a "check system" prompt message to the terminal (such as a mobile phone, a host computer, or a computer), which is not limited in this embodiment.
[0128] Step b5: Determine the first distance information corresponding to each reacquired first reading signal, and determine the second distance information between the object to be measured and the reader according to the transmission duration corresponding to each reacquired second reading signal; and return to execute step b1: Sort the multiple first distance information in the chronological order of the corresponding first reading information.
[0129] Specifically, after re-determining the first distance information and the second distance information, return to step b1, and continue to determine the initial moving distance according to each first distance information and the corresponding second distance information until all the initial moving distances are within the preset distance range, and then take the average value of the multiple initial moving distances as the moving distance of the object to be measured. In this way, the accuracy of detecting the position information of the object to be measured is further improved.
[0130] In some embodiments, at least one first intensity value includes one first intensity value; at least one second intensity value includes one second intensity value; and there are multiple objects to be measured arranged on the production line or the shelf. When there are multiple objects to be measured arranged on the production line or the shelf, the position information of the multiple objects to be measured can be detected.
[0131] Optionally, determining the position information of the object to be measured according to at least one first intensity value, at least one first distance information, at least one second intensity value, and at least one second distance information includes:
[0132] Step c1: When the absolute value of the difference between the first intensity value and the second intensity value is less than or equal to the first threshold, enter the silent mode and stop receiving the reading signal sent by the reader.
[0133] Specifically, when the absolute value of the difference between the first intensity value corresponding to the first reading signal received by the RFID chip itself and the second intensity value corresponding to the second reading signal is less than or equal to the first threshold, it indicates that the signal it obtains is normal and there is no need to obtain the reading signal sent by the reader again. Then the RFID chip enters the silent mode, that is, it classifies itself into a reasonable group and no longer receives the reading signal sent by the reader, which can save power consumption and thus reduce costs.
[0134] Step c2: When the absolute value of the difference between the first intensity value and the second intensity value is greater than the first threshold or zero, receive the first reading signal and the second reading signal sent by the reader again until the absolute value of the difference between the first intensity value corresponding to the first reading signal and the second intensity value corresponding to the second reading signal is less than or equal to the first threshold and not zero.
[0135] Specifically, when the absolute value of the difference between the first intensity value corresponding to the first reading signal received by the RFID chip itself and the second intensity value corresponding to the second reading signal is greater than the first threshold or zero, it indicates that the signal it obtains is abnormal. Then the RFID chip may not store the abnormal first intensity value and second intensity value. The RFID chip classifies itself into an unreasonable group and will receive the first reading signal and the second reading signal sent by the reader again until the absolute value of the difference between the first intensity value corresponding to the first reading signal and the second intensity value corresponding to the second reading signal is less than or equal to the first threshold and not zero, which can ensure the accuracy of the reading signal obtained by each RFID chip and thus improve the accuracy of position information detection. Finally, each RFID chip stores the accurate first intensity value and second intensity value.
[0136] Step c3: Obtain the first intensity value and the second intensity value stored in the RFID chip of the RFID tag on other objects to be measured on the same production line or the same shelf.
[0137] Specifically, the RFID chip can obtain the first intensity value and the second intensity value stored in the RFID chip of the RFID tag on other objects to be measured on the same production line or the same shelf, so as to determine the position information of the object to be measured according to all the first intensity values and second intensity values.
[0138] Step c4: When the absolute value of the difference between all the first intensity values and the second intensity values is less than or equal to the first threshold, if the number of second intensity values greater than the preset number is greater than the number of first intensity values, it is determined that the object to be measured is getting closer and closer to the reader; where the preset number is the total number of the first intensity values of the preset ratio; where the preset ratio is greater than or equal to 60% and less than or equal to 100%.
[0139] Specifically, the second intensity values of the preset number are greater than the first intensity values of the preset number, indicating that the second intensity values stored in most of the radio frequency video information are greater than the corresponding first intensity values, thereby determining that the object to be measured is getting closer to the reader, that is, determining that the moving direction of the object to be measured is the direction close to the reader.
[0140] Step c5: If the second intensity values of the preset number are less than the first intensity values of the preset number, it is determined that the object to be measured is getting farther away from the reader.
[0141] Specifically, the second intensity values of the preset number are less than the first intensity values of the preset number, indicating that the second intensity values stored in most of the radio frequency video information are less than the corresponding first intensity values, thereby determining that the object to be measured is getting farther away from the reader, that is, determining that the moving direction of the object to be measured is the direction away from the reader.
[0142] Step c6: If the second intensity values of the preset number are equal to the first intensity values of the preset number, return to execute the step of obtaining the first reading signal sent by the reader at least once.
[0143] Specifically, if the second intensity values of the preset number are equal to the first intensity values of the preset number, it indicates that the acquired signal may be abnormal, then return to execute the step of obtaining the first reading signal sent by the reader at least once, that is, return to execute step S110, and all radio frequency identification chips re-acquire the first reading signal and the second reading signal. In this way, the accuracy of position information detection can be further ensured.
[0144] The embodiment of the present invention also provides a radio frequency identification chip. Figure 4 It is a schematic structural diagram of a radio frequency identification chip provided by the embodiment of the present invention. The radio frequency identification chip is used to execute the position information detection method provided by any implementation manner of the present invention. Therefore, the radio frequency identification chip has the same beneficial effects as the position information detection method provided by any implementation manner of the present invention, and will not be described in detail here.
[0145] Optionally, referring to Figure 4 , the radio frequency identification chip 100 includes a storage unit 101 and a logic unit 102; the storage unit 101 can store the first intensity value and the first distance information corresponding to the first reading signal, and the second intensity value and the second distance information corresponding to the second reading signal. The logic unit 102 includes a position information detection sub-unit 1021. The position information detection sub-unit 1021 can obtain the first intensity value and the first distance information corresponding to the first reading signal, and the second intensity value and the second distance information corresponding to the second reading signal from the storage unit 101, and determine the position information of the object to be measured where it is located according to the first intensity value and the first distance information corresponding to the first reading signal, and the second intensity value and the second distance information corresponding to the second reading signal.
[0146] Optionally, refer to Figure 4 , the radio frequency identification chip 100 may further include an analog front end 103 for converting the electromagnetic signal received by the antenna into an electrical signal. The analog front end 103 includes rectification, voltage regulation, clock, modulation, demodulation, reset, tuning capacitor, and random number generator, etc. The logic unit 102 also includes oscillation, filtering, amplification, modulation, demodulation, analog-to-digital conversion, and digital-to-analog conversion, etc.
[0147] An embodiment of the present invention also provides a position information detection system, Figure 5 is a schematic structural diagram of a position information detection system provided by an embodiment of the present invention. Refer to Figure 5 , the position information detection system includes a reader 11 and a radio frequency identification tag 12. The radio frequency identification tag 12 includes the radio frequency identification chip 100 provided by any implementation scheme of the present invention; the radio frequency identification tag 12 is attached to the object to be measured; the position of the reader 11 relative to the shelf or production line where the object to be measured is located remains unchanged;
[0148] The reader 11 is used to send a reading signal to the radio frequency identification tag 12 corresponding to the target address information.
[0149] In this way, the reader 11 can send a reading signal to the required radio frequency identification tag 12. When there are multiple objects to be measured on the production line or shelf, that is, when multiple objects to be measured with radio frequency identification tags 12 move in a certain direction, when the reader 11 reads these radio frequency identification tags 12, each radio frequency identification tag 12 will have its own address information (an 8-bit or longer random number). The reader 11 sends a reading signal to the radio frequency identification tag 12 corresponding to the target address information, ensuring that the communication between each tag and the same reader will not be confused, that is, "cross-reading". In this way, the accuracy of position detection can be further ensured.
[0150] Among them, the position information detection system may further include an antenna. The reader 11 is connected to the antenna, so that the reader 11 communicates with the radio frequency identification tag 12 through the antenna.
[0151] It should be understood that various forms of the processes shown above can be used, steps can be reordered, added, or deleted. For example, the steps described in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0152] The above specific implementation manners do not constitute a limitation to the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for detecting position information, characterized in that, Executed by a radio frequency identification chip, and the radio frequency identification tag where the radio frequency identification chip is located is attached to the object to be measured; the method includes: Obtaining at least once a first reading signal sent by a reader; wherein, the position of the reader relative to the shelf or production line where the object to be measured is located remains unchanged; Determining first distance information between the object to be measured and the reader according to the transmission duration corresponding to each first reading signal; After a first preset duration, obtaining at least once a second reading signal sent by the reader; Determining second distance information between the object to be measured and the reader according to the transmission duration corresponding to each second reading signal; When the first intensity value corresponding to the first reading signal, the first distance information, the second intensity value corresponding to the second reading signal, and the second distance information meet preset conditions, determining the position information of the object to be measured according to at least one of the at least one first intensity value, at least one first distance information, at least one second intensity value, and at least one second distance information; wherein, the position information includes at least one of position coordinates, moving direction, and moving distance.
2. The method according to claim 1, wherein The first intensity value corresponding to the first reading signal, the first distance information, the second intensity value corresponding to the second reading signal, and the second distance information meet preset conditions, including: If the absolute value of the difference between all the first intensity values and the second intensity values is less than or equal to a first threshold and not zero, and the absolute value of the difference between all the first distance information and the preset distance information is less than or equal to a second threshold, and the absolute value of the difference between all the second distance information and the preset distance information is less than or equal to the second threshold, it is determined that the first intensity value corresponding to the first reading signal, the first distance information, the second intensity value corresponding to the second reading signal, and the second distance information meet preset conditions.
3. The method according to claim 1, wherein Before the first intensity value corresponding to the first reading signal, the first distance information, the second intensity value corresponding to the second reading signal, and the second distance information meet preset conditions, the method further includes: When there is an absolute value of the difference between the first intensity value and the second intensity value greater than the first threshold or zero, or there is an absolute value of the difference between the first distance information and the preset distance information greater than the second threshold, or there is an absolute value of the difference between the second distance information and the preset distance information greater than the second threshold, removing the first reading signal corresponding to the first intensity value and the corresponding second reading signal, and re-obtaining the first reading signal of the first target number of times and the second reading signal of the first target number of times; wherein, the first target number of times is the number of the removed first reading signals; Determine the first intensity value corresponding to each re-acquired first read signal, determine the second intensity value corresponding to each re-acquired second read signal, and determine the first distance information between the object under test and the reader according to the transmission duration corresponding to each re-acquired first read signal, and determine the second distance information between the object under test and the reader according to the transmission duration corresponding to each re-acquired second read signal; until the first intensity value corresponding to the first read signal, the first distance information, the second intensity value corresponding to the second read signal, and the second distance information meet the preset conditions.
4. The method according to any one of claims 1 to 3, characterized in that, At least one of the first intensity values includes one first intensity value; at least one of the first distance information includes one first distance information; at least one of the second intensity values includes one second intensity value; at least one of the second distance information includes one second distance information; The determining the position information of the object under test according to at least one of the first intensity values, at least one of the first distance information, at least one of the second intensity values, and at least one of the second distance information includes: Determine the moving direction of the object under test according to the magnitude relationship between the first intensity value and the second intensity value; Determine the position coordinates of the object under test corresponding to the first read signal according to the first distance information, and determine the position coordinates of the object under test corresponding to the first read signal according to the second distance information; Determine the moving distance of the object under test according to the first distance information and the second distance.
5. The method according to any one of claims 1 to 3, characterized in that At least one of the first intensity values includes multiple first intensity values; at least one of the second intensity values includes multiple second intensity values; The determining the position information of the object under test according to at least one of the first intensity values, at least one of the first distance information, at least one of the second intensity values, and at least one of the second distance information includes: If the number of second intensity values of a preset number is greater than the number of first intensity values of a preset number, it is determined that the object under test is getting closer to the reader; wherein, the preset number is the total number of the first intensity values of a preset ratio; wherein, the preset ratio is greater than or equal to 60% and less than or equal to 100%; If the number of second intensity values of a preset number is less than the number of first intensity values of a preset number, it is determined that the object under test is getting farther away from the reader; If the number of second intensity values of a preset number is equal to the number of first intensity values of a preset number, return to execute the step of acquiring at least once the first read signal sent by the reader.
6. The method according to any one of claims 1 to 3, characterized in that At least one of the first distance information includes multiple first distance information; at least one of the second distance information includes multiple second distance information; The determining the position information of the object under test according to at least one of the first intensity values, at least one of the first distance information, at least one of the second intensity values, and at least one of the second distance information further includes: Sort the multiple first distance information in the chronological order of the corresponding first read information, and sort the multiple second distance information in the chronological order of the corresponding second read information; Determine the initial moving distance according to the first distance information and the second distance information with the same sequence number; When all the initial moving distances are within a preset distance range, an average value of the multiple initial moving distances is taken as the moving distance of the measured object.
7. The method according to claim 6, characterized in that, Before all the initial moving distances are within the preset distance range, the method further includes: If there is an initial moving distance that is not within the preset distance range, the initial moving distance that is not within the preset distance range is eliminated, and the first reading signal and the second reading signal of the second target number are reacquired; wherein the second target number is the number of the eliminated initial moving distances; Determine the first distance information corresponding to each reacquired first read signal, and determine the second distance information between the object under test and the reader / writer according to the transmission duration corresponding to each reacquired second read signal; and return to execute the step of sorting the multiple first distance information according to the time sequence of the corresponding first read information.
8. The method according to claim 1, characterized in that, At least one of the first intensity values includes a first intensity value; at least one of the second intensity values includes a second intensity value; a plurality of the measured objects are arranged on the production line or the shelf; The determining the position information of the measured object according to at least one of the first strength values, at least one of the first distance information, at least one of the second strength values, and at least one of the second distance information comprises: When the absolute value of the difference between the first intensity value and the second intensity value is less than or equal to a first threshold, entering a silent mode and no longer receiving a read signal sent by the reader; When the absolute value of the difference between the first intensity value and the second intensity value is greater than the first threshold or is zero, re-receiving the first read signal and the second read signal sent by the reader / writer until the absolute value of the difference between the first intensity value corresponding to the first read signal and the second intensity value corresponding to the second read signal is less than or equal to the first threshold and is not zero; Obtaining a first strength value and a second strength value stored in a radio frequency identification chip of a radio frequency identification tag on other objects under test on the same production line or the same shelf; When the absolute value of the difference between all the first intensity values and the second intensity values is less than or equal to a first threshold, if a preset number of second intensity values is greater than a preset number of first intensity values, it is determined that the object under test is getting closer to the reader; wherein the preset number is the total number of the first intensity values of a preset ratio; wherein the preset ratio is greater than or equal to 60% and less than or equal to 100%; If the preset number of second strength values is less than the preset number of first strength values, it is determined that the object being measured is getting farther and farther away from the reader; If the preset number of second strength values is equal to the preset number of first strength values, the process returns to executing the step of acquiring the first read signal sent by the reader / writer at least once.
9. A radio frequency identification chip, characterized in that, Used to execute the location information detection method described in any one of claims 1-8.
10. A position information detection system, characterized in that, It includes a reader and a radio frequency identification tag, and the radio frequency identification tag includes the radio frequency identification chip described in claim 9; the radio frequency identification tag is attached to the object to be measured; the position of the reader relative to the shelf or production line where the object to be measured is located remains unchanged; The reader is used to send a reading signal to the radio frequency identification tag corresponding to the target address information.