Indoor positioning method and device based on RFID, equipment and storage medium
In RFID indoor positioning technology, the positioning range is narrowed based on signal strength fluctuations and angle scanning, and combined with the position information of the target reference point, the problem of low positioning accuracy in the existing technology is solved and high-precision indoor positioning is achieved.
Patent Information
- Application Number
- CN202410034202.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-09
- Publication Date
- 2024-10-18
AI Technical Summary
Existing RFID-based indoor positioning technology results in low positioning accuracy and large positioning errors due to environmental and multipath effects. Especially, tags that are far away may collect similar RSSI values, resulting in position deviation.
By obtaining the fluctuation of the signal strength value generated by the point tag to be located under different exciters, the exciter whose signal strength fluctuation is less than or equal to the set fluctuation threshold is determined as the target exciter, and its antenna is controlled to scan according to the preset angle, narrowing the Positioning range, and finally determine the position of the point to be positioned based on the position information of the target reference point.
The positioning accuracy is improved, the influence of singular values is reduced, the positioning accuracy is enhanced, and sub-meter positioning accuracy is achieved.
Smart Images

Figure CN118803541A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of indoor positioning technology, and in particular to an indoor positioning method, apparatus, device and storage medium based on RFID (Radio Frequency Identification). Background Technology
[0002] With the development of smart cities, indoor positioning services are gradually becoming an indispensable part of people's lives. Since most places where people live are relatively enclosed, unable to receive complete satellite signals, and the deployment environment is complex, the difficulty of high-precision positioning increases. Based on this, indoor positioning technologies have emerged. For example, indoor positioning can be achieved by deploying infrared and ultrasonic devices indoors and using ranging methods. RFID technology, with its non-contact and high-speed identification characteristics, is widely used in asset tracking, warehouse cargo positioning, and other fields due to its advantages of low tag deployment cost and high positioning accuracy.
[0003] In related technologies, RFID is often combined with non-range-based positioning methods, such as fingerprint positioning. This involves discretizing the positioning area into reference points at appropriate intervals, deploying passive RFID tags at each reference point, and collecting the RSSI (Received Signal Strength Indicator) values at each reference point to establish an offline fingerprint database. Then, passive RFID tags are deployed on the object to be located, and the RSSI values of the tags at each point are measured and recorded. Theoretically, the closer the points are, the higher the similarity of their tag RSSI values. Using the WKNN (Weighted k-Nearest Neighbor) algorithm, K reference points with similar RSSI values to the tag of the object to be located are selected. Different weights are assigned to the reference points based on the similarity of their RSSI values, and finally, the positioning result is calculated using Euclidean distance.
[0004] However, in related technologies, fingerprint positioning methods are affected by the environment and multipath effects. Tags that are far apart may also collect similar RSSI values, which causes the position calculated by the above methods to deviate from the actual position. Therefore, there are problems of low accuracy and large positioning error. Summary of the Invention
[0005] In view of this, embodiments of this application provide an RFID-based indoor positioning method, apparatus, device, and storage medium, aiming to improve the positioning accuracy of RFID and reduce positioning errors.
[0006] This application provides an RFID-based indoor positioning method, the method comprising:
[0007] Multiple first received signal strength values of a tag to be located are obtained. Each first received signal strength value represents the signal strength of the reflected signal generated by the tag under the excitation signal of an exciter in the area to be located. The number of exciters in the area to be located is multiple.
[0008] Based on the plurality of first received signal strength values, the target exciter of the tag to be located is determined, and the fluctuation of the first received signal strength value generated by the tag to be located under the excitation signal of the target exciter is less than or equal to a set fluctuation threshold.
[0009] The antenna of the target exciter is controlled to scan at multiple preset angles, and the positioning area where the tag to be located is located is determined based on the scanning results;
[0010] Based on the location information of multiple target reference points within the positioning area, the location information of the label of the point to be located is determined.
[0011] In the above scheme, determining the target exciter of the tag to be located based on the plurality of first received signal strength values includes:
[0012] Based on the plurality of first received signal strength values, the variance of the first received signal strength values generated by the tag to be located under the same excitation signal of the exciter is determined;
[0013] The exciter whose variance value is less than or equal to the set fluctuation threshold is used as the target exciter for the label of the point to be located.
[0014] In the above scheme, determining the location area of the tag to be located based on the scanning results includes:
[0015] The number of target exciter antennas that were scanned to the tag at the point to be located is determined based on the scanning results;
[0016] Based on the number of target exciter antennas and the scanning angle of the target exciter antennas, the positioning area where the tag to be located is located is determined.
[0017] In the above scheme, the area to be located includes multiple grid areas, and each exciter is located at the intersection point between the grid areas; determining the location area where the tag to be located is located based on the number of target exciter antennas and the scanning angle of the target exciter antennas includes:
[0018] If the number of target exciter antennas is determined to be 1 or greater than 2, then the first grid area scanned is determined based on the scanning angle of the target exciter antenna, and the positioning area where the tag to be located is located is determined based on the first grid area.
[0019] If the number of target exciter antennas is determined to be 2, then based on the scanning angle of the two target exciter antennas, a second grid area within the included angle range between the two target exciter antennas is determined, and based on the second grid area, the positioning area where the tag to be located is located is determined.
[0020] In the above scheme, before obtaining multiple first received signal strength values of the tag to be located, the method further includes:
[0021] Multiple second received signal strength values of each reference point in the area to be located are obtained. The second received signal strength value represents the signal strength of the reflected signal generated by the excitation signal of the exciter in the area to be located after the reference point deploys the tag.
[0022] Based on the plurality of second received signal strength values, a plurality of first average received signal strength values are obtained for each of the reference points, and the number of the first average received signal strength values corresponds to the number of exciters in the area to be located.
[0023] In the above scheme, determining the location information of the tag to be located based on the location information of multiple target reference points within the positioning area includes:
[0024] Based on the plurality of first received signal strength values, a plurality of second average received signal strength values are determined, and the number of the second average received signal strength values corresponds to the number of exciters in the area to be located.
[0025] Based on each of the second average received signal strength values and multiple first average received signal strength values corresponding to each of the target reference points, the signal strength deviation value between the tag to be located and each of the target reference points is determined.
[0026] Based on the location information of each target reference point and the signal strength deviation value, the location information of the tag to be located is determined.
[0027] In the above scheme, obtaining multiple first received signal strength values of the tag of the point to be located includes:
[0028] Send an instruction to the receiver, the instruction being used to instruct the receiver to control the actuator to send an excitation signal to the tag to be located;
[0029] The receiver acquires multiple signal strength values returned in response to the instruction, the signal strength values being determined by the receiver based on the reflected signal generated by the received tag of the point to be located under the excitation signal;
[0030] Based on the multiple signal strength values, multiple first received signal strength values of the tag to be located are determined.
[0031] This application also provides an RFID-based indoor positioning device, the device comprising:
[0032] The intensity value acquisition module is used to acquire multiple first received signal intensity values of the tag to be located. Each first received signal intensity value represents the signal intensity of the reflected signal generated by the tag under the excitation signal of the exciter in the area to be located. The number of exciters in the area to be located is multiple.
[0033] The exciter determination module is used to determine the target exciter of the tag to be located based on the plurality of first received signal strength values, wherein the fluctuation of the first received signal strength value generated by the tag to be located under the excitation signal of the target exciter is less than or equal to a set fluctuation threshold.
[0034] The positioning area determination module is used to control the antenna of the target exciter to scan at multiple preset angles, and determine the positioning area where the tag to be located is located based on the scanning results;
[0035] The location information determination module is used to determine the location information of the tag to be located based on the location information of multiple target reference points within the positioning area.
[0036] This application also provides an electronic device, including: a processor and a memory for storing a computer program that can run on the processor, wherein the processor, when running the computer program, executes the above-described technical solutions.
[0037] This application also provides a computer storage medium storing a computer program, which, when executed by a processor, implements the above-described technical solutions.
[0038] The technical solution provided in this application, based on the fluctuation of the first received signal strength value generated by the tag under different exciters within the target positioning area, identifies exciters whose fluctuation of the first received signal strength value generated by the tag under the excitation signal of the exciter is less than or equal to a set fluctuation threshold as target exciters. The antenna of the target exciter scans at multiple preset angles to narrow down the positioning range of the tag. Finally, based on the position information of multiple target reference points in the positioning area where the tag is located, the position information of the tag is determined. Positioning based on the fluctuation of the first received signal strength value adds a reference data dimension, compensating for the drawback of traditional mean-based solutions being affected by environmental interference. Gradually narrowing the positioning range effectively reduces the influence of outliers, thereby improving positioning accuracy. Attached Figure Description
[0039] Figure 1 This is a flowchart illustrating the RFID-based indoor positioning method according to an embodiment of this application.
[0040] Figure 2 This is a schematic diagram illustrating the division of a grid region based on the fingerprint positioning method in an embodiment of this application;
[0041] Figure 3 This is a schematic diagram of the positioning system architecture according to an embodiment of this application;
[0042] Figure 4 This is a schematic diagram of the antenna signal coverage area of the target exciter in an embodiment of this application;
[0043] Figure 5 This is a schematic diagram of the scanning angle of the target exciter in an embodiment of this application;
[0044] Figure 6 This is a schematic diagram of the structure of an RFID-based indoor positioning device according to an embodiment of this application;
[0045] Figure 7 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0046] The present application will now be described in further detail with reference to the accompanying drawings and embodiments.
[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
[0048] This application provides an RFID-based indoor positioning method, such as... Figure 1 As shown, the RFID-based indoor positioning method provided in this embodiment can be implemented by an electronic device, which can be a cloud platform, computer equipment, or terminal equipment. The RFID-based indoor positioning method can include the following steps:
[0049] Step 101: Obtain multiple first received signal strength values of the tag of the point to be located.
[0050] Multiple exciters can be deployed within the target area, at different locations within the area. An electronic device, controlled by a receiver, can send a preset number of excitation signals to the tag at the target location. Each time the tag receives an excitation signal, it generates a corresponding reflected signal and sends it back to the receiver. The receiver then calculates the received signal strength based on the reflected signal's intensity and sends it to the electronic device. The reflected signal sent from the tag to the receiver can carry the exciter's identifier.
[0051] The first received signal strength value characterizes the signal strength of the reflected signal generated by the excitation signal of the exciter within the area to be located by the tag at the point to be located. The first received signal strength value can be an RSSI value, and the first received signal strength can be calculated based on the signal strength of the reflected signal.
[0052] A target location tag is a tag installed on the object to be located. Once the target location tag enters the target area, it can receive excitation signals sent by an exciter within that area and generate a reflected signal under the influence of these signals. The signal strength of the excitation signal received by the target location tag is related to the distance to the exciter. Generally, the closer the target location tag is to the exciter, the stronger the received excitation signal, and correspondingly, the stronger the reflected signal generated based on that excitation signal.
[0053] Here, multiple exciters may send excitation signals to the tag to be located multiple times, causing the tag to generate multiple reflected signals from each exciter. The electronic device obtains multiple first received signal strength values of the tag based on the signal strength of the multiple reflected signals generated by each exciter.
[0054] Step 102: Based on the plurality of first received signal strength values, determine the target exciter of the tag to be located.
[0055] Specifically, the target exciter for the tag to be located is determined based on multiple first received signal strength values. The fluctuation of the first received signal strength value generated by the tag to be located under the excitation signal of the target exciter is less than or equal to a set fluctuation threshold.
[0056] Here, by determining the target exciter of the tag to be located, the positioning range of the tag can be narrowed down to the coverage area of the antenna signal of the target exciter.
[0057] Step 103: Control the antenna of the target exciter to scan at multiple preset angles, and determine the positioning area where the tag to be located is located based on the scanning results.
[0058] The electronic device can control the antenna of the target exciter to scan the area to be located at multiple preset angles, all of which can be on the same plane. During the antenna scanning process, the scanning results can be obtained, including whether the antenna of the target exciter has scanned the tag to be located, and the corresponding scanning angle when the tag was scanned. Based on this, the location area of the tag to be located can be determined.
[0059] The positioning area is a smaller area than the signal coverage area of the target exciter, which further reduces the positioning range and can reduce the influence of singular values of the received signal strength, thereby improving the positioning accuracy to the sub-meter level.
[0060] Step 104: Based on the location information of multiple target reference points within the positioning area, determine the location information of the tag to be located.
[0061] Here, multiple different locations within the area to be located can be designated as reference points. To avoid signal interference between RFID tags, an offline database approach can be used, where the same RFID tag is used to collect offline fingerprint data for each reference point. The offline fingerprint data of each reference point must include at least its location information. That is, tags are deployed at multiple reference points in the area to be located during offline fingerprint data collection, but after the fingerprint data collection is complete, these reference points do not need to be tagged again.
[0062] A target reference point refers to a reference point located within the positioning area. In other words, the target reference point is the reference point most relevant to achieving accurate positioning of the tag to be located, or one of the few reference points within the positioning area closest to the tag to be located.
[0063] Based on the location information of multiple target reference points within the positioning area, the location information of the label of the point to be located can be determined.
[0064] In this application, based on the fluctuation of the first received signal strength value generated by the tag under different exciters within the target positioning area, exciters whose fluctuation of the first received signal strength value generated by the tag under the excitation signal of the exciter is less than or equal to a set fluctuation threshold are selected as target exciters. The antenna of the target exciter scans at multiple preset angles to narrow down the positioning range of the tag. Finally, based on the position information of multiple target reference points in the positioning area where the tag is located, the position information of the tag is determined. Positioning based on the fluctuation of the first received signal strength value adds a reference data dimension, compensating for the drawback of traditional mean-based solutions being affected by environmental interference. Gradually narrowing the positioning range effectively reduces the influence of outliers, thereby improving positioning accuracy.
[0065] In one embodiment, determining the target exciter of the tag to be located based on the plurality of first received signal strength values includes:
[0066] a. The plurality of first received signal strength values are used to determine the variance of the first received signal strength values generated by the tag to be located under the same excitation signal of the exciter.
[0067] The stronger the excitation signal sent by the exciter to the tag at the point to be located, the smaller the influence of environmental interference, and thus the smaller the fluctuation of the multiple first received signal strength values of the tag collected by the electronic device. Based on this, when multiple exciters are pre-positioned in the area to be located, the variance of the first received signal strength values generated by the tag at the point to be located under the excitation signal of the same exciter is determined according to the multiple first received signal strength values.
[0068] The method involves measuring and recording the first received signal strength value of a tag within the target positioning area. For example, four exciters are deployed in the target positioning area. An electronic device controls each exciter to send 1000 excitation signals to the tag via a receiver. This yields the average received signal strength value received by the tag from each exciter after 1000 measurements. Based on the average received signal strength value corresponding to each exciter and the received signal strength value from the 1000 measurements, variance calculations are performed to obtain the variance of the first received signal strength value generated by the tag under the same exciter's excitation signal. This results in four variance values, each corresponding to one of the four exciters.
[0069] The variance value indicates the distance between the actuator and the label at the point to be located. The smaller the variance value for the actuator, the closer the actuator is to the label at the point to be located.
[0070] b. Use the exciter whose variance value is less than or equal to the set fluctuation threshold as the target exciter for the label of the point to be located.
[0071] In this embodiment, by introducing the calculation of the variance of the received signal strength, compared with determining the location information of the tag of the point to be located solely based on the mean of the received signal strength, the dimension of reference data is increased, which can further reduce the impact of data fluctuations on positioning accuracy, thereby improving positioning accuracy.
[0072] In one embodiment, determining the location area of the tag to be located based on the scanning results includes:
[0073] a. Determine the number of target exciter antennas that have been scanned to the tag to be located based on the scanning results.
[0074] Here, the exciter can have one or more antennas. If the exciter has only one antenna, electronic equipment is needed to control the exciter to change the angle. If the exciter has multiple antennas, the exciter can be placed at multiple preset angles in advance.
[0075] The number of target exciter antennas that scan the tag to be located is not the same as the total number of target exciter antennas. For example, even if the exciter has only one antenna, there can be multiple target exciter antennas that scan the tag to be located. For instance, the exciter may scan the tag at multiple preset angles.
[0076] The scanning results include the scanning angle of the target exciter's antenna when the tag to be located is scanned. The number of scanning angles corresponding to the target exciter's antennas can be determined.
[0077] b. Based on the number of target exciter antennas and the scanning angle of the target exciter antennas, determine the positioning area where the tag to be located is located.
[0078] Here, the location area of the tag to be located can be determined based on the number of target exciter antennas and the scanning angle of the target exciter antennas.
[0079] In one embodiment, the region to be located includes multiple grid regions, and the exciter is located at the crossroads between the grid regions.
[0080] Here, as Figure 2 As shown, the area to be located can be discretized into multiple grid areas ①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, and ⑨ based on fingerprint positioning. Exciters Q0, Q1, Q2, and Q3 are deployed at the intersections between the grid areas. Sixteen passive RFID tags are also deployed at the intersections of the grid areas as reference points. The grid areas also contain multiple tags for location, TAG0, TAG1, TAG2, TAG3, TAG4, TAG5, and TAG6.
[0081] The step of determining the positioning area of the target exciter antenna based on the number of target exciter antennas and the scanning angle of the target exciter antennas includes:
[0082] a. If the number of target exciter antennas is determined to be 1 or greater than 2, the first grid area scanned is determined based on the scanning angle of the target exciter antenna, and the positioning area where the tag to be located is located is determined based on the first grid area.
[0083] Here, if the number of target exciter antennas is determined to be 1, and the scanning angle of the target exciter antenna scans the first grid area, then the first grid area is determined as the positioning area where the tag to be located is located.
[0084] For example, such as Figure 2 As shown, assuming the preset angles include -135°, -45°, 45°, and 135°; the target exciter for the tag TAG0 to be located is exciter Q0. TAG0 is scanned by the antenna of Q0 in the -135° direction. The first grid area scanned at this scanning angle is region ①, therefore, the location area of the tag to be located is determined to be region ①. The target exciter for the tag TAG2 to be located is exciter Q3. TAG2 is only scanned by the antenna of Q3 in the -45° direction, therefore, it is located in region ⑥.
[0085] Here, if the number of target exciter antennas is greater than 2, regardless of whether these multiple target exciter antennas are located on different exciters or on the same exciter (i.e., the tag to be located has one or more target exciters), the location area of the tag to be located is determined based on the third grid area scanned by the scanning angle of the multiple target exciter antennas.
[0086] For cases where there is only one target exciter, for example, the target exciter for the tag TAG4 to be located is exciter Q2. TAG4 is scanned by all four directional antennas of Q2, and the number of target exciter antennas is greater than 2. The four directional antennas of Q2 scan the first grid areas ④, ⑤, ⑦ and ⑧ respectively. Therefore, the location area where the tag to be located is determined to be is areas ④, ⑤, ⑦ and ⑧.
[0087] See also Figure 2 For cases where there are more than two target exciters, for example, the target exciters of the tag TAG6 to be located are exciters Q0, Q1 and Q2. TAG6 is scanned by antennas in the directions of 45° of Q0, 135° of Q1, -45° of Q2 and -135° of Q3. The number of target exciter antennas is greater than 2. The first grid area scanned by the scanning angle of each target exciter antenna is ⑤. Therefore, the location area where the tag to be located is located is determined to be area ⑤.
[0088] b. If the number of target exciter antennas is determined to be 2, then based on the scanning angle of the two target exciter antennas, a second grid area within the included angle range between the two target exciter antennas is determined, and based on the second grid area, the positioning area where the tag to be located is located is determined.
[0089] Here, if the number of target exciter antennas is determined to be 2, regardless of whether the two target exciter antennas are located on different exciters or on the same exciter (i.e., the tag to be located has one or more target exciters), the positioning area of the tag to be located is determined based on the angle range formed by the scanning angles of the two target exciter antennas and the second grid area within the angle range.
[0090] For example, continue to refer to Figure 2 For cases where there is only one target exciter, for example, the target exciter of the tag TAG3 to be located is exciter Q3. TAG3 is scanned by the antenna in the 45° or 135° direction of Q3. The second grid area within the included angle range formed by these two directions includes ⑧ and ⑨. Therefore, the location area where the tag to be located is located is determined to be area ⑧ and ⑨.
[0091] In the case where there are two target exciters, for example, the target exciters of the tag TAG1 to be located are exciters Q0 and Q1. TAG1 is scanned by the antennas in the -45° direction of Q0 and the -135° direction of Q1. The second grid area ② is within the range of the angle formed by these two scanning angles. Therefore, the location area where the tag to be located is located is area ②.
[0092] In one embodiment, before acquiring multiple first received signal strength values of the tag to be located, the method further includes:
[0093] a. Obtain multiple second received signal strength values for each reference point within the area to be located. The second received signal strength value represents the signal strength of the reflected signal generated by the excitation signal of the exciter within the area to be located after the reference point deploys the tag.
[0094] b. Based on the plurality of second received signal strength values, obtain the first average received signal strength value of each of the reference points.
[0095] Here, the average of multiple second received signal strength values corresponding to each reference point is calculated to obtain the first average received signal strength value for each reference point. The number of first average received signal strength values corresponds to the number of exciters in the area to be located. For example, if there are 4 exciters, then each reference point can have 4 first average received signal strength values.
[0096] In this embodiment, the fingerprint database is processed offline. To ensure data stability and sufficient data volume, each exciter can sample each reference point a preset number of times, such as 1000 times, to construct the fingerprint database. An example is as follows:
[0097]
[0098] In the formula, rssii,n This represents the first average received signal strength value received by the i-th (i = 1, 2, ..., 16) reference point after 1000 measurements by the n-th (n = 1, 2, 3, 4) exciter.
[0099] It should be noted that, to avoid signal interference between RFID tags, an offline database approach can be used, where the same RFID tag is used to sequentially collect RSSI values for each reference point. For electronic devices, the obtained offline fingerprint data includes the location information of the reference point and the first average received signal strength value of the reference point.
[0100] In one embodiment, determining the location information of the tag to be located based on the location information of multiple target reference points within the positioning area includes:
[0101] a. Based on the plurality of first received signal strength values, determine a plurality of second average received signal strength values.
[0102] Here, a second average received signal strength value can be obtained based on multiple first received signal strength values, and the method of determination is the same as that for determining the first average received signal strength value. The number of second average received signal strength values corresponds to the number of exciters in the area to be located.
[0103] b. Based on each of the second average received signal strength values and the multiple first average received signal strength values corresponding to each of the target reference points, determine the signal strength deviation value between the tag to be located and each of the target reference points.
[0104] c. Based on the location information of each target reference point and the signal strength deviation value of each target reference point, determine the location information of the tag to be located.
[0105] Here, taking a region to be located that includes four exciters as an example, the WKNN algorithm can include formula (1) and formula (2):
[0106]
[0107] Wherein, in formula (1) test n RSSI represents the second average received signal strength value received by the tag at the nth exciter. i,n This represents the first average received signal strength value received by the i-th target reference point from the n-th exciter in the fingerprint database, and dis is the signal strength deviation value between the tag of the point to be located and the target reference point.
[0108]
[0109] In formula (2), (x) k ,yk (x, y) represents the location information of the k-th target reference point, and (x, y) represents the location information of the label of the point to be located.
[0110] In this embodiment, based on the acquired offline fingerprint data, when the tag to be located enters the area to be located, the positioning range of the tag to be located is continuously narrowed by iteratively narrowing the range. Finally, the position information of the tag to be located can be determined based on the position information of multiple target reference points in the smallest positioning area, the first average received signal strength value, and the WKNN algorithm.
[0111] In one embodiment, obtaining multiple first received signal strength values of the tag of the point to be located includes:
[0112] a. Send an instruction to the receiver, the instruction being used to instruct the receiver to control the exciter to send an excitation signal to the tag to be located.
[0113] b. Obtain multiple signal strength values returned by the receiver in response to the instruction, wherein the signal strength values are determined by the receiver based on the reflected signal generated by the received tag of the point to be located under the excitation signal.
[0114] c. Based on the multiple signal strength values, determine multiple first received signal strength values of the tag at the point to be located.
[0115] The positioning system architecture in this embodiment can be as follows: Figure 3 As shown, the electronic device is the management platform, and it can communicate with multiple exciters and tags through a receiver R. The positioning system architecture in this embodiment can also communicate with corresponding exciters and tags through multiple receivers respectively.
[0116] The present application will be further described in detail below with reference to application examples.
[0117] This application also provides an RFID-based indoor positioning method, comprising the following steps:
[0118] a. Compare the variance fluctuation of the tag at the point to be located under each exciter antenna within the area to be located.
[0119] b. Narrow the positioning range to the coverage area of the target exciter's antenna signal.
[0120] like Figure 4 As shown, assuming exciter Q3 is the target exciter, and the area within the dashed box where Q3 is located is the antenna signal coverage area of Q3, the positioning range can be narrowed down to this signal coverage area.
[0121] c. Control the antenna of the target exciter to scan at multiple preset angles to determine the positioning area where the tag to be located is located.
[0122] Here, the positioning range is narrowed down to the coverage area of the Q3 signal. This can be achieved by controlling only the Q3 antenna to scan at multiple preset angles to determine the positioning area. The scanning angles are as follows: Figure 5 As shown, -135°, -45°, 45°, and 135° of Q3 can be used as scanning angles. The scanning angles and number can be set according to requirements and are not limited.
[0123] d. Based on multiple target reference points within the positioning area and the WKNN algorithm, determine the location information of the label of the point to be located.
[0124] The fingerprint database has been built offline before the location method is executed, so it can be obtained directly during use.
[0125] To implement the method of the embodiments of this application, the embodiments of this application also provide an RFID-based indoor positioning device, such as... Figure 6 As shown, this RFID-based indoor positioning device corresponds to the above-mentioned RFID-based indoor positioning method, and the steps in the above-mentioned RFID-based indoor positioning method embodiment are also fully applicable to this RFID-based indoor positioning device embodiment.
[0126] The device 600 includes: an intensity value acquisition module 601, an exciter determination module 602, a positioning area determination module 603, and a location information determination module 605. The intensity value acquisition module 601 acquires multiple first received signal intensity values of a tag to be located, each first received signal intensity value representing the signal intensity of the reflected signal generated by the tag under the excitation signal of an exciter within the positioning area. The number of exciters within the positioning area is multiple. The exciter determination module 602 determines the target exciter of the tag based on the multiple first received signal intensity values, wherein the fluctuation of the first received signal intensity value generated by the tag under the excitation signal of the target exciter is less than or equal to a set fluctuation threshold. The positioning area determination module 603 controls the antenna of the target exciter to scan at multiple preset angles and determines the positioning area where the tag is located based on the scanning results. The location information determination module 605 determines the location information of the tag based on the location information of multiple target reference points within the positioning area.
[0127] In one embodiment, the exciter determination module 602 is configured to: determine the variance of the first received signal strength values generated by the tag to be located under the excitation signal of the same exciter based on the plurality of first received signal strength values; and select the exciter whose variance value is less than or equal to the set fluctuation threshold as the target exciter of the tag to be located.
[0128] In one embodiment, the positioning area determination module 603 is used to: determine the number of target exciter antennas that have been scanned to the tag to be located based on the scanning results; and determine the positioning area where the tag to be located is located based on the number of target exciter antennas and the scanning angle of the target exciter antennas.
[0129] In one embodiment, the area to be located includes multiple grid areas, and the exciter is located at the crossroads between the grid areas; the location area determination module 603 is configured to: if the number of target exciter antennas is determined to be 1 or greater than 2, determine the scanned first grid area based on the scanning angle of the target exciter antennas, and determine the location area where the tag to be located is located based on the first grid area; if the number of target exciter antennas is determined to be 2, determine the second grid area located within the angle range between the two target exciter antennas based on the scanning angle of the two target exciter antennas, and determine the location area where the tag to be located is located based on the second grid area.
[0130] In one embodiment, the RFID-based indoor positioning device 600 further includes an offline fingerprint database construction module 604, configured to: before acquiring multiple first received signal strength values of a tag at a point to be located, acquire multiple second received signal strength values of each reference point within the area to be located, wherein the second received signal strength value characterizes the signal strength of the reflected signal generated by the excitation signal of an exciter within the area to be located after the tag is deployed at the reference point; and based on the multiple second received signal strength values, obtain multiple first average received signal strength values for each reference point, wherein the number of first average received signal strength values corresponds to the number of exciters within the area to be located.
[0131] In one embodiment, the location information determination module 605 is configured to: determine a plurality of second average received signal strength values based on the plurality of first received signal strength values, wherein the number of the second average received signal strength values corresponds to the number of exciters in the area to be located; determine a signal strength deviation value between the tag to be located and each of the target reference points based on each of the second average received signal strength values and the plurality of first average received signal strength values corresponding to each of the target reference points; and determine the location information of the tag to be located based on the location information of each of the target reference points and the signal strength deviation values.
[0132] In one embodiment, the strength value acquisition module 601 is configured to: send an instruction to a receiver, the instruction instructing the receiver to control the exciter to send an excitation signal to the tag to be located; acquire a plurality of signal strength values returned by the receiver in response to the instruction, the signal strength values being determined by the receiver based on the reflected signal generated by the tag to be located under the excitation signal; and determine a plurality of first received signal strength values of the tag to be located based on the plurality of signal strength values.
[0133] In practical applications, the intensity value acquisition module 601, exciter determination module 602, positioning area determination module 603, offline fingerprint database construction module 604, and location information determination module 605 can be implemented by the processor in the RFID-based indoor positioning device 600. Of course, the processor needs to run the computer program in the memory to implement its functions.
[0134] It should be noted that the RFID-based indoor positioning device provided in the above embodiments is only illustrated by the division of the above program modules. In practical applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the RFID-based indoor positioning device and the RFID-based indoor positioning method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0135] Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiments of this application, the embodiments of this application also provide an electronic device. Figure 7 The diagram shows only an exemplary structure of the electronic device, not the entire structure; implementation is possible as needed. Figure 7 The structure shown may be part or all of the structure.
[0136] like Figure 7 As shown, the electronic device 700 provided in this application embodiment includes: at least one processor 701, a memory 702, a user interface 703, and at least one network interface 704. The various components in the electronic device 700 are coupled together via a bus system 705. It can be understood that the bus system 705 is used to implement communication between these components. In addition to a data bus, the bus system 705 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 7 The general labeled all buses as Bus System 705.
[0137] The user interface 703 may include a monitor, keyboard, mouse, trackball, click wheel, buttons, touchpad, or touch screen.
[0138] The memory 702 in this embodiment is used to store various types of data to support the operation of the electronic device. Examples of such data include any computer program used to operate on the electronic device.
[0139] The RFID-based indoor positioning method disclosed in this application can be applied to, or implemented by, processor 701. Processor 701 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the RFID-based indoor positioning method can be completed by the integrated logic circuitry in the hardware of processor 701 or by instructions in software form. The processor 701 can be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 701 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software modules can be located in a storage medium, specifically memory 702. Processor 701 reads information from memory 702 and, in conjunction with its hardware, completes the steps of the RFID-based indoor positioning method provided in the embodiments of this application.
[0140] In an exemplary embodiment, the electronic device may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.
[0141] It is understood that memory 702 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.
[0142] In an exemplary embodiment, this application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, such as a memory 702 that stores a computer program. The computer program can be executed by a processor 701 of an electronic device to complete the steps described in the method of this application embodiment. The computer-readable storage medium can be a ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM, etc.
[0143] It should be noted that terms such as "first" and "second" are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0144] Furthermore, the technical solutions described in the embodiments of this application can be combined arbitrarily without conflict.
[0145] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. An indoor positioning method based on RFID, characterized in that: The method comprises: Acquire multiple first received signal strength values of the tag at the point to be located, each of the first received signal strength values represents the signal strength of a reflected signal generated by the tag at the point to be located under an excitation signal of an exciter in the area to be located, and the number of exciters in the area to be located is multiple; Based on the multiple first received signal strength values, determining the target exciter of the tag at the point to be located; wherein the fluctuation of the first received signal strength value generated by the tag at the point to be located under the excitation signal of the target exciter is less than or equal to a set fluctuation threshold; Controlling the antenna of the target exciter to scan at a plurality of preset angles, and determining the positioning area where the tag of the point to be positioned is located based on the scanning result; Based on the position information of multiple target reference points in the positioning area, the position information of the tag of the point to be positioned is determined.
2. The method according to claim 1, characterized in that The step of determining the target exciter of the tag at the point to be located based on the multiple first received signal strength values includes: Based on the multiple first received signal strength values, determining a variance value of the first received signal strength values generated by the tag at the point to be located under the excitation signal of the same exciter; The exciter whose variance value is less than or equal to the set fluctuation threshold is used as the target exciter of the tag of the point to be located.
3. The method according to claim 1, characterized in that The determining the positioning area where the tag of the point to be positioned is located based on the scanning result includes: Determine the number of target exciter antennas that scan the tag at the point to be located based on the scanning result; Based on the number of the target exciter antennas and the scanning angle of the target exciter antennas, a positioning area where the tag of the point to be positioned is located is determined.
4. The method according to claim 3, characterized in that The area to be positioned includes a plurality of grid areas, and the actuator is located at a cross point between the grid areas; The determining the positioning area where the tag of the point to be positioned is located based on the number of the target exciter antennas and the scanning angle of the target exciter antennas includes: If it is determined that the number of the target exciter antennas is 1 or greater than 2, determining a first grid area scanned based on a scanning angle of the target exciter antenna, and determining a positioning area where the tag of the point to be positioned is located based on the first grid area; If it is determined that the number of the target exciter antennas is 2, then based on the scanning angles of the two target exciter antennas, a second grid area within the angle range between the two target exciter antennas is determined, and based on the second grid area, the positioning area where the tag of the point to be positioned is located is determined.
5. The method according to claim 2, characterized in that: Before obtaining a plurality of first received signal strength values of the tag at the point to be located, the method further includes: Acquire multiple second received signal strength values of each reference point in the area to be positioned, where the second received signal strength value represents the signal strength of the reflected signal generated by the excitation signal of the exciter in the area to be positioned after the tag is deployed at the reference point; Based on the multiple second received signal strength values, multiple first average received signal strength values of each reference point are obtained, and the number of the first average received signal strength values corresponds to the number of exciters in the area to be located.
6. The method according to claim 5, characterized in that The determining the position information of the tag of the point to be located based on the position information of multiple target reference points in the positioning area includes: Based on the multiple first received signal strength values, determining multiple second average received signal strength values, the number of the second average received signal strength values corresponding to the number of exciters in the area to be located; Determine a signal strength deviation value between the tag of the point to be located and each of the target reference points based on each of the second average received signal strength values and a plurality of first average received signal strength values corresponding to each of the target reference points; Based on the position information of each target reference point and each signal strength deviation value, the position information of the tag of the point to be located is determined.
7. The method according to claim 1, characterized in that The obtaining of a plurality of first received signal strength values of the tag at the point to be located comprises: Sending an instruction to the receiver, wherein the instruction is used to instruct the receiver to control the exciter to send an excitation signal to the tag of the point to be located; Acquire a plurality of signal strength values returned by the receiver in response to the instruction, wherein the signal strength values are determined by the receiver based on a reflection signal generated by the tag at the point to be located under the excitation signal; Based on the multiple signal strength values, multiple first received signal strength values of the tag at the point to be located are determined.
8. An indoor positioning device based on RFID, characterized in that: The device comprises: A strength value acquisition module, used to acquire multiple first received signal strength values of the tag at the point to be located, each of which represents the signal strength of the reflected signal generated by the tag at the point to be located under the excitation signal of the exciter in the area to be located, and the number of exciters in the area to be located is multiple; An exciter determination module, configured to determine a target exciter of the tag at the point to be located based on the multiple first received signal strength values, wherein the fluctuation of the first received signal strength value corresponding to the target exciter is less than a fluctuation threshold; A positioning area determination module, used to control the antenna of the target exciter to scan at a plurality of preset angles, and determine the positioning area where the tag of the point to be positioned is located based on the scanning result; The position information determination module is used to determine the position information of the tag of the point to be located based on the position information of multiple target reference points in the positioning area.
9. An electronic device, characterized in that: include: A processor and a memory for storing a computer program that can be executed on the processor, wherein: The processor is used to execute the steps of the method according to any one of claims 1 to 7 when running a computer program.
10. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Indoor positioning method and device and related equipment
CN119789046A
Positioning method and apparatus, device, and storage medium
WO2026086562A1
