WO2020103029A1 - 地面坡度计算方法、装置、设备及存储介质 - Google Patents

地面坡度计算方法、装置、设备及存储介质

Info

Publication number
WO2020103029A1
WO2020103029A1 PCT/CN2018/116685 CN2018116685W WO2020103029A1 WO 2020103029 A1 WO2020103029 A1 WO 2020103029A1 CN 2018116685 W CN2018116685 W CN 2018116685W WO 2020103029 A1 WO2020103029 A1 WO 2020103029A1
Authority
WO
WIPO (PCT)
Prior art keywords
ground slope
movable platform
detection
state parameter
detection value
Prior art date
Application number
PCT/CN2018/116685
Other languages
English (en)
French (fr)
Inventor
王石荣
王春明
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2018/116685 priority Critical patent/WO2020103029A1/zh
Priority to CN201880041846.6A priority patent/CN110832274A/zh
Publication of WO2020103029A1 publication Critical patent/WO2020103029A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C9/00Measuring inclination, e.g. by clinometers, by levels

Definitions

  • Embodiments of the present invention relate to the field of unmanned aerial vehicles, and in particular, to a method, device, equipment, and storage medium for calculating ground slope.
  • the movable platform is usually provided with a detection device, which is used to detect the slope of the ground below the movable platform, but when the movable platform has a large motion range or the ground slope changes rapidly, the ground detected by the detection device The slope may not be accurate.
  • Embodiments of the present invention provide a ground slope calculation method, device, equipment, and storage medium to solve the problem that the ground slope detected by the detection device is insufficient when the movable platform has a large motion range or a rapid ground slope change in the prior art Accurate technical issues.
  • a first aspect of the embodiments of the present invention is to provide a ground slope calculation method, including:
  • the ground slope value is determined according to the detection value of the ground slope by the detection device and the state parameter of the movable platform.
  • a second aspect of an embodiment of the present invention is to provide a ground slope calculation device, including:
  • the memory is used to store program codes
  • the processor calls the program code, and when the program code is executed, it is used to perform the following operations:
  • the ground slope value is determined according to the detection value of the ground slope by the detection device and the state parameter of the movable platform.
  • a third aspect of the embodiments of the present invention is to provide a movable platform, which is characterized by including:
  • the power system is installed on the fuselage to provide power
  • An inertial measurement unit for detecting the state parameters of the movable platform
  • the ground slope calculation device as described in the second aspect.
  • a fourth aspect of the embodiments of the present invention is to provide a computer-readable storage medium on which a computer program is stored, which is executed by a processor to implement the method according to the first aspect.
  • the ground slope calculation method, device, equipment and storage medium obtained the detection value of the ground slope by the detection equipment provided on the movable platform; obtain the state parameters of the movable platform detected by the inertial measurement unit; The ground slope value is determined according to the detection value of the ground slope by the detection device and the state parameter of the movable platform.
  • FIG. 1 is a network architecture diagram based on the present invention
  • FIG. 2 is a schematic flowchart of a ground slope calculation method according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic flowchart of a ground slope calculation method according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic flowchart of a ground slope calculation method according to Embodiment 4 of the present invention.
  • FIG. 6 is a schematic flowchart of a ground slope calculation method according to Embodiment 5 of the present invention.
  • FIG. 7 is a schematic flowchart of a ground slope calculation method according to Embodiment 6 of the present invention.
  • FIG. 8 is a schematic diagram of adjustment of a detection device provided by an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a ground slope calculation device according to Embodiment 7 of the present invention.
  • Embodiment 10 is a schematic structural diagram of a movable platform provided by Embodiment 8 of the present invention.
  • 1 ground slope calculation device
  • 2 detection equipment
  • 3 inertial measurement unit
  • a component when a component is said to be “fixed” to another component, it can be directly on another component or it can also exist in a centered component. When a component is considered to be “connected” to another component, it can be directly connected to another component or there can be centered components at the same time.
  • the present invention provides a ground slope calculation method, device, equipment and storage medium. It should be noted that the ground slope calculation method, device, equipment and storage medium provided by the present invention can be applied to any kind of scene calculation of ground slope.
  • FIG. 1 is a diagram of a network architecture on which the present invention is based.
  • the network architecture on which the present invention is based includes at least: a ground slope calculation device 1, a detection device 2, and an inertial measurement unit 3.
  • the ground slope calculation device 1 is in communication with the detection device 2 and the inertial measurement unit 3, respectively.
  • the ground slope calculation device 1 can be implemented in software and / or hardware. When it is implemented in software, it can be written in languages such as C / C ++, Java, Shell, or Python; the detection device 2 is microwave radar, ultrasonic One or more of detection equipment, TOF ranging detection equipment, visual detection equipment, and lidar.
  • FIG. 2 is a schematic flowchart of a ground slope calculation method according to Embodiment 1 of the present invention. As shown in FIG. 2, the method in this embodiment may include:
  • Step S101 Obtain the detection value of the ground slope by the detection equipment provided on the movable platform.
  • the execution subject of the method of this embodiment may be a ground slope calculation device, and the ground slope calculation device may be provided on a movable platform or may be an independent device, and the invention is not limited herein.
  • a detection device is provided on the movable platform. The detection device can measure the ground slope in real time according to the distance measurement data of the movable platform from the ground obtained by the detection, and obtain the detection value of the ground slope.
  • the ground slope calculation device is communicatively connected to the detection equipment provided on the movable platform, so that the detection value of the ground slope detected by the detection equipment can be obtained.
  • Step S102 Obtain the state parameter of the movable platform detected by the inertial measurement unit.
  • the ground slope calculation device is also communicatively connected to the inertial measurement unit, so that the ground slope calculation device can acquire the state parameters of the movable platform detected by the inertial measurement unit.
  • Step S103 Determine the ground slope value according to the detection value of the ground slope by the detection device and the state parameter of the movable platform.
  • the ground slope measured when the movable platform has a large motion range or a rapid ground slope change through the detection device provided on the movable platform in the prior art is often not accurate enough. Therefore, in order to increase the ground slope
  • the accuracy of detection after acquiring the detection value of the ground slope of the detection equipment and the state parameters measured by the inertial measurement unit, the ground slope value can be achieved together with the detection value of the ground slope of the detection equipment and the state parameters of the movable platform Detect and obtain the ground slope value, so that the movable platform can climb or avoid obstacles according to the ground slope value.
  • the ground slope calculation method provided in this embodiment obtains the ground slope detection value of the detection device provided on the movable platform; obtains the state parameter of the movable platform detected by the inertial measurement unit; The ground slope detection value and the state parameter of the movable platform determine the ground slope value.
  • the ground slope calculation method obtains the ground slope value based on the detection value of the ground slope of the detection equipment and the state parameters of the movable platform, the accuracy of the ground slope value measurement can be improved, and thus the movable platform can achieve a more stable climbing and obstacle avoidance function.
  • the state parameter of the movable platform includes at least one of the following:
  • the state parameters of the movable platform specifically include the angular velocity and attitude information of the movable platform.
  • the ground slope calculation device can determine the ground slope according to the detection value of the detection device and the angular velocity and attitude detected by the inertial measurement unit The information together determines the ground slope detection value.
  • the ground slope calculation method provided in this embodiment realizes the determination of the ground slope detection value based on the detection value of the ground slope of the detection device and the angular velocity and attitude information detected by the inertial measurement unit, so that the ground slope value measurement Accuracy, in turn, can be a mobile platform to achieve a more stable climbing obstacle avoidance function.
  • the posture information includes at least one of the following:
  • the attitude information specifically includes one or more of a pitch angle, a roll angle, and a yaw angle.
  • the ground slope calculation device can detect the ground slope detection value and the inertial measurement unit according to the detection device The angular velocity, pitch angle, roll angle and yaw angle together determine the ground slope detection value.
  • the ground slope calculation method provided in this embodiment realizes the determination of the ground slope detection value according to the detection value of the ground slope by the detection equipment and the angular velocity, pitch angle, roll angle and yaw angle detected by the inertial measurement unit, thereby enabling The accuracy of ground slope value measurement is further improved, so that the movable platform can achieve a more stable climbing and obstacle avoidance function.
  • FIG. 3 is a schematic flowchart of a ground slope calculation method according to Embodiment 2 of the present invention. As shown in FIG. 3, based on any of the foregoing embodiments, the method in this embodiment may include:
  • Step S201 Obtain the detection value of the ground slope by the detection equipment provided on the movable platform;
  • Step S202 Obtain the state parameter of the movable platform detected by the inertial measurement unit
  • Step S203 A Kalman filter algorithm is used to perform fusion calculation on the detection value of the ground slope by the detection device and the state parameter of the movable platform to determine the ground slope value.
  • the ground slope value can be realized together according to the detection value of the ground slope detected by the detection device and the state parameter of the movable platform Detection, specifically, the Kalman filter algorithm can be used to fuse the detection value of the detection equipment to the ground slope and the state parameters of the movable platform to obtain the fusion value, and use the fusion value as the ground slope value, so that the movable platform can Climb or avoid obstacles according to the ground slope value.
  • the ground slope calculation method uses the Kalman filter algorithm to fuse the detection value of the ground slope detected by the detection device and the state parameters of the movable platform to determine the ground slope value, thereby It can accurately determine the ground slope value after fusion, improve the measurement accuracy of the ground slope value, and thus can realize a more stable climbing and obstacle avoidance function for the mobile platform.
  • the method includes:
  • a Kalman filter algorithm is used to fuse and calculate the detection value of the ground slope and the state parameter of the movable platform by the detection device, Determine the ground slope value.
  • the ground slope value can be realized together according to the detection value of the ground slope detected by the detection device and the state parameter of the movable platform Detection. It can be understood that, due to different movable platforms, the accuracy of data collected by the detection device and the inertial measurement unit may be different.
  • a weight coefficient can be set for the data collected by the detection device and the inertial measurement unit, and the weight coefficient can be adjusted according to different situations in the future, and according to the corresponding value of the detection value
  • the weight coefficient and the weight coefficient corresponding to the state parameters are fused with the Kalman filter algorithm to detect the ground slope detection value of the detection equipment and the state parameters of the movable platform to determine the ground slope value.
  • the ground slope calculation method provided in this embodiment adopts a Kalman filter algorithm to detect the ground slope detection value and the detection value of the detection equipment according to the weight coefficient corresponding to the detection value and the weight coefficient corresponding to the state parameter Fusion calculation of the state parameters of the mobile platform is performed to determine the ground slope value, so that the accuracy of the ground slope detection value after fusion can be further improved, and thus the mobile platform can achieve a more stable climbing and obstacle avoidance function.
  • the method includes:
  • a Kalman filter algorithm is used to fuse and calculate the detection value of the ground slope of the detection device and the angular velocity of the movable platform To determine the ground slope value.
  • the state parameter measured by the inertial measurement unit may specifically be angular velocity. Accordingly, after acquiring the ground slope detection value collected by the detection device provided on the movable platform and the angular velocity measured by the inertial measurement unit, it may be According to the weight coefficient corresponding to the detection value and the weight coefficient of the angular velocity of the movable platform, the Kalman filter algorithm is used to fuse the detection value of the detection equipment to the ground slope and the angular velocity of the movable platform to determine the ground slope value.
  • ⁇ k is the detection value of the ground slope output by the detection device at the current moment
  • ⁇ k is the angular velocity of the movable platform measured by the inertial measurement unit at the current moment.
  • k is the predicted value of the ground slope detection value at the next moment;
  • ⁇ T is the update period of the angular velocity measured by the inertial measurement unit;
  • w k is measured by the inertial measurement unit predicted according to the characteristics of the inertial measurement unit Angular velocity noise.
  • the estimated covariance matrix of the predicted value can be obtained by formula 2:
  • k is the posterior estimated covariance matrix
  • the initial value can be taken as the identity matrix
  • F is the system model, here is the matrix
  • Q is the weight coefficient of the angular velocity of the movable platform.
  • the measurement margin of the ground slope detection value can be calculated according to formula 3
  • the measurement margin covariance of the ground slope detection value can be calculated according to formula 4:
  • y k is the measurement margin of the ground slope detection value
  • S k is the measurement margin of the ground slope detection value covariance
  • H is the measurement model
  • R is the weight coefficient of the ground slope detection value collected by the detection equipment
  • k is the posterior estimated covariance matrix.
  • k is the a posteriori covariance matrix; balance measurement covariance gradient detection value S k ground. Since P k + 1
  • y k is the measurement margin of the ground slope detection value
  • K k is the Kalman gain value.
  • the Kalman gain value will also change.
  • the latest ground slope value obtained by fusion will also be different, which can further improve the calculation accuracy of the ground slope value.
  • ground slope value after fusion can be used as the current slope detection value for the next round of ground slope value fusion until the movable platform stops running.
  • the ground slope calculation method provided in this embodiment uses a Kalman filter algorithm to detect the ground slope detection value of the detection equipment by using the weight coefficient corresponding to the detection value and the weight coefficient of the angular velocity of the movable platform Fusion calculation is performed with the angular velocity of the movable platform to determine the ground slope value, which can further improve the accuracy of the fusion ground slope detection value, and thus can achieve a more stable climbing and obstacle avoidance function for the movable platform .
  • FIG. 4 is a schematic flowchart of a ground slope calculation method according to Embodiment 3 of the present invention. Based on any of the foregoing embodiments, as shown in FIG. 4, the method in this embodiment may include:
  • Step S301 Obtain the detection value of the ground slope by the detection equipment provided on the movable platform;
  • Step S302 Obtain the state parameter of the movable platform detected by the inertial measurement unit;
  • Step S303 Determine the movement amplitude of the movable platform
  • Step S304 Adjust the weight coefficient corresponding to the detection value and the weight coefficient corresponding to the state parameter according to the movement amplitude of the movable platform;
  • Step S305 according to the weight coefficient corresponding to the detection value and the weight coefficient corresponding to the state parameter, a Kalman filter algorithm is used to perform the detection value of the ground slope and the state parameter of the movable platform by the detection equipment Fusion computing.
  • the accuracy of the data collected by the detection device and the inertial measurement unit may be different. For example, if the movable platform has a small motion range, the detection device and the inertial measurement The accuracy of the data collected by the unit is high, and when the movable platform has a large motion range, the accuracy of the data collected by the detection device is low due to the excessive jitter amplitude. Therefore, in order to improve the accuracy of fusion calculation, the weight coefficient corresponding to the detection value and the weight coefficient corresponding to the state parameter can be adjusted according to different operating conditions.
  • the movement amplitude of the movable platform may be determined, and the weight coefficient corresponding to the detection value and the weight coefficient corresponding to the state parameter may be adjusted according to the movement amplitude.
  • the Kalman filter algorithm is used to fuse the detection value of the detection equipment to the ground slope and the state parameter of the movable platform. It is understandable that when the weight coefficient changes, the Kalman gain value will also change accordingly. Correspondingly, the latest ground slope value obtained by fusion will also be different, which can further improve the calculation of the ground slope value. Precision.
  • the ground slope calculation method determines the weighting coefficient corresponding to the detection value and the weighting coefficient corresponding to the state parameter by determining the movement amplitude of the movable platform; according to the movement amplitude of the movable platform, Therefore, the calculation accuracy of the ground slope value can be improved.
  • the method includes:
  • a Kalman filter algorithm is used to perform fusion calculation on the detection value of the ground slope of the detection device and the state parameter of the movable platform.
  • the detection value of the detection device for the ground slope is often low. Therefore, in order to further improve the calculation accuracy of the ground slope value, if the current available When the motion amplitude of the mobile platform is greater than the preset amplitude, the weight coefficient corresponding to the detection value can be reduced, and the weight coefficient corresponding to the state parameter can be increased.
  • the detection value can be The corresponding weight coefficient R is adjusted from 100.0 to 25.0, and the corresponding weight coefficient Q of the state parameter is adjusted from 1.0 to 10.0. Since the parameters corresponding to the detection value are reduced, the influence of the low accuracy of the detection value can be weakened, and the calculation accuracy of the ground slope value can be further improved.
  • the ground slope calculation method provided in this embodiment can reduce the weight coefficient corresponding to the detection value and increase the weight coefficient corresponding to the state parameter when the movement amplitude of the movable platform is greater than a preset amplitude Further improve the calculation accuracy of ground slope value.
  • the method includes:
  • a Kalman filter algorithm is used to perform fusion calculation on the detection value of the ground slope of the detection device and the state parameter of the movable platform.
  • the data collected at two adjacent moments is smaller due to the smoother movement, and the state parameters of the movable platform are also smaller.
  • the data collected at two adjacent moments may have a large deviation and the state parameters of the movable platform are also large. Therefore, the slope of the ground at the adjacent moments can be separately determined according to the state parameters of the movable platform and the detection equipment The detection value of the detection is used to determine the movement amplitude of the movable platform.
  • the ground slope calculation method determines the movement amplitude of the movable platform by separately detecting the ground slope according to the state parameters of the movable platform and the detection values of the detection equipment at adjacent moments , which can accurately determine the current amplitude of the movable platform, and provide a basis for the subsequent calculation of the ground slope value.
  • the method includes:
  • the detection device has an effective value of the detection value of the ground slope at the current moment and the detection device
  • the effective value of the detection value of the ground slope at the last moment is greater than a preset ratio
  • a Kalman filter algorithm is used to perform fusion calculation on the detection value of the ground slope of the detection device and the state parameter of the movable platform.
  • the data collected at two adjacent moments may have a large deviation and the state parameter of the movable platform is also large. If the angular velocity of the movable platform is detected Greater than the preset angle or the pitch angle of the movable platform is greater than the preset angle, and the effectiveness of the detection value of the detection device on the ground slope at the current moment is comparable to the effectiveness of the detection device on the detection value of the ground slope at the previous moment If the ratio is greater than the preset ratio, it is determined that the movement amplitude of the movable platform is greater than the preset amplitude.
  • the preset angle can be set according to the current moving scene, for example, it can be set to 10 °.
  • the effective value of the detection value of the detection device for the ground slope at the current time is the ratio of the number of observable points collected by the detection device at the current time to the total number of observable points. It can be understood that, if the effective value of the detected values collected by the movable platform at two adjacent times is greater than the preset ratio and the angular velocity or pitch angle is greater than the preset angle, it indicates that the current movement amplitude of the movable platform has exceeded Large, so the weighting coefficient can be adjusted later based on the judgment result.
  • the ground slope calculation method provided in this embodiment is based on that if the angular velocity of the movable platform is greater than a preset angular velocity or the pitch angle of the movable platform is greater than a preset angle, and the detection device is facing the ground slope at the current moment.
  • the effective value of the detection value of the detection device is greater than the preset ratio of the detection value of the detection value of the ground slope by the detection device at the previous moment, then it is determined that the movement amplitude of the movable platform is greater than the preset amplitude, thereby enabling Accurately determine the current amplitude of the movable platform, which provides the basis for the subsequent calculation of the ground slope value.
  • FIG. 5 is a schematic flowchart of a ground slope calculation method according to Embodiment 4 of the present invention. Based on any of the foregoing embodiments, as shown in FIG. 5, the method in this embodiment may include:
  • Step S401 Obtain the detection value of the ground slope by the detection equipment provided on the movable platform;
  • Step S402 Obtain the state parameter of the movable platform detected by the inertial measurement unit;
  • Step S403 Determine the validity of the detection value of the ground slope by the detection device and the state parameter of the movable platform
  • Step S404 When the detection value of the detection device for the ground slope and the state parameter of the movable platform are valid, determine the movement amplitude of the movable platform;
  • Step S405 Adjust the weight coefficient corresponding to the detection value and the weight coefficient corresponding to the state parameter according to the movement amplitude of the movable platform;
  • step S406 according to the weight coefficient corresponding to the detection value and the weight coefficient corresponding to the state parameter, a Kalman filter algorithm is used to perform the detection value of the detection device on the ground slope and the state parameter of the movable platform. Fusion computing.
  • the processor After acquiring the ground slope detection value of the detection device provided on the movable platform and the state parameter of the movable platform detected by the inertial measurement unit, it is first necessary to determine whether the acquired data is valid. It is understandable that if the detected value of the ground slope detected by the detection equipment provided on the movable platform and the state parameters of the movable platform detected by the inertial measurement unit are both invalid, it indicates that the movable platform may be currently malfunctioning. You need to report the state of the mobile platform to the processor, so that the processor can adjust the mobile state according to the current state. Specifically, you can adjust it by stopping the movement, etc.
  • the ground slope value calculated based on the failure data fusion is not accurate enough. Therefore, in order to increase the ground slope value The accuracy of the calculation needs to first determine whether the acquired data is valid.
  • the movement amplitude of the movable platform is determined, according to the movable platform ’s Movement amplitude, adjust the weight coefficient corresponding to the detection value and the weight coefficient corresponding to the state parameter, according to the weight coefficient corresponding to the detection value and the weight coefficient corresponding to the state parameter, use the Kalman filter algorithm to detect the detection value of the detection equipment on the ground slope and move
  • the state parameters of the platform are fused and calculated.
  • the ground slope calculation method determines the detection value of the ground slope by the detection equipment and the state parameter of the movable platform, when the detection value of the ground slope by the detection equipment When the state parameters of the movable platform are valid, the movement amplitude of the movable platform is determined, so that the operation status of the movable platform can be known in time on the basis of calculating the ground slope value.
  • the method includes:
  • a Kalman filter algorithm is used to perform fusion calculation on the detection value of the ground slope of the detection device and the state parameter of the movable platform.
  • the collected data is different.
  • the data collected by the movable platform on the flat ground and the slope often differ. Therefore, after obtaining the ground slope detection value of the detection device provided on the movable platform and the state parameters of the movable platform detected by the inertial measurement unit, the detection value of the detection device on the ground slope can be determined according to the current terrain of the movable platform Effectiveness.
  • the inertial measurement unit has a fixed data output frequency, and if the current inertial measurement unit is operating normally, the difference between the state parameters output at adjacent moments is small, so it can be specifically based on the time interval and And / or the magnitude of the state parameter output by the inertial measurement unit at adjacent moments to determine the validity of the state parameter.
  • the Kalman filter algorithm is used to fuse the detection value of the detection equipment to the ground slope and the state parameter of the movable platform.
  • the ground slope calculation method determines the validity of the detection value of the ground slope by the detection device according to the terrain of the movable platform, and outputs the state parameter according to the inertial measurement unit Time interval and / or the size of the state parameter output by the inertial measurement unit at adjacent moments to determine the validity of the state parameter, so that the current ground slope detection value and the state of the movable platform can be accurately determined
  • the validity of the parameters provides a basis for the subsequent calculation of ground slope values.
  • the method includes:
  • the difference between the detection value of the ground slope by the detection device at the current moment and the detection value of the ground slope by the detection device at the previous moment is less than the first Set an angle, and the effectiveness of the detection device at the current moment in the detection value of the ground slope is greater than the first threshold, then determine that the detection device at the current moment is effective at the detection value of the ground slope;
  • the difference between the detection value of the ground slope detected by the detection device at the current time and the detection value of the ground slope detected by the detection device at the previous time is less than the second Set an angle, and the effectiveness of the detection device at the current time of the detection value of the ground slope is greater than the second threshold, then determine that the detection device at the current time is effective for the detection value of the ground slope;
  • the first preset angle is smaller than the second preset angle, and the first threshold is larger than the second threshold;
  • a Kalman filter algorithm is used to perform fusion calculation on the detection value of the ground slope of the detection device and the state parameter of the movable platform.
  • the movement amplitude of the movable platform on the flat ground is generally smaller than the movement amplitude on the sloped ground. Therefore, the first preset angle is smaller than the second preset angle, and the first threshold is greater than the second threshold.
  • the first preset angle may be set to 20 °
  • the second preset angle may be set to 50 °
  • the first threshold may be 50%
  • the second threshold is 40%.
  • the detection device since the detection device needs to calculate the detection value of the ground slope according to the detected ranging information, in the initial state, as long as the detection value of the ground slope output by the detection device is received, it is considered The data is valid, and the foregoing embodiment may be used to subsequently determine the validity of the ground slope detection value.
  • the ground slope calculation method provided in this embodiment is based on the fact that the detection value of the ground slope by the detection device at the current time and the detection surface If the difference between the detected values of the slope is less than the first preset angle, and the effectiveness of the detection device at the current moment on the detected value of the ground slope is greater than the first threshold, it is determined that the detection device The ground slope detection value is valid; if according to the movable platform is a mountainous area, the detection value of the ground slope detected by the detection device at the current time and the ground slope detection value of the detection device at the previous time The difference is less than the second preset angle, and the detection device ’s effective value of the ground slope detection value at the current moment is greater than the second threshold, it is determined that the detection device detects the ground slope at the current moment The value is valid; wherein, the first preset angle is smaller than the second preset angle, and the first threshold is greater than the second threshold, by adopting different methods for determining the validity of data for different terrains, Improve the accuracy of the ground slope value so that
  • the method includes:
  • the time interval between the current moment when the inertial measurement unit outputs the state parameter and the last moment when the inertial measurement unit outputs the state parameter is less than a preset time interval, and / or the inertial measurement unit is currently in If the difference between the state parameter output at the moment and the state parameter output by the inertial measurement unit at the previous moment is less than a preset difference, it is determined that the state parameter output by the inertial measurement unit at the current moment is valid;
  • a Kalman filter algorithm is used to perform fusion calculation on the detection value of the ground slope of the detection device and the state parameter of the movable platform.
  • the frequency of the inertial measurement unit detecting the state parameter of the movable platform is 15 Hz. Therefore, the validity of the state parameter of the movable platform can be determined according to the time interval at which the inertial measurement unit outputs the state parameter. If the time interval at which the unit outputs the state parameter is greater than the preset threshold, the state parameter representing the output of the inertial measurement unit is invalid.
  • the validity of the state parameters of the movable platform can be achieved according to the size of the state parameters output by the inertial measurement unit at adjacent times It is determined that if the difference between the state parameters output by the inertial measurement unit at the adjacent moment is greater than a preset threshold, the state parameter representing the output of the inertial measurement unit is invalid. It should be noted that the above two embodiments may be implemented separately or in combination, and the present invention is not limited herein.
  • the ground slope calculation method provided in this embodiment, if the time interval between the current moment when the inertial measurement unit outputs the state parameter and the last moment when the inertial measurement unit outputs the state parameter is less than the preset time interval , And / or the difference between the state parameter output by the inertial measurement unit at the current moment and the state parameter output by the inertial measurement unit at the previous moment is less than a preset difference, then determine the inertial measurement unit The state parameter output at the current moment is valid, so that the validity of the state parameter of the movable platform can be accurately determined, which provides a basis for the subsequent calculation of the ground slope value.
  • FIG. 6 is a schematic flowchart of a ground slope calculation method according to Embodiment 5 of the present invention. Based on any of the foregoing embodiments, as shown in FIG. 6, the method in this embodiment may include:
  • Step S501 Obtain the detection value of the ground slope by the detection equipment provided on the movable platform;
  • Step S502 Obtain the state parameter of the movable platform detected by the inertial measurement unit;
  • Step S503 When the detection value of the ground slope is valid by the detection device at the current time, and the state parameter output by the inertial measurement unit at the current time is invalid, a Kalman filter algorithm is used to detect At the current moment, fusion detection is performed on the ground slope detection value and the state parameter output by the inertial measurement unit at the next moment.
  • the detection value of the ground slope is updated slower than the state parameter of the movable platform, if the detection device detects that the detection value of the ground slope is valid at the current time, and the inertial measurement When the state parameters output by the unit at the current moment are invalid, due to the faster update frequency of the state parameters of the movable platform, the detection value of the ground slope and the inertial measurement unit of the detection device at the current moment can be adopted by the Kalman filter algorithm at the next moment
  • the output state parameters are fused and calculated to obtain the ground slope value.
  • the ground slope calculation method provided in this embodiment adopts Kalman when the detection value of the ground slope is detected by the detection device at the current time, and the state parameter output by the inertial measurement unit at the current time is invalid.
  • the filtering algorithm performs fusion calculation on the detection value of the ground slope by the detection device at the current moment and the state parameter output by the inertial measurement unit at the next moment, so that the ground slope value can be realized when the state parameter is invalid Calculations enable the mobile platform to achieve more stable climbing and obstacle avoidance functions.
  • the method includes:
  • the Kalman filter algorithm is applied to the detection device at the last moment Fusion calculation is performed on the ground slope detection value and the state parameter output by the inertial measurement unit at the current moment.
  • the detection value of the ground slope is updated slower than the state parameter of the movable platform, if the detection device detects that the detection value of the ground slope is invalid at the current time, and the inertial measurement unit is at the current time
  • the ground slope detection value at the previous time can be used for fusion.
  • the Kalman filter algorithm is used to detect the ground slope of the detection equipment at the previous time. The value and state parameters output by the inertial measurement unit at the current moment are fused and calculated.
  • the ground slope calculation method provided in this embodiment adopts Kalman when the detection value of the ground slope detected by the detection device at the current time is invalid and the state parameter output by the inertial measurement unit at the current time is valid.
  • the filtering algorithm performs fusion calculation on the detection value of the ground slope at the previous time by the detection device and the state parameter output by the inertial measurement unit at the current time, so that when the detection value of the ground slope is invalid.
  • the calculation of the ground slope value enables the mobile platform to achieve more stable climbing and obstacle avoidance functions.
  • FIG. 7 is a schematic flowchart of a ground slope calculation method provided by Embodiment 6 of the present invention
  • FIG. 8 is a schematic diagram of adjustment of a detection device provided by an embodiment of the present invention. Based on any of the foregoing embodiments, as shown in FIG.
  • the method in the example may include:
  • Step S601 Obtain the detection value of the ground slope by the detection equipment provided on the movable platform;
  • Step S602 Obtain the state parameter of the movable platform detected by the inertial measurement unit;
  • Step S603 Determine the ground slope value according to the detection value of the ground slope by the detection equipment and the state parameter of the movable platform;
  • Step S604 Control the detection angle of the detection device according to the ground slope value.
  • the ground slope detection value of the detection device provided on the movable platform and the state parameter of the movable platform detected by the inertial measurement unit are obtained, and the ground slope value is determined according to the ground slope detection value and the state parameter Afterwards, in order to achieve more stable climbing and obstacle avoidance functions, the detection angle of the detection device can be adjusted according to the ground slope value. Specifically, the detection angle of the detection device can be adjusted to be parallel to the ground slope.
  • the ground slope calculation device may determine the current ground slope value according to the detection value of the ground slope detected by the detection device and the state parameter of the movable platform detected by the inertial measurement unit, And adjust the detection angle according to the ground slope value, so that the detection angle of the detection device is adjusted to be parallel to the ground slope, thereby achieving the climbing function.
  • the ground slope calculation method provided in this embodiment controls the detection angle of the detection device according to the ground slope value, thereby achieving a more stable climbing and obstacle avoidance function.
  • the detection device includes at least one of the following:
  • Microwave radar Ultrasonic detection equipment, TOF ranging detection equipment, visual detection equipment, lidar.
  • the movable platform includes at least one of the following:
  • Remote control car unmanned aerial vehicle.
  • the ground slope calculation device includes: a memory 71 and a processor 72;
  • the memory 71 is used to store program codes
  • the processor 72 calls the program code, and when the program code is executed, it is used to perform the following operations:
  • the ground slope value is determined according to the detection value of the ground slope by the detection device and the state parameter of the movable platform.
  • the state parameter of the movable platform includes at least one of the following:
  • the posture information includes at least one of the following:
  • the processor 72 is specifically used when determining the ground slope value based on the detection value of the ground slope by the detection device and the state parameter of the movable platform :
  • a Kalman filter algorithm is used to fuse the detection value of the detection equipment to the ground slope and the state parameter of the movable platform to determine the ground slope value.
  • the processor 72 uses a Kalman filter algorithm to perform fusion calculation on the detection value of the ground slope by the detection device and the state parameter of the movable platform to determine The ground slope value is specifically used for:
  • a Kalman filter algorithm is used to fuse and calculate the detection value of the ground slope and the state parameter of the movable platform by the detection device, Determine the ground slope value.
  • the processor 72 applies a Kalman filter algorithm to the detection device according to the weight coefficient corresponding to the detection value and the weight coefficient corresponding to the state parameter.
  • the ground slope detection value and the state parameter of the movable platform are fused together to determine the ground slope value, which is specifically used for:
  • a Kalman filter algorithm is used to fuse and calculate the detection value of the ground slope of the detection device and the angular velocity of the movable platform To determine the ground slope value.
  • the processor 72 applies a Kalman filter algorithm to the detection device according to the weight coefficient corresponding to the detection value and the weight coefficient corresponding to the state parameter. Before fusion calculation of the ground slope detection value and the state parameter of the movable platform, it is also used to:
  • the weight coefficient corresponding to the detection value and the weight coefficient corresponding to the state parameter are adjusted.
  • the processor 72 adjusts the weighting coefficient corresponding to the detection value and the weighting coefficient corresponding to the state parameter according to the movement amplitude of the movable platform. to:
  • the weight coefficient corresponding to the detection value is decreased, and the weight coefficient corresponding to the state parameter is increased.
  • the processor 72 determines the motion amplitude of the movable platform, it is specifically used to:
  • the movement amplitude of the movable platform is determined according to the state parameters of the movable platform and the detection values at which the detection equipment respectively detects the slope of the ground at adjacent times.
  • the processor 72 determines the value based on the detection parameters of the movable platform and the detection values at which the detection equipment respectively detects the ground slope at adjacent times.
  • the processor 72 determines the value based on the detection parameters of the movable platform and the detection values at which the detection equipment respectively detects the ground slope at adjacent times.
  • the detection device has an effective value of the detection value of the ground slope at the current moment and the detection device
  • the effective value of the detection value of the ground slope at the previous moment is greater than a preset ratio
  • the processor 72 determines the motion amplitude of the movable platform, it is specifically used to:
  • the movement amplitude of the movable platform is determined.
  • the processor 72 is specifically used to determine the validity of the detection value of the ground slope and the state parameter of the movable platform by the detection device:
  • the validity of the state parameter is determined according to the time interval at which the inertial measurement unit outputs the state parameter and / or the size of the state parameter output by the inertial measurement unit at adjacent moments.
  • the processor 72 is specifically used when determining the validity of the detection value of the ground slope by the detection device according to the terrain where the movable platform is located :
  • the difference between the detection value of the ground slope by the detection device at the current moment and the detection value of the ground slope by the detection device at the previous moment is less than the first Set an angle, and the effectiveness of the detection device at the current moment in the detection value of the ground slope is greater than the first threshold, then determine that the detection device at the current moment is effective at the detection value of the ground slope;
  • the difference between the detection value of the ground slope detected by the detection device at the current time and the detection value of the ground slope detected by the detection device at the previous time is less than the second Set an angle, and the effectiveness of the detection device at the current time of the detection value of the ground slope is greater than the second threshold, then determine that the detection device at the current time is effective for the detection value of the ground slope;
  • the first preset angle is smaller than the second preset angle, and the first threshold is greater than the second threshold.
  • the processor 72 outputs the state parameter according to the time interval of the inertial measurement unit and / or the state parameter output by the inertial measurement unit at adjacent moments When determining the validity of the state parameter, it is used to:
  • the time interval between the current moment when the inertial measurement unit outputs the state parameter and the last moment when the inertial measurement unit outputs the state parameter is less than a preset time interval, and / or the inertial measurement unit is currently in If the difference between the state parameter output at the moment and the state parameter output by the inertial measurement unit at the previous moment is less than a preset difference, it is determined that the state parameter output by the inertial measurement unit at the current moment is valid.
  • the processor 72 uses the Kalman filter algorithm to fuse the detection value of the ground slope and the state parameter of the movable platform by the detection device, Specifically used for:
  • the Kalman filter algorithm is used to detect the detection device at the current time.
  • the detection value of the ground slope and the state parameter output by the inertial measurement unit at the next moment are fused and calculated.
  • the processor 72 uses the Kalman filter algorithm to fuse the detection value of the ground slope and the state parameter of the movable platform by the detection device, Specifically used for:
  • the Kalman filter algorithm is applied to the detection device at the last moment Fusion calculation is performed on the ground slope detection value and the state parameter output by the inertial measurement unit at the current moment.
  • the processor 72 determines the ground slope value according to the detection value of the ground slope by the detection device and the state parameter of the movable platform, and is also used to :
  • the detection angle of the detection device is controlled.
  • the detection device includes at least one of the following:
  • Microwave radar Ultrasonic detection equipment, TOF ranging detection equipment, visual detection equipment, lidar.
  • FIG. 9 is a schematic structural diagram of a movable platform provided by Embodiment 8 of the present invention. As shown in FIG. 9, the movable platform 81 includes:
  • the power system is installed on the fuselage to provide power
  • Detection equipment 2 used to detect ground slope
  • the ground slope calculation device 1 as described in any of the above embodiments.
  • the movable platform includes at least one of the following:
  • Remote control car unmanned aerial vehicle.
  • Yet another embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, which is executed by a processor to implement the ground slope calculation method as described in any one of the above embodiments.
  • this embodiment also provides a computer-readable storage medium on which a computer program is stored, which is executed by a processor to implement the ground slope calculation method described in the above embodiment.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the units is only a division of logical functions.
  • there may be other divisions for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be 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.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • the above integrated unit implemented in the form of a software functional unit may be stored in a computer-readable storage medium.
  • the above software functional units are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute the method described in each embodiment of the present invention Partial steps.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

