Control method, device and equipment for hydraulic excavator

By using finite state machines or behavior trees to determine the operation stage in hydraulic excavators and combining multi-dimensional operation information to generate hydraulic execution control quantities, the control accuracy and efficiency problems of hydraulic excavators in non-fixed working areas are solved, achieving higher operational stability and work efficiency.

CN123153451APending Publication Date: 2026-11-24SANY HEAVY MACHINERY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611208556.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-10
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing hydraulic excavators suffer from reduced control accuracy, limited work efficiency and stability when operating in non-fixed working areas. In particular, when the hydraulic system experiences delays and nonlinear responses, planning errors and tracking errors overlap, making it difficult to take into account the actual loading conditions and load changes.

Method used

By acquiring the operating data of the hydraulic excavator, the operating stage is determined based on the finite state machine or behavior tree. Combined with the working surface environment, bucket full rate, excavator operating data and hydraulic load status, hydraulic execution control quantities are generated to directly control the movements of the swing, boom and bucket, reducing the impact of planning and tracking errors, and taking into account the loading status and load changes.

Benefits of technology

It improves control accuracy and work efficiency in non-fixed working areas, enhances operational stability, reduces control errors under hydraulic response lag conditions, and improves overall work performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123153451A_ABST
    Figure CN123153451A_ABST
Patent Text Reader

Abstract

This application provides a control method, apparatus, and equipment for a hydraulic excavator. This application relates to the field of automatic control of construction machinery. The method includes: acquiring the operating data of a target hydraulic excavator; determining the operating stages of the target hydraulic excavator based on a finite state machine or behavior tree; determining a target operating control model for the target hydraulic excavator based on the operating stages and mapping relationships; and inputting operating surface environment data, bucket full rate, excavator operating data, hydraulic load status, and historical control sequences of the operating stages into the target operating control model to generate hydraulic execution control quantities for the target hydraulic excavator. This method aims to reduce dependence on preset trajectories and improve control accuracy under non-fixed operating conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automatic control of construction machinery, and in particular to a control method, device and equipment for a hydraulic excavator. Background Technology

[0002] In non-fixed work areas such as mining, earthmoving, and demolition, existing automatic control systems for hydraulic excavators generally adopt trajectory planning and trajectory tracking control methods based on environmental perception.

[0003] However, this type of two-layer control method is prone to the superposition of planning and tracking errors when the working surface is constantly changing and the hydraulic system has delays and nonlinear responses, resulting in a decrease in control accuracy. Moreover, its feedback target focuses on trajectory consistency and is difficult to take into account the actual loading status and load changes, which limits the operation efficiency and control stability.

[0004] Therefore, how to improve excavation control accuracy, operating efficiency, and operational stability under conditions of non-fixed working surfaces and hydraulic response lag has become a technical problem that needs to be solved. Summary of the Invention

[0005] This application provides a control method, device, and equipment for a hydraulic excavator to solve the aforementioned technical problems. This solution addresses the automatic operation control scenario of hydraulic excavators operating on non-fixed working surfaces. It comprehensively considers multi-dimensional operation information such as the working environment, working area, loading status, equipment operating status, and hydraulic load to identify the current operation process of the excavator. Based on different operation processes, it matches corresponding control strategies and further combines historical control information to generate control outputs for the hydraulic actuators, thereby improving the hydraulic excavator's operation control capabilities under complex dynamic working conditions.

[0006] In a first aspect, embodiments of this application provide a control method for a hydraulic excavator, including:

[0007] The operation data of the target hydraulic excavator is acquired, and the operation stage of the target hydraulic excavator is determined based on the operation data using a finite state machine or behavior tree. The operation data includes at least the operation surface environment data, the coordinates of the target operation area, the bucket full rate, the excavator operation data, and the hydraulic load status.

[0008] Based on the operation stages and mapping relationships, the target operation control model of the target hydraulic excavator is determined; where the mapping relationship is the correspondence between the operation stages and the operation control model.

[0009] The target operation control model is input with the working face environment data, bucket full rate, excavator operation data, hydraulic load status and historical control sequence of the operation stage to generate the hydraulic execution control quantity of the target hydraulic excavator; among which, the hydraulic execution control quantity is used to directly control the movement of swing, boom, stick and bucket.

[0010] In one possible embodiment, the excavator operating data includes:

[0011] The angles and angular velocities of each joint of the target hydraulic excavator, with the joints including at least the boom, stick, and bucket;

[0012] Bucket end position pose data of the target hydraulic excavator;

[0013] And the hydraulic system pressure signal of the target hydraulic excavator, which includes at least the pressure of the large chamber of the stick hydraulic cylinder and the pressure of the large chamber of the boom hydraulic cylinder.

[0014] In one possible embodiment, the bucket fullness is obtained as follows:

[0015] The first full bucket rate is obtained based on the volume difference estimation of the working surface change;

[0016] The second bucket fullness ratio is obtained based on the geometric estimation of bucket geometry, penetration depth and cutting length;

[0017] The third bucket fullness rate is obtained based on load estimation of boom pressure, hydraulic load, or pump load;

[0018] The fourth fullness rate is obtained based on direct estimation from the weighing sensor;

[0019] The fifth full-bucket rate is obtained by estimating based on a learning model of vision, depth map, or point cloud.

[0020] The sixth fullness rate was obtained based on pressure sensor estimation.

[0021] The first, second, third, fourth, fifth, and sixth full bucket rates are weighted and fused to obtain the bucket full rate; the weights corresponding to different full bucket rates are dynamically adjusted based on the working environment data of the target hydraulic excavator.

[0022] In one possible embodiment, the sixth fullness rate is obtained based on pressure sensor estimation, including:

[0023] The pressure in the large chamber of the boom hydraulic cylinder of the hydraulic excavator, the rate of pressure change, and the coupling efficiency coefficient between the handle control command and the pressure increment are monitored at preset time intervals; the coupling efficiency coefficient is used to characterize the pressure increment generated by a unit handle control quantity.

[0024] When the pressure in the large chamber of the boom hydraulic cylinder exceeds the preset pressure threshold, and the pressure change rate approaches zero or the coupling efficiency coefficient is lower than the preset efficiency lower limit, it is determined that the bucket has reached the full load state and the corresponding full bucket rate is determined.

[0025] Alternatively, the bucket is considered fully loaded when the boom retraction stroke reaches the preset minimum digging stroke length.

[0026] In one possible embodiment, the operation phase of the target hydraulic excavator is determined based on the operation data, using a finite state machine or behavior tree, including:

[0027] Real-time monitoring of the risk value of hydraulic load status;

[0028] When the risk value of the hydraulic load condition exceeds the preset safety threshold during the excavation phase, a phase switching command is triggered to control the target hydraulic excavator to switch from the current excavation phase to the lifting phase in advance to avoid hydraulic system pressure buildup. The triggering priority of the phase switching command is higher than the regular switching logic triggered when the bucket full rate is met.

