[go: up one dir, main page]

CN114227658A - A robot control method, system, terminal and medium - Google Patents

A robot control method, system, terminal and medium Download PDF

Info

Publication number
CN114227658A
CN114227658A CN202111535591.9A CN202111535591A CN114227658A CN 114227658 A CN114227658 A CN 114227658A CN 202111535591 A CN202111535591 A CN 202111535591A CN 114227658 A CN114227658 A CN 114227658A
Authority
CN
China
Prior art keywords
motor
control
robot
axis
control parameter
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.)
Pending
Application number
CN202111535591.9A
Other languages
Chinese (zh)
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.)
Beijing Haqi Robot Technology Co ltd
Original Assignee
Beijing Haqi Robot Technology Co ltd
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 Beijing Haqi Robot Technology Co ltd filed Critical Beijing Haqi Robot Technology Co ltd
Priority to CN202111535591.9A priority Critical patent/CN114227658A/en
Publication of CN114227658A publication Critical patent/CN114227658A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/08Programme-controlled manipulators characterised by modular constructions
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J17/00Joints
    • B25J17/02Wrist joints
    • B25J17/0258Two-dimensional joints
    • B25J17/0266Two-dimensional joints comprising more than two actuating or connecting rods
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1602Programme controls characterised by the control system, structure, architecture
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1656Programme controls characterised by programming, planning systems for manipulators
    • B25J9/1661Programme controls characterised by programming, planning systems for manipulators characterised by task planning, object-oriented languages
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1679Programme controls characterised by the tasks executed

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Multiple Motors (AREA)

Abstract

本发明实施例公开一种机器人的控制方法、系统、终端及介质。该机器人的控制方法包括接收控制参数指令,控制参数指令是在控制机器人动作时触发的;获取每个电机实际控制参数,并根据控制参数指令和实际控制参数,生成各电机的驱动电压值。本发明实施例提供的技术方案实现单个电机控制板同时控制多个电机,节省了电机控制板占用的关节的空间,提升了机器人的控制效率,减小了未设置电机控制板的关节的体积。

Figure 202111535591

The embodiments of the present invention disclose a control method, system, terminal and medium of a robot. The control method of the robot includes receiving a control parameter instruction, which is triggered when controlling the action of the robot; acquiring the actual control parameters of each motor, and generating the driving voltage value of each motor according to the control parameter instruction and the actual control parameters. The technical solutions provided by the embodiments of the present invention enable a single motor control board to control multiple motors at the same time, save the joint space occupied by the motor control board, improve the control efficiency of the robot, and reduce the volume of the joints without the motor control board.

Figure 202111535591

Description

