Multi-sensor fused positioning method and mobile device

By calculating the pose difference of multiple sensors and setting the fusion weight parameters, the sensor weights are dynamically adjusted, which solves the problem of inaccurate positioning caused by sensor positioning errors and improves the positioning accuracy and robustness of mobile devices.

CN118730104APending Publication Date: 2024-10-01ZHEJIANG HUARAY TECH CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410627188.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In existing multi-sensor positioning methods, the positioning error of the sensor leads to inaccurate final positioning results, especially in poor environments or equipment failures, resulting in large errors in the positioning results of mobile devices.

Method used

By acquiring the sensing data of multiple sensors, the pose difference of each sensor is calculated, and the fusion weight parameters are set according to the pose difference, and the weight of each sensor is dynamically adjusted to fuse the positioning results of multiple sensors and improve positioning accuracy and robustness.

Benefits of technology

By dynamically adjusting the weight of the sensor, the weight of each sensor in the fusion can be determined based on the accuracy of each sensor, thereby improving positioning accuracy, reducing errors, and ensuring positioning robustness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118730104A_ABST
    Figure CN118730104A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-sensor fused positioning method and mobile equipment. The multi-sensor fused positioning method comprises the following steps: acquiring first sensing data acquired by a first sensor and second sensing data acquired by a second sensor; calculating the pose of the mobile device at the current moment based on the first sensing data to obtain a first pose; calculating the pose of the mobile device at the current moment based on the second sensing data to obtain a second pose; calculating a pose difference between the first pose and the second pose, and setting a fusion weight parameter of the first pose and the second pose by using the pose difference; and based on the fusion weight parameter, fusing the first pose and the second pose to obtain a target pose of the mobile device. According to the method, the accuracy of the poses of the sensors can be determined according to the pose difference of the poses of the sensors, so that the fusion weight of the poses of the sensors is dynamically adjusted, the positioning precision is improved, and the positioning robustness is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of mobile robots, and in particular to a positioning method and a mobile device integrating multiple sensors. Background Art

[0002] Positioning technology is undoubtedly a very important foundation for mobile devices. Many sensors can achieve the purpose of auxiliary positioning, such as odometers, lidar, ultrasound, cameras, WIFI, Bluetooth, etc. In order to improve stability, the mixed use of sensors is also very common in the field of robotics.

[0003] For example, the most common positioning method used by automated guided vehicles (AGVs) is to fuse the information of the lidar and the wheel odometer of the chassis to calculate the position and posture information of the lidar (or the vehicle body).

[0004] However, the sensors in the current multi-sensor positioning method may have positioning errors, resulting in inaccurate final positioning results. Summary of the invention

[0005] In order to solve the above problems, the present application at least provides a positioning method and a mobile device integrating multiple sensors.

[0006] In a first aspect, the present application provides a positioning method for fusing multiple sensors, which is applied to a mobile device. The mobile device is deployed with at least a first sensor and a second sensor. The method comprises: acquiring first perception data collected by the first sensor and second perception data collected by the second sensor; calculating the posture of the mobile device at the current moment based on the first perception data to obtain a first posture; and calculating the posture of the mobile device at the current moment based on the second perception data to obtain a second posture; calculating the posture difference between the first posture and the second posture, and using the posture difference to set a fusion weight parameter of the first posture and the second posture; based on the fusion weight parameter, fusing the first posture and the second posture to obtain a target posture of the mobile device.

[0007] In one embodiment, the posture difference between the first posture and the second posture is calculated, including: calculating the difference between the position coordinates in the first posture and the position coordinates in the second posture to obtain the position error; calculating the difference between the posture parameters in the first posture and the posture parameters in the second posture to obtain the posture error; using the position error and the posture error as the posture difference between the first posture and the second posture.

[0008] In one embodiment, the fusion weight parameters of the first posture and the second posture are set using the posture difference, including: comparing the position error with a preset position error threshold, and comparing the posture error with a preset posture error threshold to obtain a comparison result; determining the working state of the second sensor based on the comparison result, the working state including an abnormal working state and a normal working state; and setting the fusion weight parameters of the first posture and the second posture based on the working state of the second sensor.

[0009] In one embodiment, the working state of the second sensor is determined based on the comparison result, including: if the comparison result is that the position error is greater than a preset position error threshold, or the posture error is greater than a preset posture error threshold, then the second posture is added to the error data set; otherwise, the second posture is added to the correct data set; if the number of second postures in the error data set is greater than the first preset number threshold, then the working state of the second sensor is judged to be an abnormal working state; if the number of second postures in the error data set is less than the second preset number threshold, and the number of second postures in the correct data set is greater than the third preset number threshold, then the working state of the second sensor is judged to be a normal working state.

[0010] In one embodiment, based on the working state of the second sensor, the fusion weight parameters of the first posture and the second posture are set, including: if the working state of the second sensor is a normal working state, the fusion weight parameters of the first posture and the second posture are set to the first weight parameter; if the working state of the second sensor is an abnormal working state, the fusion weight parameters of the first posture and the second posture are set to the second weight parameter.

[0011] In one embodiment, the first sensor includes a laser radar, and the first pose is composed of multiple radar observation information; based on the fusion weight parameters of the first pose and the second pose, the first pose and the second pose are fused to obtain the target pose of the mobile device, including: calculating the credibility of the radar observation information in the first pose; based on the credibility of the radar observation information in the first pose, the radar observation information in the first pose is screened to obtain the first pose to be fused; based on the fusion weight parameters of the first pose and the second pose, the first pose and the second pose to be fused are fused to obtain the target pose of the mobile device.

[0012] In one embodiment, the radar observation information includes attitude parameters; calculating the credibility of the radar observation information in the first attitude includes: obtaining the deployment position coordinates of the laser radar relative to the mobile device; using the deployment position coordinates and the attitude parameters in the first attitude, calculating the position deviation of the first attitude; determining the credibility of the radar observation information in the first attitude based on the position deviation.

[0013] In one embodiment, the attitude parameters include a roll angle, a pitch angle, and a yaw angle; based on the credibility of the radar observation information in the first attitude, the radar observation information in the first attitude is screened to obtain the first attitude to be fused, including: if the position deviation is greater than a preset deviation threshold, the radar observation information in the first attitude is considered to be credible, and all radar observation information of the first attitude is retained to obtain the first attitude to be fused; if the position deviation is not greater than the preset deviation threshold, it is considered that there is unreliable radar observation information in the first attitude, the roll angle and pitch angle in the attitude parameters of the first attitude are deleted, and the yaw angle in the attitude parameters of the first attitude is retained to obtain the first attitude to be fused.

[0014] In one embodiment, the first sensor includes a lidar and the second sensor includes an odometer.

[0015] The second aspect of the present application provides a positioning device for fusing multiple sensors, which is deployed on a mobile device. The mobile device is provided with at least a first sensor and a second sensor. The device includes: a perception data acquisition module, which is used to acquire first perception data collected by the first sensor and second perception data collected by the second sensor; a posture calculation module, which is used to calculate the posture of the mobile device at the current moment based on the first perception data to obtain a first posture; and, based on the second perception data, calculate the posture of the mobile device at the current moment to obtain a second posture; a weight setting module, which is used to calculate the posture difference between the first posture and the second posture, and use the posture difference to set a fusion weight parameter of the first posture and the second posture; a posture fusion module, which is used to fuse the first posture and the second posture based on the fusion weight parameter to obtain a target posture of the mobile device.

[0016] A third aspect of the present application provides a mobile device, including a memory and a processor, wherein the processor is used to execute program instructions stored in the memory to implement the above-mentioned multi-sensor fusion positioning method.

[0017] A fourth aspect of the present application provides a computer-readable storage medium having program instructions stored thereon, which implement the above-mentioned multi-sensor fusion positioning method when the program instructions are executed by a processor.

[0018] The above scheme obtains the first perception data collected by the first sensor and the second perception data collected by the second sensor; calculates the posture of the mobile device at the current moment based on the first perception data to obtain the first posture; and calculates the posture of the mobile device at the current moment based on the second perception data to obtain the second posture; calculates the posture difference between the first posture and the second posture, and uses the posture difference to set the fusion weight parameter of the first posture and the second posture; based on the fusion weight parameter, fuses the first posture and the second posture to obtain the target posture of the mobile device, and can determine the accuracy of each sensor posture according to the posture difference of each sensor posture, thereby dynamically adjusting the fusion weight of each sensor posture, improving the positioning accuracy, and ensuring the robustness of positioning.

[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.

[0021] Figure 1 It is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;

[0022] Figure 2 is a flow chart of a positioning method for fusing multiple sensors shown in an exemplary embodiment of the present application;

[0023] Figure 3 is a data flow chart of a positioning method for fusing multiple sensors according to an exemplary embodiment of the present application;

[0024] Figure 4 is a data flow chart of a positioning method for fusing multiple sensors according to an exemplary embodiment of the present application;

[0025] Figure 5 is a block diagram of a positioning device integrating multiple sensors shown in an exemplary embodiment of the present application;

[0026] Figure 6 is a structural schematic diagram of a mobile device shown in an exemplary embodiment of the present application;

[0027] Figure 7 It is a schematic diagram of the structure of a computer-readable storage medium shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0028] The scheme of the embodiment of the present application is described in detail below in conjunction with the drawings of the specification.

