Positioning method and device of unmanned driving system, unmanned driving system and medium

By detecting the correlation of positioning data of the unmanned driving system in different positioning modes and switching modes, the problem of unstable positioning accuracy of the unmanned driving system in agricultural operation scenarios is solved, and high-precision and robust positioning effects are achieved.

CN118655604APending Publication Date: 2024-09-17GUANGDONG MODERN AGRI EQUIP RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410703078.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

It is difficult for existing unmanned driving systems to achieve high-precision adaptive switching of positioning modes in different scenarios, resulting in unstable positioning accuracy and inability to meet the continuous high-precision needs of agricultural operation scenarios.

Method used

By acquiring positioning data sequences in different positioning modes, correlation detection is performed. If the detection results indicate no correlation, the system switches to another positioning mode. Multi-sensor fusion positioning is used to achieve seamless switching and improve positioning accuracy.

Benefits of technology

It realizes the adaptive switching of high-precision positioning modes of the unmanned driving system in different scenarios, improves positioning accuracy and robustness, and meets the continuous high-precision needs of agricultural operation scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118655604A
    Figure CN118655604A
Patent Text Reader

Abstract

The invention is applicable to the field of unmanned driving, and provides a positioning method and device for an unmanned driving system, the unmanned driving system and a medium, and the method comprises the steps: obtaining a first positioning data sequence and a second positioning data sequence corresponding to the unmanned driving system in a first positioning mode in a process that the unmanned driving system executes operation based on the first positioning mode; performing correlation detection on the first positioning data sequence and the second positioning data sequence to obtain a first detection result; if the first detection result indicates that no correlation exists between the first positioning data sequence and the second positioning data sequence, whether the first positioning mode is switched to the second positioning mode or not is determined based on the third positioning data sequence, and the second positioning mode and the first positioning mode adopt different positioning sensors for fusion positioning. According to the method, seamless switching of the positioning modes can be achieved by detecting the correlation between the positioning data sequences, the positioning precision of the unmanned driving system is improved, and the continuous high-precision operation requirement is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of unmanned driving technology, and in particular relates to a positioning method and device for an unmanned driving system, an unmanned driving system and a medium. Background Art

[0002] With the continuous development of science and technology, the current unmanned driving system has the need to use multiple positioning modes for precise positioning. For example, in the full-area operation scenario of agricultural machinery, the positioning mode of the unmanned driving system is required to be dynamically adjusted according to different scenarios to achieve full-area precise positioning of the unmanned driving system.

[0003] At present, unmanned driving systems mainly switch positioning modes by sensing the characteristics of scene changes, thereby achieving global positioning of the unmanned driving system in different scenes. However, this method is prone to misjudgment or failure to switch to the optimal positioning mode, which affects the global accurate positioning of the unmanned driving system and cannot guarantee continuous high-precision operation requirements. Summary of the invention

[0004] The embodiments of the present application provide a positioning method, device, unmanned driving system and medium for an unmanned driving system, which can realize seamless switching of positioning modes of the unmanned driving system across scenarios, improve the positioning accuracy of the unmanned driving system, and ensure continuous high-precision operation requirements.

[0005] In a first aspect, an embodiment of the present application provides a positioning method for an unmanned driving system, comprising:

[0006] During the process of the unmanned driving system performing an operation based on the first positioning mode, obtaining a first positioning data sequence and a second positioning data sequence corresponding to the unmanned driving system in the first positioning mode;

[0007] Performing a correlation test on the first positioning data sequence and the second positioning data sequence to obtain a first test result, where the first test result is used to indicate whether there is a correlation between the first positioning data sequence and the second positioning data sequence;

[0008] If the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence, it is determined whether to switch the first positioning mode to the second positioning mode based on the third positioning data sequence. The first positioning data sequence, the second positioning data sequence and the third positioning data sequence are respectively collected by different positioning sensors in the unmanned driving system, and the second positioning mode and the first positioning mode use different positioning sensors for fusion positioning.

[0009] In a second aspect, an embodiment of the present application provides a positioning device for an unmanned driving system, comprising:

[0010] An acquisition module, configured to acquire a first positioning data sequence and a second positioning data sequence corresponding to the unmanned driving system in the first positioning mode during a process in which the unmanned driving system performs an operation based on the first positioning mode;

[0011] a correlation detection module, used to perform a correlation detection on the first positioning data sequence and the second positioning data sequence to obtain a first detection result, wherein the first detection result is used to indicate whether there is a correlation between the first positioning data sequence and the second positioning data sequence;

[0012] A positioning mode determination module is used to determine whether to switch the first positioning mode to the second positioning mode based on a third positioning data sequence if the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence, the first positioning data sequence, the second positioning data sequence and the third positioning data sequence are respectively collected by different positioning sensors in the unmanned driving system, and the second positioning mode and the first positioning mode are fused and positioned using different positioning sensors.

[0013] In a third aspect, an embodiment of the present application provides an unmanned driving system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described in any one of the first aspects is implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspects is implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an unmanned driving system, the unmanned driving system executes any one of the methods described in the first aspect above.

[0016] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0017] According to the advantages of different positioning modes in their respective scenarios, the advantageous positioning mode can be determined for different scenarios through mode adaptive switching. Furthermore, the correlation detection of multi-sensor positioning data is used to realize high-precision adaptive switching of positioning modes, which solves the problem of adaptive switching of positioning modes in the full-domain integrated intelligent operation needs of unmanned driving systems in agricultural operation scenarios, and improves the average positioning accuracy of unmanned driving systems in full-domain operation scenarios. In particular, the positioning accuracy has been significantly improved at the scene switching point, and the system is more robust, ensuring that the unmanned driving system has continuous and stable high-precision positioning results under full-domain working conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0019] Figure 1 It is a flowchart of a positioning method for an unmanned driving system provided by an embodiment of the present application;

[0020] Figure 2 It is a technical implementation block diagram of a positioning method for an unmanned driving system provided by an embodiment of the present application;

[0021] Figure 3 It is a schematic diagram of a process for determining a preset mean value and a preset variance value provided by an embodiment of the present application;

[0022] Figure 4 This is a schematic diagram of an agricultural process of a positioning method for an unmanned driving system provided by another embodiment of the present application;

[0023] Figure 5 It is a schematic diagram of a process of constructing a global operation map provided by an embodiment of the present application;

[0024] Figure 6 It is a schematic diagram of a global operation map provided by an embodiment of the present application;

[0025] Figure 7 is a structural block diagram of a positioning device for an unmanned driving system provided in one embodiment of the present application;

[0026] Figure 8 It is a structural schematic diagram of an unmanned driving system provided in one embodiment of the present application. DETAILED DESCRIPTION

[0027] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0028] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0029] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0030] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0031] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0032] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0033] Figure 1 This is a flow chart of a positioning method for an unmanned driving system provided in one embodiment of the present application. As an example but not a limitation, this method can be applied to an unmanned driving system.