本发明实施例提供一种地面坡度计算方法、装置、设备及存储介质,该方法包括:获取可移动平台(81)上设置的探测设备(2)对地面坡度的探测值;获取惯性测量单元(3)检测到的所述可移动平台(81)的状态参数;根据所述探测设备(2)对所述地面坡度的探测值和所述可移动平台(81)的状态参数,确定地面坡度值。通过根据探测设备(2)对地面坡度的探测值和可移动平台(81)的状态参数,确定地面坡度值,从而能够提高地面坡度值测量的准确性,进而能够是可移动平台实现更稳定的爬坡避障功能。

Description

地面坡度计算方法、装置、设备及存储介质 技术领域
本发明实施例涉及无人机领域,尤其涉及一种地面坡度计算方法、装置、设备及存储介质。
背景技术
现有技术中可移动平台在移动的过程中,需要估计该可移动平台下方地面的坡度,该可移动平台可根据该地面的坡度进行避障或爬坡。
通常可移动平台设置有探测设备,该探测设备用于探测该可移动平台下方地面的坡度,但是,当可移动平台的运动幅度较大或地面坡度变化较快时,该探测设备探测到的地面坡度可能不够精准。
发明内容
本发明实施例提供一种地面坡度计算方法、装置、设备及存储介质,以解决现有技术中当可移动平台的运动幅度较大或地面坡度变化较快时,探测设备探测到的地面坡度不够精准的技术问题。
本发明实施例的第一方面是提供一种地面坡度计算方法,包括:
获取可移动平台上设置的探测设备对地面坡度的探测值;
获取惯性测量单元检测到的所述可移动平台的状态参数;
根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值。
本发明实施例的第二方面是提供一种地面坡度计算装置,包括:
存储器和处理器;
所述存储器用于存储程序代码;
所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:
获取可移动平台上设置的探测设备对地面坡度的探测值;
获取惯性测量单元检测到的所述可移动平台的状态参数;
根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值。
本发明实施例的第三方面是提供一种可移动平台,其特征在于,包括:
机身;
动力系统,安装在所述机身,用于提供动力;
探测设备,用于探测地面坡度;
惯性测量单元,用于检测所述可移动平台的状态参数;以及
如第二方面所述的地面坡度计算装置。
本发明实施例的第四方面是提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现如第一方面所述的方法。
本实施例提供的地面坡度计算方法、装置、设备及存储介质,通过获取可移动平台上设置的探测设备对地面坡度的探测值;获取惯性测量单元检测到的所述可移动平台的状态参数;根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值。通过根据探测设备对地面坡度的探测值和可移动平台的状态参数,确定地面坡度值,从而能够提高地面坡度值测量的准确性,进而能够是可移动平台实现更稳定的爬坡避障功能。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明所基于的网络架构图;
图2为本发明实施例一提供的地面坡度计算方法的流程示意图;
图3为本发明实施例二提供的地面坡度计算方法的流程示意图;
图4为本发明实施例三提供的地面坡度计算方法的流程示意图;
图5为本发明实施例四提供的地面坡度计算方法的流程示意图;
图6为本发明实施例五提供的地面坡度计算方法的流程示意图;
图7为本发明实施例六提供的地面坡度计算方法的流程示意图;
图8为本发明实施例提供的探测设备调整示意图;
图9为本发明实施例七提供的地面坡度计算装置的结构示意图;
图10为本发明实施例八提供的可移动平台的结构示意图。
附图标记:
1:地面坡度计算装置;2:探测设备;3:惯性测量单元;
71:存储器;72:处理器;81:可移动平台;
82:机身。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。
现有技术中可移动平台在移动的过程中,需要估计该可移动平台下方地面的坡度,该可移动平台可根据该地面的坡度进行避障或爬坡。通常可移动平台设置有探测设备,该探测设备用于探测该可移动平台下方地面的坡度,但是,当可移动平台的运动幅度较大或地面坡度变化较快时,该探测设备探测到的地面坡度可能不够精准。为了解决上述技术问题,本发明提供了一种地面坡度计算方法、装置、设备及存储介质。需要说明的是,本发明提供的地面坡度计算方法、装置、设备及存储介质能够应用在任意 一种对地面坡度的计算场景中。
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。
图1为本发明所基于的网络架构图,如图1所示,本发明基于的网络架构至少包括:地面坡度计算装置1、探测设备2以及惯性测量单元3。地面坡度计算装置1分别与探测设备2以及惯性测量单元3通信连接。其中,地面坡度计算装置1可以采用软件和/或硬件的方式实现,当其采用软件方式实现时,其可以通过C/C++、Java、Shell或Python等语言编写;探测设备2为微波雷达、超声波探测设备、TOF测距探测设备、视觉探测设备、激光雷达中的一种或多种。
图2为本发明实施例一提供的地面坡度计算方法的流程示意图,如图2所示,本实施例中的方法,可以包括:
步骤S101、获取可移动平台上设置的探测设备对地面坡度的探测值。
本实施例方法的执行主体可以是地面坡度计算装置,该地面坡度计算装置可以设置在可移动平台上,也可以为独立的装置,本发明在此不做限制。可移动平台上设置有探测设备,该探测设备可以根据探测获得的可移动平台距离地面的测距数据实时对地面坡度进行测量,获得地面坡度的探测值。地面坡度计算装置与设置在可移动平台上的探测设备通信连接,从而能够获取到探测设备对地面坡度的探测值。
步骤S102、获取惯性测量单元检测到的所述可移动平台的状态参数。
在本实施方式中,地面坡度计算装置还与惯性测量单元通信连接,从而地面坡度计算装置能够获取到惯性测量单元检测到的可移动平台的状态参数。
步骤S103、根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值。
在本实施方式中,由于现有技术中通过可移动平台上设置的探测设备可移动平台的运动幅度较大或地面坡度变化较快时测量到的地面坡度往往不够精准,因此,为了提高地面坡度探测的精准度,获取到探测设备对地面坡度的探测值以及惯性测量单元测量得到的状态参数之后,可以根据探测设备对地面坡度的探测值和可移动平台的状态参数一同实现对地面 坡度值的探测,获得地面坡度值,从而可移动平台可以根据该地面坡度值进行爬坡或者避障。
本实施例提供的地面坡度计算方法,通过获取可移动平台上设置的探测设备对地面坡度的探测值;获取惯性测量单元检测到的所述可移动平台的状态参数;根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值。通过根据探测设备对地面坡度的探测值和可移动平台的状态参数,确定地面坡度值,从而能够提高地面坡度值测量的准确性,进而能够是可移动平台实现更稳定的爬坡避障功能。
进一步地,在上述任一实施例的基础上,所述可移动平台的状态参数包括如下至少一种:
所述可移动平台的角速度、姿态信息。
在本实施例中,可移动平台的状态参数具体包括可移动平台的角速度以及姿态信息,相应地,地面坡度计算装置可以根据探测设备对地面坡度的探测值与惯性测量单元检测到的角速度、姿态信息一同实现对地面坡度探测值的确定。
本实施例提供的地面坡度计算方法,通过根据探测设备对地面坡度的探测值与惯性测量单元检测到角速度、姿态信息一同实现对地面坡度探测值的确定,从而能够进一步地提高地面坡度值测量的准确性,进而能够是可移动平台实现更稳定的爬坡避障功能。
进一步地,在上述任一实施例的基础上,所述姿态信息包括如下至少一种:
俯仰角,横滚角,偏航角。
在本实施例中,姿态信息具体包括俯仰角,横滚角,偏航角中的一种或多种,相应地,地面坡度计算装置可以根据探测设备对地面坡度的探测值与惯性测量单元检测到角速度、俯仰角、横滚角以及偏航角一同实现对地面坡度探测值的确定。
本实施例提供的地面坡度计算方法,通过根据探测设备对地面坡度的探测值与惯性测量单元检测到角速度、俯仰角、横滚角以及偏航角一同实现对地面坡度探测值的确定,从而能够进一步地提高地面坡度值测量的准确性,进而能够是可移动平台实现更稳定的爬坡避障功能。
图3为本发明实施例二提供的地面坡度计算方法的流程示意图,如图3所示,在上述任一实施例的基础上,本实施例中的方法,可以包括:
步骤S201、获取可移动平台上设置的探测设备对地面坡度的探测值;
步骤S202、获取惯性测量单元检测到的所述可移动平台的状态参数;
步骤S203、采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值。
在本实施例中,获取到探测设备对地面坡度的探测值以及惯性测量单元测量得到的状态参数之后,可以根据探测设备对地面坡度的探测值和可移动平台的状态参数一同实现对地面坡度值的探测,具体地,可以采用卡尔曼滤波算法对探测设备对地面坡度的探测值以及可移动平台的状态参数进行融合计算,获得融合值,将该融合值作为地面坡度值,从而可移动平台可以根据该地面坡度值进行爬坡或者避障。
本实施例提供的地面坡度计算方法,通过采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值,从而能够精准地确定融合后的地面坡度值,提高地面坡度值测量的准确性,进而能够是可移动平台实现更稳定的爬坡避障功能。
进一步地,在上述任一实施例的基础上,所述方法包括:
获取可移动平台上设置的探测设备对地面坡度的探测值;
获取惯性测量单元检测到的所述可移动平台的状态参数;
根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值。
在本实施例中,获取到探测设备对地面坡度的探测值以及惯性测量单元测量得到的状态参数之后,可以根据探测设备对地面坡度的探测值和可移动平台的状态参数一同实现对地面坡度值的探测。可以理解的是,由于可移动平台不同的情况下,探测设备与惯性测量单元采集到的数据准确度可能不同。因此,为了提高融合后的地面坡度探测值的准确性,可以为探测设备与惯性测量单元采集到的数据设置权重系数,且后续可以根据不同的情况对权重系数进行调整,并根据探测值对应的权重系数和状态参数对 应的权重系数,采用卡尔曼滤波算法对探测设备对地面坡度的探测值和可移动平台的状态参数进行融合计算,确定地面坡度值。
本实施例提供的地面坡度计算方法,通过根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值,从而能够进一步地提高融合后的地面坡度探测值的准确性,进而能够是可移动平台实现更稳定的爬坡避障功能。
进一步地,在上述任一实施例的基础上,所述方法包括:
获取可移动平台上设置的探测设备对地面坡度的探测值;
获取惯性测量单元检测到的所述可移动平台的状态参数;
根据所述探测值对应的权重系数和所述可移动平台的角速度的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的角速度进行融合计算,确定所述地面坡度值。
在本实施例中,惯性测量单元测量得到的状态参数具体可以为角速度,相应地,获取到可移动平台上设置的探测设备采集的地面坡度的探测值以及惯性测量单元测量得到的角速度之后,可以根据探测值对应的权重系数和可移动平台的角速度的权重系数,采用卡尔曼滤波算法对探测设备对地面坡度的探测值和可移动平台的角速度进行融合计算,确定地面坡度值。
以实际应用举例来说,θ k为探测设备输出的当前时刻对地面坡度的探测值,ω k为惯性测量单元测量得到的当前时刻可移动平台的角速度,为了实现对坡度观测值的融合,可以将该当前时刻探测值θ k以及当前时刻的角速度ω k输入至预设的公式1中,获得下一时刻地面坡度探测值的预测值:
Figure PCTCN2018116685-appb-000001
其中,θ k+1|k为下一时刻地面坡度探测值的预测值;ΔT为惯性测量单元测量得到的角速度的更新周期;w k为根据惯性测量单元的特征预测获得的惯性测量单元测量的角速度的噪声。
相应地,计算获得下一时刻地面坡度探测值的预测值之后,可以通过公式2实现对预测值估计协方差矩阵的获取:
P k+1|k=FP k|kF T+Q       (2)
其中,P k+1|k为后验估计协方差矩阵,初始值可取为单位矩阵;F为系统模 型,此处即为矩阵
Figure PCTCN2018116685-appb-000002
Q即为可移动平台的角速度的权重系数。
进一步地,可以根据公式3计算地面坡度探测值的测量余量,根据公式4计算地面坡度探测值的测量余量协方差:
Figure PCTCN2018116685-appb-000003
S k=HP k|k-1H T+R      (4)
其中,y k为地面坡度探测值的测量余量;S k地面坡度探测值的测量余量协方差;H为测量模型;R为探测设备采集的地面坡度的探测值的权重系数;P k+1|k为后验估计协方差矩阵。
进一步地,可以根据公式5实现对卡尔曼增益值的计算:
Figure PCTCN2018116685-appb-000004
其中,P k+1|k为后验估计协方差矩阵;S k地面坡度探测值的测量余量协方差。由于P k+1|k是通过可移动平台的角速度的权重系数计算获得,S k是通过探测设备采集的地面坡度的探测值的权重系数计算获得,因此,当权重系数发生变化时,相应地卡尔曼增益值也会发生变化。
进一步地,可以根据公式6与公式7进行更新,融合得出最新的地面坡度值以及对应的状态协方差矩阵。
Figure PCTCN2018116685-appb-000005
P k+1=(I-K kH)P k+1|k      (7)
其中,y k为地面坡度探测值的测量余量;K k为卡尔曼增益值。当权重系数发生变化时,卡尔曼增益值也会发生变化,相应地,融合得出最新的地面坡度值也会有所不同,从而可以进一步地提高地面坡度值的计算精准度。
需要说明的是,融合得出最新的地面坡度值之后,一方面可以根据该地面坡度值实现爬坡、避障等功能,另一方面,由于探测设备采集的地面坡度的探测值的频率较低,因此可以将融合后的地面坡度值作为当前时刻的坡度探测值进行下一轮的地面坡度值的融合,直至可移动平台停止运行。
本实施例提供的地面坡度计算方法,通过根据所述探测值对应的权重系数和所述可移动平台的角速度的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的角速度进行融合计算,确定所述地面坡度值,从而能够进一步地提高融合后的地面坡度探 测值的准确性,进而能够是可移动平台实现更稳定的爬坡避障功能。
图4为本发明实施例三提供的地面坡度计算方法的流程示意图,在上述任一实施例的基础上,如图4所示,本实施例中的方法,可以包括:
步骤S301、获取可移动平台上设置的探测设备对地面坡度的探测值;
步骤S302、获取惯性测量单元检测到的所述可移动平台的状态参数;
步骤S303、确定所述可移动平台的运动幅度;
步骤S304、根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数;
步骤S305、根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算。
在本实施例中,由于可移动平台不同的运行情况下,探测设备与惯性测量单元采集到的数据准确度可能不同,举例来说,若可移动平台在运动幅度较小时,探测设备与惯性测量单元采集到的数据的准确性均较高,而当可移动平台运动幅度较大时,则由于抖动幅度过大,则探测设备采集到的数据准确性较低。因此,为了提高融合计算的准确性,可以根据不同的运行情况调整探测值对应的权重系数和状态参数对应的权重系数。具体地,首先可以确定可移动平台的运动幅度,并根据该运动幅度调整探测值对应的权重系数和状态参数对应的权重系数。根据调整后的探测值对应的权重系数和状态参数对应的权重系数,采用卡尔曼滤波算法对探测设备对地面坡度的探测值和可移动平台的状态参数进行融合计算。可以理解的是,当权重系数发生变化时,相应地卡尔曼增益值也会发生变化,相应地,融合得出最新的地面坡度值也会有所不同,从而可以进一步地提高地面坡度值的计算精准度。
本实施例提供的地面坡度计算方法,通过确定所述可移动平台的运动幅度;根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数,从而能够提高地面坡度值的计算精准度。
进一步地,在上述任一实施例的基础上,所述方法包括:
获取可移动平台上设置的探测设备对地面坡度的探测值;
获取惯性测量单元检测到的所述可移动平台的状态参数;
确定所述可移动平台的运动幅度;
当所述可移动平台的运动幅度大于预设幅度时,减小所述探测值对应的权重系数,增大所述状态参数对应的权重系数;
根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算。
在本实施例中,由于可移动平台在运动幅度较大时,探测设备对地面坡度的探测值往往准确度较低,因此,为了进一步地提高地面坡度值的计算精准度,若检测到当前可移动平台的运动幅度大于预设的幅度时,可以减小探测值对应的权重系数,增大状态参数对应的权重系数。举例来说,若正常运行情况下,探测值对应的权重系数R为100.0,状态参数对应的权重系数Q为1.0,若检测到可移动平台的运动幅度大于预设的幅度时,可以将探测值对应的权重系数R由100.0调整至25.0,将状态参数对应的权重系数Q由1.0调整至10.0。由于减小了探测值对应的参数,因此能够弱化探测值准确度低带来的影响,进一步地提高地面坡度值的计算精准度。
本实施例提供的地面坡度计算方法,通过当所述可移动平台的运动幅度大于预设幅度时,减小所述探测值对应的权重系数,增大所述状态参数对应的权重系数,从而能够进一步地提高地面坡度值的计算精准度。
进一步地,在上述任一实施例的基础上,所述方法包括:
获取可移动平台上设置的探测设备对地面坡度的探测值;
获取惯性测量单元检测到的所述可移动平台的状态参数;
根据所述可移动平台的状态参数和所述探测设备在相邻时刻对所述地面坡度分别进行探测的探测值,确定所述可移动平台的运动幅度;
根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数;
根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算。
可以理解的是,当可移动平台正常运动时,由于运动较为平缓,相邻两个时刻采集到的数据相差较小,且可移动平台的状态参数也较小,而当 可移动平台运动幅度较大时,相邻两个时刻采集到的数据可能存在较大的偏差且可移动平台的状态参数也较大,因此,可以根据可移动平台的状态参数和探测设备在相邻时刻对地面坡度分别进行探测的探测值,确定可移动平台的运动幅度。
本实施例提供的地面坡度计算方法,通过根据所述可移动平台的状态参数和所述探测设备在相邻时刻对所述地面坡度分别进行探测的探测值,确定所述可移动平台的运动幅度,从而能够精准地确定当前可移动平台的运动幅度,为后续地面坡度值的计算提供了基础。
进一步地,在上述任一实施例的基础上,所述方法包括:
获取可移动平台上设置的探测设备对地面坡度的探测值;
获取惯性测量单元检测到的所述可移动平台的状态参数;
若所述可移动平台的角速度大于预设角速度或所述可移动平台的俯仰角大于预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率与所述探测设备在上一时刻对所述地面坡度的探测值的有效率相比大于预设比例,则确定所述可移动平台的运动幅度大于预设幅度;
根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数;
根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算。
在本实施例中,当可移动平台运动幅度较大时,相邻两个时刻采集到的数据可能存在较大的偏差且可移动平台的状态参数也较大,若检测到可移动平台的角速度大于预设的角度或可移动平台的俯仰角大于预设的角度,且探测设备在当前时刻对地面坡度的探测值的有效率与探测设备在上一时刻对地面坡度的探测值的有效率相比大于预设比例,则确定可移动平台的运动幅度大于预设幅度。其中,该预设的角度可以根据当前移动场景进行设置,举例来说,其可以设置为10°。需要说明的是,探测设备在当前时刻对地面坡度的探测值的有效率为探测设备在当前时刻采集到的可观测点的数量与全部可观测点数量的比值。可以理解的是,若可移动平台在相邻两个时刻采集到的探测值的有效率相比大于预设的比例且角速度 或俯仰角大于预设的角度,则表征可移动平台当前运动幅度过大,因此后续可以根据该判断结果进行权重系数的调整。
本实施例提供的地面坡度计算方法,通过若所述可移动平台的角速度大于预设角速度或所述可移动平台的俯仰角大于预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率与所述探测设备在上一时刻对所述地面坡度的探测值的有效率相比大于预设比例,则确定所述可移动平台的运动幅度大于预设幅度,从而能够精准地确定当前可移动平台的运动幅度,为后续地面坡度值的计算提供了基础。
图5为本发明实施例四提供的地面坡度计算方法的流程示意图,在上述任一实施例的基础上,如图5所示,本实施例中的方法,可以包括:
步骤S401、获取可移动平台上设置的探测设备对地面坡度的探测值;
步骤S402、获取惯性测量单元检测到的所述可移动平台的状态参数;
步骤S403、确定所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数的有效性;
步骤S404、当所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数有效时,确定所述可移动平台的运动幅度;
步骤S405、根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数;
步骤S406、根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算。
在本实施例中,获取可移动平台上设置的探测设备对地面坡度的探测值以及惯性测量单元检测到的可移动平台的状态参数之后,首先需要确定获取的数据是否有效。可以理解的是,若采集到的可移动平台上设置的探测设备对地面坡度的探测值以及惯性测量单元检测到的可移动平台的状态参数均失效时,则表征可移动平台当前可能发生故障,则需要将可移动平台的状态上报至处理器,以使处理器根据当前的状态进行移动状态的调整,具体可以采取停止移动等方式进行调整,此外,若采集到的可移动平台上设置的探测设备对地面坡度的探测值以及惯性测量单元检测到的可移动平台的状态参数中的任意一组数据失效时,则根据失效数据融合计算 的地面坡度值也不够准确,因此,为了提高地面坡度值的计算准确度,首先需要确定获取的数据是否有效,当数据有效时,探测设备对地面坡度的探测值和可移动平台的状态参数有效时,确定可移动平台的运动幅度,根据可移动平台的运动幅度,调整探测值对应的权重系数和状态参数对应的权重系数,根据探测值对应的权重系数和状态参数对应的权重系数,采用卡尔曼滤波算法对探测设备对地面坡度的探测值和可移动平台的状态参数进行融合计算。
本实施例提供的地面坡度计算方法,通过确定所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数的有效性,当所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数有效时,确定所述可移动平台的运动幅度,从而能够在实现对地面坡度值的计算的基础上,对可移动平台的运行状况进行及时了解。
进一步地,在上述任一实施例的基础上,所述方法包括:
获取可移动平台上设置的探测设备对地面坡度的探测值;
获取惯性测量单元检测到的所述可移动平台的状态参数;
根据所述可移动平台所处的地形,确定所述探测设备对所述地面坡度的探测值的有效性;
根据所述惯性测量单元输出所述状态参数的时间间隔和/或所述惯性测量单元在相邻时刻输出的所述状态参数的大小,确定所述状态参数的有效性;
当所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数有效时,确定所述可移动平台的运动幅度;
根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数;
根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算。
在本实施例中,由于不同的地形情况下,采集到的数据有所不同,举例来说,可移动平台在平地与坡地采集到的数据往往有所不同。因此,获取可移动平台上设置的探测设备对地面坡度的探测值以及惯性测量单元 检测到的可移动平台的状态参数之后,可以根据可移动平台当前所处的地形确定探测设备对地面坡度探测值有效性。此外,惯性测量单元具有固定的数据输出频率,且若当前惯性测量单元正常运行,则相邻时刻输出的状态参数的差值较小,因此,具体可以根据惯性测量单元输出状态参数的时间间隔和/或惯性测量单元在相邻时刻输出的状态参数的大小,确定状态参数的有效性。当探测设备对地面坡度的探测值和可移动平台的状态参数有效时,确定可移动平台的运动幅度,根据可移动平台的运动幅度,调整探测值对应的权重系数和状态参数对应的权重系数,根据探测值对应的权重系数和状态参数对应的权重系数,采用卡尔曼滤波算法对探测设备对地面坡度的探测值和可移动平台的状态参数进行融合计算。
本实施例提供的地面坡度计算方法,通过根据所述可移动平台所处的地形,确定所述探测设备对所述地面坡度的探测值的有效性,根据所述惯性测量单元输出所述状态参数的时间间隔和/或所述惯性测量单元在相邻时刻输出的所述状态参数的大小,确定所述状态参数的有效性,从而能够精准地确定当前地面坡度的探测值以及可移动平台的状态参数的有效性,为后续地面坡度值的计算提供了基础。
进一步地,在上述任一实施例的基础上,所述方法包括:
获取可移动平台上设置的探测设备对地面坡度的探测值;
获取惯性测量单元检测到的所述可移动平台的状态参数;
若根据所述可移动平台下方为平地,所述探测设备在当前时刻对所述地面坡度的探测值与所述探测设备在上一时刻对所述地面坡度的探测值的差值小于第一预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率大于第一阈值,则确定所述探测设备在当前时刻对所述地面坡度的探测值有效;
若根据所述可移动平台下方为山地,所述探测设备在当前时刻对所述地面坡度的探测值与所述探测设备在上一时刻对所述地面坡度的探测值的差值小于第二预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率大于第二阈值,则确定所述探测设备在当前时刻对所述地面坡度的探测值有效;
其中,所述第一预设角度小于所述第二预设角度,所述第一阈值大于 所述第二阈值;
根据所述惯性测量单元输出所述状态参数的时间间隔和/或所述惯性测量单元在相邻时刻输出的所述状态参数的大小,确定所述状态参数的有效性;
当所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数有效时,确定所述可移动平台的运动幅度;
根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数;
根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算。
在本实施例中,为了进一步地提高地面坡度值的准确性,使其能够兼容平地与坡地等不同的作业环境,可以针对不同的地形采取不同的数据有效性的判别方式。具体地,若当前可移动平台下方为平地,则若检测到探测设备在当前时刻对地面坡度的探测值与探测设备在上一时刻对地面坡度的探测值的差值小于第一预设角度,且探测设备在当前时刻对地面坡度的探测值的有效率大于第一阈值时,则确定探测设备在当前时刻对地面坡度的探测值有效;相应地,若当前可移动平台下方为山地,则若检测到探测设备在当前时刻对地面坡度的探测值与探测设备在上一时刻对地面坡度的探测值的差值小于第二预设角度,且探测设备在当前时刻对地面坡度的探测值的有效率大于第二阈值,则确定探测设备在当前时刻对地面坡度的探测值有效。可以理解的是,可移动平台在平地上的运动幅度通常小于在坡地上的运动幅度,因此,第一预设角度小于第二预设角度,第一阈值大于第二阈值,在实际应用中,第一预设角度可以设置为20°,第二预设角度可以设置为50°,第一阈值可以为50%,第二阈值为40%。
作为一种可以实施的方式,由于探测设备需要根据探测到的测距信息实现对地面坡度的探测值的计算,因此,初始状态下,只要接收到探测设备输出的地面坡度的探测值,即认为该数据有效,后续可以采用上述实施例实现对地面坡度的探测值的有效性的判定。
本实施例提供的地面坡度计算方法,通过若根据所述可移动平台下方 为平地,所述探测设备在当前时刻对所述地面坡度的探测值与所述探测设备在上一时刻对所述地面坡度的探测值的差值小于第一预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率大于第一阈值,则确定所述探测设备在当前时刻对所述地面坡度的探测值有效;若根据所述可移动平台下方为山地,所述探测设备在当前时刻对所述地面坡度的探测值与所述探测设备在上一时刻对所述地面坡度的探测值的差值小于第二预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率大于第二阈值,则确定所述探测设备在当前时刻对所述地面坡度的探测值有效;其中,所述第一预设角度小于所述第二预设角度,所述第一阈值大于所述第二阈值,通过针对不同的地形采取不同的数据有效性的判别方式,从而能够提高地面坡度值的准确性,使其能够兼容平地与坡地等不同的作业环境。
进一步地,在上述任一实施例的基础上,所述方法包括:
获取可移动平台上设置的探测设备对地面坡度的探测值;
获取惯性测量单元检测到的所述可移动平台的状态参数;
若所述惯性测量单元输出所述状态参数的当前时刻和所述惯性测量单元输出所述状态参数的上一时刻之间的时间间隔小于预设时间间隔,和/或所述惯性测量单元在当前时刻输出的所述状态参数和所述惯性测量单元在上一时刻输出的所述状态参数的差值小于预设差值,则确定所述惯性测量单元在当前时刻输出的所述状态参数有效;
根据所述惯性测量单元输出所述状态参数的时间间隔和/或所述惯性测量单元在相邻时刻输出的所述状态参数的大小,确定所述状态参数的有效性;
当所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数有效时,确定所述可移动平台的运动幅度;
根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数;
根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算。
在本实施例中,惯性测量单元检测可移动平台的状态参数的频率为15Hz,因此,可以根据惯性测量单元输出状态参数的时间间隔实现对可移动平台的状态参数有效性的判定,若惯性测量单元输出状态参数的时间间隔大于预设的阈值,则表征惯性测量单元输出的状态参数无效。此外,由于可移动平台在移动过程中,惯性测量单元采集到的状态参数较为平稳,因此,可以根据惯性测量单元在相邻时刻输出的状态参数的大小实现对可移动平台的状态参数有效性的判定,若惯性测量单元在相邻时刻输出的状态参数的差值大于预设的阈值,则表征惯性测量单元输出的状态参数无效。需要说明的是,上述两种实施方式可以单独实施,也可以结合实施,本发明在此不做限制。
本实施例提供的地面坡度计算方法,通过若所述惯性测量单元输出所述状态参数的当前时刻和所述惯性测量单元输出所述状态参数的上一时刻之间的时间间隔小于预设时间间隔,和/或所述惯性测量单元在当前时刻输出的所述状态参数和所述惯性测量单元在上一时刻输出的所述状态参数的差值小于预设差值,则确定所述惯性测量单元在当前时刻输出的所述状态参数有效,从而能够精准地确定可移动平台的状态参数的有效性,为后续地面坡度值的计算提供了基础。
图6为本发明实施例五提供的地面坡度计算方法的流程示意图,在上述任一实施例的基础上,如图6所示,本实施例中的方法,可以包括:
步骤S501、获取可移动平台上设置的探测设备对地面坡度的探测值;
步骤S502、获取惯性测量单元检测到的所述可移动平台的状态参数;
步骤S503、当所述探测设备在当前时刻对所述地面坡度的探测值有效,且所述惯性测量单元在当前时刻输出的所述状态参数无效时,采用卡尔曼滤波算法对所述探测设备在当前时刻对所述地面坡度的探测值和所述惯性测量单元在下一时刻输出的所述状态参数进行融合计算。
在本实施例中,由于地面坡度的探测值的更新频率要慢于可移动平台的状态参数,因此,若检测到探测设备在当前时刻对所述地面坡度的探测值有效,且所述惯性测量单元在当前时刻输出的状态参数无效时,由于可移动平台的状态参数的更新频率较快,可以采用采用卡尔曼滤波算法对探测设备在当前时刻对地面坡度的探测值和惯性测量单元在下一时刻输出 的状态参数进行融合计算,实现对地面坡度值的获取。
本实施例提供的地面坡度计算方法,通过当所述探测设备在当前时刻对所述地面坡度的探测值有效,且所述惯性测量单元在当前时刻输出的所述状态参数无效时,采用卡尔曼滤波算法对所述探测设备在当前时刻对所述地面坡度的探测值和所述惯性测量单元在下一时刻输出的所述状态参数进行融合计算,从而能够在状态参数无效时实现对地面坡度值的计算,使可移动平台能够实现更稳定的爬坡、避障功能。
进一步地,在上述任一实施例的基础上,所述方法包括:
获取可移动平台上设置的探测设备对地面坡度的探测值;
获取惯性测量单元检测到的所述可移动平台的状态参数;
当所述探测设备在当前时刻对所述地面坡度的探测值无效,且所述惯性测量单元在当前时刻输出的所述状态参数有效时,采用卡尔曼滤波算法对所述探测设备在上一时刻对所述地面坡度的探测值和所述惯性测量单元在当前时刻输出的所述状态参数进行融合计算。
在本实施例中,由于地面坡度的探测值的更新频率要慢于可移动平台的状态参数,因此,若检测到探测设备在当前时刻对地面坡度的探测值无效,且惯性测量单元在当前时刻输出的状态参数有效时,由于探测设备的更新频率较慢,因此可以采用上一时刻的地面坡度探测值进行融合,具体地,采用卡尔曼滤波算法对探测设备在上一时刻对地面坡度的探测值和惯性测量单元在当前时刻输出的状态参数进行融合计算。
本实施例提供的地面坡度计算方法,通过当所述探测设备在当前时刻对所述地面坡度的探测值无效,且所述惯性测量单元在当前时刻输出的所述状态参数有效时,采用卡尔曼滤波算法对所述探测设备在上一时刻对所述地面坡度的探测值和所述惯性测量单元在当前时刻输出的所述状态参数进行融合计算,从而能够在地面坡度的探测值无效时实现对地面坡度值的计算,使可移动平台能够实现更稳定的爬坡、避障功能。
图7为本发明实施例六提供的地面坡度计算方法的流程示意图;图8为本发明实施例提供的探测设备调整示意图,在上述任一实施例的基础上,如图7所示,本实施例中的方法,可以包括:
步骤S601、获取可移动平台上设置的探测设备对地面坡度的探测值;
步骤S602、获取惯性测量单元检测到的所述可移动平台的状态参数;
步骤S603、根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值;
步骤S604、根据所述地面坡度值,控制所述探测设备的探测角度。
在本实施例中,获取到可移动平台上设置的探测设备对地面坡度的探测值以及惯性测量单元检测到的可移动平台的状态参数,并根据地面坡度的探测值以及状态参数确定地面坡度值之后,为了实现更稳定的爬坡、避障功能,可以根据该地面坡度值对探测设备的探测角度进行调整。具体地,可以将探测设备的探测角度调节至于地面坡度相平行。
如图8所示,当可移动平台在坡地上移动时,地面坡度计算装置可以根据探测设备对地面坡度的探测值以及惯性测量单元检测到的可移动平台的状态参数确定当前的地面坡度值,并根据该地面坡度值进行探测角度的调整,以使探测设备的探测角度调节至于地面坡度相平行,从而实现爬坡功能。
本实施例提供的地面坡度计算方法,通过根据所述地面坡度值,控制所述探测设备的探测角度,从而能够实现更稳定的爬坡、避障功能。
进一步地,在上述任一实施例的基础上,所述探测设备包括如下至少一种:
微波雷达、超声波探测设备、TOF测距探测设备、视觉探测设备、激光雷达。
进一步地,在上述任一实施例的基础上,所述可移动平台包括如下至少一种:
遥控车、无人飞行器。
图9为本发明实施例七提供的地面坡度计算装置的结构示意图,如图9所示,所述地面坡度计算装置包括:存储器71和处理器72;
所述存储器71用于存储程序代码;
所述处理器72,调用所述程序代码,当程序代码被执行时,用于执行以下操作:
获取可移动平台上设置的探测设备对地面坡度的探测值;
获取惯性测量单元检测到的所述可移动平台的状态参数;
根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值。
进一步地,在上述任一实施例的基础上,所述可移动平台的状态参数包括如下至少一种:
所述可移动平台的角速度、姿态信息。
进一步地,在上述任一实施例的基础上,所述姿态信息包括如下至少一种:
俯仰角,横滚角,偏航角。
进一步地,在上述任一实施例的基础上,所述处理器72根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值时,具体用于:
采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值。
进一步地,在上述任一实施例的基础上,所述处理器72采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值时,具体用于:
根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值。
进一步地,在上述任一实施例的基础上,所述处理器72根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值时,具体用于:
根据所述探测值对应的权重系数和所述可移动平台的角速度的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的角速度进行融合计算,确定所述地面坡度值。
进一步地,在上述任一实施例的基础上,所述处理器72根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算之前,还用于:
确定所述可移动平台的运动幅度;
根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数。
进一步地,在上述任一实施例的基础上,所述处理器72根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数时,具体用于:
当所述可移动平台的运动幅度大于预设幅度时,减小所述探测值对应的权重系数,增大所述状态参数对应的权重系数。
进一步地,在上述任一实施例的基础上,所述处理器72确定所述可移动平台的运动幅度时,具体用于:
根据所述可移动平台的状态参数和所述探测设备在相邻时刻对所述地面坡度分别进行探测的探测值,确定所述可移动平台的运动幅度。
进一步地,在上述任一实施例的基础上,所述处理器72根据所述可移动平台的状态参数和所述探测设备在相邻时刻对所述地面坡度分别进行探测的探测值,确定所述可移动平台的运动幅度时,具体用于:
若所述可移动平台的角速度大于预设角速度或所述可移动平台的俯仰角大于预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率与所述探测设备在上一时刻对所述地面坡度的探测值的有效率相比大于预设比例,则确定所述可移动平台的运动幅度大于预设幅度。
进一步地,在上述任一实施例的基础上,所述处理器72确定所述可移动平台的运动幅度时,具体用于:
确定所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数的有效性;
当所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数有效时,确定所述可移动平台的运动幅度。
进一步地,在上述任一实施例的基础上,所述处理器72确定所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数的有效性时,具体用于:
根据所述可移动平台所处的地形,确定所述探测设备对所述地面坡度的探测值的有效性;
根据所述惯性测量单元输出所述状态参数的时间间隔和/或所述惯性测量单元在相邻时刻输出的所述状态参数的大小,确定所述状态参数的有效性。
进一步地,在上述任一实施例的基础上,所述处理器72根据所述可移动平台所处的地形,确定所述探测设备对所述地面坡度的探测值的有效性时,具体用于:
若根据所述可移动平台下方为平地,所述探测设备在当前时刻对所述地面坡度的探测值与所述探测设备在上一时刻对所述地面坡度的探测值的差值小于第一预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率大于第一阈值,则确定所述探测设备在当前时刻对所述地面坡度的探测值有效;
若根据所述可移动平台下方为山地,所述探测设备在当前时刻对所述地面坡度的探测值与所述探测设备在上一时刻对所述地面坡度的探测值的差值小于第二预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率大于第二阈值,则确定所述探测设备在当前时刻对所述地面坡度的探测值有效;
其中,所述第一预设角度小于所述第二预设角度,所述第一阈值大于所述第二阈值。
进一步地,在上述任一实施例的基础上,所述处理器72根据所述惯性测量单元输出所述状态参数的时间间隔和/或所述惯性测量单元在相邻时刻输出的所述状态参数的大小,确定所述状态参数的有效性时,具体用于:
若所述惯性测量单元输出所述状态参数的当前时刻和所述惯性测量单元输出所述状态参数的上一时刻之间的时间间隔小于预设时间间隔,和/或所述惯性测量单元在当前时刻输出的所述状态参数和所述惯性测量单元在上一时刻输出的所述状态参数的差值小于预设差值,则确定所述惯性测量单元在当前时刻输出的所述状态参数有效。
进一步地,在上述任一实施例的基础上,所述处理器72采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算时,具体用于:
当所述探测设备在当前时刻对所述地面坡度的探测值有效,且所述惯性测量单元在当前时刻输出的所述状态参数无效时,采用卡尔曼滤波算法对所述探测设备在当前时刻对所述地面坡度的探测值和所述惯性测量单元在下一时刻输出的所述状态参数进行融合计算。
进一步地,在上述任一实施例的基础上,所述处理器72采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算时,具体用于:
当所述探测设备在当前时刻对所述地面坡度的探测值无效,且所述惯性测量单元在当前时刻输出的所述状态参数有效时,采用卡尔曼滤波算法对所述探测设备在上一时刻对所述地面坡度的探测值和所述惯性测量单元在当前时刻输出的所述状态参数进行融合计算。
进一步地,在上述任一实施例的基础上,所述处理器72根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值之后,还用于:
根据所述地面坡度值,控制所述探测设备的探测角度。
进一步地,在上述任一实施例的基础上,所述探测设备包括如下至少一种:
微波雷达、超声波探测设备、TOF测距探测设备、视觉探测设备、激光雷达。
图9为本发明实施例八提供的可移动平台的结构示意图,如图9所示,所述可移动平台81,包括:
机身82;
动力系统,安装在所述机身,用于提供动力;
探测设备2,用于探测地面坡度;
惯性测量单元3,用于检测所述可移动平台的状态参数;以及
如上述任一实施例所述的地面坡度计算装置1。
进一步地,在上述任一实施例的基础上,所述可移动平台包括如下至少一种:
遥控车、无人飞行器。
本发明又一实施例提供一种计算机可读存储介质,其上存储有计算机 程序,所述计算机程序被处理器执行以实现如上述任一实施例所述的地面坡度计算方法。
另外,本实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现上述实施例所述的地面坡度计算方法。
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模 块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (40)

  1. 一种地面坡度计算方法,其特征在于,包括:
    获取可移动平台上设置的探测设备对地面坡度的探测值;
    获取惯性测量单元检测到的所述可移动平台的状态参数;
    根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值。
  2. 根据权利要求1所述的方法,其特征在于,所述可移动平台的状态参数包括如下至少一种:
    所述可移动平台的角速度、姿态信息。
  3. 根据权利要求2所述的方法,其特征在于,所述姿态信息包括如下至少一种:
    俯仰角,横滚角,偏航角。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值,包括:
    采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值。
  5. 根据权利要求4所述的方法,其特征在于,所述采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值,包括:
    根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值。
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值,包括:
    根据所述探测值对应的权重系数和所述可移动平台的角速度的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的角速度进行融合计算,确定所述地面坡度值。
  7. 根据权利要求5或6所述的方法,其特征在于,所述根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算之前,还包括:
    确定所述可移动平台的运动幅度;
    根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数。
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数,包括:
    当所述可移动平台的运动幅度大于预设幅度时,减小所述探测值对应的权重系数,增大所述状态参数对应的权重系数。
  9. 根据权利要求7或8所述的方法,其特征在于,所述确定所述可移动平台的运动幅度,包括:
    根据所述可移动平台的状态参数和所述探测设备在相邻时刻对所述地面坡度分别进行探测的探测值,确定所述可移动平台的运动幅度。
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述可移动平台的状态参数和所述探测设备在相邻时刻对所述地面坡度分别进行探测的探测值,确定所述可移动平台的运动幅度,包括:
    若所述可移动平台的角速度大于预设角速度或所述可移动平台的俯仰角大于预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率与所述探测设备在上一时刻对所述地面坡度的探测值的有效率相比大于预设比例,则确定所述可移动平台的运动幅度大于预设幅度。
  11. 根据权利要求7-10任一项所述的方法,其特征在于,所述确定所述可移动平台的运动幅度,包括:
    确定所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数的有效性;
    当所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数有效时,确定所述可移动平台的运动幅度。
  12. 根据权利要求11所述的方法,其特征在于,所述确定所述探测 设备对所述地面坡度的探测值和所述可移动平台的状态参数的有效性,包括:
    根据所述可移动平台所处的地形,确定所述探测设备对所述地面坡度的探测值的有效性;
    根据所述惯性测量单元输出所述状态参数的时间间隔和/或所述惯性测量单元在相邻时刻输出的所述状态参数的大小,确定所述状态参数的有效性。
  13. 根据权利要求12所述的方法,其特征在于,所述根据所述可移动平台所处的地形,确定所述探测设备对所述地面坡度的探测值的有效性,包括:
    若根据所述可移动平台下方为平地,所述探测设备在当前时刻对所述地面坡度的探测值与所述探测设备在上一时刻对所述地面坡度的探测值的差值小于第一预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率大于第一阈值,则确定所述探测设备在当前时刻对所述地面坡度的探测值有效;
    若根据所述可移动平台下方为山地,所述探测设备在当前时刻对所述地面坡度的探测值与所述探测设备在上一时刻对所述地面坡度的探测值的差值小于第二预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率大于第二阈值,则确定所述探测设备在当前时刻对所述地面坡度的探测值有效;
    其中,所述第一预设角度小于所述第二预设角度,所述第一阈值大于所述第二阈值。
  14. 根据权利要求12所述的方法,其特征在于,所述根据所述惯性测量单元输出所述状态参数的时间间隔和/或所述惯性测量单元在相邻时刻输出的所述状态参数的大小,确定所述状态参数的有效性,包括:
    若所述惯性测量单元输出所述状态参数的当前时刻和所述惯性测量单元输出所述状态参数的上一时刻之间的时间间隔小于预设时间间隔,和/或所述惯性测量单元在当前时刻输出的所述状态参数和所述惯性测量单元在上一时刻输出的所述状态参数的差值小于预设差值,则确定所述惯性测量单元在当前时刻输出的所述状态参数有效。
  15. 根据权利要求5或6所述的方法,其特征在于,所述采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,包括:
    当所述探测设备在当前时刻对所述地面坡度的探测值有效,且所述惯性测量单元在当前时刻输出的所述状态参数无效时,采用卡尔曼滤波算法对所述探测设备在当前时刻对所述地面坡度的探测值和所述惯性测量单元在下一时刻输出的所述状态参数进行融合计算。
  16. 根据权利要求5或6所述的方法,其特征在于,所述采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,包括:
    当所述探测设备在当前时刻对所述地面坡度的探测值无效,且所述惯性测量单元在当前时刻输出的所述状态参数有效时,采用卡尔曼滤波算法对所述探测设备在上一时刻对所述地面坡度的探测值和所述惯性测量单元在当前时刻输出的所述状态参数进行融合计算。
  17. 根据权利要求1所述的方法,其特征在于,所述根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值之后,还包括:
    根据所述地面坡度值,控制所述探测设备的探测角度。
  18. 根据权利要求1-17任一项所述的方法,其特征在于,所述探测设备包括如下至少一种:
    微波雷达、超声波探测设备、TOF测距探测设备、视觉探测设备、激光雷达。
  19. 根据权利要求1-17任一项所述的方法,其特征在于,所述可移动平台包括如下至少一种:
    遥控车、无人飞行器。
  20. 一种地面坡度计算装置,其特征在于,包括:存储器和处理器;
    所述存储器用于存储程序代码;
    所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:
    获取可移动平台上设置的探测设备对地面坡度的探测值;
    获取惯性测量单元检测到的所述可移动平台的状态参数;
    根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值。
  21. 根据权利要求20所述的地面坡度计算装置,其特征在于,所述可移动平台的状态参数包括如下至少一种:
    所述可移动平台的角速度、姿态信息。
  22. 根据权利要求21所述的地面坡度计算装置,其特征在于,所述姿态信息包括如下至少一种:
    俯仰角,横滚角,偏航角。
  23. 根据权利要求20-22任一项所述的地面坡度计算装置,其特征在于,所述处理器根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值时,具体用于:
    采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值。
  24. 根据权利要求23所述的地面坡度计算装置,其特征在于,所述处理器采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值时,具体用于:
    根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值。
  25. 根据权利要求24所述的地面坡度计算装置,其特征在于,所述处理器根据所述探测值对应的权重系数和所述状态参数对应的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算,确定所述地面坡度值时,具体用于:
    根据所述探测值对应的权重系数和所述可移动平台的角速度的权重系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的角速度进行融合计算,确定所述地面坡度值。
  26. 根据权利要求24或25所述的地面坡度计算装置,其特征在于,所述处理器根据所述探测值对应的权重系数和所述状态参数对应的权重 系数,采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算之前,还用于:
    确定所述可移动平台的运动幅度;
    根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数。
  27. 根据权利要求26所述的地面坡度计算装置,其特征在于,所述处理器根据所述可移动平台的运动幅度,调整所述探测值对应的权重系数和所述状态参数对应的权重系数时,具体用于:
    当所述可移动平台的运动幅度大于预设幅度时,减小所述探测值对应的权重系数,增大所述状态参数对应的权重系数。
  28. 根据权利要求26或27所述的地面坡度计算装置,其特征在于,所述处理器确定所述可移动平台的运动幅度时,具体用于:
    根据所述可移动平台的状态参数和所述探测设备在相邻时刻对所述地面坡度分别进行探测的探测值,确定所述可移动平台的运动幅度。
  29. 根据权利要求28所述的地面坡度计算装置,其特征在于,所述处理器根据所述可移动平台的状态参数和所述探测设备在相邻时刻对所述地面坡度分别进行探测的探测值,确定所述可移动平台的运动幅度时,具体用于:
    若所述可移动平台的角速度大于预设角速度或所述可移动平台的俯仰角大于预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率与所述探测设备在上一时刻对所述地面坡度的探测值的有效率相比大于预设比例,则确定所述可移动平台的运动幅度大于预设幅度。
  30. 根据权利要求26-29任一项所述的地面坡度计算装置,其特征在于,所述处理器确定所述可移动平台的运动幅度时,具体用于:
    确定所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数的有效性;
    当所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数有效时,确定所述可移动平台的运动幅度。
  31. 根据权利要求30所述的地面坡度计算装置,其特征在于,所述处理器确定所述探测设备对所述地面坡度的探测值和所述可移动平台的 状态参数的有效性时,具体用于:
    根据所述可移动平台所处的地形,确定所述探测设备对所述地面坡度的探测值的有效性;
    根据所述惯性测量单元输出所述状态参数的时间间隔和/或所述惯性测量单元在相邻时刻输出的所述状态参数的大小,确定所述状态参数的有效性。
  32. 根据权利要求31所述的地面坡度计算装置,其特征在于,所述处理器根据所述可移动平台所处的地形,确定所述探测设备对所述地面坡度的探测值的有效性时,具体用于:
    若根据所述可移动平台下方为平地,所述探测设备在当前时刻对所述地面坡度的探测值与所述探测设备在上一时刻对所述地面坡度的探测值的差值小于第一预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率大于第一阈值,则确定所述探测设备在当前时刻对所述地面坡度的探测值有效;
    若根据所述可移动平台下方为山地,所述探测设备在当前时刻对所述地面坡度的探测值与所述探测设备在上一时刻对所述地面坡度的探测值的差值小于第二预设角度,且所述探测设备在当前时刻对所述地面坡度的探测值的有效率大于第二阈值,则确定所述探测设备在当前时刻对所述地面坡度的探测值有效;
    其中,所述第一预设角度小于所述第二预设角度,所述第一阈值大于所述第二阈值。
  33. 根据权利要求31所述的地面坡度计算装置,其特征在于,所述处理器根据所述惯性测量单元输出所述状态参数的时间间隔和/或所述惯性测量单元在相邻时刻输出的所述状态参数的大小,确定所述状态参数的有效性时,具体用于:
    若所述惯性测量单元输出所述状态参数的当前时刻和所述惯性测量单元输出所述状态参数的上一时刻之间的时间间隔小于预设时间间隔,和/或所述惯性测量单元在当前时刻输出的所述状态参数和所述惯性测量单元在上一时刻输出的所述状态参数的差值小于预设差值,则确定所述惯性测量单元在当前时刻输出的所述状态参数有效。
  34. 根据权利要求24或25所述的地面坡度计算装置,其特征在于,所述处理器采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算时,具体用于:
    当所述探测设备在当前时刻对所述地面坡度的探测值有效,且所述惯性测量单元在当前时刻输出的所述状态参数无效时,采用卡尔曼滤波算法对所述探测设备在当前时刻对所述地面坡度的探测值和所述惯性测量单元在下一时刻输出的所述状态参数进行融合计算。
  35. 根据权利要求24或25所述的地面坡度计算装置,其特征在于,所述处理器采用卡尔曼滤波算法对所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数进行融合计算时,具体用于:
    当所述探测设备在当前时刻对所述地面坡度的探测值无效,且所述惯性测量单元在当前时刻输出的所述状态参数有效时,采用卡尔曼滤波算法对所述探测设备在上一时刻对所述地面坡度的探测值和所述惯性测量单元在当前时刻输出的所述状态参数进行融合计算。
  36. 根据权利要求20所述的地面坡度计算装置,其特征在于,所述处理器根据所述探测设备对所述地面坡度的探测值和所述可移动平台的状态参数,确定地面坡度值之后,还用于:
    根据所述地面坡度值,控制所述探测设备的探测角度。
  37. 根据权利要求20-36任一项所述的地面坡度计算装置,其特征在于,所述探测设备包括如下至少一种:
    微波雷达、超声波探测设备、TOF测距探测设备、视觉探测设备、激光雷达。
  38. 一种可移动平台,其特征在于,包括:
    机身;
    动力系统,安装在所述机身,用于提供动力;
    探测设备,用于探测地面坡度;
    惯性测量单元,用于检测所述可移动平台的状态参数;以及
    如权利要求20-37任一项所述的地面坡度计算装置。
  39. 根据权利要求38所述的可移动平台,其特征在于,所述可移动平台包括如下至少一种:
    遥控车、无人飞行器。
  40. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器执行以实现如权利要求1-19任一项所述的方法。