[0029] In the following description, for the purpose of explanation rather than limitation, specific details such as specific system structures, interfaces, and technologies are provided to facilitate a thorough understanding of the present application.

[0030] The term "and / or" in this article is only an association information describing the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the previous and next associated objects are in an "or" relationship. In addition, "many" in this article means two or more than two. In addition, the term "at least one" in this article means any combination of at least two of any one or more of a plurality of, for example, including at least one of A, B, and C, can mean including any one or more elements selected from the set consisting of A, B, and C.

[0031] The multi-sensor positioning method obtains the final positioning result by fusing the pose calculation results of multiple sensors. However, if the pose calculation results of some sensors are wrong, it will directly affect the accuracy of the final positioning result.

[0032] For example, taking lidar and odometer as an example, if a mobile device has wheel slippage, idling, or jamming due to a bad ground environment or equipment failure, it will cause the odometer data to have large errors. If the calculated position and posture of the odometer data are directly fused with the lidar, the final positioning result will have large errors.

[0033] In order to solve the above problems, the present application at least provides a positioning method and a mobile device integrating multiple sensors.

[0034] The following is a description of the multi-sensor fusion positioning method provided in the embodiments of the present application.

[0035] Please refer to Figure 1 , which shows a schematic diagram of the solution implementation environment provided by an embodiment of the present application. Figure 1 In the example, the mobile device is an automatic guided vehicle, which is equipped with a laser radar and an odometer. Of course, the mobile device can also be a sweeping robot, a path guidance robot, etc., and the deployed sensors can also be other sensors, which is not limited in this application. Figure 1 As shown, the implementation environment of the solution may include an automatic guided vehicle 110 and a server 120, and the automatic guided vehicle 110 and the server 120 are communicatively connected with each other.

[0036] Exemplarily, the automatic guided vehicle 110 is deployed with a mobile device 111 and a laser radar 112, and the automatic guided vehicle 110 is moved in the scene to be positioned by driving the mobile device 111. The mobile device 111 contains a motion controller, an odometer, a battery, a motor, an embedded computer, etc. The laser radar 112 is used to collect laser radar data, and the odometer in the mobile device 111 is used to record the motion information of the automatic guided vehicle 110 to obtain odometer data, and the current position and posture of the automatic guided vehicle 110 is solved according to the laser radar data and the mileage count.

[0037] Server 120 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.

[0038] In the positioning method for integrating multiple sensors provided in the embodiment of the present application, the execution subject of each step can be the automatic guided vehicle 110, such as the target application installed and running in the automatic guided vehicle 110, or the server 120 connected to the automatic guided vehicle 110 for communication, or the automatic guided vehicle 110 and the server 120 interact and cooperate to execute, that is, part of the steps of the method are executed by the automatic guided vehicle 110, and the other part of the steps are executed by the server 120 connected to the automatic guided vehicle 110 for communication.

[0039] See also Figure 2 , Figure 2 It is a flow chart of a positioning method for fusing multiple sensors shown in an exemplary embodiment of the present application. The positioning method for fusing multiple sensors can be specifically executed by a mobile device.

[0040] like Figure 2 As shown, the positioning method of fusing multiple sensors includes at least steps S210 to S240, which are described in detail as follows:

[0041] Step S210: Acquire first perception data collected by the first sensor and second perception data collected by the second sensor.

[0042] The mobile device is deployed with at least a first sensor and a second sensor, and the first sensor and the second sensor are different sensors, such as the first sensor and the second sensor are any two of an odometer, a laser radar, an ultrasonic wave, a camera, WIFI, and Bluetooth.

[0043] Acquire first perception data collected by the first sensor and second perception data collected by the second sensor.

[0044] Exemplarily, the first sensor is a lidar and the second sensor is an odometer, then the first perception data is lidar data and the second perception data is odometer data.

[0045] Step S220: Calculate the posture of the mobile device at the current moment based on the first perception data to obtain the first posture; and calculate the posture of the mobile device at the current moment based on the second perception data to obtain the second posture.

[0046] Among them, the first pose and the second pose are in the same coordinate system, such as the world coordinate system, the sensor coordinate system, etc.

[0047] The posture of the mobile device at the current moment is calculated according to the first perception data to obtain the first posture, and the posture of the mobile device at the current moment is calculated according to the second perception data to obtain the second posture.

[0048] Different types of sensors correspond to different pose calculation methods.

[0049] For example, if the first sensor or the second sensor is a lidar, the lidar data collected by the lidar is obtained, the lidar data is matched with a pre-stored point cloud map, and the position result of the mobile device at the current moment is solved based on the point cloud map matching result.

[0050] For another example, if the first sensor or the second sensor is an odometer, the odometer data collected by the odometer is obtained, and the odometer data is combined with the positioning result at the previous moment to solve the position and posture result of the mobile device at the current moment.

[0051] For example, if the first sensor or the second sensor is a camera, the scene image captured by the camera is obtained, the landmarks contained in the scene image are extracted, and the posture relationship between these landmarks and the mobile device is calculated, thereby solving the posture result of the mobile device at the current moment.

[0052] Step S230: Calculate the posture difference between the first posture and the second posture, and use the posture difference to set the fusion weight parameter of the first posture and the second posture.

[0053] The difference between the first pose and the second pose is calculated to obtain the pose difference, and the fusion weight parameters of the first pose and the second pose are set according to the pose difference.

[0054] An example of setting the fusion weight parameters of the first pose and the second pose according to the pose difference is described.

[0055] Exemplarily, environmental information of the current positioning scenario of the mobile device is obtained, the positioning accuracy of the first sensor and the positioning accuracy of the second sensor are determined based on the environmental information, and the fusion weight parameters of the first posture and the second posture are set by combining the positioning accuracy of the first sensor, the positioning accuracy of the second sensor and the posture difference.

[0056] The positioning accuracy of different sensors in different scenarios is different. For example, when the ground is uneven, the positioning accuracy of the odometer is lower than that of other sensors; in a low-light environment, the positioning accuracy of the camera used for visible light image acquisition is lower than that of the lidar.

[0057] Therefore, the positioning accuracy of each sensor can be judged according to the environmental information of the current positioning scenario of the mobile device to obtain the positioning accuracy of the first sensor and the positioning accuracy of the second sensor. Then, the fusion weight parameters of the first posture and the second posture are set by combining the positioning accuracy of the first sensor, the positioning accuracy of the second sensor and the posture difference.

[0058] For example, if the positioning accuracy of the first sensor is greater than that of the second sensor, the weight of the first pose is increased and the weight of the second pose is decreased; if the positioning accuracy of the first sensor is less than that of the second sensor, the weight of the first pose is decreased and the weight of the second pose is increased, so as to obtain the fusion weight parameter of the first pose and the second pose. The weight increase value and the weight decrease value are determined according to the pose difference.

[0059] Specifically, the greater the posture difference, the greater the weight increase value and the weight decrease value. Conversely, the smaller the posture difference, the smaller the weight increase value and the weight decrease value.

[0060] Exemplarily, the historical posture of the mobile device within a preset time period is obtained, and the posture accuracy of the first posture is determined based on the historical posture and the first posture at the current moment; and the posture accuracy of the second posture is determined based on the historical posture and the second posture at the current moment; and the fusion weight parameters of the first posture and the second posture are set in combination with the posture accuracy of the first posture, the posture accuracy of the second posture and the posture difference.

[0061] For example, the posture change trend of the mobile device can be counted according to the posture at each moment in the historical posture, and then it can be determined whether the first posture and the second posture are in line with the posture change trend. The posture accuracy of the first posture and the second posture can be obtained according to the degree of matching between the first posture and the second posture and the posture change trend.

[0062] Then, the fusion weight parameters of the first pose and the second pose are set based on the pose accuracy of the first pose, the pose accuracy of the second pose, and the pose difference.

[0063] For example, if the pose accuracy of the first pose is greater than that of the second pose, the weight of the first pose is increased and the weight of the second pose is decreased; if the pose accuracy of the first pose is less than that of the second pose, the weight of the first pose is decreased and the weight of the second pose is increased to obtain the fusion weight parameter of the first pose and the second pose. The weight increase value and the weight decrease value are determined according to the pose difference.

[0064] Specifically, the greater the posture difference, the greater the weight increase value and the weight decrease value. Conversely, the smaller the posture difference, the smaller the weight increase value and the weight decrease value.

[0065] Of course, the fusion weight parameters of the first pose and the second pose may also be comprehensively determined by combining the positioning accuracy of the first sensor and the second sensor and the pose accuracy of the first pose and the second pose.

[0066] Step S240: Based on the fusion weight parameter, the first posture and the second posture are fused to obtain the target posture of the mobile device.

[0067] According to the calculated fusion weight parameters of the first pose and the second pose, the first pose and the second pose are weightedly fused to obtain the target pose of the mobile device.

