A method for carrying out automatic surface finishing work while compensating for a deviation of a bucket end point L automatically when the bucket end point L departs from a work plane during revolution of an upper rotary portion of an electronically controlled hydraulic excavator comprising the steps:
- selecting an automatic surface finishing work and inputting a desired work angle .theta.W into a processor on a keypad by a driver of the electronically controlled excavator;
- detecting and reading a current rotational angle of a boom .theta.bm with respect to a pivot point A, a rotational angle of a dipper stick .theta.ds with respect to a pivot point E and a rotational angle of bucket .theta.bk with respect to a pivot point H, a revolution angle of an upper rotary portion of the electronically controlled excavator with respect to an axis Y and a slope angle .theta.p, .theta.r of the upper rotary portion with respect to axes Z and X with a plurality of position sensors with the axes X, Y and Z being in a rectangular coordinate system;
- determining a bucket maintaining angle .theta. which is summation of the boom angle .theta.bm, dipper stick angle .theta.ds and bucket angle .theta.bk;
- correcting a work angle .tau. to make the desired work angle .theta.W fit to an absolute horizontal plane which is a surface of the earth;
- deciding initial positions of a bucket end L and a pivot point of a bucket joint J in a rectangular coordinate system with an origin of the rectangular coordinate system being a connection point A between the boom and the upper rotary portion;
- determining the initial position of the bucket end L in a rectangular coordinate system with an origin of the rectangular coordinate system being a central point O touching on the work plane;
- judging if a control lever for the dipper stick is manipulated when carrying out the automatic surface finishing work by driving one of an attachment, the bucket, the dipper stick and the boom and outputting voltages to an amplifier of a main control valve and pump if the control lever has not been manipulated;
- determining a current position of the bucket joint J in a rectangular coordinate system having an origin at point A after manipulation of the control lever for the dipper stick;
- determining if there is a revolving of the upper rotary portion by a driver of the electronically controlled excavator vehicle, and calculating a linear velocity of the bucket end L which is proportionate to actuation of the control lever of the dipper stick if there is no operation;
- reading a revolution angle .theta.SW of the upper rotary portion with respect to a Y axis in a coordinate system having X, Y and Z axes and a slope angle, .theta.p or .theta.r of the rotary upper portion with respect to the Z or X axes to correct the work angle T when carrying out revolution of the upper rotary portion;
- calculating a deviation amount of the bucket end L from the desired work angle .theta.W to provide compensation for deviation from the desired work angle when the bucket end L departs from the work plane during revolution of the upper rotary portion;
- calculating a linear velocity of the bucket end L which is proportionate to actuation of the control lever of the dipper stick;
- determining values of a next position to which the pivot point of the bucket joint J is to be positioned in the rectangular coordinate system having the original of a central point O;
- determining a boom angle .theta.bm, a dipper stick angle .theta.ds for a position of bucket pivot point and a bucket angle .theta.bk for maintaining an initial bucket angle in the coordinate system having the origin at the point A;
- determining linear velocities of a plurality of hydraulic cylinders for satisfying next hydraulic cylinder position d.sub.1 which is the length between a pivot point B and a pivot point C, another hydraulic cylinder position d.sub.2 which is a length between a pivot point D and a pivot point F and another hydraulic cylinder position d.sub.3 which is the length between pivot point G and a pivot point I corresponding to the revolution angles .theta.bk, .theta.ds, .theta.bm of the bucket, the dipper stick and the boom;
- making corrections for possible velocities without varying a velocity ratio of the plurality of hydraulic cylinders within a range of the dischargeable fluid quantity from a plurality of hydraulic pumps which provide fluid to the plurality of hydraulic cylinders and resetting next target positions of the plurality of hydraulic cylinders which drive the boom, dipper and bucket;
- calculating target velocities of the plurality of hydraulic cylinders at target positions by utilizing the target positions of the plurality of hydraulic cylinders by a position control section;
- correcting target velocities of the plurality of hydraulic cylinders and a current amount of the fluid dischargeable from the plurality of hydraulic pumps, while maintaining the velocity ratio of the plurality of hydraulic cylinders;
- compensating target velocities of the plurality of hydraulic cylinders based on the position values obtained from a current work status which is measured by a position sensor and based on a discharged quantity of hydraulic fluid from the plurality of pumps;
- converting compensated velocity signals into analog signals by first and second digital to analog converters for outputting a voltage to a first amplifier and to a second amplifier for a main control valve so as to output currents through first and second electronic proportional valves and activating the hydraulic pumps with the output currents to drive the plurality of hydraulic cylinders within the main control valve;
- and
- terminating operation after an end of surface finishing work if the driver of the electronically controlled hydraulic excavator has inputted a release signal for the surface finishing work and returning to manipulating the control lever of the dipper stick if the release signal has not been inputted.