Control method, processor and operating equipment for two-link structure

By obtaining the theoretical trajectory points in the two-link structure and determining the target trajectory points based on the preset evaluation dimensions, combined with double-loop PID and feedforward control, the problem of low control flexibility of the two-link structure is solved and a more flexible and accurate control system is achieved. Work results.

CN118534833BActive Publication Date: 2024-10-18ZOOMLION HEAVY INDUSTRY SCIENCE AND TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411010608.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-10-18
Estimated Expiration
2044-07-26

AI Technical Summary

Technical Problem

The control method of the existing two-link structure has low flexibility, which makes it easy to reach the extreme position under the limitation of the working space of the operating equipment, affecting the operating effect.

Method used

By obtaining the end theoretical trajectory point of the two-link structure, the target trajectory point is determined within the preset trajectory tolerance interval of the theoretical trajectory point based on the preset evaluation dimension, and the dual-loop PID control algorithm is combined with feedforward control to control the two-link structure The end of the machine operates according to the target trajectory point.

Benefits of technology

While ensuring movement accuracy, the control flexibility of the two-link structure is improved, the operating distance is extended, and the operating effect is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118534833B_ABST
    Figure CN118534833B_ABST
Patent Text Reader

Abstract

The present application discloses a control method, processor and operating equipment for a two-link structure, belonging to the technical field of engineering machinery, wherein the two-link structure comprises an articulated first link and a second link, and the method comprises: obtaining a theoretical trajectory point of the end of the two-link structure; determining a target trajectory point in a candidate trajectory point group within a preset trajectory tolerance interval corresponding to the theoretical trajectory point based on a preset evaluation dimension, wherein the preset evaluation dimension comprises at least one of an angle deviation dimension and an angular velocity dimension; and controlling the end of the two-link to operate according to the target trajectory point. The present application sets a preset trajectory tolerance interval, determines the target trajectory point according to the theoretical trajectory point based on the preset evaluation dimension, and the two-link structure does not need to move strictly according to the theoretical trajectory point, which is conducive to improving the flexibility of controlling the two-link structure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of engineering machinery, and in particular to a control method, a processor and an operating device for a two-link structure. Background Art

[0002] The two-link structure is commonly found in various engineering machinery and operating machinery, such as excavators, pump trucks, placing booms, aerial work machinery and other engineering machinery, spray robots, curtain wall cleaning robots and other operating machinery with booms. In actual application, the end of the two-link needs to move along a set trajectory according to the operating requirements of the operating equipment. For example, in the operating conditions of the excavator such as brushing slopes, leveling the ground and digging trenches, the end of the two-link needs to move along the set trajectory. However, due to the limitations of the operating space of the operating equipment itself, directly planning the motion of the two-link according to the set trajectory can easily cause the two-link to move to the extreme position, and the flexibility is low. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a control method, a processor, an operating device and a computer-readable storage medium for a two-link structure, so as to solve the problem of low flexibility of the two-link control method used in the prior art.

[0004] In order to achieve the above-mentioned object, a first aspect of an embodiment of the present application provides a control method for a two-link structure, wherein the two-link structure comprises a first link and a second link that are hinged, and the method comprises:

[0005] Obtain theoretical trajectory points at the ends of the two-link structure;

[0006] Based on a preset evaluation dimension, a target trajectory point is determined in a candidate trajectory point group within a preset trajectory tolerance interval corresponding to the theoretical trajectory point, the preset evaluation dimension includes at least one of an angle deviation dimension and an angular velocity dimension, wherein the preset trajectory tolerance interval is a deviable interval corresponding to the theoretical trajectory point, the candidate trajectory point group is composed of a plurality of candidate trajectory points including the theoretical trajectory point in the preset trajectory tolerance interval, the angular velocity dimension includes a deviation of a relative value of an angular velocity of the first link and an angular velocity of the second link relative to a preset expected value, the angle deviation dimension includes an angle deviation between a straight line where the candidate trajectory point and the previous target trajectory point are located and a theoretical straight line, and the theoretical straight line is a straight line where the previous target trajectory point and the previous previous target trajectory point are located;

[0007] Control the end of the two-link to operate according to the target trajectory point.

[0008] In an embodiment of the present application, the preset evaluation dimension also includes a distance deviation dimension, and the distance deviation dimension includes a distance deviation between a candidate trajectory point and a theoretical trajectory point.

[0009] In an embodiment of the present application, based on a preset evaluation dimension, a target trajectory point is determined from a group of candidate trajectory points within a preset trajectory tolerance interval corresponding to a theoretical trajectory point, including: according to a preset correspondence, a candidate trajectory point whose evaluation value is a target maximum value is determined as the target trajectory point, and the preset correspondence is a correspondence between the evaluation values ​​of the candidate trajectory points and each preset evaluation dimension.

