Movatterモバイル変換


[0]ホーム

URL:


CN115674183B - Control method, device and control system of mechanical arm - Google Patents

Control method, device and control system of mechanical arm
Download PDF

Info

Publication number
CN115674183B
CN115674183BCN202110867095.7ACN202110867095ACN115674183BCN 115674183 BCN115674183 BCN 115674183BCN 202110867095 ACN202110867095 ACN 202110867095ACN 115674183 BCN115674183 BCN 115674183B
Authority
CN
China
Prior art keywords
parameter
current moment
robotic arm
current
target position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110867095.7A
Other languages
Chinese (zh)
Other versions
CN115674183A (en
Inventor
张彬
阿明·鲁
李季
范顺杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Siemens Corp
Original Assignee
Siemens Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Siemens CorpfiledCriticalSiemens Corp
Priority to CN202110867095.7ApriorityCriticalpatent/CN115674183B/en
Publication of CN115674183ApublicationCriticalpatent/CN115674183A/en
Application grantedgrantedCritical
Publication of CN115674183BpublicationCriticalpatent/CN115674183B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本发明提出了一种机械臂的控制方法,所述机械臂的控制方法包括:获取所述机械臂的初始位置和目标位置,并将所述初始位置和所述目标位置输入模型预测控制器中;根据所述初始位置和所述目标位置在所述模型预测控制器输出当前时刻的状态参数,将所述当前时刻的状态参数分别输入机械臂控制器和预测模型中;根据所述当前时刻的状态参数在所述机械臂控制器输出当前时刻的目标参数,根据所述当前时刻的状态参数在所述预测模型输出下一时刻的预测参数;加和所述目标参数和所述预测参数得到合并参数,控制所述机械臂以所述合并参数运动至所述目标位置。

The present invention proposes a control method for a robotic arm, which includes: obtaining an initial position and a target position of the robotic arm, and inputting the initial position and the target position into a model prediction controller; outputting state parameters at a current moment in the model prediction controller according to the initial position and the target position, and inputting the state parameters at a current moment into the robotic arm controller and a prediction model, respectively; outputting the target parameters at a current moment in the robotic arm controller according to the state parameters at a current moment, and outputting prediction parameters at a next moment in the prediction model according to the state parameters at a current moment; adding the target parameters and the prediction parameters to obtain a combined parameter, and controlling the robotic arm to move to the target position with the combined parameter.

Description

Control method, device and control system of mechanical arm
Technical Field
The present invention relates to the field of mechanical control, and in particular, to a method, an apparatus, and a control system for controlling a mechanical arm.
Background
Proportional-integral-differential (Proportional INTEGRAL DERIVATIVE, PID) control is widely applied to control of mechanical arms because of the advantages of simplicity and easy calculation. However, it is difficult to achieve a combination of speed and stability depending on only PID control, and PID control has certain limitations in handling constraints. To address the limitations of PID control, some more advanced intelligent control algorithms have been proposed, such as impedance control (IMPEDANCE CONTROL), torque control (torque control), adaptive control (adaptive control), however these algorithms require the provision of accurate mathematical models of the controlled object, i.e. the creation of accurate mathematical models based on physical and chemical principles, and furthermore, due to the strong relevance, non-linearity, multiple input multiple output characteristics of the manipulator model, it is increasingly difficult to use these control algorithms to predict, optimize, control and evaluate in industrial production flows.
Disclosure of Invention
In order to solve the technical problems, the invention provides a control method, a device and a control system for a mechanical arm, which can stably and rapidly control the mechanical arm.
In order to achieve the aim, the invention provides a control method of a mechanical arm, which comprises the steps of obtaining an initial position and a target position of the mechanical arm, inputting the initial position and the target position into a model prediction controller, outputting state parameters at the current moment according to the initial position and the target position at the model prediction controller, respectively inputting the state parameters at the current moment into the mechanical arm controller and a prediction model, outputting target parameters at the current moment according to the state parameters at the current moment at the mechanical arm controller, outputting predicted parameters at the next moment according to the state parameters at the current moment at the prediction model, adding the target parameters and the predicted parameters to obtain a combined parameter, and controlling the mechanical arm to move to the target position with the combined parameter. Therefore, the target parameter at the current moment is output through the mechanical arm, the predicted parameter at the next moment is output through the prediction model, the target parameter and the predicted parameter are added to obtain the combined parameter, and the mechanical arm is controlled to move to the target position according to the combined parameter, so that the motion of the mechanical arm is corrected by generating the predicted parameter through the prediction model, and the stability of the motion of the mechanical arm is improved.
In one embodiment of the invention, the method further comprises the steps of calculating the current position of the mechanical arm corresponding to the merging parameter, comparing the current position with a threshold value, adding the current position with the target position when the current position is larger than the threshold value, and inputting the added value of the current position and the target position into the model prediction controller. Therefore, a feedback loop is formed, and the stability and accuracy of the movement of the mechanical arm are further improved.
In an embodiment of the invention, the state parameters include an angle and an angular velocity of the mechanical arm. For this reason, stable control of the angle and the angular velocity is achieved.
In an embodiment of the present invention, the following formula is adopted to output the prediction parameters of the next moment according to the state parameters of the current moment in the prediction model, wherein x (k+1) =ax (k) +bu (k) y (k) =cx (k), a, B, C are constants, x (k+1) represents the angle vector of each joint in the mechanical arm input at the moment k+1, x (k) represents the angle vector of each joint in the mechanical arm input at the moment k, u (k) represents the angle vector of each joint in the mechanical arm input at the moment k, and y (k) represents the angle vector of each joint in the mechanical arm output at the moment k. For this purpose, it is achieved that the prediction model predicts the parameters at the next moment.
In one embodiment of the invention, outputting the state parameter at the current time at the model predictive controller based on the initial position and the target position includes outputting the state parameter at the current time at the model predictive controller based on the initial position and the target position using a minimization cost function. For this purpose, control of the model predictive controller is achieved.
The invention further provides a control device of the mechanical arm, which comprises an acquisition module, a first processing module, a second processing module and a calculation control module, wherein the acquisition module acquires an initial position and a target position of the mechanical arm, the initial position and the target position are input into a model prediction controller, the first processing module outputs state parameters at the current moment at the model prediction controller according to the initial position and the target position, the state parameters at the current moment are respectively input into the mechanical arm controller and the prediction model, the second processing module outputs target parameters at the current moment at the mechanical arm controller according to the state parameters at the current moment, the prediction parameters at the next moment are output at the prediction model according to the state parameters at the current moment, and the calculation control module adds the target parameters and the prediction parameters to obtain a combination parameter so as to control the mechanical arm to move to the target position with the combination parameter.
In one embodiment of the invention, the device further comprises a step of calculating the current position of the mechanical arm corresponding to the merging parameter, a step of comparing the current position with a threshold value, a step of adding the current position with the target position when the current position is larger than the threshold value, and a step of inputting the added value of the current position and the target position into the model prediction controller.
In an embodiment of the invention, the state parameters include an angle and an angular velocity of the mechanical arm.
In an embodiment of the present invention, the following formula is adopted to output the prediction parameters of the next moment according to the state parameters of the current moment in the prediction model, wherein x (k+1) =ax (k) +bu (k) y (k) =cx (k), a, B, C are constants, x (k+1) represents the angle vector of each joint in the mechanical arm input at the moment k+1, x (k) represents the angle vector of each joint in the mechanical arm input at the moment k, u (k) represents the angle vector of each joint in the mechanical arm input at the moment k, and y (k) represents the angle vector of each joint in the mechanical arm output at the moment k.
In one embodiment of the invention, outputting the state parameter at the current time at the model predictive controller based on the initial position and the target position includes outputting the state parameter at the current time at the model predictive controller based on the initial position and the target position using a minimization cost function.
The invention further provides a control system of the mechanical arm, which comprises a model prediction controller, a mechanical arm controller, a prediction model and an adder, wherein the model prediction controller outputs state parameters at the current moment according to the received initial position and the target position, the mechanical arm controller receives the state parameters at the current moment and outputs target parameters at the current moment according to the state parameters at the current moment, the prediction model receives the state parameters at the current moment and outputs predicted parameters at the next moment according to the state parameters at the current moment, and the adder adds the target parameters and the predicted parameters to obtain a combined parameter, and the combined parameter is used for controlling the mechanical arm to move to the target position with the combined parameter.
The invention also proposes a mechanical system comprising a robotic arm and a control system as claimed in claim 11 for controlling the robotic arm.
The invention also proposes an electronic device comprising a processor, a memory and instructions stored in said memory, wherein said instructions, when executed by said processor, implement a method as described above.
The invention also proposes a computer readable storage medium having stored thereon computer instructions which, when executed, perform a method according to the above.
Drawings
The following drawings are only for purposes of illustration and explanation of the present invention and are not intended to limit the scope of the invention. Wherein, the
FIG. 1 is a flow chart of a method of controlling a robotic arm according to one embodiment of the invention;
FIG. 2 is a control logic diagram of a robotic arm according to one embodiment of the invention;
FIG. 3 is a schematic diagram of a control device for a robotic arm according to an embodiment of the invention;
FIG. 4 is a schematic diagram of a control system for a robotic arm according to one embodiment of the invention;
FIG. 5 is a schematic illustration of a mechanical system according to an embodiment of the invention;
FIG. 6 is a schematic diagram of an electronic device according to an embodiment of the invention;
Fig. 7A-7G are schematic diagrams of simulation results of a 7-degree-of-freedom mechanical arm of a control method according to an embodiment of the invention.
Description of the reference numerals
100. Control method of mechanical arm
110-140 Steps
210. Input device
220. Model predictive controller
230. Mechanical arm controller
240. Predictive model
250. Judgment unit
260. Output of
270. First adder
280. Second adder
300. Control device of mechanical arm
310. Acquisition module
320. First processing module
330. Second processing module
340. Calculation control module
400. Control system of mechanical arm
410. Model predictive controller
420. Mechanical arm controller
430. Predictive model
440. Adder device
500. Mechanical system
510. Control system of mechanical arm
520. Mechanical arm
600. Electronic equipment
610. Processor and method for controlling the same
620. Memory device
Detailed Description
For a clearer understanding of technical features, objects, and effects of the present invention, a specific embodiment of the present invention will be described with reference to the accompanying drawings.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than as described herein, and therefore the present invention is not limited to the specific embodiments disclosed below.
As used in the specification and in the claims, the terms "a," "an," "the," and/or "the" are not specific to a singular, but may include a plurality, unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that the steps and elements are explicitly identified, and they do not constitute an exclusive list, as other steps or elements may be included in a method or apparatus.
The present invention provides a control method of a mechanical arm, fig. 1 is a flowchart of a control method 100 of a mechanical arm according to an embodiment of the present invention, fig. 2 is a control logic diagram of a mechanical arm according to an embodiment of the present invention, and the control method of a mechanical arm according to an embodiment of the present invention is described below with reference to fig. 1 and 2, as shown in fig. 1, the control method of a mechanical arm includes:
step 110, acquiring an initial position and a target position of the mechanical arm, and inputting the initial position and the target position into a model predictive controller.
The initial position of the mechanical arm can be obtained through a position sensor arranged on the mechanical arm, the target position of the mechanical arm can be obtained from a user through a man-machine interface, and the initial position and the target position of the mechanical arm can be coordinates under a mechanical arm coordinate system or coordinates under a world coordinate system. In fig. 2, the input 210 includes an initial position and a target position of the robot arm, which are input as positive feedback to the model predictive controller 220 via the first adder 270.
And 120, outputting the state parameters at the current moment at the model predictive controller according to the initial position and the target position, and respectively inputting the state parameters at the current moment into the mechanical arm controller and the predictive model.
After the initial position and the target position are input to the model predictive controller 220, the model predictive controller 220 outputs a state parameter at a current time according to the initial position and the target position using a mathematical model. In some embodiments, the state parameters include an angle and an angular velocity of the robotic arm. Taking a six-joint robot as an example, the output of the model predictive controller 220 may be a 12 x 1 matrix, where the first 6 rows are angles of the current moment of the 6 joints and the last 6 rows are angular velocities of the current moment of the 6 joints. In some embodiments, outputting the state parameter at the current time at the model predictive controller based on the initial position and the target position includes outputting the state parameter at the current time at the model predictive controller based on the initial position and the target position using a minimization cost function.
And 130, outputting a target parameter at the current moment at the mechanical arm controller according to the state parameter at the current moment, and outputting a predicted parameter at the next moment at the prediction model according to the state parameter at the current moment.
After the state parameter at the current moment is input to the mechanical arm controller 230, the mechanical arm controller 230 outputs the target parameter at the current moment according to the state parameter at the current moment by using a control algorithm, and for example, the output of the mechanical arm controller 230 may be a matrix of 6*1, where each row represents the target angles of 6 joints.
After the state parameter at the current moment is input to the prediction model 240, the prediction model 240 outputs the prediction parameter at the next moment according to the state parameter at the current moment, and taking a six-joint robot as an example, the output of the prediction model 240 may be a matrix of 6*1, and each row represents the prediction angles of 6 joints.
In some embodiments, the following formula may be used to output the predicted parameters at the next time in the prediction model based on the state parameters at the current time:
x(k+1)=Ax(k)+Bu(k)
y(k)=Cx(k)
Where a, B, and C are constants, x (k+1) represents an angle vector of each joint in the robot arm input at time k+1, x (k) represents an angle vector of each joint in the robot arm input at time k, u (k) represents an angle vector of each joint in the robot arm input at time k, and y (k) represents an angle vector of each joint in the robot arm output at time k.
And 140, adding the target parameter and the predicted parameter to obtain a combined parameter, and controlling the mechanical arm to move the combined parameter to the target position.
The output target parameter of the mechanical arm controller 230 is used as positive feedback to be output 260 through the second adder 280, the output predicted parameter of the prediction model 240 is used as negative feedback to be output 260 through the second adder 280, namely, the target parameter and the predicted parameter are added to obtain a combined parameter, the target parameter in the combined parameter is used as a positive value, and the predicted parameter is used as a negative value, so that the motion of the mechanical arm is corrected through the prediction model, and the stability of the motion of the mechanical arm is improved. The combining parameters are then sent to a robot driver (not shown in the figure) which controls the movement of the robot to the target position according to the combining parameters.
In some embodiments, the method 100 further includes calculating a current position of the robotic arm corresponding to the combining parameter, comparing the current position to a threshold, and adding the current position to the target position when the current position is greater than the threshold, and inputting the added value of the current position and the target position to the model predictive controller. In fig. 2, the combination parameter output by the second adder 280 is further input to the determining unit 250, the determining unit 250 calculates the current position of the mechanical arm corresponding to the combination parameter, compares the current position with a threshold, and if the current position is greater than the threshold, the current position is input to the first adder 270 as negative feedback, and the target position is input to the first adder 270 as positive input, otherwise, to the output 260. Therefore, a feedback loop is formed, and the stability and accuracy of the movement of the mechanical arm are further improved.
Fig. 7A-7G are schematic diagrams of simulation results of a 7-joint mechanical arm according to a control method according to an embodiment of the invention. Fig. 7A to 7G correspond to each joint, respectively, with time on the abscissa, in seconds(s), joint angle on the ordinate, in degrees (°), and the solid line is an angle simulation curve using the control method according to the embodiment of the present invention, and the dotted line is an angle simulation curve using the PID control method, and it can be seen from fig. 7A to 7G that the steady state can be achieved within 0.5 seconds, regardless of whether the control method according to the embodiment of the present invention or the PID control method is used, however, the fluctuation of the control method according to the embodiment of the present invention is smaller, that is, the stability is higher.
The embodiment of the invention provides a control method of a mechanical arm, which comprises the steps of outputting a target parameter at the current moment through the mechanical arm, outputting a predicted parameter at the next moment through a prediction model, adding the target parameter and the predicted parameter to obtain a combined parameter, and controlling the mechanical arm to move to a target position by the combined parameter, so that the motion of the mechanical arm is corrected by generating the predicted parameter through the prediction model, and the motion stability of the mechanical arm is improved.
The present invention further proposes a control device 300 for a robotic arm, and fig. 3 is a schematic diagram of a control device 300 for a robotic arm according to an embodiment of the present invention, as shown in fig. 3, the control device 300 for a robotic arm includes:
The acquiring module 310 acquires an initial position and a target position of the mechanical arm, and inputs the initial position and the target position into the model predictive controller.
The first processing module 320 outputs a state parameter at the current moment at the model predictive controller according to the initial position and the target position, and inputs the state parameter at the current moment into the mechanical arm controller and the predictive model respectively.
The second processing module 330 outputs the target parameter at the current moment at the mechanical arm controller according to the state parameter at the current moment, and outputs the predicted parameter at the next moment at the prediction model according to the state parameter at the current moment.
The calculation control module 340 sums the target parameter and the predicted parameter to obtain a combined parameter, and controls the mechanical arm to move the combined parameter to the target position.
In some embodiments, the apparatus 300 further includes calculating a current position of the robotic arm corresponding to the combining parameter, comparing the current position to a threshold, and adding the current position to the target position when the current position is greater than the threshold, and inputting the added value of the current position and the target position to the model predictive controller.
In some embodiments, the state parameters include an angle and an angular velocity of the robotic arm.
In some embodiments, the following formula is used to output the predicted parameters at the next time in the prediction model based on the state parameters at the current time:
x(k+1)=Ax(k)+Bu(k)
y(k)=Cx(k)
Where a, B, and C are constants, x (k+1) represents an angle vector of each joint in the robot arm input at time k+1, x (k) represents an angle vector of each joint in the robot arm input at time k, u (k) represents an angle vector of each joint in the robot arm input at time k, and y (k) represents an angle vector of each joint in the robot arm output at time k.
In some embodiments, outputting the state parameter at the current time at the model predictive controller based on the initial position and the target position includes outputting the state parameter at the current time at the model predictive controller based on the initial position and the target position using a minimization cost function.
The present invention further proposes a control system 400 for a robotic arm, and fig. 4 is a schematic diagram of a control system for a robotic arm according to an embodiment of the present invention, as shown in fig. 4, the control system 400 for a robotic arm includes:
The model predictive controller 410 outputs a state parameter at the current time based on the received initial position and target position.
The robot arm controller 420 receives the state parameter at the current time and outputs the target parameter at the current time according to the state parameter at the current time.
The prediction model 430 receives the state parameter at the current time and outputs the predicted parameter at the next time according to the state parameter at the current time.
The adder 440 adds the target parameter and the predicted parameter to obtain a combined parameter, and the combined parameter is used to control the robot arm to move the combined parameter to the target position.
The present invention also proposes a mechanical system 500, fig. 5 is a schematic diagram of a mechanical system 500 according to an embodiment of the present invention, and as shown in fig. 5, the mechanical system 500 includes a mechanical arm 520 and a control system 510 for controlling the mechanical arm of the mechanical arm 520, where the control system 510 of the mechanical arm may be the control system 400 of the mechanical arm.
The invention also proposes an electronic device 600. Fig. 6 is a schematic diagram of an electronic device 600 according to an embodiment of the invention. As shown in fig. 6, electronic device 600 includes a processor 610 and a memory 620, with instructions stored in memory 620, wherein the instructions when executed by processor 610 implement method 100 as described above.
The present invention also proposes a computer readable storage medium having stored thereon computer instructions which, when executed, perform the method 100 as described above.
Some aspects of the methods and apparatus of the present invention may be performed entirely by hardware, entirely by software (including firmware, resident software, micro-code, etc.) or by a combination of hardware and software. The above hardware or software may be referred to as a "data block," module, "" engine, "" unit, "" component, "or" system. The processor may be one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital signal processing devices (DAPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, or a combination thereof. Furthermore, aspects of the invention may take the form of a computer product, comprising computer-readable program code, embodied in one or more computer-readable media. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disk, floppy disk, magnetic cassettes, optical disks, compact disks (e.g., compact Disks (CDs), digital Versatile Disks (DVDs)), smart cards, and flash memory devices (e.g., cards, sticks, key drives).
A flowchart is used herein to describe the operations performed by methods according to embodiments of the present application. It should be appreciated that the foregoing operations are not necessarily performed in order precisely. Rather, the various steps may be processed in reverse order or simultaneously. At the same time, other operations are added to or removed from these processes.
It should be understood that although the present disclosure has been described in terms of various embodiments, not every embodiment is provided with a separate technical solution, and this description is for clarity only, and those skilled in the art should consider the disclosure as a whole, and the technical solutions in the various embodiments may be combined appropriately to form other embodiments that will be understood by those skilled in the art.
The foregoing is illustrative of the present invention and is not to be construed as limiting the scope of the invention. Any equivalent alterations, modifications and combinations thereof will be effected by those skilled in the art without departing from the spirit and principles of this invention, and it is intended to be within the scope of the invention.

Claims (8)

Translated fromChinese
1.一种机械臂的控制方法(100),其特征在于,所述机械臂的控制方法(100)包括:1. A method (100) for controlling a robot arm, characterized in that the method (100) for controlling a robot arm comprises:获取所述机械臂的初始位置和目标位置,并将所述初始位置和所述目标位置输入模型预测控制器中(110);Acquiring an initial position and a target position of the robot arm, and inputting the initial position and the target position into a model predictive controller (110);根据所述初始位置和所述目标位置在所述模型预测控制器输出当前时刻的状态参数,将所述当前时刻的状态参数分别输入机械臂控制器和预测模型中(120);Outputting the state parameters of the current moment in the model prediction controller according to the initial position and the target position, and inputting the state parameters of the current moment into the robot controller and the prediction model respectively (120);根据所述当前时刻的状态参数在所述机械臂控制器输出当前时刻的目标参数,根据所述当前时刻的状态参数在所述预测模型输出下一时刻的预测参数(130);Outputting the target parameter at the current moment in the robot controller according to the state parameter at the current moment, and outputting the prediction parameter at the next moment in the prediction model according to the state parameter at the current moment (130);加和所述目标参数和所述预测参数得到合并参数,控制所述机械臂以所述合并参数运动至所述目标位置(140);Adding the target parameter and the predicted parameter to obtain a combined parameter, and controlling the robot arm to move to the target position with the combined parameter (140);其中,所述状态参数包括所述机械臂的角度和角速度;Wherein, the state parameters include the angle and angular velocity of the robotic arm;采用下列公式根据所述当前时刻的状态参数在所述预测模型输出下一时刻的预测参数:The following formula is used to output the prediction parameters of the next moment in the prediction model according to the state parameters of the current moment:x(k+1)=Ax(k)+Bu(k)x(k+1)=Ax(k)+Bu(k)y(k)=Cx(k)y(k)=Cx(k)其中,A,B,C为常数,x(k+1)表示k+1时刻输入的机械臂中各个关节的角度向量,x(k)表示k时刻输入的机械臂中各个关节的角度向量,u(k)表示k时刻输入的机械臂中各个关节的角速度向量,y(k)表示k时刻输出的机械臂中各个关节的角度向量;Where A, B, and C are constants, x(k+1) represents the angle vector of each joint in the robotic arm input at time k+1, x(k) represents the angle vector of each joint in the robotic arm input at time k, u(k) represents the angular velocity vector of each joint in the robotic arm input at time k, and y(k) represents the angle vector of each joint in the robotic arm output at time k;根据所述初始位置和所述目标位置在所述模型预测控制器输出当前时刻的状态参数包括:使用最小化代价函数根据所述初始位置和所述目标位置在所述模型预测控制器输出当前时刻的状态参数。Outputting the state parameters of the current moment in the model predictive controller according to the initial position and the target position includes: outputting the state parameters of the current moment in the model predictive controller according to the initial position and the target position using a minimization cost function.2.根据权利要求1所述的控制方法(100),其特征在于,所述方法(100)还包括:计算所述合并参数对应的所述机械臂的当前位置,比较所述当前位置与一阈值,以及在所述当前位置大于所述阈值时,加和所述当前位置与所述目标位置,并将所述当前位置与所述目标位置的加和值输入所述模型预测控制器中。2. The control method (100) according to claim 1 is characterized in that the method (100) also includes: calculating the current position of the robotic arm corresponding to the combined parameter, comparing the current position with a threshold, and when the current position is greater than the threshold, adding the current position and the target position, and inputting the sum of the current position and the target position into the model predictive controller.3.一种机械臂的控制装置(300),其特征在于,所述机械臂的控制装置(300)包括:3. A control device (300) for a robotic arm, characterized in that the control device (300) for the robotic arm comprises:获取模块(310),获取所述机械臂的初始位置和目标位置,并将所述初始位置和所述目标位置输入模型预测控制器中;An acquisition module (310) acquires an initial position and a target position of the robot arm, and inputs the initial position and the target position into a model prediction controller;第一处理模块(320),根据所述初始位置和所述目标位置在所述模型预测控制器输出当前时刻的状态参数,将所述当前时刻的状态参数分别输入机械臂控制器和预测模型中;A first processing module (320) outputs a state parameter at a current moment in the model prediction controller according to the initial position and the target position, and inputs the state parameter at the current moment into the robot controller and the prediction model respectively;第二处理模块(330),根据所述当前时刻的状态参数在所述机械臂控制器输出当前时刻的目标参数,根据所述当前时刻的状态参数在所述预测模型输出下一时刻的预测参数;A second processing module (330) is configured to output the target parameter at the current moment in the robot controller according to the state parameter at the current moment, and to output the prediction parameter at the next moment in the prediction model according to the state parameter at the current moment;计算控制模块(340),加和所述目标参数和所述预测参数得到合并参数,控制所述机械臂以所述合并参数运动至所述目标位置;A calculation control module (340) is configured to add the target parameter and the predicted parameter to obtain a combined parameter, and control the mechanical arm to move to the target position with the combined parameter;其中,所述状态参数包括所述机械臂的角度和角速度;Wherein, the state parameters include the angle and angular velocity of the robotic arm;采用下列公式根据所述当前时刻的状态参数在所述预测模型输出下一时刻的预测参数:The following formula is used to output the prediction parameters of the next moment in the prediction model according to the state parameters of the current moment:x(k+1)=Ax(k)+Bu(k)x(k+1)=Ax(k)+Bu(k)y(k)=Cx(k)y(k)=Cx(k)其中,A,B,C为常数,x(k+1)表示k+1时刻输入的机械臂中各个关节的角度向量,x(k)表示k时刻输入的机械臂中各个关节的角度向量,u(k)表示k时刻输入的机械臂中各个关节的角速度向量,y(k)表示k时刻输出的机械臂中各个关节的角度向量;Where A, B, and C are constants, x(k+1) represents the angle vector of each joint in the robotic arm input at time k+1, x(k) represents the angle vector of each joint in the robotic arm input at time k, u(k) represents the angular velocity vector of each joint in the robotic arm input at time k, and y(k) represents the angle vector of each joint in the robotic arm output at time k;根据所述初始位置和所述目标位置在所述模型预测控制器输出当前时刻的状态参数包括:使用最小化代价函数根据所述初始位置和所述目标位置在所述模型预测控制器输出当前时刻的状态参数。Outputting the state parameters of the current moment in the model predictive controller according to the initial position and the target position includes: outputting the state parameters of the current moment in the model predictive controller according to the initial position and the target position using a minimization cost function.4.根据权利要求3所述的控制装置(300),其特征在于,所述装置(300)还包括:计算所述合并参数对应的所述机械臂的当前位置,比较所述当前位置与一阈值,以及在所述当前位置大于所述阈值时,加和所述当前位置与所述目标位置,并将所述当前位置与所述目标位置的加和值输入所述模型预测控制器中。4. The control device (300) according to claim 3 is characterized in that the device (300) also includes: calculating the current position of the robotic arm corresponding to the combined parameter, comparing the current position with a threshold, and when the current position is greater than the threshold, adding the current position and the target position, and inputting the sum of the current position and the target position into the model predictive controller.5.一种机械臂的控制系统(400),其特征在于,所述机械臂的控制系统(400)包括:5. A control system (400) for a robotic arm, characterized in that the control system (400) for the robotic arm comprises:模型预测控制器(410),根据接收的初始位置和目标位置输出当前时刻的状态参数;A model prediction controller (410) outputs a state parameter at a current moment according to the received initial position and target position;机械臂控制器(420),接收所述当前时刻的状态参数并根据所述当前时刻的状态参数输出当前时刻的目标参数;A robot arm controller (420) receives the state parameters at the current moment and outputs the target parameters at the current moment according to the state parameters at the current moment;预测模型(430),接收所述当前时刻的状态参数并根据所述当前时刻的状态参数输出下一时刻的预测参数;A prediction model (430) receives the state parameters at the current moment and outputs prediction parameters at the next moment according to the state parameters at the current moment;加法器(440),加和所述目标参数和所述预测参数得到一合并参数,所述合并参数用于控制所述机械臂以所述合并参数运动至所述目标位置;an adder (440), adding the target parameter and the predicted parameter to obtain a combined parameter, wherein the combined parameter is used to control the robot arm to move to the target position with the combined parameter;其中,所述状态参数包括所述机械臂的角度和角速度;Wherein, the state parameters include the angle and angular velocity of the robotic arm;采用下列公式根据所述当前时刻的状态参数在所述预测模型输出下一时刻的预测参数:The following formula is used to output the prediction parameters of the next moment in the prediction model according to the state parameters of the current moment:x(k+1)=Ax(k)+Bu(k)x(k+1)=Ax(k)+Bu(k)y(k)=Cx(k)y(k)=Cx(k)其中,A,B,C为常数,x(k+1)表示k+1时刻输入的机械臂中各个关节的角度向量,x(k)表示k时刻输入的机械臂中各个关节的角度向量,u(k)表示k时刻输入的机械臂中各个关节的角速度向量,y(k)表示k时刻输出的机械臂中各个关节的角度向量;Where A, B, and C are constants, x(k+1) represents the angle vector of each joint in the robotic arm input at time k+1, x(k) represents the angle vector of each joint in the robotic arm input at time k, u(k) represents the angular velocity vector of each joint in the robotic arm input at time k, and y(k) represents the angle vector of each joint in the robotic arm output at time k;根据接收的初始位置和目标位置输出当前时刻的状态参数包括:使用最小化代价函数根据所述初始位置和所述目标位置在所述模型预测控制器输出当前时刻的状态参数。Outputting the state parameters at the current moment according to the received initial position and target position includes: outputting the state parameters at the current moment in the model predictive controller according to the initial position and the target position using a minimization cost function.6.一种机械系统(500),其特征在于,所述机械系统包括机械臂(520)以及如权利要求5所述的控制系统,所述控制系统用于控制所述机械臂(520)。6. A mechanical system (500), characterized in that the mechanical system comprises a mechanical arm (520) and a control system according to claim 5, wherein the control system is used to control the mechanical arm (520).7.一种电子设备(600),包括处理器(610)、存储器(620)和存储在所述存储器(620)中的指令,其中所述指令被所述处理器(610)执行时实现如权利要求1或2所述的方法。7. An electronic device (600), comprising a processor (610), a memory (620), and instructions stored in the memory (620), wherein the instructions implement the method according to claim 1 or 2 when executed by the processor (610).8.一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令在被运行时执行根据权利要求1或2所述的方法。8. A computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed, perform the method according to claim 1 or 2.
CN202110867095.7A2021-07-292021-07-29Control method, device and control system of mechanical armActiveCN115674183B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110867095.7ACN115674183B (en)2021-07-292021-07-29Control method, device and control system of mechanical arm

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110867095.7ACN115674183B (en)2021-07-292021-07-29Control method, device and control system of mechanical arm

Publications (2)

Publication NumberPublication Date
CN115674183A CN115674183A (en)2023-02-03
CN115674183Btrue CN115674183B (en)2025-07-08

Family

ID=85058123

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110867095.7AActiveCN115674183B (en)2021-07-292021-07-29Control method, device and control system of mechanical arm

Country Status (1)

CountryLink
CN (1)CN115674183B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115309044A (en)*2022-07-262022-11-08福建工程学院Mechanical arm angular velocity control method based on model predictive control

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7741802B2 (en)*2005-12-202010-06-22Intuitive Surgical Operations, Inc.Medical robotic system with programmably controlled constraints on error dynamics
CN103128737B (en)*2013-03-222014-11-26天津理工大学Location control method of 2R underactuated planar mechanical arm based on subdivision control
CN103286783B (en)*2013-05-132015-11-25西安电子科技大学The movement velocity control method of rope traction cameras people
WO2017033365A1 (en)*2015-08-252017-03-02川崎重工業株式会社Remote control robot system
RU2598124C1 (en)*2015-10-192016-09-20Общество С Ограниченной Ответственностью "Экзоатлет"Method of setting the desired paths of exoskeleton for movement of the user with dysfunction of the locomotor apparatus, device for facilitating walking that user and method of controlling said device
KR101795429B1 (en)*2015-12-292017-11-09동아대학교 산학협력단Humanoid robot, method for controlling motion of humanoid robot, and apparatus for executing the method
CN108196453B (en)*2018-01-242020-11-20中南大学 A swarm intelligent computing method for robotic arm motion planning
CN110605721A (en)*2019-10-242019-12-24苏州艾利特机器人有限公司Mechanical arm dragging teaching method based on terminal six-dimensional force sensor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115309044A (en)*2022-07-262022-11-08福建工程学院Mechanical arm angular velocity control method based on model predictive control

Also Published As

Publication numberPublication date
CN115674183A (en)2023-02-03

Similar Documents

PublicationPublication DateTitle
Cho et al.Neural network based adaptive actuator fault detection algorithm for robot manipulators
CN114502338B (en)Techniques for generating controllers for robots
Copot et al.Predictive control of nonlinear visual servoing systems using image moments
Liu et al.A simultaneous learning and control scheme for redundant manipulators with physical constraints on decision variable and its derivative
Yu et al.Position-based visual servo control of dual robotic arms with unknown kinematic models: A cerebellum-inspired approach
CN115771139A (en)Method for training a control strategy
CN114967465A (en) Trajectory planning method, device, electronic device and storage medium
CN117444962A (en)Robot tail end control method and device and computer equipment
CN118493393A (en)Task adjustment method and device for double-arm robot, electronic equipment and storage medium
Yang et al.A fractional-order gradient neural solution to time-variant quadratic programming with application to robot motion planning
CN115674183B (en)Control method, device and control system of mechanical arm
US12214502B2 (en)Object manipulation
CN115070764A (en)Mechanical arm motion track planning method and system, storage medium and electronic equipment
CN118818985B (en)Accurate positioning platform data driving control method based on jump inverse
CN114179089A (en)Robust region tracking control method for mechanical arm
CN114193458A (en) A robot control method based on online learning of Gaussian process
CN119112367A (en) Friction compensation method, device, equipment, medium and product for surgical robot
CN118977237A (en) Trajectory planning control method and device for inspection robot
Huang et al.Novel IBVS system design for cable-driven hyper-redundant manipulator with MLESAC-based feature vector optimization
CN118884822A (en) A data-driven robotic arm control method, device, medium and product
CN115562299B (en) Mobile robot navigation method, device, mobile robot and medium
CN113021329A (en)Robot motion control method and device, readable storage medium and robot
EP4384949A1 (en)Demonstration-driven reinforcement learning
Luo et al.Novel Varying‐Parameter ZNN Schemes for Solving TVLEIE Under Prescribed Time With UR5 Manipulator Control Application
Chen et al.Discrete Jacobian-Pseudoinverse-Free Zhang Neurodynamics Algorithm Handling Path Tracking of Robot Manipulator With Unknown Model

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp