CN112847335A - Sliding mode variable structure control method and device for robot servo - Google Patents

Sliding mode variable structure control method and device for robot servo Download PDF

Info

Publication number
CN112847335A
CN112847335A CN202011552523.9A CN202011552523A CN112847335A CN 112847335 A CN112847335 A CN 112847335A CN 202011552523 A CN202011552523 A CN 202011552523A CN 112847335 A CN112847335 A CN 112847335A
Authority
CN
China
Prior art keywords
error
variable structure
calculating
structure control
function
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
CN202011552523.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.)
Rokae Shandong Intelligent Technology Co ltd
Original Assignee
Rokae Shandong Intelligent 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 Rokae Shandong Intelligent Technology Co ltd filed Critical Rokae Shandong Intelligent Technology Co ltd
Priority to CN202011552523.9A priority Critical patent/CN112847335A/en
Publication of CN112847335A publication Critical patent/CN112847335A/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/16Programme controls
    • B25J9/1602Programme controls characterised by the control system, structure, architecture
    • B25J9/161Hardware, e.g. neural networks, fuzzy logic, interfaces, processor
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1628Programme controls characterised by the control loop
    • B25J9/1633Programme controls characterised by the control loop compliant, force, torque control, e.g. combined with position control

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Feedback Control In General (AREA)
  • Manipulator (AREA)

Abstract

The embodiment of the application provides a sliding mode variable structure control method and device for robot servo, and the method comprises the following steps: establishing a controlled object transfer function and a three-order sliding mode variable structure control model of a servo system; a current sensor and a position sensor are adopted to collect motor current and real-time position and speed feedback; calculating an error and a second order differential of the error according to the command and the feedback information; calculating a switching surface function s according to the error state; calculating a variable structure control law output U according to the switching surface function s and the selected approach rate; the sliding surface switching function can be constructed according to the current, the rotating speed and the position feedback information, then the output of the controller is calculated according to the switching function and is applied to the controlled object, and the closed-loop control is completed.

Description