Robot control method, system, terminal and medium
Technical Field
The embodiment of the invention relates to the technical field of detection, in particular to a control method, a control system, a control terminal and a control medium for a robot.
Background
With the continuous progress of science and technology, the application scenes of the legged robot are more and more, and the joint is more important as an important driving part of the robot. Because each leg of the foot type robot needs a plurality of joints, the size of the joints of the existing foot type robot is large, and the problem of low control efficiency of the joints exists.
Disclosure of Invention
The embodiment of the invention provides a control method, a control system, a control terminal and a control medium of a robot, and aims to solve the problems that joints of a foot type robot are large in size and low in control efficiency.
In order to realize the technical problem, the invention adopts the following technical scheme:
in a first aspect, embodiments of the present invention provide a method for controlling a robot, the robot comprising a plurality of structural links and at least two functional organs, each of said functional organs comprising at least one joint; the adjacent structure connecting rods are connected through joints, and each joint is correspondingly provided with a motor;
the method comprises the following steps:
receiving a control parameter instruction; the control parameter instruction is triggered when the robot is controlled to act; the control parameter commands comprise torque commands, speed commands and angle position commands of all the motors;
acquiring actual control parameters of each motor;
and generating the driving voltage value of each motor according to the control parameter instruction and the actual control parameter.
Optionally, obtaining an actual control parameter of each motor includes:
acquiring a three-phase current value of each motor;
and acquiring the rotor position angle value of each motor.
Optionally, obtaining a three-phase current value of each motor includes:
collecting the three-phase current of each motor at the opening moment of the pulse width modulation waveform according to the time of the timed interruption and through a preset time window;
a preset number of current analog quantities are input.
Optionally, obtaining the rotor position angle value of each motor includes:
and reading the actual rotor position of each motor through a chip selection signal by adopting a communication mode of angle detection to obtain the rotor position angle value of each motor.
Optionally, generating the driving voltage value of each motor according to the control parameter instruction and the actual control parameter includes:
converting the torque instruction, the speed instruction and the angle position instruction into current instruction values corresponding to current values of a d axis and a q axis of each motor based on the proportion of the calibration table;
and performing proportional integral calculation according to the current instruction value and the actual control parameter, and outputting the driving voltage value of the square wave to each motor so as to control each motor respectively.
Optionally, performing proportional-integral calculation according to the current instruction value and the actual control parameter, and outputting the driving voltage value of the square wave to each motor, including:
performing clarke transformation and park transformation on current parameters in the actual control parameters of each motor to obtain current actual values of a direct axis d axis and a quadrature axis q axis;
according to the current instruction value and the current actual value, by combining with an anti-integral saturation algorithm and judging speed and torque output, performing targeted calculation in an approximate saturation region to generate voltage values of a d axis and a q axis;
performing inverse park transformation on the voltage values of the d axis and the q axis to obtain the voltage values of an alpha axis and a beta axis under a static coordinate system;
and performing a pulse width modulation algorithm of a space vector according to the voltage values of the alpha axis and the beta axis in the static coordinate system, thereby outputting the voltage value of a square wave to control each motor respectively.
Optionally, performing proportional-integral calculation according to the current command value and the actual control parameter, including:
and adopting at least one motor control algorithm of a vector control algorithm, a position estimation-free position algorithm and a direct torque control algorithm of the permanent magnet synchronous motor.
In a second aspect, an embodiment of the present invention provides a control system for a robot, where the control system for a robot is configured to execute the control method for a robot according to any one of the first aspect;
a control system for a robot, comprising:
the instruction receiving module is used for receiving a control parameter instruction; the control parameter instruction is triggered when the robot is controlled to act; the control parameter commands comprise torque commands, speed commands and angle position commands of all the motors;
the parameter acquisition module is used for acquiring actual control parameters of each motor;
and the calculation module is used for generating the driving voltage value of each motor according to the control parameter instruction and the actual control parameter.
In a third aspect, an embodiment of the present invention provides a terminal, including: a control system of a robot of a second aspect, the control system of a robot being adapted to perform the control method of any of the robots of the first aspect.
In a fourth aspect, embodiments of the present invention provide a readable storage medium, where instructions are executed by a processor of a control system of a robot, so that the control system of the robot can execute the control method of the robot according to any of the first aspect.
The control method of the robot provided by the embodiment of the invention comprises the steps of receiving a control parameter instruction, wherein the control parameter instruction is triggered when the robot is controlled to act; the actual control parameters of each motor are obtained, the driving voltage values of the motors are generated according to the control parameter instructions and the actual control parameters, a single motor control board controls a plurality of motors simultaneously, the space of joints occupied by the motor control board is saved, the control efficiency of the robot is improved, and the size of the joints without the motor control board is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the contents of the embodiments of the present invention and the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a robot according to an embodiment of the present invention;
fig. 2 is a flowchart of a control method of a robot according to an embodiment of the present invention;
fig. 3 is a flowchart of another robot control method according to an embodiment of the present invention;
fig. 4 is a flowchart of a control method of another robot according to an embodiment of the present invention;
fig. 5 is a flowchart of a control method of another robot according to an embodiment of the present invention;
fig. 6 is a flowchart of a control method of another robot according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a control system for a robot according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a terminal according to an embodiment of the present invention;
fig. 9 is a schematic diagram of another terminal according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Based on the above technical problem, the present embodiment proposes the following solutions:
fig. 1 is a schematic structural diagram of a robot according to an embodiment of the present invention. Referring to fig. 1, a robot according to an embodiment of the present invention includes a plurality of structural links and at least two functional organs, such as a hip, a knee, and an ankle, each of which includes at least one joint, such as a hip joint, a knee joint, and an ankle joint; the adjacent structure connecting rods are connected through joints, and each joint is correspondingly provided with a motor. The control system of the robot may be a motor control board 10, the motor control board 10 may be disposed on one joint, for example, a hip joint, and the motor control board 10 may control the motion of a plurality of motors 30. The robot may further include a main control board 20, the main control board 20 being communicatively connected to the motor control board 10. Fig. 1 exemplarily shows a case where a single leg of the robot includes 3 motors 30, each motor 30 corresponds to one joint, for example, a hip joint, a knee joint, and an ankle joint, and three joints of the same leg are controlled by a single motor control board 10. A single leg may be provided that includes more joints, such as a hip joint, a knee joint, an ankle joint, and multiple joints of the foot, as desired. The plurality of joints of the same leg may be controlled by one motor control board according to the requirement, and is not limited in any way.
Fig. 2 is a flowchart of a control method of a robot according to an embodiment of the present invention. Referring to fig. 2, a method for controlling a robot according to an embodiment of the present invention includes:
s101, receiving a control parameter instruction; the control parameter instruction is triggered when the robot is controlled to act; the control parameter commands include torque commands, speed commands, and angular position commands for each of the motors.
Specifically, the control parameter command is triggered when the robot is controlled to act. The control parameter command may be a control command sent by the main control board. The control parameter commands include torque commands, speed commands and angular position commands for each motor controlled by the motor control board.
And S102, acquiring actual control parameters of each motor.
Specifically, the actual control parameters of each motor controlled by the motor control board may include actual torque, speed, and rotor position angle values of each motor. For example, taking the case that a single leg includes three motors, the motor control board obtains actual control parameters of the three motors.
And S103, generating a driving voltage value of each motor according to the control parameter command and the actual control parameter.
Specifically, the motor control panel generates driving voltage values of the three motors according to received control parameter instructions and acquired actual control parameters of the three motors, the driving voltage values are respectively used for driving the corresponding motors to drive joint movement, target movement of the robot is achieved, a single motor control panel controls the motors simultaneously, space of joints occupied by the motor control panel is saved, control efficiency of the robot is improved, and the size of the joints without the motor control panel is reduced.
The control method of the robot provided by the embodiment comprises the steps of receiving a control parameter instruction, wherein the control parameter instruction is triggered when the robot is controlled to act; the actual control parameters of each motor are obtained, the driving voltage values of the motors are generated according to the control parameter instructions and the actual control parameters, a single motor control board controls a plurality of motors simultaneously, the space of joints occupied by the motor control board is saved, the control efficiency of the robot is improved, and the size of the joints without the motor control board is reduced.
Optionally, fig. 3 is a flowchart of another robot control method according to an embodiment of the present invention.
Referring to fig. 3, a method for controlling a robot according to an embodiment of the present invention includes:
and S101, receiving a control parameter instruction.
S201, acquiring a three-phase current value of each motor.
Specifically, the three-phase current value of each motor is collected, and the three-phase current value needs to be collected in sequence in a preset time window. Optionally, acquiring the three-phase current value of each motor may include acquiring the three-phase current of each motor at the turn-on time of the pulse width modulation waveform according to the time of the timed interrupt and through a preset time window; a preset number of current analog quantities are input.
For example, the motor control board controls three motors. Reading the three-phase current of each of the three motors, and inputting the three-phase current into a motor control board through a preset number, such as 6 current analog quantities, to obtain a required current value; according to the time of the timed interruption, the pulse width modulation waveform is required to be acquired at the switching-on moment, the current fluctuation is small, the pulse width modulation waveform is acquired at a stable moment, three motors are required to be acquired, a time window is required to be accurately mastered, and the numerical value is stable.
And S202, acquiring a rotor position angle value of each motor.
Optionally, the obtaining of the rotor position angle value of each motor includes reading the actual rotor position of each motor through a chip selection signal by using a communication mode of angle detection, so as to obtain the rotor position angle value of each motor.
Exemplarily, the rotor position of each of the three motors is read, and then the rotor position is read into a motor control board through a communication mode of angle detection to obtain actual rotor position angle values of the three motors; the motor control panel is mainly provided with an external device, the rotor positions of the three motors are respectively read through chip selection signals, and the requirement on the time sequence of rotor position acquisition is high.
And S203, generating a driving voltage value of each motor according to the control parameter command, the three-phase current value of each motor and the rotor position angle value.
Optionally, fig. 4 is a flowchart of a control method of another robot according to an embodiment of the present invention.
Referring to fig. 4, a control method of a robot according to an embodiment of the present invention includes:
and S101, receiving a control parameter instruction.
And S102, acquiring actual control parameters of each motor.
S301, converting the torque command, the speed command and the angle position command into current command values corresponding to current values of a d axis and a q axis of each motor based on the proportion of a calibration table.
Specifically, through a certain calibration table proportion, the torque, speed and angle position commands of all the motors are converted into current command values of the three motors, and the current command values are output to variables needing to be controlled.
And S302, performing proportional-integral calculation according to the current instruction value and the actual control parameter, and outputting the driving voltage value of the square wave to each motor so as to control each motor respectively.
Specifically, the proportional-integral calculation is performed according to the current instruction value and the actual control parameter, and may be performed by using a control algorithm of at least one of a vector control algorithm, a position estimation-free algorithm, and a direct torque control algorithm of the permanent magnet synchronous motor, or may be performed by using another algorithm as needed, and the proportional-integral calculation is performed to output a driving voltage value of a square wave to each motor, so as to control each motor respectively.
Optionally, fig. 5 is a flowchart of a control method of another robot according to an embodiment of the present invention.
Referring to fig. 5, a method for controlling a robot according to an embodiment of the present invention includes:
and S101, receiving a control parameter instruction.
And S102, acquiring actual control parameters of each motor.
S301, converting the torque command, the speed command and the angle position command into current command values corresponding to current values of a d axis and a q axis of each motor based on the proportion of a calibration table.
S401, performing clarke transformation and park transformation on current parameters in the actual control parameters of each motor to obtain current actual values of a direct axis d axis and a quadrature axis q axis.
S402, according to the current instruction value and the current actual value, combining with an anti-integral saturation algorithm, and through judgment of speed and torque output, performing targeted calculation in a region close to saturation, and generating voltage values of a d axis and a q axis.
And S403, performing inverse park transformation on the voltage values of the d axis and the q axis to obtain the voltage values of the alpha axis and the beta axis in the static coordinate system.
And S404, performing a pulse width modulation algorithm of a space vector according to the voltage values of the alpha axis and the beta axis in the static coordinate system, thereby outputting the voltage value of a square wave to control each motor respectively.
Specifically, an algorithm for performing proportional integration on the current command value and the actual value includes an algorithm for improving anti-integral saturation, and when the voltage values of the output d-axis and q-axis reach an upper limit or a lower limit, a fixed value is subtracted from the upper limit or a fixed value is added to the lower limit, so that the output voltage value is prevented from reaching a maximum value and being incapable of exiting saturation. Through the judgment of speed and torque output, the targeted calculation is carried out in the region close to saturation, so that the time consumption of a motor control board is reduced; and calculating voltage values of output d-axis and q-axis. Performing inverse park transformation on the voltage values of the d axis and the q axis to obtain the voltage values of the alpha axis and the beta axis in a static coordinate system; and then a space vector pulse width modulation algorithm (SVPWM) is performed to output a voltage value of a square wave to control the three motors, respectively.
Optionally, the communication mode between the main control board and the single motor control board is not limited to the communication mode with CAN or CANFD, and may also adopt the communication modes commonly used in industry, such as RS 485, Ethercat or Ethernet, and the like, without any limitation here.
Optionally, the position detection and the three-phase power line bundle provided by the application are not limited to a magnetic encoder, but may also include a grating encoder, a rotary transformer, a linear hall encoder, and the like, and are not limited herein.
Optionally, the joint motor that this application provided is not only limited to permanent magnet synchronous motor, can also include asynchronous machine, step motor and servo steering wheel etc..
Optionally, before receiving the control parameter instruction, initialization is further included. The method specifically comprises initializing a motor control board and external equipment thereof, peripheral equipment used by three motors, 6 current analog quantity inputs, 3 groups of PWM voltage value outputs, 3 peripheral equipment for rotor position angle detection, a communication mode CAN or CANFD and other necessary configuration programs.
Exemplarily, fig. 6 is a flowchart of a control method of another robot according to an embodiment of the present invention. Referring to fig. 6, the motor including three motors will be described as an example. The application provides a control method for controlling three motors by a single motor controller of a robot, which comprises the following steps:
and S710, starting.
And S720, initializing the peripheral.
S730, a CAN interruption subprogram enters a CAN interruption subprogram S731; the CAN interrupt subroutine ends, and S740 is entered.
S731, CAN interrupt subroutine starts.
And S732, receiving an upper board card instruction. Wherein, the upper plate card can be a main control panel.
And S733, analyzing the upper board card instruction.
S734, obtaining current value commands of a d axis and a q axis;
and S735, returning the collected current torque, speed and rotor position angle information of each motor to the upper plate.
And S736, ending the CAN interruption subprogram.
S740, a timer interruption subprogram, and the method enters a timer interruption subprogram S741; the timer interrupt subroutine ends, and the process proceeds to S750.
S741, the timer interrupt subroutine starts.
And S742, reading and analyzing three-phase current ADC values of the 3 motors.
And S743, reading and analyzing the rotor position angle values of the 3 motors.
And S744, performing clarke transformation and park transformation.
And S745, performing PI calculation on the d axis and the q axis of the current command value and the actual value of the 3 motors.
And S746, outputting voltage values of a d axis and a q axis of the 3 motors after PI calculation of the 3 motors.
S747, and the voltage values of the d axis and the q axis of the 3 motors are subjected to inverse park conversion.
And S748, performing pulse width modulation (SVPWM) algorithm on the space vectors of the 3 motors.
And S749, outputting PWM voltage values to hardware by the 3 motors.
S7410, the timer interrupt subroutine ends.
And S750, ending.
The three motors are controlled simultaneously by adopting a one-control-three mode based on a single control board, so that the design difficulty of a single joint is simplified, the weight, the cost and the volume of the joint are reduced, and the control efficiency is improved.
Fig. 7 is a schematic diagram of a control system of a robot according to an embodiment of the present invention. Referring to fig. 7, a control system 100 of a robot according to an embodiment of the present invention is used to execute a control method of a robot according to any of the embodiments. The control system 100 of the robot according to the embodiment of the present invention includes:
the instruction receiving module 61 is used for receiving a control parameter instruction; the control parameter instruction is triggered when the robot is controlled to act; the control parameter commands include torque commands, speed commands, and angular position commands for each of the motors.
And a parameter obtaining module 62, configured to obtain actual control parameters of each motor.
And the calculating module 63 is used for generating the driving voltage value of each motor according to the control parameter instruction and the actual control parameter.
Fig. 8 is a schematic diagram of a terminal according to an embodiment of the present invention. On the basis of the above embodiments, referring to fig. 8, an embodiment of the present invention provides a terminal 200, including the control system 100 of the robot according to any of the above embodiments, where the control system 100 of the robot is configured to execute the control method of the robot according to any of the above embodiments. The terminal 200 provided by the embodiment of the invention comprises intelligent equipment such as a robot.
Fig. 9 is a schematic diagram of another terminal according to an embodiment of the present invention. On the basis of the above-mentioned embodiment, referring to fig. 9, an embodiment of the present invention provides a readable storage medium, on which a software program is stored, and when instructions in the readable storage medium 81 are executed by the processor 82 of the control system of the robot, the control system of the robot is enabled to execute the control method of the robot proposed in any of the above-mentioned embodiments. The method comprises the following steps: receiving a control parameter instruction; the control parameter instruction is triggered when the robot is controlled to act; the control parameter commands comprise torque commands, speed commands and angle position commands of all the motors; acquiring actual control parameters of each motor; and generating the driving voltage value of each motor according to the control parameter instruction and the actual control parameter.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the above operations of the control method of the robot, and may also perform related operations in the control method of the robot provided by any embodiments of the present invention, and has corresponding functions and advantages.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute the robot control method according to the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method of controlling a robot, the robot comprising a plurality of structural links and at least two functional organs, each of the functional organs comprising at least one joint; the adjacent structural connecting rods are connected through joints, and each joint is correspondingly provided with a motor;
the method comprises the following steps:
receiving a control parameter instruction; the control parameter instruction is triggered when the robot is controlled to act; the control parameter commands comprise torque commands, speed commands and angle position commands of all the motors;
acquiring actual control parameters of each motor;
and generating driving voltage values of the motors according to the control parameter instructions and the actual control parameters.
2. The method of controlling a robot according to claim 1, wherein the obtaining of the actual control parameter of each motor comprises:
acquiring a three-phase current value of each motor;
and acquiring the rotor position angle value of each motor.
3. The method of controlling a robot according to claim 2, wherein the obtaining of the three-phase current value of each motor includes:
collecting the three-phase current of each motor at the opening moment of the pulse width modulation waveform according to the time of the timed interruption and through a preset time window;
a preset number of current analog quantities are input.
4. The method of controlling a robot according to claim 2, wherein the obtaining a rotor position angle value for each motor comprises:
and reading the actual rotor position of each motor through a chip selection signal by adopting a communication mode of angle detection to obtain the rotor position angle value of each motor.
5. The method according to claim 1, wherein the generating a driving voltage value of each of the motors according to the control parameter command and the actual control parameter includes:
converting the torque command, the speed command and the angle position command into current command values corresponding to current values of a d axis and a q axis of each motor based on a calibration table proportion;
and performing proportional integral calculation according to the current instruction value and the actual control parameter, and outputting the driving voltage value of the square wave to each motor so as to control each motor respectively.
6. The method of claim 5, wherein the performing a proportional-integral calculation based on the current command value and an actual control parameter to output a square-wave driving voltage value to each of the motors includes:
performing clarke transformation and park transformation on current parameters in the actual control parameters of each motor to obtain current actual values of a direct axis d axis and a quadrature axis q axis;
according to the current instruction value and the current actual value, combining an anti-integral saturation algorithm, and performing targeted calculation in a region close to saturation through judgment of speed and torque output to generate voltage values of a d axis and a q axis;
performing inverse park transformation on the voltage values of the d axis and the q axis to obtain the voltage values of an alpha axis and a beta axis under a static coordinate system;
and performing a pulse width modulation algorithm of a space vector according to the voltage values of the alpha axis and the beta axis in the static coordinate system, thereby outputting the voltage value of a square wave to control each motor respectively.
7. The method according to claim 5, wherein the performing proportional-integral calculation based on the current command value and an actual control parameter includes:
and adopting at least one motor control algorithm of a vector control algorithm, a position estimation-free position algorithm and a direct torque control algorithm of the permanent magnet synchronous motor.
8. A control system of a robot, characterized in that the control system of the robot is configured to execute the control method of the robot according to any one of claims 1 to 7;
the control system of the robot includes:
the instruction receiving module is used for receiving a control parameter instruction; the control parameter instruction is triggered when the robot is controlled to act; the control parameter commands comprise torque commands, speed commands and angle position commands of all the motors;
the parameter acquisition module is used for acquiring actual control parameters of each motor;
and the calculation module is used for generating the driving voltage value of each motor according to the control parameter instruction and the actual control parameter.
9. A terminal, comprising: the control system of a robot according to claim 8, which is adapted to perform the control method of a robot according to any one of claims 1 to 7.
10. A readable storage medium, wherein instructions in the readable storage medium, when executed by a processor of a control system of the robot, enable the control system of the robot to perform the control method of the robot of any one of claims 1-7.
CN202111535591.9A 2021-12-15 2021-12-15 A robot control method, system, terminal and medium Pending CN114227658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111535591.9A CN114227658A (en) 2021-12-15 2021-12-15 A robot control method, system, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111535591.9A CN114227658A (en) 2021-12-15 2021-12-15 A robot control method, system, terminal and medium