[0068] It should be noted that the above embodiments are all exemplified by the first sensor and the second sensor. However, in actual application, the mobile device may be deployed with more sensors, that is, the mobile device may be deployed with a third sensor, a fourth sensor, etc. At this time, for each sensor, the fusion weight parameter calculation can be performed in the above manner. The difference is that when calculating the posture difference, it is necessary to determine a reference posture. The reference posture may be the posture of the sensor with the highest positioning accuracy and / or the posture with the highest posture accuracy. The reference posture may also be the average of the postures of each sensor. The postures of each sensor are respectively calculated with the reference posture for difference to obtain the posture difference.

[0069] Next, some embodiments of the present application are described in detail.

[0070] In some embodiments, the posture contains position coordinates and attitude parameters, and the posture difference between the first posture and the second posture is calculated in step S230, including: calculating the difference between the position coordinates in the first posture and the position coordinates in the second posture to obtain the position error; and calculating the difference between the attitude parameters in the first posture and the attitude parameters in the second posture to obtain the attitude error; using the position error and the attitude error as the posture difference between the first posture and the second posture.

[0071] Taking the first sensor as a laser radar and the second sensor as an odometer as an example, let the position coordinates of the first pose at the current time k be expressed as The position coordinates of the second pose at the current moment k are expressed as Then the formula for calculating the position error can be expressed as:

[0072] Formula 1:

[0073] in, are the coordinate differences corresponding to the x, y, and z axes respectively, is the position error at time k.

[0074] Taking the attitude parameters including yaw angle as an example, the difference between the yaw angle value in the first attitude and the yaw angle value in the second attitude is calculated, and the yaw angle difference is The yaw angle difference is taken as the attitude error.

[0075] Of course, in addition to calculating the posture difference by integrating the position coordinates and posture parameters in the above embodiment, the posture difference can also be calculated based on only one of the position coordinates and posture parameters, and this application does not limit this.

[0076] Then, the pose difference is used to set the fusion weight parameters of the first pose and the second pose.

[0077] In some embodiments, the positioning accuracy of the first sensor is higher than that of the second sensor, such as the first sensor is a lidar and the second sensor is an odometer, and the posture difference includes a position error and a posture error. In step S230, the posture difference is used to set the fusion weight parameters of the first posture and the second posture, including: comparing the position error with a preset position error threshold, and comparing the posture error with a preset posture error threshold to obtain a comparison result; determining the working state of the second sensor based on the comparison result, the working state including an abnormal working state and a normal working state; and setting the fusion weight parameters of the first posture and the second posture based on the working state of the second sensor.

[0078] The position error and the attitude error are compared with a preset position error threshold and a preset attitude error threshold respectively to obtain a comparison result, thereby determining the working state of the second sensor according to the comparison result, and obtaining a fusion weight parameter setting strategy that matches the current working state of the second sensor.

[0079] For example, if it is detected that the working state of the second sensor is an abnormal working state, the fusion weight parameter setting strategy is to reduce the fusion weight of the second posture. If it is detected that the working state of the second sensor is a normal working state, the fusion weight parameter setting strategy is to increase the fusion weight of the second posture. The maximum threshold value can be set for the fusion weight of the second posture so that the fusion weight of the second posture does not exceed the maximum threshold value.

[0080] Exemplarily, determining the working state of the second sensor based on the comparison result includes: if the comparison result is that the position error is greater than a preset position error threshold, or the posture error is greater than a preset posture error threshold, then adding the second posture to the error data set; otherwise, adding the second posture to the correct data set; if the number of second postures in the error data set is greater than a first preset number threshold, then judging that the working state of the second sensor is an abnormal working state; if the number of second postures in the error data set is less than a second preset number threshold, and the number of second postures in the correct data set is greater than a third preset number threshold, then judging that the working state of the second sensor is a normal working state.

[0081] For example, suppose the second pose calculated at the current time k is If the position error between the second pose and the first pose Greater than the preset position error threshold, and the attitude error If the error is greater than the preset attitude error threshold, the second attitude Add to error data set E bad middle.

[0082] If the position error between the second pose and the first pose is not greater than the preset position error threshold, and the attitude error If the error is not greater than the preset attitude error threshold, the second attitude Add to the correct data set E good middle.

[0083] Among them, the error data set E bad and the correct data set E good All of them are set with data storage time limit and error detection data set E bad and the correct data set E good The time interval between the generation timestamp of each second pose and the current time in the data storage is used to delete the second pose whose time interval exceeds the data storage time limit.

[0084] Then, according to the error data set E bad And the correct data set E good The working state of the second sensor is determined by the number of the second postures in the .