[0029] In one possible embodiment, the target operation control model includes a timing encoder; inputting work surface environment data, bucket full rate, excavator operation data, and historical control sequences of the operation phase into the target operation control model includes:

[0030] A time-series encoder is used to extract features from historical control sequences to obtain historical response features; these historical response features are used to characterize the hysteresis and delay characteristics of the hydraulic actuator.

[0031] By combining data on the working face environment, bucket full rate, and excavator operation data, hydraulic control quantities are generated based on historical response characteristics.

[0032] In one possible embodiment, after generating the hydraulic actuation control quantities of the target hydraulic excavator, the method further includes:

[0033] Obtain preset constraints; preset constraints include work boundary constraints, maximum digging depth constraints, joint speed constraints, and hydraulic actuator capacity constraints;

[0034] Based on preset constraints, the hydraulic actuator control quantity is modified to obtain the final hydraulic actuator control quantity; the modification process includes at least one of amplitude limiting processing, direction suppression processing, proportional scaling processing, or filtering and smoothing processing.

[0035] Secondly, embodiments of this application provide a control device for a hydraulic excavator, comprising:

[0036] The first processing module is used to acquire the operation data of the target hydraulic excavator and determine the operation stage of the target hydraulic excavator based on the operation data using a finite state machine or behavior tree. The operation data includes at least the operation surface environment data, the coordinates of the target operation area, the bucket full rate, the excavator operation data, and the hydraulic load status.

[0037] The second processing module is used to determine the target operation control model of the target hydraulic excavator based on the operation stage and the mapping relationship; wherein, the mapping relationship is the correspondence between the operation stage and the operation control model;

[0038] The third processing module is used to input the working face environment data, bucket full rate, excavator operation data, hydraulic load status and historical control sequence of the operation stage into the target operation control model to generate the hydraulic execution control quantity of the target hydraulic excavator; among which, the hydraulic execution control quantity is used to directly control the movement of the swing, boom, stick and bucket.

[0039] In one possible embodiment, the excavator operating data includes:

[0040] The angles and angular velocities of each joint of the target hydraulic excavator, with the joints including at least the boom, stick, and bucket;

[0041] Bucket end position pose data of the target hydraulic excavator;

[0042] And the hydraulic system pressure signal of the target hydraulic excavator, which includes at least the pressure of the large chamber of the stick hydraulic cylinder and the pressure of the large chamber of the boom hydraulic cylinder.

[0043] In one possible embodiment, the first processing module is further configured to:

[0044] The first full bucket rate is obtained based on the volume difference estimation of the working surface change;

[0045] The second bucket fullness ratio is obtained based on the geometric estimation of bucket geometry, penetration depth and cutting length;

[0046] The third bucket fullness rate is obtained based on load estimation of boom pressure, hydraulic load, or pump load;

[0047] The fourth fullness rate is obtained based on direct estimation from the weighing sensor;

[0048] The fifth full-bucket rate is obtained by estimating based on a learning model of vision, depth map, or point cloud.

[0049] The sixth fullness rate was obtained based on pressure sensor estimation.

[0050] The first, second, third, fourth, fifth, and sixth full bucket rates are weighted and fused to obtain the bucket full rate; the weights corresponding to different full bucket rates are dynamically adjusted based on the working environment data of the target hydraulic excavator.

[0051] In one possible embodiment, the first processing module is further configured to:

[0052] The pressure in the large chamber of the boom hydraulic cylinder of the hydraulic excavator, the rate of pressure change, and the coupling efficiency coefficient between the handle control command and the pressure increment are monitored at preset time intervals; the coupling efficiency coefficient is used to characterize the pressure increment generated by a unit handle control quantity.

[0053] When the pressure in the large chamber of the boom hydraulic cylinder exceeds the preset pressure threshold, and the pressure change rate approaches zero or the coupling efficiency coefficient is lower than the preset efficiency lower limit, it is determined that the bucket has reached the full load state and the corresponding full bucket rate is determined.

[0054] Alternatively, the bucket is considered fully loaded when the boom retraction stroke reaches the preset minimum digging stroke length.

[0055] In one possible embodiment, the first processing module is further configured to:

[0056] Real-time monitoring of the risk value of hydraulic load status;

[0057] When the risk value of the hydraulic load condition exceeds the preset safety threshold during the excavation phase, a phase switching command is triggered to control the target hydraulic excavator to switch from the current excavation phase to the lifting phase in advance to avoid hydraulic system pressure buildup. The triggering priority of the phase switching command is higher than the regular switching logic triggered when the bucket full rate is met.

[0058] In one possible embodiment, the target job control model includes a timing encoder; the third processing module is further configured to:

[0059] A time-series encoder is used to extract features from historical control sequences to obtain historical response features; these historical response features are used to characterize the hysteresis and delay characteristics of the hydraulic actuator.

[0060] By combining data on the working face environment, bucket full rate, and excavator operation data, hydraulic control quantities are generated based on historical response characteristics.

[0061] In one possible embodiment, the third processing module is further configured to:

[0062] Obtain preset constraints; preset constraints include work boundary constraints, maximum digging depth constraints, joint speed constraints, and hydraulic actuator capacity constraints;

[0063] Based on preset constraints, the hydraulic actuator control quantity is modified to obtain the final hydraulic actuator control quantity; the modification process includes at least one of amplitude limiting processing, direction suppression processing, proportional scaling processing, or filtering and smoothing processing.

[0064] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0065] The memory stores instructions that the computer executes;

[0066] The processor executes computer execution instructions stored in memory, causing the processor to perform the methods described above.

[0067] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods provided above.

[0068] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method described above.

[0069] This application provides a control method, device, and equipment for a hydraulic excavator. By acquiring the operating data of the target hydraulic excavator and determining the operating stage of the target hydraulic excavator based on a finite state machine or behavior tree, the control process can be matched with the current actual operating state. By determining the target operation control model based on the operation stage and mapping relationship, and inputting the working face environment data, bucket full rate, excavator operating data, hydraulic load status, and historical control sequences of the operation stage into the target operation control model, hydraulic execution control quantities for directly controlling the slewing, boom, stick, and bucket movements are generated. This can reduce the impact of the superposition of planning and tracking errors in the traditional two-layer control of trajectory planning and trajectory tracking, take into account the actual loading state and load changes, and thus improve the excavation control accuracy, operating efficiency, and operational stability under non-fixed working face and hydraulic response lag conditions. Attached Figure Description

[0070] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0071] Figure 1 Flowchart of the control method for the hydraulic excavator provided in this application Figure 1 ;

[0072] Figure 2 Flowchart of the control method for the hydraulic excavator provided in this application Figure 2 ;

[0073] Figure 3 A schematic diagram of the control device for the hydraulic excavator provided in this application;

