Positioning performance evaluation method, device and electronic equipment
By acquiring and counting abnormal features in positioning data, it solves the problem of requiring true-value equipment in the existing technology, provides a multi-dimensional positioning performance evaluation method, and realizes positioning performance evaluation in actual scenarios.
Patent Information
- Application Number
- CN202311844158.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-12-29
AI Technical Summary
The existing positioning algorithm evaluation method requires the use of expensive real-value equipment, and the evaluation method is single, which cannot effectively evaluate positioning performance in actual engineering scenarios.
By obtaining target positioning data, we can determine whether there are single-frame data jumps, multi-frame data jumps, data frame drops, and data delays. We will count the number of these abnormal features and use these times as evaluation indicators, including single-frame stability, Multi-frame stability, frame rate continuity and frame rate real-time performance indicators.
It achieves a convenient evaluation of positioning performance without the need for real-value equipment, can effectively evaluate the performance of positioning algorithms in actual scenarios, and provides multi-dimensional evaluation indicators.
Smart Images

Figure CN117493834B
Abstract
Description
Technical Field
[0001] The present invention mainly relates to the technical field of positioning data measurement and processing, and in particular to a positioning performance evaluation method, device and electronic equipment. Background Art
[0002] An unmanned vehicle is a smart car that relies on an intelligent driving system based on a computer system in the car to achieve unmanned driving. Unmanned vehicles integrate many artificial intelligence technologies such as automatic control, environmental interaction, and visual recognition. They are the product of the high development of computer science, pattern recognition, and intelligent control technology. Unmanned vehicles are smart cars that sense the road environment through the on-board sensor system, automatically plan the driving route, and control the vehicle to reach the predetermined destination. It uses on-board sensors to sense the environment around the vehicle, and controls the steering and speed of the vehicle based on the road, vehicle position, and obstacle information obtained through perception, so that the vehicle can drive safely and reliably on the road.
[0003] The intelligent driving technology that has been put into mass production is mainly focused on the L2+ level. In high-level assisted driving, intelligent driving algorithms are divided into perception, positioning and regulation algorithms. In the positioning algorithm, how to evaluate the results of the positioning algorithm is a very necessary task. When simulating the positioning algorithm, a good set of positioning algorithm evaluation indicators is also needed to judge the simulation results. The existing positioning algorithm evaluation method usually takes the positioning results obtained by sensors with better accuracy as the true value, and uses the true value to calculate the root mean square error or other indicators, but this method is costly and has limited applicability. For example, it is necessary to use the true value for evaluation, but in actual engineering scenarios, there is usually no true value or the true value equipment is expensive; the existing positioning evaluation method is single, and usually only evaluates a certain performance, such as only evaluating stability or real-time performance. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a positioning performance evaluation method, device and electronic device, which do not need to use true values to evaluate the positioning performance, and do not need to use expensive true value equipment, which is more convenient.
[0005] To solve the above technical problems, in a first aspect, the present invention provides a positioning performance evaluation method, comprising: acquiring target positioning data, wherein the target positioning data is positioning data obtained by calculation or simulation of a positioning algorithm; judging whether the target positioning data has abnormal features, wherein the abnormal features include: single-frame data jumps, multi-frame data jumps, data frame loss and / or data delay; counting the number of each abnormal feature respectively, and taking the number of each abnormal feature as an evaluation index, wherein the evaluation index includes one or more of the following indexes: taking the number of single-frame data jumps as a single-frame stability index, taking the number of multi-frame data jumps as a multi-frame stability index, taking the number of data frame loss as a frame rate continuity index, and taking the number of data delays as a frame rate real-time index.
[0006] Optionally, it also includes: dividing the value of the evaluation index by the statistical time or the statistical distance to obtain a unit evaluation index, and using the unit evaluation index to indicate the positioning performance of the positioning data; wherein the statistical time is the time used to count the target positioning data from the beginning to the end, and the statistical distance is the change in distance of the target object after the statistical time has passed.
[0007] Optionally, the target positioning data includes first output data and second output data, and the first output data and the second output data are two consecutive frames of data.
[0008] Optionally, the first output data is positioning data at a current moment, and the second output data is positioning data of a frame previous to the first output data.
[0009] Optionally, determining whether the target positioning data has abnormal features is as follows: determining whether the target positioning data has a single-frame data jump; including: calculating the positioning data difference between the first output data and the second output data, the positioning data including a timestamp, position, posture and / or speed; comparing the positioning data difference with a corresponding difference threshold, if the positioning data difference is greater than the corresponding difference threshold, then a single-frame data jump exists.
[0010] Optionally, determining whether the target positioning data has abnormal characteristics is as follows: determining whether the target positioning data has data frame loss; including: calculating the time interval between two consecutive frames of positioning data; comparing the time interval with a time interval threshold, if the time interval is greater than the time interval threshold, data frame loss exists.
[0011] Optionally, the time interval threshold also includes communication delay and positioning algorithm processing delay.
[0012] Optionally, the target positioning data includes M frames of continuous positioning data starting from the current frame; judging whether the target positioning data has abnormal features is: judging whether the target positioning data has multi-frame data jumps; comprising: calculating the lateral position difference, longitudinal position difference, lateral speed difference, longitudinal speed difference and / or yaw angle difference of adjacent nodes of continuous M-1 positioning data, and calculating the average value and standard deviation respectively according to the lateral position difference, the longitudinal position difference, the lateral speed difference, the longitudinal speed difference and / or the yaw angle difference; setting a corresponding difference threshold interval by each pair of the average value and the standard deviation; obtaining the abnormal number of positioning data points that do not belong to the difference threshold interval, if the abnormal number is greater than the abnormal number threshold, there is a multi-frame data jump.
[0013] Optionally, the value of M in the M-frame positioning data is the same as the frequency value of outputting the target positioning data.
[0014] Optionally, the lower limit of the difference threshold interval is the average value minus n times the standard deviation, and the upper limit of the difference threshold interval is the average value plus n times the standard deviation, where n≥1.
[0015] Optionally, the target positioning data includes third output data, and the third output data is the received current positioning data; judging whether the target positioning data has abnormal characteristics is: judging whether the target positioning data has data delay; including: calculating the time difference between the timestamp of the third output data and the timestamp of the current reference positioning data; comparing the time difference with a time difference threshold, if the time difference is greater than the time difference threshold, then there is data delay.
[0016] Optionally, the time difference threshold also includes communication delay and positioning algorithm processing delay.
[0017] In a second aspect, the present invention provides a positioning performance evaluation device, comprising: an acquisition module, used to acquire target positioning data, wherein the target positioning data is positioning data calculated or simulated by a positioning algorithm; a judgment module, used to judge whether the target positioning data has abnormal features, wherein the abnormal features include: single-frame data jumps, multi-frame data jumps, data frame loss and / or data delay; a statistical module, used to count the number of each abnormal feature respectively, and use the number of each abnormal feature as an evaluation index, wherein the evaluation index includes one or more of the following indicators: using the number of single-frame data jumps as a single-frame stability index, using the number of multi-frame data jumps as a multi-frame stability index, using the number of data frame loss as a frame rate continuity index, and using the number of data delays as a frame rate real-time index.
[0018] In a third aspect, the present invention provides an electronic device comprising: a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the positioning performance evaluation method described in the first aspect are implemented.
[0019] In a fourth aspect, the present invention provides a readable storage medium storing a program or instruction, which, when executed by a processor, implements the steps of the positioning performance evaluation method as described in the first aspect.
[0020] Compared with the prior art, the present invention has the following advantages: first, the target positioning data is obtained, then it is determined whether the target positioning data has abnormal features, and finally the number of each abnormal feature is counted respectively, and the number of each abnormal feature is used as an evaluation index, and the evaluation index includes one or more of the following indicators: the number of single-frame data jumps as a single-frame stability index, the number of multi-frame data jumps as a multi-frame stability index, the number of data frame drops as a frame rate continuity index, and the number of data delays as a frame rate real-time index. This performance evaluation method utilizes the characteristics of the positioning data itself, does not require the use of true values, and does not require the use of expensive true value equipment, and is more convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings are included to provide a further understanding of the present application. They are included and constitute a part of the present application. The accompanying drawings illustrate embodiments of the present application and together with the present specification serve to explain the principles of the present application. In the accompanying drawings:
[0022] Figure 1 is a flow chart of a positioning performance evaluation method according to an embodiment of the present invention;
[0023] Figure 2 is a structural schematic diagram of a positioning performance evaluation device according to an embodiment of the present invention;
[0024] Figure 3 FIG. 4 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.
[0026] As shown in this application and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0027] Unless otherwise specifically stated, the relative arrangement, numerical expressions and numerical values of the parts and steps set forth in these embodiments do not limit the scope of the present application. At the same time, it should be understood that, for ease of description, the sizes of the various parts shown in the accompanying drawings are not drawn according to the actual proportional relationship. The technology, method and equipment known to those of ordinary skill in the relevant field may not be discussed in detail, but in appropriate cases, the technology, method and equipment should be considered as a part of the authorization specification. In all examples shown and discussed here, any specific value should be interpreted as being merely exemplary, rather than as a limitation. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so that once a certain item is defined in an accompanying drawing, it does not need to be further discussed in subsequent drawings.
[0028] In addition, it should be noted that the use of words such as "first" and "second" to define components is only for the convenience of distinguishing the corresponding components. If not otherwise stated, the above words have no special meaning and cannot be understood as limiting the scope of protection of this application. In addition, although the terms used in this application are selected from well-known and commonly used terms, some terms mentioned in the specification of this application may be selected by the applicant at his or her discretion, and their detailed meanings are explained in the relevant parts of the description of this article. In addition, it is required to understand this application not only by the actual terms used, but also by the meaning implied by each term.
[0029] Flowcharts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps may be processed in reverse order or simultaneously. At the same time, other operations may be added to these processes, or one or more operations may be removed from these processes.
[0030] Example 1: Reference Figure 1As shown, the positioning performance evaluation method provided in this embodiment includes: S110, obtaining target positioning data, wherein the target positioning data is positioning data obtained by calculation or simulation of a positioning algorithm; S120, judging whether the target positioning data has abnormal features, wherein the abnormal features include: single-frame data jump, multi-frame data jump, data frame loss and / or data delay; S130, counting the number of each abnormal feature respectively, and taking the number of each abnormal feature as an evaluation index, wherein the evaluation index includes one or more of the following indexes: taking the number of single-frame data jumps as a single-frame stability index, taking the number of multi-frame data jumps as a multi-frame stability index, taking the number of data frame loss as a frame rate continuity index, and taking the number of data delays as a frame rate real-time index.
[0031] Among them, the target positioning data includes the first output data and the second output data, and the first output data and the second output data are two consecutive frames of data. The evaluation index of the target positioning data is the single frame stability index (Single FrameStability, SFS), and the abnormal feature is the single frame data jump. Determining whether there is a single frame data jump in the target positioning data includes: calculating the positioning data difference between the first output data and the second output data, and the positioning data includes timestamp, position, posture and / or speed; comparing the positioning data difference with the corresponding difference threshold, if the positioning data difference is greater than the corresponding difference threshold, there is a single frame data jump. Then count the number of single frame data jumps, and use the number of single frame data jumps as the single frame stability index.
[0032] In one example, the first output data is the positioning data at the current moment, and the second output data is the positioning data of a frame before the first output data.
[0033] Exemplarily, the first output data F of the positioning data is obtained out1 , the second output data F out2 , calculate the first output data F out1 With the second output data F out2 The time stamp difference between them is T diff , and then calculate the first output data F in the vehicle coordinate system out1 With the second output data F out2 The position difference, attitude difference and / or speed difference between them, the single frame stability index is marked as Cnt SFS , when any of the following conditions is met, Cnt SFS Add 1 to the count:
[0034] 1) Timestamp jump
[0035]
[0036] 2) Position jump
[0037]
[0038]
[0039] 3) Speed jump
[0040]
[0041]
[0042] 4) Posture jump
[0043]
[0044] In the formula, , are the longitudinal position difference and lateral position difference of adjacent nodes in the previous and next frames respectively. , are the longitudinal velocity difference and lateral velocity difference of adjacent nodes in the previous and next frames, is the difference in yaw angles of adjacent nodes in the previous and next frames; , They are the maximum timestamp difference threshold and yaw angle difference threshold of adjacent nodes in the previous and next frames, respectively. , , They are respectively the vehicle's maximum longitudinal position difference threshold, maximum lateral position difference threshold, maximum longitudinal speed difference threshold, and maximum lateral speed difference threshold.
[0045] In one example, the method of this embodiment may also include dividing the value of the evaluation index by the statistical time or the statistical distance to obtain a unit evaluation index, and using the unit evaluation index to indicate the positioning performance of the positioning data, wherein the statistical time is the time taken from the beginning to the end of the statistical target positioning data, and the statistical distance is the change in distance of the target object (such as a vehicle) after the statistical time has passed.
[0046] For example, the time taken from the start to the end of the statistics of the positioning data is T (statistical time), the vehicle travel distance is D (statistical distance), that is, the distance change of the vehicle after the statistical time T is D, and the count of the single frame data jump of the positioning algorithm is Cnt SFS , then calculate the single frame stability index in the time dimension, denoted as SFS t , then SFS t = Cnt SFS / T, unit is times / S. Calculate the single frame stability index in the distance dimension, denoted as SFS d , SFS d = Cnt SFS / D, unit is times / m.
[0047] In general, the single frame stability index SFS in the time dimension t You can refer to 1 / 600 times / S, which means that it is acceptable for a single frame jump to occur every 10 minutes. Single frame stability in distance dimension index SFS d You can refer to 1 / 20000 times / m, which physically means that a single-frame jump in positioning every 20 kilometers is acceptable.
[0048] The positioning performance evaluation method provided in this embodiment has an evaluation index of a single-frame stability index. First, target positioning data, including first output data and second output data, is acquired. Then, a positioning data difference between the first output data and the second output data is calculated. The positioning data includes a timestamp, a position, a posture and / or a speed. The positioning data difference is compared with a corresponding difference threshold. If the positioning data difference is greater than the corresponding difference threshold, there is a single-frame data jump. The number of single-frame data jumps is counted, and the number of single-frame data jumps is used as a single-frame stability index. Therefore, the single-frame stability of the positioning result can be evaluated without the aid of a true value, which is convenient.
[0049] Example 2: Reference Figure 1 As shown, the positioning performance evaluation method provided in this embodiment includes: S110, obtaining target positioning data, wherein the target positioning data is positioning data obtained by calculation or simulation of a positioning algorithm; S120, judging whether the target positioning data has abnormal features, wherein the abnormal features include: single-frame data jump, multi-frame data jump, data frame loss and / or data delay; S130, counting the number of each abnormal feature respectively, and taking the number of each abnormal feature as an evaluation index, wherein the evaluation index includes one or more of the following indexes: taking the number of single-frame data jumps as a single-frame stability index, taking the number of multi-frame data jumps as a multi-frame stability index, taking the number of data frame loss as a frame rate continuity index, and taking the number of data delays as a frame rate real-time index.
[0050] Among them, the target positioning data includes M frames of continuous positioning data starting from the current frame. The evaluation index of the target positioning data is the multi-frame stability index (Multi Frame Stability, MFS), and the abnormal feature is the multi-frame data jump. Determining whether the target positioning data has a multi-frame data jump includes: calculating the lateral position difference, longitudinal position difference, lateral speed difference, longitudinal speed difference and / or yaw angle difference of adjacent nodes of the continuous M-1 positioning data, and calculating the average value and standard deviation respectively according to the lateral position difference, longitudinal position difference, lateral speed difference, longitudinal speed difference and / or yaw angle difference; setting the corresponding difference threshold interval by each pair of average values and standard deviations; obtaining the abnormal number of positioning data points that do not belong to the difference threshold interval, if the abnormal number is greater than the abnormal number threshold, there is a multi-frame data jump. Then count the number of multi-frame data jumps, and use the number of multi-frame data jumps as the multi-frame stability index.
[0051] In one example, the value of M in the M-frame positioning data is the same as the frequency value of the output target positioning data. For example, the positioning data output frequency is 100H Z , M can be set to 100, which ensures both data accuracy and real-time detection.
[0052] In one example, the lower limit of the difference threshold interval is the mean value minus n times the standard deviation, and the upper limit of the difference threshold interval is the mean value plus n times the standard deviation, where n≥1.
[0053] For example, obtain the M frames of historical data starting from the current frame in the positioning data, set the sliding window to N, N represents the N frames of historical data starting from the current frame, M>N. 1 represents the current frame node, 2 represents the previous frame node, and so on, M represents the historical M frame node, since the positioning data output frequency is 100H Z , you can set M to 100 and N to 10, and calculate as follows:
[0054] Calculate the longitudinal position difference of adjacent nodes of the continuous M-1 positioning data to get the array:
[0055]
[0056] Calculate the lateral position difference of adjacent nodes of the continuous M-1 positioning data to get the array:
[0057] ,
[0058] Calculate the longitudinal velocity difference of adjacent nodes of the continuous M-1 positioning data to get the array:
[0059] ,
[0060] Calculate the lateral velocity difference of adjacent nodes of the continuous M-1 positioning data to get the array:
[0061] ,
[0062] Calculate the yaw angle difference of adjacent nodes of continuous M-1 positioning data to get the array:
[0063] .
[0064] And calculate its mean value and standard deviation based on the above longitudinal position difference array, and get:
[0065]
[0066] And calculate the mean and standard deviation based on the above lateral position difference array, and get:
[0067]
[0068] And calculate the mean value and standard deviation based on the above longitudinal velocity difference array, and get:
[0069]
[0070] And calculate the mean value and standard deviation based on the above lateral velocity difference array, and get:
[0071]
[0072] And calculate the mean and standard deviation based on the above yaw angle difference array, and get:
[0073] .
[0074] Assuming that the data distribution is normal, the mean value plus or minus n times the standard deviation is used as the difference threshold interval to screen outliers. When any of the following conditions is met, the multi-frame stability index CNT MFS , count plus 1:
[0075] Set the vertical position difference threshold interval to [ , ], traverse the array of longitudinal position differences of adjacent nodes, regard the data points that do not meet the difference threshold interval as abnormal, and the number of abnormal points in N frames exceeds posX_cnt; posX_cnt is the threshold of the number of longitudinal position abnormalities, indicating that when the number of abnormal points exceeds this value, the positioning data is unstable;
[0076] Set the lateral position difference threshold interval to [ , ], traverse the array of lateral position differences of adjacent nodes, regard the data points that do not meet the difference threshold interval as abnormal, and the number of abnormal points in N frames exceeds posY_cnt; posY_cnt is the threshold of the number of lateral position abnormalities, indicating that when the number of abnormal points exceeds this value, the positioning data is unstable;
[0077] Set the longitudinal speed difference threshold interval [ , ], traverse the longitudinal velocity difference array of adjacent nodes, regard the data points that do not meet the difference threshold interval as abnormal, and the number of abnormal points in N frames exceeds velX_cnt; velX_cnt is the longitudinal velocity abnormal number threshold, indicating that when the number of abnormal points exceeds this value, the positioning data is unstable;
[0078] Set the lateral velocity difference threshold interval to [ , ], traverse the array of lateral position differences of adjacent nodes, regard the data points that do not meet the difference threshold interval as abnormal, and the number of abnormal points in N frames exceeds velY_cnt; velY_cnt is the threshold of the number of lateral velocity abnormalities, indicating that when the number of abnormal points exceeds this value, the positioning data is unstable;
[0079] Set the attitude difference threshold interval to [ , ], traverse the adjacent node posture difference array, regard the data points that do not meet the difference threshold interval as abnormal, and the number of abnormal points in N frames exceeds yaw_cnt; yaw_cnt is the threshold value of the abnormal number of fixed posture differences, indicating that when the number of abnormal points exceeds this value, the positioning data is unstable.
[0080] In one example, the evaluation method of this embodiment also includes dividing the value of the evaluation index by the statistical time or the statistical distance to obtain a unit evaluation index, and using the unit evaluation index to indicate the positioning performance of the positioning data, wherein the statistical time is the time taken from the beginning to the end of the statistical target positioning data, and the statistical distance is the change in distance of the target object (such as a vehicle) after the statistical time has passed.
[0081] For example, the time taken from the start to the end of the statistics of the positioning data is T (statistical time), the vehicle travel distance is D (statistical distance), that is, the distance change of the vehicle after the statistical time T is D, and the count of the multi-frame data jump of the positioning algorithm is Cnt MFS , then calculate the multi-frame stability index in the time dimension, record MFS t , then MFS t =Cnt MFS / T, unit is times / S. Calculate the multi-frame stability index in the distance dimension, record MFS d , then MFS d =Cnt MFS / D, unit is times / m.
[0082] In general, multi-frame stability is measured in the time dimension index MFS. t You can refer to 1 / 1200 times / S, which means that it is acceptable for positioning multi-frame jump to occur once every 20 minutes. Multi-frame stability in distance dimension index MFS d You can refer to 1 / 40000 times / m, which physically means that a multi-frame positioning jump once every 40 kilometers is acceptable.
[0083] The details of other operations performed in each step of this embodiment can refer to the same details in the previous embodiment, which will not be elaborated here.
[0084] The positioning performance evaluation method provided in this embodiment has an evaluation index of a multi-frame stability index. First, the target positioning data is obtained, and M frames of continuous positioning data starting from the current frame are obtained. Then, the lateral position difference, longitudinal position difference, lateral speed difference, longitudinal speed difference and / or yaw angle difference of adjacent nodes of the continuous M-1 positioning data are calculated. The average value and standard deviation are calculated according to the lateral position difference, longitudinal position difference, lateral speed difference, longitudinal speed difference and / or yaw angle difference, respectively. The corresponding difference threshold interval is set by each pair of the average value and the standard deviation, and the number of abnormal positioning data points that do not belong to the difference threshold interval is obtained. If the number of abnormalities is greater than the abnormal number threshold, there is a multi-frame data jump. The number of multi-frame data jumps is counted, and the number of multi-frame data jumps is used as the multi-frame stability index. Therefore, the multi-frame stability of the positioning result can be evaluated without the help of a true value, which is convenient.
[0085] Example 3: Reference Figure 1 As shown, the positioning performance evaluation method provided in this embodiment includes: S110, obtaining target positioning data, wherein the target positioning data is positioning data obtained by calculation or simulation of a positioning algorithm; S120, judging whether the target positioning data has abnormal features, wherein the abnormal features include: single-frame data jump, multi-frame data jump, data frame loss and / or data delay; S130, counting the number of each abnormal feature respectively, and taking the number of each abnormal feature as an evaluation index, wherein the evaluation index includes one or more of the following indexes: taking the number of single-frame data jumps as a single-frame stability index, taking the number of multi-frame data jumps as a multi-frame stability index, taking the number of data frame loss as a frame rate continuity index, and taking the number of data delays as a frame rate real-time index.
[0086] The target positioning data includes first output data and second output data, and the first output data and the second output data are two consecutive frames of data. The evaluation index of the target positioning data is the frame rate continuity index (FRC), and the abnormal feature is data frame loss. Determining whether there is data frame loss in the target positioning data includes: calculating the time interval between two consecutive frames of positioning data, comparing the time interval with the time interval threshold, and if the time interval is greater than the time interval threshold, there is data frame loss. Then count the number of data frame losses, and use the number of data frame losses as the frame rate continuity index.
[0087] In one example, the first output data is the positioning data at the current moment, and the second output data is the positioning data of a frame before the first output data.
[0088] In one example, the time interval threshold also includes communication delay and positioning algorithm processing delay.
[0089] Exemplarily, the first output data F in the positioning data is obtained. out1 , the second output data F out2 , calculate the first output data F out1 With the second output data F out2 The time stamp difference between them is T diff , set the output frequency of the bit algorithm to 100H Z , that is, the output interval of every two frames of positioning results is 0.01s. Considering the sensor communication delay and algorithm processing delay, a 20% margin can be reserved to limit the timestamp difference. The frame rate continuity index is marked as Cnt FRC , when the following conditions are not met, Cnt FRC Add 1 to the count:
[0090] 0 < T diff < 0.012
[0091] In one example, the evaluation method of this embodiment also includes dividing the value of the evaluation index by the statistical time or the statistical distance to obtain a unit evaluation index, and using the unit evaluation index to indicate the positioning performance of the positioning data, wherein the statistical time is the time taken from the beginning to the end of the statistical target positioning data, and the statistical distance is the change in distance of the target object (such as a vehicle) after the statistical time has passed.
[0092] For example, the time taken from the start to the end of the statistics of the positioning data is T (statistical time), the vehicle travel distance is D (statistical distance), that is, the distance change of the vehicle after the statistical time T is D, and the count of data frame loss in the positioning algorithm is Cnt FRC , then the frame rate continuity in the time dimension refers to the marker FRC t , then FRC t = Cnt FRC / T, unit is times / S. Frame rate continuity refers to the mark FRC in the distance dimension d , FRC d = Cnt FRC / D, unit is times / m.
[0093] In general, the frame rate continuity index in the time dimension is FRC t You can refer to 1 / 3600 times / S, which means that it is acceptable to lose a positioning frame once every 60 minutes. d You can refer to 1 / 100000 times / m, which physically means that a positioning frame loss once every 100 kilometers is acceptable.
[0094] The details of other operations performed in each step of this embodiment can refer to the same details in the aforementioned embodiment and will not be elaborated here.
[0095] The positioning performance evaluation method provided in this embodiment has a frame rate continuity index as its evaluation index. First, the target positioning data is obtained, and the target positioning data includes first output data and second output data. Then, the time interval between two consecutive frames of positioning data is calculated, and the time interval is compared with the time interval threshold. If the time interval is greater than the time interval threshold, data frame loss exists. The number of data frame losses is counted, and the number of data frame losses is used as the frame rate continuity index. Therefore, the frame rate continuity of the positioning result can be evaluated without the need for a true value, which is convenient.
[0096] Example 4: Reference Figure 1 The positioning performance evaluation method provided in the embodiment shown includes: S110, obtaining target positioning data, wherein the target positioning data is positioning data obtained by calculation or simulation of a positioning algorithm; S120, judging whether the target positioning data has abnormal features, wherein the abnormal features include: single-frame data jump, multi-frame data jump, data frame loss and / or data delay; S130, counting the number of each abnormal feature respectively, and taking the number of each abnormal feature as an evaluation index, wherein the evaluation index includes one or more of the following indexes: taking the number of single-frame data jumps as a single-frame stability index, taking the number of multi-frame data jumps as a multi-frame stability index, taking the number of data frame loss as a frame rate continuity index, and taking the number of data delays as a frame rate real-time index.
[0097] The target positioning data includes the third output data, and the third output data is the received current positioning data. The evaluation index of the target positioning data is the real-time frame rate index (Real Time Frame Rate, RTFR), and the abnormal feature is the data delay. Determining whether there is data delay in the target positioning data includes: calculating the time difference between the timestamp of the third output data and the timestamp of the current reference positioning data, comparing the time difference with the time difference threshold, and if the time difference is greater than the time difference threshold, there is data delay. Then count the number of data delays, and use the number of data delays as the real-time frame rate index.
[0098] In one example, the time difference threshold also includes communication delay and positioning algorithm processing delay.
[0099] Exemplarily, the latest output data in the positioning data, that is, the third output data F out3 , let the third output data F out3 The timestamp is T FC Generally, the frequency output of combined navigation is very high and stable. Combined navigation can be used as a time reference, and its data is the reference positioning data. If the timestamp of the latest output data of combined navigation is T INS , the data output frequency of the positioning algorithm is 100H Z Considering the sensor communication delay and algorithm processing delay, a 20% margin is reserved to limit the timestamp difference. The frame rate real-time index is marked as Cnt FTFR , when the following conditions are not met, Cnt FTFR Add 1 to the count:
[0100] 0 < T INS -T FC < 0.002
[0101] In one example, the evaluation method of this embodiment also includes dividing the value of the evaluation index by the statistical time or the statistical distance to obtain a unit evaluation index, and using the unit evaluation index to indicate the positioning performance of the positioning data, wherein the statistical time is the time taken from the beginning to the end of the statistical target positioning data, and the statistical distance is the change in distance of the target object (such as a vehicle) after the statistical time has passed.
[0102] For example, the time taken for the location data to be counted from the beginning to the end is T (statistical time), the vehicle travel distance is D (statistical distance), that is, the distance change of the vehicle after the statistical time T is D, and the count of the location algorithm result output not in real time (delay) is Cnt RTFR , then the real-time frame rate index in the time dimension is RTFR t ,RTFR t = Cnt RTFR / T, unit is times / S. RTFR is the real-time performance indicator in the distance dimension.d ,RTFR d = Cnt RTFR / D, unit is times / m.
[0103] Generally speaking, the frame rate real-time index in the time dimension is RTFR. t You can refer to 1 / 3600 times / s, which means that it is acceptable to have non-real-time positioning once every 60 minutes. RTFR is an indicator of real-time frame rate in the distance dimension. d You can refer to 1 / 100000 times / m, which physically means that it is acceptable for positioning to be unrealistic once every 100 kilometers.
[0104] The details of other operations performed in each step of this embodiment can refer to the same details in the aforementioned embodiment and will not be elaborated here.
[0105] The positioning performance evaluation method provided in this embodiment has an evaluation index of a frame rate real-time index. First, the third output data is obtained, where the third output data is the received current positioning data. Then, the time difference between the timestamp of the third output data and the timestamp of the current reference positioning data is calculated. The time difference is compared with a time difference threshold. If the time difference is greater than the time difference threshold, data delay exists. Then, the number of data delays is counted, and the number of data delays is used as a frame rate real-time index. Thus, the frame rate real-time of the positioning result can be evaluated without the need for a true value, which is convenient.
[0106] Example 5: Reference Figure 2 As shown, the positioning performance evaluation device 200 provided in this embodiment includes: an acquisition module 201, used to acquire target positioning data, and the target positioning data is positioning data obtained by calculation or simulation of a positioning algorithm; a judgment module 202, used to judge whether the target positioning data has abnormal characteristics, and the abnormal characteristics include: single-frame data jump, multi-frame data jump, data frame loss and / or data delay; a statistical module 203, used to count the number of each abnormal feature respectively, and take the number of each abnormal feature as an evaluation index, and the evaluation index includes one or more of the following indicators: the number of single-frame data jumps is used as a single-frame stability index, the number of multi-frame data jumps is used as a multi-frame stability index, the number of data frame loss is used as a frame rate continuity index, and the number of data delays is used as a frame rate real-time index.
[0107] In one example, the device 200 may also include a unit evaluation index calculation module, which is used to divide the value of the evaluation index by the statistical time or the statistical distance to obtain a unit evaluation index, and use the unit evaluation index to indicate the positioning performance of the positioning data, wherein the statistical time is the time used to count the target positioning data from the beginning to the end, and the statistical distance is the change in distance of the target object after the statistical time has passed.
[0108] In one example, the target positioning data includes first output data and second output data, and the first output data and the second output data are two consecutive frames of data.
[0109] In one example, the first output data is the positioning data at the current moment, and the second output data is the positioning data of a frame before the first output data.
[0110] In one example, determining whether there are abnormal features in the target positioning data is determining whether there is a single-frame data jump in the target positioning data; including: calculating the positioning data difference between the first output data and the second output data, the positioning data including timestamp, position, attitude and / or speed; comparing the positioning data difference with the corresponding difference threshold, if the positioning data difference is greater than the corresponding difference threshold, then there is a single-frame data jump.
[0111] In one example, determining whether the target positioning data has abnormal features is determining whether the target positioning data has data frame loss; including: calculating the time interval between two consecutive frames of positioning data; comparing the time interval with a time interval threshold, if the time interval is greater than the time interval threshold, data frame loss exists.
[0112] In one example, the time interval threshold also includes communication delay and positioning algorithm processing delay.
[0113] In one example, the target positioning data includes M frames of continuous positioning data starting from the current frame; judging whether the target positioning data has abnormal features is judging whether the target positioning data has multi-frame data jumps; comprising: calculating the lateral position difference, longitudinal position difference, lateral velocity difference, longitudinal velocity difference and / or yaw angle difference of adjacent nodes of continuous M-1 positioning data, and calculating the average value and standard deviation respectively according to the lateral position difference, longitudinal position difference, lateral velocity difference, longitudinal velocity difference and / or yaw angle difference; setting the corresponding difference threshold interval according to each pair of average value and standard deviation; obtaining the abnormal number of positioning data points that do not belong to the difference threshold interval, if the abnormal number is greater than the abnormal number threshold, there is a multi-frame data jump.
[0114] In one example, the value of M in the M-frame positioning data is the same as the frequency value of the output target positioning data.
[0115] In one example, the lower limit of the difference threshold interval is the mean value minus n times the standard deviation, and the upper limit of the difference threshold interval is the mean value plus n times the standard deviation, where n≥1.
[0116] In one example, the target positioning data includes third output data, and the third output data is the received current positioning data; judging whether the target positioning data has abnormal characteristics is judging whether the target positioning data has data delay; including: calculating the time difference between the timestamp of the third output data and the timestamp of the current reference positioning data; comparing the time difference with the time difference threshold, if the time difference is greater than the time difference threshold, then there is data delay.
[0117] In one example, the time difference threshold also includes communication delay and positioning algorithm processing delay.
[0118] The details of other operations performed by each module in this embodiment can be referred to the aforementioned embodiments and will not be elaborated here.
[0119] The positioning performance evaluation device provided in this embodiment first obtains target positioning data, which is positioning data calculated or simulated by a positioning algorithm; then determines whether the target positioning data has abnormal features, which include: single-frame data jumps, multi-frame data jumps, data frame loss and / or data delay; finally, counts the number of each abnormal feature respectively, and takes the number of each abnormal feature as an evaluation index, which includes one or more of the following indicators: the number of single-frame data jumps as a single-frame stability index, the number of multi-frame data jumps as a multi-frame stability index, the number of data frame loss as a frame rate continuity index, and the number of data delays as a frame rate real-time index. This positioning performance evaluation method utilizes the characteristics of the positioning data itself, does not require the use of true values, and does not require the use of expensive true value equipment, and is more convenient.
[0120] A positioning performance evaluation device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal. A positioning performance evaluation device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0121] The present application also provides an electronic device, comprising: a memory for storing programs or instructions executable by a processor; and a processor for executing the above-mentioned programs or instructions to implement the various processes of the above-mentioned positioning performance evaluation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0122] Figure 33 is a schematic diagram of an electronic device according to an embodiment of the present invention. The electronic device 300 may include an internal communication bus 301, a processor (Processor) 302, a read-only memory (ROM) 303, a random access memory (RAM) 304, and a communication port 305. The internal communication bus 301 can realize data communication between components of the electronic device 300. The processor 302 can make judgments and issue prompts. In some embodiments, the processor 302 can be composed of one or more processors. The communication port 305 can realize data communication between the electronic device 300 and the outside. In some embodiments, the electronic device 300 can send and receive information and data from the network through the communication port 305. The electronic device 300 may also include different forms of program storage units and data storage units, a read-only memory (ROM) 303 and a random access memory (RAM) 304, which can store various data files used for computer processing and / or communication, and possible programs or instructions executed by the processor 302. The result of the processing by the processor 302 is transmitted to the user device through the communication port 305 and displayed on the user interface.
[0123] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned positioning performance evaluation method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0124] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0125] For those skilled in the art, the above invention disclosure is only used as an example and does not constitute a limitation of the present application. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements and amendments to the present application. Such modifications, improvements and amendments are suggested in the present application, so such modifications, improvements and amendments still belong to the spirit and scope of the exemplary embodiments of the present application.
[0126] Similarly, it should be noted that in order to simplify the description of the disclosure of this application and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this application, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the object of this application are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.
[0127] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used for the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise specified, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which can be changed according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the method of general digit retention. Although the numerical domains and parameters used to confirm the breadth of the range in some embodiments of the present application are approximate values, in specific embodiments, the setting of such numerical values is as accurate as possible within the feasible range.
[0128] Although the present application has been described with reference to the current specific embodiments, ordinary technicians in this technical field should recognize that the above embodiments are only used to illustrate the present application, and various equivalent changes or substitutions may be made without departing from the spirit of the present application. Therefore, as long as the changes and modifications to the above embodiments are within the essential spirit of the present application, they will fall within the scope of the claims of the present application.
Claims
1. A positioning performance evaluation method, characterized in that: include: Acquire target positioning data, wherein the target positioning data is positioning data calculated or simulated by a positioning algorithm; Determine whether the target positioning data has abnormal characteristics, wherein the abnormal characteristics include: single-frame data jump, multi-frame data jump, data frame loss and data delay; Wherein, judging whether the target positioning data has abnormal characteristics is judging whether the target positioning data has multi-frame data jumps, including: the target positioning data includes M frames of positioning data starting from the current frame; calculating the lateral position difference, longitudinal position difference, lateral speed difference, longitudinal speed difference and / or yaw angle difference of adjacent nodes of the continuous M-1 positioning data, and calculating the average value and standard deviation respectively according to the lateral position difference, the longitudinal position difference, the lateral speed difference, the longitudinal speed difference and / or the yaw angle difference; setting a corresponding difference threshold interval by each pair of the average value and the standard deviation; obtaining the abnormal number of positioning data points that do not belong to the difference threshold interval, if the abnormal number is greater than the abnormal number threshold, there is a multi-frame data jump; The number of times each abnormal feature occurs is counted separately, and the number of times each abnormal feature occurs is used as an evaluation index, which includes the following indexes: the number of single-frame data jumps is used as a single-frame stability index, the number of multi-frame data jumps is used as a multi-frame stability index, the number of data frame losses is used as a frame rate continuity index, and the number of data delays is used as a frame rate real-time index.
2. The positioning performance evaluation method according to claim 1, characterized in that: The value of M in the M-frame positioning data is the same as the frequency value of outputting the target positioning data.
3. The positioning performance evaluation method according to claim 1, characterized in that: The lower limit of the difference threshold interval is the average value minus n times the standard deviation, and the upper limit of the difference threshold interval is the average value plus n times the standard deviation, where n≥1.
4. The positioning performance evaluation method according to claim 1, characterized in that: Also includes: The value of the evaluation index is divided by the statistical time or the statistical distance to obtain a unit evaluation index, and the unit evaluation index is used to indicate the positioning performance of the positioning data; wherein the statistical time is the time used to count the target positioning data from the beginning to the end, and the statistical distance is the change in distance of the target object after the statistical time has passed.
5. A positioning performance evaluation method as claimed in claim 1, characterized in that: The target positioning data includes first output data and second output data, and the first output data and the second output data are two consecutive frames of data.
6. The positioning performance evaluation method according to claim 5, characterized in that: The first output data is the positioning data at the current moment, and the second output data is the positioning data of a frame before the first output data.
7. The positioning performance evaluation method according to claim 5 or 6, characterized in that: Determining whether the target positioning data has an abnormal feature is: determining whether the target positioning data has a single frame data jump; including: Calculate the positioning data difference between the first output data and the second output data, the positioning data including a timestamp, a position, a posture and / or a speed; compare the positioning data difference with a corresponding difference threshold, if the positioning data difference is greater than the corresponding difference threshold, there is a single frame data jump.
8. The positioning performance evaluation method according to claim 5 or 6, characterized in that: Determining whether the target positioning data has an abnormal feature is: determining whether the target positioning data has data frame loss; including: Calculate the time interval between two consecutive frames of positioning data; compare the time interval with a time interval threshold, if the time interval is greater than the time interval threshold, data frame loss occurs.
9. The positioning performance evaluation method according to claim 8, characterized in that: The time interval threshold also includes communication delay and positioning algorithm processing delay.
10. The positioning performance evaluation method according to claim 1, characterized in that: The target positioning data includes third output data, and the third output data is the received current positioning data; Determining whether the target positioning data has an abnormal feature is: determining whether the target positioning data has a data delay; including: Calculating a time difference between a timestamp of the third output data and a timestamp of the current reference positioning data; The time difference is compared with a time difference threshold, and if the time difference is greater than the time difference threshold, data delay exists.
11. The positioning performance evaluation method according to claim 10, characterized in that: The time difference threshold also includes communication delay and positioning algorithm processing delay.
12. A positioning performance evaluation device, characterized in that: include: An acquisition module is used to acquire target positioning data, wherein the target positioning data is positioning data calculated or simulated by a positioning algorithm; A judgment module is used to judge whether the target positioning data has abnormal characteristics, and the abnormal characteristics include: single-frame data jump, multi-frame data jump, data frame loss and data delay; Wherein, judging whether the target positioning data has abnormal characteristics is judging whether the target positioning data has multi-frame data jumps, including: the target positioning data includes M frames of positioning data starting from the current frame; calculating the lateral position difference, longitudinal position difference, lateral speed difference, longitudinal speed difference and / or yaw angle difference of adjacent nodes of the continuous M-1 positioning data, and calculating the average value and standard deviation respectively according to the lateral position difference, the longitudinal position difference, the lateral speed difference, the longitudinal speed difference and / or the yaw angle difference; setting a corresponding difference threshold interval by each pair of the average value and the standard deviation; obtaining the abnormal number of positioning data points that do not belong to the difference threshold interval, if the abnormal number is greater than the abnormal number threshold, there is a multi-frame data jump; The statistical module is used to count the number of each abnormal feature respectively, and take the number of each abnormal feature as an evaluation index, which includes the following indicators: the number of single-frame data jumps as the single-frame stability index, the number of multi-frame data jumps as the multi-frame stability index, the number of data frame losses as the frame rate continuity index and the number of data delays as the frame rate real-time index.
13. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the positioning performance evaluation method as described in any one of claims 1 to 11 are implemented.
14. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the positioning performance evaluation method as described in any one of claims 1-11 are implemented.