[0010] In an embodiment of the present application, when the number of preset evaluation dimensions is at least two, the preset corresponding relationship includes: determining the evaluation sub-value of the candidate trajectory point in each preset evaluation dimension, and weighted summing each evaluation sub-value according to the preset weight value corresponding to each preset evaluation dimension to obtain the evaluation value of each candidate trajectory point.

[0011] In an embodiment of the present application, when the preset evaluation dimension includes an angle deviation dimension, the candidate trajectory point whose evaluation value is the target maximum value is determined as the target trajectory point according to the preset corresponding relationship, including: according to the preset corresponding relationship and the preset constraint relationship, the candidate trajectory point whose evaluation value is the target maximum value is determined as the target trajectory point; wherein the preset constraint relationship includes: the angle deviation in the angle deviation dimension is less than the preset angle threshold, and / or the angular velocity of the first connecting rod is within the corresponding preset angular velocity range, and / or the angular velocity of the second connecting rod is within the corresponding preset angular velocity range.

[0012] In the embodiment of the present application, the method further includes: adjusting the preset weight value corresponding to each preset evaluation dimension in response to user input.

[0013] In an embodiment of the present application, controlling the end of the two-link to operate according to the target trajectory point includes: determining a first target joint angle of the first link and a second target joint angle of the second link according to the target trajectory point; obtaining a first real-time joint angle of the first link and a second real-time joint angle of the second link; based on a dual-loop PID control algorithm, determining a first valve control quantity associated with the first link according to the first target joint angle and the first real-time joint angle, and determining a second valve control quantity associated with the second link according to the second target joint angle and the second real-time joint angle, wherein the outer loop in the dual-loop PID control algorithm is an angle loop, and the inner loop is an angular velocity loop; controlling the two-link structure according to the first valve control quantity and the second valve control quantity so that the end of the two-link structure operates according to the target trajectory point.

[0014] In an embodiment of the present application, the method also includes: determining a first feedforward amount of the first connecting rod based on the first target joint angle, and determining a second feedforward amount of the first connecting rod based on the second target joint angle; controlling the two-connecting rod structure according to the first valve control amount and the second valve control amount, including: controlling the two-connecting rod structure according to the first valve control amount, the second valve control amount, the first feedforward amount and the second feedforward amount.

[0015] A second aspect of the present application provides a processor configured to execute the above-mentioned control method for a two-link structure.

[0016] A third aspect of the present application provides an operating device, comprising: a two-link structure, the two-link structure comprising a first link and a second link that are hinged; and the above-mentioned processor.

[0017] A fourth aspect of the present application provides a machine-readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the above-mentioned control method for a two-link structure is implemented.

[0018] The above technical solution obtains the theoretical trajectory point of the end of the two-link structure, and then determines the target trajectory point in the candidate trajectory point group within the preset trajectory tolerance interval corresponding to the theoretical trajectory point based on the preset evaluation dimension, and finally controls the end of the two-link to operate according to the target trajectory point, wherein the two-link structure includes a hinged first link and a second link. The present application sets a preset trajectory tolerance interval, and determines the target trajectory point based on the theoretical trajectory point based on the preset evaluation dimension. The two-link structure does not need to move strictly according to the theoretical trajectory point, which is conducive to improving the flexibility of controlling the two-link structure while ensuring the movement accuracy of the two-link structure.

[0019] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0021] Figure 1 A schematic flow chart of a control method for a two-link structure provided in an embodiment of the present application;

[0022] Figure 2 This is a schematic diagram of the geometric relationship of the excavator boom in a specific embodiment of the present application;

[0023] Figure 3 A schematic diagram of a preset trajectory tolerance interval in a specific embodiment of the present application;

[0024] Figure 4 This is a schematic diagram of the principle of feedforward + dual-loop PID combined control in a specific embodiment of the present application;

[0025] Figure 5 This is a schematic diagram of the principle of a feedforward control algorithm in a specific embodiment of the present application;

[0026] Figure 6 This is a schematic diagram of the principle of dual-loop PID control in a specific embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0028] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), such directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0029] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0030] Figure 1 The following is a flow chart of a control method for a two-link structure provided in an embodiment of the present application. Figure 1 As shown, an embodiment of the present application provides a control method for a two-link structure, the two-link structure includes a hinged first link and a second link, and the method is applied to a processor as an example for description. The method may include the following steps:

[0031] Step S101, obtaining the theoretical trajectory points of the ends of the two-link structure.

[0032] Step S102, based on a preset evaluation dimension, determine the target trajectory point in the candidate trajectory point group within the preset trajectory tolerance interval corresponding to the theoretical trajectory point, the preset evaluation dimension includes at least one of an angle deviation dimension and an angular velocity dimension, wherein the preset trajectory tolerance interval is a deviable interval corresponding to the theoretical trajectory point, the candidate trajectory point group is composed of a plurality of candidate trajectory points including the theoretical trajectory point in the preset trajectory tolerance interval, the angular velocity dimension includes a deviation of the relative value of the angular velocity of the first link and the angular velocity of the second link relative to a preset expected value, the angle deviation dimension includes an angle deviation between a straight line where the candidate trajectory point and the previous target trajectory point are located and a theoretical straight line, the theoretical straight line being a straight line where the previous target trajectory point and the previous previous target trajectory point are located.