[0034] It can be considered that the global operation scenarios of agricultural machinery can be divided into two categories: indoor (such as vegetable greenhouses, agricultural machinery hangars) and outdoor (such as fields and orchards) according to the satellite signal shielding conditions.

[0035] On the one hand, the current positioning technology of unmanned driving systems usually adopts a combined navigation method based on Kalman filtering, which is mainly used in outdoor scenes with satellite signals, and solves the problem of maintaining positioning accuracy in scenes with weak short-term RTK satellite signals by integrating real-time kinematic measurement (RTK) and inertial measurement unit (IMU). However, IMU has cumulative errors and requires continuous calibration of RTK signals. If it enters indoor scenes such as vegetable greenhouses and hangars where satellite signals are lost for a long time, the combined navigation positioning will fail.

[0036] On the other hand, the current positioning technology of unmanned driving systems can also use the Simultaneous Localization and Mapping (SLAM) algorithm to build a global map in outdoor scenes and achieve high-precision positioning through real-time matching. However, visual SLAM is easily affected by lighting, which may cause positioning failure in outdoor scenes; laser SLAM may cause positioning degradation in scenes with a single structure due to the sparsity of feature points. Compared with the positioning of combined navigation, the global positioning based on SLAM has poor robustness in outdoor scenes.

[0037] At present, the positioning of agricultural full-domain scenes mostly adopts a single positioning mode, which has its limitations in different scenes or working conditions. In the solution using multiple positioning modes, the problem of indoor and outdoor scene recognition needs to be solved. The mainstream solution is to perceive the characteristics of scene changes, such as light intensity, the number of received satellites, signal strength and other evaluation indicators that reflect the positioning effect. These evaluation indicators are not sufficient as standards for switching positioning modes, and do not directly consider the switching of positioning modes based on the actual positioning effect of the system, which can easily lead to misjudgment or failure to switch to the best positioning mode.

[0038] Based on this, in order to ensure that the unmanned driving system can achieve high-precision robust positioning in all areas and all working conditions, the unmanned driving system provided by this application can use the combined navigation technology of RTK and IMU fusion in outdoor scenes, and use SLAM technology in indoor scenes. When crossing indoor and outdoor scenes, this application provides a positioning method for an unmanned driving system. First, an integrated indoor and outdoor map is constructed as a benchmark for seamless switching of indoor and outdoor positioning and navigation. Then, facing the agricultural full-area operation scene, it can generate a switching evaluation standard for the positioning mode from the correlation analysis of the system's multi-sensor fusion positioning results, and perform adaptive switching of multi-signal source positioning modes, so as to achieve seamless switching of the unmanned driving system across scenes and ensure that the unmanned driving system can meet the high-precision unmanned operation requirements in the entire area indoors and outdoors and all-weather. Figure 1 As shown, the method includes:

[0039] S101. During the process of an unmanned driving system performing an operation based on a first positioning mode, a first positioning data sequence and a second positioning data sequence corresponding to the unmanned driving system in the first positioning mode are obtained.

[0040] In this embodiment, the positioning modes of the unmanned driving system can be divided into at least two types. Different positioning modes can use different positioning sensors for fusion positioning. For example, the positioning modes of the unmanned driving system can include RTK and IMU combined navigation positioning based on Kalman filtering, and simultaneous mapping and positioning SLAM by fusion of LiDAR (Light Detection and Ranging) and IMU.

[0041] The first positioning mode can be any one of the above two positioning modes, which can be determined by the actual operation situation; the first positioning data sequence and the second positioning data sequence can be positioning data sequences collected by two different positioning sensors in the unmanned driving system in the first positioning mode. The first positioning data sequence and the second positioning data sequence can contain positioning data collected by two different positioning sensors in the same time period. The length of the same time period is not limited and can be pre-configured by relevant personnel. For example, when the current time of the current operation position is 12:00, the same time period can be a time period from 11:50 to 12:00. The type of specific positioning sensor can be determined by the first positioning mode. For example, when the first positioning mode is RTK and IMU combined navigation positioning based on Kalman filtering, the first positioning data sequence and the second positioning data sequence can be collected by RTK and IMU respectively.

[0042] Specifically, in the process of the unmanned driving system performing operations based on the first positioning mode, this step can acquire the first positioning data sequence and the second positioning data sequence corresponding to the unmanned driving system in the first positioning mode, so as to make a judgment on the subsequent positioning mode switching. For example, this step can acquire the first positioning data sequence and the second positioning data sequence in real time, or can acquire the first positioning data sequence and the second positioning data sequence periodically, and so on.

[0043] S102: Perform correlation detection on the first positioning data sequence and the second positioning data sequence to obtain a first detection result, where the first detection result is used to indicate whether there is correlation between the first positioning data sequence and the second positioning data sequence.

[0044] The first detection result can be used to indicate whether there is a correlation between the first positioning data sequence and the second positioning data sequence. For example, the first detection result can be represented by preset numbers, letters or characters. For example, the number "0" can be used to indicate that there is a correlation between the first positioning data sequence and the second positioning data sequence; the number "1" can be used to indicate that there is no correlation between the first positioning data sequence and the second positioning data sequence.

[0045] After obtaining the first positioning data sequence and the second positioning data sequence corresponding to the unmanned driving system in the first positioning mode, the present embodiment may perform a correlation test on the obtained first positioning data sequence and the second positioning data sequence to obtain a first detection result. The specific means of correlation detection are not limited. For example, the correlation detection of the positioning data sequences may be implemented by inputting the first positioning data sequence and the second positioning data sequence into a preset detection model, or by performing specific calculations on the first positioning data sequence and the second positioning data sequence, and determining the final first detection result according to the calculation results. The present embodiment does not limit this.

[0046] In some embodiments, performing correlation detection on the first positioning data sequence and the second positioning data sequence to obtain a first detection result includes:

[0047] Calculate the shortest distance between the first positioning data sequence and the second positioning data sequence using a dynamic time warping algorithm;

[0048] Detecting whether the shortest distance obeys a preset normal distribution, wherein the mean of the preset normal distribution is a preset mean, and the variance value of the preset normal distribution is a preset variance value;

[0049] If it is detected that the shortest distance obeys a preset normal distribution, the first detection result indicates that there is a correlation between the first positioning data sequence and the second positioning data sequence;

[0050] If it is detected that the shortest distance does not obey the preset normal distribution, the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence.

[0051] The preset mean and the preset variance value can be considered as the mean critical value and variance critical value of the shortest distance under normal working conditions, respectively, and are used to measure the similarity between data sequences. The specific values ​​can be set in advance by relevant personnel, or calculated and updated according to actual conditions, as long as the preset mean and the preset variance value can be continuously adjusted.

