Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD FOR SELECTING AN ATTACK POSE FOR A WORKING MACHINE HAVING A BUCKET
Document Type and Number:
WIPO Patent Application WO/2013/043087
Kind Code:
A1
Abstract:
Method for selecting an attack pose, when loading piled materials, for a working machine having a bucket, said method including the steps of: - acquiring three dimensional pile data; - generating a set of attack poses; - generating a bucket trajectory through said pile for each attack pose; characterized by - for each attack pose in said set of attack poses, calculating a measure of a convexity of the pile surface for an area of the pile surface delimited by a bucket width and a vertical projection of the bucket trajectory; and - selecting an attack pose based on said measure of convexity.

Inventors:
MARTINSSON TORBJOERN (SE)
MAGNUSSON MARTIN (SE)
Application Number:
PCT/SE2011/000165
Publication Date:
March 28, 2013
Filing Date:
September 23, 2011
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
VOLVO CONSTR EQUIP AB (SE)
MARTINSSON TORBJOERN (SE)
MAGNUSSON MARTIN (SE)
International Classes:
B25J9/16; E02F3/43; E02F9/20
Domestic Patent References:
WO2006028938A12006-03-16
Foreign References:
US6167336A2000-12-26
US6247538B12001-06-19
US20060090378A12006-05-04
US6108949A2000-08-29
US5924493A1999-07-20
US20070299590A12007-12-27
Other References:
SINGH S. ET AL.: "Task Planning For Robotic Excavation", INTELLIGENT ROBOTS AND SYSTEMS, 1992. PROCEEDINGS OF THE IEEE/RSJ INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS, vol. 2, 7 July 1992 (1992-07-07) - 10 July 1992 (1992-07-10), RALEIGH, NC., pages 1284 - 1291, XP010223183
NORIHO KOYACHI ET AL.: "Unmanned loading operation by autonomous wheel loader", ICCAS-SICE, 2009, IEEE, 18 August 2009 (2009-08-18), PISCATAWAY, NJ, USA, pages 2221 - 2225, XP031567959
See also references of EP 2758605A4
Attorney, Agent or Firm:
ERIKSSON, Tommy (Göteborg, SE)
Download PDF:
Claims:
CLAIMS

1) Method for selecting an attack pose (9,a), when loading piled materials, for a working machine (31) having a bucket (33), said method including the steps of:

- acquiring three dimensional pile data (P) (S10);

- generating a set of attack poses (9,a) (S20);

- generating a bucket trajectory (13) through said pile (1) for each attack pose (9,a) (S30); characterized by

- for each attack pose (9, a) in said set of attack poses (9,a), calculating a measure of a convexity (Cc) of the pile surface for an area (15) of the pile surface (17) delimited by a bucket width (19) and a vertical projection (21) of the bucket trajectory (13) (S40); and

- selecting an attack pose (9,a) based on said measure of convexity (Cc).

2) Method according to claim 1 , characterized by:

- determining sweep volumes (VL, Vc, VR) of segments of said bucket (33), a sweep volume being a volume of the pile (1) within a sweep area defined by a width of a segment and length extension (21) of the trajectory (13); and

- calculating said measure of convexity (Cc) based on said sweep volumes (VL, Vc, VR) of segments of said bucket (33).

3) Method according to claims 1 or 2, characterized by additionally determining a side load measure (C for each attack pose (9,a), and selecting an attack pose (9,a) based on the side load measure (Cs) and the measure of convexity (Cc).

4) Method according to any of claims 1 - 3, wherein said segments including a central segment, a right wing segment and a left wing segment,

characterized by:

- calculating said measure of convexity (Cc) based on a comparison between the sweep volumes of the left wing segment (VL), the right wing segment (VR) and the central segment (Vc).

5) Method according to claims 3 and 4, characterized by said side load measure (Cs) is based on a comparison between the volumes of the left and right wing segments (VL,VR).

6) Method according to any of the preceding claims, wherein the width of the bucket (19) is separated into three segments of equal width and the measure of convexity (Cc) is calculated as Cc = (Vc/max(Vr, V|)) - 1 and the side load measure is calculated as Cs = (abs(Vr - V|))/ (Vr + V|).

7) Method according to any of the preceding claims, characterized by retrieving 3D point cloud from a sensor (43) and separating said 3D point cloud into ground data and said three dimensional pile data.

8) Method according to claim 7, characterized by:

- fitting a ground plane to said ground data.

9) Method according to any of the preceding claims, characterized by selecting potential attack poses (9, a) among scan points in the vicinity of and preferably at the border (5) of the pile (1), wherein orientations of the attack pose (9,a) is selected within a range of less than 20° deviation from a border normal.

10) Method according to any of the preceding claims, characterized by that said sweep volumes are calculated from a ground plane to a pile surface.

11) Method according to any of the preceding claims, characterized by that said sweep volumes are calculated from the bucket trajectory (13) to a pile surface.

12) Method according to any of claims 1 or 7 - 11 , characterized by:

- fitting a surface to three dimensional pile data within an area at the surface of the pile defined by a width of the bucket (19) and said bucket trajectory (13), and

- calculating said measure of a convexity (Cc) from said surface.

13) Method according to claim 12, wherein the method includes the following steps:

- fitting a quadratic polynomial:

zr = axr2 +bxryr+ cyr2 + dxr + eyr

to said three dimensional pile data within the area defined by a width of the bucket (19) and said bucket trajectory (13); and

- determining said measure of convexity (Cc) from the factor a in said quadratic polynomial.

14) Method according to claim 13, further including the following steps:

- fitting a plane to the three dimensional pile data within an area defined by a width of the bucket (19) and said bucket trajectory (13);

- constructing a rotated principal frame from a ground frame being rotated around the surface normal of said plane;

- mapping the three dimensional pile data into the rotated principal frame;

15) Method according to claim 13 or 14, characterized by:

- determining a measure of side load from said factor d.

16) Method for loading a bucket (33) by use of a working machine (31) having a bucket (33), a sensor system (43) for detecting three dimensional pile data, and an automated steering system (45) for enabling propagation of the bucket (33) along a bucket trajectory (13) in a pile, said method including selection of an attack pose (9,a) and a corresponding bucket trajectory (13) by use of a method according to any of claims 1 - 14, control of the working machine (31) to position the bucket (33) at said selected attack pose (9,a) and to run said bucket (33) along said selected bucket trajectory (13) in order to optimize the filling of the bucket (33).

Description:
TITLE

Method for selecting an attack pose for a working machine having a bucket. TECHNICAL AREA

The present invention relates to a method for selecting an attack pose for a working machine having a bucket, such as a wheel loader. In particular the present invention relates to a method which evaluates a set of possible attack poses for assessing a loading condition of relevance for the potential filling rate of the bucket. The invention also relates to a method of loading a bucket by use of said method for selecting an attack pose and a corresponding bucket trajectory.

BACKGROUND OF THE INVENTION

Automatic handling of heterogeneous piled materials is a core component in many construction and mining applications. A typical work cycle of an autonomous wheel loader working in these applications consists of three repeated tasks: loading, hauling, and dumping. Hauling between the load and dump points can be handled in a number of ways, whether by GPS-waypoint following, or some more flexible approach from the rich literature on mobile-robot navigation. Dumping is relatively straightforward and can, in principle, be performed with preprogrammed motions. Efficient loading is a harder problem than the dumping sequence, and no practical solution for fully autonomous vehicles exists today. For economical and environmental reasons, it is important that the bucket is filled maximally in each load cycle and that the mechanical stress on the machine is minimized. When an automated wheel loader approaches a gravel pile, then, it should evaluate potential attack poses; i.e., positions and orientations at which it is efficient to approach the pile. Also, when used as an operator support function, the same functionality is important to evaluate any potential attack pose and inform the user about the quality of choice. An example of a prior art method for determining an excavation strategy is presented in US6167336. According to the method a concavity measure is determined by assessing a quota of the volume inside a bucket divided by the total bucket volume. The measure is determined based on the volume in the bucket when the front corners of the bucket touches the pile. Hence a very limited information of the pile is considered for the determination of this concavity measure. Since filling of the bucket is determined by the shape of the pile along the whole trajectory of the bucket through the pile, it is apparent that the measure cannot be used to separate between poor and good trajectories in a real pile. This approach is further quite sensitive to the point sampling of the pile, especially at places that are only mildly convex. Because only a small part of the bucket model enters the pile when the front corners touch the edge, it can easily happen that a high value is obtained even when the bucket enters the pile perpendicularly.

Another example of a method for assessing the quality of an attack pose is provided in

"Planning of scooping position and approach path for loading operation by wheel loader",