[0033] Step S103, controlling the end of the two connecting rods to operate according to the target trajectory point.

[0034] In the embodiments of the present application, the two-link structure is commonly found in various engineering machinery and operating machinery, such as engineering machinery such as excavators, pump trucks, placing booms and aerial work machinery, and other operating machinery with booms such as spray robots and curtain wall cleaning robots. The two-link structure is hinged by a first link and a second link. The trajectory planning of the end of the traditional two-link structure is to determine the theoretical trajectory according to the operation requirements, and then control the two-link structure to make the end of the two-link operate according to the theoretical trajectory. However, since the working space of the operating equipment has certain limitations, if the two-link structure is strictly controlled according to the theoretical trajectory, it is easy to reach the limit position, and the position of the equipment needs to be readjusted to continue the operation. In this way, the single operation distance is short and the operation flexibility is poor, thereby affecting the operation effect. In this regard, the embodiment of the present application provides a control method for a two-link structure, by setting a preset trajectory tolerance interval and a preset evaluation dimension, the theoretical trajectory is fine-tuned to obtain a target trajectory, thereby improving the flexibility of the operation.

[0035] It can be understood that the embodiment of the present application can determine the target trajectory points corresponding to each theoretical trajectory point in the theoretical trajectory, and then determine the target operating trajectory of the end of the two-link structure from each target trajectory point. Among them, the theoretical operating trajectory refers to the expected operating trajectory of the end of the two-link structure, and the target operating trajectory refers to the operating trajectory that makes the operating flexibility of the operating equipment higher than the theoretical operating trajectory after fine-tuning.

[0036] Specifically, the processor can obtain the theoretical trajectory point at the end of the two-link structure, and the theoretical trajectory point is associated with corresponding position information or coordinate data in a set coordinate system. Further, the corresponding preset trajectory tolerance interval can be determined according to the theoretical trajectory point. The preset trajectory tolerance interval is the deviable interval corresponding to the theoretical trajectory point. The preset trajectory tolerance interval is composed of a plurality of candidate trajectory point groups including the theoretical trajectory point, and the plurality of candidate trajectory points are the candidate trajectory point groups. In an embodiment of the present application, the preset trajectory tolerance interval is determined by a preset tolerance distance. In one example, the preset trajectory tolerance interval may be composed of a plurality of points whose distance from the theoretical trajectory point is less than or equal to the preset tolerance distance. In another example, the preset trajectory tolerance interval may be composed of a plurality of points whose distance from the theoretical trajectory point in the vertical direction is less than or equal to the preset tolerance distance. It can be understood that the determination method of the preset trajectory tolerance interval corresponding to the theoretical trajectory point can be adjusted according to the actual operating conditions of the operating equipment where the two-link structure is located.

[0037] Further, after the preset trajectory tolerance interval is introduced, the motion planning of the two-link structure has infinite solutions within the preset trajectory tolerance interval. In order to determine the only optimal solution within the preset trajectory tolerance interval, the embodiment of the present application also introduces a preset evaluation dimension. The processor can determine the target trajectory point in the candidate trajectory point group within the preset trajectory tolerance interval corresponding to the theoretical trajectory point based on the preset evaluation dimension. Wherein, in some embodiments, the preset evaluation dimension includes at least one of the angle deviation dimension and the angular velocity dimension. In one example, the processor can determine the target trajectory point in the candidate trajectory point group within the preset trajectory tolerance interval corresponding to the theoretical trajectory point based on the angle deviation dimension. In another example, the processor can determine the target trajectory point in the candidate trajectory point group within the preset trajectory tolerance interval corresponding to the theoretical trajectory point based on the angular velocity dimension. In yet another example, the processor can determine the target trajectory point in the candidate trajectory point group within the preset trajectory tolerance interval corresponding to the theoretical trajectory point based on the angle deviation dimension and the angular velocity dimension. It can be understood that different evaluation dimensions correspond to different determination rules for target trajectory points, and the processor can determine the target trajectory point in the candidate point cluster based on the preset evaluation dimension and the corresponding determination rule.

[0038] Specifically, the angular velocity dimension is used to reflect the operator's inclination towards the overall movement of the two-link structure. The expression for determining the relative value of the angular velocity of the first link and the angular velocity of the second link is the same as the expression for the preset expected value. Among them, the relative value is the actual calculated value, and the preset expected value is the set value of the operator, both of which are used to reflect the magnitude relationship between the angular velocity of the first link and the angular velocity of the second link. It can be understood that there can be multiple expressions for determining the relative value of the angular velocity of the first link and the angular velocity of the second link. For example, the relative value can be the ratio of the angular velocity of the first link to the angular velocity of the second link. At this time, if the preset expected value is greater than 1, it means that the operator hopes that the movement amplitude of the first link is greater than the movement amplitude of the second link. If the preset expected value is less than 1, it means that the operator hopes that the movement amplitude of the first link is less than the movement amplitude of the second link. If the preset expected value is equal to 1, it means that the operator hopes that the movement amplitude of the first link and the second link are the same.