Sliding mode variable structure control method and device for robot servo
Technical Field
The application relates to the field of robots, in particular to a sliding mode variable structure control method and device for robot servo.
Background
With the continuous expansion of the application field of industrial robots and the rapid development of modern industry, people have higher and higher requirements on the performance of industrial robots so as to further improve the production efficiency and the product quality, so that high speed and high precision become the development trend of the servo control of the robots at present.
An industrial robot system is a complex system with strong nonlinearity and strong coupling, and in order to improve the tracking precision of the industrial robot, the motion servo control performance needs to be improved, and the problems of joint flexibility, friction disturbance and the like introduced by a harmonic reducer, a force sensor and the like are solved.
At present, a three-ring cascade PID control method is mainly adopted for robot servo, and the method has the following defects: 1) in order to prevent overshoot, the position loop generally adopts a single proportional controller, and the steady-state precision is poor. 2) The PID control has poor adaptability to system parameter perturbation and external parameter change. 3) Excellent dynamic performance cannot be maintained for system uncertainty and model uncertainty.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a sliding mode variable structure control method and device for robot servo, which can construct a sliding plane switching function according to current, rotating speed and position feedback information, then calculate the output of a controller according to the switching function, apply the output to a controlled object and complete closed-loop control.
In order to solve at least one of the above problems, the present application provides the following technical solutions:
in a first aspect, the present application provides a sliding mode variable structure control method for robot servo, including:
establishing a controlled object transfer function and a three-order sliding mode variable structure control model of a servo system;
a current sensor and a position sensor are adopted to collect motor current and real-time position and speed feedback;
calculating an error and a second order differential of the error according to the command and the feedback information;
calculating a switching surface function s according to the error state;
and calculating the variable structure control law output U according to the switching surface function s and the selected approach rate.
Further, the establishing of the controlled object transfer function of the servo system includes:
establishing a controlled model transfer function of the servo system as follows:
Figure RE-GDA0003031801840000021
wherein:
Figure RE-GDA0003031801840000022
r is motor phase resistance, L is motor phase inductance, KtIs a torque constant, KeAnd J is the rotor inertia for the back emf coefficient.
Further, the calculating the error and the second order differential of the error according to the instruction and the feedback information includes:
the system control period is 50us, the system error is defined as e, position theta, speed v(s) and current feedback I(s) signals are collected in each period, and x is used1,x2,x3A second order differential, representing the error and the error, respectively, can be calculated in conjunction with instruction P (t) as follows:
x1=e=P(t)-Bpθ(t)
Figure RE-GDA0003031801840000023
Figure RE-GDA0003031801840000024
further, the calculating the variable structure control law output U according to the switching surface function s and the selected approach rate includes:
according to the error term, selecting the switching surface function s ═ f (x)1,x2,x3)=c1x1+c2x2+x3The designed approach rate function is:
Figure RE-GDA0003031801840000025
wherein, c1,c2And epsilon and k are adjusting parameters of the variable structure sliding film controller.
Further, the calculating the variable structure control law output U includes:
according to the approach rate and the second-order differential of the error, the output of the variable structure controller is designed as follows:
Figure RE-GDA0003031801840000026
Figure RE-GDA0003031801840000027
in a second aspect, the present application provides a sliding mode variable structure control device for robot servo, comprising:
the model establishing module is used for establishing a controlled object transfer function and a three-order sliding variable structure control model of the servo system;
the motor information acquisition module is used for acquiring motor current and real-time position and speed feedback by adopting a current sensor and a position sensor;
the error calculation module is used for calculating an error and a second-order differential of the error according to the instruction and the feedback information;
the switching surface function calculation module is used for calculating a switching surface function s according to the error state;
and the output calculation module is used for calculating the variable structure control law output U according to the switching surface function s and the selected approach rate.
In a third aspect, the present application provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the method for controlling a sliding mode variable structure of a robot servo.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for controlling a sliding kinematic structure of a robot servo.
According to the technical scheme, the sliding mode variable structure control method and device for the robot servo are provided, and a controlled object transfer function and a three-order sliding mode variable structure control model of a servo system are established; a current sensor and a position sensor are adopted to collect motor current and real-time position and speed feedback; calculating an error and a second order differential of the error according to the command and the feedback information; calculating a switching surface function s according to the error state; and calculating the variable structure control law output U according to the switching surface function s and the selected approach rate, constructing a sliding surface switching function according to the current, the rotating speed and the position feedback information, calculating the output of the controller according to the switching function, and applying the output to the controlled object to complete closed-loop control.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a sliding mode variable structure control method of robot servo in an embodiment of the present application;
FIG. 2 is a second schematic flowchart of a sliding mode variable structure control method of robot servo in the embodiment of the present application;
FIG. 3 is a structural diagram of a sliding mode variable structure control device of a robot servo in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Considering that the current robot servo mainly adopts a three-ring cascade PID control method, the method has the following defects: 1) in order to prevent overshoot, the position loop generally adopts a single proportional controller, and the steady-state precision is poor. 2) The PID control has poor adaptability to system parameter perturbation and external parameter change. 3) Aiming at the problem that the uncertainty of a system and the uncertainty of a model cannot keep excellent dynamic performance, the application provides a sliding mode variable structure control method and device of robot servo, and a controlled object transfer function and a three-order sliding mode variable structure control model of a servo system are established; a current sensor and a position sensor are adopted to collect motor current and real-time position and speed feedback; calculating an error and a second order differential of the error according to the command and the feedback information; calculating a switching surface function s according to the error state; and calculating the variable structure control law output U according to the switching surface function s and the selected approach rate, constructing a sliding surface switching function according to the current, the rotating speed and the position feedback information, calculating the output of the controller according to the switching function, and applying the output to the controlled object to complete closed-loop control.
In order to construct a sliding surface switching function according to current, rotation speed and position feedback information, and then calculate the output of a controller according to the switching function, apply the output to a controlled object, and complete closed-loop control, the present application provides an embodiment of a sliding surface variable structure control method of a robot servo, and referring to fig. 1, the sliding surface variable structure control method of the robot servo specifically includes the following contents:
step S101: establishing a controlled object transfer function and a three-order sliding mode variable structure control model of a servo system;
step S102: a current sensor and a position sensor are adopted to collect motor current and real-time position and speed feedback;
step S103: calculating an error and a second order differential of the error according to the command and the feedback information;
step S104: calculating a switching surface function s according to the error state;
step S105: and calculating the variable structure control law output U according to the switching surface function s and the selected approach rate.
As can be seen from the above description, the sliding mode variable structure control method for robot servo provided in the embodiments of the present application can be implemented by establishing a controlled object transfer function and a three-order sliding mode variable structure control model of a servo system; a current sensor and a position sensor are adopted to collect motor current and real-time position and speed feedback; calculating an error and a second order differential of the error according to the command and the feedback information; calculating a switching surface function s according to the error state; and calculating the variable structure control law output U according to the switching surface function s and the selected approach rate, constructing a sliding surface switching function according to the current, the rotating speed and the position feedback information, calculating the output of the controller according to the switching function, and applying the output to the controlled object to complete closed-loop control.
In an embodiment of the sliding mode variable structure control method for robot servo, the establishing a controlled object transfer function of the servo system includes:
establishing a controlled model transfer function of the servo system as follows:
Figure RE-GDA0003031801840000051
wherein:
Figure RE-GDA0003031801840000052
r is motor phase resistance, L is motor phase inductance, KtIs a torque constant, KeAnd J is the rotor inertia for the back emf coefficient.
In an embodiment of the present invention, the method for controlling a sliding variable structure of a robot servo according to the present application, the calculating an error and a second order differential of the error according to the command and the feedback information includes:
the system control period is 50us, the system error is defined as e, position theta, speed v(s) and current feedback I(s) signals are collected in each period, and x is used1,x2,x3A second order differential, representing the error and the error, respectively, can be calculated in conjunction with instruction P (t) as follows:
x1=e=P(t)-Bpθ(t)
Figure RE-GDA0003031801840000053
Figure RE-GDA0003031801840000054
in an embodiment of the sliding-mode variable-structure control method for robot servo according to the present application, the calculating a variable-structure control law output U according to the switching surface function s and the selected approach rate includes:
according to the error term, selecting the switching surface function s ═ f (x)1,x2,x3)=c1x1+c2x2+x3The designed approach rate function is:
Figure RE-GDA0003031801840000061
wherein, c1,c2And epsilon and k are adjusting parameters of the variable structure sliding film controller.
In an embodiment of the sliding mode variable structure control method for robot servo according to the present application, the calculating variable structure control law output U includes:
according to the approach rate and the second-order differential of the error, the output of the variable structure controller is designed as follows:
Figure RE-GDA0003031801840000062
Figure RE-GDA0003031801840000063
in order to construct a sliding surface switching function according to current, rotation speed and position feedback information, and then calculate the output of a controller according to the switching function, and apply the output to a controlled object to complete closed-loop control, the present application provides an embodiment of a sliding surface variable structure control device for robot servo, which is used for implementing all or part of the sliding surface variable structure control method for robot servo, and referring to fig. 3, the sliding surface variable structure control device for robot servo specifically comprises the following contents:
the model establishing module 10 is used for establishing a controlled object transfer function and a three-order sliding variable structure control model of the servo system;
the motor information acquisition module 20 is used for acquiring motor current and real-time position and speed feedback by adopting a current sensor and a position sensor;
an error calculation module 30, configured to calculate an error and a second order differential of the error according to the instruction and the feedback information;
a switching surface function calculating module 40, configured to calculate a switching surface function s according to the error state;
and the output calculation module 50 is used for calculating the variable structure control law output U according to the switching surface function s and the selected approach rate.
As can be seen from the above description, the sliding mode variable structure control device for robot servo provided in the embodiments of the present application can control a robot by establishing a controlled object transfer function of a servo system and a three-order sliding mode variable structure control model; a current sensor and a position sensor are adopted to collect motor current and real-time position and speed feedback; calculating an error and a second order differential of the error according to the command and the feedback information; calculating a switching surface function s according to the error state; and calculating the variable structure control law output U according to the switching surface function s and the selected approach rate, constructing a sliding surface switching function according to the current, the rotating speed and the position feedback information, calculating the output of the controller according to the switching function, and applying the output to the controlled object to complete closed-loop control.
In order to further explain the present solution, the present application further provides a specific application example of a sliding mode variable structure control method for implementing robot servo by using the sliding mode variable structure control device for robot servo, which specifically includes the following contents:
1) establishing a controlled model transfer function of the servo system as follows:
Figure RE-GDA0003031801840000071
wherein:
Figure RE-GDA0003031801840000072
r is motor phase resistance, and L is motor phase inductance.
KtIs a torque constant, KeAnd J is the rotor inertia for the back emf coefficient.
Then from equation (1.2), there is:
a1=Js2Tm
a2=J
a3=KeKmKt
b=KmKt (1.2)
2) designing a three-order sliding mode variable structure control model according to the controlled object, see fig. 2, wherein the three-order sliding mode variable structure controller receives position commands P, Bi、Bv、BpFor current, velocity, position feedback gain, TfIs the disturbance torque.
3) The system control period is 50us, the system error is defined as e, position theta, speed v(s) and current feedback I(s) signals are collected in each period, and x is used1,x2,x3A second order differential, representing the error and the error, respectively, can be calculated in conjunction with command P (t) as follows:
x1=e=P(t)-Bpθ(t)
Figure RE-GDA0003031801840000073
Figure RE-GDA0003031801840000074
4) according to the error term, selecting the switching surface function s ═ f (x)1,x2,x3)=c1x1+c2x2+x3The designed approach rate function is:
Figure RE-GDA0003031801840000075
wherein c is1,c2And epsilon and k are adjusting parameters of the variable structure sliding film controller.
5) According to the approach rate and the second-order differential of the error, the output of the variable structure controller is designed as follows:
Figure RE-GDA0003031801840000081
Figure RE-GDA0003031801840000082
as can be seen from the above description, the following technical effects can also be achieved:
1) the structure of the system is changed through the control of the sliding mode variable structure, the stability is not limited by system parameters, and the robustness is good.
2) The parameters needing to be adjusted are few, and the response speed is higher.
3) Insensitive to disturbance and strong disturbance resistance.
In order to construct a sliding surface switching function according to current, rotation speed and position feedback information, and then calculate the output of a controller according to the switching function, apply the output to a controlled object, and complete closed-loop control, the application provides an embodiment of an electronic device for implementing all or part of the sliding surface variable structure control method of the robot servo, and the electronic device specifically includes the following contents:
a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between the sliding mode variable structure control device of the robot servo and relevant equipment such as a core service system, a user terminal, a relevant database and the like; the logic controller may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the logic controller may be implemented with reference to the embodiment of the sliding mode variable structure control method of robot servo and the embodiment of the sliding mode variable structure control device of robot servo in the embodiment, and the contents thereof are incorporated herein, and repeated descriptions are omitted.
It is understood that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a Personal Digital Assistant (PDA), an in-vehicle device, a smart wearable device, and the like. Wherein, intelligence wearing equipment can include intelligent glasses, intelligent wrist-watch, intelligent bracelet etc..
In practical applications, part of the sliding mode variable structure control method of the robot servo can be executed on the electronic device side as described above, and all the operations can be completed in the client device. The selection may be specifically performed according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This is not a limitation of the present application. The client device may further include a processor if all operations are performed in the client device.
The client device may have a communication module (i.e., a communication unit), and may be communicatively connected to a remote server to implement data transmission with the server. The server may include a server on the task scheduling center side, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.
Fig. 4 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 4, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 4 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
As can be seen from the above description, the electronic device provided in the embodiment of the present application controls the model by establishing a transfer function of a controlled object of a servo system and a three-order sliding deformation structure; a current sensor and a position sensor are adopted to collect motor current and real-time position and speed feedback; calculating an error and a second order differential of the error according to the command and the feedback information; calculating a switching surface function s according to the error state; and calculating the variable structure control law output U according to the switching surface function s and the selected approach rate, constructing a sliding surface switching function according to the current, the rotating speed and the position feedback information, calculating the output of the controller according to the switching function, and applying the output to the controlled object to complete closed-loop control.
In another embodiment, the sliding mode variable structure control device for robot servo may be configured separately from the central processing unit 9100, for example, the sliding mode variable structure control device for robot servo may be configured as a chip connected to the central processing unit 9100, and the sliding mode variable structure control method function of robot servo is realized by the control of the central processing unit.
As shown in fig. 4, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 4; further, the electronic device 9600 may further include components not shown in fig. 4, which may be referred to in the art.
As shown in fig. 4, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 9140 can be a solid state memory, e.g., Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
An embodiment of the present application also provides a computer-readable storage medium capable of implementing all the steps in the sliding variable structure control method for robot servo in which the execution subject is a server or a client in the above-described embodiment, the computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements all the steps in the sliding variable structure control method for robot servo in which the execution subject is a server or a client in the above-described embodiment.
As can be seen from the above description, the computer-readable storage medium provided in the embodiments of the present application controls a model by establishing a transfer function of a controlled object of a servo system and a three-order sliding deformation structure; a current sensor and a position sensor are adopted to collect motor current and real-time position and speed feedback; calculating an error and a second order differential of the error according to the command and the feedback information; calculating a switching surface function s according to the error state; and calculating the variable structure control law output U according to the switching surface function s and the selected approach rate, constructing a sliding surface switching function according to the current, the rotating speed and the position feedback information, calculating the output of the controller according to the switching function, and applying the output to the controlled object to complete closed-loop control.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A sliding mode variable structure control method for robot servo is characterized by comprising the following steps:
establishing a controlled object transfer function and a three-order sliding mode variable structure control model of a servo system;
a current sensor and a position sensor are adopted to collect motor current and real-time position and speed feedback;
calculating an error and a second order differential of the error according to the command and the feedback information;
calculating a switching surface function s according to the error state;
and calculating the variable structure control law output U according to the switching surface function s and the selected approach rate.
2. The method for controlling a sliding mode variable structure of a robot servo according to claim 1, wherein the establishing of the controlled object transfer function of the servo system comprises:
establishing a controlled model transfer function of the servo system as follows:
Figure FDA0002857613730000011
wherein:
Figure FDA0002857613730000012
r is motor phase resistance, L is motor phase inductance, KtIn order to be a constant of the torque,
Keand J is the rotor inertia for the back emf coefficient.
3. The method for controlling a sliding film variable structure of a robot servo according to claim 1, wherein the calculating an error and a second order differential of the error according to the command and the feedback information comprises:
the system control period is 50us, the system error is defined as e, position theta, speed v(s) and current feedback I(s) signals are collected in each period, and x is used1,x2,x3A second order differential, representing the error and the error, respectively, can be calculated in conjunction with instruction P (t) as follows:
x1=e=P(t)-Bpθ(t)
Figure FDA0002857613730000013
Figure FDA0002857613730000014
4. the method according to claim 1, wherein the calculating a variable structure control law output U according to the switching surface function s and the selected approach rate comprises:
according to the error term, selecting the switching surface function s ═ f (x)1,x2,x3)=c1x1+c2x2+x3The designed approach rate function is:
Figure FDA0002857613730000021
wherein, c1,c2And epsilon and k are adjusting parameters of the variable structure sliding film controller.
5. The method for controlling a sliding film variable structure of a robot servo according to claim 1, wherein the calculating a variable structure control law output U comprises:
according to the approach rate and the second-order differential of the error, the output of the variable structure controller is designed as follows:
Figure FDA0002857613730000022
Figure FDA0002857613730000023
6. a servo sliding mode variable structure controlling means of robot, its characterized in that includes:
the model establishing module is used for establishing a controlled object transfer function and a three-order sliding variable structure control model of the servo system;
the motor information acquisition module is used for acquiring motor current and real-time position and speed feedback by adopting a current sensor and a position sensor;
the error calculation module is used for calculating an error and a second-order differential of the error according to the instruction and the feedback information;
the switching surface function calculation module is used for calculating a switching surface function s according to the error state;
and the output calculation module is used for calculating the variable structure control law output U according to the switching surface function s and the selected approach rate.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method for controlling a sliding kinematic structure of a robot servo according to any of claims 1 to 5 when executing the program.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for sliding, variable-structure control of robot servos of any of claims 1 to 5.
CN202011552523.9A 2020-12-24 2020-12-24 Sliding mode variable structure control method and device for robot servo Pending CN112847335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011552523.9A CN112847335A (en) 2020-12-24 2020-12-24 Sliding mode variable structure control method and device for robot servo

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011552523.9A CN112847335A (en) 2020-12-24 2020-12-24 Sliding mode variable structure control method and device for robot servo

