Radio frequency positioning method, device, equipment, medium and product
By using particle filtering process in RF positioning for probability distribution solutions, the problem of low positioning efficiency in traditional RF positioning methods is solved, and the effect of simplifying the hardware environment and improving positioning efficiency is achieved.
Patent Information
- Application Number
- CN202411013761.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-08
AI Technical Summary
Traditional RF positioning methods have the problem of low positioning efficiency and need to improve positioning efficiency.
By obtaining the reader's phase measurement data and the initial position data of the target label during the particle filtering process, the probability distribution solution is performed, and the particle filtering process iterates until the preset number of iterations is reached. According to the intermediate weight and initial position data, the result is obtained. Target location data for the target tag.
This method effectively simplifies the hardware environment required for RF positioning, reduces equipment requirements and computing complexity, improves the positioning efficiency of RF positioning, and can quickly and accurately obtain target position data of target tags.
Smart Images

Figure CN118916636A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of radio frequency identification technology, and in particular to a radio frequency positioning method, device, equipment, medium and product. Background Art
[0002] In the power system, with the development of radio frequency identification technology, positioning technology using radio frequency signals has emerged to locate personnel and equipment in the power system.
[0003] In traditional technology, reference tags are deployed in the power system, and the signal strength of the target tag received by the reader is compared with the signal strength of the reference tag to determine the target location data corresponding to the target tag.
[0004] However, the traditional radio frequency positioning method has the problem of low positioning efficiency. Summary of the invention
[0005] Based on this, it is necessary to provide a radio frequency positioning method, device, equipment, medium and product that can improve positioning efficiency in response to the above technical problems.
[0006] In a first aspect, the present application provides a radio frequency positioning method, the method comprising:
[0007] Obtain the phase measurement data corresponding to the reader and the initial position data corresponding to the target tag in each particle filtering process;
[0008] For each particle filtering process, the phase measurement data is processed for probability distribution based on the initial position data to obtain the intermediate weights;
[0009] The particle filtering process is iterated until the preset number of iterations is reached, and the target position data corresponding to the target label is obtained according to the intermediate weights and the initial position data.
[0010] In one of the embodiments, the particle filtering process in the provided method includes a plurality of particles;
[0011] The process of obtaining the initial position data corresponding to the target label in each particle filtering process in the provided method includes: for each particle, obtaining the initial position data corresponding to the target label as the particle position data corresponding to the particle;
[0012] The method provided herein performs probability distribution solution processing on phase measurement data based on initial position data to obtain an intermediate weight process, including:
[0013] For each particle, based on the particle position data, the phase measurement data is processed for probability distribution to obtain the update weight corresponding to each particle;
[0014] Each updated weight is normalized to obtain the intermediate weight.
[0015] In one embodiment, the method provided is based on the particle position data, and the process of solving the probability distribution of the phase measurement data to obtain the update weight corresponding to each particle includes:
[0016] According to the phase measurement data, distance measurement data is obtained;
[0017] According to the preset probability density function, the distance measurement data is processed under the condition of the particle position data to obtain the probability density data;
[0018] According to the probability density data, the updated weights are obtained.
[0019] In one of the embodiments, the provided method further includes: obtaining reading position data corresponding to the reader and an initial phase angle corresponding to each particle;
[0020] The process of obtaining distance measurement data according to phase measurement data in the provided method includes:
[0021] According to the phase measurement data and the initial phase angle, phase deviation data is obtained;
[0022] According to the initial position data and the reading position data, the distance deviation data is obtained;
[0023] The data with a larger value among the phase deviation data and the distance deviation data is used as the first distance data, and the data with a smaller value among the phase deviation data and the distance deviation data is used as the second distance data;
[0024] Distance measurement data is obtained according to the first distance data and the second distance data.
[0025] In one embodiment, the probability density function in the provided method follows a Gaussian distribution;
[0026] The method provided herein obtains the process of updating weights according to probability density data, including:
[0027] The initial weight corresponding to each particle is multiplied by the probability density data to obtain the updated weight.
[0028] In one embodiment, the method provided herein includes obtaining target position data corresponding to a target tag according to the intermediate weight and the initial position data, including:
[0029] The intermediate weight is multiplied by the initial position data to obtain the intermediate position data;
[0030] The intermediate position data corresponding to each particle is accumulated and processed to obtain the target position data.
[0031] In a second aspect, the present application also provides a radio frequency positioning device, the device comprising:
[0032] A data acquisition module is used to acquire the phase measurement data corresponding to the reader and the initial position data corresponding to the target tag in each particle filtering process;
[0033] A weight calculation module is used to solve the probability distribution of the phase measurement data based on the initial position data for each particle filtering process to obtain the intermediate weight;
[0034] The position determination module is used to iterate the particle filtering process until a preset number of iterations is reached, and obtain the target position data corresponding to the target tag according to the intermediate weight and the initial position data.
[0035] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method of the first aspect are implemented.
[0036] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the method of the first aspect when the computer program is executed by a processor.
[0037] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which implements the steps of the method of the first aspect when executed by a processor.
[0038] The above-mentioned radio frequency positioning method, device, equipment, medium and product obtain the phase measurement data corresponding to the reader and the initial position data corresponding to the target tag in each particle filtering process; for each particle filtering process, based on the initial position data, the phase measurement data is subjected to probability distribution solution processing to obtain an intermediate weight; the particle filtering process is iterated until a preset number of iterations is reached, and the target position data corresponding to the target tag is obtained according to the intermediate weight and the initial position data. In the present application, the phase measurement data is subjected to probability distribution solution to obtain the intermediate weight corresponding to the particle filtering process, that is, the observation probability is calculated according to the measurement value, so as to determine the target position data, avoiding the need to pre-set reference tags in traditional technologies, and obtaining and processing the position data corresponding to the reference tags during the radio frequency positioning process, thereby effectively simplifying the hardware environment required for the radio frequency positioning method, reducing equipment requirements and computational complexity, so as to quickly and accurately obtain the target position data corresponding to the target tag, and improve the positioning efficiency of the radio frequency positioning method. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 A diagram of an application environment of a radio frequency positioning method in an embodiment;
[0041] Figure 2 is a schematic flow chart of a radio frequency positioning method in an embodiment;
[0042] Figure 3 A schematic flow chart of the steps of obtaining the update weight corresponding to each particle in one embodiment;
[0043] Figure 4 is a flow chart of a radio frequency positioning method in another embodiment;
[0044] Figure 5 is a structural block diagram of a radio frequency positioning device in one embodiment;
[0045] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0047] The radio frequency positioning method provided in the embodiment of the present application can be applied to Figure 1 In the application environment of the power system shown. Among them, the reader 102 communicates with the tag 104 through a wireless channel, the reader 102 sends a radio frequency query signal to the tag 104, and receives a feedback signal generated by the tag 104 based on the radio frequency query signal; decodes the feedback signal, obtains the tag feedback information and sends it to the controller 106. In the power system, the reader 102 can be installed on a mobile inspection robot and other equipment. The controller 106 obtains the phase measurement data corresponding to the reader and the initial position data corresponding to the target tag in each particle filtering process according to the tag feedback information; for each particle filtering process, based on the initial position data, the phase measurement data is subjected to probability distribution solution processing to obtain the intermediate weight; the particle filtering process is iterated until the preset number of iterations is reached, and the target position data corresponding to the target tag is obtained according to the intermediate weight and the initial position data.
[0048] The target tag is one of the tags 104. The controller 106 can be a terminal or a server. The terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The server can be implemented as an independent server or a server cluster consisting of multiple servers.
[0049] Optionally, the reader 102 can be an Impinj Speedway R420 RFID (Radio Frequency Identification) model, equipped with an MTI MT-242032 7 dBic reader antenna and up to three FlexiRAY SF-2110 5 dBi antennas. The controller 106 can be a custom software of the API (Application Programming Interface) in Impinj's LTK (Low-Level Reader Protocol Toolkit). The transmission power of the reader 102 is set between 20 dBm and 30 dBm, and the antenna and tag 104 are placed at a height of 1.52 meters. At each position of the antenna, a 4-second RF query signal is sent at each transmission power level, and the number of tag measurements increases as the transmission power increases. The cable loss and reader output power are measured using a vector network analyzer and a spectrum analyzer, respectively.
[0050] In an exemplary embodiment, Figure 2 As shown, a radio frequency positioning method is provided, which is applied to Figure 1 The controller 106 in the example is a terminal, and the description includes the following steps 202 to 206. Among them:
[0051] Step 202: Acquire the phase measurement data corresponding to the reader and the initial position data corresponding to the target tag in each particle filtering process.
[0052] The phase measurement data may be obtained by the reader 102 or the controller 106 according to the communication status between the reader 102 and the target tag. The initial position data corresponding to the target tag in each particle filtering process may be represented by a coordinate position matrix.
[0053] Exemplary, initial position data The definition of can be expressed as:
[0054]
[0055] Exemplarily, the radio frequency query signal sent by the reader 102 to the target tag is a carrier frequency of , the phase is The time delay of the target tag receiving the signal It can be expressed as:
[0056]
[0057] in, is the Euclidean distance between the reader 102 and the target tag, is the speed of light, is the carrier wavelength, is the reading position data corresponding to the reader 102, is the location data of the target tag. The phase of the signal received by the target tag can be expressed as:
[0058]
[0059] in, is the angular wave number.
[0060] It can be understood that in a flat fading wireless channel without other propagation paths, the target tag receiving the RF query signal sent by the reader 102 will introduce Phase. When there is multipath between the reader 102 and the target tag, the flat fading channel can be written as:
[0061]
[0062]
[0063] in, For the The length of the propagation path depends on the position of the reflector, the position of the reader 102 and the target tag, and the complex coefficient It depends on the spatial geometry, reflecting objects and antenna gain. Therefore, the phase of the feedback signal received by the reader 102 is It can be expressed as:
[0064] .
[0065] Optionally, the condition of the target tag itself will also affect the phase measurement data. For example, the nonlinear effect of the target tag hardware itself may affect the signal receiving power of the target tag, thereby affecting the terminal load and spatial reflection coefficient corresponding to the target tag, and introducing a deviation term for the phase of the feedback signal. In addition, the target tag hardware wiring may introduce a constant phase drift , the reader receiving link may introduce phase noise At this time, the phase of the feedback signal received by the reader is It can be expressed as:
[0066]
[0067]
[0068]
[0069] In this step, the phase measurement data corresponding to the reader The difference should be within the preset error range. Useful items in by a constant unknown phase term and a variable unknown In a strong multipath environment, even if the position of the target tag or reader changes within the order of one wavelength, existence, There can also be very large changes.
[0070]
[0071] That is, the phase It depends not only on the distance between the target tag and the reader, but also on the hardware conditions in the power system used and the identification environment. It can be expressed as:
[0072] ,
[0073] in, equal right Modulo, N is a natural number.
[0074] Step 204 , for each particle filtering process, based on the initial position data, the phase measurement data is subjected to probability distribution solution processing to obtain an intermediate weight.
[0075] In a possible implementation, each particle filtering process includes multiple particles. For each particle, the initial position data corresponding to the target label is obtained as the particle position data corresponding to the particle; based on the particle position data, the phase measurement data is subjected to probability distribution solution processing to obtain the update weight corresponding to each particle; each update weight is normalized to obtain an intermediate weight.
[0076] Exemplarily, each particle filtering process may include M particles, and the search dimension corresponding to the particle filtering process may be expressed as:
[0077]
[0078] For particle m, obtain the initial position data corresponding to the target label, that is, the particle position data χ [m] Including coordinate matrix position :
[0079]
[0080] in,
[0081]
[0082] That is, the x, y and z coordinates in the particle position data corresponding to each particle in the particle filtering process obey a uniform distribution within the corresponding search dimension interval.
[0083] Among them, the probability distribution solution process is to determine the probability that the target label is in the initial position data, that is, the probability that the particle can be observed under the condition of the particle position data, based on the probability distribution function, and use the observed probability data as the update weight corresponding to the particle, or in other words, use the probability data that meets the conditional likelihood function of the phase measurement data as the update weight corresponding to the particle. In the particle filtering process, the probability distribution solution process is performed on each particle to obtain the update weight corresponding to each particle, and each update weight is normalized to obtain the intermediate weight, so that the sum of each intermediate weight is 1. The update weight corresponding to particle m can be expressed as w 1 [m] , the intermediate weight can be expressed as w 2 [m] :
[0084]
[0085] Step 206, iterate the particle filtering process until a preset number of iterations is reached, and obtain the target position data corresponding to the target tag according to the intermediate weight and the initial position data.
[0086] Among them, the next particle filtering process tends to retain the particles with larger intermediate weights in the previous particle filtering process. In the next particle filtering process, the particle position data and intermediate weights of the particles with larger intermediate weights in the previous particle filtering process are retained. For the resampled particles, the particle position data is determined based on the search dimension. According to the intermediate weights and particle position data corresponding to each particle in the last particle filtering process, the target position data is obtained.
[0087] In the above-mentioned radio frequency positioning method, the phase measurement data corresponding to the reader and the initial position data corresponding to the target tag in each particle filtering process are obtained; for each particle filtering process, the phase measurement data is subjected to probability distribution solution processing based on the initial position data to obtain an intermediate weight; the particle filtering process is iterated until a preset number of iterations is reached, and the target position data corresponding to the target tag is obtained according to the intermediate weight and the initial position data. In this embodiment, the phase measurement data is subjected to probability distribution solution to obtain the intermediate weight corresponding to the particle filtering process, that is, the observation probability is calculated according to the measurement value, so as to determine the target position data, avoiding the need to pre-set the reference tag in the traditional technology, and obtaining and processing the position data corresponding to the reference tag in the radio frequency positioning process, thereby effectively simplifying the hardware environment required for the radio frequency positioning method, reducing the equipment requirements and the computational complexity, so as to quickly and accurately obtain the target position data corresponding to the target tag, and improve the positioning efficiency of the radio frequency positioning method.
[0088] In an exemplary embodiment, based on Figure 2 The embodiment shown, as Figure 3 As shown, in the provided method, for each particle, based on the initial position data corresponding to the particle, the phase measurement data is used to perform probability distribution solution processing to obtain the update weight corresponding to each particle, including:
[0089] Step 302: Obtain distance measurement data according to the phase measurement data.
[0090] In a possible implementation, the method further includes: obtaining a reading position corresponding to the reader Data and the initial phase angle corresponding to each particle. Step 302 includes:
[0091] A1: Obtain phase deviation data based on phase measurement data and initial phase angle.
[0092] Exemplarily, in combination with the above embodiment, during the particle filtering process, the initial position data corresponding to the particle m χ [m] Also includes the initial phase angle θ [m] :
[0093]
[0094] Sampling bias data It can be expressed as:
[0095]
[0096]
[0097] Phase deviation data It can be expressed as:
[0098]
[0099] A2: Obtain distance deviation data based on the initial position data and the reading position data.
[0100] Among them, the distance deviation data can be expressed as:
[0101]
[0102] A3: The data with a larger value between the phase deviation data and the distance deviation data is used as the first distance data, and the data with a smaller value between the phase deviation data and the distance deviation data is used as the second distance data.
[0103] Among them, the first distance data and the second distance data They can be expressed as:
[0104]
[0105]
[0106] A4: Obtain distance measurement data according to the first distance data and the second distance data.
[0107] Among them, for the first distance data and the second distance data Perform difference processing to obtain the distance difference; use the half wavelength corresponding to the carrier wavelength Perform difference processing with the distance difference to obtain a half-wave difference; the smaller value between the distance difference and the half-wave difference is used as the distance measurement data.
[0108] Optional, when the first distance data Phase deviation data and distance deviation data The smaller value of the second distance data When it is a larger value, the distance difference is the first distance data and the second distance data The absolute value data obtained by performing difference processing, the distance measurement data can be the smaller value between the distance difference and the half-wave difference.
[0109] For example, distance measurement data It can be expressed as:
[0110]
[0111] Step 304: According to a preset probability density function, the distance measurement data is subjected to probability distribution solution processing under the condition of the initial position data to obtain probability density data.
[0112] Step 306, obtaining updated weights according to the probability density data.
[0113] For example, for particle m, update the weight w 1 [m] Probability density data can be used express:
[0114] .
[0115] Exemplarily, the preset probability density function can be solved using a Gaussian kernel function, an exponential kernel function, or a polynomial kernel function.
[0116] In a possible implementation, there may be multiple distance measurement data in the particle filtering process, and the distance measurement data according to the acquisition time can be expressed as , The corresponding reading position data can be expressed as .
[0117] In a possible implementation, the probability density function in the provided method obeys a Gaussian distribution.
[0118] At this time, update the weights w 1 [m] It can be expressed as:
[0119]
[0120] in, With distance units, Depends on the power of the phase measurement noise. For example, in a strong multipath environment and over a large range of RF positioning, The value should increase.
[0121] In the provided method, step 306 includes: performing multiplication operation on the initial weight corresponding to each particle and the probability density data to obtain an updated weight.
[0122] For example, the initial weight corresponding to particle m is w 0 [m] are all 1. In the particle filtering process, for the distance measurement data , the updated weight corresponding to particle m w 1 [m] It can be expressed as:
[0123]
[0124]
[0125] In an exemplary embodiment, based on Figure 2 In the embodiment shown in the figure, the process of obtaining the target position data corresponding to the target tag according to the intermediate weight and the initial position data in the provided method includes: w 2 [m] With initial position data χ [m] Perform multiplication processing to obtain intermediate position data; perform accumulation processing on the intermediate position data corresponding to each particle to obtain target position data.
[0126] Among them, the position data corresponding to the nth particle filtering process x ̂ T [n] It can be expressed as:
[0127]
[0128] The preset number of iterations is N, and the target position data x ̂ T [N] It can be expressed as:
[0129]
[0130] In this embodiment, the measured distance between the target tag and the reader is determined using the phase measurement data, and the probability distribution of the measured distance is solved to obtain the weight corresponding to the target position data, thereby accurately and reliably locating the target tag.
[0131] In an exemplary embodiment, Figure 4 As shown, a radio frequency positioning method is provided, which is applied to Figure 1 The controller 106 in the example is a terminal, and the method includes the following steps 401 to 410. Among them:
[0132] Step 401, obtain the phase measurement data, reading position data and initial position data of the target tag in each particle filtering process corresponding to the reader. The particle filtering process includes multiple particles; the initial position data corresponding to the target tag is obtained as the particle position data corresponding to the particle; and the initial phase angle corresponding to each particle is obtained.
[0133] Step 402: In each particle filtering process, for each particle, phase deviation data is obtained according to the phase measurement data and the initial phase angle.
[0134] Step 403, obtaining distance deviation data according to the initial position data and the reading position data.
[0135] Step 404: The data with a larger value between the phase deviation data and the distance deviation data is used as the first distance data, and the data with a smaller value between the phase deviation data and the distance deviation data is used as the second distance data.
[0136] Step 405: Obtain distance measurement data according to the first distance data and the second distance data.
[0137] Step 406: According to a preset probability density function, the distance measurement data is subjected to probability distribution solution processing under the condition of the particle position data to obtain probability density data.
[0138] Step 407 , multiplying the initial weight corresponding to each particle with the probability density data to obtain an updated weight.
[0139] Step 408, normalize each updated weight to obtain an intermediate weight.
[0140] Step 409, iterate the particle filtering process until a preset number of iterations is reached, and perform multiplication operation on the intermediate weight and the initial position data to obtain the intermediate position data.
[0141] Step 410 , performing accumulation operation on the intermediate position data corresponding to each particle to obtain the target position data.
[0142] In a possible implementation, the above radio frequency positioning method can be described in the form of an algorithm:
[0143]
[0144] In this embodiment, by performing probability distribution solution processing on the phase measurement data, accurate target position data can be stably obtained when the phase measurement data is small or variable, avoiding the need to deploy reference tags in advance or specific requirements for reader antennas in traditional technologies, and being able to adapt to the multipath effects in the power system, improving the scene adaptability and positioning efficiency of the radio frequency positioning method. The radio frequency positioning method provided in this embodiment can achieve a decimeter-level positioning error for the target tag. Under higher transmission power conditions, the average absolute error is less than 2 centimeters, which is equivalent to less than 2% of the range from the target tag to the reader set to 1 meter.
[0145] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0146] Based on the same inventive concept, the embodiment of the present application also provides a radio frequency positioning device for implementing the radio frequency positioning method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more radio frequency positioning device embodiments provided below can refer to the limitations of the radio frequency positioning method above, and will not be repeated here.
[0147] In an exemplary embodiment, Figure 5 As shown, a radio frequency positioning device is provided, including: a data acquisition module 502, a weight calculation module 504 and a position determination module 506, wherein:
[0148] The data acquisition module 502 is used to acquire the phase measurement data corresponding to the reader and the initial position data corresponding to the target tag in each particle filtering process;
[0149] A weight calculation module 504 is used to perform probability distribution solution processing on the phase measurement data based on the initial position data for each particle filtering process to obtain an intermediate weight;
[0150] The position determination module 506 is used to iterate the particle filtering process until a preset number of iterations is reached, and obtain the target position data corresponding to the target tag according to the intermediate weight and the initial position data.
[0151] In one embodiment, the particle filtering process includes multiple particles; the data acquisition module 502 is also used to obtain, for each particle, the initial position data corresponding to the target tag as the particle position data corresponding to the particle; the weight calculation module 504 is also used to, for each particle, based on the particle position data, perform probability distribution solution processing on the phase measurement data to obtain the updated weight corresponding to each particle; each updated weight is normalized to obtain an intermediate weight.
[0152] In one embodiment, the weight calculation module 504 is also used to obtain distance measurement data based on phase measurement data; according to a preset probability density function, the distance measurement data is subjected to probability distribution solution processing under the condition of particle position data to obtain probability density data; and based on the probability density data, an updated weight is obtained.
[0153] In one embodiment, the data acquisition module 502 is also used to obtain the reading position data corresponding to the reader and the initial phase angle corresponding to each particle; the weight calculation module 504 is also used to obtain phase deviation data based on the phase measurement data and the initial phase angle; obtain distance deviation data based on the initial position data and the reading position data; use the data with the larger value among the phase deviation data and the distance deviation data as the first distance data, and use the data with the smaller value among the phase deviation data and the distance deviation data as the second distance data; and obtain distance measurement data based on the first distance data and the second distance data.
[0154] In one embodiment, the probability density function obeys Gaussian distribution; the weight calculation module 504 is further used to multiply the initial weight corresponding to each particle with the probability density data to obtain an updated weight.
[0155] In one embodiment, the position determination module 506 is further used to perform multiplication operation on the intermediate weight and the initial position data to obtain the intermediate position data; and perform accumulation operation on the intermediate position data corresponding to each particle to obtain the target position data.
[0156] Each module in the above-mentioned radio frequency positioning device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0157] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a radio frequency positioning method is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0158] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0159] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0160] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0161] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0162] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0163] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0164] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0165] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A radio frequency positioning method, characterized in that: The method comprises: Obtain the phase measurement data corresponding to the reader and the initial position data corresponding to the target tag in each particle filtering process; For each of the particle filtering processes, based on the initial position data, the phase measurement data is subjected to probability distribution solution processing to obtain an intermediate weight; The particle filtering process is iterated until a preset number of iterations is reached, and the target position data corresponding to the target tag is obtained according to the intermediate weight and the initial position data.
2. The method according to claim 1, characterized in that The particle filtering process includes a plurality of particles; The process of obtaining the initial position data corresponding to the target tag in each particle filtering process includes: for each particle, obtaining the initial position data corresponding to the target tag as the particle position data corresponding to the particle; The performing probability distribution solving processing on the phase measurement data based on the initial position data to obtain an intermediate weight comprises: For each of the particles, based on the particle position data, the phase measurement data is subjected to probability distribution solution processing to obtain an update weight corresponding to each of the particles; Each of the updated weights is normalized to obtain the intermediate weight.
3. The method according to claim 2, characterized in that The method of performing probability distribution solving processing on the phase measurement data based on the particle position data to obtain an update weight corresponding to each particle includes: Obtaining distance measurement data according to the phase measurement data; According to a preset probability density function, the distance measurement data is subjected to probability distribution solution processing under the condition of the particle position data to obtain probability density data; The updated weight is obtained according to the probability density data.
4. The method according to claim 3, characterized in that The method further comprises: acquiring reading position data corresponding to the reader and an initial phase angle corresponding to each of the particles; The obtaining of distance measurement data according to the phase measurement data comprises: Obtaining phase deviation data according to the phase measurement data and the initial phase angle; Obtaining distance deviation data according to the initial position data and the reading position data; The data with a larger value among the phase deviation data and the distance deviation data is used as the first distance data, and the data with a smaller value among the phase deviation data and the distance deviation data is used as the second distance data; The distance measurement data is obtained according to the first distance data and the second distance data.
5. The method according to claim 3, characterized in that: The probability density function obeys Gaussian distribution; The step of obtaining the update weight according to the probability density data comprises: The initial weight corresponding to each particle is multiplied by the probability density data to obtain the updated weight.
6. The method according to claim 2, characterized in that The step of obtaining target position data corresponding to the target tag according to the intermediate weight and the initial position data includes: Performing a multiplication operation on the intermediate weight and the initial position data to obtain intermediate position data; The intermediate position data corresponding to each of the particles is accumulated and processed to obtain the target position data.
7. A radio frequency positioning device, characterized in that: The device comprises: A data acquisition module is used to acquire the phase measurement data corresponding to the reader and the initial position data corresponding to the target tag in each particle filtering process; A weight calculation module, used for performing probability distribution solution processing on the phase measurement data based on the initial position data for each particle filtering process to obtain an intermediate weight; The position determination module is used to iterate the particle filtering process until a preset number of iterations is reached, and obtain the target position data corresponding to the target tag according to the intermediate weight and the initial position data.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable 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 6 are implemented.
10. A computer program product, comprising a computer program, 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 6 are implemented.