[0039] It can be understood that the smaller the deviation of the relative value from the preset expected value is, the closer it is to the operator's needs, and the better the operator's driving experience is. In addition, different preset expected values ​​can be changed according to different construction scenarios.

[0040] The angle deviation dimension is used to reflect the smoothness of the movement of the two-link structure. The previous target trajectory point is the target trajectory point corresponding to the previous theoretical trajectory point adjacent to the current theoretical trajectory point, and the same applies to the previous target trajectory point. According to the previous target trajectory point and the previous previous target trajectory point, a straight line can be determined. The straight line is the theoretical straight line, that is, a section of the motion trajectory of the end of the determined two-link structure. The angle between the straight line where the candidate trajectory point and the previous target trajectory point are located and the theoretical straight line is the angle deviation. In some feasible embodiments, the theoretical straight line may also be the straight line where the theoretical trajectory is located. It can be understood that the smaller the angle deviation, the smoother the movement of the two-link structure and the better the operator's operating experience.

[0041] The above technical solution obtains the theoretical trajectory point of the end of the two-link structure, and then determines the target trajectory point in the candidate trajectory point group within the preset trajectory tolerance interval corresponding to the theoretical trajectory point based on the preset evaluation dimension, and finally controls the end of the two-link to operate according to the target trajectory point, wherein the two-link structure includes a hinged first link and a second link. The present application sets a preset trajectory tolerance interval, and determines the target trajectory point based on the theoretical trajectory point based on the preset evaluation dimension. The two-link structure does not need to move strictly according to the theoretical trajectory point, which is conducive to improving the flexibility of controlling the two-link structure while ensuring the movement accuracy of the two-link structure.

[0042] In an embodiment of the present application, based on a preset evaluation dimension, determining a target trajectory point from a group of candidate trajectory points within a preset trajectory tolerance interval corresponding to a theoretical trajectory point may include: determining a candidate trajectory point whose evaluation value is a target maximum value as the target trajectory point according to a preset corresponding relationship, wherein the preset corresponding relationship is a corresponding relationship between the evaluation values ​​of the candidate trajectory points and each preset evaluation dimension.

[0043] Specifically, based on the preset corresponding relationship, the evaluation value of each trajectory point is determined, and the candidate trajectory point with the evaluation value of the target maximum value in the candidate trajectory point group is determined as the target trajectory point. The preset corresponding relationship can be a function corresponding relationship or a table corresponding relationship.

[0044] In one example, when the preset evaluation dimension is only the angular velocity dimension, the evaluation value of the preset evaluation dimension is the deviation of the relative value of the angular velocity of the first connecting rod and the angular velocity of the second connecting rod relative to the preset expected value. The processor can determine the evaluation value corresponding to each candidate trajectory point in the candidate trajectory point group, and then determine the candidate trajectory point whose evaluation value is the target maximum value as the target trajectory point. Among them, the target maximum value can be the minimum value, that is, the candidate trajectory point with the smallest deviation of the relative value relative to the preset expected value is determined as the target trajectory point. It can be understood that the angular velocity of the first connecting rod and the angular velocity of the second connecting rod corresponding to each candidate trajectory point can be determined based on the geometric relationship of the two-link structure and according to the position information or coordinate data of each candidate trajectory point.

[0045] In another example, when the preset evaluation dimension is only the angle deviation dimension, the evaluation value of the preset evaluation dimension is the angle deviation between the straight line where the candidate trajectory point and the previous target trajectory point are located and the theoretical straight line. The processor can determine the evaluation value corresponding to each candidate trajectory point in the candidate trajectory point group, and then determine the candidate trajectory point whose evaluation value is the target maximum value as the target trajectory point. The target maximum value can be the minimum value, that is, the candidate trajectory point with the smallest angle deviation is determined as the target trajectory point.

[0046] In an embodiment of the present application, the preset evaluation dimension also includes a distance deviation dimension, and the distance deviation dimension includes a distance deviation between a candidate trajectory point and a theoretical trajectory point.

[0047] Specifically, the distance deviation refers to the distance between the candidate trajectory point and the theoretical trajectory point. The distance deviation is used to reflect the error of the motion trajectory of the two-link structure, that is, the error of the target trajectory. The smaller the error, the closer the target trajectory is to the theoretical trajectory.

[0048] In an embodiment of the present application, when the number of preset evaluation dimensions is at least two, the preset corresponding relationship includes: determining the evaluation sub-value of the candidate trajectory point in each preset evaluation dimension, and weighted summing each evaluation sub-value according to the preset weight value corresponding to each preset evaluation dimension to obtain the evaluation value of each candidate trajectory point.

