Unless otherwise indicated herein, the materials described in this section are not prior art to the claims in this application and are not admitted to be prior art by inclusion in this section.
Robotic devices may be used for many applications, and may operate in a variety of environments. Such robotic devices may need to operate in environments with a sloped ground, an environment with rocky terrain, or various other uneven landscapes. In such environments, the robotic device may need to know the slope of the ground to maintain balance and to progress forward. Such robotic devices may include systems to estimate a flat-plane approximation of the shape of the ground on which the robotic devices are walking in order to move across such terrains.
The present application discloses embodiments that relate to ground plane estimation for robotic devices. In one example, the present application describes a method operable by a computing device. The method may include determining an orientation of a body of a robotic device with respect to a gravity aligned reference frame. The method may also include determining the location of one or more contact points between the robotic device and a ground surface. The method may also include determining, by one or more processors of the computing device, a ground plane estimation of the ground surface based on the determined orientation of the robotic device with respect to the gravity aligned reference frame and the determined location of the one or more contact points between the robotic device and the ground surface, wherein the ground plane estimation includes a flat-plane approximation of a shape of the ground surface. The method may also include determining a distance between the body of the robotic device and the determined ground plane estimation. The method may also include providing instructions, by the one or more processors, to adjust a position and/or orientation of some part of the robotic device based on the determined distance and the determined ground plane estimation.
In another aspect, the present application discloses a robotic device. The robotic device may include a body, two or more legs extending from the body, at least one processor, and data storage comprising program logic executable by the at least one processor to cause the robotic device to perform functions. The functions may include determining an orientation of the body of the robotic device with respect to a gravity aligned reference frame. The functions may also include determining the location of one or more contact points between the robotic device and a ground surface. The functions may also include determining a ground plane estimation of the ground surface based on the determined orientation of the robotic device with respect to the gravity aligned reference frame and the determined location of the one or more contact points between the robotic device and the ground surface, wherein the ground plane estimation includes a flat-plane approximation of a shape of the ground surface. The functions may also include determining a distance between the body of the robotic device and the determined ground plane estimation. The functions may also include providing instructions to adjust a position of the robotic device based on the determined distance and the determined ground plane estimation.
In yet another aspect, the present application discloses a non-transitory computer-readable storage medium having stored thereon instructions, that when executed by a computing device, cause the computing device to carry out functions. The functions may include determining an orientation of a body of a robotic device with respect to a gravity aligned reference frame. The functions may also include determining the location of one or more contact points between the robotic device and the ground surface. The functions may also include determining a ground plane estimation of the ground surface based on the determined orientation of the robotic device with respect to the gravity aligned reference frame and the determined location of the one or more contact points between the robotic device and the ground surface, wherein the ground plane estimation includes a flat-plane approximation of a shape of the ground surface. The functions may also include determining a distance between the body of the robotic device and the determined ground plane estimation. The functions may also include providing instructions to adjust a position of the robotic device based on the determined distance and the determined ground plane estimation.
These as well as other aspects, advantages, and alternatives, will become apparent to those of ordinary skill in the art by reading the following detailed description, with reference where appropriate to the accompanying figures.
Example methods and systems are described herein. It should be understood that the words “example,” “exemplary,” and “illustrative” are used herein to mean “serving as an example, instance, or illustration.” Any embodiment or feature described herein as being an “example,” being “exemplary,” or being “illustrative” is not necessarily to be construed as preferred or advantageous over other embodiments or features. The example embodiments described herein are not meant to be limiting. It will be readily understood that the aspects of the present disclosure, as generally described herein, and illustrated in the figures, can be arranged, substituted, combined, separated, and designed in a wide variety of different configurations, all of which are explicitly contemplated herein.
In some example operations, a legged robotic device may need to know the slope and location of the ground to maintain balance and forward progress. Such robotic devices may include systems to estimate a flat-plane approximation of the shape of the ground on which the robots are walking in order to locomote on inclined terrain. Inputs to such a ground plane estimation system may include a robot pose and the location of contact points between the robotic device and the ground plane. The robot pose may include a position and orientation of the robotic device. The position of the robot may be relative to points of the robot in contact with the ground or to some other reference. The orientation of the robot is normally estimated using information from an inertial measurement unit (IMU), including accelerators and/or gyroscopes.
Contact points are discrete points in three-dimensional (3D) space that the robotic device, or control system of the robotic device, has computed and determined are likely on the ground. A determination of whether a point is on the ground can be based on sensor information and/or the context of the state of the robot controller. Contact points may be current (a latest value computed) or historical (computed based on a past measurements). In order to use historical points, the robotic device may keep track of how much the robotic device has moved since the historic point location was last contacted. In an example case, point locations are computed using joint positions and a pose of the robotic device. For example, the robotic device may use points on its hands, feet, or knees that are estimated or believed to be on the ground. Contact points also may be virtual points, or generated based on non-contact sensors systems, such as stereo vision or laser range finders looking ahead of the robotic device. Virtual contact points often provide advanced notice about terrain the robotic device has not physically contacted yet. Contact points may also be created based on suggestions by a robotic device operator.
The robotic device may be configured to combine the measurements from the IMU with the discrete contact points to estimate the slope of the ground plane on which the robotic device is operating. The robotic device may be further configured to adjust its position and/or orientation based on the determined ground plane, so as to better position itself for further movement.
It should be understood that the above examples are provided for illustrative purposes, and should not be construed as limiting. As such, the method may additionally or alternatively include other features or include fewer features, without departing from the scope of the disclosure.
Referring now to the figures,
The mechanical system 120 may include several components, including a body 102, one or more robotic legs 104, and one or more robotic feet 106 coupled to the one or more robotic legs 104. The mechanical system 120 may additionally include a motor 108, which may be an electric motor powered by electrical power, or may be powered by a number of different energy sources, such as a gas-based fuel or solar power. Additionally, motor 108 may be configured to receive power from power supply 150. The power supply 150 may provide power to various components of robotic device 100 and could represent, for example, a rechargeable lithium-ion or lead-acid battery. In an example embodiment, one or more banks of such batteries could be configured to provide electrical power. Other power supply materials and types are also possible.
The sensing system 130 may determine information about the environment that can be used by control system 140 (e.g., a computing device running motion planning software) to determine a ground plane estimation of the ground surface on which the robotic device 100 operates. The control system 140 could be located on the robotic device 100 or could be in remote communication with the robotic device 100. In one particular example, the sensing system 130 may use one or more body-mounted sensors 110 attached to the body 102 of the robotic device 100, which may be 2D sensors and/or 3D depth sensors that sense information about the environment as the robotic device 100 moves. For example, the body-mounted sensors 110 may determine a distance between the body 102 of the robotic device 100 and the ground surface on which the robotic device 100 operates. In further examples, one or more robotic leg sensors 112 may be located on the robotic legs 104 of the robotic device 100. The robotic leg sensors 112 may be contact sensors configured to alert the robotic device when the robotic legs 104 are in contact with the ground surface. In another example, the robotic legs 104 may be coupled to robotic feet 106 that contact the ground surface. In such a case, the robotic device 100 may include one or more robotic feet sensors 114 positioned on the robotic feet 106 of the robotic device 100. The robotic feet sensors 114 may be contact sensors configured to alert the robotic device 100 when the robotic feet 106 are in contact with the ground surface. The information from the robotic legs sensors 112 and/or the robotic feet sensors 114 may be used to estimate a ground plane of the ground surface on which the robotic device 100 operates, as discussed in more detail below.
The sensing system 130 may further include an IMU 116. In an illustrative embodiment, IMU 116 may include both a set of accelerometers and a gyroscope, which may be used together to determine the orientation, position, and/or velocity of the robotic device 100. In particular, the accelerometer can measure the orientation of the robotic device 100 with respect to gravity, while the gyroscope measures the rate of rotation around an axis. IMUs are commercially available in low-cost, low-power packages. For instance, an IMU 116 may take the form of or include a miniaturized MicroElectroMechanical System (MEMS) or a NanoElectroMechanical System (NEMS). Other types of IMUs may also be utilized.
An IMU 116 may include other sensors, in addition to accelerometers and gyroscopes, which may help to better determine position and/or help to increase autonomy of the robotic device 100. Two examples of such sensors are magnetometers and pressure sensors. Other examples are also possible.
The sensing system 130 may also include a non-contact sensor system 118 configured to determine virtual contact points in front of the robotic device 100. The virtual contact points may represent an estimation of a future contact point based on a current position and current velocity of the robotic device 100. In one example, the non-contact sensor system 118 may include a RADAR unit that utilizes radio signals to determine the virtual contact points.
In another example, the non-contact sensor system 118 may include a laser rangefinder/LIDAR unit configure to determine virtual contact points using lasers. The laser rangefinder/LIDAR unit may include one or more laser sources, a laser scanner, and one or more detectors, among other system components. The laser rangefinder/LIDAR unit can be configured to operate in a coherent (e.g., using heterodyne detection) or an incoherent detection mode.
In yet another example, the non-contact sensor system 118 may include a vision system including one or more cameras mounted on the robotic device 100. An example camera can be a photo-sensitive instrument, such as a still camera, a video camera, etc., that is configured to capture a plurality of images of the environment of the robotic device 100. To this end, the camera can be configured to detect visible light, and can additionally or alternatively be configured to detect light from other portions of the spectrum, such as infrared or ultraviolet light. The camera can be a two-dimensional detector, and can optionally have a three-dimensional spatial range of sensitivity. In some embodiments, the camera can include, for example, a range detector configured to generate a two-dimensional image indicating distance from the camera to a number of points in the environment. To this end, the camera may use one or more range detecting techniques.
For example, the camera can provide range information by using a structured light technique in which the robotic device 100 illuminates an object in the environment with a predetermined light pattern, such as a grid or checkerboard pattern and uses the camera to detect a reflection of the predetermined light pattern from environmental surroundings. Based on distortions in the reflected light pattern, the robotic device can determine the distance to the points on the object. The predetermined light pattern may comprise infrared light, or radiation at other suitable wavelengths for such measurements.
Many or all of the functions of the robotic device 100 could be controlled by control system 140. Control system 140 may include at least one processor 120 (which could include at least one microprocessor) that executes instructions 122 stored in a non-transitory computer readable medium, such as the memory 124. The control system 140 may also represent a plurality of computing devices that may serve to control individual components or subsystems of the robotic device 100 in a distributed fashion.
In some embodiments, memory 124 may contain instructions 122 (e.g., program logic) executable by the processor 120 to execute various functions of robotic device 100, including those described below in relation to
In addition, for the method 200 and other processes and methods disclosed herein, the flowchart shows functionality and operation of one possible implementation of present embodiments. In this regard, each block may represent a module, a segment, or a portion of program code, which includes one or more instructions executable by a processor for implementing specific logical functions or steps in the process. The program code may be stored on any type of computer readable medium, for example, such as a storage device including a disk or hard drive. The computer readable medium may include a non-transitory computer readable medium, for example, such as computer-readable media that stores data for short periods of time like register memory, processor cache and Random Access Memory (RAM). The computer readable medium may also include non-transitory media, such as secondary or persistent long term storage, like read only memory (ROM), optical or magnetic disks, compact-disc read only memory (CD-ROM), for example. The computer readable media may also be any other volatile or non-volatile storage systems. The computer readable medium may be considered a computer readable storage medium, a tangible storage device, or other article of manufacture, for example.
In addition, for the method 200 and other processes and methods disclosed herein, each block in
Functions of the method 200 may be fully performed by a computing device, or may be distributed across multiple computing devices and/or a server. The computing device may be incorporated into a robotic device, or the computing device may be an independent component in wireless communication with the robotic device. In some examples, the computing device may receive information from sensors or other components coupled to the computing device, or where the computing device is a server the information can be received from another device that collects the information. The computing device could further communicate with a server to determine information that may facilitate the performance of the method 200.
Referring again to
At block 204, the method 200 includes determining the location of one or more contact points between the robotic device and the ground surface. In one example, contact points are discrete points in three-dimensional space that the robotic device, or control system of the robotic device, has computed and determined are likely on the ground. A determination of whether a point is on the ground can be based on sensor information and/or the context of the state of the robot controller. As discussed above in relation to
Further, contact points may be current (a latest value computed) or historical (computed based on a past measurements). Current contact points include information from one or more sensors located on the one or more feet and/or legs of the robotic device, as discussed above. Historical contact points include contact points stored in the memory or data storage of the robotic device, that may be used when the robotic device cannot compute current contact points, or an insufficient number of current contact points are available to calculate a ground plane estimation. In order to use historical points, the robotic device may keep track of a distance the robotic device has moved since the contact point was previously determined. The robotic device may then use the distance traveled to determine whether the previously determined contact point may be used for a current ground plane estimation. For example, if the distance traveled since the contact point was determined exceeds a threshold distance, the robotic device may discard the contact point as irrelevant. However, if the distance traveled since the contact point was determined does not exceed the threshold distance, the contact point may still be relevant to estimate the ground plane of the ground surface on which the robotic device operates.
In another example, contact points may be computed using joint positions and the determined orientation of the robotic device. For example, the robotic device may be geometrically calibrated. For example, the robotic device may have one or more legs, including one or more knee joints and one or more feet. Each of the components may have known geometric features, such as length, width and height, that are stored in the memory or data storage of the robotic device. Thus, the robotic device may determine contact points based on the determined orientation of the robotic device and the known position of the components of the robotic device.
In another example, contact points may be virtual points, generated based on a non-contact sensor system, such as a stereo vision system and/or laser rangefinder/LIDAR, as discussed above in relation to
Further, the contact points may include a combination of contact points from the one or more sensors and virtual contact points from the non-contact sensor system. For example, the robotic device may solely use contact points from the one or more sensors if there are three or more contact points. However, if there are less than three contact points from the one or more sensors, the robotic device may use virtual contact points from the non-contact sensor system. As another example, the robotic device may use virtual contact points if the robotic device is traveling at a velocity that exceeds a threshold velocity. In such a case, it may be particularly advantageous to provide advanced notice about terrain the robotic device has not physically contacted yet. Other examples are possible as well.
In yet another example, the contact points may be weighted to represent the relative confidence of each of the determined contact points. The processor of the computing device may determine a weight coefficient for a given contact point based on a number of factors. For example, current contact points from the one or more sensors of the robotic device may be weighted more heavily than historical contact points or virtual contact points. As another example, historical contact points may be weighted based on the amount of time that has elapsed since the contact point was originally determined. In such an example, the longer the amount of time, the lower the weight coefficient. In a case where four or more contact points are detected, the robotic device may use the contact point weights in an optimization when estimating the ground plane of the ground surface. Other examples are possible as well.
Given a set of contact points, a subset of those contact points may be filtered out of the ground plane estimation calculation. For example, a spatial filter may remove contact points that are outside of a target region surround the robotic device's current position. As another example, historical contact points may be removed after a given time period to reduce error resulting from odometry drift.
In certain configurations, the robotic device control software may provide suggestions to condition the ground plane estimation. Some examples include contact point grouping, and reduced order output. Contact point grouping enables a collection of points to be averaged and treated as a single point. In certain cases, two or more contact points that are too close together will likely provide excessively noisy additional information for certain dimensions of a ground plane fit. One method to suppress this noise is to group these too-close contact points into a single, representative contact point, which itself provides all the salient (i.e. useable) geometric information, in a predictable way, for any subsequent ground plane estimation. As a particular example, the robotic device may group contact points to reduce the total number of contact points from four to three, in the event that two of the points are sufficiently close together. Other examples are possible as well.
At block 206, the method 200 includes determining a ground plane estimation of the ground surface based on the determined orientation of the robotic device with respect to gravity aligned reference frame and the determined location of the one or more contact points between the robotic device and the ground surface. The ground plane estimation is a flat-plane approximation of a shape of the ground surface. In particular, one or more processors of the computing device may receive information indicating the orientation of the body of the robotic device, as well as the information indicating the one or more contact points. The one or more processors of the robotic device may subsequently use the received information to estimate a ground plane on which the robotic device operates.
The ground plane calculation may use any number of discrete contact points. When less than three contact points are available, the ground plane may be considered under-constrained. When there are exactly three non-collinear points the ground plane may be fully constrained. Further, when more than three non-collinear points are available, the ground plane may be considered over-constrained and optimization is used. Each of these cases is discussed in more detail below.
In one example, the robotic device may detect zero contact points between the robotic device and the ground surface. In such an example, the ground plane estimation may simply be the last ground plane determined by the robotic device. The robotic device may store previously determined ground plane estimations in its memory, for example. In one example, the robotic device may only store the previous ten ground plane estimations. When no contact points are available in a current position, the robotic device may make an assumption that the ground plane has not changed drastically since the last estimation, and may use the previous ground plane as an estimate for a current situation.
In another example, the robotic device may detect one contact point between the robotic device and the ground surface. In such an example, the robotic device may determine the ground plane estimation of the ground surface by determining a plane including the one contact point that is parallel to the previously determined ground plane. Further, the position and orientation of the robotic device are used to compute the position and orientation of the ground plane relative to the robotic device.
In another example, the robotic device may detect two contact points between the robotic device and the ground surface. In such an example, the robotic device may determine a normal vector of a previously determined ground plane estimation. The normal vector is defined as the vector perpendicular to the previously determined ground plane estimation. The robotic device may subsequently project the normal vector of the previously determined ground plane estimation to be perpendicular to a line connecting the two contact points, such that the projected normal vector is perpendicular to the new ground plane estimation.
In another example, the robotic device may detect three contact points between the robotic device and the ground surface. In such an example, the robotic device may determine the ground plane estimation by determining a plane including each of the three contact points.
In yet another example, the robotic device may detect four or more contact points between the robotic device and the ground surface. In such an example, the robotic device may determine a ground plane that minimizes the square distance between each of the four or more contact points and the ground plane. In another example, the square distance between each contact point and the desired ground plane may be weighted as discussed above. Other examples are possible as well.
Signal processing may be employed to condition the ground plane estimation. For example, a low pass filter may be used to remove high-frequency content from the ground plane estimate. Further, the robotic device may determine a confidence score based on how well contact points fit the ground plane estimate. For example, if the determined locations of the contact points are close to being in a line, the robotic device may determine that the resulting ground plane estimation has a low confidence score. In another example, if the determined locations of the contact points are spread out, the robotic device may determine that the resulting ground plane estimation has a high confidence score. In cases where the ground plane estimate is below a threshold confidence score, the robotic device may freeze the ground plane estimate at a past estimate with a higher confidence score.
At block 208, the method 200 includes determining a distance between the body of the robotic device and the determined ground plane estimation. In one example, the robotic device may determine the distance based on information from one or more sensors on the body of the robotic device. In another example, the robotic device may determine the distance based on the determined orientation of the body of the robotic device and a position of one or more legs of the robotic device. In such an example, the robotic device may include stored information including the geometric properties of the one or more legs of the robotic device. The robotic device may then determine the distance based on the determined orientation of the body of the robotic device and the known geometric properties of the one or more legs. In yet another example, the robotic device may further include current joint angle information for the one or more legs. In such an example, the robotic device may determine the distance based on the determined joint angle and the known geometric properties of the one or more legs. The distance between the body of the robotic device and the determined ground plane estimation may represent a height of the robotic device with respect to the ground plane.
In another example, determining the distance between the body of the robotic device and the determined ground plane estimation may include determining an average distance. For example, the robotic device may determine a first distance between the body of the robotic device and a first point on the determined ground plane estimation, and further determine a second distance between the body of the robotic device and a second point on the determined ground plane estimation. The robotic device may then average the first distance and the second distance to determine the distance between the body of the robotic device and the determined ground plane estimation. Other examples are possible as well.
At block 210, the method 200 includes providing instructions to adjust a position of the robotic device based on the determined distance and the determined ground plane estimation. In one example, one or more processors of the robotic device may provide instructions to position one or more legs of the robotic device such that a center of gravity projection of the robotic device is located within a polygon defined by the one or more legs of the robotic device. In another example, one or more processors of the robotic device may provide instructions to swing one or more feet of the robotic device parallel to the determined ground plane estimation to provide consistent ground clearance. In yet another example, one or more processors of the robotic device may provide instructions to orient one or more features of the body of the robotic device substantially parallel to the determined ground plane estimation, or at some other orientation relative to the ground plane estimation.
In another example, the robotic device may further determine an orientation difference between the body of the robotic device and the determined ground plane estimation. The orientation difference may compare a current orientation of the body of the robotic device with respect to the gravity aligned reference frame, and the determined ground plane estimation. In such a case, the robotic device may provide instructions to adjust the position of the robotic device based on the determined distance, the determined orientation difference, and the determined ground plane estimation. Other examples are possible as well.
According to various embodiments, a ground plane estimation system is described. For instance, a robotic device may utilize a combination of a determined orientation of the robotic device and one or more contact points between the robotic device and a ground surface to determine a flat-plane approximation of the ground surface on which the robotic device operates.
As noted above, in some embodiments, the disclosed methods can be implemented by computer program instructions encoded on a non-transitory computer-readable storage media in a machine-readable format, or on other non-transitory media or articles of manufacture.
In one embodiment, the example computer program product 500 is provided using a signal bearing medium 502. The signal bearing medium 502 may include one or more programming instructions 504 that, when executed by one or more processors may provide functionality or portions of the functionality described above with respect to
The one or more programming instructions 504 can be, for example, computer executable and/or logic implemented instructions. In some examples, a computing device such as the processor 120 of
The non-transitory computer-readable medium could also be distributed among multiple data storage elements, which could be remotely located from each other. The device that executes some or all of the stored instructions could be a client-side computing device. Alternatively, the device that executes some or all of the stored instructions could be a server-side computing device.
It should be understood that arrangements described herein are for purposes of example only. As such, those skilled in the art will appreciate that other arrangements and other elements (e.g. machines, interfaces, functions, orders, and groupings of functions, etc.) can be used instead, and some elements may be omitted altogether according to the desired results. Further, many of the elements that are described are functional entities that may be implemented as discrete or distributed components or in conjunction with other components, in any suitable combination and location, or other structural elements described as independent structures may be combined.
While various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for purposes of illustration and are not intended to be limiting, with the true scope being indicated by the following claims, along with the full scope of equivalents to which such claims are entitled. It is also to be understood that the terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting.
This U.S. patent application is a continuation of, and claims priority under 35 U.S.C. § 120 from, U.S. patent application Ser. No. 17/652,103, filed on Feb. 23, 2022, U.S. patent application Ser. No. 16/596,006, filed on Oct. 8, 2019, which is a continuation of U.S. patent application Ser. No. 15/723,881, filed on Oct. 3, 2017, which is a continuation of U.S. patent application Ser. No. 14/988,913, filed on Jan. 6, 2016, which is now U.S. Pat. No. 9,804,600, which is a continuation of U.S. patent application Ser. No. 14/339,860, filed Jul. 24, 2014, which is now U.S. Pat. No. 9,259,838. The disclosures of these prior applications are considered part of the disclosure of this application and are hereby incorporated by reference in their entireties.
This invention was made with U.S. Government support under Contract No. HR00011-10-C-0025. The Government may have certain rights with regard to the invention.
Number | Date | Country | |
---|---|---|---|
Parent | 17652103 | Feb 2022 | US |
Child | 18414181 | US | |
Parent | 16596006 | Oct 2019 | US |
Child | 17652103 | US | |
Parent | 15723881 | Oct 2017 | US |
Child | 16596006 | US | |
Parent | 14988913 | Jan 2016 | US |
Child | 15723881 | US | |
Parent | 14339860 | Jul 2014 | US |
Child | 14988913 | US |