[0085] Specifically, if the error data set Ebad The number of the second postures in the error data set E is greater than the first preset number threshold, then it is determined that the working state of the second sensor is an abnormal working state; if the error data set E bad The number of the second poses in is less than the second preset number threshold, and the correct data set E good If the number of the second postures in the sensor is greater than the third preset number threshold, it is determined that the working state of the second sensor is a normal working state.

[0086] Among them, the first preset quantity threshold, the second preset quantity threshold and the third preset quantity threshold can be pre-set or flexibly calculated, such as determining the positioning accuracy according to the positioning scenario of the mobile device, and setting the first preset quantity threshold, the second preset quantity threshold and the third preset quantity threshold according to the positioning accuracy.

[0087] After the working state of the second sensor is obtained, a fusion weight parameter of the first posture and the second posture is set according to the working state of the second sensor.

[0088] Exemplarily, based on the working state of the second sensor, the fusion weight parameters of the first posture and the second posture are set, including: if the working state of the second sensor is a normal working state, the fusion weight parameters of the first posture and the second posture are set to the first weight parameter; if the working state of the second sensor is an abnormal working state, the fusion weight parameters of the first posture and the second posture are set to the second weight parameter.

[0089] That is, different weight parameters can be selected according to different working states of the second sensor to obtain the fusion weight parameters of the first pose and the second pose, so as to fuse the first pose and the second pose according to the fusion weight parameters of the first pose and the second pose to obtain the target pose of the mobile device.

[0090] In some embodiments, see Figure 3 , Figure 3 This is a data flow chart of a positioning method for fusing multiple sensors shown in an embodiment of the present application, such as Figure 3 As shown, the first perception data and the second perception data collected by the first sensor and the second sensor are obtained, and the posture calculations are performed on the first perception data and the second perception data respectively to obtain the first posture and the second posture, and then according to the posture difference between the first posture and the second posture, the weight of the first posture and the second posture weight are set to obtain the fusion weight parameter, and the first posture and the second posture are fused according to the fusion weight parameter to obtain the target posture of the mobile device.

[0091] In some embodiments, see Figure 4 , Figure 4 This is a data flow chart of a positioning method for fusing multiple sensors shown in another embodiment of the present application, such as Figure 4 As shown, in addition to calculating the fusion weight parameters of the first pose and the second pose, the pose observation information of the first pose and / or the second pose is also screened to obtain the pose observation information for fusion, and the pose observation information for fusion in the first pose and the second pose is fused according to the fusion weight parameters to obtain the target pose of the mobile device.

[0092] By screening the pose observation information with high credibility in the first pose and / or the second pose and eliminating the pose observation information with low credibility, the target pose obtained by subsequent fusion is made more accurate, thus ensuring the robustness of positioning.

[0093] Taking the first sensor including a three-dimensional laser radar as an example, the first pose is composed of multiple radar observation information; in step S240, based on the fusion weight parameters of the first pose and the second pose, the first pose and the second pose are fused to obtain the target pose of the mobile device, including: calculating the credibility of the radar observation information in the first pose; based on the credibility of the radar observation information in the first pose, the radar observation information in the first pose is screened to obtain the first pose to be fused; based on the fusion weight parameters of the first pose and the second pose, the first pose and the second pose to be fused are fused to obtain the target pose of the mobile device.

[0094] Exemplarily, the radar observation information includes attitude parameters; calculating the credibility of the radar observation information in the first attitude includes: obtaining the deployment position coordinates of the laser radar relative to the mobile device; using the deployment position coordinates and the attitude parameters in the first attitude, calculating the position deviation of the first attitude; determining the credibility of the radar observation information in the first attitude based on the position deviation.

[0095] For example, suppose the deployment position of the laser radar relative to the mobile device is The first position of k at the current moment The median pose coordinates are The attitude parameters include roll angle, pitch angle and yaw angle, which are Then the position deviation of the first pose can be calculated by:

[0096] Using the deployment position coordinates and the posture parameters in the first pose, the position vector is calculated according to Formula 2:

[0097] Formula 2:

[0098] According to the position vector (x rp y rp z rp ), according to the position vector, the position deviation e is calculated according to formula 3 rp :

[0099] Formula 3:

[0100] The credibility of the radar observation information in the first pose is determined based on the position deviation.

[0101] Of course, in addition to the above-mentioned method for calculating the credibility of the radar observation information in the first posture, other methods can also be used to calculate the credibility of the radar observation information in the first posture, such as obtaining the historical posture, judging whether the first posture is consistent with the posture change trend of the historical posture, and obtaining the credibility of the radar observation information in the first posture. This application does not limit this.