[0049] Specifically, when the number of preset evaluation dimensions is at least two, that is, the preset evaluation dimensions can be composed of at least two of the angle deviation dimension, the angular velocity deviation dimension, and the distance deviation dimension. In order to determine the only optimal solution in the candidate trajectory point cluster, the embodiment of the present application introduces a preset weight value corresponding to each preset evaluation dimension, and the preset weight value of each preset evaluation dimension is input by the operator to reflect the operation requirements of the operator. For each candidate trajectory point in the candidate trajectory point group, the evaluation sub-value of the candidate trajectory point in each preset evaluation dimension is determined, and the evaluation sub-value of each preset evaluation dimension corresponding to each candidate trajectory point is multiplied by the preset weight value corresponding to each preset evaluation dimension and summed to obtain the weighted value of the evaluation sub-value corresponding to each preset evaluation dimension, and the weighted value is determined as the evaluation value of each candidate trajectory point. Finally, the candidate trajectory point whose evaluation value in the candidate trajectory point group is the target maximum value is determined as the target trajectory point. The target maximum value can be a maximum value or a minimum value, which is specifically determined according to the determination form of the evaluation value.

[0050] In one embodiment, the evaluation score of each candidate trajectory point can be determined by constructing an evaluation function. An expression of the evaluation function can satisfy formula (1):

[0051] ; (1)

[0052] in, is the evaluation value, , All are preset weight values. is the distance deviation coefficient, is the smoothness coefficient, Angular velocity distribution coefficient, is the evaluation sub-value corresponding to the distance deviation dimension, is the evaluation sub-value corresponding to the angle deviation dimension, is the evaluation sub-value corresponding to the angular velocity dimension.

[0053] It can be understood that when the preset evaluation dimensions include the angle deviation dimension, the angular velocity deviation dimension, and the distance deviation dimension, the evaluation function is as shown in formula (1). When the preset evaluation dimensions are the angle deviation dimension and the angular velocity dimension, the evaluation function can be When the preset evaluation dimensions are the angle deviation dimension and the distance deviation dimension, the evaluation function can be When the preset evaluation dimensions are the distance deviation dimension and the angular velocity dimension, the evaluation function can be . The sum of the preset weight values ​​is a constant.

[0054] It should be noted that the above evaluation function expression is only for illustration. In actual application, the evaluation function expression can be adjusted according to the actual application scenario.

[0055] In an embodiment of the present application, the angle deviation in the angle deviation dimension corresponding to the target trajectory point is less than a preset angle threshold, and / or the angular velocity of the first connecting rod and the angular velocity of the second connecting rod in the angular velocity dimension corresponding to the target trajectory point are both within the corresponding preset angular velocity range.

[0056] Specifically, the preset angle threshold refers to the maximum angle deviation, which can be set according to the actual working conditions. The preset angular velocity range refers to the angular velocity allowable range of the first connecting rod and the angular velocity allowable range of the second connecting rod, and the angular velocity allowable range needs to be determined according to the actual working conditions. It can be understood that the target trajectory point also needs to meet the above angle and angular velocity restriction conditions.

[0057] In the embodiment of the present application, the method further includes: adjusting the preset weight value corresponding to each preset evaluation dimension in response to user input.

[0058] Specifically, the operator can adjust the preset weight values ​​corresponding to each preset evaluation dimension during the operation so that the movement of the two-link structure meets the operator's inclination for the motion planning of the two-link structure. For example, by increasing the preset weight value corresponding to the distance deviation dimension, the average error of the final planned path will be reduced; by increasing the preset weight value corresponding to the angle deviation dimension, the smoothness of the final planned path will increase; by increasing the weight value corresponding to the angular velocity dimension, the motion distribution of the two-link structure will be more in line with the operator's expectations. It can be understood that since the sum of the preset weight values ​​corresponding to each evaluation dimension in the preset evaluation dimension is a constant, when the weight value corresponding to one of the evaluation dimensions increases, the weight value corresponding to the other or two other evaluation dimensions will decrease. In this way, through the input of the corresponding user, the motion planning of the two-link structure is more in line with the operator's expectations, thereby improving the user experience.

[0059] In an embodiment of the present application, controlling the end of the two-link to operate according to the target trajectory point includes: determining a first target joint angle of the first link and a second target joint angle of the second link according to the target trajectory point; obtaining a first real-time joint angle of the first link and a second real-time joint angle of the second link; based on a dual-loop PID control algorithm, determining a first valve control quantity associated with the first link according to the first target joint angle and the first real-time joint angle, and determining a second valve control quantity associated with the second link according to the second target joint angle and the second real-time joint angle, wherein the outer loop in the dual-loop PID control algorithm is an angle loop, and the inner loop is an angular velocity loop; controlling the two-link structure according to the first valve control quantity and the second valve control quantity so that the end of the two-link structure operates according to the target trajectory point.