Shigeru Sarata, et. al., 22nd International Symposium on Automation and Robotics in Construction ISARC 2005 - September 11-14, 2005, Ferrara (Italy).

In this paper the shape of the pile at a trajectory of the bucket through the pile is considered. The method uses an approach where a value related to the torque around the center of the bucket is calculated and used as a parameter for determining the quality of an attack pose. It is apparent that important information is lost by the proposed method, since the load distribution cannot be derived from the studied torque measure. An object of the invention is to provide an improved method for selecting an attack pose which enables provision of high fill rates of the bucket.

SUMMARY OF THE INVENTION

The object is achieved by the provision of a method as defined in claim 1. The method includes the steps of:

acquiring three dimensional pile data, generating a set of attack poses; and generating a bucket trajectory through the pile for each attack pose. The acquiring of the pile data can be performed by a use of a 3D range sensor.

The set of generated attack poses and corresponding bucket trajectories are possible attacks. Among the set of attack poses and bucket trajectories one will be selected at each loading operation. After a loading operation is performed, new pile data will be retrieved, a new set of attack poses and bucket trajectories will be determined for enabling selection of an actual bucket trajectory and a corresponding attack pose to be executed.

The method further includes the steps of for each attack pose in said set of attack poses, calculating a measure of a convexity of the pile surface for an area of the pile delimited by a bucked width and a vertical projection of the bucket trajectory, and selecting an attack pose based on said measure of convexity.

An attack pose consists of an angle of attack of the bucket and a position for the attack. The angle of attack is an angle of the bucket with reference to a negative surface normal, which is a normal pointing inwardly into the pile, hence in the same direction as the attack of the bucket into the pile at the position of attack. The position of the attack is considered to be the point of the pile at which the middle of the bucket in a lateral direction makes contact with the pile.

By considering the convexity of the area of the pile for an area at the surface of the pile delimited by the bucked width and vertical projection of the trajectory, a measure which has a substantial impact on the filling rate of the bucket is evaluated. It is apparent that cross-sections of the pile transverse to the bucket trajectory having a convex shape will assist in providing a bucket load having a convex shape. This is different from the known prior art which do not consider the shape of the pile along the bucket trajectory and therefore cannot be used to determine the convexity of the pile in the relevant area.

In an embodiment of the invention the convexity measure is determined by determining sweep volumes of segments of said bucket. A sweep volume is a volume of the pile within a sweep area at the surface of the pile defined by a width of a segment of the bucket and length extension of the bucket trajectory, that is the vertical projection of the bucket trajectory. The bucket trajectory is the trajectory which the bucket is intended to propagate through the pile in the event the bucket trajectory is selected for execution. The method further comprises the step of calculating said measure of convexity based on said sweep volumes of segments of said bucket.

Specifically the segments may include a central segment, a right wing segment and a left wing segment. The measure of convexity may be calculated based on a comparison between the sweep volumes of the left wing segment, the right wing segment and the central segment.

In an embodiment the width of the bucket is separated into three segments of equal width. Here the measure of convexity may be calculated as Cc = (Vc/max(V r , V|)) - 1.

Optionally, a side load measure may additionally be determined for each attack pose. The attack pose may be selected in dependence of the measure of convexity and the side load measure. The side load measure may be based on a comparison between the volumes of the left and right wing segments. The side load measure may be calculated as C s = (abs(V r - V,))/ (V r + V,).

The pile data may be retrieved by retrieving 3D point cloud from a sensor and separating said 3D point cloud into ground data and said three dimensional pile data.

Optionally a ground plane may be fitted to the ground data. Optionally potential attack poses may be selected among scan points in the vicinity of and preferably at the border of the pile, wherein orientations of the attack pose is selected within a range of less than 20° deviation from a border normal.

Optionally, the sweep volumes are calculated from the ground plane to a pile surface. Optionally, the sweep volumes are calculated from the trajectory to a pile surface. In an alternative embodiment, a surface may be fitted to three dimensional pile data within an area defined by a width of the bucket and said bucket trajectory, and the measure of a convexity may be calculated from said surface.

Such an alternative embodiment may include the process steps of:

- fitting a quadratic polynomial: z r = ax r 2 +bx r y r + cy r 2 + dx r + ey r

to said three dimensional pile data within the area defined by a width of the bucket and said bucket trajectory; and

- determining said measure of convexity from said factor a.

