A sheet metal bending mechanical arm follow-up control method and sheet metal bending robot
By converting the curve diagram of the bending machine into the posture diagram of the robotic arm, and adjusting the speed step by step according to the curvature extreme points, the impact and vibration problems caused by excessive angular acceleration of the sheet metal bending robotic arm are solved, and the The service life of the robotic arm.
Patent Information
- Application Number
- CN202210446638.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-26
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During the working process of the existing sheet metal bending robotic arm, due to excessive angular acceleration at a certain joint, the robotic arm suffers from impact, vibration and shortened service life.
By converting the curves of the pressing speed and time of the bending machine and the curves of the displacement and time into the posture and time curves of the clamping end of the bending robot arm, the angular acceleration and time curves of each joint are obtained. The speed is adjusted step by step according to the extreme point of curvature, and the angular acceleration is reduced until it is lower than the preset value to avoid excessive acceleration.
It effectively avoids the impact and vibration of the mechanical arm and extends the service life.
Smart Images

Figure CN114888131B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sheet metal bending, and in particular to a sheet metal bending mechanical arm follow-up control method and a sheet metal bending robot. Background Art
[0002] With the increasing demand for sheet metal automation at home and abroad, the traditional manual feeding bending machine can no longer meet the production needs due to its low efficiency, so a sheet metal bending robot arm that moves with the bending machine has been produced.
[0003] In the prior art, when the sheet metal bending robot arm is controlled by follow-up, manual trial and error is usually required to train the bending robot arm, which is inefficient. In order to overcome the problem of low efficiency, the existing bending robot arm moves with the bending machine, and the relationship between the pressing speed, position and time of the lower die of the bending machine is fed back to the torque and angular acceleration of each joint of the bending robot arm. Although it has the advantages of high efficiency and high precision, under this driving mode, the bending robot arm may be impacted and vibrated due to excessive angular acceleration at a joint, thereby shortening the service life of the bending robot arm. Summary of the invention
[0004] To this end, the technical problem to be solved by the present invention is to overcome the problem in the prior art that the service life of the bending robot arm may be shortened due to excessive angular acceleration at a joint during operation, and thus provide a sheet metal bending robot follow-up control method and a sheet metal bending robot.
[0005] In order to solve the above technical problems, the present invention provides a sheet metal bending robot arm follow-up control method, comprising the following steps:
[0006] S1: converting the curve graph of the bending machine's pressing speed and time and the curve graph of displacement and time into the curve graph of the position and time of the clamping end of the bending robot arm;
[0007] S2: According to the curve graph of the position and time of the clamping end of the bending robot arm, a curve graph of the angular acceleration and time of each joint in the following motion of the bending robot arm is obtained, and according to the extreme point of curvature in the curve graph of the angular acceleration and time at any joint, the curve graph is divided into n first segments, and it is determined whether the curvature of the angular acceleration and time in the curve of any first segment exceeds a preset value, wherein n is a positive integer greater than 1:
[0008] If it exceeds, the first segment is further divided into k second segments, and the speed of the bending robot in any second segment is adjusted to reduce the angular acceleration and time curvature of the first segment until the angular acceleration and time curvature of the first segment are lower than a preset value, where k is a positive integer;
[0009] If it does not exceed, the next first segment is judged, and the curve graph of the angular acceleration and time of the next joint is judged after all the first segments are traversed, until the curve graphs of the angular acceleration and time of all the joints of the bending robot arm are traversed;
[0010] S3: Feedback the curve graph of angular acceleration and time of all joints of the bending robot arm to the controller.
[0011] As a further improvement of the present invention, the method of receiving the curve graph of the bending machine's pressing speed and time and the curve graph of the displacement and time in step S1, and converting them into the curve graph of the position and time of the clamping end of the bending robot arm is: converting the received curve graph of the bending machine's pressing speed and time and the curve graph of the displacement and time into the curve graph of the position and time of the clamping end of the bending robot arm through ansys software and Matlab software.
[0012] As a further improvement of the present invention, in step S1, the curve graph of the bending machine's pressing speed and time and the curve graph of displacement and time are received and converted into the curve graph of the position and time of the clamping end of the bending robot arm, and the curve graph is a NURBS curve.
[0013] As a further improvement of the present invention, the method for adjusting the speed of any second segment in step S2 is: under the condition that the time remains unchanged, the displacement path of the bending robot arm is adjusted to change its speed, the acceleration is calculated according to the changed speed, and it is determined whether the acceleration is less than a preset value. If it is greater than or equal to the preset value, the displacement path of the bending robot arm is continued to be adjusted until the acceleration is less than the preset value. If it is less than the preset value, the speed adjustment is terminated.
[0014] As a further improvement of the present invention, when the speed of the bending robot arm is changed by adjusting the displacement path of the bending robot arm in step S2, the speed of the bending robot arm is limited to be less than the speed corresponding to the maximum bow height error.
[0015] As a further improvement of the present invention, when the displacement path of the bending robot arm is adjusted in step S2 to change its speed, the displacement of the bending robot arm is limited to be less than the bow height error constrained displacement and / or the normal acceleration constrained displacement.
[0016] In order to solve the above technical problems, the present invention also provides a sheet metal bending robot, comprising:
[0017] Bending robot; and
[0018] A first driving module drives the sheet metal bending robot arm to follow the movement through the above-mentioned sheet metal bending robot arm follow-up control method.
[0019] In order to solve the above technical problems, the present invention also provides a bending machine, comprising:
[0020] The second driving module drives the sheet metal bending robot arm to follow the above-mentioned sheet metal bending robot arm follow-up control method.
[0021] In order to solve the above technical problems, the present invention also provides a computer medium, on which a computer program is stored, and the computer program is executed by a processor to implement the above sheet metal bending robot arm follow-up control method.
[0022] In order to solve the above technical problem, the present invention also provides a computer, including the above computer medium.
[0023] The above technical solution of the present invention has the following advantages compared with the prior art:
[0024] A sheet metal bending robot follow-up control method described in the present invention adjusts the speed of the second segment to reduce the curvature of the angular acceleration and time of the first segment until it is lower than a preset value, and then feeds back the curve graph of the angular acceleration and time of all joints of the bending robot arm to a controller. The controller controls the movements of the joints of the bending robot arm to avoid impact and vibration of the bending robot arm caused by excessive acceleration, thereby extending the service life of the bending robot arm. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific embodiments of the present invention in conjunction with the accompanying drawings, wherein:
[0026] Figure 1 is a flow chart of a sheet metal bending robot follow-up control method in a preferred embodiment of the present invention;
[0027] Figure 2 is a bending process diagram of a bending machine in a preferred embodiment of the present invention;
[0028] Figure 3 It is a simulation bending effect diagram of ANSYS software in a preferred embodiment of the present invention;
[0029] Figure 4 is a bending angle curve diagram in a preferred embodiment of the present invention;
[0030] Figure 5 is a spatial trajectory curve diagram of point A in a preferred embodiment of the present invention;
[0031] Figure 6 is a horizontal coordinate curve diagram of point A in a preferred embodiment of the present invention;
[0032] Figure 7 is a vertical coordinate curve diagram of point A in a preferred embodiment of the present invention;
[0033] Figure 8 is a curve diagram of feed step length and time in the acceleration and deceleration algorithm model in the preferred embodiment of the present invention;
[0034] Fig. 9 is a curve diagram of speed and time in the acceleration and deceleration algorithm model in the preferred embodiment of the present invention;
[0035] Fig.10 is a curve diagram of acceleration and time in the acceleration and deceleration algorithm model in the preferred embodiment of the present invention;
[0036] Fig.11 It is a curve diagram of acceleration and time in the acceleration and deceleration algorithm model in the preferred embodiment of the present invention. DETAILED DESCRIPTION
[0037] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0038] Embodiment 1
[0039] In some embodiments, reference Figure 1 As shown, a sheet metal bending robot arm follow-up control method of the present invention comprises the following steps:
[0040] S1: converting the curve graph of the bending machine's pressing speed and time and the curve graph of displacement and time into the curve graph of the position and time of the clamping end of the bending robot arm;
[0041] S2: According to the curve graph of the position and time of the clamping end of the bending robot arm, a curve graph of the angular acceleration and time of each joint in the following motion of the bending robot arm is obtained, and according to the extreme point of curvature in the curve graph of the angular acceleration and time at any joint, the curve graph is divided into n first segments, and it is determined whether the curvature of the angular acceleration and time in the curve of any first segment exceeds a preset value, wherein n is a positive integer greater than 1:
[0042] If it exceeds, the first segment is further divided into k second segments, and the speed of the bending robot in any second segment is adjusted to reduce the angular acceleration and time curvature of the first segment until the angular acceleration and time curvature of the first segment are lower than a preset value, where k is a positive integer;
[0043] If it does not exceed, the next first segment is judged, and the curve graph of the angular acceleration and time of the next joint is judged after all the first segments are traversed, until the curve graphs of the angular acceleration and time of all the joints of the bending robot arm are traversed;
[0044] S3: Feedback the curve graph of angular acceleration and time of all joints of the bending robot arm to the controller.
[0045] In the sheet metal bending robot follow-up control method described in the present embodiment, the curve graph of the pressing speed and time and the curve graph of the displacement and time sent by the bending machine are first converted into the curve graph of the position and time of the clamping end of the bending robot arm, and the curve graph of the angular acceleration and time of each joint in the following process of the bending robot arm is obtained according to the curve graph of the position and time of the clamping end of the bending robot arm. The curve graph is divided into n first segments according to the extreme value points of curvature, and it is judged whether the curvature of the angular acceleration and time of the curve exceeds the preset value. The curve graph is divided into n first segments according to the extreme value points of curvature, which can ensure that the curve in each first segment is rising or falling, and avoid rising and falling at the same time in a single first segment: if it exceeds, the first segment is divided into k second segments, and any second segment is subjected to Speed adjustment, reduce the overall angular acceleration and time curvature of the first segment until the overall angular acceleration and time curvature of the first segment is lower than the preset value, by dividing the first segment into k second segments, the larger the k is, the smaller the length of each second segment is, and the closer the curvature of its curve is to the curvature of the straight line between the starting point and the end point of the second segment; if it does not exceed, judge the next first segment, and judge the next joint after traversing all the first segments at the joint, until traversing all the joints of the bending robot arm, and finally feed back the curve graph of the angular acceleration and time of all the joints of the bending robot arm to the controller, and the controller controls the posture of the clamping end of the bending robot arm according to the curve graph, which can avoid the impact and vibration of the bending robot arm caused by excessive acceleration, thereby extending the service life of the bending robot arm.
[0046] Reference Figure 4-Figure 7 As shown, the method of receiving the curve graph of the bending machine's pressing speed and time and the curve graph of the displacement and time in step S1, and converting them into the curve graph of the position and time of the clamping end of the bending robot arm is: converting the received curve graph of the bending machine's pressing speed and time and the curve graph of the displacement and time into the curve graph of the position and time of the clamping end of the bending robot arm through ansys software and Matlab software.
[0047] The clamping end of the bending robot arm is named point A. Figure 4-Figure 7 It can be seen that the posture and time curves of the clamping end of the bending robot arm can be obtained through ansys software and Matlab software, and the posture and time curves are respectively represented by the bending angle curve, the point A spatial trajectory curve, the point A horizontal coordinate curve and / or the point A vertical coordinate curve.
[0048] In some embodiments, the curve graphs of the bending machine's pressing speed and time and the displacement and time received in step S1 and converted into the curve graphs of the position and time of the clamping end of the bending robot arm are NURBS curves.
[0049] There are three ways to represent NURBS curves: rational fraction representation, rational basis function representation, and homogeneous coordinate representation. In this embodiment, an m-order NURBS curve is derived based on the basic expression of the NURBS curve combined with the rational fraction, that is:
[0050]
[0051] Among them, u is a parameter; C(u) is a polynomial function controlled by parameter u; ω i (i=0,1,...,n) is the weight or weight factor; parameter p i (i=0,1,...,n) is ω i (i=0,1,...,n) corresponding control vertex; N i,m (u) is the m-order B-spline basis function defined on the non-uniform knot vector U;
[0052] Preferably, before the speed adjustment, the arc length between any two points of the NURBS curve is calculated, and the same small displacement divides the parameter u into a sequence, and the length of the short straight line segment between two adjacent points is approximately equal to the arc length, that is:
[0053]
[0054] Calculate the curvature of any point on the NURBS curve and use the differential curvature method to solve it. The formula is:
[0055]
[0056] Among them, k(u i ) indicates that the parameter value on the NURBS curve is u i The curvature value at the coordinate point.
[0057] In some embodiments, the method for adjusting the speed of any second segment in step S2 is: while keeping the time unchanged, the speed of the bending robot arm is changed by adjusting the displacement path of the bending robot arm, and the acceleration is calculated according to the changed speed to determine whether the acceleration is less than a preset value. If it is greater than or equal to the preset value, the displacement path of the bending robot arm is continued to be adjusted until the acceleration is less than the preset value. If it is less than the preset value, the speed adjustment is terminated.
[0058] Under the condition that time remains unchanged, shortening the displacement path can increase the speed of the second segment, and extending the displacement path can reduce the speed of the second segment, thereby making the speed of each second segment more uniform and reducing the overall acceleration of the first segment.
[0059] In some embodiments, when the displacement path of the bending robot arm is adjusted to change its speed in step S2, the speed of the bending robot arm is limited to be less than the speed corresponding to the highest bow height error.
[0060] The bow height error is the error caused by using a straight line instead of the actual curve:
[0061]
[0062] Among them, M i 、N i They are step length L i and curve segment C(u i )C(u i+1 ) midpoint; straight line is the bow height error, which is the maximum distance between the actual motion trajectory and the motion trajectory of the paper;
[0063] The maximum speed must be less than the speed corresponding to the maximum bow height error allowed in the speed adjustment, that is:
[0064]
[0065]
[0066]
[0067] During the speed adjustment process, the displacement is small, and we can get:
[0068] ΔL(m)=v(u i )T
[0069]
[0070] Among them, k(u i ) is the curvature; T is the interpolation period; e is the allowable bow height error; ρ is the curvature radius of the given curve; ΔL (m) is the displacement of the interpolation process;
[0071] The maximum speed must be less than the maximum feed rate v allowed during interpolation. max ,Right now:
[0072] v i ≤v max ;
[0073] The maximum speed must also be less than the maximum normal acceleration a of the drive motor allowed during the interpolation process. Nmax The corresponding speed is:
[0074]
[0075] The maximum speed must also be less than the maximum acceleration J allowed by the drive motor during the interpolation process. max The corresponding speed is:
[0076]
[0077] In summary, the maximum feed rate of each point on the NURBS curve can be expressed as:
[0078]
[0079] In some embodiments, when the displacement path of the bending robot arm is adjusted to change its speed in step S2, the displacement of the bending robot arm is limited to be less than the bow height error constrained displacement and / or the normal acceleration constrained displacement.
[0080] The feed step length must be smaller than the bow height error constraint step length ΔL e ,Right now:
[0081]
[0082] Among them, ΔL e (m) is the feed step length to obtain the bow height error constraint; ε k is the distance between the midpoint of the given step length ΔL (m) and the midpoint of the arc; e is the maximum allowable bow height error; is the estimated step length;
[0083] The feed step size must be smaller than the normal acceleration constraint step size ΔL a ,Right now
[0084]
[0085] Where ρ is the radius of curvature of the given curve; a max is the normal acceleration; T is the interpolation period;
[0086] The feed step length should be smaller than the speed adjustment feed step length ΔL s ,Right now:
[0087] ΔL(m)≤ΔL s
[0088] In summary, the feeding step length per unit time during the robot's motion is:
[0089] ΔL(k)=min{ΔL S , ΔL e , ΔL a}.
[0090] In some embodiments, reference Figure 8-Figure 11As shown in the figure, k represents the acceleration coefficient in the acceleration stage or deceleration stage (satisfying t2-t1=t3-t2), j max and j min Respectively represent the maximum and minimum values of jerk, a max and a min They represent the maximum acceleration in the acceleration phase and the deceleration phase, v s and v e Respectively represent the adaptive velocity values of the start and end points of the NURBS curve, v max Indicates the maximum feed rate allowed for this section of the curve, l0 indicates the arc length from the starting point of the NURBS curve to the starting point of this section of the curve, and l1-l7 respectively indicate the arc length from this point on the curve to the starting point of the NURBS curve;
[0091] From the figure we can see:
[0092] (t1-t0)·(j max )=(t3-t1)·k·(j max )
[0093]
[0094]
[0095] The times t1, t2, and t3 can be obtained:
[0096]
[0097] From t2-t1=t3-t2, we can get
[0098] The analytical expression of j(t) can be obtained by combining the acceleration curve in the figure with the above formula:
[0099]
[0100] By taking the definite integral of the jerk expression and a(t0)=a(t3)=0, we can obtain the expression of a(t):
[0101]
[0102] Perform definite integration on the acceleration expression, and v(t0) = v s and v(t3)=v max , we can get the analytical expression of v(t):
[0103]
[0104] In the above formula, a maxIt is the maximum value of the acceleration stage, not the acceleration limit value itself. From the acceleration-time and speed-time relationship diagrams, we can get a max The equivalent form of is:
[0105]
[0106] Applying the same solution to the subsequent deceleration process from t4 to t7 will result in a similar expression, where t5-t4=t6-t5.
[0107] Embodiment 2
[0108] This embodiment provides a sheet metal bending robot. Figure 3 As shown, including:
[0109] Bending robot; and
[0110] A first driving module, wherein the first driving module drives the sheet metal bending robot arm to follow the movement through the sheet metal bending robot arm following control method of the first embodiment.
[0111] The first driving module drives the sheet metal bending robot arm to follow the sheet metal bending robot arm through the sheet metal bending robot arm follow-up control method of the first embodiment. The simulation bending effect in the ANSYS software is as follows: Figure 3 shown.
[0112] Embodiment 3
[0113] This embodiment provides a bending machine, comprising:
[0114] The second driving module drives the sheet metal bending robot arm to follow the movement through the sheet metal bending robot arm following control method of the second embodiment.
[0115] Reference Figure 2 As shown, the upper die of the bending machine goes through the downward stage, the clamping point, the bending stage, the bottom dead center and the return stage respectively.
[0116] Embodiment 4
[0117] This embodiment provides a computer medium, on which a computer program is stored. The computer program is executed by a processor to implement the sheet metal bending robot arm follow-up control method of the first embodiment.
[0118] Embodiment 5
[0119] This embodiment provides a computer, including the computer medium of embodiment 4.
[0120] 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 adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0121] 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.
[0122] 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 comprising 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.
[0123] 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. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0124] Obviously, the above embodiments are merely examples for clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the protection scope of the invention.
Claims
1. A sheet metal bending robot arm follow-up control method, characterized in that: The following steps are involved: S1: converting the curve graph of the bending machine's pressing speed and time and the curve graph of displacement and time into the curve graph of the position and time of the clamping end of the bending robot arm; S2: According to the curve graph of the position and time of the clamping end of the bending robot arm, a curve graph of the angular acceleration and time of each joint in the following motion of the bending robot arm is obtained, and according to the extreme point of curvature in the curve graph of the angular acceleration and time at any joint, the curve graph is divided into n first segments, and it is determined whether the curvature of the angular acceleration and time in the curve of any first segment exceeds a preset value, wherein n is a positive integer greater than 1: If it exceeds, the first segment is further divided into k second segments, and the speed of the bending robot in any second segment is adjusted to reduce the angular acceleration and time curvature of the first segment until the angular acceleration and time curvature of the first segment are lower than a preset value, where k is a positive integer; If it does not exceed, the next first segment is judged, and the curve graph of the angular acceleration and time of the next joint is judged after all the first segments are traversed, until the curve graphs of the angular acceleration and time of all the joints of the bending robot arm are traversed; S3: Feedback the curve graph of angular acceleration and time of all joints of the bending robot arm to the controller.
2. A sheet metal bending robot follow-up control method according to claim 1, characterized in that: The method of receiving the curve graph of the bending machine's pressing speed and time and the curve graph of the displacement and time in step S1, and converting them into the curve graph of the position and time of the clamping end of the bending robot arm is: converting the received curve graph of the bending machine's pressing speed and time and the curve graph of the displacement and time into the curve graph of the position and time of the clamping end of the bending robot arm through ansys software and Matlab software.
3. A sheet metal bending robot follow-up control method according to claim 1 or 2, characterized in that: In the step S1, a curve graph of the pressing speed and time of the bending machine and a curve graph of the displacement and time are received and converted into a curve graph of the position and time of the clamping end of the bending robot arm, in which the curve graph is a NURBS curve.
4. A sheet metal bending robot follow-up control method according to claim 1, characterized in that: The method for adjusting the speed of any second segment in step S2 is: when the time remains unchanged, the displacement path of the bending robot arm is adjusted to change its speed, the acceleration is calculated according to the changed speed, and it is determined whether the acceleration is less than a preset value. If it is greater than or equal to the preset value, the displacement path of the bending robot arm is continuously adjusted until the acceleration is less than the preset value. If it is less than the preset value, the speed adjustment is terminated.
5. A sheet metal bending robot follow-up control method according to claim 4, characterized in that: When the displacement path of the bending robot arm is adjusted to change its speed in step S2, the speed of the bending robot arm is limited to be less than the speed corresponding to the maximum bow height error.
6. A sheet metal bending robot follow-up control method according to claim 4, characterized in that: When the displacement path of the bending robot arm is adjusted to change its speed in step S2, the displacement of the bending robot arm is limited to be smaller than the bow height error constraint displacement and / or the normal acceleration constraint displacement.
7. A sheet metal bending robot, characterized in that: include: Bending robot arm; and A first driving module, wherein the first driving module drives the sheet metal bending robot arm to follow the movement through the sheet metal bending robot arm follow-up control method described in any one of claims 1 to 6.
8. A bending machine, characterized in that: include: A second driving module, wherein the second driving module drives the sheet metal bending robot arm to follow the sheet metal bending robot arm through the sheet metal bending robot arm follow-up control method described in any one of claims 1-6.
9. A computer medium, characterized in that The computer medium stores a computer program, and the computer program is executed by a processor to implement the sheet metal bending robot arm follow-up control method described in any one of claims 1 to 6.
10. A computer, characterized in that: Comprising a computer medium according to claim 9.