Publications (1)

Publication Number Publication Date
CN114227658A true CN114227658A (en) 2022-03-25

Family

ID=80756418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111535591.9A Pending CN114227658A (en) 2021-12-15 2021-12-15 A robot control method, system, terminal and medium

Country Status (1)

Country Link
CN (1) CN114227658A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030160585A1 (en) * 2002-02-26 2003-08-28 Lg Industrial Systems Co., Ltd. Motor torque control apparatus and method
US20110178639A1 (en) * 2010-01-18 2011-07-21 Samsung Electronics Co., Ltd. Humanoid robot and walking control method thereof
CN102820766A (en) * 2012-08-14 2012-12-12 深圳市英威腾电气股份有限公司 Method and device for controlling pulse width modulation
CN107782985A (en) * 2017-09-08 2018-03-09 山东锦华电力设备有限公司 Sampling triggering control sequential system and method based on DSP FPGA
CN108768220A (en) * 2018-07-23 2018-11-06 南京工程学院 A kind of integrative coordinated control device and method of articulated robot
CN109500816A (en) * 2018-12-03 2019-03-22 江苏莱宝电力股份有限公司 Robot actuating system and its control method
CN112751516A (en) * 2020-11-03 2021-05-04 宁波央腾汽车电子有限公司 Motor rotating speed control method and device based on subdivision prediction

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030160585A1 (en) * 2002-02-26 2003-08-28 Lg Industrial Systems Co., Ltd. Motor torque control apparatus and method
US20110178639A1 (en) * 2010-01-18 2011-07-21 Samsung Electronics Co., Ltd. Humanoid robot and walking control method thereof
CN102820766A (en) * 2012-08-14 2012-12-12 深圳市英威腾电气股份有限公司 Method and device for controlling pulse width modulation
CN107782985A (en) * 2017-09-08 2018-03-09 山东锦华电力设备有限公司 Sampling triggering control sequential system and method based on DSP FPGA
CN108768220A (en) * 2018-07-23 2018-11-06 南京工程学院 A kind of integrative coordinated control device and method of articulated robot
CN109500816A (en) * 2018-12-03 2019-03-22 江苏莱宝电力股份有限公司 Robot actuating system and its control method
CN112751516A (en) * 2020-11-03 2021-05-04 宁波央腾汽车电子有限公司 Motor rotating speed control method and device based on subdivision prediction