The method may optionally include the steps of:

- fitting a plane to the three dimensional pile data within an area defined by a width of the bucket and said bucket trajectory;

- constructing a rotated principal frame from a ground frame being rotated around the surface normal of said plane;

- mapping the three dimensional pile data into the rotated principal frame. Optionally, a measure of side load may be determined from said factor d.

The invention also relates to a method for loading a bucket by use of a construction machine having a bucket, a sensor system for detecting three dimensional pile data, and an automated steering system for enabling propagation of the bucket along a bucket trajectory in a pile, said method including selection of an attack pose and a corresponding bucket trajectory by use of a method for selecting an attack pose as described above and control of the construction machine to position the bucket at said selected attack pose and to run said bucket along said selected bucket trajectory in order to optimize the filling of the bucket. This method is suitable for automatic handling of heterogeneous piled materials by an autonomous wheel loader

BRIEF DESCRIPTION OF DRAWINGS The invention will be described in further detail below, with reference to appended drawings where: Figure 1 Shows a wheel loader at which the invention may be used.

Figure 2 Shows a system for automatic control of the movement of the working machine.

Figure 3 Shows a flow chart for a method according to the invention

Figure 4 Shows an example point cloud, generated by an actuated laser range finder, showing a gravel pile.

Figure 5 Shows the same point cloud as in Figure 1 , classified according to local surface shape.

Figure 6 Shows the same point cloud as in Figures 1 and 2, where the nearest pile surface cluster has been triangulated (notice the edges of the triangle faces connecting the pile points).

Figure 7 Is an example of convexity estimation using quadric fitting. The surface points are marked with cross marks. In this case, a = 1.0, which means that this is a highly concave surface.

Figure 8a Shows a bucket trajectory through a pile and indicates an area of the pile surface delimited by a bucket width and a vertical projection of the bucket trajectory.

Figure 8b Shows sweep volumes of segments of said bucket for a first embodiment.

Figure 8c Shows sweep volumes of segments of said bucket for a second embodiment.

Figure 9 Shows a two dimensional diagram having a measure of the side load Cs on the horizontal axle and the measure of concavity Cc on the vertical axle.

DETAILED DESCRIPTION Figure 1 shows a working machine 1 in the form of a wheel loader. The wheel loader 1 is to be considered as an example of a working machine having a hydraulic system to control the steering of the machine as well as the position of the bucket. The wheel loader has a forward machine part 38 and a rear machine part 39. Each of these machine parts comprises a frame and wheels 42 arranged on an axle. The rear machine part 39 comprises a cab 40 for an operator of the wheel loader 31. The machine parts 38, 39 are connected to each other in such a way that they can pivot relative to each other about a vertical axis by means of two hydraulic cylinders (steering cylinders) 37a, 37b which are arranged between the machine parts 38, 39 and attached thereto. The hydraulic cylinders 37a, 37b are thus arranged one on each side of a centre line extending in the longitudinal direction of the working machine 31 in order to turn or steer the wheel loader by means of the hydraulic cylinders. In other words, the wheel loader 13 is a so called frame-steered working machine.

The wheel loader comprises a load arm assembly 32 for handling different loads, such as objects or material. The load arm assembly 32 comprises a lift arm unit 34 and an implement 33 in the shape of a bucket which is mounted on the lift arm unit. In the illustrated example the bucket 33 is filled with material 41. A first end of the load arm unit 34 is pivotally connected to the forward machine part 38 in order to achieve a lift motion of the bucket 33. The bucket 33 is pivotally connected to a second end of the lift arm unit 34 in order to achieve a tilt motion of the bucket. The lift arm unit 34 can be raised and lowered relative to the forward machine part 38 of the vehicle by means of two hydraulic cylinders (lift cylinders) 35a, 35b. Each of the hydraulic cylinders is at a first end thereof coupled to the forward machine part 38 and at the second end thereof to the lift arm unit 34. The bucket 33 can be tilted relative to the lift arm unit 34 by means of a further hydraulic cylinder (tilt cylinder) 36, which at a first end thereof is coupled to the forward machine part 38 and at the second end thereof is coupled to the bucket 33 via a link arm system.

The wheel loader comprises also a drive line (not illustrated) which includes an engine, such as an internal combustion engine, torque converter, gear box etc. The engine can be arranged to supply power to the drive line for driving the wheels 42 and for driving hydraulic machines (pumps) in the hydraulic system by means of a power take off (PTO) which can be arranged at the drive line between the engine and the torque converter.