[0052] The Dynamic Time Warping (DTW) algorithm can be an algorithm for calculating the shortest distance (ie, DTW distance) between different time series, so as to measure the similarity between time series by calculating the DTW distance. The specific process of calculating the shortest distance is not further expanded here.

[0053] In a specific implementation, the process of correlation detection may include, for example: first, the distances of all point pairs between the first positioning data sequence and the second positioning data sequence may be calculated to construct a distance matrix between the two positioning data sequences. For example, the Euclidean distance between any first positioning data contained in the first positioning data sequence and any second positioning data contained in the second positioning data sequence may be calculated, and each obtained Euclidean distance is used as the element value in the distance matrix to form a distance matrix; then, the shortest path is found, that is, starting from the upper left corner of the distance matrix and ending at the lower right corner, and a path is found through dynamic programming so that the sum of the point pair distances on the path is minimized. This shortest path represents the optimal alignment method between the two positioning data sequences; the sum of the point pair distances on the shortest path is the DTW distance between the two positioning data sequences.

[0054] Subsequently, the similarity between the first positioning data sequence and the second positioning data sequence may be measured according to the calculated DTW distance. For example, it may be detected whether the calculated DTW distance obeys a preset normal distribution, and different first detection results may be obtained according to different detection results. For example, if it is detected that the DTW distance obeys a preset normal distribution, it means that the DTW distance satisfies the distribution function formed by the critical value under normal operating conditions, and at this time, it may be determined that the first detection result indicates that there is a correlation between the first positioning data sequence and the second positioning data sequence; if it is detected that the DTW distance does not obey the preset normal distribution, it means that the DTW distance does not satisfy the distribution function formed by the critical value under normal operating conditions, and then it may be determined that the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence;

[0055] S103. If the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence, determine whether to switch the first positioning mode to the second positioning mode based on the third positioning data sequence, the first positioning data sequence, the second positioning data sequence and the third positioning data sequence are respectively collected by different positioning sensors in the unmanned driving system, and the second positioning mode and the first positioning mode use different positioning sensors for fusion positioning.

[0056] The second positioning mode and the first positioning mode can respectively use different positioning sensors for fusion positioning, such as the second positioning mode and the first positioning mode can respectively use completely different positioning sensors for fusion positioning, and the second positioning mode and the first positioning mode can also respectively use partially different positioning sensors for fusion positioning. The first positioning data sequence, the second positioning data sequence and the third positioning data sequence can be respectively collected by different positioning sensors in the unmanned driving system. For example, when the positioning mode of the unmanned driving system includes RTK and IMU combined navigation positioning based on Kalman filtering, and simultaneous mapping and positioning of LiDAR and IMU fusion, the first positioning data sequence can be a positioning data sequence collected by RTK, the second positioning data sequence can be a positioning data sequence collected by IMU, and the third positioning data sequence can be a positioning data sequence collected by LiDAR.

[0057] In this step, if the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence, it means that the data collected by different positioning sensors in the current first positioning mode are quite different. At this time, it can be specifically determined whether to switch the first positioning mode to the second positioning mode based on the third positioning data sequence. For example, it can be determined whether to switch the first positioning mode to the second positioning mode only based on the specific content of the third positioning data sequence, or it can be determined whether to switch the first positioning mode to the second positioning mode based on the third positioning data sequence and other data sequences. The other data sequences can be the first positioning data sequence or the second positioning data sequence, or they can be positioning data sequences other than the first positioning data sequence and the second positioning data sequence. The number of other data sequences can be one or more. For example, it can be determined whether to switch the first positioning mode to the second positioning mode based on the relationship between the second positioning data sequence and other data sequences.

[0058] If the first detection result indicates that there is a correlation between the first positioning data sequence and the second positioning data sequence, it means that the data collected by different positioning sensors in the current first positioning mode are not very different. At this time, the first positioning mode does not need to be switched to the second positioning mode, that is, the first positioning mode can be maintained for operation.

[0059] The present embodiment provides a positioning method for an unmanned driving system. In the process of the unmanned driving system performing an operation based on a first positioning mode, a first positioning data sequence and a second positioning data sequence corresponding to the unmanned driving system in the first positioning mode are obtained; a correlation detection is performed on the first positioning data sequence and the second positioning data sequence to obtain a first detection result, and the first detection result is used to indicate whether there is a correlation between the first positioning data sequence and the second positioning data sequence; if the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence, then based on the third positioning data sequence, it is determined whether to switch the first positioning mode to the second positioning mode, the first positioning data sequence, the second positioning data sequence and the third positioning data sequence are respectively collected by different positioning sensors in the unmanned driving system, and the second positioning mode and the first positioning mode are respectively fused and positioned using different positioning sensors. Using this method, by detecting the correlation between the first positioning data sequence and the second positioning data sequence corresponding to the unmanned driving system in the first positioning mode, seamless switching of positioning modes can be achieved, the positioning accuracy of the unmanned driving system is improved, and the continuous high-precision operation requirements are guaranteed.

[0060] In some embodiments, determining whether to switch the first positioning mode to the second positioning mode based on the third positioning data sequence includes:

[0061] Based on the second positioning data sequence and the third positioning data sequence, determine whether to switch the first positioning mode to the second positioning mode, wherein the first positioning data sequence, the second positioning data sequence and the third positioning data sequence are respectively acquired from original positioning data at preset frequencies, and the original positioning data are collected by different positioning sensors.

[0062] Among them, the first positioning data sequence, the second positioning data sequence and the third positioning data sequence can be obtained from the original positioning data according to the preset frequency, respectively. The original positioning data can be collected by different positioning sensors. For example, different positioning sensors in the unmanned driving system can simultaneously output their own collected original positioning data, and the sampling frequencies of different positioning sensors can be the same or different. The preset frequency can be a pre-set sampling frequency, and the lowest frequency among the sampling frequencies of different positioning sensors can be used as the preset frequency, or the preset frequency can also be a fixed frequency, etc. The first positioning data sequence, the second positioning data sequence and the third positioning data sequence are obtained from each original positioning data according to the preset frequency.

[0063] In a specific implementation, whether to switch the first positioning mode to the second positioning mode can be determined based on the second positioning data sequence and the third positioning data sequence. The specific determination method can be determined according to actual conditions. For example, the correlation between the second positioning data sequence and the third data sequence can be continued to be detected to determine whether to switch the first positioning mode to the second positioning mode. Alternatively, whether to switch the first positioning mode to the second positioning mode can be determined by simply judging whether the numbers of positioning data in the second positioning data sequence and the third positioning data sequence are the same, and so on.

[0064] In some embodiments, determining whether to switch the first positioning mode to the second positioning mode based on the second positioning data sequence and the third positioning data sequence includes:

[0065] Performing correlation detection on the second positioning data sequence and the third positioning data sequence to obtain a second detection result;