PCT/CN2018/116685 2018-11-21 2018-11-21 地面坡度计算方法、装置、设备及存储介质 WO2020103029A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/116685 WO2020103029A1 (zh) 2018-11-21 2018-11-21 地面坡度计算方法、装置、设备及存储介质
CN201880041846.6A CN110832274A (zh) 2018-11-21 2018-11-21 地面坡度计算方法、装置、设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/116685 WO2020103029A1 (zh) 2018-11-21 2018-11-21 地面坡度计算方法、装置、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2020103029A1 true WO2020103029A1 (zh) 2020-05-28

Family

ID=69547513

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/116685 WO2020103029A1 (zh) 2018-11-21 2018-11-21 地面坡度计算方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN110832274A (zh)
WO (1) WO2020103029A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023082255A1 (zh) * 2021-11-15 2023-05-19 深圳市大疆创新科技有限公司 无人飞行器的控制方法、无人飞行器及存储介质
CN115167512A (zh) * 2022-07-25 2022-10-11 亿航智能设备(广州)有限公司 一种地面坡度探测方法、设备及计算机可读存储介质
CN115586511B (zh) * 2022-11-25 2023-03-03 唐山百川工业服务有限公司 一种基于阵列立柱的激光雷达二维定位方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1718563A (zh) * 2004-07-07 2006-01-11 中国科学院沈阳自动化研究所 载人潜水器自动躲避障碍方法
CN1800780A (zh) * 2004-12-31 2006-07-12 比亚迪股份有限公司 车载道路坡度角测量系统及车载道路坡度角测量方法
US20160332633A1 (en) * 2013-07-11 2016-11-17 C.R.F. Societa' Consortile Per Azioni Automotive control unit programmed to estimate road slope and vehicle mass, vehicle with such a control unit and corresponding program product

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102313535B (zh) * 2011-06-29 2013-08-28 惠州市德赛西威汽车电子有限公司 坡度检测方法
US9454508B2 (en) * 2012-08-31 2016-09-27 Ford Global Technologies, Llc Kinematic road gradient estimation
CN104897135A (zh) * 2014-03-05 2015-09-09 上海通用汽车有限公司 一种路面坡度获取方法以及路面坡度获取系统
CN106840097B (zh) * 2017-01-24 2021-05-25 重庆大学 一种基于自适应扩展卡尔曼滤波的道路坡度估计方法
CN108507587B (zh) * 2018-06-07 2021-09-17 南京邮电大学 一种基于坐标变换的三维车载定位导航方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1718563A (zh) * 2004-07-07 2006-01-11 中国科学院沈阳自动化研究所 载人潜水器自动躲避障碍方法
CN1800780A (zh) * 2004-12-31 2006-07-12 比亚迪股份有限公司 车载道路坡度角测量系统及车载道路坡度角测量方法
US20160332633A1 (en) * 2013-07-11 2016-11-17 C.R.F. Societa' Consortile Per Azioni Automotive control unit programmed to estimate road slope and vehicle mass, vehicle with such a control unit and corresponding program product