The wheel loader further comprises a sensor system for detecting three dimensional pile data, and an automated steering system for enabling propagation of the bucket along a bucket trajectory in a pile.

In figure 2 a system 45 for automatic control of the movement of the working machine is shown. The system includes the sensor system 43 which is connected to an electronic control unit 47. The electronic control unit contains a functional block 49 which acquires three dimensional pile data from the sensor 43. Further in a second control block 51 bucket trajectories and attack poses are generated. From the attack poses and trajectories as well as the three dimensional pile data a an actual attack pose and trajectory is selected in a third functional block 53. The third functional block 53 may be in communication with a machine coordinate system determinator 55, determining the position of the working machine, in particular the position of the bucket relatively to the pile. The machine coordinate system determinator 55 may include a gps unit 57. Further, the machine coordinate system determinator 57 may retrieve information from the sensor system 43 to determine the relative position of the working machine and the pile as well as information from the actuating cylinders 35a, 35b and 36 which determines the position of the bucket relative to the working machine. In a fourth functional block the movement of the bucket will be controlled to follow the selected bucket trajectory 59 by control of the wheels 42 of the wheel loader as well as the actuating cylinders 35a, 35b and 36 which determines the position of the bucket relative to the working machine.

In figure 3 a flow chart for a method according to the invention is shown. In a method for selecting an attack pose according to the invention the following steps are included.

In a first method step S10 three dimensional pile data is acquired by a three dimensional scanner.

In a second method step S20 a set of attack poses is generated. In a third method step S30 a bucket trajectory through said pile for each attack pose is generated.

In a fourth method step S40 a measure of a convexity of the pile surface for an area of the pile surface delimited by a bucket width and a vertical projection of the bucket trajectory is calculated for each attack pose in said set of attack poses. An in a fifth method step S50 an attack pose based on said measure of convexity is selected. In one embodiment the fourth method step S40 includes the steps of determining sweep volumes of segments of said bucket, a sweep volume being a volume of the pile within a sweep area defined by a width of a segment and length extension of the trajectory; and

calculating said measure of convexity based on said sweep volumes of segments of said bucket.

In another embodiment the fourth method step S40 includes the steps of fitting a plane to the three dimensional pile data within an area defined by a width of the bucket and said bucket trajectory; constructing a rotated principal frame from a ground frame being rotated around the surface normal of said plane; mapping the three dimensional pile data into the rotated principal frame; fitting a rotated principle quadratic polynomial:

z r = axr 2 +bx r y r + cy r 2 + dx r + ey r

to said three dimensional pile data within the area defined by a width of the bucket and said bucket trajectory; and

determining said measure of convexity from said factor a.

Optionally the method may include the step of separating point cloud data from the scanner 43 into pile data and ground data.

Further optional method steps include clustering and triangulating of pile points. Below as exemplifying detailed method is described: We here describe a flowchart for the operations that may be done when executing presented method. The process consists of:

• Acquiring 3 D data

· Classify 3D data into ground and pile points

• Clustering pile points

• Triangulate pile points

• Chose attack point for digging

• Calculate reference plane, ground plane or trajectory plane, for attack point · Calculate volumes

• Evaluate attack point according to convexity and side load

Method step S10 Acquiring 3D data

Initially, the system acquires 3D data of the shape of its surroundings using a 3D range sensor. Example sensor modalities are laser range finders (for example, Velodyne HDL-64E or a SICK LMS291 mounted on an actuator to get 3D coverage), stereo vision (for example, Point Grey Bumblebee XB3), and structured-light sensors (for example, Microsoft Kinect). The output of the 3D range sensor is a cloud point, that is, a set of measured points from the surrounding surfaces, each with a 3D (x, y, z) position. See an example point cloud in Figure 4.

Optional method step

Classifying pile points vs. ground and clutter

Given a 3D point cloud, the system needs a method to reliably detect which parts of the current view that belong to a pile. One strategy for segmenting out the part of the point-cloud data that correspond to piles is outlined below.

1. For each point p, find all surrounding points q, within a local neighbourhood radius r. Here r may be suitably selected to 0,5m. In order to enable fast nearest-neighbour search, the points should be stored in an efficient data structure, such as a / d-tree. 2. Compute the mean vector m and covariance matrix C of the position of the n points within r.