[0066] If the second detection result indicates that there is a correlation between the second positioning data sequence and the third positioning data sequence, it is determined to switch the first positioning mode to the second positioning mode.

[0067] In a specific implementation, correlation detection can be performed on the second positioning data sequence and the third positioning data sequence, and whether to switch the first positioning mode to the second positioning mode can be determined based on the second detection result. For example, if the second detection result indicates that there is a correlation between the second positioning data sequence and the third positioning data sequence, it means that the data collected by the positioning sensor according to the second positioning mode is not much different, and thus it can be determined to switch the first positioning mode to the second positioning mode; correspondingly, if the second detection result indicates that there is no correlation between the second positioning data sequence and the third positioning data sequence, it means that the data collected by the positioning sensor according to the second positioning mode is very different, that is, there are abnormalities in the positioning sensors in the two positioning modes in the current operating scenario, and the unmanned driving system can enter a positioning failure state. Among them, the means of correlation detection can be similar to the process of correlation detection between the first positioning data sequence and the second positioning data sequence mentioned above, wherein the normal distribution used to measure the correlation between the second positioning data sequence and the third positioning data sequence can be the same as the preset normal distribution, or can be different, that is, the parameters of the normal distribution used to measure the correlation between the second positioning data sequence and the third positioning data sequence, such as the mean and variance of the normal distribution can be the same as the preset mean and preset variance values ​​of the preset normal distribution, or can be actually calculated based on the data collected by the positioning sensor corresponding to the second positioning mode, and this embodiment is not limited to this.

[0068] Figure 2 is a technical implementation block diagram of a positioning method for an unmanned driving system provided by an embodiment of the present application, such as Figure 2As shown, firstly, data preparation can be performed, that is, the positioning data between the positioning sensors involved in the unmanned driving system can be aligned. The specific number and type of positioning data can be determined according to the actual situation of the positioning sensors configured by the unmanned driving system. Taking the positioning sensors including RTK, IMU and Lidar as an example, the data alignment process can include: using the RTK positioning coordinates with a fixed solution as the initial value, normalizing the initial value of the IMU odometer and the Lidar odometer, such as assigning the initial coordinate value; performing linear interpolation on the RTK data, inputting the IMU odometer into the pre-integration model, and performing front-end alignment and linear interpolation on the Lidar odometer in turn. In addition, positioning output alignment is performed. For example, in the same coordinate system, the RTK, IMU odometer and Lidar odometer will output three sets of positioning results at the same time. The positioning outputs of the IMU odometer and the Lidar odometer can be sampled using the RTK with the lowest update frequency as the reference frequency, and the time-series positioning sequences output by the RTK, IMU odometer and Lidar odometer are traversed using a sliding window with an interval of T seconds to obtain a first positioning data sequence, a second positioning data sequence and a third positioning data sequence (that is, the first positioning data sequence, the second positioning data sequence and the third positioning data sequence are respectively obtained from the original positioning data at a preset frequency, and the original positioning data is collected by different positioning sensors).

[0069] In a specific implementation, a spatial coordinate system for indoor and outdoor positioning modes can be used. Because the switching of positioning modes requires the unification of the spatial coordinate systems of different positioning systems. The present application can project the positioning results output by the original RTK and IMU combined navigation into the reference coordinate system, and convert the results of the laser SLAM positioning output into the reference coordinate system. Similarly, the positioning results of the IMU odometer and the Lidar odometer can be unified into the reference coordinate system, so that the system points to the positioning results of the same reference coordinate system regardless of which positioning mode is used. The reference coordinate system is selected and configured according to actual needs.

[0070] It is also possible to synchronize the time of indoor and outdoor positioning modes. To achieve the logical switching of the positioning mode switching, the positioning system needs to run under the same time reference. This application uses satellite timing as the time reference, so that the output of combined navigation positioning and laser SLAM positioning has the same reference time index. The positioning output frequency between the two positioning modes and the odometer is based on the RTK update frequency. The IMU odometer and SLAM positioning output with a faster update frequency are sampled, so that the system can uniformly update the same frequency system positioning results regardless of which positioning mode is used.

[0071] Then, correlation analysis and statistical analysis can be performed, such as calculating the DTW distance and DTW correlation between the RTK positioning sequence and the IMU odometer positioning sequence, and between the Lidar odometer and the IMU odometer positioning sequence within the sliding window.

[0072] Specifically, this embodiment may not be limited to triggering the positioning mode switching algorithm when the operating scenario of the autonomous driving system changes, that is, the correlation between the two positioning data sequences corresponding to the current positioning mode may be detected in real time or periodically to determine whether to switch the positioning mode. For example, in the process of the unmanned driving system performing operations based on the positioning mode of RTK and IMU fusion, the DTW correlation between the RTK positioning and the IMU odometer may be detected (that is, in the process of the unmanned driving system performing operations based on the first positioning mode, the first positioning data sequence and the second positioning data sequence are subjected to correlation detection to obtain a first detection result, and the first detection result is used to indicate whether there is a correlation between the first positioning data sequence and the second positioning data sequence).

[0073] For example, the correlation test can be performed by the DTW distance between the RTK positioning sequence and the IMU odometer within the sliding window range (such as the sum of the distances Y1 of the points corresponding to the shortest paths of the two trajectories). If the DTW distance Y1 follows a normal distribution N D (μ D , δ D 2 ),Right now (where m=500, according to mathematical statistics, when the confidence level is 99%, Z=2.58, and the two endpoint values ​​of the confidence interval = sample mean-Z*standard error), it means that the RTK positioning effect is good, and the RTK and IMU fusion positioning mode can be maintained (that is, if the shortest distance obeys the preset normal distribution, the first detection result indicates that there is a correlation between the first positioning data sequence and the second positioning data sequence; the first positioning mode remains unchanged).

[0074] like This means that the DTW correlation test between the RTK positioning trajectory and the IMU odometer trajectory is uncorrelated, and the DTW similarity between the Lidar odometer positioning trajectory and the IMU odometer positioning trajectory can be further detected (i.e., if the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence, a correlation test is performed on the second positioning data sequence and the third positioning data sequence to obtain a second detection result).

[0075] For example, if the DTW distance Y2 between the Lidar odometer positioning trajectory and the IMU odometer positioning trajectory follows a normal distribution N E (μ E , δ E 2 ),Right now Where m=500, it means that the Lidar has a good positioning effect at this time, and the positioning mode can be switched to the Lidar and IMU fusion positioning mode (that is, if the second detection result indicates that there is a correlation between the second positioning data sequence and the third positioning data sequence, it is determined to switch the first positioning mode to the second positioning mode); if This means that in this scenario, the main sensor devices RTK and Lidar of the two positioning modes are abnormal, and the system enters a positioning failure state.