Publications (1)

Publication Number Publication Date
CN112847335A true CN112847335A (en) 2021-05-28

Family

ID=75996733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011552523.9A Pending CN112847335A (en) 2020-12-24 2020-12-24 Sliding mode variable structure control method and device for robot servo

Country Status (1)

Country Link
CN (1) CN112847335A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2215318C1 (en) * 2002-08-19 2003-10-27 Институт автоматики и процессов управления Дальневосточного отделения РАН Variable-structure adaptive system for controlling motion speed of submerged robot
CN102237101A (en) * 2010-05-07 2011-11-09 中国科学院上海光学精密机械研究所 Sliding mode variable structure servo controller and servo control method thereof
CN104238361A (en) * 2014-09-03 2014-12-24 南京理工大学 Adaptive robust position control method and system for motor servo system
CN105196294A (en) * 2015-10-29 2015-12-30 长春工业大学 Reconfigurable mechanical arm decentralized control system and control method adopting position measuring
CN105717869A (en) * 2016-03-15 2016-06-29 珞石(北京)科技有限公司 Solving method for composite limitations of operating space paths of industrial robot
WO2017051394A1 (en) * 2015-09-25 2017-03-30 Scuola Superiore Di Studi Universitari E Di Perfezionamento Sant'anna Sensorized coating for detection of pressures
CN106921176A (en) * 2017-04-19 2017-07-04 浙江工业大学 Improved sliding mode control method based on LCL filtering grid-connected inverter

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2215318C1 (en) * 2002-08-19 2003-10-27 Институт автоматики и процессов управления Дальневосточного отделения РАН Variable-structure adaptive system for controlling motion speed of submerged robot
CN102237101A (en) * 2010-05-07 2011-11-09 中国科学院上海光学精密机械研究所 Sliding mode variable structure servo controller and servo control method thereof
CN104238361A (en) * 2014-09-03 2014-12-24 南京理工大学 Adaptive robust position control method and system for motor servo system
WO2017051394A1 (en) * 2015-09-25 2017-03-30 Scuola Superiore Di Studi Universitari E Di Perfezionamento Sant'anna Sensorized coating for detection of pressures
CN105196294A (en) * 2015-10-29 2015-12-30 长春工业大学 Reconfigurable mechanical arm decentralized control system and control method adopting position measuring
CN105717869A (en) * 2016-03-15 2016-06-29 珞石(北京)科技有限公司 Solving method for composite limitations of operating space paths of industrial robot
CN106921176A (en) * 2017-04-19 2017-07-04 浙江工业大学 Improved sliding mode control method based on LCL filtering grid-connected inverter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡祐德,曾乐生等: "《伺服系统原理与设计》", 30 June 1993 *