3. Compute the eigenvalues (λι, λ 2 , λ3) and the corresponding eigenvectors (ei, e 2 , e 3 ) of C (for example, using Jacobi's method), asserting that the

eigenvalues and eigenvectors are sorted so that λι≤ λ 2 ≤ λ 3 .

4. The sorted eigenvalues λι≤ λ 2 < λ 3 describe the shape of the local surface

shape around point p. Points that are planar enough (with λι« λ 2 ≤ λ 3 ; i.e., with a distribution that is not linear or spherical) and have the right inclination (such that the angle between the corresponding eigenvector e and the horizontal plane is within two angle thresholds ai and a 2 ) are classified as "pile". Planar points with an angle below CH are classified as "ground".

5. Nearby points with the same class are then clustered and segmented (using radially-bounded nearest-neighbour clustering [1]).

6. Pile clusters whose bounding boxes are above a certain threshold size are used for the succeeding pile analysis.

An example point cloud after classification is shown in Figure 5.

Optional method step

Triangulation

In order to estimate the volume of the pile, or segments of the pile, the points within a cluster that has been classified as "pile" are triangulated, forming a 2D manifold surface. A triangulated surface, corresponding to a pile, is shown in Figure 6.

In the case of 3D data from a laser range finder, the 3D points are ordered in a grid pattern, which makes triangulation easier. In ideal conditions (when there is no missing data), it is as simple as connecting adjacent points.

In the case of sparser, unstructured, 3D data (such as what is produced by stereo- vision systems, or when multiple 3D scans from different viewpoints have been registered to a common coordinate frame, or when there are missing points caused by poor reflectivity of the pile material), more elaborate triangulation algorithms need to be applied. For example, Delauney triangulation, marching cubes, or ball pivoting.

Method step S20 Attack-pose selection

Given a cluster of points, sampled from a pile surface, the next step is to select a pose (that is, a position and an orientation) at which to attack the pile.

Operators typically enter the pile with the bucket as low as possible, touching the ground. One way of selecting potential attack poses is to select the position of a scan point that is close to the ground plane, choosing an orientation along, or close to, the surface normal at that point. The surface normal can be calculated in a similar fashion as what is done in the pile classification step for all points (see items 1-4 in the numbered list above). The covariance of the positions of points within a local neighbourhood is computed, and the normal is given by the eigenvector of the covariance matrix that has the smallest eigenvalue.

Optional method step Ground-plane estimation

In order to compute the volume of the pile, the ground surface under the pile must be estimated. This can be done by fitting a plane to the points classified as "ground". In order to avoid that outlier points skew the plane estimation, the ground plane should be estimated using a robust fitting method, such as MLESAC [2].

A random subset of the "ground" points are selected as hypothetical inliers, and a plane model is fitted to only those points. All other points are then tested against the fitted model, and points that agree with the model are included as hypothetical inliers. These two steps are iterated, and the result is a refined plane model without influence of potential outliers.

The scan is then rotated and translated so that the ground plane coincides with the plane z = 0 in the local coordinate frame. Method step S30 Trajectory generation

A trajectory for bucket fill is depending on a lot of prerequisites, and we discuss here some of the most important ones. We presume that the digging is to fill the bucket totally, that ending height of bucket is not required in a certain value, and we also assume that it's not important to translate through as much as possible of the pile surface - like when one wants to scrape of material. For this digging the trajectory is normally planned in four steps as below: 1. Run into pile with bucket flat on ground. Continue a typical distance, different for different machines, material in pile, and different shape and size of bucket. A typical length for a 20 ton wheel loader with a bucket of 3.2 m 2 is 0.5 m. This is to get the bucket well into the pile before starting to raise it. 2. Next step is to establish good pressure on front wheels. Therefore a typical next step in the trajectory is to raise the bucket still in horizontal position - that is, only use the lift actuator. The length of this part differs between different machines which have different linkage systems and hydraulic pressure. Stall torque is the upper limit of how much one can lift. A linkage system with high lift torque will continue longer than a system designed with less lift torque. The absolute trajectory of the bucket tip in correlation to the pile is also depending on the slope of the pile. A steep slope requires a steeper trajectory, and a more flat pile requires a more flat trajectory. Typically one uses a fixed slope of the trajectory for piles with mean value slopes higher than some 30 degrees, as is common when digging repeatedly from piles. In the same way as above, a usual length of this part of the trajectory is around 1 m into the pile and bucket tip at 0.5 m in height.

3. Thereafter the ordinary trajectory is to raise the bucket in parallel with the surface of the slope, which means that when digging into a steep pile the trajectory is equally steep. When digging into an uneven pile this is accomplished with a mean value trajectory. 4. The final step in the trajectory is when the bucket has translated a sufficient volume of the pile. Then operator tilts the bucket out of the pile and the digging is finished. The major translation of bucket is vertically, and horizontal movement depends on machine and material. Normally the vertical translation is much bigger than the horizontal.

The overall volume that bucket envelop should of course be greater than the bucket's volume with some excess, we here assume a trajectory that gives roughly the same volume as bucket volume.

One obvious way to estimate a trajectory is to assume the above mentioned default values, and based on an estimate of pile slope in chosen digging point, calculate a trajectory height in the pile with exit coordinates.

Then this trajectory will serve as the reference plane for volume estimations when doing the evaluation of a chosen digging point

Method step S40 Volume estimation

Given a ground plane, or a reference plane as for instance a trajectory for bucket translation in pile, the volume V f below a triangle face f with edge points i = [/Ί,/2, 3], j = [/1J2 3]. k = [ M, is given by

V f = (/ 3 +h + 3 )/3 * (/2-/ 2 ) +yi(/ 2 -/ 2 ) + k,(i 2 -j 2 ))/2\

assuming the scan is aligned so that the ground plane is at z = 0.

The total volume of the pile, where triangulated points exists, can be estimated by summing over all these triangle faces.

And, given an attack point, in the same way a volume of a segment of the pile above a reference plane and delimited by bucket width or parts of bucket width may also be calculated. Convexity and side load estimates

We describe two methods of estimating the local pile convexity and sideload, given an attack pose.

Method step S40 Three-part bucket

Given the triangulated pile surface and a generated trajectory starting at some attack pose, the convexity of the pile segment that is affected by a loading operation can be estimated by comparing the partial volumes traced by three segments of the bucket.

Let V c be the volume inside the centre third of the bucket and V t and V r the left and right thirds. The convexity can then be modelled as

Convex areas have Cc > 0 and concave areas have Cc < 0.

The side load is measured as

Cs = | V, - V r | /( V, + V r )

Trajectories resulting in a skewed load will have larger Cs values, and good trajectories will have Cs values close to zero.

Alternative method step S40 Quadric fitting

Instead of estimating convexity and side load from the volumes below a triangulated surface, these quantities can also be estimated by fitting a quadric surface to the points within the local neighbourhood of a potential attack pose. The local neighbourhood is taken to be all the points that fall into the surface of the volume traced by the bucket trajectory.

For a point p on a smooth surface, the principal directions are the directions in the tangent plane with minimum and maximum curvatures. The principal coordinate frame X p = [ x p y p z p ] T is an orthonormal frame that has x p and y p aligned with the principal directions, and z p aligned with the surface normal n. In the principal frame, the principal quadric is a second-order description of the surface.

Algorithm 1 Estimate local curvature at a surface point p.

• Let Ψ = be a set of points in the neighbourhood of p, expressed in the global coordinate frame.

1 ) Fit a plane to the points in X using total least