[0060] Specifically, the first target joint angle and the first real-time joint angle are the angles between the first connecting rod and the working plane, and the second target joint angle and the second real-time joint angle are the angles between the second connecting rod and the first connecting rod. The first target joint angle and the second target joint angle are theoretical joint angles corresponding to the target trajectory point. Based on the geometric relationship of the two-link structure, the first target joint angle and the second target joint angle can be determined according to the coordinate information of the target trajectory point. The first real-time joint angle and the second real-time joint angle are the measured joint angles at the previous moment.

[0061] In an embodiment of the present application, the method also includes: determining a first feedforward amount of the first connecting rod based on the first target joint angle, and determining a second feedforward amount of the first connecting rod based on the second target joint angle; controlling the two-connecting rod structure according to the first valve control amount and the second valve control amount, including: controlling the two-connecting rod structure according to the first valve control amount, the second valve control amount, the first feedforward amount and the second feedforward amount.

[0062] Specifically, the first target angular velocity is determined by calculus according to the first target joint angle, and the corresponding relationship table between the angular velocity and the feedforward amount is searched according to the first target angular velocity to obtain the first feedforward amount. Similarly, the second feedforward amount is determined according to the second target joint angle. Furthermore, the two-link structure is controlled according to the first valve control amount, the second valve control amount, the first feedforward amount and the second feedforward amount, so that the end of the two-link structure operates according to the target trajectory point. In this way, the two-link structure is controlled by combining feedforward control and dual-loop PID control, which is conducive to improving the accuracy of control.

[0063] In a specific embodiment of the present application, taking the slope-brushing working condition of an excavator as an example, the two-link structure is the boom and dipper arm of the excavator, and the end mechanism of the two-link structure is the bucket. It is assumed that the bucket posture of the excavator remains unchanged when brushing the slope, that is, the angle formed by the bucket and the dipper arm is fixed. The target operating trajectory is determined according to the theoretical operating trajectory of the bucket tooth tip, and then the boom and dipper arm are controlled according to the target operating trajectory.

[0064] Specifically, the theoretical operating trajectory of the bucket tooth tip is the slope trajectory of the target slope to be formed by the excavator. In the embodiment of the present application, the target slope is a smooth slope as an example. The slope trajectory is a straight line, that is, the target slope straight line. Methods for determining the target slope straight line may include a reference point method and a two-point method.

[0065] In one example, the reference point method is used to determine the slope trajectory, including: setting the current point as the reference point, and manually inputting the target slope and target depth, so as to obtain a unique target slope straight line. In the excavator Cartesian coordinate system, the coordinates of the reference point are ( ), the target slope is , the target depth is H, then the target slope line is .

[0066] In another example, the two-point method for determining the slope trajectory includes: setting reference point 1 and reference point 2, and obtaining a unique target slope straight line passing through the two reference points. In the excavator Cartesian coordinate system, the coordinates of reference point 1 are ( ), the coordinates of reference point 2 are ( ), then the target slope straight line is .

[0067] In a specific embodiment of the present application, the control mode of the excavator includes a manual control mode and a semi-automatic auxiliary control mode. The processor can monitor the distance between the excavator bucket tooth tip and the target slope in real time. In order to make the bucket tooth tip stop after approaching the target slope to avoid over-digging, the embodiment of the present application uses a buffer zone distance A buffer zone is set up, and the excavator can eventually stop on the target slope through a deceleration algorithm. Furthermore, based on the real-time monitoring of the distance between the excavator bucket tooth tip and the target slope, Buffer distance Determines the control mode of the excavator.

[0068] Specifically, in In this case, the excavator is controlled in manual mode. In this case, the excavator tooth tip enters the buffer zone, and the deceleration algorithm controls the handle output value to reduce the speed of the working device. In this case, the excavator's trembling tooth tip reaches the target slope and enters the planned area. The operator pulls the dipper handle to enter the semi-automatic auxiliary control mode, and the excavator bucket tooth tip moves in a straight line along the target slope.

[0069] After entering the semi-automatic auxiliary control mode, the system will design and plan the path with the current tooth tip coordinate point on the slope as the starting point and the slope linear tooth tip motion direction infinite as the end point. It can be understood that the excavator working device realizes the free movement of the tooth tip in the Cartesian coordinate space by controlling the angle change of the joint angle of the two-link structure. The control method of the two-link structure can transform the trajectory planning problem of the bucket tooth tip into the angle planning problem of the boom joint angle and the dipper joint angle under the premise that the bucket joint angle remains unchanged.