[0076] In addition, the distance threshold indicators that the main sensing devices of combined navigation and SLAM positioning should meet under their normal working conditions can be constructed in advance based on the sequences output by RTK positioning and Lidar odometer positioning and the DTW distance of the IMU odometer under their respective normal working conditions.

[0077] In some embodiments, before detecting whether the shortest distance obeys a preset normal distribution, the method further includes:

[0078] Acquire a fourth positioning data sequence and a fifth positioning data sequence corresponding to each historical operation time period of the unmanned driving system, where the fourth positioning data sequence and the fifth positioning data sequence are respectively collected by different positioning sensors in the unmanned driving system;

[0079] For each historical operation time period, a dynamic time warping algorithm is used to calculate the shortest distance between the fourth positioning data sequence and the fifth positioning data sequence of each historical operation time period;

[0080] The mean of the shortest distance corresponding to each historical operation time period is determined as a preset mean, and the variance of the shortest distance corresponding to each historical operation time period is determined as a preset variance value.

[0081] The fourth positioning data sequence and the fifth positioning data sequence can be considered as positioning data sequences collected by different positioning sensors in the unmanned driving system in each historical operating time period. There is no limitation on which positioning sensor collects the fourth positioning data sequence and the fifth positioning data sequence. For example, the fourth positioning data sequence and the fifth positioning data sequence can be collected by the positioning sensor corresponding to the first positioning mode. The operating time period corresponding to the fourth positioning data sequence and the fifth positioning data sequence is before the operating time period of the first positioning data sequence and the second positioning data sequence. For example, the first positioning data sequence at the current operating position is collected by the RTK positioning sensor at 11:59-12:00, then the fourth positioning data sequence can be a positioning data sequence collected by the RTK positioning sensor in the historical operating time period before 11:59, such as the historical operating time period can include the operating time periods of 11:55-11:56, 11:57-11:58 and / or 11:58-11:59, etc.; similarly, the second positioning data sequence and the fourth positioning data sequence can be data collected by the IMU sensor in different operating time periods.

[0082] Alternatively, the fourth positioning data sequence and the fifth positioning data sequence may also be collected by other positioning sensors that are different from the positioning sensors corresponding to the first positioning mode, such as positioning sensors with higher precision or other types of sensors, to ensure the precision and accuracy of the preset mean and preset variance value.

[0083] The historical operation time period can refer to the time period before the current moment. The length of each historical operation time period can be the same or different. The number of historical operation time periods can be determined according to actual conditions. For example, each historical operation time period can be 500 historical operation time periods, and each historical operation time period can be a fixed T seconds, and T can be 10.

[0084] In a specific implementation, the preset mean and the preset variance value may be periodically adjusted or updated according to actual conditions. For example, when 500 historical operation time periods are reached, the fourth positioning data sequence and the fifth positioning data sequence collected by different positioning sensors in each historical operation time period may be obtained, and then for each historical operation time period, a dynamic time normalization algorithm may be used to calculate the shortest distance between the fourth positioning data sequence and the fifth positioning data sequence of each historical operation time period, so as to obtain the shortest distance corresponding to each historical operation time period, so that the preset mean and the preset variance value may be determined according to the shortest distance corresponding to each historical operation time period, such as the mean of each shortest distance may be calculated, and the calculated mean may be used as the preset mean, and the variance of each shortest distance may be calculated, and the calculated variance may be used as the preset variance value.

[0085] Figure 3 is a schematic diagram of a process for determining a preset mean value and a preset variance value provided by an embodiment of the present application, such as Figure 3 As shown, first, we can collect the RTK positioning sequence R and the pose sequence I solved by the IMU odometer in the outdoor scene with good satellite signals, and collect the pose sequence L solved by the lidar odometer in the indoor scene.

[0086] Then, the RTK positioning sequence R={r1,r2,…r n}, IMU odometer sequence I = {I1, I2, ... I m}, LiDAR odometer sequence L = {l1,l2,…l d}.

[0087] The sequences R, I, and L are normalized respectively to scale the data to the same range and eliminate the dimensional differences between the features. Dimensional differences refer to the different value ranges and units of different features, which will affect the performance and stability of the model. Therefore, through normalization, the value ranges of different features can be scaled to the same interval, thereby eliminating the impact of dimensional differences and improving the performance and stability of the model.

[0088] For example, we can calculate Then the normalized sequence can be

[0089] Secondly, we can construct a distance matrix D of size n×m, with the matrix elements Construct a distance matrix E of size d×m, the matrix elements Where dist is the Euclidean distance function, then the matrix element And the matrix elements Represents a two-dimensional coordinate vector consisting of longitude and latitude coordinate values.

[0090] Use the dynamic time warping algorithm to search from d in the distance matrix D respectively 11 to d nm The shortest path of the distance matrix E is searched from e using the dynamic time warping algorithm 11 To e dmThe shortest path. The path search constraints may include 1) Boundary constraints: the search must be conducted from the upper left corner of the distance matrix D and E to the lower right corner of the matrix, which means that the two sequences are time-aligned by default; 2) Continuity constraints: the path needs to be continuous and cannot cross a certain point to match, which means that the sequence data is not missing and there is no packet loss by default; 3) Monotonicity constraints: the path must be monotonous over time, so that the paths will not intersect.

[0091] Based on the above three constraints, the shortest distance corresponding to the shortest path between the RTK positioning sequence and the IMU odometer sequence can be D(i, j) = Dist(i, j) + min[D(i-1, j), D(i, j-1), D(i-1, j-1)], where i = 1, 2, …, n; j = 1, 2, …, m; and the shortest distance corresponding to the shortest path between the IMU odometer sequence and the lidar odometer sequence can be E(i, j) = Dist(i, j) + min[E(i-1, j), E(i, j-1), E(i-1, j-1)], where i = 1, 2, …, d; j = 1, 2, …, m.

[0092] Then, we can count the mean μ of the shortest distance of the distance matrix D in the 500 sliding window sequences. D With variance δ D 2 , and the mean μ of the shortest distance of the distance matrix E E With variance δ E 2 ,Right now

[0093] Finally, based on the DTW distance mean and variance of the sequences output by RTK positioning and Lidar odometer positioning and the IMU odometer under their respective normal working conditions, the distance threshold index (i.e., the preset mean and preset variance value) that the main sensor equipment of integrated navigation and SLAM positioning should meet under their normal working conditions can be constructed. D With δ D 2 As the distance threshold indicator of the integrated navigation positioning with RTK as the main sensor equipment under normal working conditions (such as outdoor); μ E With δ E 2 It is the distance threshold indicator of laser SLAM positioning under normal working conditions (such as indoors) with lidar as the main sensing device.