Similar Documents

Publication Publication Date Title
CN103507852A (en) Motor control apparatus and electric power steering apparatus using the same
CN106533303A (en) Permanent magnet brushless DC motor driver control method
CN101917159A (en) A linear motor running speed and displacement control system and control method thereof
CN116961512B (en) Model prediction-based current control method, device and storage medium
US10505478B2 (en) Motor module, motor step operation control system, and motor control device
CN116436356A (en) Servo motor control system and method based on RSIC-V servo drive chip
CN116500977A (en) Servo control system, control data conversion method and computing device
US11705840B2 (en) Commutation error compensation method and apparatus for electric motor, and storage medium
Zhang et al. A smo based position sensorless permanent magnet synchronous motor control strategy
CN114227658A (en) A robot control method, system, terminal and medium
CN111130411A (en) Device and method for improving synchronous control precision of double-shaft direct-drive platform servo system
CN110861096B (en) Robot joint interaction force sensing and controlling method and device
WO2006054784A1 (en) Motor model calculation method, motor simulation method, motor simulation device, motor model calculation program, simulation method, and simulation program
CN114665749B (en) Motor high-precision subdivision control method, system, terminal equipment and storage medium
CN109067273A (en) The AC servo driver of DTC-SVPWM for industrial six-joint robot regulates and controls method
Kang et al. A real-time control platform for rapid prototyping of induction motor vector control
Rusu et al. Developing embedded control system platform for testing PMSM drives
JP4500155B2 (en) Simulation method
Dongliang et al. DSP-based software AC servo systems with PM synchronous motors
JP4242825B2 (en) Motor model calculation method, motor simulation method, motor simulation apparatus, and motor model calculation program
CN116872249B (en) A feedforward decoupling variable damping robot joint compliant drive control method
JP4589701B2 (en) Inverter model calculation method, inverter simulation method, and inverter simulation apparatus
Zouari et al. A hardware in the loop simulation for electrically driven robot manipulator
Rudniev et al. Practical Implementation of Algorithms in a Sliding Mode System of Vector Control Synchronous Motors
CN103684175A (en) Reconfigurable AC servo drive control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220325

RJ01 Rejection of invention patent application after publication