[0102] Taking the reliability of the radar observation information in the first pose determined by the position deviation as an example, the radar observation information in the first pose is screened to obtain the first pose to be fused, including: if the position deviation e rp If the deviation is greater than the preset threshold, the first position is considered The radar observation information is credible, and the first position is retained. All radar observation information is obtained to obtain the first position to be fused The first pose to be fused

[0103] If the position deviation e rp If the deviation is not greater than the preset deviation threshold, it is considered that there is unreliable radar observation information in the first pose, and the roll angle and pitch angle in the attitude parameters of the first pose are deleted, and the yaw angle in the attitude parameters of the first pose is retained to obtain the first pose to be fused. Right now By setting the roll angle and pitch angle to zero and retaining only the yaw angle parameter, the negative impact of the ground slope on the positioning accuracy when the mobile device is traveling on uneven ground can be avoided.

[0104] Then, according to the fusion weight parameter, the first pose to be fused and fuse with the second posture, wherein the specific method adopted for fusion includes but is not limited to nonlinear optimization, Kalman filtering, graph optimization and other methods, and this application does not limit the specific method adopted for fusion.

[0105] The multi-sensor fusion positioning method provided in the present application obtains first perception data collected by a first sensor and second perception data collected by a second sensor; calculates the posture of the mobile device at the current moment based on the first perception data to obtain a first posture; and calculates the posture of the mobile device at the current moment based on the second perception data to obtain a second posture; calculates the posture difference between the first posture and the second posture, and uses the posture difference to set a fusion weight parameter of the first posture and the second posture; based on the fusion weight parameter, fuses the first posture and the second posture to obtain a target posture of the mobile device, and can determine the accuracy of each sensor posture according to the posture difference of each sensor posture, thereby dynamically adjusting the fusion weight of each sensor posture, improving positioning accuracy, and ensuring positioning robustness.

[0106] Figure 5 is a block diagram of a multi-sensor fusion positioning device shown in an exemplary embodiment of the present application. The multi-sensor fusion positioning device is deployed on a mobile device, and the mobile device is provided with at least a first sensor and a second sensor. Figure 5 As shown, the exemplary multi-sensor fusion positioning device 500 includes: a perception data acquisition module 510, a posture calculation module 520, a weight setting module 530 and a posture fusion module 540. Specifically:

[0107] A perception data acquisition module 510, configured to acquire first perception data acquired by a first sensor and second perception data acquired by a second sensor;

[0108] A posture calculation module 520 is used to calculate the posture of the mobile device at the current moment based on the first perception data to obtain a first posture; and to calculate the posture of the mobile device at the current moment based on the second perception data to obtain a second posture;

[0109] A weight setting module 530 is used to calculate the posture difference between the first posture and the second posture, and use the posture difference to set the fusion weight parameter of the first posture and the second posture;

[0110] The posture fusion module 540 is used to fuse the first posture and the second posture based on the fusion weight parameter to obtain the target posture of the mobile device.

[0111] It should be noted that the multi-sensor fusion positioning device provided in the above embodiment and the multi-sensor fusion positioning method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here. In practical applications, the multi-sensor fusion positioning device provided in the above embodiment can distribute the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0112] See also Figure 6 , Figure 6 6 is a schematic diagram of the structure of an embodiment of a mobile device of the present application. The mobile device 600 includes a memory 601 and a processor 602, and the processor 602 is used to execute program instructions stored in the memory 601 to implement the steps in any of the above-mentioned positioning method embodiments of the fusion multi-sensor. Of course, the mobile device 600 can also contain more structures, such as a laser radar, an image sensor, a motion controller, an odometer, a battery, a motor, etc., and the present application does not limit the structure of the mobile device 600.

[0113] In a specific implementation scenario, the mobile device 600 may include, but is not limited to: an automatic guided vehicle, a sweeping robot, a path guidance robot, etc., which are not limited here.

[0114] Specifically, the processor 602 is used to control itself and the memory 601 to implement the steps in any of the above-mentioned multi-sensor fusion positioning method embodiments. The processor 602 can also be called a central processing unit (CPU). The processor 602 may be an integrated circuit chip with signal processing capabilities. The processor 602 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 602 can be implemented by an integrated circuit chip.

[0115] See also Figure 7 , Figure 7The computer-readable storage medium 700 stores program instructions 710 that can be executed by a processor, and the program instructions 710 are used to implement the steps in any of the above-mentioned positioning method embodiments for integrating multiple sensors.

[0116] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0117] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.

[0118] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only 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 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, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0119] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. 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 technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.

Claims