[0094] Figure 4It is an agricultural process diagram of a positioning method for an unmanned driving system provided by another embodiment of the present application. This embodiment further optimizes the situation after determining whether to switch the first positioning mode to the second positioning mode based on the third positioning data sequence: in combination with the global operation map, the positioning mode corresponding to the mode determination result is used to perform the operation, and the mode determination result is used to indicate whether to switch the first positioning mode to the second positioning mode, or to keep the first positioning mode unchanged.

[0095] like Figure 4 As shown, the method includes:

[0096] S201. During the process of the unmanned driving system performing an operation based on the first positioning mode, a first positioning data sequence and a second positioning data sequence corresponding to the unmanned driving system in the first positioning mode are obtained.

[0097] S202: Perform a correlation test on the first positioning data sequence and the second positioning data sequence to obtain a first test result, where the first test result is used to indicate whether there is a correlation between the first positioning data sequence and the second positioning data sequence.

[0098] S203. If the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence, determine whether to switch the first positioning mode to the second positioning mode based on the third positioning data sequence, the first positioning data sequence, the second positioning data sequence and the third positioning data sequence are respectively collected by different positioning sensors in the unmanned driving system, and the second positioning mode and the first positioning mode use different positioning sensors for fusion positioning.

[0099] S204. In combination with the global operation map, the operation is performed using a positioning mode corresponding to the mode determination result, where the mode determination result is used to indicate switching the first positioning mode to the second positioning mode, or keeping the first positioning mode unchanged.

[0100] The global operation map can be understood as a map of the area where the unmanned driving system will operate, which can be directly collected in advance by the positioning sensor, or can be constructed based on data collected by multiple positioning sensors. The mode determination result can be used to indicate switching the first positioning mode to the second positioning mode, or to keep the first positioning mode unchanged.

[0101] In a specific implementation, after determining a specific positioning mode, the positioning mode corresponding to the mode determination result can be used in combination with the global operation map to perform operations. At the same time, in actual application scenarios, the global operation map can also be displayed on the terminal device side and the position of the unmanned driving system can be displayed in real time in the global operation map to check whether the unmanned driving system is operating in the best positioning mode when the scene changes, so as to evaluate the effect of the positioning mode switching. In some embodiments, before using the positioning mode corresponding to the mode determination result in combination with the global operation map to perform operations, it also includes:

[0102] Obtain the 3D grid map and aerial map corresponding to the entire operating area of ​​the unmanned driving system. The 3D grid map is generated based on 3D point cloud data using a simultaneous positioning and mapping algorithm, and the aerial map is collected by a drone.

[0103] Perform dimension processing on the three-dimensional grid map to obtain a two-dimensional grid map corresponding to all the operating areas, and the two-dimensional grid map is associated with the satellite positioning information of the landmarks in all the operating areas;

[0104] The two-dimensional raster map and the aerial map are spliced ​​together to obtain the global operation map of the unmanned driving system.

[0105] Among them, the three-dimensional raster map can be generated based on the three-dimensional point cloud data by using a simultaneous positioning and map construction algorithm. The type of the three-dimensional point cloud data is not limited. For example, the three-dimensional point cloud data can be point cloud data collected by a laser radar in the entire operating area of ​​the unmanned driving system, or it can be point cloud data collected by a camera (such as a camera) in the entire operating area of ​​the unmanned driving system, or it can be point cloud data collected by a combination of a laser radar and a camera, etc.; the entire operating area is the area where the unmanned driving system will operate.

[0106] The aerial map can be collected by a drone. For example, the aerial map can be an original map collected by a drone, or a map obtained by processing the original map, such as a map obtained by cropping the original map.

[0107] A marker point may refer to an area with obvious markings in the entire operating area. For example, a marker point may be a corner point, that is, a point with particularly prominent attributes in some aspect; or it may be other points with obvious characteristics, such as a boundary area with obvious color difference.

[0108] In a specific embodiment, Figure 5 is a schematic diagram of a process for constructing a global operation map provided by an embodiment of the present application, such as Figure 5As shown, first, a global laser three-dimensional point cloud map can be constructed, such as a 3D grid map of the global scene can be generated based on the laser point cloud data using a laser SLAM algorithm; the generated 3D grid map is converted into a two-dimensional grid map, for example, the 3D grid map can be clipped, filtered, rasterized and projected by 3D point cloud processing software to obtain a 2D grid map; then, multiple control points can be selected in the generated two-dimensional grid map, and the selection of control points is based on, for example, the corner points in the map that can be seen from a bird's-eye view, and other clearly marked areas, and a high-precision positioning device (such as an RTK positioning device) is used in the real area corresponding to the selected control point to collect the satellite positioning information of the location (i.e., the longitude and latitude of the control point). At the same time, the drone can fly over the entire operating area and collect multiple aerial photos, so that a 2D aerial map can be constructed on the aerial map stitching software.

[0109] Subsequently, the two-dimensional laser point cloud raster map (i.e., 2D raster map) and the longitude and latitude information corresponding to the control points can be imported into the geographic information system software for raster registration transformation. For example, the registration tool can be used to associate the location of the control point in the map with the longitude and latitude information of the location to obtain the transformed 2D raster map; at the same time, the 2D aerial map can be cropped to obtain a cropped 2D aerial map (i.e., the three-dimensional raster map is dimensionally processed to obtain a two-dimensional raster map corresponding to the entire operating area, and the two-dimensional raster map is associated with the satellite positioning information of the landmark points in all the operating areas).

[0110] Finally, the registered 2D raster map and the cropped 2D aerial map can be spliced ​​together, and the spliced ​​global map can be processed using map annotation tools, such as semantic annotation of drivable areas, operating areas, etc., to obtain a 2D high-precision map with multi-source data fusion (i.e., splicing the two-dimensional raster map and the aerial map to obtain a global operating map of the unmanned driving system).

[0111] Figure 6 is a schematic diagram of a global operation map provided by an embodiment of the present application, such as Figure 6 As shown, the global operation map can be a pre-built map of the area where the unmanned driving system will operate. The global operation map integrates environmental information collected by positioning devices such as 16-line lidar, IMU, RTK, and drones, and can clearly distinguish the drivable area and operation area of ​​the unmanned driving system.

[0112] For example, by adopting high-precision map construction technology that integrates indoor and outdoor information, integrating environmental information collected by 16-line lidar, IMU, RTK, drones and other positioning equipment, the geometric structure relationship of the work scene is deeply restored, providing a priori maps for precise positioning.

[0113] At the same time, by using point cloud processing software, the three-dimensional lidar point cloud map is projected into a two-dimensional raster map and converted into the same format as the aerial map generated by the drone aerial photography software, making it more convenient to use geographic information system software to align and splice the point cloud raster map with the aerial map.

[0114] In addition, map annotation tools were used to semantically annotate the converted and aligned maps, adding unmanned driving-related semantic labels to the global high-precision map. For example, passable areas and prohibited areas were marked, providing high-precision map semantic information for the unmanned driving system, laying the foundation for reliable positioning and navigation in a variety of scenarios.