[0074] Figure 4 This is a hardware schematic diagram of the control device for the hydraulic excavator provided in this application.

[0075] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0076] Hydraulic excavator control technology is widely used in non-fixed working face scenarios such as mining, earthmoving construction, and building demolition. In these scenarios, the working face outline, excavable area, and material distribution are constantly changing, and the excavator needs to combine environmental perception, overall machine operating status, and hydraulic execution status to complete the coordinated control of rotation, boom, stick, and bucket.

[0077] Current automatic control systems mostly employ trajectory planning and tracking architectures based on environmental perception. Typically, they first acquire information such as the terrain of the work surface and the target work area to generate the bucket's operating trajectory, and then output hydraulic control quantities based on the deviation between the actual action and the target trajectory. This approach focuses control on trajectory reproduction, relying on the accuracy of the planning results and the tracking capability of the hydraulic execution.

[0078] In non-fixed working areas, the height of the soil mound, slope, remaining excavable volume, and soil composition constantly change during the excavation process, making it easy for the trajectory obtained from the initial planning to quickly become mismatched. The hydraulic system itself has response delays and nonlinear coupling, making it difficult for the trajectory tracking link to promptly absorb disturbances caused by sudden load changes. When planning errors and tracking errors are superimposed, issues such as deviations in the soil entry position, unstable cutting depths, and delayed bucket retraction often occur.

[0079] Meanwhile, existing solutions do not fully utilize bucket fullness and hydraulic load status. Bucket fullness is mostly used as a pre-constraint or post-evaluation indicator, while hydraulic load is mostly limited to over-limit protection and not incorporated into continuous control closed loop. In actual operation, problems such as dry digging, pressure buildup, fluctuations in single bucket load, and untimely stage switching are prone to occur, affecting digging efficiency, operational stability, and component life.

[0080] Based on the above-mentioned technical problems, the hydraulic excavator control no longer uses the preset trajectory as an intermediate target, but directly generates the execution action around the working state. It incorporates the working surface environment information, bucket full rate, whole machine operation data and hydraulic load status into the control basis, and distinguishes different control targets in combination with the working stages such as reset, soil entry, excavation, lifting or unloading.

[0081] To address hydraulic response lag and multi-stage target differences, a finite state machine or behavior tree is used to determine the current operation stage. The target operation control model is selected according to the correspondence between the operation stage and the operation control model. Then, the operation face environment data, bucket full rate, excavator operation data, hydraulic load status, and historical control sequences of the operation stage are input into the model to directly generate hydraulic execution control quantities, which are used to control the slewing, boom, stick, and bucket movements, thereby improving the control accuracy, operation efficiency, and operational stability under non-fixed operation faces.

[0082] Figure 1 A flowchart illustrating a control method for a hydraulic excavator provided in this application. Figure 1 ,like Figure 1 As shown, the method includes:

[0083] S101. Obtain the operation data of the target hydraulic excavator, and determine the operation stage of the target hydraulic excavator based on the operation data using a finite state machine or behavior tree.

[0084] In this embodiment, the entity executing the method can be a control unit located in the onboard controller of the hydraulic excavator, or an edge computing unit communicatively connected to the overall machine controller. The operational data includes at least the working surface environment data, target working area coordinates, bucket fullness rate, excavator operating data, and hydraulic load status.

[0085] The operational data, serving as the foundational information set for stage identification, needs to be collected, time-aligned, and status-organized within the same control cycle before being input into the stage determination module. Operational surface environment data characterizes the environmental state of the operational area. Target operational area coordinates define the spatial location where soil entry, excavation, or unloading needs to be performed; these can be issued by the construction task system or automatically generated by the operation area planning module based on environmental perception results. Their format can be the coordinates of the target area's center point, a set of boundary polygon coordinates, or the coordinates of the target cutting start and end points. Bucket fullness reflects the current loading level of the bucket. Excavator operation data characterizes the current motion state of the machine body and working devices. Hydraulic load status reflects the current load condition of the hydraulic system and can be discrete states characterizing the load level or continuous load information.

[0086] In its implementation, the controller periodically receives data frames uploaded by various sensors with a control cycle of 50 to 100 milliseconds and performs resampling and alignment based on a unified timestamp. For environmental data of the work surface, environmental inputs related to the current task can be extracted by combining the coordinates of the target work area. For hydraulic load status, relevant features reflecting the current load condition can be extracted from continuous pressure signals to identify different working conditions.

[0087] Finite state machines are used to manage the switching between different stages such as reset, burial, excavation, hoisting, rotation, and unloading through state transition logic. The core of the machine is to output the next state based on the current state and the transition conditions. Behavior trees are used to organize stage selection and priority control in a tree-like decision structure. Their upper-level nodes can be set with safety detection, stage judgment, and action holding branches. When the safety conditions are not met, the protection or holding branch is entered first. When the safety conditions are met, the specific operation stage is selected based on the operation data.

[0088] In one possible embodiment, the finite state machine includes a reset state, a soil entry state, a digging state, a lifting state, an unloading state, and a return state, with transitions between states based on threshold conditions. In the reset state, the controller detects the relative position of the bucket end to the target working area coordinates. When a preset stage switching condition is met, it switches to the soil entry state. In the soil entry state, when the switching condition from the soil entry stage to the digging stage is met, it switches to the digging state. In the digging state, when the switching condition from the soil entry stage to the digging stage is met, it switches to the lifting state. In the lifting state, when the switching condition from the lifting stage to the unloading stage is met, it switches to the unloading state. In the unloading state, when the return condition is met, it switches to the return state, and then returns to the reset state. If a behavior tree is used, hydraulic load overload, abnormal posture, and area boundary crossing can be set as high-priority condition nodes, and reset, soil entry, digging, and unloading can be set as sequential execution nodes or selection nodes to achieve unified management of stage switching under complex working conditions.

[0089] Based on the above analysis, this step, by simultaneously incorporating environmental data of the work surface, coordinates of the target work area, bucket fullness, excavator operating data, and hydraulic load status into stage identification, ensures that the work stage no longer relies on a single location condition or a single pressure threshold, but rather matches the current actual work state. The resulting work stage directly reflects the spatial relationship between the bucket and the soil pile, the loading degree, and changes in hydraulic load, providing stable prerequisites for subsequent control model selection. It should be understood that the above example is merely illustrative and not limiting.

[0090] S102. Based on the operation stage and mapping relationship, determine the target operation control model of the target hydraulic excavator.