Similar Documents

Publication Publication Date Title
CN111367445B (en) Image annotation method and device
CN109760048B (en) Robot servo control method and device and robot
US9639380B2 (en) Physical device emulation synchronization
CN111390902B (en) Trajectory planning method, trajectory planning device, apparatus, and storage medium
US10782867B2 (en) Controlling method and device for slider control, and slider selector
US20130297281A1 (en) Methods and systems of providing items to customers via a network
CN105578184A (en) Key-frame animation generation apparatus and method
CN104869207A (en) Volume adjusting method and mobile terminal
CN112792808B (en) Industrial robot online track planning method and device based on variable structure filter
CN111679811A (en) Web service construction method and device
CN112847335A (en) Sliding mode variable structure control method and device for robot servo
CN109522532A (en) A kind of calculation method and device of line chart selection range
US10268280B2 (en) Wearable device positioning based control
CN103701982A (en) Method, device and system for regulating display content of user terminal
CN112757292A (en) Robot autonomous assembly method and device based on vision
CN106021635B (en) For showing equipment, the method and computer program of caricature content
CN102147697A (en) Visual effect display method and electronic device
CN102310406B (en) Automatic mechanical device and control method thereof
US11059173B2 (en) Robot joint motion control method, device and robot using the same
CN112757340A (en) Joint friction force observation method and device based on joint torque sensor
Urbach et al. The Digital Revolution: How Technological Trends Change the Business World
CN114676389B (en) Motor control method, apparatus, computer device, and storage medium
CN112860655B (en) Visual knowledge model construction method and device
CN111865119A (en) Control method and device for four-quadrant converter
CN115882526B (en) Active and reactive power regulation capability data processing method and device facing wind power plant group

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Hua Hua

Inventor after: Wang Tengfei

Inventor after: Cao Hua

Inventor after: Lei Hong

Inventor after: Zhang Hang

Inventor after: Han Jianhuan

Inventor after: Yu Wenjin

Inventor after: Han Fengtao

Inventor before: Hua Hua

Inventor before: Cao Hua

Inventor before: Lei Hong

Inventor before: Zhang Hang

Inventor before: Han Jianhuan

Inventor before: Yu Wenjin

Inventor before: Han Fengtao

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210528