squares. Use the plane's normal as an estimate of

the surface normal n at p.

2) Construct a rotated principal frame X r (7).

3) Map the points of into X r (6):

p = [ = R r (p' - p). (10)

4) Fit the rotated principal quadric

Z r = tf->y + bx r y r + c 7 + dx r + ey r ( 1 1 )

to the mapped points.

• The horizontal curvature corresponds to a. The sideload can be estimated by the horizontal slope term d.

A common approach for quadric fitting (adapted from Mclvor and Valkenburg [3]) is listed in Algorithm 1. It makes use of a rotated principal frame X r . For pile convexity estimation, it is mostly the horizontal curvature that is interesting. The horizontal curvature may not correspond to the principal curvature. Therefore, a rotated principal frame, defined such that one axis is aligned with the surface normal and one is parallel to the ground, should be used instead.

Consider the "world" coordinate frame X w = [ x w y w z w ] T with x w and y w in the ground plane, and z w pointing to the sky. The transformation for a point p' w from the world coordinate

frame to the rotated principal frame for point p w is

The rotated principal frame can be defined using

R, = [r, r 2 r 3 ] , (7) with r 3 = n, r 2 = (z w n)/( z w n ), = Γ 3 * r 2 .

The rotated principal frame is related to the principal frame X p by a rotation around n. For fitting the parameters of the rotated principal quadric (step 4 of Algorithm 1), the BFGS quasi-Newton algorithm is used in our implementation.

The quantities used for evaluating attack poses are taken from (11), with convexity and sideload

D c = -a

D 5 = \d\

Convex areas have Dc > 0 and concave areas have Dc < 0.

See Figure 7 for an illustration of a fitted quadric surface to a set of points.

The fitting error (that is, the mean squared distance of all points to the fitted surface) can be used as a confidence estimate of Dc and Ds-

If the goal of surface fitting were to produce an accurate parameterized surface description, a higher-order surface could be fitted instead of a second-order surface. However, as our goal is to estimate the overall convexity of a surface patch, a second-order parameterization is sufficient. There are also numerical issues when fitting a high-order polynomial to a surface. A better approach to modelling the surface analytically would be, for example, a Gaussian process.

Method step S50

According to the method an attack pose with a corresponding bucket trajectory is selected in dependence of the calculated measure of convexity, alternatively a weighed quality value may be used. Given a measure of the estimated convexity and side load resulting from a loading operation at a given attack pose, the quality of that attack pose can be measured by a weighted combination of the convexity and sideload, where the weighing can be set and evaluated in real testing of digging against recorded data.

Figure 8a shows a pile 1 positioned on a ground plane 3. The pile is delimited by a pile border 5 which separates the pile 1 from the ground plane 3. An attack pose is indicated by the vector 7 having an attack position 9 and an angle of attack a. The angle of attack a may preferably be selected in a range having a deviation of less than 10° from the negative surface normal. The position of a bucket 11 is indicated. The attack position 9 is for practical reasons set to be in the middle of the bucket in a lateral direction. In the method a set of attack poses in generated. The set of attack poses may contain a range of possible attack positions and angles of attack. The attack position is selected along the pile border, or if desired at a height distance from the border. If the attack is selected at a certain height from the ground plane, the angle of attack is determined with respect to the surface normal of the pile for a plane at the selected height. A bucket trajectory 13 being the intended trajectory of the bucket through the pile in the event the attack pose is selected is indicated with a dashed line. The dashed lines 13i_ and 13R SIIOW the trajectories of the left and sight front corner of the bucket. A measure convexity of the pile surface is to be calculated for an area 15 of the pile surface 17 delimited by a bucket width 19 and a vertical projection 21 of the bucket trajectory 13. The area is on the surface of the pile is delimited by the front end 15a, the back end 5b, and the left and right sides 15c,15d respectively being the surface projection of an area constituted by the width of the bucket and the vertical projection of the bucket trajectory. With surface projection is here intended the projection of the area constituted by the width of the bucket and the vertical projection of the bucket trajectory on the surface area of the pile.

The convexity of the pile surface area 15 is determined in one embodiment by determining sweep volumes of segments of said bucket, a sweep volume being a volume of the pile within a sweep area defined by a width of a segment and length extension of the trajectory. In figure 8b the sweep volume of three segments, a left segment, a central segment and a right segment, 23, 25 and 27 are shown. In figure 7b the volumes V L , Vc and VR are the volumes between a surface 29 defined by the width of the bucket and the bucket trajectory and the area 15 of the pile surface. In an alternative embodiment as indicated in figure 8c the volumes V L , Vc and V R are the volumes between the ground plane and the area 15 of the pile surface. Figure 9 shows a two dimensional diagram having a measure of the side load Cs on the horizontal axle and the measure of concavity Cc on the vertical axle. An area of interest which is close to balanced load between the left and right side and which has a relatively high concavity is indicated. Attack poses with this area may be selected at attack poses which provides a good loading condition for the bucket.

References

[1] K. Klasing, D. Wollherr, and M. Buss. A clustering method for efficient segmentation of 3D laser data. In ICRA, pages 4043-4048, Pasadena, USA, May 2008.

[2] P. H. S. Torr and A. Zisserman. MLESAC: a new robust estimator with application to estimating image geometry. Computer Vision and Image Understanding, 78(1): 138-156, Apr. 2000.

[3] A. M. Mclvor and R. J. Valkenburg. A comparison of local surface geometry estimation methods. Machine Vision and Applications, 10:17-26, 1997.