[0070] Figure 2 The schematic diagram of the geometric relationship of the excavator boom in a specific embodiment of the present application is shown in FIG. The present application embodiment uses the inverse kinematics algorithm in robotics to solve the nonlinear problem of the joint angle. For a two-link structure, there are two independent degrees of freedom, such as Figure 2 As shown in the figure, if the tooth tip plane coordinates (x, y) are known, they can be solved directly by geometric methods. The corresponding relationship between the bucket tooth tip coordinates and the boom joint angle and the dipper arm joint angle satisfies formulas (2) to (9):

[0071] ; (2)

[0072] ; (3)

[0073] ; (4)

[0074] ; (5)

[0075] ; (6)

[0076] ; (7)

[0077] ; (8)

[0078] ; (9)

[0079] in, and is the bucket tooth tip coordinate, is the bucket joint angle, is the boom joint angle, is the arm joint angle, is the distance between the hinge points at both ends of the boom, is the distance between the hinge points at both ends of the boom, is the distance between the bucket hinge point and the bucket tooth tip, , , , , is an intermediate parameter. For its specific meaning, see Figure 2 .

[0080] Furthermore, due to the limitation of the working space of the excavator boom, the motion planning under zero tolerance can easily reach the extreme position. In order to avoid the planning from being terminated prematurely, the embodiment of the present application defines a tolerance to allow the planned path to deviate from the theoretical working trajectory to a certain extent. Figure 3 Schematic diagram of a preset trajectory tolerance interval in a specific embodiment of the present application, such as Figure 3 As shown, the deviation value in the vertical direction is added to the theoretical working trajectory to determine the trajectory tolerance interval. Furthermore, based on the one-to-one correspondence between the bucket tooth tip and the boom joint angle and the dipper arm joint angle, based on the preset evaluation dimension, the target working trajectory within the trajectory tolerance interval is determined according to the theoretical working trajectory of the bucket tooth tip.

[0081] In a specific embodiment of the present application, taking the preset evaluation dimensions as the angle deviation dimension, the angular velocity dimension and the distance deviation dimension as an example, an evaluation function is constructed based on the preset evaluation dimensions and the parameters of the boom, the dipper arm and the bucket of the excavator. The evaluation function is shown in formula (10):

[0082] ; (10)

[0083] in, is the evaluation value, is the distance deviation coefficient, is the smoothness coefficient, Angular velocity distribution coefficient, To set the expected value, is the distance deviation, is the angle deviation, is the angular velocity of the boom, is the angular velocity of the arm, is the preset angle threshold.

[0084] Furthermore, the target trajectory points of each theoretical trajectory point are determined based on the evaluation function to obtain the target operating trajectory. Based on the one-to-one correspondence between the bucket tooth tip and the boom joint angle and the dipper arm joint angle, the excavator is controlled according to the target operating trajectory so that the bucket tooth tip of the excavator operates according to the target operating trajectory. In this way, the use of the tolerance-based speed distribution planning algorithm solves the problem of planning stopping after the joint angle reaches the limit value in traditional inverse kinematics planning, greatly extending the planning distance and improving the actual application effect.

[0085] In a specific embodiment of the present application, taking an excavator as an example, the excavator includes a boom, a dipper arm and a bucket, wherein the boom and the dipper arm form a two-link structure when the angle of the bucket is fixed. Figure 4 This is a schematic diagram of the principle of feedforward + dual-loop PID combined control in a specific embodiment of this application. Since the hydraulic system of the excavator is highly coupled, it is difficult to ensure control accuracy using ordinary PID control. Therefore, this embodiment of the application adopts Figure 4 The control method shown combines feedforward control and dual-loop PID control to achieve precise control of the excavator boom.

[0086] Figure 5The schematic diagram of the principle of the feedforward control algorithm in a specific embodiment of the present application. The feedforward control algorithm can obtain the corresponding relationship of "current-cylinder speed" through the "current-pilot valve pressure" response curve of the electric control pilot valve, the "pilot valve pressure-main valve spool displacement-flow" response curve of the main valve and the "flow-cylinder speed" response curve of the cylinder. In addition, through data collection and using the attitude decomposition method, a table of corresponding relationships is established for the attitude of the working device, the control amount of the pilot valve, the angular velocity of the boom, the angular velocity of the dipper arm and the angular velocity of the bucket. Figure 5 As shown, according to the data calculation, the joint angle leading factor is applied to the control quantity , and , thus obtaining a more accurate feedforward control output.

[0087] Figure 6 This is a schematic diagram of the principle of dual-loop PID control in a specific embodiment of the present application. Since the feedforward compensation is performed through the angular velocity table lookup, the dual-loop PID also uses the angular velocity loop as the inner loop and the angle loop as the outer loop to maintain consistency. The output value of the angle loop is used as the target value of the angular velocity loop. According to the PID formula, when the distance to the target angle is getting closer and closer, the angle loop error is getting smaller and smaller, so that the input value of the angular velocity loop is getting smaller and smaller. The final effect is that the closer to the target angle, the smaller the angular velocity, which is adapted to the actual situation.

[0088] In this way, through the combined control of feedforward + dual-loop PID, the control performance is optimized, the working effect is made smoother, and it is helpful to avoid jamming.