[0091] In this embodiment, after obtaining the current operation stage, the controller invokes a pre-established stage-model mapping relationship and selects a target operation control model consistent with the current stage from the model set. The mapping relationship establishes the correspondence rules between operation stages and operation control models. The target operation control model directly generates hydraulic execution control quantities based on the current input information; therefore, different operation stages require matching different control objectives and output rules. For example, the soil entry stage requires controlling the bucket teeth to enter the soil in a set posture and establish cutting resistance; the excavation stage requires coordinating the boom, stick, and bucket movements to maintain cutting depth and load growth; the lifting stage requires raising the working device and controlling the smooth transfer of load; and the unloading stage requires controlling the slewing positioning and bucket opening actions. Based on this, the mapping relationship includes at least a correspondence between the operation stage identifier and the control model identifier, and the controller determines the corresponding target operation control model based on the current stage identifier.

[0092] In one possible embodiment, the mapping relationship can be pre-established, and the corresponding control model can be invoked during the control process based on the current stage. The reset stage corresponds to a reset control model, the soil insertion stage to a soil insertion control model, the excavation stage to a digging control model, the lifting stage to a lifting control model, and the unloading stage to an unloading control model. After a stage switch, the controller can switch to the target operation control model corresponding to the current stage.

[0093] The target operation control model can be a control model capable of generating hydraulic control quantities based on input information. In practical implementation, the model inputs for each stage can remain consistent, receiving data on the working environment, bucket fullness, excavator operation data, hydraulic load status, and historical control sequences. However, the internal parameters and output distributions of the models differ across stages. For example, the models corresponding to the soil entry, excavation, lifting, and unloading stages can each focus on different control objectives. This setup allows for model switching between stages without altering the external data interface.

[0094] In another implementation, the mapping relationship can also be updated based on historical operation data. Specifically, the controller or the backend training platform statistically analyzes the execution performance of the model at each stage under specific working conditions and updates the model configuration in the mapping relationship. This update process can be performed by shift, by construction area, or by equipment number, and the updated mapping relationship is redistributed to the vehicle controller. To ensure continuous model switching, the controller releases the old model state before the end of the current control cycle, loads the new model at the beginning of the next control cycle, and retains the historical control sequences of the most recent cycles as shared input, thereby avoiding sudden control changes during stage switching.

[0095] Based on the above analysis, this step establishes a model invocation mechanism directly addressing different operational stages by establishing a correspondence between the operational stages and the operational control model. This allows the controller to employ consistent control logic for each stage, such as soil entry, excavation, lifting, and unloading. With this approach, the control objective is no longer uniformly constrained to following a pre-planned trajectory, but rather transformed into the generation of direct actions for the current stage's task. The model switches accordingly after each stage change, supporting rapidly changing control requirements under non-fixed operational surfaces. It should be understood that the above example is merely illustrative and not limiting.

[0096] S103. Input the working face environment data, bucket full rate, excavator operation data, hydraulic load status and historical control sequence of the working stage into the target operation control model to generate the hydraulic execution control quantity of the target hydraulic excavator.

[0097] In this embodiment, after selecting the target operation control model, the controller combines the environment, loading, operation, and load information within the current control cycle, along with the historical control sequence under the current operation stage, to form the model input vector. The historical control sequence provides the control context over a past period, reflecting hydraulic system hysteresis, response delays after valve opening changes, and the cumulative effect of load disturbances. In specific implementations, the historical control sequence can take the hydraulic actuator control output values ​​and corresponding timestamps from the most recent N control cycles, where N is 5 to 20, corresponding to a historical window of 0.25 seconds to 2 seconds. The sequence content may include slewing control commands, boom control commands, stick control commands, and bucket control commands, and may also include joint feedback quantities from the previous cycle. After receiving this input, the target operation control model outputs hydraulic actuator control quantities to drive each hydraulic actuator. The hydraulic actuator control quantities are used to directly control the movements of the slewing, boom, stick, and bucket. Hydraulic actuator control quantities can be expressed as the target displacement of the main valve spool, the drive current of the proportional solenoid valve, the pump displacement control command, or the normalized control signal allocated according to the joint, as long as it can directly form the motion control of the swing, boom, stick, and bucket.

[0098] In one possible embodiment, the working environment data is first converted into fixed-dimensional environmental features before being input into the model; the bucket fullness rate serves as input information characterizing the loading degree; excavator operating data is processed to form motion state features; and hydraulic load status forms load state features. Subsequently, the environmental features, loading features, motion features, load features, and features corresponding to historical control sequences are fused and processed to output control components corresponding to swing, boom, stick, and bucket, respectively. The controller then converts the control components into corresponding instructions according to the actuator interface format and sends them to the hydraulic actuator unit.

[0099] In terms of specific operational procedures, the controller first reads the control cache of the most recent N cycles under the current operation stage in each control cycle to form a historical control sequence. Then, it sends the currently collected and aligned working face environment data, bucket full rate, excavator operating data, and hydraulic load status, along with this historical control sequence, into the selected target operation control model. After the model calculation is completed, it outputs the hydraulic execution control quantity. For slewing, the hydraulic execution control quantity corresponds to the slewing motor control signal; for boom, stick, and bucket movements, the hydraulic execution control quantity corresponds to the opening command of the corresponding hydraulic cylinder or valve group, respectively. Taking the excavation stage as an example, when environmental characteristics indicate that there is still digging material in front of the bucket, the bucket full rate is at a medium level, and the hydraulic load status changes, the target operation control model can adjust the control components of the stick, bucket, and boom accordingly to generate a combined action output that better matches the current cutting resistance and loading status. As another example, in the lifting stage, when the bucket full rate is high and the hydraulic load status is in a high value range, the model can output a smoother boom lifting control quantity and limit the slewing acceleration to maintain the continuity of action during the load transfer process.

[0100] The hydraulic control inputs directly act on the swing, boom, stick, and bucket, meaning that the control chain no longer uses a pre-planned bucket trajectory as an intermediate target, nor does it require separate trajectory deviation calculations and tracking compensation. Instead, the target operation control model directly issues execution commands based on the current operating state. Since the inputs simultaneously include working environment data, bucket fullness, excavator operating data, hydraulic load status, and historical control sequences, the model can simultaneously consider changes in the work object, load, mechanical attitude, and hydraulic dynamic response when generating control inputs. Based on the above analysis, this step characterizes hydraulic hysteresis and delay by introducing historical control sequences and directly outputs hydraulic control inputs through multi-source state joint inputs, ensuring that the control results are consistent with the current actual working conditions, thereby supporting the coordinated movement of the swing, boom, stick, and bucket in non-fixed working environments. It should be understood that the above example is for demonstration purposes only and is not limiting.