[0115] In some embodiments, the output of the unmanned driving system can adaptively select a set of positioning mode positioning results as the system positioning results as the scene switches. During this period, two sets of positioning modes can be turned on at the same time. While using the positioning results of one positioning mode, another positioning mode is also calculating the current position, waiting for the switching instructions of the adaptive switching algorithm to switch the scene-adaptive positioning mode.

[0116] In some embodiments, from the perspective of optimizing the energy saving of the system and the allocation and management of limited computing resources, the last positioning result output in the current positioning mode can be used as the initial value of the next positioning mode before the mode is switched, and then the iterative solution of the next positioning mode can be started to reduce the parallel energy consumption of the dual positioning modes and the burden of occupying too many computing resources.

[0117] From the above description, it can be found that compared with the existing technology, the positioning method of the unmanned driving system provided in this application adopts high-precision map construction technology with integrated indoor and outdoor information fusion, and constructs a full-area high-precision map that meets the navigation and positioning task requirements for agricultural scenarios at a lower cost.

[0118] At the same time, two positioning modes are adopted to meet the needs of agricultural global positioning. According to the advantages of the two positioning modes in their respective scenarios, the mode adaptive switching can be used to customize the positioning mode with advantages for different scenarios. Furthermore, a multi-sensor correlation detection algorithm is used to achieve high-precision adaptive switching of positioning modes, which solves the problem of adaptive switching of positioning modes in the global integrated intelligent operation needs of the unmanned driving system in agricultural operation scenarios, and improves the average positioning accuracy of the unmanned driving system in the global operation scenarios. In particular, the positioning accuracy has been significantly improved at the scene switching point, and the system is more robust, ensuring that the unmanned driving system has continuous and stable high-precision positioning results under global working conditions.

[0119] Corresponding to the positioning method of the unmanned driving system in the above embodiment, Figure 7This is a structural block diagram of a positioning device for an unmanned driving system provided in one embodiment of the present application. For ease of explanation, only the parts related to the embodiment of the present application are shown.

[0120] Reference Figure 7 , the device comprises:

[0121] An acquisition module 301 is used to acquire a first positioning data sequence and a second positioning data sequence corresponding to the unmanned driving system in the first positioning mode during the process of the unmanned driving system performing an operation based on the first positioning mode;

[0122] A correlation detection module 302 is used to perform a correlation detection on the first positioning data sequence and the second positioning data sequence to obtain a first detection result, where the first detection result is used to indicate whether there is a correlation between the first positioning data sequence and the second positioning data sequence;

[0123] The positioning mode determination module 303 is used to determine whether to switch the first positioning mode to the second positioning mode based on the third positioning data sequence if the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence. The first positioning data sequence, the second positioning data sequence and the third positioning data sequence are respectively collected by different positioning sensors in the unmanned driving system, and the second positioning mode and the first positioning mode use different positioning sensors for fusion positioning.

[0124] The present embodiment provides a positioning device for an unmanned driving system. The first positioning data sequence and the second positioning data sequence corresponding to the unmanned driving system in the first positioning mode are obtained by the acquisition module during the process of the unmanned driving system performing operations based on the first positioning mode; the first positioning data sequence and the second positioning data sequence are detected by the correlation detection module to obtain a first detection result, and the first detection result is used to indicate whether there is a correlation between the first positioning data sequence and the second positioning data sequence; if the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence, the positioning mode determination module determines whether to switch the first positioning mode to the second positioning mode based on the third positioning data sequence, and the first positioning data sequence, the second positioning data sequence and the third positioning data sequence are respectively collected by different positioning sensors in the unmanned driving system, and the second positioning mode and the first positioning mode are respectively fused and positioned using different positioning sensors. By using the device, by detecting the correlation between the first positioning data sequence and the second positioning data sequence corresponding to the unmanned driving system in the first positioning mode, seamless switching of the positioning mode can be achieved, the positioning accuracy of the unmanned driving system is improved, and the continuous high-precision operation requirements are guaranteed.

[0125] Optionally, the positioning mode determination module includes:

[0126] A determination unit is used to determine whether to switch the first positioning mode to the second positioning mode based on a second positioning data sequence and a third positioning data sequence, wherein the first positioning data sequence, the second positioning data sequence and the third positioning data sequence are respectively acquired from original positioning data according to a preset frequency, and the original positioning data is collected by different positioning sensors.

[0127] Optionally, the determining unit is specifically configured to:

[0128] Performing correlation detection on the second positioning data sequence and the third positioning data sequence to obtain a second detection result;

[0129] If the second detection result indicates that there is a correlation between the second positioning data sequence and the third positioning data sequence, it is determined to switch the first positioning mode to the second positioning mode.

[0130] Optionally, the correlation detection module includes:

[0131] A first calculation unit, configured to calculate the shortest distance between the first positioning data sequence and the second positioning data sequence by using a dynamic time warping algorithm;

[0132] A detection unit, used to detect whether the shortest distance obeys a preset normal distribution, wherein the mean of the preset normal distribution is a preset mean value, and the variance value of the preset normal distribution is a preset variance value;

[0133] A first indicating unit, configured to indicate, if it is detected that the shortest distance obeys a preset normal distribution, that a first detection result indicates that there is a correlation between the first positioning data sequence and the second positioning data sequence;

[0134] The second indication unit is used for, if it is detected that the shortest distance does not obey a preset normal distribution, then the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence.

[0135] Optionally, the correlation detection module further includes:

[0136] an acquisition unit, configured to acquire, before detecting whether the shortest distance obeys a preset normal distribution, a fourth positioning data sequence and a fifth positioning data sequence corresponding to each historical operation time period of the unmanned driving system, wherein the fourth positioning data sequence and the fifth positioning data sequence are respectively acquired by different positioning sensors in the unmanned driving system;

[0137] A second calculation unit is used to calculate the shortest distance between the fourth positioning data sequence and the fifth positioning data sequence in each historical operation time period by using a dynamic time warping algorithm before detecting whether the shortest distance obeys a preset normal distribution;

[0138] The determination unit is used to determine the mean of the shortest distance corresponding to each historical operation time period as a preset mean value and the variance of the shortest distance corresponding to each historical operation time period as a preset variance value before detecting whether the shortest distance obeys a preset normal distribution.

[0139] Optionally, the positioning device of an unmanned driving system provided in this embodiment further includes:

[0140] An operation module is used to determine whether to switch the first positioning mode to the second positioning mode based on the third positioning data sequence, and then, in combination with the global operation map, adopt the positioning mode corresponding to the mode determination result to perform the operation. The mode determination result is used to indicate whether to switch the first positioning mode to the second positioning mode, or to keep the first positioning mode unchanged.

[0141] Optionally, the positioning device of an unmanned driving system provided in this embodiment further includes:

[0142] A map acquisition module is used to obtain a three-dimensional grid map and an aerial map corresponding to the entire operation area of ​​the unmanned driving system before operating in a positioning mode corresponding to the mode determination result in combination with the global operation map. The three-dimensional grid map is generated based on three-dimensional point cloud data using a simultaneous positioning and map construction algorithm, and the aerial map is collected by a drone;

[0143] A dimension processing module is used to perform dimension processing on the three-dimensional grid map to obtain a two-dimensional grid map corresponding to all operating areas, and the two-dimensional grid map is associated with satellite positioning information of landmarks in all operating areas;

[0144] The splicing module is used to splice the two-dimensional grid map and the aerial map to obtain the global operation map of the unmanned driving system.

[0145] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0146] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0147] The present application also provides an unmanned driving system. Figure 8 is a schematic diagram of the structure of an unmanned driving system provided by an embodiment of the present application, such as Figure 8 As shown, the unmanned driving system includes: at least one processor 401, a memory 402, an input device 403, an output device 404, and a computer program stored in the memory 402 and executable on at least one processor 401. When the processor 401 executes the computer program, the steps in any of the above-mentioned method embodiments are implemented.

[0148] The input device 403 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the unmanned driving system. The output device 404 may include display devices such as a display screen.

[0149] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by the processor 401, the steps in the above-mentioned method embodiments can be implemented.

[0150] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0151] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can be executed by the processor 401. The steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the unmanned driving system, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0152] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0153] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0154] In the embodiments provided in the present application, it should be understood that the disclosed devices / unmanned driving systems and methods can be implemented in other ways. For example, the device / unmanned driving system embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0155] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0156] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A positioning method for an unmanned driving system, characterized in that: The method comprises: During the process of the unmanned driving system performing an operation based on the first positioning mode, obtaining a first positioning data sequence and a second positioning data sequence corresponding to the unmanned driving system in the first positioning mode; Performing a correlation detection on the first positioning data sequence and the second positioning data sequence to obtain a first detection result, where the first detection result is used to indicate whether the first positioning data sequence and the second positioning data sequence are correlated; If the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence, it is determined whether to switch the first positioning mode to the second positioning mode based on the third positioning data sequence, the first positioning data sequence, the second positioning data sequence and the third positioning data sequence are respectively collected by different positioning sensors in the unmanned driving system, and the second positioning mode and the first positioning mode are fused and positioned using different positioning sensors.

2. The positioning method of the unmanned driving system according to claim 1, characterized in that: The determining whether to switch the first positioning mode to the second positioning mode based on the third positioning data sequence includes: Based on the second positioning data sequence and the third positioning data sequence, determine whether to switch the first positioning mode to the second positioning mode, wherein the first positioning data sequence, the second positioning data sequence and the third positioning data sequence are respectively acquired from original positioning data at a preset frequency, and the original positioning data are collected by different positioning sensors.

3. The positioning method of the unmanned driving system according to claim 2, characterized in that: The determining whether to switch the first positioning mode to the second positioning mode based on the second positioning data sequence and the third positioning data sequence includes: Performing correlation detection on the second positioning data sequence and the third positioning data sequence to obtain a second detection result; If the second detection result indicates that the second positioning data sequence and the third positioning data sequence are correlated, it is determined to switch the first positioning mode to the second positioning mode.

4. The positioning method of the unmanned driving system according to claim 1, characterized in that: The performing correlation detection on the first positioning data sequence and the second positioning data sequence to obtain a first detection result includes: Calculate the shortest distance between the first positioning data sequence and the second positioning data sequence using a dynamic time warping algorithm; Detecting whether the shortest distance obeys a preset normal distribution, wherein the mean of the preset normal distribution is a preset mean, and the variance of the preset normal distribution is a preset variance; If it is detected that the shortest distance obeys a preset normal distribution, the first detection result indicates that there is a correlation between the first positioning data sequence and the second positioning data sequence; If it is detected that the shortest distance does not obey the preset normal distribution, the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence.

5. The positioning method of the unmanned driving system according to claim 4, characterized in that: Before detecting whether the shortest distance obeys a preset normal distribution, the method further includes: Acquire a fourth positioning data sequence and a fifth positioning data sequence corresponding to each historical operation time period of the unmanned driving system, wherein the fourth positioning data sequence and the fifth positioning data sequence are respectively acquired by different positioning sensors in the unmanned driving system; For each of the historical operation time periods, a dynamic time warping algorithm is used to calculate the shortest distance between the fourth positioning data sequence and the fifth positioning data sequence of each of the historical operation time periods; The mean of the shortest distance corresponding to each of the historical operation time periods is determined as a preset mean, and the variance of the shortest distance corresponding to each of the historical operation time periods is determined as a preset variance value.

6. The positioning method of the unmanned driving system according to claim 1, characterized in that: After determining whether to switch the first positioning mode to the second positioning mode based on the third positioning data sequence, the method further includes: In combination with the global operation map, the operation is performed using a positioning mode corresponding to a mode determination result, and the mode determination result is used to indicate switching the first positioning mode to a second positioning mode, or keeping the first positioning mode unchanged.

7. The positioning method of the unmanned driving system according to claim 6, characterized in that: Before the operation is performed in combination with the global operation map and using the positioning mode corresponding to the mode determination result, the method further includes: Obtaining a three-dimensional grid map and an aerial map corresponding to all operating areas of the unmanned driving system, wherein the three-dimensional grid map is generated based on three-dimensional point cloud data using a simultaneous positioning and map construction algorithm, and the aerial map is collected by a drone; Performing dimension processing on the three-dimensional grid map to obtain a two-dimensional grid map corresponding to all the operation areas, wherein the two-dimensional grid map is associated with satellite positioning information of the marker points in all the operation areas; The two-dimensional grid map and the aerial map are spliced ​​to obtain a global operation map of the unmanned driving system.

8. A positioning device for an unmanned driving system, characterized in that: The device comprises: An acquisition module, configured to acquire, during the process in which the unmanned driving system performs an operation based on the first positioning mode, a first positioning data sequence and a second positioning data sequence corresponding to the unmanned driving system in the first positioning mode; a correlation detection module, configured to perform a correlation detection on the first positioning data sequence and the second positioning data sequence to obtain a first detection result, wherein the first detection result is used to indicate whether the first positioning data sequence and the second positioning data sequence are correlated; A positioning mode determination module is used to determine whether to switch the first positioning mode to a second positioning mode based on a third positioning data sequence if the first detection result indicates that there is no correlation between the first positioning data sequence and the second positioning data sequence, the first positioning data sequence, the second positioning data sequence and the third positioning data sequence are respectively collected by different positioning sensors in the unmanned driving system, and the second positioning mode and the first positioning mode are fused with different positioning sensors.

9. An unmanned driving system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.