1. A positioning method integrating multiple sensors, characterized in that: Applied to a mobile device, the mobile device is deployed with at least a first sensor and a second sensor, including: Acquire first perception data collected by the first sensor and second perception data collected by the second sensor; Calculating the posture of the mobile device at the current moment based on the first perception data to obtain a first posture; and calculating the posture of the mobile device at the current moment based on the second perception data to obtain a second posture; Calculating a posture difference between the first posture and the second posture, and using the posture difference to set a fusion weight parameter of the first posture and the second posture; Based on the fusion weight parameter, the first posture and the second posture are fused to obtain a target posture of the mobile device.

2. The method according to claim 1, characterized in that The calculating the posture difference between the first posture and the second posture comprises: Calculate the difference between the position coordinates in the first posture and the position coordinates in the second posture to obtain a position error; Calculating the difference between the posture parameters in the first posture and the posture parameters in the second posture to obtain a posture error; The position error and the posture error are used as the posture difference between the first posture and the second posture.

3. The method according to claim 2, characterized in that The step of setting a fusion weight parameter of the first posture and the second posture by using the posture difference includes: Comparing the position error with a preset position error threshold, and comparing the attitude error with a preset attitude error threshold, to obtain a comparison result; determining a working state of the second sensor based on the comparison result, wherein the working state includes an abnormal working state and a normal working state; Based on the working state of the second sensor, a fusion weight parameter of the first posture and the second posture is set.

4. The method according to claim 3, characterized in that The determining the working state of the second sensor based on the comparison result includes: If the comparison result is that the position error is greater than the preset position error threshold, or the posture error is greater than the preset posture error threshold, then the second posture is added to the error data set; otherwise, the second posture is added to the correct data set; If the number of second postures in the error data set is greater than a first preset number threshold, it is determined that the working state of the second sensor is an abnormal working state; If the number of second postures in the erroneous data set is less than a second preset number threshold, and the number of second postures in the correct data set is greater than a third preset number threshold, it is determined that the working state of the second sensor is a normal working state.

5. The method according to claim 3, characterized in that: The step of setting a fusion weight parameter of the first posture and the second posture based on the working state of the second sensor includes: If the working state of the second sensor is a normal working state, setting a fusion weight parameter of the first posture and the second posture to a first weight parameter; If the working state of the second sensor is an abnormal working state, a fusion weight parameter of the first posture and the second posture is set to a second weight parameter.

6. The method according to claim 1, characterized in that The first sensor includes a laser radar, and the first posture is composed of a plurality of radar observation information; the first posture and the second posture are fused based on the fusion weight parameter of the first posture and the second posture to obtain the target posture of the mobile device, including: Calculating the credibility of the radar observation information in the first posture; Based on the credibility of the radar observation information in the first posture, the radar observation information in the first posture is screened to obtain the first posture to be fused; Based on the fusion weight parameters of the first posture and the second posture, the first posture to be fused and the second posture are fused to obtain a target posture of the mobile device.

7. The method according to claim 6, characterized in that The radar observation information includes attitude parameters; and the calculating the credibility of the radar observation information in the first posture includes: Obtaining the deployment position coordinates of the laser radar relative to the mobile device; Calculating a position deviation of the first posture using the deployment position coordinates and the posture parameters in the first posture; The credibility of the radar observation information in the first posture is determined based on the position deviation.

8. The method according to claim 7, characterized in that The attitude parameters include a roll angle, a pitch angle, and a yaw angle; the radar observation information in the first posture is screened based on the credibility of the radar observation information in the first posture to obtain the first posture to be fused, including: If the position deviation is greater than a preset deviation threshold, the radar observation information in the first posture is considered to be credible, and all radar observation information of the first posture is retained to obtain the first posture to be fused; If the position deviation is not greater than the preset deviation threshold, it is considered that there is unreliable radar observation information in the first posture, the roll angle and pitch angle in the posture parameters of the first posture are deleted, and the yaw angle in the posture parameters of the first posture is retained to obtain the first posture to be fused.

9. The method according to any one of claims 1 to 8, characterized in that: The first sensor includes a lidar, and the second sensor includes an odometer.

10. A mobile device, characterized in that: The mobile device comprises a memory and a processor, and the processor is used to execute program instructions stored in the memory to implement the steps in the method according to any one of claims 1-9.

Citation Information

Cited By

  • Robot early warning method and device, storage medium and program product

    CN119672919A

  • Robot early warning method, device, storage medium and program product

    CN119672919B

  • Mobile equipment control method and device, mobile equipment and readable storage medium

    CN119739166A

  • Pose correction method and apparatus

    WO2026214477A1