[0101] Based on the above analysis, this application provides a control method for a hydraulic excavator, including acquiring the operation data of the target hydraulic excavator; determining the operation stage of the target hydraulic excavator based on the operation data using a finite state machine or behavior tree; determining the target operation control model of the target hydraulic excavator based on the operation stage and mapping relationship; inputting the working surface environment data, bucket full rate, excavator operation data, hydraulic load status, and historical control sequence of the operation stage into the target operation control model to generate hydraulic execution control quantities for the target hydraulic excavator, wherein the hydraulic execution control quantities are used to directly control the movements of slewing, boom, stick, and bucket. In this embodiment, by using the operation stage as an intermediate organizational unit, environmental, loading, overall machine operation, and hydraulic load information are uniformly incorporated into the control basis, and a target operation control model consistent with the current operation stage is selected based on the stage-model mapping relationship. Then, the hydraulic execution control quantities are directly generated by combining the historical control sequence, so that the control process directly revolves around the actual operation states such as resetting, entering the soil, digging, lifting, and unloading. Compared to methods that use a preset trajectory as an intermediate target, this application reduces the impact of rapid mismatch between the planning results and the actual working face on the control link. It also incorporates hydraulic load status and bucket fullness into the continuous closed-loop input, enabling the model output to adjust synchronously with changes in cutting depth, stockpile shape, loading level, and hydraulic response. This achieves coordinated control of various actuators under non-fixed working faces. It should be understood that the above examples are merely illustrative and not limiting.

[0102] Figure 2 Flowchart of the control method for the hydraulic excavator provided in this application Figure 2 ,like Figure 2 As shown, in this embodiment... Figure 1 Based on the embodiments, the control method of the hydraulic excavator is described in detail, and the method includes:

[0103] S201. Obtain the operating data of the target hydraulic excavator.

[0104] In one possible implementation, the operational data includes at least the operational surface environment data, the coordinates of the target operational area, the bucket fullness rate, the excavator operation data, and the hydraulic load status. The excavator operation data includes: the angles and angular velocities of each joint of the target hydraulic excavator, with the joints including at least the boom, stick, and bucket; the bucket end position data of the target hydraulic excavator; and the hydraulic system pressure signals of the target hydraulic excavator, which include at least the pressure of the large chamber of the stick hydraulic cylinder and the pressure of the large chamber of the boom hydraulic cylinder.

[0105] In practical implementation, the angles of the boom, stick, and bucket can be acquired by rotary encoders, angle sensors, or potentiometric position sensors installed at the joints. Angular velocity can be obtained by differential calculation of the acquired angle signals, or directly obtained from feedback from gyroscopes or joint actuators. Bucket end-effector pose data can be obtained by an inertial measurement unit, bucket end-effector pose data sensor, or by forward kinematics calculation based on joint angles, all mounted on the bucket. Pressure signals can be acquired by pressure sensors installed on the large chambers of the stick and boom hydraulic cylinders. The sensor outputs are converted to digital (A / D) and then sent to the controller to form a unified operating state vector. To adapt to different excavator models, the sensors can be acquired via wired or wireless methods. In practical applications, other models of this component can also be selected, and this application does not limit this.

[0106] The aforementioned operational data, aligned with timestamps in the controller, is input into the work phase identification and control model. Joint angles and angular velocities are used to assist in determining action switching, bucket end-effector posture data is used to constrain the spatial relationship between the bucket and the working surface, and pressure signals are used to reflect load increase, pressure buildup, or unloading trends, thereby generating corresponding hydraulic control quantities. Using this operational data configuration, the control model can simultaneously obtain attitude, spatial position, and load status information, enabling action judgment and load perception to cross-verify, thus improving the consistency of phase identification and the accuracy of control output.

[0107] In one possible implementation, the bucket fill rate is obtained as follows: a first bucket fill rate is obtained based on volume difference estimation of working face changes; a second bucket fill rate is obtained based on geometric estimation of bucket geometry, penetration depth, and cutting length; a third bucket fill rate is obtained based on load estimation of boom pressure, hydraulic load, or pump load; a fourth bucket fill rate is obtained based on direct estimation from weighing sensors; a fifth bucket fill rate is obtained based on estimation using a learning model of vision, depth map, or point cloud; a sixth bucket fill rate is obtained based on estimation from pressure sensors; and a weighted fusion of the first, second, third, fourth, fifth, and sixth bucket fill rates is obtained; wherein the weights corresponding to different bucket fill rates are dynamically adjusted based on the working face environment data of the target hydraulic excavator.

[0108] In practical implementation, volume difference estimation based on changes in the working face can obtain the working face model before and after excavation through 3D reconstruction, calculate the volume difference, and then convert it into the first full bucket rate by combining it with the rated bucket capacity; geometric estimation based on bucket geometry, penetration depth, and cutting length can use the bucket capacity, tooth envelope size, and current movement trajectory to calculate the loading volume, and then map it into the second full bucket rate; load estimation based on boom pressure, hydraulic load, or pump load can generate the third full bucket rate based on the calibration relationship between hydraulic cylinder pressure, pump output pressure, and loading amount; direct estimation based on weighing sensors can collect weight signals by weighing sensors installed on the bucket connection structure and convert them into the fourth full bucket rate; learning model estimation based on vision, depth map, or point cloud can input images, depth information, or 3D point cloud into a trained regression model and output the fifth full bucket rate; pressure sensor estimation can combine the large chamber pressure of the boom hydraulic cylinder, the pressure change rate, and the coupling efficiency coefficient between the handle control command and the pressure increment to obtain the sixth full bucket rate, and assist in determining the full load state when the pressure reaches a preset threshold or the boom retraction stroke reaches the preset minimum digging stroke length.

[0109] When fusing the various bucket full rates, the system dynamically adjusts the weights based on the working environment data. It increases the weight of the fifth bucket full rate when visual conditions are good, increases the weight of the sixth bucket full rate when the pressure signal is stable, and increases the weights of the first and second bucket full rates when terrain changes are significant or geometric relationships are clear. The fused result is then output as the bucket full rate. This method allows the bucket full rate to simultaneously reflect changes in the working surface, geometric relationships, hydraulic load, weighing results, and sensory information, while maintaining a relatively stable estimation result under different working surface conditions, thus providing reliable input for the subsequent generation of hydraulic control quantities.

[0110] Based on the aforementioned embodiments, a sixth bucket full rate is further obtained based on pressure sensor estimation, including: monitoring the pressure in the large chamber of the boom hydraulic cylinder of the hydraulic excavator, the pressure change rate, and the coupling efficiency coefficient between the handle control command and the pressure increment according to a preset time interval; wherein, the coupling efficiency coefficient is used to characterize the pressure increment generated by a unit handle control quantity; when the pressure in the large chamber of the boom hydraulic cylinder exceeds a preset pressure threshold, and the pressure change rate tends to zero or the coupling efficiency coefficient is lower than a preset efficiency lower limit, it is determined that the bucket has reached the full load state and the corresponding bucket full rate is determined; or, when the boom retraction stroke reaches a preset minimum digging stroke length, it is determined that the bucket has reached the full load state.