Also Published As

Publication number Publication date
CN110832274A (zh) 2020-02-21

Similar Documents

Publication Publication Date Title
US20210287556A1 (en) Method and apparatus for generating optimal path for an unmanned aerial vehicle
US10942529B2 (en) Aircraft information acquisition method, apparatus and device
US11242144B2 (en) Aerial vehicle smart landing
US8989924B2 (en) Altitude estimator for a rotary-wing drone with multiple rotors
WO2020103029A1 (zh) 地面坡度计算方法、装置、设备及存储介质
WO2022042184A1 (zh) 一种跟踪目标的位置估计方法、装置及无人飞行器
EP3158412B1 (en) Sensor fusion using inertial and image sensors
WO2020253260A1 (zh) 时间同步处理方法、电子设备及存储介质
KR101813697B1 (ko) 딥 러닝을 이용한 무인기 비행 제어 시스템 및 방법
KR101956447B1 (ko) 그래프 구조 기반의 무인체 위치 추정 장치 및 그 방법
US10322819B2 (en) Autonomous system for taking moving images from a drone, with target tracking and improved target location
AU2017305353A1 (en) Method and device for terrain simulation flying of unmanned aerial vehicle and unmanned aerial vehicle
JP2018156660A (ja) 回転翼型小型飛行体(mav)での屋内環境及び屋外環境における安定自律飛行のためのマルチセンサの融合
EP3128386A1 (en) Method and device for tracking a moving target from an air vehicle
US20220198793A1 (en) Target state estimation method and apparatus, and unmanned aerial vehicle
CN113050116B (zh) 机器人定位方法、装置、机器人和可读存储介质
Kim et al. Development of an electro-optical system for small UAV
CN111510704B (zh) 校正摄像头错排的方法及利用其的装置
CN111338383A (zh) 基于gaas的自主飞行方法及系统、存储介质
CN113514806A (zh) 自动驾驶过程中障碍物确定方法、装置及电子设备
WO2018094576A1 (zh) 无人飞行器的控制方法、飞行控制器及无人飞行器
CN111045433A (zh) 一种机器人的避障方法、机器人及计算机可读存储介质
CN113218389B (zh) 一种车辆定位方法、装置、存储介质及计算机程序产品
CN112505718B (zh) 用于自动驾驶车辆的定位方法、系统及计算机可读介质
CN117270561B (zh) 基于无人机目标跟踪的赋予诸元方法和系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18940732

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18940732

Country of ref document: EP

Kind code of ref document: A1