Indoor mobile target positioning method and system
By remodeling the indoor positioning system, considering the mobility of the target to be measured and time-division ranging, establishing a ranging model based on distance offset and speed time, and improving the positioning algorithm, the problem of low positioning accuracy of indoor moving targets is solved. Achieving higher positioning accuracy and performance.
Patent Information
- Application Number
- CN202210229828.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-10
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing indoor positioning systems have the problem of low positioning accuracy in moving target positioning, which is mainly due to positioning errors caused by time-sharing ranging and mobility between the reference node and the target to be measured.
Remodel the indoor positioning system, consider the mobility of the target to be measured during the time-sharing ranging process of multiple reference nodes, establish a ranging model based on distance offset and speed time, and improve the classic positioning algorithm to reduce positioning errors.
It improves the positioning accuracy of indoor moving targets, effectively suppresses positioning errors caused by time-sharing ranging and mobility, and enhances the positioning performance of the system.
Smart Images

Figure CN114608580B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of indoor positioning technology, and in particular to an indoor mobile target positioning method and system. Background Art
[0002] With the reform and innovation of modern communication technology and the rapid growth of the performance of more new mobile devices such as mobile phones, tablets, wearable devices and other IoT devices, human beings have entered the era of the Internet of Everything. Many applications based on location awareness functions, such as indoor and outdoor navigation, product shopping guides, emergency rescue, medical monitoring, etc., are playing an increasingly important role in people's daily lives. People's demand for positioning services is constantly increasing, and the basis of all location-aware applications is the ability to continuously and reliably provide them with location information, that is, to obtain the location of devices or users in a variety of complex environments.
[0003] Outdoor positioning and location-based services have matured. Location services based on global satellite navigation and positioning systems and maps are widely used. The principle is to use the distance between the user terminal and known satellites to measure the user's accurate location information, which can well meet the positioning needs in outdoor environments. For outdoor scenes, the United States' Global Positioning System (GPS), Russia's GLONASS, the European Union's Galileo and China's Beidou Satellite Navigation System (BDS) have covered the world, and related navigation and positioning services have been widely used in outdoor scenes.
[0004] However, with the advancement of social modernization, people's main activities are increasingly concentrated indoors. According to statistics, people spend 80% of their time indoors every day. This practical demand has also prompted the research of indoor positioning technology. However, the indoor environment is usually complex, the satellite signal is severely attenuated in the indoor environment, and the satellite positioning accuracy is poor, which cannot meet the needs of indoor positioning. In addition, there are many obstacles between the target to be measured and the detector, which makes the transmission signal appear to be multipath dense and non-line-of-sight propagation. Therefore, the traditional outdoor positioning system cannot meet the needs of indoor positioning applications well. A series of technologies based on indoor positioning have emerged, such as infrared technology, wireless local area network (WLAN) technology, Bluetooth technology, ultra-wideband (UWB) technology, radio frequency identification (RFID) technology, etc., which are widely used in indoor scenes.
[0005] But in fact, there is no perfect system that can well meet the needs of indoor positioning. Most of the existing positioning systems are for indoor positioning of stationary targets. By improving and optimizing the positioning algorithm, the positioning accuracy of the indoor positioning system of stationary targets can be improved. The positioning system for mobile targets focuses on proposing and optimizing different indoor positioning tracking algorithms and path planning of mobile nodes. The positioning algorithm can be divided into ranging-based positioning algorithms and positioning algorithms without ranging according to whether ranging is required. The traditional ranging-based positioning algorithms mainly include triangulation, triangulation, maximum likelihood estimation, etc. The positioning algorithms without ranging mainly include centroid algorithm (CentroidLocalizationAlgorithm), convex programming positioning algorithm (Convex Programming LocalizationAlgorithm), DV-Hop (DistanceVector-Hop) algorithm, Amorphous algorithm, MDS (MultidimensionalScaling) algorithm, APIT (Approximate Point-In-TriangulationText) algorithm, etc.
[0006] For indoor positioning systems based on ranging, whether it is a stationary target indoor positioning system or a mobile target indoor positioning system, in theoretical analysis, the communication ranging process between multiple reference nodes (RN) and a target node (BlindNode, BN) at any time is carried out simultaneously at that time, that is, communication ranging between multiple groups of reference nodes and the same target to be measured can be carried out at any time. However, in the actual application of indoor positioning systems, when the ranging process between multiple reference nodes and the target to be measured is realized by time division multiplexing, due to the limitations of channels, frequencies and hardware modules, except for broadcast communication, at any time, each reference node can only perform point-to-point communication with the target to be measured. Therefore, at any time, multiple reference nodes cannot simultaneously communicate with the target to be measured, that is, each reference node needs to perform ranging with the target to be measured in time division to avoid communication conflicts. For the indoor positioning system of stationary targets, the time-sharing ranging of the reference node has no effect on it. However, for the indoor positioning system of moving targets, due to the time-sharing of the reference node and the mobility of the target to be measured, the target to be measured is also constantly moving during the ranging process between any reference node and the target to be measured. Therefore, when the next reference node measures the distance between the target to be measured, the position of the target to be measured has changed. Therefore, in the entire positioning process, the movement of the target to be measured when the reference node and the target to be measured perform multi-group time-sharing ranging becomes the main factor causing positioning error.
[0007] Based on this, there is an urgent need for a positioning method and system that can improve positioning accuracy. Summary of the invention
[0008] The purpose of the present invention is to provide a method and system for indoor mobile target positioning, to remodel the classic indoor positioning system model, to make it more suitable for practical application of indoor mobile target positioning system, and to improve the positioning accuracy of indoor mobile targets.
[0009] To achieve the above object, the present invention provides the following solutions:
[0010] A method for positioning an indoor mobile target, the method comprising:
[0011] Considering the mobility of the target in the time-sharing ranging process of multiple reference nodes, the classic indoor positioning system model is remodeled to obtain an improved indoor positioning system model.
[0012] The classic indoor positioning algorithm is improved according to the improved indoor positioning system model to obtain an improved indoor positioning algorithm;
[0013] The improved indoor positioning algorithm is used to solve the improved indoor positioning system model to obtain the positioning result of the target to be measured.
[0014] An indoor mobile target positioning system, the positioning system comprising:
[0015] The model improvement module is used to consider the mobility of the target to be measured during the time-sharing ranging process of multiple reference nodes, remodel the classic indoor positioning system model, and obtain an improved indoor positioning system model;
[0016] An algorithm improvement module is used to improve the classic indoor positioning algorithm according to the improved indoor positioning system model to obtain an improved indoor positioning algorithm;
[0017] The positioning module is used to solve the improved indoor positioning system model by using the improved indoor positioning algorithm to obtain the positioning result of the target to be measured.
[0018] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0019] The present invention is used to provide an indoor mobile target positioning method and system. The mobility of a target to be measured in the time-sharing ranging process of multiple reference nodes is first considered, and the classic indoor positioning system model is remodeled to obtain an improved indoor positioning system model. Then, the classic indoor positioning algorithm is improved according to the improved indoor positioning system model to obtain an improved indoor positioning algorithm. Finally, the improved indoor positioning system model is solved using the improved indoor positioning algorithm to obtain a positioning result of the target to be measured. The present invention is directed to an indoor mobile target positioning system, and the time-sharing ranging of a target to be measured by multiple reference nodes at any time and the mobility of the target to be measured in the multi-component time-sharing ranging process are taken into consideration. The classic indoor positioning system model is remodeled and the algorithm is studied to make it more suitable for an indoor mobile target positioning system, achieve effective suppression of positioning errors, and improve system positioning performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 This is a timing diagram of ranging in a point-to-point communication mode provided in Example 1 of the present invention;
[0022] Figure 2 A method flow chart of the positioning method provided by Embodiment 1 of the present invention;
[0023] Figure 3 A schematic diagram of an improved indoor positioning system model provided in Example 1 of the present invention;
[0024] Figure 4 This is a flow chart of the improved Taylor positioning algorithm provided in Example 1 of the present invention;
[0025] Figure 5 A curve diagram showing the change of positioning performance of the Taylor positioning algorithm based on distance deviation under two models provided in Example 1 of the present invention;
[0026] Figure 6 A curve diagram showing the change of positioning performance of the Taylor positioning algorithm based on the motion speed under the two models provided in Example 1 of the present invention;
[0027] Figure 7 A curve diagram showing the change of positioning performance of the Taylor positioning algorithm based on the ranging interval time under the two models provided in Example 1 of the present invention;
[0028] Figure 8 The chip structure diagram of DW1000 provided in Example 1 of the present invention;
[0029] Fig. 9 This is a flow chart of SDS-TWR ranging provided by Example 1 of the present invention;
[0030] Fig.10 A curve diagram showing the change of positioning performance of the Taylor positioning algorithm based on the ranging interval time under the speed-time-based ranging model provided in Example 1 of the present invention;
[0031] Fig.11 This is a system block diagram of a positioning system provided in Example 2 of the present invention. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] The purpose of the present invention is to provide an indoor mobile target positioning method and system, which relate to the fields of Internet of Things, wireless sensor and indoor positioning, and remodel the classic indoor positioning system model to make it more suitable for the practical application of indoor mobile target positioning system, thereby improving the positioning accuracy of indoor mobile targets.
[0034] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0035] Embodiment 1:
[0036] For indoor positioning systems based on ranging technology, whether it is a stationary target indoor positioning system or a mobile target indoor positioning system, in the theoretical model of the classic indoor positioning system, it is believed that a target to be measured can communicate with multiple reference nodes simultaneously to measure the distance at any time. However, in the actual application of the indoor positioning system, when time division multiplexing is used to realize the ranging process between multiple reference nodes and the target to be measured, due to the limitations of channels, frequencies and hardware modules, except for broadcast communication, at any time, each reference node and the target to be measured can only communicate point-to-point, that is, at any time, the target to be measured has no way to communicate and measure distance with multiple reference nodes at the same time.
[0037] like Figure 1 As shown, there are m reference nodes (RN1-RN m) and the target node BN to be measured in the point-to-point communication mode. (In a two-dimensional coordinate system, at least three reference nodes are required to locate the target to be measured, that is, m must be greater than or equal to 3; in a three-dimensional coordinate system, m≥4). At time t0, the reference node RN1 performs communication ranging with the target node BN to be measured. At time t1, RN1 completes the communication ranging process with BN and starts the communication ranging process with the reference node RN2 and BN, which is completed at time t2. And so on, at t m-1 The reference node RN is started at time m The communication distance measurement with BN is m At this point, all reference nodes have completed the communication and ranging process with the target node to be measured. The ranging cycle is T. Through each reference node, the ranging information with the target node to be measured is obtained, and the server can locate the position of the target node to be measured.
[0038] From the above timing analysis, it can be seen that in the actual application of the indoor positioning system based on time division multiplexing, in the point-to-point communication mode, at any time, multiple reference nodes RN1-RN m The distance measurement of the target to be measured needs to be carried out in time-sharing to avoid communication conflicts. In the broadcast communication mode, for the multi-target positioning system, when any target to be measured communicates and measures distance with multiple reference nodes through broadcasting, in order to avoid communication conflicts, other targets to be measured can only wait, that is, in the broadcast mode, what is involved is the time-sharing distance measurement of the target to be measured, which is another situation of the research problem of this embodiment. However, in the theoretical analysis of the classic indoor positioning system model, it is believed that the communication and ranging process between multiple reference nodes and a certain target to be measured at any time is carried out simultaneously at that moment, that is, it is believed that the ranging period T of multiple reference nodes to the target to be measured is a unit time, and the communication and ranging process of multiple groups of reference nodes and the target to be measured can be carried out at any time. At time k, the ranging model of the classic indoor positioning system (i.e., the classic indoor positioning system model described in this embodiment) is as follows:
[0039]
[0040] In formula (1), d i,k represents the distance between the i-th reference node and the target to be measured at time k; (x k ,y k , z k ) is the position coordinate of the target to be measured at time k; (x i ,y i , z i ) is the position coordinate of the i-th reference node at time k; v k represents the measurement noise, and v k Obey N(0, R k )distributed.
[0041] For the indoor positioning system of stationary targets, the time-sharing ranging of the reference node has no effect on it. However, for the indoor positioning system of mobile targets, due to the time-sharing ranging of the reference node and the mobility of the target to be measured, the target to be measured is also constantly moving during the ranging process between any reference node and the target. Therefore, when the next reference node measures the distance to the target again, the position of the target to be measured has changed, resulting in the above-mentioned classic indoor positioning system model not being applicable to the actual application of the mobile target positioning system. The mobility of the target to be measured when the reference node and the target to be measured perform multi-group time-sharing ranging also becomes a key factor causing large positioning errors in the mobile target positioning system.
[0042] Therefore, this embodiment, for the indoor mobile target positioning system, takes into account the time-sharing ranging of the target to be measured by multiple reference nodes at any time and the mobility of the target to be measured during the multi-group time-sharing ranging process, and remodels the classic indoor positioning system model to make it more suitable for the practical application of the indoor mobile target positioning system. The theoretical derivation of the classic indoor positioning algorithm is carried out based on the newly established system model, and then the influence of the main system parameters in the indoor mobile target positioning system on its positioning performance is analyzed, thereby providing a theoretical basis and parameter indicators for the application of the actual mobile target indoor positioning system.
[0043] Specifically, this embodiment is used to provide a method for positioning an indoor mobile target. Figure 2 As shown, the positioning method includes:
[0044] S1: Considering the mobility of the target to be measured in the time-sharing ranging process of multiple reference nodes, the classic indoor positioning system model is remodeled to obtain an improved indoor positioning system model;
[0045] Specifically, this embodiment establishes an improved indoor positioning system model for m fixed reference nodes in a three-dimensional coordinate system for any mobile target to be measured, such as Figure 3As shown, the rectangle represents the starting point of the movement of the mobile target, the triangle represents the end point of the movement of the mobile target, the solid line represents the actual movement trajectory of the mobile target, and the dotted line represents the movement trajectory of the target to be measured during the time-sharing ranging of the target to be measured by m reference nodes, which is used to vividly show that the indoor mobile target positioning system model is established by taking into account the time-sharing ranging of multiple reference nodes and the mobility of the target to be measured. This embodiment remodels the classic indoor positioning system model (as shown in formula (1)) based on the time-sharing ranging of multiple reference nodes in the mobile target indoor positioning system and the mobility characteristics of the target to be measured during multi-group time-sharing ranging, and establishes a ranging model based on distance deviation and a ranging model based on speed time. That is, the improved indoor positioning system model described in this embodiment includes a ranging model based on distance deviation and a ranging model based on speed time.
[0046] (1) Distance measurement model based on distance deviation
[0047] Due to the time-sharing ranging of multiple reference nodes and the mobility of the target to be measured, the target to be measured is still moving during the communication and ranging process between any reference node and the target to be measured. Therefore, when the next reference node measures the distance of the target to be measured, the position of the target to be measured has changed, and the target position observed by the reference node also changes with its movement. Define the i-th reference node (RN i ) is located at RN i =(x i ,y i ,z i ), at any time k, the i-th position coordinate of the target to be measured observed by the reference node is BN k (i) =(x k (i) ,y k (i) ,z k (i) ), then the ranging observation model of m reference nodes to the target to be measured is as follows:
[0048]
[0049] In formula (2), d i,k v represents the distance of the target to be measured observed by the i-th reference node at time k, that is, the distance between the i-th reference node and the target to be measured, i = 1, 2, ..., j, ..., m, m is the number of reference nodes; k represents the measurement noise, v k Obey N(0,R k )distributed.
[0050] However, in the actual positioning theory analysis, it is believed that at any time k, by solving the above equation group composed of multiple distance equations between the reference node and the target to be measured (i.e., equation (2)), the position of the node to be located (i.e., the target to be measured) at that time is only a single point coordinate (x k ,y k ,z k ), so at time k, in the process of multiple sets of distance measurements between the reference node and the target to be measured, the first target position measured by the reference node is defined as the actual position of the target to be measured, which is the position to be determined in formula (2), that is, BN k (1) (x k (1) ,y k (1) ,z k (1) )=BN(x k ,y k ,z k ). Then, due to the continuous movement of the target to be measured during the ranging process, the offset of the target position observed by the subsequent reference node is the key factor causing the positioning error in the mobile target positioning system.
[0051] Define the distance offset between the target positions observed by any two reference nodes in the future to be measured to be equal, which is δ d , where δ d =(δ x ,δ y ,δ z ), then the positions of the target to be measured measured by the subsequent reference nodes can be derived from the position of the target to be measured measured by the first reference node, that is, at time k, the position of the i-th target to be measured observed by the reference node is BN k (i) =BN k (i-1) +δ d , then the observation model of the m reference nodes to the mobile target (that is, the distance measurement model based on the distance deviation described in this embodiment) becomes:
[0052]
[0053] In formula (3), d i,k is the distance between the i-th reference node and the target to be measured at time k, i = 1, 2, ..., j, ..., m, m is the number of reference nodes; (x k ,y k , z k ) is the position coordinate of the target to be measured at time k; (δ x , δ y , δ z) is the distance offset between the coordinates of the target position measured by the two reference nodes at time k; (x i ,y i , z i ) is the position coordinate of the i-th reference node at time k; v k To measure noise.
[0054] (2) Speed-time-based distance measurement model
[0055] The distance offset δ between the positions of the target to be measured observed by any two reference nodes d It can also be expressed as the product of the target speed and the distance measurement interval between any two reference nodes. In the distance measurement model based on distance deviation, the distance offset δ between any target positions is defined as d If they are equal, then in the speed-time based ranging model, the target to be measured is defined to keep moving at a constant speed, with a speed of v, and the ranging interval between any two reference nodes is equal, which is δ t , then δ d =(v x ×δ t ,v y ×δ t ,v z ×δ t ), the motion model of the target to be measured is established as follows:
[0056]
[0057] In formula (4), (P x,k ,P y,k ,P z,k ) represents the position of the target to be measured at time k; (V x,k ,V y,k ,V z,k ) represents the speed of the target at time k; T represents the unit sampling interval; ω k represents the process noise, ω k Obey N(0,Q k )distributed.
[0058] From the above research, we can know that at any time k, the first target node position observed by the reference node is the true position of the target to be measured, that is, Z k,1 =S k , then the position model of the target to be measured observed by other reference nodes is:
[0059]
[0060] In formula (5), since there are m fixed reference nodes in the system model established in this embodiment, and the first moving target position observed by the reference node has been given, i is a positive integer and 2≤i≤m; Z k,i is the position of the target to be measured observed by the i-th reference node at time k.
[0061] Based on the above-mentioned target motion model and the target position model observed by the reference node, the observation model of the target (i.e., the speed-time-based ranging model described in this embodiment) can be established as follows:
[0062]
[0063] In formula (6), d i,k is the distance between the i-th reference node and the target to be measured at time k, i = 1, 2, ..., j, ..., m, m is the number of reference nodes; (P x,k , P y,k , P z,k ) is the position coordinate of the target to be measured at time k; δ t is the ranging interval between two reference nodes; (V x,k , V y,k , V z,k ) is the speed of the target to be measured at time k; (x i ,y i , z i ) is the position coordinate of the i-th reference node at time k; v k To measure noise.
[0064] S2: improving the classic indoor positioning algorithm according to the improved indoor positioning system model to obtain an improved indoor positioning algorithm;
[0065] Since the classic indoor positioning algorithm is based on the classic indoor positioning system model (i.e., formula (1)) to solve the position of the target to be measured, and through the above analysis, it can be known that the classic indoor positioning system model is not suitable for the positioning scenario of the indoor mobile target described in this embodiment, S1 systematically remodels the classic indoor positioning system model for indoor mobile targets and establishes two ranging models. Due to the improvement of the ranging model, the classic indoor positioning algorithm is no longer applicable. Therefore, this embodiment improves the classic indoor positioning algorithm to make it more suitable for the practical application of the mobile target positioning system, and can greatly reduce the positioning error caused by the time-sharing ranging of the reference node and the movement of the target to be measured. In short, the positioning algorithm of this embodiment is derived and studied based on the ranging model, and due to the improvement of the ranging model, the positioning algorithm is also improved accordingly.
[0066] S3: using the improved indoor positioning algorithm to solve the improved indoor positioning system model to obtain the positioning result of the target to be measured.
[0067] The classic indoor positioning algorithm of this embodiment may be the Taylor positioning algorithm. Based on the improved indoor positioning system model newly established in S1, a theoretical study of a classic indoor positioning algorithm is conducted, and the Taylor positioning algorithm is re-derived. The improved indoor positioning algorithm is the improved Taylor positioning algorithm. Then S3 may include:
[0068] (1) Initialize the position of the target to be measured to obtain an initial estimated position;
[0069] (2) Using Taylor series, the distance expression in the improved indoor positioning system model is expanded at the initial estimated position, and the expansion terms above the second order are ignored to obtain the measurement error vector;
[0070] (3) Let the measurement error vector be 0 and use the weighted least squares method to calculate the error;
[0071] (4) Determine whether the error is less than a preset threshold value;
[0072] (5) If yes, the initial estimated position is used as the positioning result of the target to be measured;
[0073] (6) If not, the sum of the initial estimated position and the error is used as the initial estimated position in the next cycle, and the process returns to the step of "expanding the distance expression in the improved indoor positioning system model at the initial estimated position using the Taylor series".
[0074] Specifically, this embodiment takes the speed-time based ranging model as an example to further illustrate the improvement process of the Taylor positioning algorithm: based on the ranging model of formula (6), the distance expression is obtained, and the moving speed v of the target to be measured and the ranging interval time are introduced into the Taylor positioning algorithm to obtain the improved Taylor positioning algorithm, which makes it more suitable for the practical application of the mobile target positioning system and can greatly reduce the positioning error caused by the time-sharing ranging of the reference node and the movement of the target to be measured.
[0075] The Taylor positioning algorithm (Taylor series expansion algorithm) is a recursive algorithm that requires an initial estimated position. In each recursion, the local least squares (LS) solution of the ranging error is solved to improve the position estimate of the tag. Figure 4 As shown, it is a flowchart of the improved Taylor positioning algorithm, including the following steps:
[0076] ① Assume that the actual position of the target to be measured is (x, y, z), and the initial estimated position is The error from the true value is δ x , δ y , δ z , then we have:
[0077] ② Based on the above speed-time based system modeling, the distance expression can be obtained, which is as follows:
[0078]
[0079] The above distance expression is Using Taylor series expansion, ignoring the expansion terms above the second order, we have:
[0080]
[0081] In formula (8), d i is the actual distance value from the reference node to the target node (i.e. the target to be measured).
[0082] The values of the partial derivatives are:
[0083]
[0084] Then we have:
[0085]
[0086] make
[0087]
[0088] Then the measurement error vector can be obtained as:
[0089] ψ t =h t -G t δ; (12)
[0090] In formula (12), ψ t is the measurement error vector; h t is the distance deviation matrix; G t is the partial derivative matrix; δ is the error.
[0091] ③Let the error function (i.e., the measurement error vector) ψ t =0, according to the weighted least squares method:
[0092] δ=(G t T Q -1 G t ) -1 G t T Q -1 ht ; (13)
[0093] In formula (13), Q is the covariance matrix of measurement error.
[0094] ④Judgment Is it less than the given threshold? If it is less than the threshold, then is the positioning result of the target node; if δ is greater than the threshold, proceed to step ⑤.
[0095] ⑤ Order Go to step ② to continue.
[0096] Furthermore, based on the system ranging model established in the above steps and the derived theoretical algorithm, this embodiment conducts a simulation study on the entire mobile target positioning system, verifies the effectiveness of the positioning algorithm under the above system model, and analyzes the influence of the main system parameters in the mobile target indoor positioning system on the positioning performance of the target to be measured. Specifically, the entire mobile target indoor positioning solution is simulated and analyzed for the newly established ranging model and positioning algorithm. Through specific data analysis, the correctness, applicability and effectiveness of the Taylor positioning algorithm re-derived in this embodiment are verified, which can effectively suppress the positioning error caused by the time-sharing ranging of the target to be measured by multiple reference nodes and the mobility of the target to be measured during the multi-group ranging process.
[0097] Through simulation analysis of the positioning algorithm of the classic indoor positioning system model and the indoor positioning system model based on the mobile target (i.e., the two improved indoor positioning system models established in this embodiment), the root mean square error (RMSE), that is, the arithmetic square root of the mean of the square of the difference between the true value and the estimated value of the position, is used as the judgment criterion to analyze the performance of the Taylor positioning algorithm for mobile targets under the classic indoor positioning system model and the improved indoor positioning system model proposed in this embodiment, as well as the influence of several system parameters on the positioning performance of the algorithm, to provide a theoretical basis and parameter indicators for the subsequent application of the actual mobile target positioning system.
[0098] In a three-dimensional coordinate system, the formula for the root mean square error (RMSE) is as follows:
[0099]
[0100] In formula (14), (x, y, z) is the actual position of the target to be measured; The estimated position of the target to be measured is obtained by the positioning algorithm.
[0101] In the three-dimensional coordinate system, the position of the reference node is fixed. In the simulation experiment of this embodiment, the position coordinates of the reference nodes are set to RN1 = (20, 0, 0), RN2 = (0, 20, 0), RN3 = (0, 0, 20), and RN4 = (20, 20, 20). Any target to be measured moves randomly within the coverage of the four reference nodes. The starting point of the movement of the target to be measured is BN1 (5, 5, 1.5). The target to be measured moves at v x =1m / s,v y =1m / s,v z =1m / s for uniform motion, the unit sampling interval is T=0.1s, the number of samplings is N=120, and the process noise is w k The covariance matrix Q k As shown in the following equation, the measurement noise v k The covariance matrix R k As shown in the following formula on the right.
[0102]
[0103] (1) Simulation analysis of the distance measurement model based on distance deviation
[0104] For the indoor mobile target positioning system, the Taylor positioning algorithm under the ranging model of a classic indoor positioning system and the ranging model based on distance deviation are simulated respectively, and the positioning algorithm under the two different system models is analyzed in the model based on distance deviation. d |Changed positioning performance. In S1, the distance offset between the positions of the target to be measured observed by any two reference nodes is defined as δ d , and δ d =(δ x ,δ y ,δ z ),but
[0105] like Figure 5 As shown in the figure, the Taylor positioning algorithm under the classic indoor positioning system ranging model and the ranging model based on distance deviation increases with |δ d |The changing positioning performance curve graph, the independent variable of the changing curve graph is the distance offset between the positions of the target to be measured observed by any two reference nodes |δ d |, the range of change is 0-2(m), and the dependent variable of the change curve is the root mean square error RMSE value, which is used to evaluate the positioning performance of the positioning system. The smaller the root mean square error value, the higher the positioning accuracy and the better the positioning performance. Figure 5 Some simulation data in the following table are shown in Table 1. Table 1 randomly selects 30 sets of data. In the table, Deltad represents the distance offset between the positions of the target to be measured observed by any two reference nodes |δd |, RMSE1 represents the root mean square error of the classic Taylor algorithm, and RMSE2 represents the root mean square error of the Taylor algorithm under the distance measurement model based on distance bias.
[0106] Table 1
[0107]
[0108]
[0109] (2) Simulation analysis of the speed-time-based distance measurement model
[0110] In the speed-time based ranging model, the moving speed v of the target to be measured and the ranging interval time δ between any two reference nodes can be used t The product of is used to represent the distance offset δ between the positions of the target to be measured observed by any two reference nodes in the distance measurement model based on the distance deviation. d , that is, δ d =v×δ t Therefore, in this part, δ d Decompose it into two parts, respectively explore the moving speed v of the target to be measured and the ranging interval time δ t The impact of these two system parameters on positioning performance.
[0111] ① The moving speed v of the target to be measured
[0112] For the indoor mobile target positioning system, the Taylor positioning algorithm under a. classic indoor positioning system ranging model and b. speed-time based ranging model are simulated respectively, and the performance of the positioning algorithm under the above two different system models based on the change of the moving speed v of the target to be measured is analyzed.
[0113] like Figure 6 As shown in Figure 1, it is a curve diagram of the positioning performance change of the Taylor positioning algorithm as the moving speed v of the target changes under the classic indoor positioning system model and the speed-time-based ranging model. The independent variable of the changing curve diagram is the moving speed of the target. The range of variation is 1-10 (m / s), and the dependent variable of the variation curve is the root mean square error RMSE value, which is used to evaluate the positioning performance of the positioning system. The ranging interval time between any two reference nodes is set to δ t =0.05s. Figure 6 Some simulation data are shown in Table 2 below. Table 2 randomly selects 30 sets of data. In the table, v represents the moving speed of the target to be measured, RMSE1 represents the root mean square error value of the classic Taylor algorithm, and RMSE2 represents the root mean square error value of the Taylor algorithm under the speed-time ranging model.
[0114] Table 2
[0115]
[0116]
[0117] ② The ranging interval time δ between any two reference nodes t
[0118] In this part, for the indoor mobile target positioning system, the Taylor positioning algorithm under a. classic indoor positioning system ranging model and b. speed-time based ranging model are simulated respectively, and the positioning algorithm under the above two different system models is analyzed based on the ranging interval time δ between any two reference nodes. t Variations in performance.
[0119] like Figure 7 As shown in Figure 2, the Taylor positioning algorithm is used under the classic indoor positioning ranging model and the speed-time based ranging model as δ t The changing positioning performance curve, the independent variable of the changing curve is the ranging interval time δ between any two reference nodes t , the range of change is 0-1(s), and the dependent variable of the change curve is the root mean square error RMSE value, which is used to evaluate the positioning performance of the positioning system. Figure 7 Some simulation data are shown in Table 3 below. Table 3 randomly selects 30 groups of data. In the table, Deltat represents the ranging interval time between any two reference nodes, RMSE1 represents the root mean square error value of the classic Taylor algorithm, and RMSE2 represents the root mean square error value of the Taylor algorithm under the ranging model based on speed time.
[0120] Table 3
[0121]
[0122]
[0123] From the above three positioning performance curves based on different system parameters, it can be seen that with the change of several different system parameters (distance offset |δ d |, target speed v, ranging interval δ t), the root mean square error RMSE of Taylor positioning algorithm under several system models increases with the increase of independent variables. In addition, the positioning performance of Taylor positioning algorithm under both the distance deviation-based ranging model and the speed-time-based ranging model is significantly better than that of the algorithm under the ranging model of the classic indoor positioning system, indicating that the positioning algorithm under the ranging model of the mobile target indoor positioning system proposed in this embodiment can effectively suppress the positioning error caused by the time-sharing ranging of the target to be measured by multiple reference nodes and the mobility of the target to be measured during the multi-group ranging process.
[0124] In summary, by establishing an indoor mobile target positioning system model that is more in line with the actual situation, the time-sharing ranging of the target to be measured by multiple reference nodes and the mobility of the target to be measured during multiple groups of ranging are introduced into it, and the system modeling and algorithm theory are re-derived. The effectiveness of the re-modeled system model and positioning algorithm is verified through simulation analysis, which can better suppress the influence of the complexity of the actual application of the mobile target positioning system on its positioning performance.
[0125] Based on the above research and analysis, we can also explore the system parameter setting issues under the premise of meeting the performance requirements of different indoor positioning systems, and provide a theoretical basis and parameter indicators for the construction and deployment of actual mobile target indoor positioning systems. Specifically, according to several system parameters such as: distance deviation |δ d |, the moving speed v of the target to be measured, the ranging interval time δ of the reference node t The influence curve diagram on the positioning performance is plotted. Under the premise of meeting the performance requirements of different indoor positioning systems, the parameter setting problem of the ranging interval time between any two reference nodes for mobile targets with different movement speeds is explored, so that the target to be measured can move a distance offset that meets the system positioning performance during this interval, thereby making the research on the mobile target positioning system more practical, and providing a theoretical basis and parameter indicators for the actual positioning system construction process and the polling time of the reference node.
[0126] This embodiment is aimed at an indoor mobile target positioning system using a time-division multiplexing method. It takes into account the time-division ranging of the target to be measured by multiple reference nodes in a point-to-point communication mode at any time, as well as the mobility of the target to be measured during multi-component time-division ranging, and systematically remodels the classic indoor positioning system model, thereby making it more suitable for the practical application of the mobile target positioning system. In addition, based on the newly established system model, the theoretical derivation and simulation research of the classic indoor positioning algorithm are carried out, and then the influence of the main system parameters in the indoor mobile target positioning system on its positioning performance is analyzed, thereby providing a theoretical basis and parameter indicators for the application of the actual mobile target indoor positioning system. This embodiment remodels the classic indoor positioning system, and establishes a ranging model based on distance deviation and a ranging model based on speed time. The ranging model based on distance deviation takes into account the distance deviation δ generated by the movement of the target to be measured during the time-division ranging of multiple reference nodes. d The distance measurement model is introduced; the distance measurement model based on speed time is to convert the distance deviation δ d Decomposed into the moving speed v of the target to be measured and the ranging interval time δ t Two parts, the movement speed v and the ranging interval time δ t The distance measurement model is introduced. Based on the distance measurement model, the classic Taylor positioning algorithm is theoretically re-derived and simulated. Compared with the Taylor positioning algorithm under the classic indoor positioning system model, the effectiveness of the positioning algorithm based on the above system model is verified. In addition, according to the influence of the main system parameters on the positioning performance, a theoretical basis and parameter indicators are provided for the construction and deployment of the actual indoor mobile target positioning system.
[0127] The ranging model for indoor mobile target positioning system established in this embodiment can be applied to various indoor positioning technologies and systems. Ultra-wideband (UWB) technology is a radio technology developed in recent years. It does not need to use the carrier in the traditional communication system, but uses nanosecond to picosecond non-sinusoidal narrow pulses to transmit data, and the signal has a bandwidth of GHz. Ultra-wideband indoor positioning utilizes the good anti-multipath effect and precise ranging characteristics of pulse waves to achieve an indoor positioning system with high precision and high reliability. Therefore, the application of the ranging model in this embodiment in the UWB indoor positioning system is briefly introduced here:
[0128] Ultra-wideband technology is a carrier-free wireless communication technology with the characteristics of fast transmission rate, high ranging accuracy, low power consumption, and strong anti-multipath interference ability. In the 1960s, UWB was initially used for military purposes, and it was not until 2002 that the Federal Communications Commission (FCC) of the United States issued commercial specifications. The FCC gave two definitions of ultra-wideband signals: one is an electromagnetic wave signal with a relative bandwidth greater than 20%, and the other is based on absolute bandwidth, and the 10dB bandwidth of the signal is greater than 500MHz. The expression is as follows:
[0129] 1. If the relative bandwidth is greater than 20%, the signal satisfies:
[0130]
[0131] 2. If the absolute bandwidth is greater than 500MHz, the signal satisfies:
[0132] f H -f L ≥500MHz; (17)
[0133] In the above formula, f H 、f L is the upper and lower cutoff frequencies when the signal attenuation is 10dB, f C is the center frequency, and the calculation formula is (f H -f L ) / 2. In order to avoid mutual interference with other wireless wave communication systems, the FCC stipulates that the standard operating spectrum of ultra-wideband signals is 3.1GHz-10.6GHz (the available spectrum is 7.5GHz), and the radiation power does not exceed 41.25dBm / MHz.
[0134] This embodiment uses Decawave's DW1000 ultra-wideband chip to develop an ultra-wideband receiving and transmitting module. DW1000 is a low-power single-chip CMOS wireless receiving and transmitting chip that complies with the IEEE802.15.4-2011 ultra-wideband (UWB) standard, spans six radio frequency bands from 3.5GHz to 6.5GHz, and supports data rates of 110kbps, 850kbps, and 6.8Mbps.
[0135] like Figure 8As shown in the figure, it is the chip structure diagram of DW1000. DW1000 consists of an analog front end including a receiver and a transmitter and a digital back end connected to the host. The receiver and the transmitter share an antenna, and the transmission and reception modes can be switched by selecting a switch. The receiver consists of an RF analog signal receiving end and a digital signal receiving end. The receiver can amplify the received signal in a low noise amplifier, and then directly down-convert it to a baseband signal. Finally, the baseband signal is demodulated and imported into the receiving buffer register, and transmitted to the host controller through the SPI interface. Similar to the receiver, the transmitter consists of an RF analog signal transmitting end and a digital signal transmitting end. The transmitter generates a transmission pulse sequence by passing the digitally encoded data to be transmitted through an analog pulse generator, and then up-converts it to a carrier generated by a synthesizer by a double-balanced mixer, and modulates it according to the UWB channel center frequency specified in IEEE 802.15.4-2011. The final RF signal will be amplified before transmission.
[0136] The DW1000 communicates with the host controller via SPI. The state control unit contains control logic circuits and register groups, which are mainly divided into configuration registers, status registers, control registers, data buffer registers, and diagnostic registers. The host controls the DW1000 by accessing and writing register groups through the SPI interface. In addition, the DW1000 also has an on-chip one-time programmable (OTP) memory. This memory can be used to store calibration data, such as transmit power level, crystal initial frequency error adjustment, and range accuracy adjustment, and these adjustment values can be automatically retrieved when needed.
[0137] DW1000 has an on-chip crystal oscillator that operates at a frequency of 38.4MHz. DW1000 supports replacing the on-chip crystal oscillator with an external 38.4MHz oscillator source. The two phase-locked loop clock branch circuits, RF PLL and CLKPLL, derived from the on-chip crystal oscillator are used for signal generation and acquisition at the RF front end and signal processing and IC control at the digital back end. In addition, DW1000 also has an internal 13kHz oscillator for wake-up control in low-power sleep states. The host interface includes an SPI interface and a MAC functional unit that communicates with the host controller, including cyclic redundancy code (FCS) generation, cyclic redundancy check (CRC) process, and receive frame filtering.
[0138] For indoor positioning systems based on ranging technology, the accuracy of ranging information directly affects the positioning accuracy of the positioning system. The DW1000 chip supports the Double-Sided Two-Way Ranging (DS-TWR) method, which is one of the commonly used methods in the Time of Flight (TOF) ranging process. It uses strict time symmetry constraints to eliminate the influence of clock drift. The positioning accuracy can reach the centimeter level. Therefore, the SDS-TWR ranging method is used as the method for obtaining ranging information in this example. Fig. 9 As shown in the figure, it is the ranging flow chart of SDS-TWR. First, the target node to be measured sends a Poll frame to the reference node at time t0. The reference node receives the Poll frame at time a1 and sends a Response frame to the target to be measured at time a2. The time interval t from a1 to a2 is calculated. replyA (Refer to the message processing delay of node A); the target receives the Response frame at time t1 and sends the Final frame at time t2, where the Final frame contains the time interval t from t0 to t1. roundT (the round-trip delay of the message of the target T to be measured), and the time interval t from t1 to t2 replyT (message processing delay of the target T to be measured); the reference node receives the Final frame at a3 and records the t roundT and t replyT value, and calculate the time interval t from a2 to a3 roundA (Refer to the message round trip delay of node A), in addition, Fig. 9 The time interval t from t0 to t3 C Represents the time required for the target to complete a distance measurement process with the reference node. At this time, at the reference node, by calculating the flight time of the signal t prop , use t prop Multiply it by the signal's flight speed c and the distance d from the target to the reference node can be calculated.
[0139]
[0140] If the above positioning system is applied to the positioning of pedestrians in any room in an indoor place, according to statistical experience, the walking speed of pedestrians is between 1.1-1.5m / s, so the movement speed of the target to be measured in the three-dimensional coordinate system is set to v x =1m / s,v y =1m / s,v z =0m / s, then the actual speed of the target to be measured is Under the influence of system state noise, the walking speed of pedestrians in actual situations can be simulated. The other parameter settings of the system are still the same as those in the simulation analysis. The Taylor positioning algorithm based on the speed time ranging model obtained by simulation is changed with the ranging interval time δ t The changing positioning performance curve is as follows: Fig.10 The positioning performance requirement of the indoor positioning system is RMSE ≤ 0.5m, which requires that the ranging interval between any two reference nodes is less than or equal to t s , and from the above DS-TWR ranging process, it can be seen that the minimum time required for the target to be measured and any reference node to complete the ranging process is t c Therefore, in this application example, the ranging interval between any two reference nodes should be set to t c ≤δ t ≤t s .
[0141] The above is a simple example of the design of the reference node ranging interval time under the pedestrian positioning system. Through the effective ranging interval time parameter design, it not only satisfies the performance requirements of the positioning system well, but also facilitates the polling scheduling of the reference node. Therefore, the content of this embodiment can be applied to the indoor positioning system of various mobile targets, which can not only effectively reduce the positioning error of the system, but also explore the parameter setting problem of the ranging interval time between any two reference nodes under the premise of meeting the performance requirements of different indoor positioning systems, so that the target to be measured can move within this time interval. The distance offset that meets the system positioning performance, thereby making the research on the mobile target positioning system more practical, and can provide a theoretical basis and parameter indicators for the actual positioning system construction process and the reference node polling time setting problem.
[0142] Embodiment 2:
[0143] This embodiment is used to provide an indoor mobile target positioning system. Fig.11 As shown, the positioning system includes:
[0144] The model improvement module M1 is used to consider the mobility of the target to be measured in the time-sharing ranging process of multiple reference nodes, remodel the classic indoor positioning system model, and obtain an improved indoor positioning system model;
[0145] The algorithm improvement module M2 is used to improve the classic indoor positioning algorithm according to the improved indoor positioning system model to obtain an improved indoor positioning algorithm;
[0146] The positioning module M3 is used to solve the improved indoor positioning system model by using the improved indoor positioning algorithm to obtain the positioning result of the target to be measured.
[0147] Among them, the improved indoor positioning system model includes a ranging model based on distance deviation and a ranging model based on speed time.
[0148] This embodiment designs an indoor positioning system based on a mobile target. For the indoor mobile target positioning system, when it locates the target to be measured at any time, the time-sharing ranging of the target to be measured by multiple reference nodes at that time and the mobility of the target to be measured during the multi-component time-sharing ranging are taken into account. The classic indoor positioning system model is systematically remodeled, and a ranging model based on distance deviation and a ranging model based on speed time are established. The distance deviation δ d , the target's moving speed v and the ranging interval δ t etc. introduced the ranging model to make it more suitable for the practical application of the mobile target positioning system; and based on the above ranging model, the classic Taylor positioning algorithm was re-derived and simulated to verify the effectiveness of the positioning algorithm based on the above system model. In addition, based on the influence of the main system parameters on the positioning performance, the parameter setting problem of the ranging interval time between any two reference nodes for mobile targets with different movement speeds is explored under the premise of meeting the performance requirements of different indoor positioning systems, so that the target to be measured can move within this time interval. The distance offset that meets the system positioning performance, thereby making the research on the mobile target positioning system more practical, can provide a theoretical basis and parameter indicators for the actual positioning system construction process and the reference node polling time setting problem.
[0149] Each embodiment in this specification focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0150] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for indoor mobile target positioning, characterized in that: The positioning method comprises: Considering the mobility of the target in the time-sharing ranging process of multiple reference nodes, the classic indoor positioning system model is remodeled to obtain an improved indoor positioning system model. The classic indoor positioning algorithm is improved according to the improved indoor positioning system model to obtain an improved indoor positioning algorithm; Solving the improved indoor positioning system model using the improved indoor positioning algorithm to obtain a positioning result of the target to be measured; The improved indoor positioning system model includes a distance measurement model based on distance deviation and a distance measurement model based on speed time; The distance measurement model based on distance deviation is: Among them, d i,k is the distance between the i-th reference node and the target to be measured at time k, i = 1, 2, ..., j, ..., m, m is the number of reference nodes; (x k ,y k , z k ) is the position coordinate of the target to be measured at time k; (δ x , δ y , δ z ) is the distance offset between the position coordinates of the target to be measured measured by the two reference nodes at time k; (xi, yi, zi) is the position coordinates of the i-th reference node at time k; v k To measure noise; The speed-time-based distance measurement model is: Among them, d i,k is the distance between the i-th reference node and the target to be measured at time k, i = 1, 2, ..., j, ..., m, m is the number of reference nodes; (P x,k , P y,k , P z,k ) is the position coordinate of the target to be measured at time k; δ t is the ranging interval between two reference nodes; (V x,k , V y,k , V z,k ) is the speed of the target to be measured at time k; (x i ,y i , z i ) is the position coordinate of the i-th reference node at time k; v k To measure noise.
2. The positioning method according to claim 1, characterized in that: The classic indoor positioning algorithm is the Taylor positioning algorithm; the improved indoor positioning algorithm is the improved Taylor positioning algorithm.
3. The positioning method according to claim 2, characterized in that: The step of solving the improved indoor positioning system model by using the improved indoor positioning algorithm to obtain the positioning result of the target to be measured specifically includes: Initializing the position of the target to be measured to obtain an initial estimated position; Expanding the distance expression in the improved indoor positioning system model at the initial estimated position using Taylor series, and ignoring quadratic expansion terms or higher, to obtain a measurement value error vector; Let the measurement value error vector be 0, and calculate the error using weighted least squares method; Determining whether the error is less than a preset threshold value; If yes, the initial estimated position is used as the positioning result of the target to be measured; If not, the sum of the initial estimated position and the error is used as the initial estimated position in the next cycle, and the process returns to the step of "expanding the distance expression in the improved indoor positioning system model at the initial estimated position using Taylor series".
4. The positioning method according to claim 3, characterized in that: The measurement error vector is: ψ t =h t -G t d; Among them, ψ t is the measurement error vector; h t is the distance deviation matrix; G t is the partial derivative matrix; δ is the error.
5. The positioning method according to claim 3, characterized in that: The calculation formula of the error is: δ=(G t T Q -1 G t ) -1 G t T Q -1 h t ; Among them, δ is the error; G t is the partial derivative matrix; Q is the covariance matrix of the measurement error; h t is the distance deviation matrix.
6. An indoor mobile target positioning system, characterized in that: The positioning system comprises: The model improvement module is used to consider the mobility of the target to be measured during the time-sharing ranging process of multiple reference nodes, remodel the classic indoor positioning system model, and obtain an improved indoor positioning system model; An algorithm improvement module is used to improve the classic indoor positioning algorithm according to the improved indoor positioning system model to obtain an improved indoor positioning algorithm; A positioning module, used to solve the improved indoor positioning system model by using the improved indoor positioning algorithm to obtain the positioning result of the target to be measured; The improved indoor positioning system model includes a distance measurement model based on distance deviation and a distance measurement model based on speed time; The distance measurement model based on distance deviation is: Among them, d i,k is the distance between the i-th reference node and the target to be measured at time k, i = 1, 2, ..., j, ..., m, m is the number of reference nodes; (x k ,y k , z k ) is the position coordinate of the target to be measured at time k; (δ x , δ y , δ z ) is the distance offset between the position coordinates of the target to be measured measured by the two reference nodes at time k; (xi, yi, zi) is the position coordinates of the i-th reference node at time k; v k To measure noise; The speed-time-based distance measurement model is: Among them, d i,k is the distance between the i-th reference node and the target to be measured at time k, i = 1, 2, ..., j, ..., m, m is the number of reference nodes; (P x,k , P y,k , P z,k ) is the position coordinate of the target to be measured at time k; δ t is the ranging interval between two reference nodes; (V x,k , V y,k , V z,k ) is the speed of the target to be measured at time k; (x i ,y i , z i ) is the position coordinate of the i-th reference node at time k; v k To measure noise.