[0111] In its implementation, the controller reads the pressure in the large chamber of the boom hydraulic cylinder at preset time intervals and performs differential calculations on the continuous sampled values ​​to obtain the pressure change rate. Simultaneously, it records the change in handle control commands and the pressure increment within the same time window, and then calculates the coupling efficiency coefficient. When the detected pressure is consistently higher than the preset pressure threshold and the pressure change rate is close to zero, it indicates that the boom hydraulic cylinder load has entered a saturated state. When the coupling efficiency coefficient is lower than the preset lower efficiency limit, it indicates that the pressure increment caused by continuing to apply handle control is weakening, thus determining that the bucket has reached a full load state. If the boom retraction stroke reaches the preset minimum digging stroke length, the bucket is directly determined to be in a full load state, and the sixth full bucket rate is output accordingly.

[0112] This method jointly determines the full load state by considering pressure thresholds, pressure change trends, and the coupling relationship between control variables and pressure response. It uses the stick retraction stroke as a supplementary criterion, enabling the sixth bucket full rate to be updated promptly based on hydraulic load characteristics, thus providing reliable input for subsequent bucket full rate fusion. With this method, the correspondence between the full load identification result and the actual loading state is more stable, and the bucket full rate estimation is more adaptable to hydraulic response hysteresis and operational fluctuations.

[0113] S202. Real-time monitoring of the risk value of hydraulic load status; when the risk value of hydraulic load status exceeds the preset safety threshold during the excavation stage, a stage switching command is triggered to control the target hydraulic excavator to switch from the current excavation stage to the lifting stage in advance to avoid hydraulic system pressure buildup.

[0114] In practical implementation, the controller maintains the current operation stage based on a finite state machine or behavior tree. During the excavation stage, it monitors the hydraulic system pressure signals and their changing trends at a preset sampling period. The pressure signals include at least the pressure in the large chamber of the stick hydraulic cylinder and the large chamber of the boom hydraulic cylinder. The controller can comprehensively calculate the pressure amplitude, pressure increment, pressure change rate, and pressure coupling relationship between different hydraulic cylinders to form a risk value for the hydraulic load state. This risk value is then compared with a preset safety threshold set based on the target hydraulic excavator's rated pressure, valve control capability, and current operating conditions. When the risk value exceeds the threshold, the finite state machine immediately outputs a stage switching command, switching the current state from the excavation stage to the lifting stage, and simultaneously adjusting the boom and stick control quantities to change the bucket from a cutting and loaded state to a lifting state. The conventional switching logic used to determine whether the bucket full rate meets the standard is still retained in the finite state machine, but its triggering condition only takes effect when the risk value of the hydraulic load state does not exceed the limit, thus giving the triggering priority of the protective switching higher than the loading completion determination. The pressure sensor and state controller used can be common models in the field of engineering machinery control. In practical applications, other models can also be selected for this component, and this application does not limit them.

[0115] By incorporating the risk value of the hydraulic load status into the operation phase determination, the system can enter the lifting phase before the bucket full rate reaches the normal switching conditions. This means that phase transitions are no longer entirely constrained by the load volume, but instead prioritize responding to the load status of the hydraulic system. Since the switching command is uniformly arbitrated by a finite state machine, and its priority is higher than the bucket full rate attainment logic, the controller can promptly terminate continuous digging and release pressure in hard soil or high-resistance conditions, preventing the hydraulic system from being in a high-pressure, obstructed state for extended periods. This allows the operation phase determination to better align with real-time load changes and improves the overall machine's operational stability and continuous operation capability.

[0116] S203. Based on the operation stage and mapping relationship, determine the target operation control model of the target hydraulic excavator.

[0117] S204. Use a time encoder to extract features from the historical control sequence to obtain historical response features; the historical response features are used to characterize the hysteresis and delay characteristics of the hydraulic actuator; combine the working face environment data, bucket full rate and excavator operation data to generate hydraulic actuator control quantities based on the historical response features.

[0118] In its implementation, the target operation control model includes a time-series encoder. The historical control sequence can be composed of handle opening, valve core displacement commands, or actuator target flow within a preset time window, and is input to the time-series encoder in chronological order. The hidden state output by the encoder serves as the historical response feature. This feature is combined with slope, excavable area contour, and soil pile boundary information from the working face environment data, and input to the control generation module along with excavator operating data such as bucket full rate, boom angle, stick angle, bucket angle, and pressure signals. The control generation module compensates for the historical response based on the current operation stage and outputs the hydraulic execution control quantity. The parameters of the time-series encoder can be trained using historical operation data, enabling it to form a stable representation of hysteresis and delay modes under different operation stages. In practical applications, other models of this component can also be selected; this application does not limit this selection.

[0119] This structure encodes historical control sequences into historical response features, enabling the control model to correlate previous hydraulic responses with current execution requirements under the constraints of the current working environment and full bucket condition, and directly generate hydraulic execution control quantities. This makes the control commands more consistent with the dynamic response characteristics of the hydraulic system. Using this method, the control quantities can be corrected by incorporating historical hysteresis information, improving the matching degree between hydraulic execution actions and working conditions, and enhancing adaptability to load changes and response lags in non-fixed working environments.

[0120] S205. Obtain preset constraints; preset constraints include work boundary constraints, maximum digging depth constraints, joint speed constraints, and hydraulic actuator capacity constraints; based on the preset constraints, the hydraulic actuator control quantity is modified to obtain the final hydraulic actuator control quantity.

[0121] In practical implementation, the correction processing includes at least one of amplitude limiting, direction suppression, scaling, or filtering smoothing. The boundary coordinates of the target working area, ground normal, upper limit of excavation depth, allowable angular velocities of each joint, and rated pressure thresholds of the hydraulic system are written into the controller's storage unit. The controller generates correction quantities based on the relationship between the current hydraulic control quantity and each constraint threshold. When the control quantity exceeds the allowable upper limit, amplitude limiting is performed, truncating the output to the boundary value. When the control direction will lead to overstepping boundaries or exceeding depth limits, direction suppression is performed, keeping the corresponding component zero or attenuating it in the opposite direction. When the control quantity amplitude meets the directional requirements but exceeds the mechanism's capacity, scaling is performed, compressing the control quantities of each channel by a uniform ratio. When the control quantity exhibits high-frequency jitter or abrupt changes, filtering smoothing is performed, recursively filtering or moving average processing is applied to the data of adjacent control cycles to form a continuously changing control output.

[0122] Ultimately, the hydraulic control inputs are directly used to drive the movements of the slewing, boom, stick, and bucket. By incorporating constraints into the output for correction, the control inputs can be ensured to enter the execution loop while meeting constraints related to the working boundary, digging depth, joint speed, and hydraulic actuator capacity. This improves the executability and stability of control commands and reduces abnormal actions caused by control inputs exceeding limits.

[0123] Figure 3 A schematic diagram of the control device for the hydraulic excavator provided in this application is shown below. Figure 3 As shown, the control device 30 of the hydraulic excavator provided in this embodiment includes:

[0124] The first processing module is used to acquire the operation data of the target hydraulic excavator and determine the operation stage of the target hydraulic excavator based on the operation data using a finite state machine or behavior tree. The operation data includes at least the operation surface environment data, the coordinates of the target operation area, the bucket full rate, the excavator operation data, and the hydraulic load status.

[0125] The second processing module is used to determine the target operation control model of the target hydraulic excavator based on the operation stage and the mapping relationship; wherein, the mapping relationship is the correspondence between the operation stage and the operation control model;

[0126] The third processing module is used to input the working face environment data, bucket full rate, excavator operation data, hydraulic load status and historical control sequence of the operation stage into the target operation control model to generate the hydraulic execution control quantity of the target hydraulic excavator; among which, the hydraulic execution control quantity is used to directly control the movement of the swing, boom, stick and bucket.

[0127] In one possible embodiment, the excavator operating data includes:

[0128] The angles and angular velocities of each joint of the target hydraulic excavator, with the joints including at least the boom, stick, and bucket;

[0129] Bucket end position pose data of the target hydraulic excavator;

[0130] And the hydraulic system pressure signal of the target hydraulic excavator, which includes at least the pressure of the large chamber of the stick hydraulic cylinder and the pressure of the large chamber of the boom hydraulic cylinder.

[0131] In one possible embodiment, the first processing module 301 is further configured to:

[0132] The first full bucket rate is obtained based on the volume difference estimation of the working surface change;

[0133] The second bucket fullness ratio is obtained based on the geometric estimation of bucket geometry, penetration depth and cutting length;

[0134] The third bucket fullness rate is obtained based on load estimation of boom pressure, hydraulic load, or pump load;

[0135] The fourth fullness rate is obtained based on direct estimation from the weighing sensor;

[0136] The fifth full-bucket rate is obtained by estimating based on a learning model of vision, depth map, or point cloud.

[0137] The sixth fullness rate was obtained based on pressure sensor estimation.

[0138] The first, second, third, fourth, fifth, and sixth full bucket rates are weighted and fused to obtain the bucket full rate; the weights corresponding to different full bucket rates are dynamically adjusted based on the working environment data of the target hydraulic excavator.

[0139] In one possible embodiment, the first processing module 301 is further configured to:

[0140] The pressure in the large chamber of the boom hydraulic cylinder of the hydraulic excavator, the rate of pressure change, and the coupling efficiency coefficient between the handle control command and the pressure increment are monitored at preset time intervals; the coupling efficiency coefficient is used to characterize the pressure increment generated by a unit handle control quantity.

[0141] When the pressure in the large chamber of the boom hydraulic cylinder exceeds the preset pressure threshold, and the pressure change rate approaches zero or the coupling efficiency coefficient is lower than the preset efficiency lower limit, it is determined that the bucket has reached the full load state and the corresponding full bucket rate is determined.

[0142] Alternatively, the bucket is considered fully loaded when the boom retraction stroke reaches the preset minimum digging stroke length.

[0143] In one possible embodiment, the first processing module 301 is further configured to:

[0144] Real-time monitoring of the risk value of hydraulic load status;

[0145] When the risk value of the hydraulic load condition exceeds the preset safety threshold during the excavation phase, a phase switching command is triggered to control the target hydraulic excavator to switch from the current excavation phase to the lifting phase in advance to avoid hydraulic system pressure buildup. The triggering priority of the phase switching command is higher than the regular switching logic triggered when the bucket full rate is met.

[0146] In one possible embodiment, the target job control model includes a timing encoder; the third processing module 303 is further configured to:

[0147] A time-series encoder is used to extract features from historical control sequences to obtain historical response features; these historical response features are used to characterize the hysteresis and delay characteristics of the hydraulic actuator.

[0148] By combining data on the working face environment, bucket full rate, and excavator operation data, hydraulic control quantities are generated based on historical response characteristics.

[0149] In one possible embodiment, the third processing module 303 is further configured to:

[0150] Obtain preset constraints; preset constraints include work boundary constraints, maximum digging depth constraints, joint speed constraints, and hydraulic actuator capacity constraints;

[0151] Based on preset constraints, the hydraulic actuator control quantity is modified to obtain the final hydraulic actuator control quantity; the modification process includes at least one of amplitude limiting processing, direction suppression processing, proportional scaling processing, or filtering and smoothing processing.

[0152] The control device 30 for a hydraulic excavator provided in this application integrates the working environment, target working area, bucket full rate, overall machine operating status, and hydraulic load status into the work stage determination in its first processing module 301. This allows the excavator to switch more accurately between stages such as reset, soil entry, digging, lifting, or unloading, thereby reducing stage recognition lag in non-fixed working areas. The second processing module 302 selects the target model based on the mapping relationship between the work stage and the work control model, enabling different stages to adopt matching control targets and control strategies, thus avoiding the inadequacy of a single trajectory tracking method for adapting to dynamic working conditions. The third processing module 303 further combines historical control sequences to directly generate hydraulic execution control quantities, enabling the control output to simultaneously reflect environmental changes, loading status, and hydraulic response characteristics. This improves the real-time performance and stability of the coordinated actions of the swing, boom, stick, and bucket, thereby reducing empty digging, pressure buildup, and bucket retraction lag, and improving loading efficiency, control accuracy, and component lifespan.

[0153] Figure 4 This is a hardware schematic diagram of the control device for the hydraulic excavator provided in this application. Figure 4 As shown, the electronic device 40 provided in this embodiment includes at least one processor 401 and a memory 402. Optionally, the electronic device 40 further includes a communication component 403. The processor 401, memory 402, and communication component 403 are connected via a bus 404.

[0154] In a specific implementation, at least one processor 401 executes computer execution instructions stored in memory 402, causing at least one processor 401 to perform the above-described method.

[0155] The specific implementation process of processor 401 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0156] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0157] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0158] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0159] The electronic device 40 can be integrated into the hydraulic excavator controller, on-board computing unit, or remote control terminal. The memory stores the operation stage determination rules, target operation control model, and historical control sequences. After the processor calls and executes the corresponding instructions, it can directly generate hydraulic execution control quantities for swing, boom, stick, and bucket based on the working face environment information, bucket fullness, overall machine operating data, and hydraulic load status, thereby avoiding over-reliance on preset trajectories. Because the processor's execution method can combine different stages such as reset, soil entry, digging, lifting, or unloading to switch control targets, the control output is more in line with the dynamic changes of non-fixed working faces. This reduces soil entry deviation, cutting instability, and bucket retraction lag caused by planning mismatch and tracking lag, thus improving the stability of single-bucket loading, operating efficiency, and overall machine operation stability.