[0089] The present application also provides a processor configured to execute the control method for the two-link structure in the above embodiment.

[0090] The present application also provides a working equipment, including: a two-link structure, the two-link structure including a hinged first link and a second link; and the processor in the above embodiment.

[0091] The present application also provides a machine-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the control method for the two-link structure in the above-mentioned embodiment is implemented.

[0092] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0093] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0094] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0096] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0097] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0098] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0099] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0100] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A control method for a two-link structure, It is characterized in that The two-link structure comprises a first link and a second link that are hinged, and the method comprises: Obtaining a theoretical trajectory point of the end of the two-link structure; Based on a preset evaluation dimension, a target trajectory point is determined in a candidate trajectory point group within a preset trajectory tolerance interval corresponding to the theoretical trajectory point, the preset evaluation dimension includes at least one of an angle deviation dimension and an angular velocity dimension, wherein the preset trajectory tolerance interval is a deviable interval corresponding to the theoretical trajectory point, the candidate trajectory point group is composed of a plurality of candidate trajectory points including the theoretical trajectory point in the preset trajectory tolerance interval, the angular velocity dimension includes a deviation of a relative value of an angular velocity of the first link and an angular velocity of the second link relative to a preset expected value, the angle deviation dimension includes an angle deviation between a straight line where the candidate trajectory point and a previous target trajectory point are located and a theoretical straight line, the theoretical straight line being a straight line where the previous target trajectory point and the previous previous target trajectory point are located; Controlling the ends of the two connecting rods to operate according to the target trajectory points; The step of determining the target trajectory point from a group of candidate trajectory points within a preset trajectory tolerance interval corresponding to the theoretical trajectory point based on a preset evaluation dimension includes: According to the preset corresponding relationship and the preset constraint relationship, the candidate trajectory point whose evaluation value is the target maximum value is determined as the target trajectory point, wherein the preset corresponding relationship is the corresponding relationship between the evaluation value of the candidate trajectory point and each of the preset evaluation dimensions, and the preset constraint relationship includes: the angle deviation in the angle deviation dimension is less than the preset angle threshold, and / or the angular velocity of the first connecting rod is within the corresponding preset angular velocity range, and / or the angular velocity of the second connecting rod is within the corresponding preset angular velocity range.

2. The control method according to claim 1, It is characterized in that The preset evaluation dimension includes a distance deviation dimension, and the distance deviation dimension includes a distance deviation between the candidate trajectory point and the theoretical trajectory point.

3. The control method according to claim 1, It is characterized in that When the number of the preset evaluation dimensions is at least two, the preset corresponding relationship includes: Determine the evaluation sub-values ​​of the candidate trajectory points in each of the preset evaluation dimensions, and weighted sum each of the evaluation sub-values ​​according to a preset weight value corresponding to each of the preset evaluation dimensions to obtain an evaluation value of each candidate trajectory point.

4. The control method according to claim 3, It is characterized in that The control method further comprises: In response to the user's input, the preset weight value corresponding to each of the preset evaluation dimensions is adjusted.

5. The control method according to claim 1, It is characterized in that The controlling the end of the two connecting rods to operate according to the target trajectory point includes: Determining a first target joint angle of the first connecting rod and a second target joint angle of the second connecting rod according to the target trajectory point; Acquire a first real-time joint angle of the first connecting rod and a second real-time joint angle of the second connecting rod; Based on a dual-loop PID control algorithm, a first valve control amount associated with the first connecting rod is determined according to the first target joint angle and the first real-time joint angle, and a second valve control amount associated with the second connecting rod is determined according to the second target joint angle and the second real-time joint angle, wherein the outer loop in the dual-loop PID control algorithm is an angle loop, and the inner loop is an angular velocity loop; The two-link structure is controlled according to the first valve control amount and the second valve control amount, so that the end of the two-link structure operates according to the target trajectory point.

6. The control method according to claim 5, It is characterized in that The control method further comprises: determining a first feedforward amount of the first link based on the first target joint angle, and determining a second feedforward amount of the first link based on the second target joint angle; The controlling the two-link structure according to the first valve control amount and the second valve control amount includes: The two-link structure is controlled according to the first valve control amount, the second valve control amount, the first feedforward amount, and the second feedforward amount.

7. A processor, It is characterized in that The method is configured to execute the control method for a two-link structure according to any one of claims 1 to 6.

8. An operating device, It is characterized in that include: A two-link structure, the two-link structure comprising a hinged first link and a second link; And a processor according to claim 7.

9. A machine-readable storage medium storing a program or instruction, It is characterized in that When the program or the instruction is executed by a processor, the control method for a two-link structure according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Design method for forming flower transplanting track by two-stage non-circular gear five-bar driving mechanism

    CN104657546A

  • Scanning track segmentation method, three-dimensional scanning control method and storage medium

    CN117754577A