[0160] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0161] This computer program product can be stored in a non-transitory computer-readable storage medium and deployed on the hydraulic excavator controller, on-board computing unit, or remote control terminal. When the processor executes this computer program, it can call up information on the working face environment, bucket full rate, overall machine operating data, hydraulic load status, and historical control sequences. Combining this with a finite state machine or behavior tree, it identifies the current working stage and selects the corresponding target working control model to directly generate hydraulic execution control quantities, thereby reducing reliance on preset trajectories and trajectory tracking accuracy. By integrating stage identification, state perception, and hydraulic control generation into an executable program, the control logic is easy to port, update, and reuse. This allows for more timely responses to changes in soil pile shape, load disturbances, and stage switching in non-fixed working faces, thus improving excavation efficiency, control stability, and component lifespan.

[0162] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0163] The computer-readable storage medium can be ROM (Read-Only Memory), RAM (Random Access Memory), flash memory, solid-state drive, or other non-transitory storage media. The stored computer-executable instructions, after being invoked by the processor, enable the processor to perform tasks such as job stage identification, target job control model selection, state data fusion, and hydraulic execution control output. By using working face environmental information, bucket full rate, excavator operating data, hydraulic load status, and historical control sequences as unified inputs, control commands for swing, boom, stick, and bucket are directly generated. This reduces reliance on preset trajectories and tracking error compensation, making the control results more closely match the real-time changes of the working face. This improves the coordination of actions during the soil entry, digging, lifting, and unloading stages, thus enhancing control accuracy, operating efficiency, and overall machine stability under non-fixed working face conditions.

[0164] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0165] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0166] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, methods, or units, and may be electrical, mechanical, or other forms.

[0167] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0168] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0169] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0170] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0171] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope.

Claims

1. A control method for a hydraulic excavator, characterized in that, include: The operation data of the target hydraulic excavator is acquired, and the operation stage of the target hydraulic excavator is determined based on the operation data using a finite state machine or behavior tree. The operation data includes at least the operation surface environment data, the coordinates of the target operation area, the bucket full rate, the excavator operation data, and the hydraulic load status. Based on the operation stages and mapping relationships, the target operation control model of the target hydraulic excavator is determined; wherein, the mapping relationship is the correspondence between the operation stages and the operation control model; The working face environment data, the bucket full rate, the excavator operation data, the hydraulic load status, and the historical control sequence of the working stage are input into the target operation control model to generate the hydraulic execution control quantity of the target hydraulic excavator; wherein, the hydraulic execution control quantity is used to directly control the movements of the swing, boom, stick, and bucket.

2. The method according to claim 1, characterized in that, The excavator operating data includes: The target hydraulic excavator's joint angles and angular velocities, wherein the joints include at least the boom, stick, and bucket; The bucket end position and orientation data of the target hydraulic excavator; The hydraulic system pressure signal of the target hydraulic excavator includes at least the pressure of the large chamber of the stick hydraulic cylinder and the pressure of the large chamber of the boom hydraulic cylinder.

3. The method according to claim 1, characterized in that, The bucket fullness rate is obtained according to the following method: The first full bucket rate is obtained based on the volume difference estimation of the working surface change; The second bucket fullness ratio is obtained based on the geometric estimation of bucket geometry, penetration depth and cutting length; The third bucket fullness rate is obtained based on load estimation of boom pressure, hydraulic load, or pump load; The fourth fullness rate is obtained based on direct estimation from the weighing sensor; The fifth full-bucket rate is obtained by estimating based on a learning model of vision, depth map, or point cloud. The sixth fullness rate was obtained based on pressure sensor estimation. The first full bucket rate, the second full bucket rate, the third full bucket rate, the fourth full bucket rate, the fifth full bucket rate, and the sixth full bucket rate are weighted and fused to obtain the bucket full rate; wherein, the weights corresponding to different full bucket rates are dynamically adjusted according to the working environment data of the target hydraulic excavator.

4. The method according to claim 3, characterized in that, The sixth fullness rate, estimated based on pressure sensors, includes: The pressure in the large chamber of the boom hydraulic cylinder of the hydraulic excavator, the rate of pressure change, and the coupling efficiency coefficient between the handle control command and the pressure increment are monitored at preset time intervals; wherein, the coupling efficiency coefficient is used to characterize the pressure increment generated by a unit handle control quantity; When the pressure in the large chamber of the boom hydraulic cylinder exceeds a preset pressure threshold, and the pressure change rate approaches zero or the coupling efficiency coefficient is lower than a preset efficiency lower limit, it is determined that the bucket has reached a full load state and the corresponding full bucket rate is determined. Alternatively, when the boom retraction stroke reaches the preset minimum digging stroke length, the bucket is determined to be fully loaded.

5. The method according to claim 1, characterized in that, The process of determining the operational phase of the target hydraulic excavator based on the operational data, using a finite state machine or behavior tree, includes: Real-time monitoring of the risk value of the hydraulic load status; When the risk value exceeds the preset safety threshold during the excavation phase, a phase switching command is triggered to control the target hydraulic excavator to switch from the current excavation phase to the lifting phase in advance to avoid hydraulic system pressure buildup; wherein, the triggering priority of the phase switching command is higher than the normal switching logic triggered when the bucket full rate reaches the target.

6. The method according to claim 1, characterized in that, The target operation control model includes a timing encoder; inputting the working face environment data, the bucket full rate, the excavator operation data, and the historical control sequence of the operation stage into the target operation control model includes: The historical control sequence is extracted using the time encoder to obtain historical response features; the historical response features are used to characterize the hysteresis and delay characteristics of the hydraulic actuator. The hydraulic control quantity is generated based on the historical response characteristics by combining the working face environment data, the bucket full rate, and the excavator operation data.

7. The method according to any one of claims 1 to 6, characterized in that, After generating the hydraulic actuation control quantity of the target hydraulic excavator, the method further includes: Obtain preset constraints; the preset constraints include work boundary constraints, maximum digging depth constraints, joint speed constraints, and hydraulic actuator capacity constraints; Based on the preset constraints, the hydraulic actuation control quantity is modified to obtain the final hydraulic actuation control quantity; the modification process includes at least one of amplitude limiting processing, direction suppression processing, scaling processing, or filtering and smoothing processing.

8. A control device for a hydraulic excavator, characterized in that, include: The first processing module is used to acquire the operation data of the target hydraulic excavator, and determine the operation stage of the target hydraulic excavator based on the operation data using a finite state machine or behavior tree; wherein, the operation data includes at least the operation surface environment data, the coordinates of the target operation area, the bucket full rate, the excavator operation data, and the hydraulic load status; The second processing module is used to determine the target operation control model of the target hydraulic excavator based on the operation stage and the mapping relationship; wherein, the mapping relationship is the correspondence between the operation stage and the operation control model; The third processing module is used to input the working face environment data, the bucket full rate, the excavator operation data, the hydraulic load status, and the historical control sequence of the working stage into the target operation control model to generate the hydraulic execution control quantity of the target hydraulic excavator; wherein, the hydraulic execution control quantity is used to directly control the movements of the swing, boom, stick, and bucket.

9. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.